Monthly Archives: July 2010

Adventures in Haskell – Error handling

I fell in love with Haskell almost the day I started using it.  It’s not perfect, though, and one of its weaker areas is error/exception handling.  I’m not going to cover all ways to return errors.  For more details, see 8 ways to report errors in Haskell. Haskell has an Exception class in the Control.Exception […]

Pics of the Vertical Motion Simulator (flight simulator) at NASA Ames Research Center

I got to go on a tour of the facilities at the Vertical Motion Simulator (flight simulator) at the NASA Ames Research Center.  While we were there, a pilot was training in a simulation of a tiltrotor, one that resembles a 737 but can takeoff vertically. We also had a view into the control room […]

You can’t parse HTML with regex

The top voted answer for this question on StackOverflow is epic: You can’t parse [X]HTML with regex. Because HTML can’t be parsed by regex. Regex is not a tool that can be used to correctly parse HTML. As I have answered in HTML-and-regex questions here so many times before, the use of regex will not […]