By mariya | Published:
November 11, 2007
Check out the Swazz Calendar. Small file size, easy to integrate and actually works.
One caveat: by default, it sets the date the European way (dd/mm/yyyy). To change to the American format, find the following line in the prepcalendar function:
calvalarr[d]=”+(d-cd)+’/’+(cm-(-1))+’/’+cy;
and change it to:
calvalarr[d]=”+(cm-(-1))+’/’+(d-cd)+’/’+cy;
Then find these lines in function lcs:
ccm=curdtarr[1]-1;
ccy=curdtarr[2];
prepcalendar(curdtarr[0],curdtarr[1]-1,curdtarr[2]);
Change them to:
ccm=curdtarr[0]-1;
ccy=curdtarr[2];
prepcalendar(curdtarr[1],curdtarr[0]-1,curdtarr[2]);
VoilĂ . [...]
By mariya | Published:
November 8, 2007
A dear friend noted that few of my posts are constructive: they’re mostly biting criticism and ranting about practices that don’t work.
But the topics I address (technology, business, recruiting) are so open-ended that you can do things many different ways. And they all work, except for the ones that don’t. It seems that as long [...]
By mariya | Published:
November 1, 2007
In a bout of desperation to find a competent CSS coder, I shot off the following email to Dave Shea, founder of css Zen Garden:
Dear Dave,
When I look deeply into your code, you make my heart smile. You are not like the others, I can tell. No: you are not like those fools who wormed [...]
By mariya | Published:
October 30, 2007
Some guy actually invented a robotic Zen garden called RoboZen. I don’t know the status of the project but I will try to find out, and perhaps help with his Java project. (Holy magnolia!)
By mariya | Published:
October 23, 2007
I appreciate how easy it is to report PayPal and Ebay phishing emails : just forward them to spoof@paypal.com or spoof@ebay.com. I assumed that all financial companies would have the sense to set up no-brainer email addresses to handle phishing concerns. But alas, my forwards to spoof@chase.com and spoof@bankofamerica.com bounced. Get a clue!
By mariya | Published:
October 18, 2007
There’s no hope for the web, is there? Most sites are poorly made and look like oatmeal on a baby bib. Others are developed cleanly by someone whose code doesn’t suck only to face another hurdle: the idiot copywriter.
The fun at this jewelry outfit begins with the domain name: steveclarkweb.com. I admit, it’s hard to [...]
By mariya | Published:
October 4, 2007
Name your classes something sensible! If I see another CSS class named “blueText” I will scream. YOU CAN TELL IT’S BLUE WHEN YOU LOOK AT IT, STUPIDS.
CSS was invented to make attributes easy to change. Say you want a blue message on all your pages. You sensibly label it with a CSS class ‘message’ and [...]
By mariya | Published:
September 11, 2007
When interviewing a programmer, check that he is: a) good at coding, and b) bearable. Chat about his experience, let him scribble an algorithm to reverse a string, and wish him luck. Right?
Hell no. Tihomir Nakov just released a list of dumbass questions Google asks during its job interviews.
They include:
How many golf balls can fit [...]
Also posted in Entrepreneurship |
By mariya | Published:
August 28, 2007
Some Subversion naming conventions are downright lousy. For instance, “svn revert” reverts your code to some older revision, right? Well that’s what you think, my sensible friend, and you’re wrong! All it does is it reverts your working file to the latest version in the repository, the same thing that can be accomplished with a [...]