song for a future generation
It’s a big building with patients, but that’s not important right now. Leslie Nielson will be sorely missed. [...read the post]
Leslie Nielson will be sorely missed.
Bring Back TSA Classic At this point very few would expect that you should be able to carry metal items undetected onto a plane, so I don’t have too big a problem with metal detectors at airports. However, society has a general expectation that the image of one’s naked body is private, so we should certainly consider the new [...read the post]
At this point very few would expect that you should be able to carry metal items undetected onto a plane, so I don’t have too big a problem with metal detectors at airports. However, society has a general expectation that the image of one’s naked body is private, so we should certainly consider the new
Customizing a Zend Navigation Menu Zend Navigation has a menu helper class that can output a basic nested UL menu. You can set id/class attributes on the A elements, and it adds an “active” classname to A elements in the active branch, but customizing the markup beyond that gets complicated. [...read the post]
Zend Navigation has a menu helper class that can output a basic nested UL menu. You can set id/class attributes on the A elements, and it adds an “active” classname to A elements in the active branch, but customizing the markup beyond that gets complicated.
?YouWontSeeMe In beta 11, Opera’s going to hide all “http(s)://”, and also all querystrings (until you focus the addressbar). Opera’s devs are right that users consider them mostly “gibberish”, but I think this change could cause a ton of problems and confusion for people, especially support staff, and there are plenty of sites/apps still out there [...read the post]
In beta 11, Opera’s going to hide all “http(s)://”, and also all querystrings (until you focus the addressbar). Opera’s devs are right that users consider them mostly “gibberish”, but I think this change could cause a ton of problems and confusion for people, especially support staff, and there are plenty of sites/apps still out there
We need a frontend design tool for live web pages It’s quite frequently that an HTML/CSS designer might want to make changes to a live web page. Maybe she doesn’t have write access, or maybe the fixes needed aren’t worth the start-up cost of copying the page locally and working on it there, or multiple designers want to work up ideas on a given page [...read the post]
It’s quite frequently that an HTML/CSS designer might want to make changes to a live web page. Maybe she doesn’t have write access, or maybe the fixes needed aren’t worth the start-up cost of copying the page locally and working on it there, or multiple designers want to work up ideas on a given page
“Buy American” When economies are struggling, protectionism seems well-intentioned: By “buying American” we can go back that golden fantasy age when everything was American-made and everyone had a decent-paying job and could afford the latest luxuries. I have some examples that I hope can convince you that freer trade benefits everyone. It’s not completely intuitive; we commonly [...read the post]
When economies are struggling, protectionism seems well-intentioned: By “buying American” we can go back that golden fantasy age when everything was American-made and everyone had a decent-paying job and could afford the latest luxuries. I have some examples that I hope can convince you that freer trade benefits everyone. It’s not completely intuitive; we commonly
E-mail Address Munging Still Mitigates Harvesting At least a decade into the use of simple e-mail munging on web pages (my own solution here) there’s a growing consensus—and it seems like common sense with the advancement of the web in general—that this surely can’t still work on modern harvesters. While trying to look up some old research I’d read about this, [...read the post]
At least a decade into the use of simple e-mail munging on web pages (my own solution here) there’s a growing consensus—and it seems like common sense with the advancement of the web in general—that this surely can’t still work on modern harvesters. While trying to look up some old research I’d read about this,
Using jQuery Before It’s Loaded It’s better to include scripts like jQuery at the end of the BODY, but this makes its methods inaccessible earlier in the page (e.g. inside a WordPress post). What you can do is use a script like the one below to queue DOMReady functions before jQuery loads. (function (w) { if (w.$) // jQuery already [...read the post]
It’s better to include scripts like jQuery at the end of the BODY, but this makes its methods inaccessible earlier in the page (e.g. inside a WordPress post). What you can do is use a script like the one below to queue DOMReady functions before jQuery loads. (function (w) { if (w.$) // jQuery already
Tiny E-mail Munging Script I’ve seen a lot of these that are bloated/less effective/inaccessible, so I might as well put this out there. It’s simple enough to modify if you’re comfortable with Javascript. Markup: <a href=”mailto:john{@}example{.}org”>john{@}example{.}org</a> (function(){ var a, i = 0, o = this.onload; onload = function(){ o && o(); // run the old window.onload if existed while [...read the post]
I’ve seen a lot of these that are bloated/less effective/inaccessible, so I might as well put this out there. It’s simple enough to modify if you’re comfortable with Javascript. Markup: <a href=”mailto:john{@}example{.}org”>john{@}example{.}org</a> (function(){ var a, i = 0, o = this.onload; onload = function(){ o && o(); // run the old window.onload if existed while
Too much time on hands Notation of the first half or so of “Baby Lulu” by Stereolab. [original] Hit the play button at the top left to make it go. Their built-in instruments sound like crap. This is state of the art of sampling in a Flash app apparently. [...read the post]
Notation of the first half or so of “Baby Lulu” by Stereolab. [original] Hit the play button at the top left to make it go. Their built-in instruments sound like crap. This is state of the art of sampling in a Flash app apparently.
Today’s kids have a few things left to tinker with [Drafts clean out. This one from January] Mark Pilgrim laments the slow eradication of Apple products to which the owner has full (and gratis) software/hardware access. Anyone can develop [for the iPad]! All you need is a Mac, XCode, an iPhone “simulator,” and $99 for an auto-expiring developer certificate. The “developer certificate” is really a [...read the post]
[Drafts clean out. This one from January] Mark Pilgrim laments the slow eradication of Apple products to which the owner has full (and gratis) software/hardware access. Anyone can develop [for the iPad]! All you need is a Mac, XCode, an iPhone “simulator,” and $99 for an auto-expiring developer certificate. The “developer certificate” is really a
Imagining Better E-mail [Sitting in my drafts folder since August... Why not] For building a clean and complete “paper trail” within a single message (which is irrefutably valuable in situations), top posting works great. For responding to individual sections, inline reply is great. Combining the two is generally a mess. In both top/inline models the manual management of [...read the post]
[Sitting in my drafts folder since August... Why not] For building a clean and complete “paper trail” within a single message (which is irrefutably valuable in situations), top posting works great. For responding to individual sections, inline reply is great. Combining the two is generally a mess. In both top/inline models the manual management of
“Cartels don’t make any money on marijuana” Opponents to CA’s Prop 19 ran pretty well with the narrative that legalizing cannabis would yield no reduction of the cartel violence in Mexico. After all, they don’t really make their money on pot; it’s all California-grown, they promised. They even were kinda sorta convincing me that might be the case. Maybe—just somehow—they know that. [...read the post]
Opponents to CA’s Prop 19 ran pretty well with the narrative that legalizing cannabis would yield no reduction of the cartel violence in Mexico. After all, they don’t really make their money on pot; it’s all California-grown, they promised. They even were kinda sorta convincing me that might be the case. Maybe—just somehow—they know that.
The Hard Road Ahead I’m starting to believe the only way out of this recession and national deficit is through tough choices that offend the ideologies of every political party: higher taxes for everyone spending cuts, including the military bailouts for state/local safety nets that ease real human suffering, not select industries finding and migrating to foreign aid measures [...read the post]
I’m starting to believe the only way out of this recession and national deficit is through tough choices that offend the ideologies of every political party: higher taxes for everyone spending cuts, including the military bailouts for state/local safety nets that ease real human suffering, not select industries finding and migrating to foreign aid measures
Perks of Life in the Kingdom of Nouns Execution in the Kingdom of Nouns is one of Steve Yegge’s most entertaining posts about the verbosity and noun-centricity of Java (and other strongly typed languages without first-class functions). His post paints a picture of life outside JavaLand, where things are simpler and more straightforward: There’s rarely any need in these kingdoms to create wrapper [...read the post]
Execution in the Kingdom of Nouns is one of Steve Yegge’s most entertaining posts about the verbosity and noun-centricity of Java (and other strongly typed languages without first-class functions). His post paints a picture of life outside JavaLand, where things are simpler and more straightforward: There’s rarely any need in these kingdoms to create wrapper
A Zend Framework App in a Single File Most PHP micro-frameworks I’ve reviewed have some major cons: incomplete namespacing of functions/classes/global vars; doing too much/little; being under-tested; and the worst: forcing a unique (and usually under-documented) code structure that will make it difficult to “graduate” an app into a more full-featured framework. It also seems silly to rely on “micro-optimized” code if performance [...read the post]
Most PHP micro-frameworks I’ve reviewed have some major cons: incomplete namespacing of functions/classes/global vars; doing too much/little; being under-tested; and the worst: forcing a unique (and usually under-documented) code structure that will make it difficult to “graduate” an app into a more full-featured framework. It also seems silly to rely on “micro-optimized” code if performance
Minify update Minify 2.1.4 is approaching release and will have several long-awaited features and hopefully easier configuration. Looking towards version 2.2/3(?), I recently committed the beginnings of a complete refactoring of the Minify API. The goal is to have a more flexible and extensible design that can include plugins like LESS and maybe handle @imports on the [...read the post]
Minify 2.1.4 is approaching release and will have several long-awaited features and hopefully easier configuration. Looking towards version 2.2/3(?), I recently committed the beginnings of a complete refactoring of the Minify API. The goal is to have a more flexible and extensible design that can include plugins like LESS and maybe handle @imports on the
Steve Clay's thoughts on programming, music, public policy and other junk. Steve lives in Gainesville, FL, USA; loves Kathleen, Rubydog; and plays guitar, bass, piano and drums. Moose's Live a Little Love a Lot is his favorite album.
4th Amendment Absurdity Audio Production Behavioral Science Bookmarklets Charter Cities Computer Science Criminal Justice CSS Dependency Injection Drug Policy Economics Elgg Gainesville How To Human Rights IDE Javascript Life Linux Music Music Transcriptions Netbeans Noteflight Opera Optimization PHP PhpStorm Politics Random Ideas Raves Records Shibboleth Shows Skateboarding SketchUp SQL TechTalk Trade TV UI Usability Videos Web Design Zend