Archive for category: Programming Languages
August 7, 2012 | Programming Languages, Rants and Raves | By: Mark VandeWettering
About once a year, I get the urge to push my programming skills and knowledge in a new direction. Some years, this results in some new (usually small) raytracers. Sometimes, it results in a program that plays a moderately good game of checkers. Other years, it results in code that predicts the orbits of satellites. [...]
10 comments
April 6, 2012 | Computer Games, Operating Systems, Programming Languages | By: Mark VandeWettering
A few days ago, I mentioned that @notch, the creator of Minecraft, had a new idea for a space game that he was beginning to work on. One of the features of this game is that your spaceship would be controlled by a simulated computer that you could program. He released a preliminary specification for [...]
No comments
December 23, 2011 | Arduino, Computer Science, Programming Languages | By: Mark VandeWettering
Edsger Dijkstra, Dutch computer scientist and winner of the 1972 Turing Award wrote: It is practically impossible to teach good programming to students that have had a prior exposure to BASIC: as potential programmers they are mentally mutilated beyond hope of regeneration. While I have respect for his great contributions to the field, in my [...]
No comments
August 2, 2011 | Programming Languages | By: Mark VandeWettering
I was shown some truly horrifying code that reported to decode a quadrature shaft encoder. It was just mind bogglingly stupifying that someone would go to that much work to write something so utterly horrible. Here’s the way that I think of them. A quadrature shaft encoder looks like a 2-bit Gray code counter. Instead [...]
No comments
July 11, 2011 | Programming Languages, Rants and Raves | By: Mark VandeWettering
I was reading that Stanford has begun teaching their introductory computer science course CS101 with Javascript. Despite a lot of the propaganda surrounding the web and a pretty good book on the good parts of Javascript, I can help but think that Javascript has some really tragic flaws. Dijkstra famously referred to PL/1 as “the [...]
1 comment
April 26, 2011 | Books I Read, Games and Diversions, Programming Languages | By: Mark VandeWettering
I learned to program as a teenager back in the 1980s, starting as most of a generation of future computer professionals did. I had an Atari 400 at home, and learned to program using the most popular language of the day: BASIC. There were lots of magazines like COMPUTE! and Creative Computing that included program [...]
4 comments
October 17, 2010 | Programming Languages, Python | By: Mark VandeWettering
I’m away from my better half this weekend, visiting my Mom and brother. I scheduled this a few weeks ago, but shortly after Carmen was granted an entry into the Nike Women’s Half Marathon on the same weekend. Rescheduling the visit with Mom would have been hard, so I decided to go anyway, and missed [...]
3 comments
October 6, 2010 | Computer Graphics, Programming Languages, Stupidity | By: Mark VandeWettering
While hacking a small program today, I encountered something that I hadn’t seen in a while, so I thought I’d blog it: My random number generator failed me! I was implementing a little test program to generate some random terrain. The idea was pretty simple: initialize a square array to be all zero height. Set [...]
2 comments
September 22, 2010 | Games and Diversions, My Projects, Programming Languages | By: Mark VandeWettering
As I have mentioned before, I sometimes find it convenient to write raw PostScript. I’ve used it to generate business cards, to make templates for laying out parts for radios and telescopees, and generating score cards and labels. Today, I had an idea for creating a large poster to hang in my office. It turns [...]
No comments
July 27, 2010 | Cryptography, Programming Languages | By: Mark VandeWettering
I was testing some code that I wrote for analyzing cryptograms, and decided that the easiest way to do so would be to get some random text, drawn from the letters A-Z. A moments thought yielded this method, without even programming anything: tr -d -c A-Z < /dev/urandom | dd ibs=10000 count=1 The tr generates [...]
15 comments
April 21, 2010 | Computer Science, Programming Languages | By: Mark VandeWettering
Yesterday I was in our Atrium, and Craig had his iPad with him. I got into a discussion with him and Loren about why I thought the device was very cool. (I also told them why I had been actively discouraged from becoming an iPhone developer earlier, but that’s a story for a different time.) [...]
1 comment
June 10, 2009 | Computer Science, Programming Languages | By: Mark VandeWettering
I learned that computer scientist Peter Landin passed away recently. Landin’s research helped refine the direction of my college studies, and was always a great pleasure to read. His derivation and explanation of the SECD machine served as the basis for a more mature and clear understanding of many aspects of programming languages and their [...]
No comments
October 15, 2007 | Programming Languages | By: Mark VandeWettering
In a break with my recent focus on radio related topics, I return to another topic that I’ve enjoyed before. The 2007 Haskell Workshop has made videos of many of their talks available. Some of it looks pretty nifty. Enjoy! Haskell Workshop 2007 – List of Accepted Papers
No comments
September 29, 2007 | Programming Languages | By: Mark VandeWettering
Pascal is one of my least favorite languages, but reading about how compilers work and examining real code of the (actually fairly simple) system works is fun. Check out: Pascal Implementation Included here is the Pascal source of a public-domain Pascal compiler and interpreter, the P4 compiler and interpreter. It is coded entirely in Pascal, [...]
1 comment
Recent Comments