Pavol Rusnak #cypherpunk #hacker #openhw #privacy #bitcoin #newmediaart

xkcd 715

I was playing with the idea to write an application inspired by xkcd comics 715 since it was released, but today I finally found time to whip it up! The whole source code is a single webpage (HTML+Javascript/jQuery) around 100 lines long. It basically forms the query by replacing hash sign “#” with the particular number from loop and then asks Google via its Search API. Resulting data are shown via Google Visualization API. It doesn’t have much eye-candy yet, but it works and that’s what counts. :-) I put the presets Randall came up with and also added some of my own. I will now describe the first three in detail:

The first one was "xkcd #", which easily showed that the most popular issues were: 10, 12, 244, 385, 427, 449, 452, 505, 701, 705 and 714.

img

I continued with "# czechoslovakia", which of course spotted the most important years of the 20th century for this country (1918, 1938, 1945, 1948, 1968, 1989 and 1993).

img

The last one, "favorite number is #", shows the distribution of favorite numbers. Three, seven, eight and thirteen were expected, but I was surprised to see peak also at 42. I guess you know why. :-)

img

Bear in mind that there are still some outstanding issues and also if you have any ideas for interesting presets to add, I’d be more than happy to include them!

Ah, I almost forgot the link, so here it is: http://gk2.sk/cargo/xkcd715/. Enjoy!

zypper - dependency graph

Yesterday, we needed with darix to obtain a dependency graph of the package you are about to install. I knew that something similar was planned in zypper, so I went to Jano Kupec to check the status of it. Unfortunately, I learned that this feature is not implemented yet. I think it should not be very hard to enhance the zypper package list with some eye-candy, but I haven’t looked into it yet. I would love to have these outputs similar to Gentoo ones (colors and simple ASCII art dependency trees). Btw, zypper already has color support, so if you want to start hacking, there is source code in gitorious.

zypper-flightgear

emerge-flightgear

Jano also showed me a neat trick how to obtain the results we wanted anyway. If you are in similar situation, just follow these steps (they are of course not suitable for everyday use, but still better than nothing):

  1. install package libzypp-testsuite-tools
  2. run zypper install --debug-solver pkg
  3. cd into /var/log/zypper.solverTestCase
  4. open solver-test.xml in your favorite editor
  5. add <graphic/> tag just above the </trial> closing tag
  6. run /usr/lib/zypp/testsuite/bin/deptestomatic.multi solver-test.xml (as normal user, you won’t get any graph when running as root)
  7. you can pan the graph, rotate it with the right click or even save it to disk!

The resulting image can be seen here:

solvertree-flightgear

openSUSE Xfce Live CDs

xfce_cd

Yesterday Andrea aka anubisg1 announced the Live CDs for LXDE, which he built in Build Service with the help of Dmitry Serpokryl. It was a very easy task for me to replace LXDE packages with Xfce ones in kiwi definition, so I can present you the Xfce Live CDs!

I’ve created an entry in our Derivates page and you can download the images from this location. The default user is linux with no password, user root uses the same empty password.

I’ve tested the 32-bit image in VirtualBox and hit some issues (see below), the 64-bit image is untested at the moment. There’s where I would like you to ask for testing both images. Some points first:

  • currently the Qt YaST is used (I had some issues with GTK one)
  • after the login a warning message is shown (about putting “linux” into /etc/hosts)
  • you can install the system to hard drive using the Live Installer icon on the desktop
    • unfortunately this blocks us from enabling autologin (installed system expects “linux” user which is present only on Live CD and login ends in loop, the bug in YaST is being worked on)
    • also some message dialogs about locked storage subsystem are shown during the installation steps

If you hit a new issue, please report it to me. Also if you know how to fix any existing ones, please don’t hesitate as well! Thank you!

Geeko Tram

Almost exactly 3 months ago I blogged about a Geeko Bus. What a surprise I had today when I saw a tram decorated in a very similar fashion. The weird thing is, that both bus 183 and tram 8 have their stops near our Prague offices. There is definitely something fishy going on! :-D

tram9039

I was even able to find a video on Youtube, so you know it is not shopped. :-)

openSUSE Live!

A few days ago Michal blogged about a public virtual machine by our dear friend Jaromir Cervenka. Time flew by, Jaromir installed the latest Milestone 3 to the machine and the project is now available from the new and easy to remember domain (thanks darix for driving this). The new frontpage also contains the instructions in English how to access it via VNC and SSH client or directly inside the browser.

http://live.opensuse.org/

opensuse-live1

opensuse-live2

Enjoy this gift from our community member and don’t forget to report any problems you find with this new milestone in our bugzilla. :-)

PS: I had a talk with our SUSE Studio guys and they are up to something similar using their infrastructure. They have to solve some issues first, though. Feature for this is already filed in openFATE.