November 2005

Articles published in November, 2005.

Mmm Early Christmas!

View Article »No comments

God’s Debris

I am fascinated by this book. I cannot believe I just finished reading a 144-page Ebook in a single day. This book is that good.

Scott Adams, creator of Dilbert, wrote God’s Debris to challenge all scientific, religoius, philosophical and all other contemporary beliefs. It is for the most part a dialogue between two men centered around how the world and human thoughts work. As a thought experiment, this book will not only kill your brain cells by injecting new ideas into your eyes, it will make you doubt and wonder many things.

I wouldn’t normally just write a book review because I hate reading. But this book is that good.

God’s Debris - The Ebook Download

There is also a sequel, The Religion War, that hopefully I’ll find somewhere.

View Article »2 comments


Auto Insert Header Files with PHP

I just upgraded to Mint 1.2. When I installed it, the option of automatically inserting the JavaScript include file came up. I never knew that this could be done, but with a few tricks, here it is.

Add this to the .htaccess file in the root html folder, usually named public_html.

<code>AddType application/x-httpd-php .html .htm .php<br />
php_value auto_prepend_file /home/yourcode.php</code>

In that yourcode.php file, buffer the page output with the ob&#95;start function. Then write your function to be called by ob_start that will replace the &lt;/head&gt; tags with your script. Here is an example (not taken from the source code of Mint).

<code>&amp;lt;?<br />
function replaceHeaders() {<br />
 = &#039;&amp;lt;script scr=&quot;/yourjs.js&quot;&amp;gt;&amp;lt;/script&amp;gt;&#039;;<br />
return str_replace(&#039;&amp;lt;/head&amp;gt;&#039;, .&quot;&amp;lt;/head&amp;gt;&quot;, );<br />
}<br />
ob_start(&quot;replaceHeaders&quot;);<br />
?&amp;gt;</code>

Then you get that script inserted in front of the head tag for every freaking page on your site. Even the html ones that don’t include php pages. Damn I’m smart.

View Article »2 comments

WordPress.com Now Public

Go get yourself a blog! Easy setup with exactly 5 clicks after you click that link (and of course some typing). If you had to choose between Blogger and Wordpress.com, I’d say you need to eat a live pig to know how crappy Blogger is.

View Article »No comments


Harry Potter & the Goblet of Fire Sucked

That pretty much sums it up. Here is a detailed review that’ll make Harry Potter fans want to behead sheeps.

View Article »No comments

I Got (One) Ipod Sock!

Ipod Sock

I only got one because I don’t own 6 Ipods. Bought this sock off a friend.

View Article »10 comments


The Watch

A man at the airport realizes he has forgotten his watch. He looks for the time, but can’t find a clock anywhere. He sees another man coming towards him carrying two large suitcases. He goes up and asks, “Do you know the time?”

“Yes,” the other man points to his high-tech looking watch. “Not only does it tell the time, it is a satellite TV, GPS, mini-computer, and MP3 player.”

Astonished, the man, originally looking for the time, now wants the watch. “That is brilliant! I want to buy it, how much are you willing to sell it for?”

“Ah I’m getting sick of this watch anyway. I’ll sell it to you for $900. Here.” He takes off the watch and picks up the two suitcases, “and here are the batteries.”

View Article »No comments

I’m an Email Newsletter

Hi. I’m one of those weekly email newsletters that happen to dispatch one email to you every 5 minutes. I come from random sites that you haven’t heard of. I’m sure you signed up for this and are eager to read every word in this 10MB of email, so read the following crap closely.

[…] random promotion of some random product […]

And if you would like to unsubscribe from this series of newsletters, assuming you can read this 2px white font on white background, click here. But oh wait the words “click here” actually don’t link to anything. If you are smart, you’ll realize that the link is commented out with html &lt;!-- . So look at the source of the email and try out every link that might look like the unsubscribe link.

sitepoint techtimes If you have gotten to that link, congratulations. Really, because the makers of me have spent countless numbers of hours trying to prevent you from unsubscribing this spam. I mean information.

So you’ve clicked the link, it’ll ask you for a series of questions regarding why you are unsubscribing. The trick here is, you have to fill in all the fields. But really, the form doesn’t lead to a dynamic page at all, but a rather simple html page telling you that a confirmation email about your unsubscription has been sent.

If you have a watch (or calendar), you’ll realize that after at least a month or two, you have received the confirmation email. So you click the link that leads to another page telling you that another email has been sent just FYI and in case you want to subscribe again. Oh, and note that this email will be sent every day as well, including all the crap from the original newsletters. JUST IN CASE YOU WANT TO SUBSCRIBE AGAIN.

View Article »5 comments


Bigger Earbuds will Hurt Eardrums More?

Sony MDR-EX51LP I have a pair of the Sony MDR-EX51LP in-ear earphones. They come with varying sizes of earbuds — 3 pairs in total. I usually use the smaller pair because my ear cannals are small (the whole reason I bought in-ear headphones in the first place). Now that I have an iPod, the bass isn’t loud enough. Serious wtf.

Just tried on the medium sized earbuds. They sound great! Not only has the bass gone up, the volume went up a bit in general. With so many stories about hearing loss I can’t help realizing that my ears are going to fall off one day.

But then again, on the technical side, if the sound coming from earphones is constant, the damage the earbuds do would be the same right? Just because I use bigger earbuds, my eardrums wouldn’t feel more vibrations (although that is what I feel when I hear louder music) right? Do the earbuds amplify the sound or something?

View Article »4 comments

Can’t Touch Me!

family guy

View Article »3 comments