Skip to main content

Headaches

Writing computer software sometimes goes a little something like this:
  1. Brainstorm
  2. Believe that writing software is easy
  3. Design
  4. Change the design
  5. Bang your head against the wall
  6. Wish you hadn't banged your head against the wall... ouch...
  7. Change the design... again...
  8. Write some senseless code
  9. Wake up the next morning and delete the senseless code
  10. Write gibberish on a whiteboard
  11. Erase the whiteboard
  12. Realize that your gibberish was actually somewhat important
  13. Finally get a design together
  14. Write some senseless code
  15. COMPLETELY SCRAP THE DESIGN AND THE CRAPPY CODE!
  16. Draft a decent design
  17. Write bad code
  18. Realize the code sucks
  19. Fall asleep on your keyboard
  20. Wake up at 3 AM and realize you did nothing except type 2000 pages of the letter L.
  21. Bang your head against your pillow... ahh... better than the wall.  Commence sleeping.
  22. Hide underground and crank out some code
  23. Attempt to compile code
  24. Add include statements and the semicolons you forgot.  Attempt to compile code... round 2
  25. Begin talking to the compiler.  Say things like, "Oh, quit complaining!", "Shut up!".  Try compiling again.
  26. Ask the compiler questions like, "What the hell is wrong?", "Why have you forsaken me?"
  27. Repeat steps 25 and 26 for many hours
  28. Run the program
  29. Experience a segmentation fault or some unexpected error
  30. Write about your experience on your blog
  31. Find a dark corner and cry

Comments

Popular posts from this blog

Beware the Ides of March...in 9 days

Stupid heading for this blog, but whatever.  I was amused.   So, a lot has happened since my last entry, which I believe was sometime in January.  I have officially started a new business -- OnlineFixShop, LLC.  The web address is http://www.onlinefixshop.com/ .  Check it out!  For the next few months, my business will be focusing on home PC repair.     I am offering services that can help you:   Rid your computer of spyware and viruses Retrieve lost information and data Gain access to the Internet Increase your computer's performance and speed Learn your way around various types of software Setup a secure wireless or wired network Back-up personal and valuable data Secure your computer(s) and protect your data Eventually, I am planning to focus on repairing computers over the Internet using remote administration technology, which I have yet to design.   Right now, I am working to setup an online ordering system and my own accounting system.  So, at the time of th

Today's Quote

This is simply a brain dump.  I'm sleepy, and I want to type out some of the thoughts currently in my head. "Luck is where preparation and opportunity meet."  This is so remarkably true, and today I'm making it a mantra.  I believe that luck is merely an illusion that we perceive, but it truly when we have prepared ourselves for the right opportunity... and then a great opportunity comes along.  Many great opportunities pass us by every day.  Once we begin to recognize them and prepare for them, then we start to experience the thrill of luck. Interestingly, as described in "Good to Great", Mr. James Collins talks about how "Level 5" leaders often attribute their great success to luck .  That's a humble way of saying, "I planned on taking advantage of every opportunity ."   Hmmm...

JavaScript Sticky Footer and Scroll Effect

This post talks about two different HTML/JavaScript effects: How to keep a page footer stuck at the bottom of the browser window. How to create a scrolling <div> without using a scroll bar OK. So... you have a website. You want a header stuck at the top of your page and the footer stuck at the bottom of your page. The stuff in the middle, you want to be able to scrollable. But, you don't want those ugly scrollbars to the right of your scrollable text. Maybe, instead, you'll have up arrows and down arrows above and below your <div>. When you mouseover the arrows, the text in the <div> will move up or down and create a scrolling effect. Suppose your page looks like this... <html> <head> <title>Test</title> </head> <body> <div style="position: relative; width: 700px; margin-left: auto; margin-right: auto;"> <div id="header">Header</div> <div id="scrollUp&q