334 karma · joined Mar 20, 2009 (17y ago) · 132 submissions
Some of my code: http://github.com/drench
comment 13y ago · link · parent
(Meteor doesn't appear to trap exceptions when using localStorage/sessionStorage, and even something as simple as "if (window.sessionStorage) ..." may throw an exception.)
comment 13y ago · link · parent
comment 13y ago · link · parent
comment 14y ago · link · parent
comment 14y ago · link · parent
Of course these things will all happen in time if the fixed version takes hold. But if you're willing to throw out PHP and start anew, you can have all of the above right now by learning Node, Rails, Django, etc.
I think the comment above about needing a Jeremy Ashkenas (that is, a CoffeeScript for PHP) is the only realistic way for a "fixed" PHP to succeed. There needs to be a smooth transition, and a FixedPHP-to-PHP5 compiler could provide it.
comment 14y ago · link · parent
I remember when http://microsoft.com/ began doing external redirects to "default.asp" circa 1997. If you were a "webmaster" (do these exist anymore?), this was a dog whistle. They were not using static .html (or .htm) but not any of the common dynamic methods like .cgi or .shtml either. And using "default" rather than "index" indicated a break from NCSA/Apache convention. They were using a different web server. Those 11 extra characters said a lot.
comment 14y ago · link · parent
Let's say I have an old-school, all-static site with pages at http://example.com/x/index.html and http://example.com/x/about.html. I would like to make a link to the "index" page from the "about" page. What are my choices?
<a href="/x/"> will work, but will break when someone decides to move "/x" to "/y".
<a href="."> will work from the server, which does an internal redirect, but not on the static version on my local drive I'm going to demo to my boss. (I also have a hunch a significant number of developers aren't aware of "." and don't know this is an option.)
So we end up with <a href="index.html"> for better or worse.
comment 14y ago · link · parent
When I run into an OK/Cancel box (usually on a web page using the generic built-in confirm()), it often feels to me like the meaning would be far more clear if the options were "yes" or "no", no matter which order they're displayed.
Is there a UI 'best practice' reason OK/cancel "won" over yes/no?
comment 14y ago · link · parent
Also, because it's GNU. Just as IE is the Microsoft browser, bash is the GNU shell, and most Linux distributions are built around GNU userland.
But that's just Linux. The BSDs don't see bash as the best default, where it tends to only be available as an optional package.
comment 14y ago · link · parent
comment 14y ago · link · parent
comment 14y ago · link · parent
I'm not saying they won't necessarily have anything left, but $12k/mo still may not leave them much.
comment 14y ago · link · parent
Compare to ftp, sftp and scp, which overwrite the file from the start, possibly breaking your site during the transfer (or definitely breaking your site if the transfer dies part-way through).
comment 14y ago · link · parent
comment 14y ago · link · parent
comment 15y ago · link · parent
It reminds me of the first time I tried to use a cell phone: I didn't own one and had borrowed one for a trip. I could not figure out how to turn it on. I kept pressing the green "TALK" button and nothing happened. I assumed the battery had died. Turns out I was supposed to press the red button labeled "END" which is the last button I would think to press.
comment 15y ago · link · parent
javascript:(function(){var d=document;var t=d.getElementsByTagName('textarea');for(var i in t){if(typeof t[i]=='object') t[i].setAttribute('class','webvi');} var s=d.createElement('script');s.setAttribute('src','http://webvi.googlecode.com/svn/trunk/lib/webvi.js');d.body.appendChild(s);s.onload=function(){webvi_init();};})();comment 15y ago · link · parent
Just now I tried http://chainsaw.blogspot.com/ and found a quintessential blogger blog with a single decade-old entry. I'd love to read a followup post but I know it will never happen.
Very occasionally I'll run into something like http://grasses.blogspot.com/ - abandoned, and perfect that way.
There can be a kind of weird beauty in those forgotten blogs.
comment 15y ago · link · parent
Right or wrong, a popular perception in the USA is that a lawyer wears nice clothes to work, and likes to unwind with a round of golf, fine scotch, and a cigar. Whereas a programmer is an overgrown teenager, wearing ripped jeans, playing video games, and drinking Red Bull. Of course the lawyer should earn more than that guy.