Author Archive
Developing for Android on AMD64
by rullzer on Aug.14, 2010, under Gentoo, Hardware, Programming things
The last couple of days I have done some coding for Android. All my resentment towards java is coming back but getting some cool mobile app requires sacrifices! But I do not want to write about java today.
The problem I encountered when installing the Android SDK is that the some of the programs won’t run on non-multilib AMD64 installations. This is really annoying since I do not want to have 32bit libraries on my system (it is matter of principals!). But linux to the rescue! A simple multilib chroot allows me to compile and deploy my android apps!
Mounting (with bind) the source directory allows me to code in my normal env while compiling in the chroot. Which is not a big thing for me since I code in VIM but for IDE users this might be an advantage!
So for all native AMD64 users there is hope! But it would be better for the Android devs to fix the binaries!
Twitter intergration
by rullzer on Aug.10, 2010, under Daily news, Linux, Site
In order to further comply to the Web 2.0 I now linked my twitter account to my blog (or vise versa). There now is a twitter widget (on the right) which shows my latest tweets. Don’t really know the use of this but it didn’t look to bad and follows the css rules pretty well. The other thing is that every time I blog (once every two months) this a tweet is send automatically.
Well I hope you are as excited as I am about this
P.s. The site also had a wordpress upgrade (finally on 3.x) and as a bonus I also upgraded the theme to a new version
Block size
by rullzer on Jun.25, 2010, under Daily news
Today I was talking to Sander about file system block sizes. And that the portage tree is actually way to big, at least when stored on disk. We remembered a blog post from Diego (a gentoo developer).
Long story short I now have a separate partition for portage (not my distfiles) on my laptop with a block size of 1KiB. This results in a portage tree that is only less than half the size of the previous portage tree! I have not done any timing measurements but it also seems that syncing the portage tree is now much faster! So if you have your portage tree on a separate partition (or want to play with resize2fs) why not change the block size to 1KiB?
qbook
by rullzer on Apr.25, 2010, under Gentoo, Linux, Programming things
This morning I was up rather early (well not that early but the others were still asleep
). So I decided to do a little coding and came up with a very simple Qt desktop client for facebook. Since it would of course be nice to have client sitting in your task bar showing new notifications, later this can be extended but for now that will do.
All this was created in a about an hour but would not have been possible without qfacebookconnect.
It is far from finished and no notifications are really visible yet but a nice start is made (not bad for 45 minutes coding). See the git repository of qbook if you want to take a peak, all paths are currently hard coded so you will need to do a little hacking, this is mainly because qfacebookconnect is not yet in portage so I can properly link to it.
Maybe next time when I am up early I will first fix an ebuild for that one
New phone
by rullzer on Feb.12, 2010, under Hardware, Linux
Since my old phone was sometimes shutting down without me telling it to shutdown or an empty battery forcing it to shutdown, I decided to get myself a new phone: the HTC Tattoo.
One of the things I missed on my Nokia N73 was the ability to sync pproperly with my linux enviroment, the tattoo runs android and syncs perfectly with google, wich in turn syncs nicely with other things. Of course the downside is that it syncs with google, but for now that is necessary evil.
So far I am pretty impressed, mobile e-mail, Facebook, flogging etc. All work like a charm. Even Eduroam, the WiFi used at the university works out of the box! That is not even the case on my laptop!
This message was of course written on my tattoo.
bash.rss to feedburner
by rullzer on Jan.28, 2010, under Daily news, Linux, Site
According to the statistics many of you use my bash.org rss feed. The traffic generated by this feed has grown over the last year and right now it is around 70% of the total traffic of this website (around 600MB a month).
Just out of principle this is a bit much for a RSS feed so I decided to move the feed to feedburner. Thanks to a .htaccess rule the feed is already forwarded. This means that current subscribers to the feed should not notice anything
Happy reading
foaf
by rullzer on Jan.26, 2010, under Daily news, Linux
Some time ago I learned about the foaf-project, I did like the project back then but I never took the time to write my own foaf.rdf. Well now it is created. Very basic but I hope it will be extended soon.
Since my recent social network activity the step to foaf was, in my eyes, also a logical one. But it does seem that a lot more people have facebook than foaf….
One of the nice things about foaf, if you are interested in semantic web stuff, is that it is in constant development there are discussions on the mailing list about how to structure the data etc or why things should change. This makes it a very dynamic project.
As you can see I do not yet have any foaf:knows elements in my foaf.rdf but lets hope that soon will change so a semantic network can span around me.
Social Networking
by rullzer on Jan.23, 2010, under Daily news, Linux, Site
After having resisted for a long time last week I finally created a facebook account. I still prefer e-mail or instant messages (jabber!) but I have to admit it is a nice way to get in touch with a lot of people and to follow activity.
So now that I have sold my soul I decided to create an extra box on the blog with direct link to my various social network profiles. Just to make it look pretty!
So far I am active on 3 social networks:
- last.fm: I actually created my account in order to improve QtMPC, however it is now also coupled to my amarok and I upload the scrobble log from my ipod (with rockbox).
- linkedin: I created this to join the OpenStreetMap group.
- facebook: Now since a few days facebook.
Now I think that is (for now) enough to keep track of but it makes me wonder why there aren’t any good desktop apps to manage some of this. Like the facebook notification thingy at the bottom right. Why isn’t there a cool Qt app to just make this sit in the system tray? A well maybe a cool project for the upcoming semester
Webcam
by rullzer on Jan.23, 2010, under Hardware, Linux
Since my girlfriend is going to do her research and write most of her thesis on CuraƧao I will only have contact with her trough email/skype for some time.
She already has a webcam build into her webcam. Not great quality but good enough for skype. Also there was an old webcam which was bought approx 5 years ago, a Creative Webcam NX Pro, now I have not yet figured out what is so “pro” about it but it works like a charm!
The GSPA ZC3XX driver is the one I need! After that some programs need to be compiled with video4linux (2) support but that is to be expected. The only problem I ran in so far was skype itself! For some reason skype does not work with v4l2 so in order to run skype I have to use the following code:
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype
Long story short. The webcam works like a charm and thanks to the hard work of many people I had it working in no time!
oxygen-molecule
by rullzer on Jan.20, 2010, under Linux
A couple of days ago some friend came by for a beer (or multiple beers, who keeps count anyway?). However after some time I had to show something on my laptop and firefox was still open. So I got some complaints that GTK+ apps in KDE look horrible, which is true.
Now I am a konqueror user but every now and then I need to start Firefox. For some reason my bank can’t seem to properly write web apllications, they do a browser check and konqueror is not supported, faking the bowser string is not that hard but for some reason all the firefox specific things they want to do then fail on konqueror, long story short I sometimes have to use firefox!
So one of the guys suggested to use oxygen-molecule, it is in portage so it is just a matter of compiling and following the README. And I have to admit all of a sudden firefox looks awesome! So to all KDE users that have to run GTK+ apps every now and then get yourself oxygen-molecule!




