Bug of the day: JavaScript

Today’s bug comes to us courtesy of the JavaScript parser. I wrote a report for work a while back that churned out a report and used jQuery to insert a summary at the top. Like this: print report title (save a space for the summary) print the report insert a summary into the space above….

Text wrapping in vim- yippee!

A quick nerd moment:  VIM (Vi IMproved) –a lot of people who write software use this text editor to write code– has automatic new line breaks when your line hits a certain length!  You can set this in your VIMRC file (preferences file) using set textwidth=(put the number of characters you want on a line…

An attempted debugging

Occasionally, I have a day where things go (reasonably) well coding wise, until the very end of the day. I was in the middle of an appointment yesterday, when my phone started blowing up.  Calls, emails, text messages all about the same thing:  one of the changes I made to some code during the afternoon…

Poorly named functions, part 1

As I’ve started learning python, one thing I appreciate is the reasonable naming of functions.  One name that has *never* made sense to me in PHP is “explode.”  You couldn’t tell it from its name, but this is not a function that blows up your scripts.  Rather, it breaks apart a string on a certain…

My “How I became a software engineer” story

A week or so ago I read a blog post about how engineers tend to have trouble finding the “right” job for them.  This led me to think about how I got into writing code in the first place. My “how I became a software engineer” story:  I grew up on the East Coast, where…

Surfing Linda Mar and practicing some algorithms

Today I headed out to Linda Mar beach for a surf session with some of the other Ladies Who Surf.  We all caught a couple good waves, but after a summer of small waves and wind swells, the waves seemed huge!  The tide was rising, so there was a lot of water behind those waves…