I promised you more info on the gamma ray burst GRB 080319B my Dad pictured. Well, as I see, it already has its own Wikipedia entry (and in 4 languages)! It has also a new website and press release (cool for people without astronomical knowledge).
Enjoy your reading!
27 March 2008
The GRB 080319B
26 March 2008
Apache Tuscany SDO Java from a Java illiterate's point of view
Today (as yesterday and the day before), I'm working on my team project. I have to use the Apache Tuscany SDO Java thing and write in Java. Well, as I might have mentioned before, I don't know Java, so it's a lot of fun. I don't really get the examples. They often assume (well, why wouldn't they) at least basic Java knowledge. So one tutorial has code samples, and I'm like "Wait! There has to be some imports at the beginning, what are they precisely?" Another one has constructors. Fine, but what's "this"? What's "super"? Time to read an introduction to Java constructors.
The official documentation is a bit incoherent and incomplete. It's also quite divided between the "readme" files and the website and you don't always know where to look for the things you need. So, whatever works for me, I'm writing down here. I'd be happy if that helps anyone or someone has something constructive to add.
Meanwhile, I'm learning Java.
25 March 2008
One Laptop Per Child
One Laptop Per Child is one of the coolest projects I have ever seen. The mission of the One Laptop per Child association is to develop a low-cost laptop—the "XO Laptop"—to revolutionize how we educate the world's children.
Nicholas Negroponte says on the website:
It's an education project, not a laptop project.
Well, my reaction is:
Did somebody say laptop?
Anyway, it's really an awesome project and I've been thinking of participating for a month now, but school has been keeping me very busy all the time. I've actually been thinking of volunteering somewhere for a very long time. I even did it a bit in high school (with elder people, I'm a good listener). However, in college, I could never make time for that. When I'm already overwhelmed by my classes (this two-majors thing ain't easy) and exhausted by all the travelling (it takes me an hour to get to school), I'm not really eager to do some more travelling. I'm also not really able to make some commitments right now with everything that goes on at school: the operating systems lab is not yet over for me, the team is already kicking my pretty little but about the team project...
Anyway, OLPC seems like the best opportunity ever for me. I could contribute form home, evening, whenever I have time. Also, what is really important for me, I could make a good use of my skills. I know that the most important kind of help is not technical and doesn't often look impressive from the outside, but geek volunteers are needed too. So you won't see me walking homeless dogs or something when I can use my tech and lingo skills to do something great.
So, now that OLPC has been accepted for the Google Summer of Code, it' on absolute top of my whishlist. I'm just a bit afraid that this project is really popular (quite a few project ideashave already been taken!) and that I might not be selected (which would mean plan B: get a normal job for the summer ). I only have a week to pick one and write an awesome proposal. Wish me luck!
Installing, installing, installing....
Today is a pretty typical geek day. Basically, it means sitting at the computer all day long.
Having formatted my hard drive on Friday, I re-installed Windows XP from my recovery CD. Then I installed Ubuntu 7.10, only 34 days before Ubuntu 8.04 is out (you can get the beta if you can't wait, but I don't like the word "beta", or read a review here).
Sunday was Easter, so all I did was install The Sims 2, among with the expansion packs: Open For Business, Bon Voyage and Free Time. Then played a lot.
On Monday, I continued celebrating and installed Visual Studio C# and Visual Web Developer, both express editions of course. However, I didn't even have the time to run one of them.
Today, back to the serious stuff. Right now, getting the 204 important security updates Ubuntu has got for me. Then, installing Java and Eclipse. Then, Sugar, because One Laptop Per Child has been accepted for Google Summer of Code and I'd love to do something with them. Then, Thunderbird, which I'd love to see working under both Linux and Windows, using the same mail folders of course. Then, some SVN client, then, the libraries I need for my team project, namely Tuscany SDO and Apache Maven. Then, getting to work.
Ah, an entire day at the computer. I'm feeling so good right now.
21 March 2008
Adventures in disk formatting
Nothing is as cool as formatting your hard drives and installing operating systems. I decided that there was no better way to start my Easter break.
I decide to do so because after installing and uninstalling Linuxes, my partitions got pretty messy, with 24 GB of unusable disk space (not that I nedded them bad, but recovering them meant formatting disks anyway and who wouldn't want 24 GB). My Windows got messy after a year and a half of using it, my Ubuntu was unconfigured and I needed it, so it was a great time to clean everything up.
So, I copied all my files, of course, and tried a Windows recovery CD. Failed with "free space not found". How stupid is that?
Reloaded Windows, removed all partitions but "recovery" and C, and that was as stupid of me as the M-corporation is for not giving normal install CDs but some kinda working recoveries.
Retried the recovery, failed again.
Retried loading Windows, but removing the drives damaged Grub, so it failed.
Tried Super Fdisk. Didn't boot.
Tried Partition Logic. Wanted me to click on "OK" without any mouse. I failed.
Looked for Ubuntu 7.10 CD. It turned out a brother lent it to a friend a few months ago.
Added "downloading Ubuntu 7.10" to my to-do list. At least this one didn't fail.
Tried Suse 10.1 Install CD. Failed, or I didn't wait long enough. I'm usually patient, but not when it comes to watching black computer screens in hope for a change.
Tried Ubuntu 5.10 Install CD. Failed. Don't even remember how.
[EDIT] Linux has some problems with my graphic card. To run Ubuntu on an Asus A6RP-A069 or some similar stuff, add "hpet=disable" to the boot options.
Read the instructions again.
"Take your notebook PC to an authorized ASUS service center if you have problems with the recovery process."
Asked myself where the nearest authorized ASUS service center could be. There had to be one in Warsaw, so it was not that bad, but what if I didn't make it before closing time? A notebook-less Easter? Nightmare.
"Daddy, do you have a Win XP CD?
-Let me check... no.
-Do you have anything that installs something?"
He had a Windows 2000 Professional Install CD. Boyfriend told me to give it a try, remove all the partitions except for "recovery". Listened to Boyfriend and retried the recovery CD. Worked. I got those 24 GB I wanted back. Now just gotta install and configure my applications.
By the way, here's an article on how to fix your Windows MBR with an Ubuntu liveCD, looks interesting. Thumbs up for Ubuntu for having such functions.
My Dad pictured the birth of a black hole!
Guys, this is big! My Dad's project took pictures of the gamma ray burst GRB 080319B, the biggest one ever observed, visible with the naked eye! This thing most probably was the birth of a black hole!
The pictures are on Pi of the Sky's official website.
Polish speaking readers, see also the press release, an article in Dziennik, a radio podcast.
Non-Polish speaking readers, see also here or here and I promise to update as soon as more articles appear.
18 March 2008
Kernel Hacking again
The second part of working on my kernel module is way harder than I thought it would be. It's the fifth day I've spent doing only this and there are still many things to fix. As for tonight, I have discovered:
- that rw_locks are spinlocks too
- a dozen of wrong pointers in my code
- an undeterministic cipher based on DES
Still, no matter how tough things are, I found a few spare minutes this morning to buy a new pair of earrings - does it matter that I bought four pairs last Thursday?
14 March 2008
Happy Pi day everyone!
Today, March 14h, is Pi day!
It is of course a great occasion to:
1. Show off how geek you are, for instance by wearing this:
2. Eat pie. Or pi-zza.
By the way, did you know that the volume of a pizza of radius z and thickness a is "pi z z a"?

3. Learn stuff. Never in the world would I have suspected that Wisława Szymborska, Polish poet and Noble Prize winner, wrote a poem about pi! (Original version here.) I don't get that poem, just as I don't get anything else she wrote, but it's nice to see she took some interest in science.
Another geek holiday to look forward to is Square Root day, which is more exceptional as it doesn't happen every year, the next one being 3/3/9. As of today, happy Pi day everyone!
Sources: Pi t-shirt, pi pie, pi pizza, pizza volume quote.
Back to kernel hacking
I'm back to kernel hacking. The module I was writing in December has finally been graded and got a well-deserved zero. Well, it wasn't finished, so it wasn't working, so no wonder it didn't get a positive amount of points. Luckily, I have no "big" mistakes, except for an ooops that need to be investigated, but nothing is to be redesigned. It should go smoothly.
If it doesn't, I just found an evil solution: File Destructor 2.0.
You just upload a file and it gives it to you back, but corrupted (so unable to be opened). Too bad I have to send my stuff as tar.gz and this format is not supported... No, seriously, I wouldn't do that. But besides the evil potential of that script, I like the idea.
12 March 2008
The Babbel experiment
I mentioned a few days ago that I started learning Spanish on Babbel.com. Here's more about me, languages and Babbel.
First, I never ever learned Spanish. However, I speak fluently French and that helps a lot. I also speak Polish and German and the more languages you know, the easier the next one is.
Second, I don't like Spanish. It's about my taste and how Spanish sounds. It's something absolutely subjective. Speaking of subjective, my favourite language of all is Arabic.
Third, I know learning a language requires time and commitment. (Except for French for me, which I learned "just like that" when I moved to France at the age of six, lucky bastard that I am.) And grammar exercises and writing and stuff. I did all of that for Arabic in July, when I took an intense class (20 hours a week).
Second and third imply that I'm not really willing to do all of that for Spanish. So here's the experiment: how far can one go with Babbel?
I will not claim that Babbel is the best language learning site ever. It makes you learn words and sentences and lets you meet people to study some language with. No grammar - I rely on my analytical mind here, but the sentences are not very complicated, so my grammar won't go far. No writing - I will only be able to use the structure of the sentences I will have learned, or I will risk being gravely misunderstood.
Babbel is also not the only site of the kind. If you wish to learn a new language, you should consider the following: LingQ, Livemocha and Mango Languages. For example, LingQ does have writing and grammar exercises, even corrected by a teacher if you pay for it. But me not paying.
So why did I pick Babbel? "Picked" is not the word, I started using it before I found out about the others. But I did stick with it, and here's why.
Learning a language should be a pleasure. Like any other thing, if you don't like it, you won't do it very efficiently and will most probably give up. Babbel is cute and shiny and has colorful pictures, so I enjoy it a lot. Let's also not forget that I'm still very busy (and will be until June), I'm tired in the evenings and I enjoy the fact that I don't have to do a lot on Babbel.
So here's what I do. Every other day (I try that to be everyday), I go to Babbel and select a module. I do the exercises on-line, but also write down the words and the sentences in a copybook, so I can revise it in spare moments, like when on a train. I'm curious to see how far I can go with that.
If you're interested in learning a new language, here's a good article to start with.