Showing post in category: Computer

20 Jul 2009

I wish Boxee had Lovefilm support

Posted by Jacob Emcken Comments (0)

After using Boxee for some time now I tried to find an European alternative and landed on Lovefilm. Sadly Lovefilm isn’t accessible through Boxee.

Lovefilm at least supports Firefox users… if I would ever find the time to try write a plugin myself this is the links I would use:

First of I’m not alone thinking Lovefilm for Boxee would a great idea :D

Next I would need some information about developing plugins for Boxee (incl. a tutorial).

Lastly I would probably need some stuff for Emacs which I’ve been using for a while now.

Tags: , , ,

07 Feb 2009

Converting from Sendipity to WordPress

Posted by Jacob Emcken Comments (0)

Alright… my blog is now officially migrated from Serendipity (s9y) to WordPress. I created the new webdesign a while back and made a few small changes tonight just before the switch… let me know if you find any problems with it. The design was inspired by a WordPress theme by webdemar.com.

A while back I found a s9y importer on Michael Tysons weblog which worked pretty well. Since my last visit a german guy had made a few small changes to it to import extended posts. I had a few of those so I grabbed his script. I had to make a small change to the import script in order to get drafts imported as drafts (and not published). I also had to insert an extra newline before and after the more-tag (<!–more–>) in order to get my markdown working as intended.

To get Markdown support in my posts I installed the plugin ‘text-control’ (even though its fairly old). I had to get the newest markdown.php and replace the one provided by the plugin to make it work (to get rid of php errors).

I had a few posts which have been pretty popular, so I made sure that old links would still work by using “WordPress Permalinks – Custom Structure”:

/archives/%post_id%-%postname%.html

I had to make a “last minute” change which affects my WordPress installation in order to get it working. I will blog about that later in a “Hacking WordPress MU 2.7 – Part 3″.

I hope you like the change :D

Tags:

21 Jan 2009

“Hacking” WordPress 2.7 MU pre-release

Posted by Jacob Emcken Comments (3)

Alright… one of my good friends wanted a WordPress blog… I’ve been thinking of migrating this blog (Jacob’s Weblog – Time is always against me) along with another blog on my webserver to WordPress… that’s 1 2… 3 WordPress installations.

I went to the WordPress website and finds they recently released a new version (version 2.7). After downloading it and falling in love my good friend points me to WordPress MU Why maintain 3 WordPress installations when you can maintain a single probably 10x times as complex one?… I like a challenge.

The first part of the challenge was that WordPress MU hasn’t been released in a 2.7 version yet. Well I fetched it right from trunk (revision 1616) and installed. Then created two blogs on two different domains and created users for the blogs on the different domains. Second part of the challenge was that users attached to the second domain couldn’t login and was just redirected back to the login screen.

I described my problem in detail on the WordPress forum in the hope of some mighty WordPress MU guru would serve me the solution on a silver platter… that wasn’t the case.

I can get stubborn sometimes and the last 2 months we had a php development project on work so I figured: “How hard can it be?” After an a few hours (first spend googling for debugging WordPress) I ended up using lots of echo, if and exit – there is no school like the old school :D

Now I think I found a solution and it wasn’t code changes. I needed som changes to the data in the database. You will find a table named wp_site where you will need to add your second domain (and third… etc.) Now browse the table wp_blogs and change the site_id so it matchs the site id for the domain in wp_site.

I still need to test this out but so far it looks good :D

The third challenge will be to make my domains work with www. prepended. But I’ll save that for another time.

25 Dec 2006

Merry Christmas

Posted by Jacob Emcken Comments (3)

This have been an awesome Christmas. I didn’t really realize that Christmas was upon us until December the 22. when my and my girlfriend headed for Jutland to spend Christmas with my side of the family. Work have been stressing in December, so when I got home I didn’t have the energy to think of Christmas. Anyways…now it is over :)

My girlfriend gave me one of the best gifts ever: Nintendo Wii

And my little sister and her boyfriend gave me: Rayman Raving Rabbits

Just wanted to wish my readers a merry Christmas. MERRY CHRISTMAS GUYS.

19 Aug 2006

Where did all my time go?

Posted by Jacob Emcken Comments (4)

… down a drain called World of Warcraft.

As a few people have pointed out, I havn’t blogged for some time now. I spend most my evenings playing World of Warcraft and havn’t really used my spare time on all sorts Open Source stuff as I used to.

This is my character so far. It is actually now pretty easy to get WoW running under Linux with WINE.

But at work I have tried to update our Instiki installation to the newest 0.11 version which wasn’t as easy as it may sound. I finally got all the old stuff migrated and all seemed to work until we tried to proxy from our DMZ to the internal Instiki wiki. Instiki didn’t like that… I is some time ago now so I dont have the error message. But if I stumble upon it I’ll put it here.

Instead I found a Media Wiki altered by MindTouch called dekiwiki.

The cool thing about that wiki is they made a page where you can get you own public readable wiki, I already made my own at emcken.wiki.com. Not much for you guys, but now have a place for all my notes and shit which usually just lie around on my disk until it dissappears in all the other mess.

13 Jun 2005

Adam Kessel’s Thinkpad X40 discoveries

Posted by Jacob Emcken Comments (1)

The first thing i did when I returned from vacation in Paris with my girlfriend was to check out all my regular open source information websites to keep me up to date (More on Paris later). On planet.debian.org Adam Kessel wrote some interesting things for ThinkPad X40 owners. I have stolen the text from his blog entry in fear that the link to his weblog won’t work one day.

> A couple of extremely useful recent discoveries on my IBM Thinkpad X40: > > * /proc/acpi/ibm, provided by the ibm-acpi package. You can control all sorts of > Thinkpad-specific behaviors in here—including my favorite, which is the automatic > display switching when you open and close the lid or dock/undock. You can turn off > automatic display switching with: > > echo auto_disable > /proc/acpi/ibm/video > > You can also turn the light keyboard light on and off with: > > echo on > /proc/acpi/ibm/light > echo off > /proc/acpi/ibm/light > > Etc. Go IBM! > * Display corruption: this brings me to my biggest problem running GNU/Linux on the > Thinkpad X40—display corruption. When you switch from internal LCD to external CRT, > or sleep and resume, or close/open the lid (with the automatic switch behavior described above), > the display moves down 15-20 pixels and the top lines are corrupted garbage. > I’d post a screenshot, but of course the screen doesn’t realize it’s corrupted, > so it would have to be a digital photo.
> In any case, I just discovered this experimental driver to replace i810_drv.o· > which makes the problem go away entirely. Just drop it in over the i810_drv.o in > /usr/X11R6/lib/modules/drivers/ (bad behavior for Debian—will be overwritten by > an upgrade of course). Hopefully this driver will make its way into the mainline > X drivers and eventually back into Debian. This makes using my Thinkpad at least 20% > less annoying. > > Now if only someone would write a driver for the internal SD card reader (apparently no > one has gotten it to work·), I think I would have 100% usage of my laptop’s features.

13 May 2005

Extra RAM for my laptop

Posted by Jacob Emcken Comments (3)

I have bought 1GB RAM for my laptop and it now has a total of 1.5GB RAM…. it really rocks!

08 Mar 2005

I have been LPI certified

Posted by Jacob Emcken Comments (0)

I’m now Level 1 LPI certified. The certification consist of 2 exams (BX-0101 and BX-0102). It was quite a troublesome process.

The first exam was in Jutland which is a three and a half hour trip each way in car. The sum-up before the exam was crappy, mostly because of the EXTREAMLY crappy preparation material. Anyway I managed to pull myself through with 560 of 890 points and 500 was required for passing.

The second exam was due to take place two and a half week later. But they had some troubles with their systems so the exam was rescheduled. To bad – this time the sum-up before the exam was really good. Well two weeks later I was on it again. This time I just went right on to the exam. Some of the questions was really wierd but that must be expected from a multiple choise/certification exam right?!? This time I did alot better: 650 of 860 possible points and the passing rate was 500.

07 Mar 2005

A slick portable DVD/CD drive

Posted by Jacob Emcken Comments (0)

I have been looking for a portable DVD/CD drive to add the only function my laptop dosn’t have. Thought it was on purpose I bought it without a DVD/CD drive. I rarely have use for such a drive and I wanted my laptop to be as small as possible (Debian is installable with an USB key). At home I could use a CD-burner but again this is only a function a rarely use and until now have managed to deal with in alternative ways.

But now I’m thinking of installing Ubuntu on my laptop and for that I need a CD-drive. I could borrow one at work, but I think the time has come to buy one myself.

I have found this slick AOpen drive which I think would look good besides my IBM X40 :-D

I have also found some addinional pictures of the drive in the 3D Game Man forum.

30 Jan 2005

Pirates under Linux

Posted by Jacob Emcken Comments (0)

While I installed WINE on Ubuntu I went to WINE’s website and read some of their weekly newsletters. I must be a sick person because I find a lot of their articles interesting :-)

I stumbled upon a specific one which caught my immediate attention. I guy have been working on DirectX 9, and have troubled him self with making the new Sid Meier’s Pirates playable :-D

Some might say that I could use Cedega… but I cant really decide wether I like their initiative??? I would like to see some of Cedega’s work be put back into WINE just like CodeWeavers does with CrossOver Office.

Now I’m waiting for a newer WINE in Ubuntu Hoary… looking forward to the day reboots to Windows just to play a game is just something you look back at and laught.