mrBadak.com

anything funny and interesting. pictures, videos, news and links.

Clueless programmer

Funny - he’s using Rnd() and was helpless to stop the values changing everytime. He even asked for help from Experts Exchange site! A simple googling will give him the answers. The Rnd() function stands for random and yes, you guessed it, it returns a random number everytime it is executed.
Funny stuff though - at [...]

Here’s a nifty little javascript code trick that allows you to edit any website that is displayed on your browser. Of course, this doesn’t mean that you’re actually editing the page on the server. This code will only allow you edit the page that is displayed on your browser, while the actual page located on [...]


they put them in the comments - haha. So a programmer decided to search for profanities contained in the codes, via Google Lab’s Code Search and found many instances of coders letting out their frustrations in the comments.
Personally, I don’t put any nasty words in the comment section of my codes. Not sure why.
Anyway, from [...]

This one’s for the web developers (if any).
Smashing Magazines have compiled a huge list of links to AJAX solutions that you can use to enhance your web applications. Among the list here, I’ve tried a few. My favourite would be the “instant edit”. Where your users can just edit the test on the page itself.
Save [...]

Long list of titles

The registration for the membership of British Airways website has one of the longest choice of titles for a person. As a webmaster myself, usually my clients are already contented with the big Ms, namely Mr, Mrs, Ms, and Madam.

« Previous Entries