Posts
-
Why do people on eHarmony close with "I am pursuing another relationship"?
I have a theory about this one. Because they can easily go to Matching and turn it off temporarily. But I think that some people leave it on, because they want the ego boost, even though they’re going to shut down the match anyway.
Read the rest of Why do people on eHarmony close with "I am pursuing another relationship"? -
How to do rails tests when running with restful_authentication
The Restful Authentication plugin seems to be the standard right now, although I’m staring to wish I’d tried something else, maybe AuthLogic… because restful_authentication is kind of poorly documented. One serious error of ommission is how the hell do you update your tests so that you can run them on controllers that require a logged in user? Well, I have had the pain, and so you can have the quick answer, here it is.
Read the rest of How to do rails tests when running with restful_authentication -
Don't use porn in your slides at a tech conference
So Merb developer Matt Aimonetti made a presentation at GoGaRoCu heavily laden with soft-core pornography and some people got upset. In particular, a woman got upset – Sarah Allen. It didn’t help that she was one of only six women at a 200 person conference. Holy shit!
Read the rest of Don't use porn in your slides at a tech conference -
sudo apachectl stop && sudo apt-get remove apache2 && sudo apt-get install nginx
I binned apache finally on semacode.com. It was easy. A little bit of “this is really the last straw” frustration with mod_rewrite and I ditched it.
Read the rest of sudo apachectl stop && sudo apt-get remove apache2 && sudo apt-get install nginx -
Intelligent humour
Intelligent online cartoons:
Read the rest of Intelligent humour -
How to really URL encode an NSString in Objective-C, iPhone, etc.
Trying to encode URL parameters on Mac or iPhone? Frustrated because NSString stringByAddingPercentEscapesUsingEncoding encodes non-URL characters but leaves the reserved characters (like slash / and ampersand &) alone? “Apparently” this is a “bug” apple is aware of, but they haven’t done anything about it yet, and so, here is a solution that actually works.
Read the rest of How to really URL encode an NSString in Objective-C, iPhone, etc. -
trusted user status on Daily Kos
Well, apparently I’ve achieved the vaunted and much-desired “trusted user” status on DKos. That means I can rate people down, as opposed to just up. I’m probably not going to do it much, just like I rarely troll rated people when I had privs on SlashDot (back when /. was interesting…)
Read the rest of trusted user status on Daily Kos -
The better way to code error-handling routines
There’s an excellent guide to Rails 2 that I’m reading through right now, but I don’t like this bit:
Read the rest of The better way to code error-handling routines -
Simplelog-X... is coming...
So I just made some major updates to the software running this site, which for now I’m calling “Simplelog-X”. And the source code for simplelog-x is now on github.
Read the rest of Simplelog-X... is coming... -
Dubai, I'm shocked!
So Dubai isn’t a wonderland and actually is a vast petrol- and credit-funded nightmare that is on a knife’s edge of sinking into the sands, forever gone? I’m shocked! Who could have thought it.