Under the hood: New blog view
Posted by coldtobi | 8 Jul, 2007, 10:03It took me some time, but the template for the template is ready.
So its time for the first preview:
Probably, the look will change, but the basic layout template is ready. It is based on YAML, and the focus while coding it was to make more consistent and more easily to change.
<—&mdash Showing ERROR? Click here!
Blog and Website | Comments (0) | Trackbacks (0)
ALSA Sound suddendly stops to work on Intel Chipset
Posted by coldtobi | 7 Jul, 2007, 12:17On my laptop, equiped with an Centrino chipset, my sound suddenly stopped to work. Well suddendly is the wrong word, as I do not use sound regulary on my laptop.
Also, the kmix applet did not show any problem, as it somehow declared my internal (never used) modem as sound card. Interrestingly, some applications did manage it to properly playback sound (e.g pidgin), but obviously not using alsa as sound backend.
Today I found some time to look after the problem: Alsa loaded the snd_i810m Kernel module, which is the "Modem Module" for the i810 chipset. If this module is unloaded, sound will immediatly start working again. (Okay, after restarting alsa)
But fiddling around with rmmod and insmod every reboot is not my intention, so I needed a permanent fix:
Blacklisting the offender: uncomment the "snd_i810_m" entry in /etc/modutils/alsa-blacklist
This was my first solution to get it working fast. However, this will disable the modem function, but as I do not need this anyway, I do not care. If you need it, you simply have to insert the module later in the boot process.
<—&mdash Showing ERROR? Click here!
Blog and Website | Comments (0) | Trackbacks (0)
La Fonera's IPKG Bug
Posted by coldtobi | 6 Jul, 2007, 23:12An Article in the category: Do Not Brick Your Fonera Router. If you break it, you'll have to keep the pieces.
The ipkg binary in the fonera is broken. It is not really the ipkg binary, which is broken. So it can happen, that -- especially a ipkg remove -- can delete some essential directories. /lib/ for example, effectivly break the router.
But there is an script available, which replaces ipkg to get it safe. Just execute the following (on Fonera)
wget http://blog.coldtobi.de/gallery/1/ipkg.txt -O /usr/bin/ipgk; chmod 0750 /usr/bin/ipkg
[Update:] Safer is:
(More)
<—&mdash Showing ERROR? Click here!
La Fonera | Comments (3) | Trackbacks (0)
ReCaptcha -- STOP SPAM, READ BOOKS!
Posted by coldtobi | 5 Jul, 2007, 23:15
Some captchas are well -- weak. Or better said: broken and not an obstacle for the robots. This is, because OCR is doing pretty well, and the obfuscation is sometimes not obsucre.
So why not choose images which have already failed in OCR?
Exactly this is the approach taken by reCAPTCHA. But where to take words, that failed in OCR? And how to avoid training the bots against this words? reCAPTCHA is refined their approach to also cover this topics:
They take words out of old bookes that are digitalized but not poperly OCRed, because the OCRing failed. They seperate words out of the books, disort them and give that puzzle to the user. They will always present two words: One which has already been decoded and one, which is not decoded yet. Only if both words are entered correctly, the captcha is solved.
<—&mdash Showing ERROR? Click here!
Blog and Website | Comments (1) | Trackbacks (0)
CSS Basics [german]
Posted by coldtobi | 5 Jul, 2007, 21:39Für alle die sich mal CSS einarbeiten wollen, das CSS Float Zeugs aber nicht richtig verstanden haben... Ja, ich gebs zu, wenn ich einmal im halben Jahr wieder CSSe, dann weiss ich auch nicht immer so genau, wie es denn genau gegangen ist.
Und im Augenblick ist es halt wieder soweit, denn ich möchte doch meinem Blog mal einen persönlicheren Touch geben. Und dass soll natürlich mit Style gemacht werden.
Achja, hier der Link:
<—&mdash Showing ERROR? Click here!
Netzfunde, German | Comments (0) | Trackbacks (0)
(Little) Endianess Guide for Atmel AVR
Posted by coldtobi | 5 Jul, 2007, 16:59As I frequently need that information, also frequently I forget it again. (Usually, the C-Compiler has to care about it, but if you have to take over e.g a serial line, you have to know it.
Atmel AVR Endianess Cheat Sheet:
Example Value: 0x0A0B
All 8-bt AVRs: Little Endian in Memory 0x0B 0x0A (*adr: 0x0B, *(adr+1): 0x0A)
AVR32: Big Endian in Memory 0x0A 0x0B
LittleEndian is popular at Intel CPUs,
Big Endianess e.g at Motorola.
<—&mdash Showing ERROR? Click here!
Electronics and Atmel AVR, Tips and Tricks | Comments (1) | Trackbacks (0)
Perpetuum Mobile Demonstration delayed....
Posted by coldtobi | 5 Jul, 2007, 15:40I just read, that the demonstration of the "free energy" perpetuum mobile has unfortunatly to be delayed.
The website http://www.steorn.com/orbo/demo/ tells, that they experience technical problems:
<—&mdash Showing ERROR? Click here!
