12 November, 2008

Meet Tesla


Meet Tesla, our very own lol cat. She's going to be the star subject in my experiment to determine whether or not cats crave cheeseburgers and what could cause this unnatural obsession.


Faster Boots

Motherboard manufacturer ASRock just released a feature called "Instant Boot" which presumably reduces Windows XP and Vista boot times down to about 3-4 seconds. After reading through their description of the feature I realized what they had really done was tweak the way the shutdown procedure works so that shutting down your computer places it in a S3 or S4 state. They do this by rebooting your PC and letting Windows reach a stable state after you request a shutdown. The BIOS monitors the OS in memory and sends a call to enter S3 or S4 when Windows stabilizes. Because the S3 state requires power to hold the contents in RAM an S4 "ram-to-disk" image is also taken when S3 is called. The mode that ASRock calls "Fast Mode" uses the S3 state to provide the 3-4 second boot time, "Regular Mode" essentially hibernates the machine so its boot time will be a bit longer.

This is really just a gimmick to increase sales.

When I power down my PC I "Hibernate" it, at the "Turn Off Computer" dialog hold down shift and click yellow button. Hibernate sends the computer into S4 and uses the same amount of power as it would were it shutdown. Hibernate resumes Windows in about 25 seconds and isn't susceptible to power failures.

"Standby" or S3 uses a little power to keep the RAM from loosing its contents, if you pull the plug you should expect a full reboot. It may give you 3-4 second boots but it wastes energy. Use "Standby" if you leave the house for a few hours and can't spare 20 seconds when you return.

"Shutdown/Reboot" is really just a process for clearing out junk memory contents and messing with hardware. Windows occasionally needs a fresh start that only a full RAM wipe can provide, I have to reboot about once a week.

A few weeks ago the topic of boot times crossed my mind and I had an interesting idea that seems similar to ASRock's feature. If S3 leaves the RAM data intact why can't the BIOS handle the storage of that data onto a dedicated solid state disk on the motherboard. 8Gb memory sticks are already dirt cheap, the same silicon could be used for this purpose. If the computer never looses power it resumes from S3 as usual. If the RAM is cleared for some reason then the BIOS reloads the RAM from its solid state image and Windows still resumes from S3. This could drop S4 resume times as well. Hopefully we'll see something like this show up in response to ASRock's market ploy.


Google Flu Trends

I'm not exactly sure what to think of Google's new flu tracking site. If I understand the program correctly, they are using aggregated search information from users to gauge the spread of influenza. If you feel a fever coming on and you do a search for remedies on Google, a blip at your location is added to the list of possible infected. Google discovered that Google Trends was already tracking the flu outbreak when it compared trend data with CDC survey reports, their new tool complies the data into a national map and trend line. This could be incredibly helpful to hospitals and schools who need fair warning before the virus moves to their location, of course, it could also lead to statewide quarantines.


Google Flu Trends


07 November, 2008

Etching PCBs

A few weeks ago I went through the process of etching PCBs using the toner transfer method.  It was fairly easy to acquire the materials, all I needed was some ferric chloride, a copper clad board, glossy photo paper, and acetone.  The circuit I chose to etch was a serial interface to a Morse code key and sounder, fairly simple but still useful.  The layout was done in Eagle CAD and transferred to a PDF for printing.  My university's color laser printer has heavy ink that transferred from the photo paper to the copper board really well.  I didn't use a heater or bubble stone during the etching process so it took about 15 minutes to eat away the excess copper.  The result was a nearly perfect single sided PCB.  If you're interested in making your own PCBs the toner transfer method is a cheap and easy way to start.