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 […]
Monthly Archives: July 2010
Pics of the Vertical Motion Simulator (flight simulator) at NASA Ames Research Center
Posted July 14, 2010 – 5:15 pmI 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
Posted July 5, 2010 – 12:36 pmThe 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 […]