Sunday, March 4, 2007

how Vista is better than Tiger

Seems like most of the people prefer Tiger over Vista.

But

1. Finder just cant compare to Window Explorer

I hate finder. Managing files with finder is not seamless. For example renaming a bunch of files in sequence, windows does it, but on Tiger i need to resort to some Apple or Automator scripts. Also finders does not do folder preview.

Traversing through a deep folder trees on finder is a joke. The finder window scroll horizontally thus we lose track of the the parent folder after going several layers down into a folder tree. That just sucks. Windows explorer on the other hand a navigation pane and a display pane to ensure that we do not lose context no matter how deep we go.

2. Spotlight is slow..slow

Admit it, spotlight it's real slow, and most of the people in the know uses
Quicksilver as a day to day launcher. Vista has a similar implementation of spotlight
(whatever it is called) is just as bad.


3. Mac OS doesn't do games

How many times a day do I need to reboot into windows (vista or not) to play a game or 2 of counter strike. No chess doesn't cut it. The only decent game on the Mac is World of Warcraft, and that doesn't run as well as it does on Windows

4. iPhotos is great and all but..

I am not a tidy freaks. I do not want to tag my photos nor digitally enchance it. I just want to drag and drop it into a folder and call it a day. I just need to know that the photos will be there if I ever need it. So I also do not want to wait half a minute for iPhotos to load in order to email it, set it as my IM picture or desktop background. Here it where Window's Explorer comes into handy, it does just that. Finder on the other hand, is just not ment for organizing photos or videos... and one of the reason is because it doesn't do thumbnails.

5. I love Frontrow and all.. but Media Center it's really better

Frontrow is cool and all, but the Vista's Media Center Functionality does TV time shifting and recording and alot more. In my opinion that is the whole point of hooking up your compuer to your shiny LCD tv is at least to be able to watch live TV . No I do not want to buy TV shows from the iStore when they are in fact available free on air.


Don't cha just wanna agree with me?

(Note: I am a everyday MAC user as well, but I feel that Vista is really as good as or if not better than Tiger)

Friday, February 23, 2007

Cheap, Dirty and Easy way Atmel AVR Programmer with Parallel Port

Recently started to play with micro-controllers from Atmel. I want to create a automatic power switch that is USB controlled. To began my exploration, I needed a way to program these devices, being a poor college student I did not wanted to spend money on a fancy programmer.
The result from google'ing was promising, and there were a few resources that gave a pretty good description of how to building one yourself.

The Hardware

All you need to do is solder wires to the port 2, 11, 1 ,16 and 18 of the parallel port


Parallel Port   AVR
2 MOSI
11 MISO
1 SCK
16 RESET
18 GND

Next, you need to fire up the data sheet for your corresponding chip and find out where are the corresponding ports for
the wire. You will need to locate the MOSI, MISO, SCK, REST and GND pins on the chip and connect it up to the appropriate
port on the parallel port

For the ATMEGA88 it looks like this, Port 19,18,17 and 19 is what we are looking for
That is all the hardware you need to program the AVR!
It is also recommended that you hook the VCC and GND chip up to a 5V and 3.3 voltage source,
although some parallel port might have enough power to power up the chip, most larger AVRs will
require external supplies.

Software

WinAvr is a suite that consist of a C compiler for AVR and an AVR programmer called AVRdude.

An interesting file to look at at AVRdude is the configuration file at \winavr\bin\avrdude.conf
I was poking into this file because I keep getting an error, "Parallel Port LPT 1" not found when I was trying to write to the chip.
However the parallel port was in fact it was plugged in and all the connections were secured.

After 2 hours of scratching my head, I finally realized that I have soldered the parallel port wrongly. However
all is not lost, this .conf file above allow you to change the pins of the parallel port to match the programmer that you have created.
Simply do a search for "dapa" and you can to reassign pins on the parallel port to your hearts content.

After doing that, I was able to do a terminal connection to the Microcontroller using the command

avrdude -p ATMEGA88 -t

Now I need to work on understanding how to program an AVR with C

All the parts you need is a

  1. Male to Male parallel cable
  2. Female parallel port
  3. Wires
  4. Solder
Software you need
  1. WinAvr