Tuesday, November 24, 2009

Simple Tutorial on Compiling C programs with GCC

GCC is the GNU c compiler that can does a lot of heavy lifting in the programming worlds.

The basic format for compiling a Hello World program is:

gcc hello.c -o hello

In this statement 'hello.c' is the program, '-o' is an option and 'hello' will be the name of the executable program. The '-o' option just specifies that compiled version of your program will be saved to an another filed called 'hello'. If you exclude this option, the the compiler will save to a default 'a.out' file.

Friday, November 13, 2009

Breif Review of Harbor Freight 1/2 inch Air Impact Wrench


Having never bought anything from Harbor Freight (Fright), I decided to grab this ultra inexpensive air tool to make quick work of rotating tires. For less than $20 bucks, I thought I should give it a try. The bottom line was - it did work fine, but seemed to lack torque. I guess this shouldn't be a surprise, but I really wonder if it really has a max torque of 250 ft-lbs.

In the end, I did return the item without any problems, so no major complaints, but probably not the best tool for stubborn, rusted bolts. Considering higher end air impact wrenches are many times the price ( over $100 ) of this one, one can't be too critical.

Links:
Harbor Freight Tool Reviews | Tool Crib

Thursday, August 27, 2009

Link Roundup

1. Saul Griffith and Heirloom Design | Pop!Tech Blog
2. Ikea Blue Shopping Bag into Messenger Bag | Ikea Hacker
3. yPod Mp3 Player | YourItronics
4. The Plywood and Pipe Desk | Lifehacker
5. The Art of Creating Strong Passwords | PC World

IC of the Day - LM386


The LM386 is a low-voltage operation amplifier in an 8 pin dual in-line package. It can output .5 watts using 9 volts. Notable features are: suitable for battery operation, wide supply voltage 4v - 12v or 5c - 18v, voltage gains from 20 to 200, low distortion. The gain is internally set at 20, but with the addition of an external resistor and capacitor it can be adjusted from 20 - 200.


Links:
Datasheet | National Semiconductor
Cracker Box iPod Amplifier | A Blue Star
Mousey the Junkbot | Makezine
Tiny Amplifier | Electronics Lab

Wednesday, August 26, 2009

Monday, August 24, 2009

Link Roundup

1. Build your own universal remote
2. Homemade cast aluminum chop saw
3. DIY Home Power Monitoring System

Friday, June 19, 2009

Linux Software for Kids




I recently recycled an old desktop PC into a kid's computer for my 3 year old son. After installing a current version of Ubuntu, the next task was to find some software for him. Luckily, there are some great packages out there for youngsters. Here's what I have installed so far:

1. Tux Paint - An easy-to-use drawing and painting program for kids ages 3 to 12. Released under the GNU license.
2. GCompris - An educational software suite for ages 2 -10. This suite is loaded with activiies based on color, games, math science, computer skills and more. Released under a GNU license.
3. Childsplay - A software suite for young children released under a GNU license. My son really likes the memory game.
4. Tuxmath - An arcade game to help kids develop math skills.


For more information about kids software available on GNU Linux, check out this presentation by Bill Kendrick - the creator of Tux Paint.

Wednesday, June 17, 2009

Arduino Oscilliscope


One the coolest open source projects out there is the Arduino. It's an open-source electronics platform based on a Amtel microcontroller. This is one of the cooler and more practical Arduino projects I've seen so far. It's a simple oscilliscope (10 bit resolution), but it will only set you back $30 bucks. (Hat tip to Hacked Gadgets.)

Poor Man's Oscilloscope (Arduino + Processing)

BTW, if you are not familar with the Arduino. There's a great podcast with the projects founder about Arduino at FLOSS Weekly.

Tuesday, June 16, 2009

Top DIY Books at the Gutenberg Project



Project Gutenberg is the largest collection of free books on the internet. Most of these books have been transferred to public domain status as a result of their age - so these books are truly free.

There are a few gems here. Things to make has plans for everything from a book stand to a model steam turbine. And wood joinery does not really go out of style, this books covers a variety of classic joinery techniques like dove tail and mortise and tenon joints.

1. Things to Make by Archibald Williams

2. Woodwork Joints by William Fairham

3. A Course in Wood Turning by Archie S Milton and Otto K. Wohlers

4. How to Make Mission Furniture by H.H. Windsor

Monday, May 11, 2009

DIY Network Cables

Even with wireless technology now, I still use network cables here and there. I am writing this post right now on old computer in my basement running Ubuntu. Adding a wireless card into this machine is more trouble than it's worth.

You can save a lot money making your own cables compared to what they cost at Best Buy or other retailers. I've noticed they really go for the margins on cables, memory and other components.

I recently bought 100' feet of cable for about $20 and RJ-45/RJ-11 crimping tool will set you back another $20 or so. The only thing you need now is a pin-out map for the connector. Here are a few useful links:

RJ-45 pinouts and hints
Dux Computer Digest

Thursday, April 2, 2009

Hackerspaces

Pretty good amount of chatter out there on Hacker Spaces. These are collectives where fellow DIY enthusiasts can get together and share ideas, equipment and know-how. Here are a few essential links.

Wired Blog article on the rise of Hackerspaces
Hackerspace.org
Wikipedia Entry on Hackerspaces
NYCResistor

Saturday, February 7, 2009

DIY Washing Machine Repair

In this new era of austerity, it's pretty hard to bite the bullet on a new washing machine when the old one breaks. Mine went down a few weeks ago and was able to fix it for about $60 bucks.

I have a Kenmore 110.49722990 (what product manager came up with that?). I was unable to find an online manual, but did, somehow, mange to find mine. I guess I can't upload that file to blogger, but will find another way to publish it for others. (post a comment if you are interested)

Mine was unable to go into the drain and spin cycle, so I guessed correctly that the pump was not working. When I took it out, I discovered it was full of nails! Whoops.

Here's a few useful links:

E-how: How to diagnose washing machine problems
Appliance and Air
Fixya.com

Parts:
Partstap

Tuesday, January 20, 2009

Open Source, Hacking Economics

As a regular listener of Econtalk, I'm excited to see a show dedicated to open source, hacking, and FOSS economics with Eric Raymond.

I took a few econ courses in college and find economics interesting and ridiculous in the same breath. One joke describes economics as the "painful elaboration of the obvious"." Well, real economics is anything but obvious and open source software/hardware challenges many of the established assumptions in economics, so this should be interesting.

Here's the link: Econtalk