![]() | Ned Batchelder : Blog | Code | Text | Site October 2005 » Home : Blog |
« September 2005 | » Main « | November 2005 » The Final Days of AT&TMonday 31 October 2005 SBC is buying AT&T, renaming itself AT&T, and creating a new logo while it's at it. This has got the design community in an uproar. Design Observer has a thoughtful piece on the history of the AT&T graphic identity: The Final Days of AT&T. The comments are a long mudfight over the need for graphic design historical preservation, the absurdity of same, who designed what, and so on. It's juicy, in a narrow sort of way. Thread patternsSunday 30 October 2005 Joey Hess explains how to subscribe to mailing lists with a combined total posts of 2000 or more per day, and live. It's all about pattern recognition.
tagged:
online
/
via:
crummy.com» 1 reaction Halloween pumpkinsSunday 30 October 2005 2005's pumpkins: On the left: A Cyan Worlds logo pumpkin by my Myst-obsessed teenager. On the right: A pair of pumpkins designed by my first-grader. The first is mad at the second, who is trying not to get into trouble. And tonight we have a spooky hand cake for dessert. Ghost diagramsSunday 30 October 2005 I don't understand anything about Paul Harrison's Ghost Diagrams, except that the pictures sure are purty, and it has something to do with tiling. In fact, I don't think I undestand any of Paul's blog, except that it involves many things I am interested in, including math, autism, and math and autism. Dense, but fascinating. BTW: It is nothing more than coincidence that this is the day before Halloween and this entry has the word Ghost in it. Google AdWords: evil?Saturday 29 October 2005 To help promote Susan's book, I signed up for Google AdWords. I thought it was a great program at first. Then Google pissed me off. » read the whole sad tale... (17 paragraphs) The whole thing has put a bad taste in my mouth. If I had to guess, I'd say that I fell victim to an over-zealous anti-spam or anti-fraud heuristic. But shouldn't I be able to get someone's attention? I'm starting to think that Google is getting too big too fast, that their growth has outstripped their ability to attend to their motto: "Don't be evil". Update Nov 13: the account has been reactivated.
tagged:
google,
me» 9 reactions GridgameThursday 27 October 2005 gridgame is an abstract Flash game. Click on a circle, it turns a quarter turn. If its markings connect with a neighbors, then the neighbor turns. Chain reactions ensue. From the random board, it is difficult to predict what will happen. Sometimes what looks like a fruitful vein of energy sputters out after a short time. Actions taken as a mindless afterthought can create extended chains of unexpected consequences. It reminds me of life...
tagged:
games
/
via:
memepool» 13 reactions Susan's blogWednesday 26 October 2005 I mentioned it obliquely last week, but it deserves a real announcement. My wife Susan finally has a blog: Susan Senator's blog. She writes a lot better than I do, and on topics that matter a lot more than mine.
tagged:
autism,
blogs,
susan» 2 reactions Here are more facilities for helping with unit testing in Python:
Together with unittest, doctest and py.test which I wrote about a year ago, this brings the total to at least six. One common thread among the three new entries is that they aim to be as useful as py.test, but based on the standard unittest module. It's an interesting dynamic, since py.test claims to be more Pythonic than the standard module. As usual, I find that I barely have time to use any of these modules, much less evaluate all the options.
tagged:
python,
testing
/
via:
Daily Python-URL» 2 reactions We share your painFriday 21 October 2005 I'm all for error reporting being as useful and informative as possible. Bob shared this video about the Microsoft WE-SYP initiative, which might be taking it a little too far. BTW: I love the professor's name!
tagged:
funny,
geeky» 1 reaction Parrot post-mortemThursday 20 October 2005 I haven't followed the progress of the Parrot at all, though I know vaguely what is: a multi-language VM. Dan Sugalski was the architect of it, but has left. His Parrot Post-Mortem is a fascinatingly honest account of what went right and what went wrong with the project. It includes technical issues, inter-personal issues, and he's not afraid to admit to his own failings. It seems like the kind of manifesto that should be used to guide future projects.
tagged:
management» 6 reactions More Unix cheat sheetsThursday 20 October 2005 The last few weeks I've had to dive into Linux again (to install a wiki), and I found some more cheat sheets and tutorial that were helpful:
Finally, this won't help you run a Linux box, but Éric Lévénez's UNIX History has a mind-blowing graphic laying out the entire twisted family tree, from September 1969 to the present.
tagged:
reference,
unix» 2 reactions Comments prevent executionWednesday 19 October 2005 Looking for basic information about ASP.NET syntax, I found this description of Server-Side Comment Syntax. It explains:
There you have it: the point of a comment is to prevent a chunk of code from executing. There's no mention of using comments to communicate with other developers. This helps explain a number of Daily WTF's!
tagged:
coding» 3 reactions wcscmp vs StrEqualTuesday 18 October 2005 I know this is a small thing, but it snagged my brain this morning. I hate the C standard library function wcscmp. First, because the name is so crappy (it stands roughly for Wide Character String CoMPare). Second, because although it returns a true comparison (which of the two arguments is greater), it's almost always used to compare for equality, and therefore has to be negated. It returns zero if the strings are equal, so you end up writing this: if (!wcscmp(s1, s2)) { Or worse, you want to know if they are not equal, so you leave off the negation. When I see wcscmp, I think, "we're comparing to see if the strings are the same", but then I have to carefully navigate that negation to get the sense correct. If we're not going to have a real string class with an equality operator, I much prefer to have a StrEqual function: inline bool Then I can write what I mean. But others feel that at least wcscmp is standard. I'll take readable and straightforward over standardized obfuscation any day.
tagged:
coding,
c++» 17 reactions Which book?Tuesday 18 October 2005 An intriguing book search engine, sort of: whichbook.net lets you select characteristics of the book you want to read next, then recommends some to you. The main page gives you a set of sliders: happy/sad, funny/serious, safe/disturbing, and so on. You set the sliders to describe your desires, and book suggestions appear. Intriguing. It looked like it did a pretty good job, though I don't know how large a database is has, or how books get added to it.
tagged:
books
/
via:
Rebecca's Pocket» react MugletsMonday 17 October 2005 Muglets sounds like something out of Harry Potter (non-magician babies?) but it isn't: it's an online Flash gizmo that lets you upload pictures, cut out the face, and paste it on a dancing disco doll. Simple, yes, stupid, yes, but funny, and I liked the workflow they've got for the cutting and pasting of the face.
tagged:
funny
/
via:
Skiver Don» react My son Nat has had a number of tutors over the years. Through trial and error, we discovered that the best tutors were not the ones with the best training. Although training helped, the most important things in a tutor were a natural predisposition to working hard with a sometimes unwilling student; an enthusiasm I sometimes refered to as "over-caffeinated"; and a centered-ness that allowed the tutor to persevere even when the student was overtly hostile. One of our tutors who fit this description to a T was Danielle Strachman. She is now in San Diego, and has a blog, Heightened Learning, which covers educational topics of all sorts. Her post about Hemispheric Integration and Juggling caught my eye. It's about how juggling might help disabled childrens' brains. You should definitely look at the video linked at the end, which shows a kid solving a Rubik's Cube with one hand while juggling two cubes with the other.
tagged:
blogs,
education» 1 reaction I've decided to choose a real license for the software I post on this site, since responsible readers have asked me what license I use. I find the array of open source licenses baffling, so I dug up some resources:
After looking over all this, I'm choosing MIT. It allows others to do the most with the code I write. When I put myself in the user's shoes, it's the license I would want to see on code I wanted to use.
tagged:
business» 8 reactions Blogger via XSLTSaturday 15 October 2005 The last few days I've been setting up my wife's brand-new blog. For some reason, I went with Blogger as a technology. Because her site (like this one) is static HTML generated by XSLT on my laptop, I wanted to generate the Blogger template the same way. That way, the template would have the same look and feel as the rest of the site, and when the overall look changes, the template would change too. Blogger templates are like most other templating systems: they look like HTML files, with strange foreign Blogger-specific tags in them. The problem with generating Blogger templates with XSLT is that the "tags" in the template are not well-formed XML. So I had to resort to some tricks and compromises to make it all work. The end result works, but is a bit icky in the middle. If you're interested in the details of stuff like this, read on. WHOAWednesday 12 October 2005 Since Making Peace with Autism came out six weeks ago, my wife and I have become addicted to Amazon sales stats. We got into the habit of reloading the Amazon page to see how the book was doing (nicely, thank you). Then I wrote an Amazon web services script to pull stats for a number of books. Now I've created WHOA: the Writer's Homepage for Obsessing about Amazon. It's a customizable page that lists stats for the books you want to see. Try it out, or read About WHOA. The list of books is all in the URL, so once you have a page you like, you can bookmark it to obsess over and over again. Or you can create a list and share it. For example, here's a Franken vs Limbaugh and O'Reilly smackdown.
tagged:
amazon,
books,
my code» 6 reactions I got this error message from .NET. It basically means "null pointer":
The more I look at it, the more I hate it. Why are there so many words? Who are we trying to impress? What's an "instance of an object"? Don't they mean:
And isn't "instance of a class" a fancy way to say "object"? So shouldn't it be:
And what else would it be set to? Can't we just shorten this to:
Or why don't we just say what we mean:
Or, (heaven forbid):
I know, I know, they aren't pointers, they're object references. Whatever. Bite me.
tagged:
exceptions» 10 reactions The curse of the were-rabbitTuesday 11 October 2005 I saw the latest Wallace and Gromit movie (The Curse of the Were-Rabbit) yesterday. It's fabulous:
In other Wallace and Gromit news, remarkably, over the weekend, the Wallace and Gromit warehouse was destroyed by fire. The props and sets from all the other Wallace and Gromit movies were lost.
tagged:
animation,
movies,
reviews» 3 reactions Madlibs, part 3Monday 10 October 2005 The last installment of the Programming Madlibs story is done. Max and I did the coding some time ago, I'm only just now getting around to posting it. We ended by reading the madlib story from a text file, and parsing a simple syntax along the way. Mad coversMonday 10 October 2005 Doug Gilford owns every issue of Mad Magazine, and has scanned all of the covers. The first one I remember reading was #146, Oct 1971. Now my kids read the Don Martin collections and Spy vs. Spy. PumpkingutterSaturday 8 October 2005 When I was growing up, we used to make jack-o-lanterns with a big kitchen knife. The eyes were triangles, and the mouth maybe had a few teeth in it if we were feeling especially ambitious. When I started carving pumpkins with my kids, those stencil kits came out. We had fancy patterns to start with, and special little saws to cut the shapes, and we were able to do much more interesting designs. Then we found the two-layer style, where some parts are carved through, and others just have the peel cut off, to give a shaded look. Over the last few years I think we've done a good job: 2004's alien and Mettool, 2003's Homestar characters, and 2002's SpongeBob. Now along comes Pumpkingutter (Scott Cummins), who carves fully-realized 3D scupltures out of the pumpkins. They're fabulous, but I don't think I'll be making the artistic leap with him.
tagged:
crafts» 1 reaction Google ReaderFriday 7 October 2005 Heads up, Google has an RSS feed reader: Google Reader. I only poked at it for a minute or so, but right off the bat, they're doing some cool AJAX and motion stuff in the UI.
tagged:
google,
feeds
/
via:
Micro Persuasion» react Cog 2.0Thursday 6 October 2005 Today, after an extended beta period, I am pleased to announce Cog 2.0, the latest version of my Python-based code generator. It's great. Use it. Changes since the previous version are on the changes page.
tagged:
cog» 2 reactions HTTP error 191Thursday 6 October 2005 At work we had a thorny problem in our code: when trying to make an HTTP connection for a SOAP call, the connection would fail. Reading the log files, it seemed to be a 191 error. "That's odd, never heard of that one before," we all said. Somehow, the spec with all the HTTP errors had never heard of it either. Could it be some vendor-specific code? We were stumped. We lived with it for a while until a co-worker figured it out. Our logging code looked like this: if (FAILED(hresult)) { Can you see what's going on here? Bueller? Anybody? The std::hex function modifies the ostream permanently. If the hresult was printed, then the ostream was switched into hex mode, and all numbers will be hex. The httperror value (and the lasterror value for that matter) are being written in hexadecimal. The mysterious 191 error was actually a 0x191 error, or a plain-old 401. Inserting a std::dec to set the ostream back to decimal fixed things up. We still had to fix the "unauthorized" error, but at least now we know what it is!
tagged:
debugging» 3 reactions Stack traces on windowsThursday 6 October 2005 For ages, we've had stack trace code in our product at work. I picked it up from a sample someplace, and it gave me a good feeling: I had a powerful diagnostic tool built into the product, and we could use it to pinpoint fleeting problems. It had only one flaw: it didn't work. » read more of: Stack traces on windows... (12 paragraphs)
tagged:
windows» 7 reactions CSS-only RSS badgeWednesday 5 October 2005 Sometimes I get stuck obsessing about tiny details. Recently I decided to give my RSS link a standard orange badge. But instead of using an image, I did it with CSS. I'd seen it done before, but I couldn't find the example I'd seen, so I cobbled it together from some other bits and pieces: The final code is: <a
tagged:
css» 5 reactions How to price a fixed-price contract?Wednesday 5 October 2005 A friend is negotiating a contract to develop a piece of software. It's to be a fixed-price contract, and it will be a lot of work (in the tens of thousands of lines of code). I've never charged in this way, so I don't know how to advise him. How do you choose a price for a fixed-price contract? Obviously you can choose an hourly rate, and multiply by an estimate of hours, but estimates have risk, especially with a project as large as this.
tagged:
business,
help» 16 reactions Scott Lewis is an angelTuesday 4 October 2005 Scott Lewis runs a blog over at scotfl.ca. It's a good blog. One of the things I like about it are the retro pinups in the masthead. But the thing that truly sets Scott apart is the speed with which he came to my rescue this morning when I needed help unwedging a Mac. His comment went beyond helpful into the encyclopedic, and led me to the fix for my problem. Thanks, Scott! Today show in NYCTuesday 4 October 2005 We went to New York City over the weekend for the big Today show experience. It was a whirlwind, very exciting. Here's a travelogue of the experience. » read more of: Today show in NYC... (11 paragraphs)
tagged:
susan,
tv,
me» 3 reactions Help! Frozen Mac browsers!Tuesday 4 October 2005 Is there a Mac OS X expert out there that can help me? My wife's iBook is unable to surf the web. When I start a browser, it gets stuck, consuming 80% of the cpu, and completely impervious to Force Quit. This happens with Safari, IE, or Firefox, they all behave the same. Internet access other ways works fine. Mail.app can pull mail, curl from the command line retrieves pages. If I logon to another account on the same iBook, the browsers work great, even while Susan's account is stuck, with her browser consuming CPU. So it isn't the network in general that's broken, it isn't something particular to Safari or Firefox, and it is something particular to Susan's login. The problem seemed to start Sunday when she tried to open an Acrobat file from her secondary email program (First Class), and it got stuck hard. We had to force the computer to shutdown, and then things were stuck. The first time we launched Mail.app, it complained that its files were locked, and did we want to open anyway? We did, and it worked fine, but the browsers are still stuck. Any ideas? Please help!
tagged:
help,
mac» 6 reactions Shining trailerSaturday 1 October 2005 Did you ever see a trailer for a movie, and have a suspicion that the movie would be very different? Or worse, have you been to see the movie, and finally understood just how much they twisted the truth when making the trailer? Well, a contest for making purposefully misleading trailers produced this gem: Shining, which turns The Shining into a heartwarming movie about a boy and his dad. More about the trailer is at The Shining Redux on The Tattered Coat.
tagged:
movies
/
via:
Kottke» 2 reactions « September 2005 | » Main « | November 2005 » | |