Categories
General blog entries

Converting sequential algorithms to parallel algorithms

Like I mentioned before, I started my thesis for my Computer Science degree. And without getting into too much detail at this point, one of the problems we are trying to tackle is the conversion from sequential programs to parallel programs.

The target architecture is not really of importance although we are stuffing it in a multi-core chip which is programmed into a Virtex 6 FPGA.

The thing that strikes me as odd is that an insane amount of work is being put into creating new applications for multi-core environments using tool-kits and various paradigms like tasks, task graphs, Khan Networks – whatever.

After years of development, the mainstream development tools come with tools to help the programmer to design multi-core programs without having to specify each and every thread and communication channels – a drawback which prevents most programmers to easily write parallel programs.

But most software these days is based on monolithic code meant to be running on a single core. Slowly parts are rewritten to exploit the surplus cores modern computers have but even then, most software scales poorly to more cores.

Since most ‘fixes’ involve a complete rewrite, this shift to actually write multi-threaded programs instead of having a hand full of manually designed partitions within a program to appear to be multi-core is finally beginning.

In a way, my research area is barely explored as I attempt to rewrite a decoder application to be converted from a single core program to something which can run on at least 8 cores… Hows that for multi-threading…

Categories
General blog entries

KBlogger moved to KDE 4.3

And yet another epic fail for KBlogger, the new blogging tool that was supposed to be in KDE 4.0. After KDE-PIM was not ready for the 4.0 launch, it was postponed to KDE 4.1 – understandable but as anyone running a blog and a PC using KDE4 knows, we don’t have any decent blogging tool on linux.

After an early alpha (which was a step in the right direction) is became very quiet around KBlogger. So when KDE 4.1 was released I was surprised to see the lack of info about the new blogging tool.

When I found KBlogger on the KDE 4.2 release schedule I sighed – another half year to wait on a decent replacement for Windows Live Writer (which is still – in my opinion – one of the best blogging tool out there, even when used in VirtualBox).

Now, at the dawn of 2009 and the coming of KDE 4.2 I found it weird that the beta of 4.2 lacked a preview of KBlogger.

I just found these mail conversations on the KDE mailing list pushing KBlogger to KDE 4.3…. which is supposed to come out end 2009. Once again a huge let down for the KDE fans.

Despite the statements that KDE 4 is feature complete it keeps lacking vital programs: KDE PIM has a screwed up Kitchsync support (which in itself is half broken if you ask me), power management just arrived in 4.2 (Powerdevil) and KBlogger is still not here (even though its core component KBlog – a WYSIWYG editor – is working pretty well for some time now). I am still using KDE 4.x but so far the thrill has become quiet the waiting game. Yay for open source I suppose…

Categories
General blog entries

Integrity issues

That’s what I get for toying with stuff I should leave alone… I tried to merge the articles from my other Joomla installation back into my main site. After clicking around for a bit it seemed like the manual database merge worked out.

Next I found a number of modules with version number 1.0.x – assuming these were remains of the original 1.0.x installation I selected them all and hit delete. On the page refresh I noticed something was off… The menu was gone! Most of the Joomla Administrator panel was working but without a menu, a lot of sections are unavailable…

After installing a second installation over the existing one I managed to get the missing modules back (note to self: make sure to download the full package AND copy all the files…) by copying tables between the 2 installations. Finally I had a working installation again but now the other users (a.k.a not me) did not show up anymore…

After Googling for weeks I finally found a thread in which somebody made a whole database schema for Joomla! 1.5. The schema can be found here.

Even though I had restored most of the key references within Joomla! I somehow missed the ‘jos_core_acl_groups_aro_maps’ table – this only had one entry: for admin only. As soon as I realized my mistake, I manually added the missing rows and everything started working properly again.

Note to self: stop breaking the site…

Categories
Japan Blog Study Tour

Freestyle

Three weeks have passed and today (Saturday) was the last day that was semi-part of the study tour. After spending 2 hours of getting all my clothes folded up and packed again for transport I went to bed at 4 and got up at half past 7 (who needs sleep anyway in Japan?). I grabbed my suitcase, jumped into my clothes and headed for the elevator while some of my roommates wished me good luck (all three of them were headed back to Holland that day). I grabbed some coffee and white bread with strawberry jam for the last time (after one and half week eating strawberry jam its getting annoying) and after 25 minutes after my alarm went off I strolled into Tokyo.

Categories
Japan Blog Study Tour

Sharp and style

IMG_3505 On the last day of the study tour we visited Sharp. We started the day a half hour earlier than planned because Sharp has told us the move the program forward. After hours of traveling by train we finally got off at Chiba – a suburb of Tokyo with enormous skyscrapers. It was obviously some luxury business park. After a 15 minute walk we finally found the Sharp building where we first got a tour of Sharp technologies. This included LCD TV’s, how LCD works, solar panels and Sharp’s view of the future. Although nice to see, its not all that shocking for us: all of the things we got to see are available on the market. One of the cool things was the 3D LCD (also on a mobile phone) and the dual view LCD (the driver of the car sees the navigation chart while the passenger can watch a movie – on the same screen).

Categories
Japan Blog Study Tour

Ambient systems and voices

IMG_3383 Today we went to Ginza to test a new system. Ginza is a region in Tokyo with all kinds of fancy stores (read: expensive) with all the big names next to each other, from Chanel to Louis Vuiton. We started out in the underground passage next to the A3 exit where the experiment would begin. Everyone got a PDA with some ridiculous name and a wristband with an RFID reader inside of it. Next, you put on the headphones and the system would guide you to the surface. It immediately went wrong: we walk a lot faster than Japanese people so we ended up in situations like: "Pass left of the termi…" – "Go straight by…" – "Walk up the stairs on the…" – "Turn around and go back to the crossing with the red booth on your right, this time walk up the stairs on the left". Great…

Categories
Japan Blog Study Tour

Universities and cool labs

IMG_3313 This morning we checked out of the Tsukuba Daily Inn after having a mixed style breakfast: it was not really Japanese because they had bread and it wasn’t really Western style because it had Japanese cabbage as well. We hopped on a bus back to Tsukuba Center and then on a bus to the Tsukuba University. Because of some miscommunication and some idiots we got off way too early and walked for 35 minutes until we finally found the right building (a campus for 17,000 students is huge, whoever came up with the idea that we should walk should be shot).

Categories
Japan Blog Study Tour

Eternal concrete and rockets

TsukubaToday we are leaving Tokyo for a while to head out to Tsukuba. Tsukuba is a good 2 hours from Jimbocho and so our day started early with me giving a briefing to the group about JAXA. The latter was because all of us reviewed a company to write a report about and mine was about JAXA. So after we left the hotel with provisions to survive the coming night, we set out for Tsukuba.

Categories
Japan Blog Study Tour

IBM and Xerox

IMG_3208Another day of company visits, another day of sore feet and knees. Luckily for me they walking pace was not too high and we didn’t cross too many stairs. We had a presentation about IBM’s background and vision of the future (the standard layout for almost all our visits) and after the standard introduction we finally got to see some technology.

Categories
Japan Blog Study Tour

Free roaming in Akihabara

IMG_3151 Today is our one day off in the study tour so ofcourse we decided to head out to Akihabara, a.k.a. electric town. Next to the station is the Laox, a Media Markt kind of store but with more variety. We thought the store would be bigger thanks to the description in the Lonely Planet (note: I found out later that they were remodeling the store so parts of it were hidden with walls). Next to the Laox was an anime store with loads of anime and manga, but ofcourse with everything in Japanese – sigh.