HNHacker News
TopNewBestAskShowJobs

dutchflyboy

160 karma · joined December 18, 2009

submissionscomments
dutchflyboy··on Using Fibonacci Numbers to Convert from Miles to Kilometers and Vice Versa
Well, if you had actually read the article before asking, you would have known the answer. (you change the number into the sum of several fibonacci numbers, convert each one, then sum the result again).
dutchflyboy··on Storing Javascript in comment tags and later eval'ing it
I was just wondering, why can't you start an async xmlhttprequest at the onload event? It won't start the parsing until you tell it to, it won't block the loading of the UI and it's not as obscure as using eval on comments.
dutchflyboy··on Storing Javascript in comment tags and later eval'ing it
Yes, probably. That's why this sort of performance tests should only be done with an empty cache. Otherwise it isn't a fair comparison.
dutchflyboy··on A new approach to China
Please read the article to the end: "We have decided we are no longer willing to continue censoring our results on Google.cn, and so over the next few weeks we will be discussing with the Chinese government the basis on which we could operate an unfiltered search engine within the law, if at all. We recognize that this may well mean having to shut down Google.cn, and potentially our offices in China.". So no, they aren't willing to censor more. Wether they have more market share is an entirely different matter. It's about the decision to pull out of China. This could be the right or the wrong decision, only the future knows, but the decision has a big symbolic significance, that's what everyone is astonished about.
dutchflyboy··on Things You Probably Didn’t Know About PHP
1. I completely agree. 2. Well, there is a point, it blocks those people who just type anything in the registration forms. But I agree that it's too easy to trick. Performance shouldn't be a problem. Only registring users need to have their email addresses checked. In your example, every page load = a dns request, which isn't a great idea. As one registration = a dns request, this load should be quite easy to handle for the webserver.
dutchflyboy··on Things You Probably Didn’t Know About PHP
That's one of the most irritating problems with PHP due to the impossibility to find the bug (well, it's a whitespace, it's not as if one could see it). On my server, including a file with a whitespace after the ?> actually made the server send the PHP source code as text, including the mysql passwords that were included in the file.
dutchflyboy··on What would you name the baby of Email and Twitter?
What I mean is that most people who use twitter don't care at all whether the messages are on their own server or on a server owned by some company.
dutchflyboy··on What would you name the baby of Email and Twitter?
No, sms is too personal. I think the point was that you can have several followers.
dutchflyboy··on What would you name the baby of Email and Twitter?
Well, all the dutch HN readers will agree it would be "Etter".

But I personnaly don't think this would change much. For me there are two categories of information: private and public. For the private information email is the only solution and for the public solution I have my personal website. People who don't have their own website/blog won't care on who's server the messages are.

* EDIT * I was just thinking, isn't this what sites like blogger are about? You can make a page where you blog, several people can follow you, and they can reply.

dutchflyboy··on Ask HN: Please review my DropZap web demo. It's written using GWT.
Well, from what I understood it works like this:

You lose when the blocks get to the top of the playing field. You need to make points by making blocks disappear. To do this you have the piece at the top of your screen. Click where you want to drop it.

Now all blocks under and on the same row will shrink. When you shrink a red block, it will disappear.

When a red block disappears, the blocks above it fall, which will start a chain effect starting at the lowest one (just try, you'll understand what I mean).

Enjoy!

dutchflyboy··on Server-Side Javascript: Back With a Vengeance
Well, have you ever tried to program in javascript? It's a fantastic language for prototyping. If you want to try an algorithm, you sit down, write an astonishly small quantity of code and it just works. That's just one of the reason why I use javascript.

Another is, that it's a fantastic language to use for hobby projects, because you don't need to think too much beforehand, thanks to the dynamically typed variables, methods and objects.

And last but not least, you don't have any GUI to manage. HTML does it for you, which simplifies matters a bit. You want to dynamically create HTML? No problem. You prefer to prepare the HTML beforehand? No problem at all.

So to answer your question, I use it because it's refreshingly easy to use, more so than richer languages who are sometimes simply too heavy.

← PreviousPage 3 of 3