Sunday, December 30, 2007

what a flowchart



Science vs. Faith flowchart

Saturday, December 22, 2007

Comparing Men and Women at the ATM

Joke: Comparing Men and Women at the ATM

Instructions for the guys:

1. Pull up to ATM
2. Insert Card
3. Enter PIN
4. Take cash, card and receipt
5. Drive away

Instructions for the Gals:

1. Pull up to ATM
2. Back up and pull forward to get closer
3. Shut off engine
4. Put keys in purse
5. Get out of car because you're too far from machine
6. Hunt for card in purse
7. Insert card
8. Hunt in purse for grocery receipt with PIN written on it
9. Enter PIN
10. Study instructions
11. Hit "CANCEL"
12. Re-enter correct PIN
13. Check balance
14. Look for envelope
15. Look in purse for pen
16. Make out deposit slip
17. Endorse checks
18. Make deposit
19. Study instructions
20. Make cash withdrawal
21. Get in car
22. Check makeup
23. Look for keys
24. Start car
25. Check makeup
26. Start pulling away
27. Stop
28. Back up to machine
29. Get out of car
30. Take card and receipt
31. Get back in car
32. Put card in wallet
33. Put receipt in checkbook
34. Enter deposits and withdrawals in checkbook
35. Clear area in purse for wallet and checkbook
36. Check makeup
37. Put car in reverse
38. Put car in drive
39. Drive away from machine
40. Drive 3 miles
41. Release parking brake

Wednesday, December 12, 2007

4 Laws of UNIX programming

1. Make each program do one thing well. To do a new job, build afresh rather than complicate old programs by adding new features.

2. Expect the output of every program to become the input to another, as yet unknown, program. Don’t clutter output with extraneous information. Avoid stringently columnar or binary input formats. Don’t insist on interactive input.

3. Design and build software, even operating systems, to be tried early, ideally within weeks. Don’t hesitate to throw away the clumsy parts and rebuild them.

4. Use tools in preference to unskilled help to lighten a programming task, even if you have to detour to build the tools and expect to throw some of them out after you’ve finished using them.

- Doug McIlroy, the inventor of Unix pipes and one of the founders of the Unix tradition.