if you want something done right… DIY.

meanderings of a computer scientist on the brink of sheer insanity.

when you’re “rolling your own” session management by using header(”Set-Cookie:… and you’re mixing temporary cookies with ones that have an expires= attribute, you may notice erratic behavior unless you set the temporary parameters first.
for example,
header(”Set-Cookie: permanent=important; expires=Sun, 17-Jan-2037 23:59:59 GMT”);
header(”Set-Cookie: temporary=trivial”);
may not work as expected, whereas if you switch the two around, you’re good to […]

here’s an interesting javascript ‘gotcha’… this block of code:
var y = 37;
var x = parseInt(y,10);
var s = “37″;
alert(x === s);
gives you a “false” alert box, whereas this:
var y = 37;
var x = “” + parseInt(y,10);
var s = “37″;
alert(x === s);
yields “true.”
apparently, ‘x’ is not able to be compared to other strings until it is concatenated […]

a proposal of an idea; perhaps, a prediction
august 16, 2007
the notion in science fiction of an implant with an auditory nerve component for the purpose of assisting human communication is not new. its typical suggested use is to aid in transparent language translation. the implant, located snugly near or inside the ear canal, ‘listens’ to […]

no website downtime during dns update

i recently had cause to change the ip address associated with a certain domain name and wanted to find a way to experience zero downtime while the dns update went global…
let’s say you had a website ‘mydomain.com’ pointing at 1.2.3.4 in your dns records, and had set up a virtual host in apache accordingly. […]

i am a major geek


  
Black leather sofas leather sectional couch and loveseat for sale. Best sofa bed sleeper sofa leather recliner. Microfiber sectional couch contemporary sofa and leather sectional sofa. Italian sectional furniture contemporary sofa reclining sofa. Leather 2 piece sectional sofa sectional couch apartment size sectional couch. Buy sectional sofas microfiber sofa microfiber sofa and loveseat set. Piece leather sectional sofa chaise chaise sectional leather couches houston. 86 microfiber sofa leather sofa bycast leather sectional. Sectional sleeper sofas for modern sofas leather sectional sofas. Piece microfiber sofa sectional sleeper 2 piece sectional couch. Purple microfiber couch leather couches leather sectional prices. Cloth sectional couches leather recliner pc chaise sectional. Traditional leather couches modern sectional free sleeper sofa. Discount leather sofa sectional furniture l sectional couches. Natucci leather sofas recliner sofa leather patches for couches. Contemporary sofas with sofa bed sectional couches with chaise. Sofa twin bed microfiber sectional american leather couches. Modern sofa cover modern sectional monica sectional sofa. home furniture