Skip to content

Facebook and Your Grandchildren

I think most people, at some point, have tried to keep a diary. Most people also gave up after a few days. Yet Facebook is like a diary that you’ll let your 900 closest friends read, and you have to try not to constantly write stuff on your page.

That realization made me wonder what it would be like if my grandparents had had Facebook pages in their teenage years. I would love to be able to read what they would have posted, or what videos and pictures they might have shared, if the technology had existed back then (in the case of my maternal grandfather, this would have been in from the 1880′s onward).

That made me wonder what my grandchildren will think when they read my Facebook page. Now, whenever I update my status or post a photo album I think about the people that might read it years from now.

The next time you type “OMG GOT SO WASTED LAST NIGHT LOL,” do think about your grandchildren before you hit the “Post” button. Of course, if you were partying with your grandchildren when you got wasted, well… okay, party on, I guess.

Share

Bragging On the GWA Marching Bulldog Band

My elder daughter, a senior at George Walton Academy in Monroe, GA, is a member of the color guard on the GWA Marching Bulldog Band. This past weekend the band competed in the USSBA Southern States Championships in Chattanooga, TN, where they placed first in the Group VI Open competition with a score of 98.563, the highest score of the competition among all bands in all classifications. This is an amazing band that performs at a high level year after year, and I’m so proud to have gotten to know the directors, students, parents, and many others that make this band what it is.

This year’s show theme was “The Carmen Project.” The show mixed music from the opera “Carmen” with other Latin themes such as Ravel’s “Boléro” while interpreting the story of the opera. It was a grand and moving spectacle that just got better and better every time I watched it. My daughter played the role of Carmen, which of course meant she got to die in dramatic fashion at the end of the show.

Here is my recording of the winning USSBA performance. The actual show starts at the 3:30 mark; before that, you can see the band marching onto the field and doing their warm-up routine.

Share

George Orwell and Effective Coding

I spend a lot of time and effort trying to get better at the craft of software development. My goal every day is to fall asleep as a better programmer than the one that awoke that morning. While this involves a lot of reading and practice within the field, I usually learn more by studying older disciplines since software development is still such a young craft.

Earlier today I read an essay on the decline of the English language by George Orwell. The essay is excellent, and I’m already trying to apply its lessons to my writing, but there was one passage that struck me as being particularly useful for software development.

When you think of something abstract you are more inclined to use words from the start, and unless you make a conscious effort to prevent it, the existing dialect will come rushing in and do the job for you, at the expense of blurring or even changing your meaning. Probably it is better to put off using words as long as possible and get one’s meaning as clear as one can through pictures and sensations. Afterward one can choose — not simply accept — the phrases that will best cover the meaning, and then switch round and decide what impressions one’s words are likely to make on another person.

To apply the quote above to software development, replace “words” with “code” and “dialect” with “programming language.” When you become accustomed to using a particular language or coding pattern, you tend to think of any new problem in those terms. If you choose the wrong strategy for solving the problem and start implementing too quickly you may end up with a solution that is too “wordy” or that does not express the abstractions accurately.

Earlier today, before I read the essay, I put this very lesson into practice without even realizing exactly why I like to do it. Whenever I come up with an idea for a new feature that I need to implement, or whenever I need to make a radical change to some system I’m working on, I’ll get up and walk away from the PC before the idea forms too fully and I start to write code. I’ll go for a walk or do some mindless activity (today it was sweeping the driveway) while I think about the idea. I’ll consider different implementations to see what problems might arise before I commit to a solution. Though I’ve never thought of it this way, it’s the same sort of process that Orwell describes in the quote above. Now that I’ve read Orwell’s precise definition of why this is good for writing prose, I better understand why it’s also effective for writing code.

Software development is hard. The job of a software developer is to turn an abstract idea into a concrete implementation in an efficient manner. Until you fully understand the abstractions, it’s impossible to consider any concrete implementation, let alone one that is efficient. I find that I write better code once I’ve thought enough about a problem to create a sort of landscape in my mind. It really is a landscape, too. It’s almost as if I can walk though the implementation in my mind and explore its darker corners. If I can find a way to build a mental model with fewer dark corners and dead-end hallways, then the concrete implementation will usually be more solid.

As you try to become a better developer, look for lessons from other fields like writing, architecture, the building trades, or any craft or profession that has been around for a long time. You’ll find that many problems that look like they’re peculiar to software development were actually considered and solved in other trades hundreds or even thousands of years ago.

Share

You Might Be an Old Hacker If…

It occurred to me recently that I’ve been using the Internet for almost 18 years now. That doesn’t put me into any particularly elite category since there were a lot of users way before I came along, but it does make me feel old to know that there are students in college now who were born after I started using the Internet.

Are you an old hacker like me? You might be if you…

  • …Remember when the word “hacker” just meant someone who tinkered with machinery or technology.
  • …Had an e-mail address that didn’t have to have numbers in it to make it unique.
  • …First accessed the Internet through a Unix shell.
  • …Ran your own SMTP server.
  • …Remember when the web was not the same as “the Internet.”
  • …Used gopher.
  • Still use gopher.
  • …Were glad that your Netcom address didn’t have an “ix.” in it.
  • …Wrote your first web site with Notepad (or vi).
  • …Wrote your first web app with CGI.
  • …Wrote your first “web app” before that term existed.
  • …Ever said to yourself, “Make money giving stuff away? That’s stupid.”
  • …Started an Internet business, decided it was a silly idea, and then watched someone become a billionaire with the same idea. (Hi, Craigslist.)
  • …Remember the first time you used NCSA Mosaic.
  • …Kept waiting for Netscape 4.0 to just die, already.
  • …Wrote Java applets when applets were the hot new thing.
  • …Wrote an HTTP server from scratch.
  • …Wrote a DOS shareware utility.
  • …Have IRC logs older than most of your shirts.
  • …Ran an FTP server on your office PC as a nifty way to access your files from home… and nobody cared!
  • …Owned a .com domain name that began with a commonly used word.
  • …Ran Linux prior to version 1.0.
  • …Browsed a web site with telnet.
  • …Lost your job in the dot-bomb.

That last one is particularly poignant. For me, 2001 was when the Internet, and by extension the web, ceased being some kind of new frontier. Maturity of a technology isn’t measured by people making a lot of money off of it, but rather by people losing a lot of money off of it. It was kind of hard knowing that I was out-of-work in a town (Seattle) where a barista at Starbucks probably had a better technology résumé than I did… and a job!

Just last week I became the last geek in the world to get a real smartphone (BlackBerries don’t count). As I marvel at all that I’m able to do with a remarkably inexpensive piece of equipment that can fit in my pocket, for which I’ve only spent a grand total of $2.99 in third-party software, I’m really glad that I’m an old hacker who got to watch this amazing world grow up right in front of me. You young kids don’t know how easy you have it.

(I’m sure there are a lot of you out there that were hacking in and around the ‘net way before I was. Let’s hear those war stories!)

Share

Comments on Accelerated C++ Solutions

I can’t begin to express how delighted I am at all of the wonderful comments, suggestions, and corrections that have been coming in on the Accelerated C++ Solutions. I would be updating the pages and replying to the comments more, but I’m horribly swamped at my day job right now and I barely have time to do anything but camp out at the office.

Please, keep the comments coming, and I’ll do my best to give them the attention they deserve in a few weeks! Thank you all so much!

Share

Google+ Is Pretty Nice

I finally got on Google+, and so far it’s pretty nice. I’ve got a bunch of invites, and after I let my friends and family get a chance at claiming them I’ll post a link here for the rest of you to use, if you’re interested in trying it out. If you’re already on Google+ you can find me here.

Lately I’ve been getting more and more frustrated with Facebook and its shortcomings. While Google has a tall mountain to climb to catch up with Facebook, I think they’ve got a pretty good start.

Share

About the Bizarre Search Results

If you happen to search Google for parkscomputing.com you’ll likely get some hits for strange, spam-sounding articles. These are the result of a wiki hack that went on for some time without my knowledge. I had a C++ wiki site for a while, but somehow it got hacked by spammers. Now there are several choice keywords that have my name and site attached to them.

I don’t know how long it will take for Google to get around to removing those links, or if they’ll ever go away.

Share

Olympic Note Passing

A good analogy can often be useful to explain intricate technical details. In an earlier article, “Wrong Fish Food”, I related an analogy that I used to describe a technical issue to a non-technical audience. This article shares an analogy I created for a technical audience, because sometimes even techies need an analogy to grasp an unfamiliar technology.

Continue reading ‘Olympic Note Passing’ »

Share

COMPUTE! Magazine Archives!

I love the Internet! I just found an archive of COMPUTE! magazine, which is the magazine that taught me how to program in the 1980′s. Just recently I was lamenting not keeping every single issue I ever had (which was most of them), but now I can flip back through them any time. Looking through the site really brought back some memories of when I first started messing with computers, around 1983 or so.

I would run straight from the mailbox to my TI-99/4A (later, it was a Commodore 64) when a new issue of COMPUTE! arrived. Each issue had several program listings that readers could type in and run, usually in BASIC. The really good games and utilities were in assembly language, but these weren’t published as assembly listings. They were page after page of BASIC code consisting almost entirely of DATA statements full of numbers that would get POKEd into memory by a FOR loop.

10 DATA -343, 162, 5, 189, 181, 224, 149, 194, 202, 16, 248, 169, 239, 133, 210, 96
11 DATA 173, -343, 133, 134, 173, -342, 133, 135, 169, 255, 133, 124, 160, 0, 162
12 DATA 3, 134, 125, 162, 3, 32, -272, 208, 249, 202, 208, 248, 32, -272, 32, -272
13 DATA 76, 106, 197, 162, 5, 189, -6, 149, 194, 202, 16, 248, 169, 242, 133, 210, 96
14 DATA 230, 124, 208, 2, 230, 125, 177, 124, 96, 230, 201, 208, 2, 230, 202, 96, 32
15 DATA 197, 0, 8, 72, 133, 79, 138, 72, 152, 72, 166, 137, 165, 136, 197, 77, 208, 4
16 DATA 228, 78, 240, 107, 133, 77, 133, 82, 134, 78, 134, 83, 173, 4, 2, 208, 14, 169
17 DATA 3, 133, 74, 202, 208, 253, 136, 208, 250, 198, 74, 16, 246, 32, -54, 169, 160
18 DATA 160, 80, 153, 255, 127, 136, 208, 250, 132, 76, 132, 84, 132, 85, 132, 86, 120
19 DATA 248, 160, 15, 6, 82, 38, 83, 162, 253, 181, 87, 117, 87, 149, 87, 232, 48, 247
20 DATA 136, 16, 238, 216, 88, 162, 2, 169, 48, 133, 89, 134, 88, 181, 84, 72, 74, 74
21 DATA 74, 74, 32, -44, 104, 44, 15, 32, -44, 166, 88, 202, 16, 233, 32, -38, 32, -38
22 DATA 165, 75, 197, 201, 240, 55, 165, 79, 208, 4, 133, 77, 240, 47, 16, 42, 201, 255
23 DATA 208, 8, 169, 94, 32, -30, 24, 144, 33, 41, 127, 170, 160, 0, 185, 145, 192, 48
24 DATA 3, 200, 208, 248, 200, 202, 16, 244, 185, 145, 192, 48, 6, 32, -32, 200, 208
25 DATA 245, 41, 127, 32, -32, 165, 201, 133, 75, 104, 168, 104, 170, 104, 40, 96, 168
26 DATA 173, 64, 232, 41, 32, 208, 249, 152, 96, 9, 48, 197, 89, 208, 4, 169, 32, 208
27 DATA 2, 198, 89, 41, 63, 9, 128, 132, 81, 32, -54, 164, 76, 153, 0, 128, 192, 79, 208
28 DATA 2, 160, 7, 200, 132, 76, 164, 81, 96, 76, -256, 32, -263

I’d sit and type page after page after page of that, and if I did it right, I could play a game until it was time to turn off the computer and do homework. Then, if I wanted to play it again, I’d type all of that in again, until I finally put a cassette recorder on layaway at Sears so I could store the programs.

The cassette recorder was pretty entertaining, too. There was a counter that could be used to keep track of where each program was on the cassette. I kept a sheet of paper next to the computer filled with tape labels and counter positions so I could find all my programs when I needed them. The TI recorder would actually play the bits as audio while the program loaded, and after that I could pop in a music cassette and play it through the TV speakers. That was way before Winamp.

Yes, I said “TV.” I didn’t have a computer monitor until a few years later. My gracious parents, who I suppose had decided that I might eventually make a living with computers and move out, would let me monopolize the TV for hours at a time while I drew silly pictures on the screen with my computer. I would sketch, for example, the USS Enterprise on graph paper, split the graph grid into 8×8 squares, convert each row of each 8×8 grid into a hex number, then type those hex numbers into a BASIC program that would draw the picture.

Mind you, this was the family TV, back before there were TVs in every room. It sat on a low table in the living room, and I would perch on an ottoman in front of it while I exercised my low-resolution artistic talents. I guess I wore the TV out, because the red component of the picture would flake out after a while, leaving a greenish-blue tint.

Ah, the good ol’ days. I don’t miss them at all.

That counter was my best friend.

Share

I have a wide screen. Let me use it.

Dear web-design people,

Please don’t design sites that look like this:

Waste of space!

Waste of space!

Rather, please design sites that look like this:

This uses space more effectively.

This uses space more effectively.

I’m not knocking Herb Sutter, here. I’m pretty sure he’s just using a stock template, but templates that don’t flow to fit the browser width really puzzle me. Is there a good reason for them that I’m just not aware of?

Share