What was it I was supposed to write here?

Friday 18. December, 2009

I keep forgetting what I was supposed to write here. Anyone?

At least ReactOS 0.3.11 is out…


Surprisingly Easy Fix for Wireless

Saturday 1. August, 2009

The wireless of my notebook “broke” some time ago and I just couldn’t get it working neither in Windows 7 (RC) or in Linux. The problem was caused by hardware kill switch, according to Linux’ system logs. The kill switch near the keyboard was working correctly for the Bluetooth-circuits taking the radio on and off as I pressed the button on and off, but the wireless (Intel® PRO/Wireless 3945ABG) stayed offline regardless of the button’s state. Trying to Google solution revealed that many others had had similar problems, but their problem/solution seemed to be that they had been attempting to use software version of killing the wireless (Fn + F5) instead of a real button on their laptops. I only had a real button, no such key combination.

I let the computer be for couple of weeks completely ignoring the problem (“You don’t exists”-clause) until I thought of the notebook’s recovery disks. Could they possibly be used to recover from this problem? After some hours of copying the hard drive (ddrescue to the rescue!) to my other computer I inserted the recovery disk #1 in the cd drive and rebooted. I was presented with a choice to open menu for various recovery options, to erase everything and do full recovery or exit the recovery software. I chose the full recovery erasing everything and waited and waited…

Finally the Windows XP logon screen came up and I could log in. On the system tray there was a program, program called “HP Wireless Assistant” telling me that Bluetooth device was on and WLAN off. I was saddened by the fact that if was still not working, but then I right-clicked the program icon and saw a menu containing an item “Enable all devices”. I thought that it would probably not work after seeing Linux and Windows 7 saying the kill switch was preventing everything but for my surprise it actually enabled both Bluetooth (that was already on) and WLAN. WHOHOO! My WLAN was back!

“iwl3945: Radio disabled by HW RF Kill switch” was gone!

Now I wonder what set the kill switch in the first place…

Funny thoughts, vol. 1: Soul Energy

Wednesday 29. October, 2008

Let’s suppose that souls are real and are some form of energy. This would mean that the number of souls would be constant due to law of conservation of energy. This in turn would suggest that if souls go to some place after we die and won’t come back, the Earth would eventually run out of souls. In fact, this progress has already started as we all know that some people don’t have souls (excluding the cases who deny the existence of souls, it’s against our premises) or their souls are black, which would suggest that souls, in general, are radiant or that they absorb the Light of the light that inspects them.

If we suppose that souls do radiate, we could, as the price of oil is rising, start to use used souls as an energy source for our society. Those souls who would end up in the hell would probably rather die in a fire (or be consumed, if it’s less ruthless) than go to that place anyway.

Just think of it. We could build soul energy plants, that could also function as a crematorium for all dead things that still have a sould attached to them. As we don’t know when exactly the soul leaves the body, we would have to build a hospital near or in the plant complex that as little as possible of the soul can escape. We don’t necessarily have to burn souls of the human beings as a recent photoset I saw somewhere in the net says that dogs and rocks go to heaven, that is to say, they have souls. Yet another problem rises: How are we going extract souls from rocks? With living things it’s quite easy to say when the soul is about to leave the host but with a lifeless rock… Maybe we need a grinder…

I can see the big billboards with slogans already… “SoulPower: We’ve got a soul”, “Heavenly Energy: Your grandma recommends” and “General Electricity Company: The last choice”. (by the way, I reserve the rights for those names, in case this comes reality someday 🙂 )

If the Hindus are correct about souls being recycled, this kind industry would eventually lead to a soulless planet. Unless we could find a cheap way to convert other forms of energy back to souls, which could be quite unlikely. Souls must have some mighty compex structure (structured energy?) as they also contain our ethics and morals (unless theologists are wrong), so creating souls would require us to reduce entropy by a magnitude I cannot estimate.

Doin’ some fixin’

Friday 17. October, 2008

It was a sunny day in the spring 2008. Me and my friend were at the university’s IT repair  “scrap-yard shelves” as one might call them. There was an old Compaq Armada 1130 on the shelf…

It didn’t have any hard disk in it, it had been taken away as well as all the screws that hold the case in one piece. Its battery was lost together with the back panel covering the memory expansion slots. Something came over me and I told my friend to take the computer with him as I thought he might have some tools to test the computer if it would boot. Well… he didn’t… and my little computer project stalled for too long time.

This week I went to the same place and saw some power supply that gave out 24 V and 1500 mA. I instantly thought of the once-glorious-laptop and guess what! The system booted with it!

Unfortunately the power connectors were not compatible, so some “haxing” was needed. I “gently” took off the original connector on the laptop’s motherboard and soldered power line from the supply directly on the motherboard.

The computer’s bios didn’t seem to like the fact that its cmos-battery was empty and hdd missing. It takes several minutes to get pass the initial detection. Kinda weird.

After some trying and inappropriate touches on the internals of that computer I successfully had FreeDOS and memtest+ running on it. No memory faults!

My friend wrote about my project in his blog and took even some pictures: The first set and the second set.

Next in line:

  1. Steal the HDD from his laptop
  2. Get one ATX power supply
  3. Connect the supply to iMac G3 logic board (that was in the iMac I bought the next day after the take-away laptop, details in some other blog entry in the distant future)
  4. Get one VGA/Dsub connector
  5. Solder the connector on the iMac G3 logic board
  6. See where the smoke comes out

Go get some Wine 1.0

Thursday 19. June, 2008

Wine 1.0. It’s out, now be a nice little nerd and go get it and no one gets hurt.

You might want to get the Firefox 3.0 while you’re at it…

Maybe even run Firefox 3.0 in Wine 😮

In case someone doesn’t know where to get those: Wine and Firefox

Python: Hashing files

Wednesday 6. February, 2008


Once again I decided I needed to make some md5sums for files, “Pythonic”-way. I have done it before, but I didn’t quite remember it, so some Googling gave the instructions, I write them down here, in case I’ll need it again

import hashlib
md5sum = hashlib.md5(open('tehfile','rb').read()).hexdigest()
sha1sum = hashlib.sha1(open('tehfile','rb').read()).hexdigest()

(I since sha1sum is longer, I decided to go with it instead of md5)

Basically the code above imports the hashlib-module and then generates md5 and sha1 sums in hexadecimal presentation for ‘tehfile’ opened in for reading in binary mode.

A new small project: JBTracker

Sunday 22. April, 2007

I have been working on a little project for last few days: JBTracker.

At first I thought that I might need a bug tracker for Prospekt Linux, but then I couldn’t find any that wouldn’t require actual database like MySQL or PostgreSQL (my home page space provider hasn’t included any database facilities for users…). So I decided to create one using txtSQL as a database engine.

Currently JBTracker users can add/edit/delete bug reports and “status tags” depending on their ‘accesslevels’. I even made ‘anonymous’ as a special user who doesn’t even need a row in ‘users’-table in the DB but is (dis/en)abled in configuration file.

JBTracker will most likely be a GPL licensed piece of software, but actual code, however, won’t be generally available until I have worked on it enough. Currently the quality and the functionality would give OpenSource bad name.

Or it won’t be available anywhere, as I might get bored on this project and nearly abandon it (just look at what happened to JPM – Joni’s Package Manager, I haven’t touched the buggy code for months…)

(Does anyone know similar projects? Bug trackers not using “real” databases?)