This happens a lot: I’ll be programming along, in the zone, so much that even the low-power alert doesn’t dissuade me from my task:
That’s bad. Because inevitably, I’ll be just in the middle of a thought when the computer shuts off, ten minutes later. I don’t actually *lose* anything, of course, because MacBooks are usually […]
Lately in the course of programming events, it came to my attention that under some circumstances IE 7 identifies itself as both IE 6 and IE 7 in the same userAgent string. Worse, I discovered to my horror that jQuery reports it as IE 6 if the IE 6 declaration happens to be ordered last. […]
In times past, if you absolutely had to have a hack in your CSS files to target that pesky IE problem, you used to be able to use the Underscore Hack. This useful hack came about because the CSS parser in IE6 ignores the underscore character (_), applying the rule as though it were the […]
I do almost all my work in BBEdit, because I use a remote server on which to test my PHP. But I’ve been using HyperEdit for almost everything else, including mocking up CSS, working with JavaScript, and cranking out non-work PHP. This is completely because of HyperEdit’s integrated PHP preview. I can code in the […]
While composing a blog entry today (which was subsequently eaten by a Safari crash, despite Saft valiantly saving my tabs), I became frustrated by the difficulty of putting screenshots and text together into a simple blog post.
So, here’s my idea: Someone needs to write a blog editor, similar to MarsEdit or ecto, that supports simple […]
This code crashes Safari 2.0 (412), the build included in Mac OS X 10.4.1. I’ve no idea why. If you type something in the field and then click or tab away, Safari (or any other WebCore instance) instantly freezes and/or quits. But it doesn’t always happen the first time.
<input type=”text” onblur=”this.type=’password’;” onfocus=”this.type=’text’;” />
View an actual […]
Andy sent me this article describing why email can be bad for you, and how to be more productive in general. (Homestar: “Ow … those things are BAD for you!”)
Let’s take the concentration impact first. I’m a software engineer, and programming requires extended periods of concentration. Actually this isn’t unique to programming, a lot of […]
As I vehemently instructed Guy tonight, there is a strict order of operations that governs when you are allowed to criticize my work. I made most of it up on the spot.
Functionality
Appearance
Optimization
Mind you, the ‘strictness’ doesn’t pertain to me, it just means you can’t say, “That looks dumb,” when I haven’t even gotten it all […]
Somehow my influence has apparantly had an effect on Sam. Not only did he finally get a 17” PowerBook, but he subsequently switched to Interarchy and BBEdit for his FTP client and text editor. Since we work together, many times on the same project, we’ve been trying for the past couple of days to set […]
Okay, I couldn’t find a script to do this, so I was forced to perform the horrible task of writing it myself. I needed a way to check for a valid text-number, like “one hundred twenty-three”, and convert it to digital format, as in “123”. I think it’s pretty foolproof now, although PHP’s number_format doesn’t […]
© Daniel Bergey. Powered by WordPress using the DePo Skinny Theme.