23C3: Signs
29.12.2006 19:51
Here are some interesting signs that can be seen in Congress Center:
NOC (our Network Operations Center) had some problems yesterday with the uplink. This is the picture of their whiteboard when they were trying to get the link back up. Just left of the board and not on the picture was a sign "NOC needs more beer".
This is the announcement of the German Government Initiative for keyboard use. Translated to English it says: Over 70 million Germans do not use a console. Do not click yourself away.
You can't make this up
29.12.2006 12:52
Today I received a mail with a very interesting subject: Hi, pancake plant.
Unfortunately the body of the message was a fairly standard advertisement for questionable medicines. Well, at least they tried to be innovative .
OLPC at 23C3
29.12.2006 3:57
Yesterday I saw the prototype made by the One Laptop Per Child Project. It on displayed at the Wikipedia booth (I've heard that it was brought there by Samuel Klein, a veteran wikipedian who joined the OLPC effort a while ago).
My first thought after I've seen it was how small it is. It's barely half the size of my 12" Powerbook. Unfortunately this prototype didn't have the revolutionary LCD display they are planning for production models (or at least I haven't found a way to enable the back-light-off mode). The user interface is quite confusing - it's completely different from any other desktop environment I've used. I've watched some demonstration videos that were published by the OLPC team some time ago and still I didn't know how to do anything with it.
23C3: Blinkenlights
29.12.2006 2:19
The center of attention in the Art & Beauty section of the Congress are again various things made out of blinking LED diodes. This year people from the Lochraster joined people from the Blinkenlights project which I remember from the 21C3.
Here's the newest invention from the Blinkenlights project: the Pocketlights. This beta version disintegrates when picked up but the final version should enable you to bring LED displays where none thought possible :).
This is a complicated simulation of one of the simplest toys. Unfortunately you can't see how it works from this (terrible) still picture. It has a two-axis accelerometer and simulates a tiny ball placed on a flat surface. The position of the ball is indicated by a lit led on the dot-matrix display. The final effect is that you can move the pixel by tilting the circuit.
This is the back of the shirt worn by Martin Ongsiek, author of the Borg 3D. It displays scrolling text on a dot-matrix display.
This is Borg 3D. I've seen its simpler predecessor on 21C3. It's basically a 3D display made of LEDs in a metal wire matrix with 8x8x8 pixels. It's controlled by an Atmega microcontroller which drives the display with the help of some multiplexing circuitry (multiplexer "rows" are connected to 8 horizontal planes of LEDs and "columns" are connected to 64 vertical columns).
23C3: Day 1
27.12.2006 18:25
The conference started today with the keynote about trust in the hacker community by John Perry Barlow from the Electronic Frontier Foundation.
Here are some of the most interesting things I've seen today:
Sputnik is an active RFID tag that contains a PIC microcontroller and a 2.4 GHz transceiver. It's firmware is free software and can be programmed for a number of purposes. There is a live demonstration running currently here in the Berliner Congress Center where the location of each tag (they are selling them for 10€) is displayed on a screen. The location is determined with a grid of receivers that send signal strength data to a central server that then triangulates the position.
This thing is on display in the Art & Beauty part and projects a live video stream to a shaped white screen. The result is a kind-of three dimensional projection of some of the places in (I think) Berlin - the buildings look like textured objects in a computer game while people on the streets are like sprites painted on the floor..
23C3: Getting there
26.12.2006 19:12
The 23rd CCC starts tommorow. Tickets should have been available since 18:00 but it seems there are some problems because there's a big sign saying that maybe they'll start selling them around 20:00. I'm currently sitting at the Congress Center and trying to publish this through a half-working wireless connection (there's a gigabit switch right in front of me but it doesn't seem to be working right now).
Anyway, here are some of today's pictures:
We had a miniature LAN party on the train from München to Berlin.
23C3: Ready to go
25.12.2006 17:32
I'll be on board the train to Berlin in a couple of hours.
There will be a lot of interesting things going on in the 23rd Chaos Communication Congress. First of all some free software groups will be present there: for example Debian (I look forward to leaving a few euros at their booth in exchange for a badge or something - they deserve it) and GIMP.
The Fahrplan also contains a lot of interesting talks. I'm also happy that there aren't too many talks on the schedule I wouldn't want to miss - this way at least I'll also have time to meet some interesting people.
Anyway, I'll try to post here some highlights of the next few days. I just hope that I'll get net access. I've heard that the wireless network actually worked last year and I'll also bring an ethernet switch with me in case I'll have to stick to the wires.
No more comments
20.12.2006 13:05
I must again admit that I was again defeated by spammers. My clever plan to use bogofilter to separate real comments from spam wasn't exactly successful. Here are some reasons why:
- Spammers got sophisticated and inserted random prose into comments (just like they're doing it in email these days.
- Sheer amount of spam bots browsing the site was quite a load for my limited net connection.
- Spam comments were still available through the link show comments marked as spam and were so still indexed by Googlebot. Although the comments contained no links I still don't want my site to be known to Google as a giant advertisement for questionable products. It wasn't possible to prevent Googlebot from going through these comments with robots.txt.
Currently I just don't want to bother with this any more. I feel I already spent way too much time trying to find a way to get comments working on this site without spam (and without CAPTCHAs) and honestly I just don't think it's worth it. If you have a comment, just send it by email (I'm already used to getting tons of spam there).
Open the bay doors, HAL
15.12.2006 22:35
Cyberpipe's computer museum got some pretty impressive hardware earlier this week. I've had time today and went for a quick look.
It looks like this thing can actually run Linux. However somehow I doubt that you can stick a Ubuntu Live CD in it - at least I haven't found anything resembling a CD drive. You probably need a 2 month beginner's course just to find the master On/Off switch.
Movies and power save
13.12.2006 10:42
This xkcd comic reminds me of an evening a few weeks ago.
Except that the OS was Mac OS X (which doesn't give you the tools to save your date) and I ended up moving the mouse every 5 minutes for the duration of the movie.
Later I found out that Require password to wake this computer from sleep or screen save option in Security preferences caused the screen saver to come up even when a DVD was playing.
Some notes on using Bungard laminates
12.12.2006 23:43
I'll be using laminates made by Bungard for Galaksija's printed circuit boards (they were the only ones I could get that were big enough for the motherboard). I usually buy plain laminates and coat them myself with Positiv 20, but these laminates come pre-coated with Bungard's own photoresist.
I was pleasantly surprised at the quality of the coating (when I bought these plates I thought I would remove the factory coating and apply my own). It is much more even and has less flaws (dust particles, etc.) than what I could ever do with Positiv 20 on such a large surface. I also found out that the photoresist's properties are a bit different than what I'm used to. Here are some notes that might be useful for anyone else using this material:
Exposure
4 minutes under a 500W halogen reflector 30cm away. Exposed parts of the photoresist turn green just like with Positiv 20.
Development
The usual concentration (4g NaOH per 500ml water) seems to be to low. I used 10g per 500ml and it took something like 10 minutes to fully develop. Bungard also offers a special developer that isn't based on sodium hydroxide.
Etching
Photoresist seemed to hold fine in the HCl / H2O2 solution I use.
Targeted advertising
08.12.2006 13:40
Slovenian style web shops
07.12.2006 13:53
I just tried to order some electronic components through one of the Slovenian electronic web shops (I've been in their real-life shop yesterday, where they've told me that I will get my stuff a lot faster if I order it from their web site).
So when I got to the page where I had to enter my name and address, their super advanced software told me that I've made a mistake in my title (Red text says: "Your title does not match your first name. Please check your data." There are two choices for the title: "Mr" and "Ms" and I've chosen "Mr").
So, if their software is smart enough to figure out my gender better than I can, why do I need to enter it myself? Interestingly, I always thought my first name is a male name.
My experience with this shop went mostly downhill from there. The last straw was when they expected me to enter my credit card number on an unencrypted page (however they did display a fancy-looking long hex number called a "data security fingerprint" - it probably makes them feel all fuzy inside, I'm just not sure how that number would prevent my data from getting into wrong hands).
I guess I'll continue to buy my electronics the old-fashioned way.
Good advice
02.12.2006 10:32
I will make sure that my doomsday device is up to code and properly grounded.
-- from Peter's Evil Overlord List
So it begins
01.11.2006 15:12
Two weeks after I enabled comments on this page (and after two actual comments posted), I caught the first (futile) attempt to exploit an XSS vulnerability in my comment system. This is quite an improvement over my previous try with the stock cgicomment installation which took only a couple of days before bots started posting unmanageable amounts of spam and other nasty stuff.
Hi, Jonny. You'll have to try harder than that this time.
Going nuclear
24.10.2006 21:16
Today I went on a tour of the power plant Krško, the only Slovenian nuclear power plant (the trip was organized by EESTEC).
We weren't allowed to bring anything with us on the tour (hence a lack of pictures of the most interesting stuff in this post). They also performed some kind of a biometric scan of my right hand, gave me a temporary RFID tag and assigned an armed guard to each group of visitors. No dosimeters were given though (like when I visited the small research reactor in Podgorica a few years ago). But then we also didn't visit any of the areas where they handle radioactive stuff.
A model of the fuel bundle that contains pellets of enriched uranium oxide.
They gave us a complimentary nuclear power plant starter kit containing three (fake) fuel pellets. Now I only need some 7 million more of them to get enough for the whole bundle :)
Our guides really took their time and answered all of our questions, even some that probably weren't very pleasant from their point of view. It seemed to me that they are working hard to present the power plant to the public in the friendliest way possible. They explained the basic principles (Krško uses a PWR-type reactor) and also told us quite a few things that were surprising to me.
- Every physics book I read says that the power output of the reactor is controlled by moving the control rods in and out of the reactor. I learned that this isn't so, because having control rods only partially inserted would burn the uranium fuel at the bottom of the reactor faster than at the top. This is a bad thing (they try very hard to keep the reaction rate constant throughout the volume of the reactor). So a better way to do this is to vary the concentration of a neutron absorber in the coolant. Rods are only used for fast changes (like in an emergency). Interestingly the Wikipedia article linked above gets this right.
- The plant was designed by the Westinghouse company, while the actual work was done by workers and specialists from local (then Yugoslavian) companies. The design specifications were so strict that all markings on the equipment, pipelines, etc. are in English. For example even the color codes of the wires used in the buildings are according to American standards instead of European. I'm surprised they managed to adapt the plans to the 50 Hz frequency we use here :)
- Hruske writes how nuclear power plants run on QNX. Krško actually doesn't run on anything. All control loops are still implemented with analog electronics (which is considered a Good Thing by the maintenance engineer I talked to). They recently installed a new digital monitoring system though. It runs on some software that nobody there actually knew how it was called (but they all agreed it wasn't Windows). The main control room is full of switches, analog gauges and warning lights.
- New fuel elements are transported to the plant from USA first by a ship and then by trucks. A couple of times they also flew them in on an airplane. It's interesting that usually our newspapers are full of reports how a convoy of trucks carrying nuclear fuel will be traveling through this-or-that distant country but I never seen an article about how they transported fuel for Krško. On the second though this may be a good thing or there would be people chaining themselves to trucks and things like that.
Blacklisting IPs
14.10.2006 19:14
I've just blacklisted the following blocks of IPs on mail.tablix.org:
196.217.0.0/16 196.206.0.0/16 41.250.0.0/16
According to the Whois database, they all belong to some Moroccan ISP.
Last week I've been getting incredible amount of spam from there. I can handle spam sent to my personal email account (it gets filtered anyway), but these guys have been sending spam to the tablix.org's mailing list manager address with my address in the Sender field. That way I got some 200 bounces from my own machine telling me I issued a wrong mailing list command.
Luckily they only used my address. I would hate to think that other people would be getting such mails from my server because of some stupid spammer.
So, if you're from Morocco and can't send mail to any mail accounts at tablix.org, go bug your ISP or something. I'll try to remove the blacklist entries when I don't see any rejected messages in my logs for a month or so.
By the way, these IPs are from the same block as those that caused problems with the mailing list manager this June.
Interesting comment about OLPC
08.10.2006 23:45
Almost every single time I hear a discussion about the OLPC project somebody says that people should focus on providing food and other things that are more urgently needed by children in undeveloped countries before giving them a computer.
I think that this comment on Slashdot should give those people some idea why such arguments don't hold water.
Nanoblogger upgrade
03.10.2006 16:55
Hello, world!
First post using Nanoblogger 3.3RC5.
RSS feed seems to be broken. Sorry, will look into that soon. Upgrade also changed the URLs of all archived posts. On the other hand I can now enable user comments.
Please report any broken links. Thanks.
Old books
29.09.2006 19:31
My recent work on the redesign of the Galaksija computer reminded me of some old books about Spectrum I have on my bookshelf. One of them is the The Complete Spectrum ROM Disassembly. I never actually read it before. Back when I was playing with Spectrum the lack of pictures and confusing assembly language was enough remove all my interest.
Now when I'm reading it, I am surprised at how much has changed since then. Here is a book with the complete contents of Spectrum's ROM (its "operating system"), together with detailed commentary for each function and each line of code. All that from authors that were not affiliated with Sinclair in any way (as far as I can see from the book).
Publishing a book like that today would probably be like taping a big sign "Sue me" on your forehead. Reverse engineering is not something people usually like being connected to (not to mention that it can be even illegal in some weird countries). It is either done in laboratories of big companies (from which you don't hear much but I'm sure they exist) or more or less anonymously on various internet forums (just look for example at game console modders). Imagine how a XBox complete ROM dissasembly book would be welcomed by Microsoft.
New email address
27.09.2006 13:18
In a few days I will stop receiving mail sent to my old email address tomaz.solc@siol.net.
So, from now on please send any mail to my new address (replace siol.net part with tablix.org).
Adventure games from the past, 2
12.09.2006 13:22
I've managed to read those old floppies without errors and I've put the contents on-line. You can download them from here.
All games more or less work in DOSBox. Nethack has some problems with display (it says it needs some driver loaded in config.sys to work correctly). Spacewar works best if you use Hercules emulation (dosbox -machine hercules)
To run Ranadinn in DOSBox, follow these steps:
- Run DOSBox: dosbox -machine hercules
- Mount C drive in DOS: mount c /path/to/ranadinn
- c:
- Run SIMCGA (for some reason DOSBox CGA emulation isn't good enough for this games): simcga40.com
- Run Ranadinn. You will have to type this blindly because SIMCGA messes up DOSBox' prompt: ranadinn.com
- Enjoy.
Adventure games from the past
09.09.2006 19:54
I just found this set of 5¼" floppies with shareware games on them. I remembered that my father bought a couple of these many years ago.
We had a 286 computer with monochrome graphics at home back then (our first Intel compatible). It was made by Mlacom, a Slovenian computer company that still exists (although I think they lost all good reputation by now).
These disks contain three games: Ranadinn was a graphical role-playing game (there's a screenshot on the cover) where you wandered around in forests, entered cities and usually died of hunger after playing 5 minutes. Spacewar was something similar to KSpaceduel. Then there was Hack, a predecessor of NetHack.
Apart from multiplayer Spacewar I don't remember playing these games a lot. That's interesting because Nethack is now the only game that I still occasionally play. It seems that I met my favorite Unix game long before I even knew what Unix and internet was.
I wonder if these disks can still be read. I don't have a 5¼" drive at hand so I can't try them out.
Server in the open
07.09.2006 16:29
Previous weekend we removed a large window in the room with my server because some wooden parts of the roof had to be painted.
It's interesting how this was reflected on the lm-sensors graphs. The CPU has a temperature controlled fan installed, so its temperature is nearly constant. The "system temperature" (I don't know where this is measured on this motherboard) on the other hand fell for almost 10°C during the night.
Interesting article on copyright
31.08.2006 1:59
What Colour are your bits? by Matthew Skala is a very interesting article about the so-called intellectual property and copyright of data in digital form. It explains in a simple way why copyright is a purely subjective matter without any logic background and why people that do not have a background in mathematics and computer science usually do not see that.
The Monolith project (linked from the article) is also worth a look.
Cats driving innovation
19.08.2006 11:53
Believe it or not, this is an automatic cat feeder constructed by my dad and my uncle.
The electronics is made of a modified light timer, battery charger, 12V sealed lead battery and some custom electronics. It is fully programmable and can cope even with the most complicated diet a cat can have.
The food is dispensed by an old drilling machine that opens and closes a valve in the stainless steel container.
Thinkgeek shipment arrived
14.07.2006 19:33
- Loot: $152
- DHL shipping: $70
- Having to explain to the customs officer what a generic humanoid carbon unit is: priceless
Seriously, Thinkgeek should give better descriptions of the package contents to the DHL. T-shirts, for example, were labeled only by the text that is printed on them. There was no obvious sign that the package contains apparel and not some weird organic stuff. The same goes for the plush microbes. The customs officers would probably understand the English word "toy", but "giant plush kissing disease" probably rang some alarm bells. So I had to describe each and every item in the package to the (otherwise very friendly) customs officer.
But I guess it could also be worse. After all, the package also contained stuff that could be misidentified as a plastic explosive, an ignition device and a book with "for the evil genius" in the title.
My favourite acronym
26.06.2006 17:40
OTP-EPROM: One Time Programmable Erasable Programmable Read Only Memory
It is pitch black
23.04.2006 21:12
You are likely to be eaten by a grue.
Seriously, this scene from the Mahorčičeva jama near Škocjan reminds of old style adventure games. You know, the ones where you would have to go back to the village and give this-and-that to the local carpenter so he can then give you some planks which you could then use to repair this path and get to the next screen.
Chii in Lancaster
19.04.2006 1:48
Goodbye Lancaster University
18.04.2006 19:30
Ceiling mistery
17.04.2006 13:37
Every time I go to sleep in my room and turn off the lights I get the impression of seeing little points of light on the ceiling. They look a bit like stars on the night's sky, but are a lot fainter.
At first I thought it was only my eyes adapting to the dark. But once I turned off the light when I was still standing and the lights remained on the ceiling, not floating in front as a typical residual image on the retina. I decided to investigate this further.
First I had to make sure this wasn't some kind of an optical illusion. I took my digital camera, put it on my bed facing upwards and set it to maximum sensitivity (ISO 800) and longest exposure time (4s). I then took two pictures: one with the protective cap on the lens and one without the cap. This way I could then remove any camera artifacts by subtracting the first image from the second. Following is the resulting image:
There is still a lot of noise in the image, but you can clearly see some green dots. These dots are larger than one pixel across so I guess they can't be caused by CCD sensor noise.
So if this is not an illusion, what is it? I can't see any significant features on the ceiling when the light is turned on. It could be light from a room above coming through the floor. This would be possible if the ceiling would be wooden and had cracks in it, but as far as I can see, the building is concrete and also all rooms have thick carpets on the floor.
Another possibility would be that the ceiling finish contains pieces of some phosphorescent material. I believe this is more likely, since I don't remember seeing these dots when I wake in the middle of the night when the light has been switched off a couple of hours. However in that case it is weird that the dots only appear above the bed. I looked for them on other parts of the ceiling but haven't seen any.
Neighborhood watch
15.04.2006 20:51
I think the following advice should be added to the next revision of the Lonely Planet guide:
Do not photograph large buildings standing in the middle of nowhere. It may turn out that one of them is a nuclear power station and then otherwise friendly local people start to ask weird questions like "Are you going to blow it up?".
In my case, it later turned out that I had found the Heysham power station while walking along the coast from Morecambe. I guessed it has something to do with large amounts of electrical power since there was a large high voltage line coming out of it, but as far as I knew it could have been a fish processing factory (I could see no cooling towers or containment buildings that you usually see near things that run on nuclear power). Anyway, only the third person I asked actually answered me what the building is (right before asking me back what my evil intentions are). The previous two just looked at me suspiciously.
Lake District
14.04.2006 13:34
Last Sunday I went to Lake District with my supervisor and two other professors from the Department of Physics. We had plans to go hiking, but it turned out we were a bit short on time because we had to go to Manchester in the evening. So in the end we only went for a short walk around the Castlerigg stone circle. Any way, the view very still fantastic.
Lake District is a national park in Cumbria, north of Lancaster. I guess the name is quite appropriate because basically every deeper valley between hills is filled with water. The mountains aren't very high compared to what you see in Slovenia and you hardly see any exposed rocks. If there's no grass the rocks are covered with moss.
The weather changes very rapidly here. In an interval of two hours it went from snow through rain to a clear sky and back to rain again.
This is the view of some of the higher peaks from the Castlerigg stone circle.
Lancaster university by night
12.04.2006 16:00
Lancaster
07.04.2006 13:49
Yesterday I finally got internet access here at Lancaster University. It took me three days to find the proper way of doing this: first I tried to get my Eduroam account working here (University's web page said that visitors should use it to get internet access), but after some phone calls and visits to various help desks it turned out that the English Eduroam database isn't actually connected to the continental one. So much for the universal access provided by Eduroam.
Now I have a temporary computer account for visiting students and for which I got some 15 pages of instructions on how to use it (it includes stuff like email, Unix shell and Windows accounts, storage space, etc.). So far I figured that the internet access I'm used to doesn't exist here - web traffic is only allowed through a proxy (which may be monitored and/or recorded). Anything that is not HTTP traffic is mostly filtered out. Email for example is only allowed through their official web interface (SMTP port is blocked). Luckily SSH appears to work.
Here are some pictures of the room I'll be using for the next two weeks. It has a network connection (20-something pounds per day extra if you want to use it - I don't), phone (I don't even want to know how much that costs) and a cleverly placed electrical socket behind the curtain, which I only found yesterday.
This is an interesting way of forcing the user to use as little hot water as possible. Give exactly two choices: cold or scalding hot water. Guess which one you're going to use? Oh, and the green faucet is for the hot water.
At least they tell you about it...
Tiny Cyberpipe logo
01.04.2006 17:04
Fabricated using 1.2 micron CMOS technology, this chip holds a unique Cyberpipe logo on the 3rd metal layer. The logo measures approximately 20 μm on the side and is located over some of the digital signal lines entering the integrated circuit in hope of guarding it from the bad carma outside.
The chip is a must-have (in much the same way as the CP Cap) for any Cyberpipe member and is available for sale at the manufacturing price of 2.5€ per die. Only one wafer of these one-of-a-kind chips have been fabricated, so hurry while the stock lasts.
Yes, this was a joke. The image was made in GIMP, using this microphotograph as background.
Chandra will be down for repairs
25.02.2006 20:57
My server that runs services at tablix.org will be down tomorrow for a few hours because of a number of hardware and software repairs. DNS resolving problems, bounced emails, unavailable web pages and all sorts of other weird phenomena can be expected.
It turned out that my EN-X temperature control circuit has a bug and can burn out one of the operational amplifiers if you turn the temperature setting knob too fast in either direction. This problem didn't look very serious when I first noticed it a few months ago because temperature regulation still seems to be working. However I'm not really happy with one of my machines running with a half-working CPU fan. And since I now also have a list of some other tasks that involve a reset (like a kernel upgrade and some UPS rewiring) I decided it's finally time to trow away those 200 days of uptime.
Robotfindskitten
15.02.2006 15:26
Robotfindskitten (apt-get install robotfindskittten on Debian) is another free software game with a profoundly deep background. The similarity of the default user interface with Nethack is just another plus that adds to the experience (although there are a lot of other interfaces available, for example a fancy 3D accelerated OpenGL port for the ASCII challenged).
"GO!" I told the box as it began to roll out of my workshop into the frozen desert beyond. "FIND KITTEN!"
-- The Book of Found Kittens, pages 43-4, author unknown
Good stuff :)
Gnome and XGL
09.02.2006 19:24
While I agree that these videos look really great and all I think GNOME developers should really take John Williams' proposal seriously.
Making "an intuitive and attractive desktop" isn't only about removing some buttons from dialog boxes and reordering the rest. A usable desktop is also a desktop in which you don't have click through a couple of error messages before you can begin working.
Such a desktop also doesn't replace a working PDF viewer with a broken one just because the latter is "simpler and more convenient".
Compare a PDF document in Gnome 2.10:
with the same document in Gnome 2.12:
A fine fortune replacement
25.01.2006 19:56
I have just found an amusing little program by Taper Wickel on my (half-broken) hard disk. It uses some simple math to predict how long it will take for humanity to destroy itself. And if your simulated little earth manages to survive the next 500 years (which in my case is yet to happen) you win.
It's a fine replacement for fortune in your .bashrc.
Here is the link to source (it is in the public domain). Have fun.
Hard disk failure season
24.01.2006 16:54
Last August a 6 year old 13GB Seagate Medalist failed in my server. In October, a 5 year old 30GB IBM Deskstar failed in my desktop.
Now, my desktop won't boot from a three months old 200GB Western Digital because of the infamous { DriveReady SeekComplete Error }
Before August, none the disks in my machines have ever died. Should I expect this row of failures since I was cheating on the specified mean time between failures for the drives I have been using?
Gnome XKB, part 3
22.01.2006 20:57
I still can't find the cause of XKB error messages, but I'm getting close.
I suspect there is a race condition when something runs xkbcomp to compile the XKB keymap, but I can't find who exactly is doing that. After going through the source or gnome-settings-daemon, libgswitchit and libxklavier I filled a bug report at Debian BTS.
To be continued...
Road closed
22.01.2006 15:17
Slovenia off-line
20.01.2006 16:16
My friendly incompetent internet service provider is again blocking all external mail traffic. So don't be surprised if you can't send me a mail or use one of the mailing lists at tablix.org.
This time I'll restrain myself from calling their support line. Everytime I call and complain about mail problems the marketing droid on the other side wants me to open my Dial-up networking properties and Outlook express settings. After I tell him that I don't have this stuff on my machine and that their mail server is returning 450 Unable to find domain after MAIL FROM SMTP command he simply rewinds his tape and starts again: OK, I understand. Now click on the Start button and open the Control panel...
udev, part 2
19.01.2006 17:58
After some reading of the stuff in /usr/share/doc/udev I found out that putting lp into /etc/modules brings back the lp0 device. Suddenly things don't look that bleak anymore.
Still have to figure out how to get /dev/ttyS0 and friends back though.
Udev ate my printer
19.01.2006 0:06
It's almost midnight, I've just spent 5 straight hours writing a report for one of the term projects I've been working on and now I just have to print it.
No problem. I click on the Print button, but the printer remains silent. Great, why must things always break when you need them the most? Some 5 minutes later, I dig out this from /dev/log:
Jan 18 23:38:50 orion lpd[9645]: /dev/lp0: No such file or directory Jan 18 23:39:30 orion lpd[9669]: /dev/lp0: No such file or directory Jan 18 23:40:18 orion lpd[10641]: /dev/lp0: No such file or directory
WTF?!
Ok, no problem. Some broken script obviously wiped out some of my device files. Luckily, I still have MAKEDEV, right?
orion:/dev# MAKEDEV lp .udevdb presence implies active udev. Aborting MAKEDEV invocation.
Argh. So MAKEDEV thinks that udev should take care of device files and udev obviously only cares about fancy new stuff like USB and Firewire. How on earth am I supposed to use my printer on the parallel port? I don't remember the major and minor numbers for the lp0 device and I don't feel like greping the kernel source right now. Maybe there's another lp0 somewhere?
avian@orion:/dev$ locate lp0 /home/avian/morphix/live/dev/lp0
Finally! I knew that all that junk in my home directory will someday turn useful. A quick edit of the /etc/printcap and the printer begins churning out first pages of my report.
I guess it's time to switch to CUPS or something.
Step two
13.01.2006 22:10
Today was the last day of lectures in my five year undergraduate study program. Basically this means that I'm getting near the end of step one in the three-steps to profit of the new economy:
- Study
- ????
- Profit!
The only problem is that I still haven't quite figured out what step two is supposed to be.
Mythbusting
26.12.2005 19:03
I heard several (mostly older) people say that the electric current is "stronger" in the evening. This was usually said in reference to cooking on electric stoves - for example you need to set the stove on a lower setting in the evening to get the same effect as with a higher setting in the morning. Recently I got into an lengthy argument about whether this is true or just an urban myth, so I decided to check it myself.
The UPS on my server keeps logs of the RMS voltage in the electricity distribution network so this seems to be a good point to start.
As you can see the voltage in the socket can vary as much 15V during a day and is far from the declared 240V.
On the other hand the digital voltmeter in the UPS can't be trusted, since it wasn't designed for such precise measurements (its only purpose is to tell the UPS when to switch to battery power). Because of this I double checked these values with a true-RMS voltmeter and it looks like the UPS measurements are constantly off by 10 volts (UPS shows 228.0V, voltmeter shows 238.0V), however the relative values seem to be quite accurate.
So let's say that I want to boil 2 liters of water on a 1kW electric stove. Such an electric stove has a heater with resistance of R=(240V)2/1kW=57.6Ω. To heat 2 liters of water from a room temperature of 20ºC to 100ºC you need Q=m·c·ΔT=4200J/kgK·2kg·80K=672kJ of heat. If the electric stove is operating at its declared power it will provide this quantity of heat (if we ignore the heat loss) in t=Q/P=672s=11.2min.
Now let's see how much time it would take to boil the water if we take into the account the swings in the line voltage. The graph shows that the lowest voltage measured is 222.2V. This is Umin=232.2V when corrected for the UPS measurement offset. At this voltage, the stove has a power output of Pmin=Umin2/R=936W. It will heat 2 liters of water to boiling point in tmax=12.0min.
On the other hand the highest measured voltage is Umax=247.5V. This gives the power output of Pmax=1063W and the water will boil after tmin=10.5min.
The maximum difference is obviously 1.5min or around 13%. This is value falls somewhere in the middle: I can't say that I would notice if the water for my spaghetti would begin to boil 90 seconds too early, but it is quite possible that some people can notice that. On the other hand most modern electric stoves have thermostatic control. This means that the temperature of the stove is controlled with some kind of a feedback loop. This loop should attenuate any effects of the line voltage swings to such a degree that I'm sure noone could notice (even if with a stopwatch I don't think you could measure any effects but I'll try to prove that at some later time).
Google rank
11.12.2005 0:33
It seems that with the recent addition of Tablix package to Debian Unstable, http://www.tablix.org finally became the first hit on Google for tablix. Until now the first hit for this query was the old page at www.kiss.si which only contains a link to the new page.
It took 10 months for Google to find out that the page has moved, which is kind of interesting. Also interesting is that Tablix Systems, which appears to be a Danish software company that has nothing to do with my timetabling software, barely gets on the first page of results.
Tablix is now also the 19th hit (second page) for query timetabling, a great deal behind FET, a free software project similar to Tablix, which is on the 8th place.
Interesting NetHack patch
04.12.2005 18:19
I guess the author of this NetHack patch died of hunger one time too many in the Mazes of Menace. Now if you are feeling hungry, your deity is angry with you and there are no edible creatures around you can simply pull out your cell phone and order a pizza. Wonderful.
On latex gloves
03.12.2005 19:35
I was etching the printed circuit board for my keylogger project today. When I tried to turn the board over in a bath of hydrochloric acid and hydrogen peroxide I got this warm feeling in my left palm. I quickly withdrew my hand from the acid and saw that the protective glove I was wearing had three little holes near the center of the palm.
I quickly washed my hands under running water and everything turned out fine in the end (the circuit board looks great), but I'm never going to buy another pack of "beste qualität" Spontex disposable latex gloves again. When I checked four other gloves in the box, two disintegrated when I just tried to put them on. And this was a freshly opened pack I bought a week ago (no "best before" or production date printed anywhere on the box).
I wonder if these guys are also making condoms of such fine quality.
The world looks awful...
20.11.2005 12:44
Visiting an IC fab
10.11.2005 14:40
Today I had the opportunity to visit my Faculty's integrated circuit fabrication line. It was quite fascinating although not exactly what I expected
My first reaction was that it looks like a set for an 80s science fiction movies. They are using some quite old technology - the line was originally meant for a 5μm process, but thy gradually upgraded it and today they can manage everything up to around 1μm. Green monochrome monitors, big clicky keyboards, 5.25" floppy disks, blinking lights, large racks of equipment, people in protective suits, low vibrating hum everywhere...
There were of course a few objects that quite obviously didn't fit there. First a modern washing machine with a box of detergent (?! - probably for washing protective suits, forgot to ask, but it was like seeing a ghost). Then there was a single modern PC (running Windows XP) - Excel was running when I saw it so it probably isn't running anything critical.
The whole process isn't as automated as I first thought. Silicon wafers are transferred by hand between various furnaces and machines. Etching is also done by hand as far as I could see. In temperature controlled baths and with carefully controlled chemicals but they still put the wafers in and out by hand.
Also I expected I wouldn't be allowed in the actual rooms where the fabrication takes place. I was told that those places need to be kept very clean and that anyone entering the room can bring dust particles. But in the end I only had to put on a protective coat and that was it.
makezero.com
07.11.2005 19:38
Hint: sending spam to a lot of free software authors and maintainers is not a good way to start a new open source community web site. Words like "15% referral bonus" on the second line in my opinion further reduce the number of people that will actually read past the first paragraph.
It's perfectly plausible of course that they really wish to support open source software with this move like they say in that email. But the mere fact that they are advertising their site by sending spam greatly reduces their credibility. If the people behind makezero.com are really involved in open source movement they should know that their target audience won't take spam lightly.
I'm just getting too many emails from people that are offering to "help me make a little money", not to mention helping me "grow my distribution". If it weren't for the words "open source" I'm sure this one would end in the "Junk" folder like the others.
Bad capacitors
29.10.2005 10:42
I've just got my first case of bad electrolytic capacitors.
I am trying to reuse an old 486 as a wireless bridge. Since this computer served as my ADSL router and web server for four years I thought it was going to work without problems. I only inserted a new wireless ethernet card into a free PCI slot and turned it on. I've heard a small click and thought something got into the CPU fan. I turned the computer off, cleared cables from the vicinity of the fan and tried again. This time there was a series of loud bangs coming from the power supply and a strong smell of burning plastics and simultaneously all LEDs on the computer went on.
It currently looks like the two large high-voltage 330µF capacitors in the power supply blew. They were both too hot to touch when I opened the PSU and one of them has an opened top.
I just hope nothing else got fried in the computer.
Pipin link
26.10.2005 20:50
What are we going to do tonight, Brain?
Same thing we do every night, Pinky. Try and take Cyberpipe's link down!
Microsoft press
14.10.2005 16:34
A quote from Visual C# .NET Step by step, page 262, chapter 14:
If you want to continue to the next chapter- Keep Visual Studio .NET running and turn to Chapter 15.
- On the File menu, click Exit. If you see a Save dialog box, click Yes.
This suggests that there are people who have already read 260 pages about C#, understand "properties to access attributes" and who have to be explicitly told to turn the page of this book if they want to continue reading. Obviously the average Windows programmer must be in even worse shape than I thought if the instructions on how to exit Visual Studio must be repeated for him at the end of each chapter.
Dan brez avtomobila
22.09.2005 13:23
Today is a "no car" day in Ljubljana. This is a way city authorities are using to promote public transportation.
So far so good. I'm all against cars. I think they are an fundamentally inefficient way to travel. Public transportation isn't very popular in Slovenia and basically everyone drives a car, so in my opinion such an initiative is a good thing.
What I don't get is the way the city implemented this idea. First, they closed the city center for all traffic. And I mean all traffic, including buses (which are the only public transport in Ljubljana). This of course means that all major bus lines have been diverted to unusual routes. Causing confusion among regular users of bus lines is certainly a great way to promote them. The bus rides are free though, but what good are they if they don't take you where you want to go?
Another weird idea is that they closed the dedicated bus lanes on the major roads in Ljubljana. Buses now have to drive on the inside lanes, which means that you have to walk a couple of meters over an improvised platform to the bus (in the rain). I can't find any reasonable explanation why they did this? (perhaps they wanted to broaden the sidewalks?)
And of course it seems that the city center is closed only for those people that respect the road blocks. Because all the "smart guys" obviously ignore them.
When in doubt
19.09.2005 17:13
When in doubt, use less technology.
I've read this simple piece of advice somewhere on the net a while ago. I think it nicely complements the Keep it simple rule.
It seems that more and more people rush into using a computer for tasks that are currently accomplished faster and better for example with a pen and a piece of paper or an old-fashioned blackboard. Computer-human interfaces have come a long way, but let's face it: the old way is still better in a lot of cases.
Paper doesn't need be recharged, it boots in less than a second and (best feature in my opinion) can seamlessly integrate different types of media: text, drawings, photos. Blackboards always work, aren't vulnerable to viruses that crash your computer in the middle of the lecture and won't suddenly turn all yellow/purple/blue. Also they are far cheaper than computer projectors and in my experience every single lecture given by someone using the blackboard was better and more enjoyable than a lecture given by someone using a computer presentation.
The horror
08.09.2005 12:40
hda: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hda: dma_intr: error=0x40 { UncorrectableError }, LBAsect=54455098, sector=54455086
ide: failed opcode was: unknown
end_request: I/O error, dev hda, sector 54455086
hda: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hda: dma_intr: error=0x40 { UncorrectableError }, LBAsect=54455098, sector=54455094
ide: failed opcode was: unknown
end_request: I/O error, dev hda, sector 54455094
hda: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hda: dma_intr: error=0x40 { UncorrectableError }, LBAsect=54455098, sector=54455094
ide: failed opcode was: unknown
end_request: I/O error, dev hda, sector 54455094
Two hard disks in two months is just too much...
I guess it's time for another put-hard-disk-in-freezer-and-try-to-copy-the-most-important-documents trick. Sigh.
Short video
07.09.2005 22:09
I play with 3D modeling and ray tracing software now and then and I found this short video to be absolutely hilarious.
It obviously received quite a few awards, so it seems that I'm not the only one that likes it.
Interesting misconception
04.09.2005 23:55
Wikimania got some media coverage in Slovenia and on several occasions I had an opportunity to listen to a conversation about Wikipedia between people that are not exactly computer enthusiasts. I was surprised to hear that many people seem to think Wikipedia is some kind of a search engine, just like Google. After all, you can go to Wikipedia, enter a subject you are interested in in a search box, click a button and if you are lucky, you will get a lot information about that subject printed on your screen. As far as these people are concerned, Google works in exactly the same way.
Case mod
31.08.2005 0:51
I have installed a second hard drive in my computer some time ago. Unfortunately it seems that the two discs in my computer spin with frequencies that are very close to each other. The result is that you can hear the interference as a low "brrrruum brrrrrum brrrrrum" sound that is coming from the computer.
Now this wonderful Chieftec case I have (it boasts as having a "Special spring design for anti-vibration.") has hard plastic feet that are wonderful at transferring this low frequency sound to the structure of our house. And the result of that is that "brrrrum" sound could be heard in almost all our rooms (and I'm sure the neighbors also get their share of it).
So I bought a piece of a thick carpet and made some soft pads to isolate the case from the floor and it seems to be working.
Who knows, maybe I'll even get the extra benefit that my MP3s will "sound more immediate and crisp" :)
Debian Quiz
28.08.2005 12:00
The Debian Quiz has this to say about me:
You got 20 of 37 (54.1%) right.
Your Debian knowledge is good, but you lack some deeper insights.
I guess I have been overestimating my knowledge of Debian :)
ATC Advanced, 3
15.08.2005 0:59
Just played a game of ATCA with Loopus while listening to the recording of the Humppa radio from What The Hack.
We experimented with various options - mostly on the OHare map which we both know well. The default setting of the number of planes is too low for two players, but with the setting increased by one step it is again quite a challenge. The Killer map is still unplayable, even with two players.
The greatest problem seems to be the coordination between players. Some kind of airplane marking needs to be implemented. This way players won't be confused which one is focusing on which airplane (right now airplanes crash when by chance we are both focusing on one group of airplanes while ignoring some other group).
Also SNL seems to have this problem when some times it will say that it can't open a socket if I start the server immediately after the game ends. I have to wait a few minutes and the problem mysteriously solves itself.
Quote
09.08.2005 16:03
If there is a properly configured IEEE 802.11a access point in the forest and there is nobody there to use it, can you still say that the wireless network works?
-- Loopus at What The Hack
Copyright & community, 2
08.08.2005 21:34
After some more thought, I don't think you can compare middle ages before the invention of the printing press with the age of computer networks like Mr Stallman did. People that were writing books at that time were either already rich enough so that they didn't care if they get any money for their work or were monks in monasteries who didn't need money. It is no surprise that no one cared about copyright.
Copyright & community
07.08.2005 14:13
I've listened to Richard Stallman's talk about copyright and community today. He tried to apply ideas from his free software movement to other kinds of works like literature, movies, music and physical objects.
He rejected the idea that free software ideas could be applied to hardware because you don't have a compiler or a copy machine that will cheaply manufacture a piece of hardware for you from a blueprint. I don't agree with that. If he claims that everyone has the right to learn from software by looking at the source an changing it, then I don't see why it would be OK for companies to hide the physical design of a device. 20 years ago it was quite common for companies to include full schematics with an electronic device you bought, but now the insides of some of the chips are the biggest company secrets. You won't find a television set today that will come with any sort of schematics or connection diagrams. Stallman said that physical objects are already as free as they can be, but many companies are deliberately making their electronic products so that they can not be tampered with (like embedding circuits in plastics so that you can not access them without destroying the device).
His interpretation about how the age of computer networks reestablished the situation that existed before the invention of the printing press was quite interesting. Before the invention of the printing press the ability of making a copy of a piece of written work was uniformly distributed between people. Everybody could make a copy and making 10 copies was about 10 times more difficult than creating one copy. With the printing press only publishers were able to make a large number of copies because they owned the expensive equipment. This uneven distribution of ability to make copies made copyright law necessary (or at least not harmful). Computers again enabled anyone to make large or small numbers of copies and Stallman believes that this makes conventional copyright harmful.
As expected he said that "digital rights management" devices are evil and that everyone should stay away from them. It seems interesting that he even acknowledges the existence of DRM (DRM is mentioned in the GNU Free Documentation License, so that definitely means that FSF acknowledges its existence). There are numerous examples that show that it is almost impossible to clearly define what exactly is a way of enforcing copyright (or "digital rights"). DMCA law in US is often criticized because of this, because by definition a lot of everyday items can be classified (like black markers for example) as devices that circumvent copyright protection schemes.
I also didn't like his idea that the author has absolutely no right to charge anything for his or her work. He said that if nobody asked the author to produce a piece of literature then he has no right to request money