Viewing posts for the category hack

Croud clapping

If you want to get a 'croud clap' effect then you not only need to multilpy a clap, but also make a Gaussian distribution of timing and loudness variation. The tighter the distribution, the more 'organised' will the clapping be. With a very wide deviations you will get a natural white noise clapping.

Re: HOWTO prep for migration off of SHA-1 in OpenPGP

Daniel says that we should move away from SHA1 by switching hash algorithms for signatures and generating keys that use at least SHA256 from SHA-2 family. I have been bitten by non-default GPG options before. So I propose that we do a security release of GPG that changes the defaults of key generation and key signing in such ways that SHA-1 algorithms are not used by default for any operation, unless a backwards compatibility option is used.

iPhone review from a free software guy

I got an iPhone on the very first day it was available officially in my country. I have used it every day since then and am now ready to decide how good it really is. Summary: it is a great piece of technology and the only tradeback is the locked down platform. I have abandoned my Palm and am not looking back.


I have just encountered a bug in Gnome that is much more visible when the hard drive is slow or overloaded and responds slowly. This gave me an idea - how about a simple transparent FUSE filesystem that does nothing else than delay, slow down and possibly reorder filesystem requests? Such a filesystem would be very useful for debugging. We developers tend to have high-performance systems and that hides many bugs, but if we could have a slower system on-demand, it will give us the ability to debug our applications better.

WoWHead client for Linux

This is highly unofficial, but if you want to upload your World of Warcraft statistics to WoWHead in Linux, then you might be able to do so by using the following script. You will need curl and wget installed.

Sneaky blacklisting of WiFi in HP laptops?

I've been there before, but somehow I hoped that HP has come to its senses, so when my girlfriend got a HP Compaq 6715b laptop with a Broadcom wifi card that does not work with the open source driver and randomly crashes under load with ndiswrapper driver, I said - "well, I'll just get an Intel mini-PCIe wifi card and plug it in". I should have know better.

Slow starting USB storage in Linux

I have this USB hard drive enclosure that can also share the files on the local network (LAN DRIVE HD9-U2LA, vendor id - 05e3:0702). Due to that it has an operating system and some other software inside. Unfortunately this software is rather slow to start and that cause the following kernel error when trying to mount this enclosure:

[90459.236000] usb 5-5: new high speed USB device using ehci_hcd and address 9
[90459.368000] usb 5-5: configuration #1 chosen from 1 choice
[90459.368000] scsi4 : SCSI emulation for USB Mass Storage devices
[90459.368000] usb-storage: device found at 9
[90459.368000] usb-storage: waiting for device to settle before scanning
[90464.368000] usb-storage: device scan complete
[90470.148000] usb 5-5: USB disconnect, address 9
[90470.148000] scsi 4:0:0:0: scsi: Device offlined - not ready after error recovery

Terrorist Airlines

I can't believe I have not bogged about this before. With all that terrorism threat bullshit, wouldn't it be nice if there was an airline that would declare itself to be 'terrorist friendly' - i.e. all passangers are welcome to come on board with just a simple identity check, no security check, no baggage security check, no delays. You can arrive 10 minutes before departure and just fly away. Wouldn't that be nice?

Wow 2.1.3 on Wine 0.9.40

If you are playing World of Warcraft on a Debian or Ubuntu system with newest Wine packages from WineHQ, then you might run into a problem - WoW- files will crash on Wine 0.9.40 with some nastygrams sent in the direction of its mshtml implementation. Downgrade to 0.9.33 (like the version in feisty) and the patching will work just fine.

Wrong partition ordering

If you have a hard drive with two or more logical partitions in one extended partition and then proceed to erase the first of those logical partitions (in GParted), then you will soon discover that the number of the second logical partition changed (from sda6 to sda5 in my case). If you then try to create a partition in the free space and launch cfdisk, you will notice that there is no free space where it should have been. If you then manage to get to GParted and create a partition there, then do not relax, as your perils are not yet over. Upon reboot you will find that the logical partition that is in the beginning of the logical partition got a new number (sda7 in my case) and the your valuable second logical partition is still numbered wrongly (it was sda5 instead of expected sda6). Even more so, if you try to fix it with cfdisk, it bails out with a fatal error of overlapping extended partitions.

Recent Posts






RSS / Atom