dstelow notes…

Just another Wordpress.com weblog

links for 2009-12-15

leave a comment »

  • Turn a modest all-in-one PC into a digital entertainment center complete with HDTV, DVR, Blu-ray, wireless high-quality audio and more for under $1,000.
  • Lisp programmers have long used macros to extend their language. Indeed, their success has inspired
    macro notations for a variety of other languages, such as C and Java. There is, however, a paucity of
    effective pedagogic examples of macro use. This paper presents a short, non-trivial example that implements
    a construct not already found in mainstream languages. Furthermore, it motivates the need
    for tail-calls, as opposed to mere tail-recursion, and illustrates how support for tail-call optimization
    is crucial to support a natural style of macro-based language extension.
  • This is fairly innocuous in C#, as extension methods only allow you to add new functionality to classes, not override, remove, or replace anything.
    But imagine if you could.
    Well, that's exactly how it is in other, more dynamic languages such as Javascript, Python, Perl, and Ruby. Something as prosaic as C# extensions is old hat to these folks. In those languages, you could redefine everything in the String class if you wanted to. This is commonly known in dynamic language circles as monkeypatching.

Written by dstelow

December 15, 2009 at 11:03 pm

Posted in 1

links for 2009-12-14

leave a comment »

Written by dstelow

December 14, 2009 at 11:02 pm

Posted in 1

links for 2009-12-13

leave a comment »

Written by dstelow

December 13, 2009 at 11:02 pm

Posted in 1

links for 2009-12-12

leave a comment »

Written by dstelow

December 12, 2009 at 11:01 pm

Posted in 1

links for 2009-12-11

leave a comment »

Written by dstelow

December 11, 2009 at 11:02 pm

Posted in 1

links for 2009-12-10

leave a comment »

Written by dstelow

December 10, 2009 at 11:01 pm

Posted in 1

links for 2009-12-09

leave a comment »

  • @TNO: These new language features are currently not supported/versioned by hosts other than Internet Explorer. Hosts other than IE such as WSH/ASP will automatically use the latest vesrion of JScript installed on the machine. However, the language feature support is equivalent to that of JScript v5.7.
    If the feature you are looking at is JSON support, you can use the JSON imlementation from www.JSON.org as a workaround.
  • Celestia is a 3-D astronomy program created by Chris Laurel. The program is based on the Hipparcos Catalogue (HIP) and allows users to travel through an extensive universe, modeled after reality, at any speed, in any direction and at any time in history. Celestia displays and interacts with objects ranging in scale from artificial satellites to entire galaxies in three dimensions using OpenGL, from perspectives which would not be possible from a classic planetarium or other ground based display.

Written by dstelow

December 9, 2009 at 11:02 pm

Posted in 1

links for 2009-12-02

leave a comment »

Written by dstelow

December 2, 2009 at 11:02 pm

Posted in 1

links for 2009-12-01

leave a comment »

Written by dstelow

December 1, 2009 at 11:03 pm

Posted in 1

links for 2009-11-30

leave a comment »

  • one abs exercise: the crunch. This classic move is excellent for increasing the size of your midsection muscles, but it comes with an inherent drawback: To do it, you must round your lower back.

Written by dstelow

November 30, 2009 at 11:05 pm

Posted in 1