Older blog entries for redi (starting at number 214)

I wish people wouldn't say something "throws" an error when exceptions are not involved. Shell scripts do not "throw" errors when they print out an error message, and neither do compilers when they reject your invalid code and print a diagnostic.

I'm at home with a cold so I've tackled a long-standing item on my TODO list and released PStreams 0.7.0, incorporating the spec file and a patch from the Fedora package. It's probably too late to make it into Fedora 13, but at some point the fedora package will be able to drop their patch and use my upstream version unaltered. Debian still uses an older release and I think I incorporated the diffs from their libpstreams-dev package a while ago. What's next?

wainstead, that egrep '^M' | awk '{ print $2 }' is poor grammar, it should be awk '/^M/{ print $2 }'

I would probably replace that loop with:

svn stat | awk '/^M/{ print "svn cat", $2, " | sdiff -w220 -", $2 }' | sh

cdfrey, GNU and BSD provide the non-standard timegm call as the inverse of gmtime.
lkcl, if I lived a few miles in the right direction I would vote for you, stick it to 'em

The C++ FCD (final committee draft) has been published for review by national bodies and member organisations. Once ballot comments have been received and dealt with there will be an FDIS (final draft international standard) and then a new standard. We're getting there, slowly.

GCC 4.5 has been released, and though certainly not a complete implementation, GCC 4.5 is pretty close to the FCD. As with GCC 4.4 last year, the new release happened while I was at the ACCU conference, where my Abusive C++ talk went very well. As I enjoyed it so much I'm keen to speak again next year, if I can think of a good topic.

I recently noticed that /usr/share/dict/words on Fedora is chock-full of gibberish, making it useless for most of the useless things I used to use it for (e.g. finding palindromes and words with 5 consecutive consonsants.) Even on RHEL it's got crap like 'dubitative'

apenwarr makes some very good points:

Java and Flash are the opposite of awesomeness. Thus, Apple rejects them outright.
As Homer wisely said, it's funny because it's true.
Microsoft won on the desktop by being developer-friendly and Apple won in mobile by being developer-hostile. Developers never had anything to do with it.
Also true. I think MS only told devs that devs were important, noone else cared. I don't see those unbearable Windows 7 adverts ("I told them to make it blow fewer donkeys, now it blows fewer donkeys") mentioning developers.
8 Apr 2010 (updated 9 Apr 2010 at 08:31 UTC) »
lkcl, yes, yes, and yes.

I'd take two, maybe more.

[Edit: just to be clear, the extras would be for family, not just to have several!]

When you have a survey site up please say so here on advogato.

Until then, what I want is:

  • GNU/Linux, obviously.
  • Portable. I have an eee 701, which is inferior in nearly every way to the later eee models, except its form factor. The size is more important to me than the later models' faster CPU (I've already upgraded the RAM it came with)
  • Good battery life. It sounds like this wouldn't be a problem with an ARM-based system. It is a problem with my eee 701

That's it for must-have requirements. I wish the screen on my 701 was larger, there's plenty of room for a bigger screen, but I assume the small screen was used on the first model to save costs and I can live with it. The 701 keyboard and touchpad are shite, but I can live with them because it's very portable and runs Fedora without problems.

I don't care about onboard wifi, I rarely use it on my 701, I use a USB broadband dongle and ethernet far more often

What louie describes sounds a bit like how the diary rating system affects advogato's recentlog. I would like to see it on mailing lists though.

14 Mar 2010 (updated 15 Mar 2010 at 10:07 UTC) »

I thought I'd already mentioned this here, but apparently not. I'll be going to the ACCU conference in April, as I do every year, but this year I'll be speaking for the first time. Richard Harris and I will be presenting Abusive C++ in the last session on Saturday:

Time and time again we programmers have discovered that the clever tricks of yesterday are the maintenance nightmares of tomorrow, and yet still we are drawn, moth-like, to the leet.

In this session we shall describe a selection of our own clever C++ tricks, some of which we have learned to avoid, some of which have yet to burn us and some of which we have yet to use...

ncm, yes, I probably should have looked at the code to see if the longer version does actually offer any advantage to the users.

205 older entries...

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!