Tuesday, August 30, 2005
I know what I'm doing this weekend...
My advice, stay out of Soulard for a couple weeks.
Fun, fun, fun
Movie Meme
From Brad
Italicize the ones you've seen and Bold the ones you actually liked. I saw TOO many.
Friday, August 26, 2005
I'm so bummed right now...
Looks like Rio is dead.
Now I don't know what to do... my current Karma needs a minor power-switch repair (which I'm doing this weekend), and the Circuit City extended warranty expires in March. I was hoping to see the new Karma replacement hit the stores before then, but since D&M sold off all the IP and engineers to Sigmatel, that wasn't likely. Now with Rio shuttering, it's certainly not going to happen.
So, sometime before March, I need to find a good HDD DAP that Circuit City carries (or sell the gift card). I'm on the lookout for a good 30GB+ music player (video and stuff is not a feature), with USB host mode or an SD slot (to get stuff off my camera). ID3 tag based navigation and gapless.
Any ideas?
Wednesday, August 24, 2005
A much better way to handle CSS hacks
When you're doing CSS in the real world, you have to handle the CSS bugs in various browsers. But don't embed them in your real style-sheets and clutter everything up. Rather, have a single CSS that has all the work-arounds, and decorate your
<html>
tag with multiple classes that pull in all the work-around rules. Next, use javascript to handle the injection of those classes automatically at page load!
When bugs become patterns - A look at CSS Hacks
Tuesday, August 23, 2005
StringBuilder.Length is not read-only!
When you wander the blogs, sometimes the comments are more interesting or useful than the posting. Today's case-in-point is James Curran's observation that StringBuilder.Length is not a read-only value... how many times have you built a comma (or any other delimiter) seperated string by optionally prepending the delimiter in the loop, or trimming off the leading (or trailing) delimiter after the loop. James says just truncate the final delimiter by adjusting Length!
góða nótt. My Ajax.NET Library
Blasts from the past... the old is new again.
Catching up on a newly subscribed blog for Derrick Coetzee, I came across a great post about Bloom Filters.
I immediately recognized that use from the Borland Turbo Lightning product that I used in the mid to late 80s. It was an awesome TSR that loaded and then spell-checked whatever text proceeded the cursor at every space (or other work separator). A simple "beep" told you something was suspicious and a hot-key would popup the suggestions. It worked by scraping the screen RAM (in text mode, of course) and thus worked in EVERYTHING. I wonder if such a tool is available for Windows?
Of course, I had to let Derrick know and that meant looking up the information and that's when the fun really started? Dig this quote from the April 1986 article from Jerry Pournelle
In the word-processing category, there's a three-way tie and an honorable mention. Tied for best of 1985 are Symantec's Q&A, Borland's Turbo Lightning, and Living Videotext's Ready! idea processor. It's impossible to choose among these; they're all useful. Two are memory-resident. I suppose that one day the trend to memory-resident software will be halted by a really excellent multitasking operating system. Maybe this year?Ah, the good old days...
Monday, August 15, 2005
RE: Transparency, Video, and Windows Vista
In Windows 2000, Microsoft introduced a feature called Layered Windows. This introduced desktop composition features that had not been available in previous versions of windows, the most interesting of which was arguably the support for per-pixel transparency. With layered windows, any pixel in a window could be given its own transparency level. This is used for things like the transparent drop shadows you see on some windows, and Outlook uses it to fade new email notifications up and down.[Via IanG on Tap] So, why do I WANT to do this, again? In what possible way is a fuzzy semi-visible version of the underlying video stream useful to me?
Friday, August 12, 2005
Maintaining thread safety is hard
Even Microsoft's best have issues.. First they mess it up in .Net 1.1, then they rewrite it wrong in .Net 2.0. I wonder if they need another code reviewer.
The 2.0 version has three bugs now! First, it will reset the _inTrim flag on any exception, even if it didn't set the flag. Second, it will reset the _inTrim flag right before the second NeedsTrim() check, even if someone else has already set it (and presumably is using that flag). Lastly, it will now silently eat exceptions when trimming. How many times have you seen a
catch
when a finally
was the right thing.
Go vote on Ladybug to get this fixed.
Thursday, August 11, 2005
Monday, August 01, 2005
All things UI point to Ajax and Rico...
In the past couple of months, I've been learning more and more about the business of writing very customizable user interfaces for browser-based applications.
To me the best system architecture is a strong model-view-controller architecture.
- The model is your business logic
- The controller is your user-interface navigation logic (screen to screen)
- The view is the user-interface presentation (including intrascreen navigation logic)