Search Results: "joachim"

21 November 2006

Joachim Breitner: Unicode Hack

(No, this is not security related. Some people call screensavers hacks . But I did get your attention, didn t I?) Whenever I happen to run gucharmap, I like to just browse and have a look at all those weird characters other people, especially asian, are using: A lot of them look really cool. So I thought: This would be a great screensaver.After some API digging I created that screensaver. It uses fontconfig to open the FreeSans and the DejaVu Sans fonts, selects a random glyph from these and display s it full screen. Below, the unicode code point and characer name are printed. After a few seconds, the next character is displayed nothing else, nothing hectic, quite relaxing.When you download the code, you will find a file uncode.c , which is the hack itself, a file unicode-names.h , which is taken from gucharmap and only slightly modified, as well as a buch of files from the xscreensaver distribution. To re-compile the binary, use the script compile , which runs gcc with flags I stole from the xscreensaver Makefile. I know this build system is everything but correct or sensible, but it works for me...Unfortunately I don t think it can be included in xscreensaver, as it depends on libfontconfig. If someone would rewrite it using only libX11, this might be possible, so if you like it, feel free to steal the idea.

17 November 2006

Joachim Breitner: Linux Gaming Tournament

To promote Linux with the students I held a gaming tournament tonight. The sixteen participants played two rounds of four-player-tetrinet-games, as well a single elimination bracket of Frozen Bubble. It was very chaotic, but in the end we had two winners: Elridge Nikki Gordon (tetrinet) and Beteab Gebreyesus (Frozen Bubble), and they got winner certificates (the names of course not printed but hand written). Unfortunately, we did not manage to pull through the Tuxracer competition, but it was still fun. For them at least, for me it was only stress. But the good kind of stress.

16 November 2006

Joachim Breitner: Kofi-Annan Center for Excellence in ICT

Until now, I always had to tell the not very joyful story of the motivated volunteer who came to Ghana to run against a wall of disinterest and misunderstandings. Luckily, things will change:Yesterday, I had an appointment with the Director of the Ghana-India Kofi-Annan Center for Excellence in ICT (KACE), where I asked, with little hope, if they might make more use of me in the next weeks, until I will most likely return to Europe. To my surprise, She found that an excellent idea and immediately referred me to the techies to discuss the details. Today I saw the principal of the SOSHGIC and my current employer, trying to find out if this would be possible. She agreed that it makes more sense for me to work at KACE instead of the school, and would lend me to them while still being empoyed by SOSHGIC. I will be around the school a few times, to finish some reports and two more club meetings and luckily I am still allowed to live in the flat. I think I ll spend another one or two weeks in January at KACE (as a real volunteer then), before I head back to my boring standard safe study life.The first, smaller, project at KACE came up spontaniously during the meeting yesterday: I mentioned the game infon (see my last blog entry), and she was very interested in that as a programming teaching aid. My idea is now to polish it a bit, make it a bit easier to use for beginners, improve documentation, create debian packages and maybe work on some lessen plan suggestions. The author of infon, dividuum, is also quite happy about the news and the attention that his work might get now.The other project is my idea about an internet caf distribution. It happens that the team at KACE is working on a very similar thing (called Community Information Center ) for the government, and they will start a Linux version in very few weeks, so I think I can help there as well. I expect that a lot of work for Skolelinux can be used here, so I m looking forward to work with the DebianEDU team a bit.

I m also looking forward to work with my future collegues at KACE. All of them qualify as geeks, in my opinion, most are Free Software advocates (or at least approvers), and the work athmosphere is very relaxed. Seven weeks of (almost) DebCamp! I ll keep you up to date...

14 November 2006

Joachim Breitner: Infoning in Ghana

I m running a computer club at the school in Ghana where am volunteering as a Free Software advocate at the moment (as you probably know already). At first I tried to spread a little bit of general hacker attitude by introducing an internal wiki and blog, and by explaining what Free Software is. Then some students indicated interest in a programming course, so I held python lessons in the club (Sessions 3, 4, 5, 6, 7, 8, 9 and 10). Unfortunately, interest was declining over time, and while the first lessons had over ten participants (not to speak of the 20 at the very first one), it soon fell to around four. There was also some fluctuation, students leaving, others joining (and then of course lacking the lessions from the earlier sessions).So today, with four students who only recently joined, I started something new: I introduced the game infon, by fellow entropianian Florian 'dividuum' Wesch. It is a networked battle area where bugs compete over food and fight each other. Suitable for the computer club makes it the fact that the bugs are not directly controlled, but the players write their intelligence (using the simple language lua) and only upload code to the server. They can even do this while the game is running and it was a very fun game to play at GPN5 in Karlsruhe. You can read my infon-tutorial, and it s mostly non-SOSHGIC specific.I got them far enough to type the code that I presented as an example, to get it running, and to extend it slightly. I am only hoping that they will dig in a little bit deeper until next week. I think that you can only be successful in learning programing or similar things if you spend some time doing it besides the classes, and I did not see that happening when I was doing python. Maybe I was going too fast or the text-only way of doing it was discouraging, but I did expect them to starting having their own ideas at least after we were programming a simple text-based maze in the club.

10 November 2006

Joachim Breitner: Teaching Linux with Games

I m still at the school in Ghana, and although I have quit, there are another five weeks to make use of. Linux is installed on quite a few machines, but it is not used very often, partly because the studentds don t know about it. I was instructed to boot to Windows by default, so they don t stumble over it either. To raise a more interest, I announced a Linux Gaming Tournament, and put up some posters. The participating students will compete in Frozen Bubble, the game formally known as Tuxracer and Tetrinet.As it turned out I got the permission to do so based on a misunderstanding: The principal thought I would create a game that itself would teach students to use Linux (maybe some kind of rally with hidden hints in various applications and folders, and whoever finds them wins). My original plan would not have been allowed, as there is a officially strict school policy against computer games, and because it is a boarding school, it is also a life policy for the students for four years.Because the tournament was already announced and students signed up for it, I will still be able to hold it, as an explicit exception to the rule. But what the administration would like to see, also to keep the interest in Linux up even after I will have removed the games again, is a longer lasting competition in a game with a more educational purpose. An old Mac game was named where the player has to run a business and in the process learns about spreadsheets.So, dear lazyweb, do you know of a game thatI know that the last two wishes would point to a web based game, but that defies the purpose to lure the people to start Linux.

8 November 2006

Joachim Breitner: graphing your gaim chat history

I m a fan of statistics, so I created a small perl script that reads your gaim message history and, for the top 10 contacts, creates graphs: One for the total bytes chatted, one for the bytes chatted on each day, and two with weighted averages, over one week and one month timespan. You need the perl modules in libgd-graph-perl and libxml-xpath-perl, and my script. Run it and it will output the four png s in the current directory.I don t have examples, as the output is far too private to put up here, and I m too lazy to create interesting test data. There is a lot you can discover in these graphs: When you got to know someone (or when he started IMing), when you were not good terms with someone etc.

3 November 2006

Joachim Breitner: Building around Scamblocks

I'm currently travelling through Ghana, as the German readers of my blog know. For some reason, I can't access my server from this internet cafe, and my assumption is that my hoster or his carrier blocks some Ghanaian IP ranges, to prevent scam mails, which mostly originate in Nigeria and other West African countries.But I still want to reach my server, to check my mail and write blog entries. Luckily, I could work around that barrier, using various holes in the setup here. The software on this computer does not allow me to access the start menu, but I still could download putty and start it from Firefoxes download list. First hole. I could then connect to my account at my university in Germany, so no firewall here. Second hole. Unfortunately, putty can not act as a SOCKS server as OpenSSH does, but luckily, there is usocksd, a small SOCKS server, installed on the university server. I then forwarded the local port 8080 to there using putty, and I could change the proxy settings of firefox to use that instead of the internet cafe's proxy. Third hole. Additional benefit: Encrypted browsing...

25 October 2006

Joachim Breitner: Giving up at SOSHGIC

Some of you might have followed my volounteer work at the SOS Hermann Gmeiner International College in Tema, Ghana, where I was invited to introduce Linux at the school. Being a free software advocate, I thought this a great opportunity to spread Free Software where it can make the most difference and helps bridging the Digital Divide: In a developing country.Judging from the offer (which was very nice, it included housing, flights, freight, money), I expected the school to be very eager to learn about Linux. I was expecting that I only had to guide existing momentum. What I found instead was that there was zero interest from the people who matter in this case. I got all freedoms to implement what I want (as long as I didn t break anything), and I created some things I think are quite nice: Automatic installations that keep the installed windows intact, neat integration in the Active Directory setup, network monitoring with nagios, a transparent firewall that let s the teachers turn the internet for the class room off and on. But it felt like working for nothing, and I can t push people to use Free Software who are unwilling.So today I drew the concequences and quit with effect to the end of December. The principal, who s project it was in the first place, was sorry, but understanding of my issues, and accepted my resignation. I will be on a trip to the Volta lake and other parts of Ghana with friends from Accra for the next 10 days anywasy, so she will take the time to think and discuss how the school can make the best out of the remaining two months.I have not giving up on spreading Free Software here completely. If I find another project where I can be of more use afterwards, I will consider that. But this time I m going to be very picky where I go, and only take a shorter, better defined project. If I can t find something, then that s it and I ll go back to Germany to continue my studies.

19 October 2006

Joachim Breitner: Turnkey Linux for Internet Caf s

While thinking how to spread Free Software in Ghana more effectively I noticed some important factor: Internet caf s. On the one hand they are for most people the first contact to comuters (in contrast to Europe or US, where it's probably the family or school computer), so getting Linux on there would make a difference. On the other hand, for them a Linux system is a very viable choice: Cheap per computer (although in Ghana the argument reads legal , not cheap ), provides good software for the usual internet caf s user s needs (browsing, word processing, chatting) and is very suitable to be locked down and run safely.There are a lot of internet caf s in Ghana, at least in the Accra Region, but most of the people that run these are not he most advanced computer users, so they just go the seemingly simple road: Windows on clients and servers, and probably some software like CyberCafe, also pirated, for the accounting and the computer lockdown.My idea this evening was: Would it be possible to create something like Skolelinux, just for internet caf s? A CD that the owner of the caf just puts in what s meant to be the server and boots, answers a few questions, and a second CD for the clients where he does not have to answer any questions, and what he gets is a complete system with approximately these features:If such a distribution already exists, I d like to hear about it. If not, it might be an interesting project for the Linux Accra User Group or OpenGhana.org. If successful, this might help Free Software gaining mind share in developing countries big time. Of course I m also very interested in comments from those who read this through planet.openghana.org.

Joachim Breitner: dpkg-statoverride halt

Do you run a colocated server somwhere? Do you regularily work on it as root? Do you often have several consoles running? Do you sometimes not pay attention to the host information on the prompt? Do you shut down other computers, as your own? Then I strongly recommend you:
dpkg-statoverride --update --add root root 644 /sbin/halt
(To whom it concerns: Sorry for the downtime.)

17 October 2006

Joachim Breitner: xchat patch: GUI for autojoin setting

When using xchat, I found it uncomfortable that whenever I don't want to auto-join a channel any more, I have to find the network in the server list, go to properties, find the channel there and remove it. Adding channels is not much better.So I wrote a small patch against the xchat in Debian unstable (2.6.4) that adds a checkbox menu entry to the channel's tab's context menu, to quickly take a channel of the autojoin list or add it there.I submitted the patch upstream, but if you want to give it a shot, you can find it on Debian bug #393783

Joachim Breitner: openghana.org launched

The idea was not mine, but nobody seemed to do it, so I just did it and created openghana.org: OpenGhana logoIt is meant to be a common domain name and portal for the various Free Software related groups in Ghana, especially Linux User Groups, and I hope it causes synergy effects. We are also thinking what services can be provided on that site. At the moment, there is planet.openghana.org, a blog aggregator with blogs from various members of the Ghanaian Free Software community.

Currently, there are two LUGs on openghana, but I hope that others will join as well.

14 October 2006

Joachim Breitner: Don't let LWN die

Joey Hess wonders if the Debian Weekly News are still a useful thing, and whether the planet has not taken it's place. In my opinion, that is not the case. I always looked forwared to Wednesday evening when the new DWN would come out. I enjoyed the nice overview of what's going on in the different corners of Debian and eagerly read the recently added or orphaned package lists. DWN was a nice news digest, just the right size, and seemed to me more balanced and a tad more objective than just the random blog entry.Unfortunately, the DWN are most useful for those who are currently not aware of all the things going on, who are not on all the high-traffic mailing lists (or don't read them), and these are of couse not the people who can run the DWN (I count me to that group). And those who are suitable to write the weekly letter are not those who need it...I still hope that someone and maybe some more can pick up the task and keep this institution running. <sarcasm>Maybe dunc-tank can sponsor them...</sarcasm>

Joachim Breitner: Don't let DWN die

Joey Hess wonders if the Debian Weekly News are still a useful thing, and whether the planet has not taken it's place. In my opinion, that is not the case. I always looked forwared to Wednesday evening when the new DWN would come out. I enjoyed the nice overview of what's going on in the different corners of Debian and eagerly read the recently added or orphaned package lists. DWN was a nice news digest, just the right size, and seemed to me more balanced and a tad more objective than just the random blog entry.Unfortunately, the DWN are most useful for those who are currently not aware of all the things going on, who are not on all the high-traffic mailing lists (or don't read them), and these are of couse not the people who can run the DWN (I count me to that group). And those who are suitable to write the weekly letter are not those who need it...I still hope that someone and maybe some more can pick up the task and keep this institution running. <sarcasm>Maybe dunc-tank can sponsor them...</sarcasm>

13 October 2006

Joachim Breitner: I'm responsible for reduced attention in a NY university

Some Brett from Rensselaer Polytechnic Institute in Troy, NY writes on his blog that my gaim-thinklight plugin is bad for attention in class. Sorry, guys :-)

Joachim Breitner: African: Africa should stop blaming others

At this school, every friday morning one member of staff holds a speech full of wisdom, insight and motiviation. While usually I find these quite transparent and full of good-sounding, not-very-helpful advices, today's speach by a history teacher was different.He talked about how africa keeps blaming the European colonialisation for it's current state, and that it should rather look ahead and "forge forward" (I didn't even know you could use "forge" as a verb implying movement, and dict.leo.org doesn't know either). He listed other countries with a devastating event in their history who were successful afterwards: Japan, after the the atomic bombing, became an industrial giant , German's economic miracly after being bombed to ashes and the Jew's will to go on after the holocaust.He assumed that if the bombs had been dropped on an African country more than half a century ago, people would still be blaming their current problems on the bombs, and demanding compensation, which some Africans do now regarding the slave trade, and which the teacher thinks also displays of lack of own initiative. Again, he compared that to Germany and Japan who did not think of expecting compensation (but then, these two have started the war that caused their bombing, so this comparision is, in my opinion, not entirely valid)Also interesting was the thesis that if these days a large slave ship would land on an African harbour, and announcements would be made that 200.000 slaves would be needed to work on American farms, people would thrash forward to go on that ship. Although it was probably a citique on the mentality of some Africans, it could also be seen as a reference to the state of affairs in Africa, where to some work as a slave might be the better choice.All in all a very interesting point of view that I wanted to share with you. It definately made more impression than my talk about Free Software, but that one went ok as well, I think.

12 October 2006

Joachim Breitner: latex-ucs

After two years of working around not being able to use \usepackage[utf8] inputenc on sarge, because it works here on unstable and not here, I found out today that all I would have to had to do was apt-get install latex-ucs. Hmpf.

Joachim Breitner: My Software around the World

It is always nice to get feedback from people using your work. It happens that a long time ago (February 2002) I wrote a tiny little program called "udp-broadcast-relay" that does nothing but hauling udp broadcast packages from one local network to another one. I wrote it because I needed it then, and did not care for it after somewhen in summer 2002, when I did not need it any more.Yesterday, I got this message:
Von: <xxxxxxxx@mail.ru>
An: Joachim Breitner <mail@joachim-breitner.de>
Betreff: udp_forward_relay
Datum: Wed, 11 Oct 2006 19:59:23 +0400 (15:59 GMT)
Hello Joachim,
Thank you on your programm udp_forward_relay.
Best regards
  Alezander
And today:
Von: <xxxxxxxx@mail.ru>
An: Joachim Breitner <mail@joachim-breitner.de>
Betreff: Respect
Datum: Thu, 12 Oct 2006 22:39:07 +0400 (18:39 GMT)
Hello,
> Thanks for the mail. It's always good to hear that people are using
> it. What do you use it for, if I may ask?  
Im us if on a router with 6 network segments for relaying broadcast packet from quake3,
war3 and VyPress Chat. Im from Russian and live in "NNSU" universety hostel,
in Nigniy Novgorod state. All peoples from my hostel send respect for you...
P.S. Sorry for my english...
Best regards
   Alezander        
That feels good. I once got a similar thing from pakistan, too. Strange selection of countries...

11 October 2006

Joachim Breitner: Five Minutes about Free Software

I'm in Ghana now for more than two month, and my mission to spread Free Software at the SOS Hermann Gmeiner International School has been progressing slowly. So far I have setup a FAI based automatic installation of Debian Sarge, extended that to automatically resize the existing windows and put it on a few computers in the staff work room, the library and the student's computer room, but interest was generally quite low.I also noticed that most probably don't know me (unfortunately, I was not introduced properly), and if, they don't know why or what for I'm here. So I asked for permission to hold a talk a the friday morning assembly, where all the studentds and staff come together, and I was given five minutes. I want to use the time to give a very brief introduction what Free Software is and why we need it.Read the full post for the text of the speech, I'm keen to hear comments, suggestions and corrections, preferably before friday morning on the meridian.
"Five Minutes about Free Software" vollst ndig lesen

1 October 2006

Joachim Breitner: Latexki, a Wiki for LaTeX in Haskell and Python

After two years of using lkwiki, an old kwiki version that was extended to support full LaTeX documents to be managed and to store it's information in subversion, it is time for a rewrite. This week, I built the basic working foundation, in time for the new term at my University in Karlsruhe, but hopefully also for other people to use. So hereby, I announce:
Latexki, a Latex Wiki
Latexki consists of two parts: The latexki binary, written in Haskell, is called by subversion after a commit and generates the static wiki pages (both text and LaTeX-based). It only updates what's needed (since running latex is expensive), but tracks dependencies like \input in LaTeX. The other, actually optional, part is a CGI script written in python which provides simple write-access to the subversion repository and which should handle conflicts with the same grace as subversion itself.Some, especially the planet.debian.org readers, will now immediatelly say that this is the same idea as Joey's ikiwiki and that I should just have extended his software. Now, I had the idea independently (after all, lkwiki works like this for two years now), and while ikiwiki is more a general purpose wiki, I wanted to create a tool specifically tailored for the collaborative management of LaTeX documents, the text pages are just side-play. Also, I wanted to to my own thing to use the subversion bindings to access the repository directly, without the need of a working copy, for the edits. It turned out that with pysvn, this is not possible, but at least I don't have to call the svn binary and using temporary directories for the working directory should be a clean solution.While the code is basically working, it still needs some testing. I'm also very eager to hear comments about the code itself, especially from a security point of view, but also from a "how to this nicer in haskell" point of view. You can find the code on the wiki itself, as all non-wiki, non-latex files are just wrapped in <pre> and put on their own page. Also, the TODO list is long. Patches are welcome, and if you want to use the software yourself, I'll help with any deployment problems.To the lkwiki users: I plan to switch the lkwiki repository to latexki before the semester starts. Some files will have to be renamed, and some detail code to be written. Feel free to test the latexki code to make sure we don't have problems then.

Next.

Previous.