Oh, well, old stuff…
December 23rd, 2011Wow! I just stumbled upon my old post on GUIdebook about Linux desktop environments - http://www.guidebookgallery.org/articles/exclusive/thexfiles - maybe of some use…?
Wow! I just stumbled upon my old post on GUIdebook about Linux desktop environments - http://www.guidebookgallery.org/articles/exclusive/thexfiles - maybe of some use…?
Google Android team finally released (beta, of course, but it’s Google after all) Android NDK (for Native Development Kit). Thanks to this you can write Android applications in non-managed languages (such as C, or C++) and get your own native ARM code running on Android phone.
This is not a “real” native toolkit - you still need Dalvik, as NDK allows you to create only libraries, but this is still very significant - for two reasons actually. First one is of course speed - marketing efforts aside, even such clever VM as Dalvik cannot match native code in many scenarios. There is however another, much more important in my (humble) opinion, reason - and it’s software porting. Most of the interesting mobile software had been written in C, or C++ - and rewriting all that stuff in Java, especially in the case of open source projects, was simply too costly or time consuming. Now it will be much easier - so expect a sudden surge in number of interesting and usefull Android applications in coming months. Me? Well, I want Android version of VICE. Or perhaps we should do it, hmmm…?
Android is a magic word after all. I was afraid that there almost no one would be interested in attending the MOPS workshop that we (means - we, Polidea - www.polidea.pl) co-organized last Monday and Tuesday at the BRAMA Laboratory of the Warsaw University of Technology. Academic semester ended just last week, so all students were naturally (or so I thought) interested only in getting their exams right. Well, it seems that there are more important things in life and our workshop was one of them. Perhaps because it was about Android application development, or maybe because one could meet Google engineers face to face, or just because Kuba Lipiński was overseeing entire affair and he is really good. Well, people might have flocked also hoping to see a glimpse of Android G2 phone – but we had not advertised that… Anyway, there were more participants than places we had prepared
The first day of MOPS was definitely less popular – probably due to the more dull and businesslike title. “Benchmarking mobile platform” does not sound sexy. But it was cool actually – we organized a usability competition (between iPhone, Symbian, Android and OpenMoko) with live video for the audience. And guess what? OpenMoko lost… I have an itch to actually repeat entire exercise in more controlled environment (including also Windows Mobile). In fact it might even deserve describing in a more official report or a scientific paper. Hmmm… Right, time to get to work.
Kuba Lipiński and Android disciples

What? Dark iPhone screen?

Oh, and we had discussion panel too. Moderated by yours truly…

Just my 2 cents for growing repository of flames inspired by Linux Haters blog (btw - highly recommended!!!). You see - I was trying to convert my old notebook into a photos/movies machine, that would sit on my coffee table. Being a secondary notebook, it would be also a good machine to be taken with me on business trips and the like (quite an old Thinkpad T42, almost expendable, ya see). Of course (of course!!!) I installed Ubuntu on it - after all Ubuntu (or Linux in general) should be ideal for this task (which is - digital media storage, playback, light web browsing etc.). And you know what? It sucks! Especially when compared with Windows. For example - compared with Windows Vista (this, you know, buggy, useless Windows version, sure…). Just a few (5) quick examples of simple things that Vista can do - and Ubuntu is not capable of even dreaming about
1. View photo EXIF data in file manager
Open a folder containing photos in windows explorer and you can sort them by exif data. So - for example - it’s easy to find photos shot on a given date (and copy them to usb flash drive…). Or sort photos by their resolution. Etc. Gnome’s nautilus does not know anything about Exif. Hell, it does not know anything about metadata at all. And F-Spot compared with Windows Photo Gallery… well, let’s say that it is so bad, that such comparison almost seems to be unfair
(speed, stability - tried exporting more than 100 photos from F-Spot? Good luck!, even sanity - do not even try to see what are your photos filenames, it’s almost forbidden - but we have tags, don’t we?)
2. View MP3 metadata in file explorer
Heck. Try above with MP3 files (not free format? no problem - it does not work with OGG either). Same story…
To be fair one should mention that there is a plugin (Info list view) for file metadata for Konqueror (complex software this - some freetards do not even understand how this thing works..). Or rather was - I have not seen it yet in KDE4 snapshots. Ah, and BTW, Dolphin seems not to care about metadata as well.
3. See thumbnails (sensible size) in file selector
Thanks to GVFS / GIO / Gwhatever transition we have now file thumbnails in Gnome file selector (BTW - which still sucks but it’s another story). Hurrraaaaayyyy… Pity Gnome is not bundled with a magnifying glass, so that these micro thumbnails could be even remotely useful (and do not get me even started on how the Gnome thumbnail machinery works… Or rather try for yourself, pointing your mighty Nautilus to folder storing your photo collection - patience is a virtue they say…).
4. Copy image from webpage (in Firefox) to Openoffice.org Impress
So I was trying to prepare a presentation in Impress and thought that it would be much nicer if it contained a picture taken from a webpage. Ctr-C - Ctrl-V you think? Buwahahahahahaha. Not between Firefox and Impress. Drag & drop? Hehehehehehehe. So, save to disk - insert from file. How pathetic, it’s 2008 and not 1988…
5. Sort (or do anything useful) with tracker results.
In Hardy Heron we have this shiny full text desktop search (a bit broken thanks to some freetards - see bug 150379, but I digress). Yes, Linux can do it, we do not need Google desktop or other evil spotlights (erm, vista indexer is built into the OS and I do not think it has a special codename… Live search perhaps?). So we use tracker search, get say 300 results, and we want to sort them by filename. Not possible, you say? OK, filter the result set then? Nope? OK, maybe we can use a boolean query at least? Shit, I give up… (ah, BTW - using tracker directly from file dialog still crashes Openofice.org - spit and polish for LTS release… Spit, indeed).
In fact I gave up completely. I installed Vista Business. Works like a charm even though this notebook has only small amount of ram (ok, aero glass is off - but compiz was blacklisted anyway, and rightly so as it’s highly unstable, you see this notebook has a radeon GPU on board).
Heh - a jednak książka już jest - dostępna np. w Empiku. Jest także strona książki (już musiałem tam zamieścić wstępną erratę, a będzie jeszcze więcej, grrr…) tutaj - Cyfrowa rewolucja
Whoa! I was recently in a new hotel in Rawa Mazowiecka near Warsaw (in Podlas to be precise, some 80 km south of Warsaw). Looks good, they named it Hotel Hetmański. I don’t plan on staying there (much too close to Warsaw), but restaurant is very good
Bylem w nowym hotelu w Rawie Mazowieckiej (a dokładniej w miejscowości Podlas obok Rawy Mazowieckiej) - o nazwie Hotel Hetmański. Kuchnia naprawde niezła, m.in. dzieki tradycjom gastronomicznym wlasciciela…
Less we forget - I just submitted draft text of my book to PWN publishing house. Should have its own website - www.cyfrowarewolucja.pl - but it would take some to set it up (the book should be published around September - October…),
Technical remarks: a) Perhaps I should have used the canonical form – OpenOffice.org - in this text. I prefer Open Office. It sounds better. b) English is not my mother tongue and I was not caring much about proper grammar while I typed this.
Open Office is important. Naturally, it is not important for someone not caring about free software. Nor is it important for someone not using a computer. However, it should be important to you. The chances are that if you are reading this, you are at least interested in Open Source and you are computer literate. Unless someone printed this page and started distributing it, what I find highly unlikely…
An office suite – and both Open Office and Microsoft Office call themselves office suites – is probably not an essential part of computer infrastructure anymore. Operating system is. Programming environment is too, for obvious reasons. Nowadays, as computers are treated more and more often as just terminals allowing access to über-computer (well, the Internet), web browser is probably also one piece of software that is necessary for a computer to be useful at all.
However, when you consider application scenarios that concern business and school users, it becomes obvious that a main function of many computer systems is still content creation. This means – writing reports and essays, calculating spreadsheets, preparing presentations and so forth… For all these tasks users need a good tool.
Is Microsoft Office such a tool? No, it is not, just in the same way in which Internet Explorer is not a good web browser, even in its seventh (well, according to Microsoft reckoning) incarnation. The difference is that the free software community was able to create a better web browser (actually, several better web browsers, but let’s concentrate on the most popular for simplicity sake). Firefox might not be technically superior to IE7 (I don’t know for sure), but it looks leaner. It seems to be more capable. And I think it really is more secure. Not that all these things are great achievements in fact – any properly designed web browser should be like this, but it is another story.
This is exactly where Open Office fails. It falls flat on its face, actually. Microsoft Office users hate Microsoft Office. Sometimes they even hate Microsoft too (“how would you feel, when your life’s work – like your doctoral dissertation – was irreversibly destroyed?”). There is an enormous market opportunity for an office productivity application that would be cleaner, faster, more intelligent and more secure than Microsoft Office. Simply, better. Alas, Open Office is not even near to being better. It is just “good enough”.
Please note that above observation applies only to these people who use Microsoft Windows, or MacOS. Linux users are out of luck – Open Office is the only sophisticated office productivity software that can run natively on Linux. Of course, they can use Wine or CrossOver to run Microsoft Office, but this is somewhat suboptimal solution. Well, they could use DosEmu/DosBox to run Word Perfect for DOS. You get the point…
One might argue that there is plenty of office software for Linux. This is true – in theory. In practice it looks like this (note – this is just a quick and rough list, you can surely do better):
I could go on. However, listing examples of software (sometimes fine software) that does not constitute a functional equivalent of Microsoft Office is not a point of this rant (well, it is a personal rant, in case you have not already noticed).
The first natural reaction of any Open Office devotee would a violent protest. Perhaps Open Office is a best office suite in existence – after all such feelings are matter of personal tastes and preferences. However, for me it is not, to the point of being unusable, and for a variety of reasons – some of which I summarize below:

A comment in OpenOffice.org Writer. Yes, this small, yellow rectangle.

A comment in Microsoft Office 2007 Word.

OpenOffice.org zoom.

Office 2007 zoom.
Some final remarks. Note that I have not mentioned Office compatibility at all. This does not mean that it is not an important issue, but I would rather not treat it as a primary one. The killer application is a killer application even if it is not able to import the data created in an application that it supersedes. Oversimplification, I know…
The list above is a highly personal one. Other people would probably complain about other flaws – but if above problems were corrected, I would be able to use Open Office for my daily work. I mention only Writer issues, as it is probably the most often used part of Open Office, other components also have their problems. Like Calc not being able to cope with bigger spreadsheets…
What can we do? I do not know. Perhaps a next version of KOffice– after rejuvenating community interest with Krita – will be so good, that it could be used as a replacement. However, considering the entire progress that so far was done towards KDE 4.0 (as next KOffice release is quite related to it), I highly doubt it. However, KDE development has a tradition of being somewhat “behind the scenes” affair, so it could surprise me pleasantly.
Perhaps Open Office itself can be transformed into something better. After all Firefox is transformed Netscape browser. In the latter case the transformation was somewhat drastic. I do not see Sun doing any kind of “Open Office reborn” project anytime soon. It is simply too strong a company (feeble as it may be) to have to do it. The situation for Netscape was completely different.
Finally, I might be just wrong. However I have a feeling – just a feeling – that these thoughts written haphazardly above express the sentiments of more people. So… think about it. Think about solutions. Discuss it.
Piotr Gawrysiak
Another trip to Armenia, this time direct flight to Yerevan. Not much to write home about (ok, Yerevan in summer and Yerevan in winter are two quite different cities (especially if in winter you experienced dense fog - I finally understood that this is really not a flat city
. Some photos are available here , alas very low quality, I did not have my camera so these were captured with my cellphone.
I just finished Dapper installation on my notebook (IBM, ops, Lenovo T42), or rather I finished a first part of it. So far I was busy mostly with getting the bootloader right - which is not a trivial task on recent Thinkpads due to Rapid Restore & Recovery partition.
More to come then. For now I just post this quick info regarding Linux installation with R&R functionality intact.
1. Getting right installation disk & making backup
Ubuntu Dapper Drake has a new super flashy LiveCD installer, which is convenient, nice, cool etc. - but not very user friendly. Hmmm, or rather power-user friendly. In short, it assumes that the GRUB installer should be installed on HDD MBR (master boot record). It just deletes contents of MBR and writes its own bootloader there, without asking (or even informing) the user.
Too bad the MBR on recent Thinkpads is rather special - it contains IBM’s own bootloader, which is capable of trapping “Access IBM” keypress event. So if you delete original MBR the Rapid Restore functionality is lost - while the “hidden” partition, containing Windows XP recovery image, might be still there on the disk, the computer cannot boot it (note - it can be booted manually, with special GRUB configuration, but it is not very pretty…). Therefore you should not install anything on the MBR.
Fortunately it is possible to install Dapper Drake in an old fashioned way, via text installer, which does ask if you want to have bootloader on MBR or not. For this you should use “Alternate” install CD, also available from Ubuntu homepage.
Aha… back up your data. Just in case.
2. Setting R&R partition mode
First important thing - before making any changes to HDD layout you should protect the recovery partition. Enter BIOS setup and in “Security” set the recovery partition mode to “Secure“.
3. Installation
In theory (and this is usually suggested by people in the forums) it should be possible to make a small /boot partition and install GRUB there instead of installing it in MBR. This way the original MBR can load recovery (when Access IBM button is pressed), and it can also load our GRUB which in turn loads Linux or Windows. In practice
it turns out, that the IBM’s bootloader is rather dumb and can boot the first partition on the disk only . And unless you do some heavy partition/disk layout modifications the first partition on your HDD would be an original Windows XP partition (of course shrunk) and not other, Linux partition, where GRUB could be installed ![]()
Fortunately GRUB is not the only boot loader that you have - the other one is Windows XP boot loader (NTLDR) and it can be persuaded to boot Linux. Here’s how:
a) Start “Alternate” CD installation.
b) Shrink Windows partition with installer tool (probably it is even better to shrink it, abort installation, check that Windows is still working, and restart installation, this time “using free space” on the disk).
c) Install Ubuntu, when asked about boot loader refuse to install it to MBR, install it to your Linux partition (it probably will be /dev/hda3 as /dev/hda1 is original IBM_PRELOAD that you just shrunk and /dev/hda2 is recovery partition).
d) Reboot - Windows XP should start again.
e) Now you need to transfer the contents of /dev/hda3 boot sector to Windows partition, for NTLDR usage. Probably the simplest way is to use some Linux LiveCD distro (for example normal Ubuntu CD should be OK, or something smaller like Linux Rescue CD). Boot it, open console, become root if necessary:
sudo -i
and use dd to write contents of first sector of /dev/hda3 to a file.
dd if=/dev/hda3 of=ubuntu.img bs=512 count=1
Now you should transfer this small ubuntu.img file (should be 512 bytes long) to your Windows partition. I just used a flash USB drive.
f) Reboot again into Windows. Put ubuntu.img in c:\ and modify contents of c:\boot.ini (this file controls NTLDR behaviour, its hidden, read only etc. so change attributes apropriately) appending to it a line:
c:\ubuntu.img="Ubuntu Linux Dapper Drake"
g) Reboot - now you should have boot menu with Windows XP and “Ubuntu Linux Dapper Drake” options. The later should boot GRUB, with standard Ubuntu boot options. Uffff…
Note - there are also Windows clones of dd, but I have not tested them.