David Welton: Languages: worst case vs average
This is a pretty good take on Tim Bray vs Erlang. However, I'd like to focus on something said at the end:
The fact is, all languages optimize for particular problem domains and I don't think that a universal programming language exists that would perform well on all tasks. Bray rapidly found out that Erlang isn't optimized for doing line-oriented I/O and it's regex library sucks. So what? While those problems could be eliminated from Erlang, the fact that Ericsson has deployed large telecom gear without having to fix those issues means that Erlang is ideally suited to its original programming domain.The problem is that learning new languages is difficult for many people. They're not going to bother starting from 0 with a new language if what they've got is only 10/20% worse than the other guys. For companies, developing expertise (and trying to maintain it) in lots of languages is probably less productive than picking a few (Google only has four: Java, Python, Javascript and C++, and they're not exactly lacking in brainpower or cash). This is why "the right tool for the right job" works for things like saws and hammers, but not for complicated, idiomatic things like programming languages. Therefore, it's important that languages that aim to be widely used do lots of things pretty well, and try to avoid doing anything really badly. This is something I've always admired about Python, even if I don't use it anymore. It's a language that you can do a very wide variety of tasks with, and you can be sure there's probably some code out there already, and that Python will be ok for your task, even if it's not the best thing. Performance is a weak point compared to compiled languages, but even there, get the libraries right and things aren't *so* bad. In any case, my point isn't to bash Erlang (which I like), or put Python on a pillar (I prefer Ruby and Tcl), but to say that a widely used programming language doesn't need to be the best at everything, but it should aim to make people comfortable using it, safe in the knowledge that they can probably do most things *ok* if needs be. That's a far better situation than being able to do one thing realy well, and perform poorly at many other tasks, forcing its users to look elsewhere for solutions to those tasks. Personally, I think that for concurrency, Erlang is in a bit of a race right now - they're pretty far ahead in terms of concurrency (and also fault tolerance, but fewer people care about that), but behind in other areas (less library code). Other languages don't have as good a tools for concurrency, which isn't an easy problem. So, what will happen first - Erlang catches up elsewhere, other languages get "good enough" concurrency solutions, or a new language (like Scala) comes along and takes the lead?
OK, changes in dpkg-dev 1.14.7 have forced my hand a little and
So the new NAS is happily running Debian now, and I'll write a long blog
for anyone who wants to do the same once I have one remaining problem
sorted out... Avahi doesn't work. If I start Avahi on the NAS other
machines see the announcement and the names it provides will resolve, but
after a few minutes they fail to resolve as they timeout. Unless my
router is incredibly brain-dead it can't be the cause, because the old NAS
is connected in exactly the same way and it works fine. For extra fun,
the NAS can't see the rest of the mDNS network. It's almost like the
network driver is dropping incoming multicast packets.
Before anyone asks, there is no firewall running on the NAS. Does anyone
have any ideas?
NP: Remembranza, Murcof
Somewhat unbelievably (to me at least) there is still wireless in my mother’s backyard and it has only gotten better and stronger. But let’s face it, writing in garden lounge chairs among the frogs, birds, sun, rain and wind are sub-optimum for thinking and writing, so I am always looking for good and, most especially, gratis wireless.
I was pretty psyched to find a new cafe,
The C standards committee is apparently preparing to revise the C standard. The
The following companies, or people, are using
Sarah had been complaining that MythTV hadn't recorded an episode of The
Simpsons in months. It was indeed strange, as you could see that it was
going to record episodes if you looked at the upcoming recordings.
The other night we happened to be watching some recorded TV around the time
an episode was scheduled to be recorded, and sure enough, it started
recording one.
When we finished watching what we were watching, the episode had vanished. I
didn't think I'd seen anything relevant to auto-expiry in the logs for the
backend.
A few days later, another episode was recorded. We even watched it. It
disappeared afterwards.
I was sufficiently curious at this point as to what was going on. It turned
out that way back in the distant past when I set up MythTV, I misunderstood
what "recording groups" were. When I set up recordings of throw-away things
like the news, I created a recording group called "Short retention", assuming
I could go somewhere else and make stuff in that group get expired quicker
than stuff in the "Default" recording group.
(Incidentally, I only in the last few months discovered the veritable
cornucopia of things that you can do from the recordings listing screen when
you press the Menu/M button on the remote/keyboard. The recording groups now
make much more sense)
I think there's the word "storage" somewhere in the user-interface around
this area, which may have been what confused me. Turns out that I never
went and tried to set this mythical expiry policy up, because that's not how
auto-expiry works. The choices (as of 0.20) are "Oldest show first", "Lowest
priority first" and some sort of weighted combination of the two.
It turns out that I had it configured for "Lowest priority first", and
The Simpsons had the lowest priority of all TV shows, so that it'd
always lose out in the event of any scheduling conflicts.
The SAN's perpetually full, so it's always auto-expiring stuff, and The
Simpsons are what get expired first by this policy. Kinda funny really.
So I switched the policy around to the weight combination of priority and
age, and now it's going to auto-expire recordings from a year ago. Hooray.
Googling around using the
* One of the best ever event 

I'm pretty sure someone in one of
my syndicators was looking for software
to send emails in the future from anywhere,
but I'm damned if I can find the message.
At the time, I was using a homebrew system
involving shell scripts and mailx, so
I wasn't much help.
I'll upload a proper release soon, but
I'm happy to upload a second hack of