programming

Best comment ever

Submitted by reeses on Wed, 2006-09-13 14:04. | | | |

Challenge by Moss on September 13, 4:25

It's interesting--I've thought for a while that it would be cool for Ruby to steal some of Lisp's more advanced features. Ruby has a way of taking esoteric computer science techniques and making them deliciously readable and easy to use, so I'd love to see a Rubyish implementation of, say, macros. But I never could have guessed that we'd come so far so quickly in implementing the most important Lisp feature of all: violently defensive community resistance to even the mildest criticism! Now that's innovation!

Subversion is the top of all stupid

Submitted by reeses on Thu, 2006-05-25 17:38. | |

I thought my solution to the problem of was sufficiently insipid, brittle, inane, and absurd to be unique.

Oh, how I was wrong. It is precisely the prescribed solution according to the Subversion FAQ. That does vindicate me, though, in asserting that my solution was moronic, at least. If the manual, source code, or FAQ agrees, then it must be stupid and wrong.

I have given up at this point. I'm going to convert a raft of scripts into a single application (similar to svk) that just uses Subversion as a storage and data access layer, kind of like MySQL using BDB. I'm entirely too tempted to call it "Perversion", but that's low-hanging fruit.

Subversion Hax0ry

Submitted by reeses on Mon, 2006-05-22 20:43. | |

Sometimes it's good to think twice, but those who know me know I just consider that a waste of time. Measure once, cut thirty times, that's my motto.

I was pondering the I was having last week, and realized that I could solve the problem with some disgusting and brittle hackery.

According to the doco, Subversion repository copies are very inexpensive, basically being copy-on-write links, like those short-lived CD-based overlay filesystems.1 Tags, therefore, were especially lightweight, with an O(n) disk footprint based on the number of files in the "tag". Remember, these aren't tags, but rather, someone's answer to "How would we implement tags if we only had a filesystem?" It's the equivalent of a symbolic link farm, but more efficient.

Subversion double unhappiness

Submitted by reeses on Thu, 2006-05-18 16:53. | |

I have finally come to the conclusion that is evil, and a general step backwards in software configuration management.

I had the same opinion prior to using it, but now, after a week of dorking with it, I can say it has lived up to its goal of being a better cvs than cvs. That can be compared to a goal of being a better Titanic than the Titanic.

I am very branch happy, and this is where I started itching with Subversion before I even dug into the manual. cvs is not renowned for being friendly with people who like branches, and I've spent a lot of time faking branches with tags in cvs.

WHY MONO IS NOT YET READY FOR MY BALLS

Submitted by reeses on Thu, 2005-12-01 14:55. | | | |
I've been working with lately, first with JScript .NET, and now with C#. I'm writing a simple, simple application that does some stuff, and can run either on the command line, or via some Windows scheduling mechanism. I.e., either as a service or using Windows Scheduler.

There's this great property called System.Environment.UserInteractive in .NET that tells you if the application was executed interactively. This is a great opportunity to decide where to dump the output of your application. If it's true, spew to System.Console. If it's false, write to a file or, in the case of Windows, to the beautiful, beautiful Event Log, available via System.Diagnostics.EventLog, even -- no work necessary!

Snork

Submitted by reeses on Mon, 2004-09-06 11:47. | |

I think I was talking about this sort of thing before.

What you say is what other people say

Submitted by reeses on Sat, 2004-08-21 11:46. | |

http://www.astrogoth.com/~reeses/media/kittygrooming.jpg

This paper is killing me. Well, not this paper itself, although it's rather suspect. The thing that is killing me is the inane commentary regarding the paper.

"one, two, many," of course reminded me of Pratchett. Maybe if we freeze them, they'll start doing higher math.

Best Email To A Mailing List Ever, Or At Least This Week

Submitted by reeses on Tue, 2004-08-17 11:56. | |

  Date: Mon, 16 Aug 2004 18:02:13 +0200
  From: Firstname Lastname <blah@example.com>
  To: mozart-users@ps.uni-sb.de
  Subject: new to programming

  Hi

  I am new to programming.
  I want to learn oz. So how do I best begin, I have no programming experience.

  Thanks in advance

  Firstname Lastname

What I want to know, how did someone with no programming experience

  1. find the Oz list, and
  2. decide that "the Oz language, which supports declarative programming, object-oriented programming, constraint programming, and concurrency as part of a coherent whole," was the first language they should learn?

Your programming language sucks

Submitted by reeses on Thu, 2004-07-08 12:07. | |

http://www.astrogoth.com/~reeses/media/ruschalisp.jpg

(lisp)

I read an article about autoboxing surprises in Java 1.5/5/V/quinquies/five-o a week or two ago (that link is a repeat that came up when I googled), and noticed a few links back to the conversation in lambda or whatever.

Metamucil extensions

Submitted by reeses on Tue, 2004-06-15 12:23. | |

I read the following from the regexp2 module for ACL.

  • The new matcher uses Perl syntax, and is nearly feature compatible with Perl. Only a few obscure features have not been implemented.
  • Speed: the new matcher was designed to be fast. On the CL-PPCRE test suite (with 1600+ tests) it is on average 30% faster than Perl.

Of course, the smartarse in me immediately responds,"What, the useful few obscure features?" I think every regexp feature in Perl can be called "obscure" by some party.