Of course HN will always be biased towards followers of the hive. Don't worry, I won't be coming back. ;)
Isn't the word 'array' quite obvious that it will create an array? Since PHP 5.4 you actually have the shorthand "[]" version available but it is still obvious to anyone who is using PHP or JavaScript (though JS arrays…
You are absolutely right, strictly speaking it is the same thing. Getting a simple 'Hello World!' from the server though is a different thing but it is by no fault of Apache, Python is just not PHP when it comes to web…
> Given any programming task, you're just going to end up with better code in pretty much any other language, especially a functional one. This is the exact bull* that good hearted Haskell and Lisp guys have to face and…
> PHP is not the new BASIC. Combine the HTML/CSS/JavaScript arguments above, and throw in setting up Apache and a thoroughly bloated namespace. PHP is a poor candidate. Yes, we hate PHP. Hurrr! It is so hard to setup…
I think the author got it wrong with the last sentence. The restaurant would be full with people that believe the complexity of said turd is proof of the craftsmanship of that developer and hence he is an Expert(TM). It…
Yes, the internet is full of these so called experts. How do they end up being upvoted here is telling about the quality of the average reader unfortunately. Sorry if I am hurting feelings here but it is true. You have…
Angular vs Ember perhaps would be more appropriate.
I am a bit reluctant about asking this but where do we stand in terms of real world performance? This is such a broad topic, I know, but surely there has to be some in-house metric system about this (perhaps popular web…
Any chance he suffered a profound trauma being under surgery? I imagine an utter fear of surgery and this could have been triggered by something really insignificant like a small tingling or just the thought of surgery,…
Uhm, I just went and had a look at learntomod.com. Are all of the kids these days software engineers? The "Blocks" language / tool looks waaay to complicated, how on earth are kids learning that?! This video for…
Java doesn't have any optimization flags and the debugging info slowdown makes sense I suppose. That is the exact difference between them, GCC with -O3 is almost 100x faster in another test I just did: 10s for Java, 0.1…
Now that is just ridiculous! With O2 and O3 I get 0.03 seconds on average! I try to understand what could possibly mean all of the flags that get switched on with optimizations from this page:…
PHP is no better, if you add an intval call it will add almost 4 seconds to the result! This is an extraordinary proof that being a little sloppy can cost you a lot when using interpreted scripting languages! Also, I am…
I am a clumsy individual. Dropping the int call resulted in shaving 3.5 seconds. But how is this possible?! It's ridiculous, really!
I have updated the test with the new figures that I got. Initially I only tested with Python 2 with math.pow. I have to say I am quite disappointed with the performance of Python 3 though and even using the built-in pow…
Some time ago I wrote a really simple code snippet to see the performance differences between Python, PHP, C and Java (the languages I tinker in) on my particular machine (i3 M 330, 2.13 GHz / 4 GB RAM / Ubuntu 15.04…
But isn't the title enough: "Calculating the intersection area of 3 or more circles"? What else do we need besides some numbers for the radius(es), x,y center coordinates etc? (I haven't visited the page and will try to…
> It's just a metaphor. In your opinion perhaps. In my opinion it's a perfectly good example of poor writing as well as a superiority complex. > If lithium were a deity, it wouldn't exist. Please.
I don't believe God made me specifically and I don't believe in God because I own him something. Also, God isn't slowly killing me by poisoning my body. Other people do that though (pollution). Other people do that…
Side rant: Claiming that you don't believe in God is equally annoying as those sect guys knocking at your door. I do believe in God and I find the use of lithium in treating these illnesses a hope (with potential dead…
That is pretty awesome that you've wrote a such a tool (although I can only imagine how long it took to create such a tool and how it affected the project time frame). From a web developer's mind: the coll thing is that…
Side rant: I just cannot believe people praising 'Unit Test'-ing. Fellow programmers, how exactly do you unit test a method / function which draws something on the canvas for example? You assert that it doesn't break…
Of course HN will always be biased towards followers of the hive. Don't worry, I won't be coming back. ;)
Isn't the word 'array' quite obvious that it will create an array? Since PHP 5.4 you actually have the shorthand "[]" version available but it is still obvious to anyone who is using PHP or JavaScript (though JS arrays…
You are absolutely right, strictly speaking it is the same thing. Getting a simple 'Hello World!' from the server though is a different thing but it is by no fault of Apache, Python is just not PHP when it comes to web…
> Given any programming task, you're just going to end up with better code in pretty much any other language, especially a functional one. This is the exact bull* that good hearted Haskell and Lisp guys have to face and…
> PHP is not the new BASIC. Combine the HTML/CSS/JavaScript arguments above, and throw in setting up Apache and a thoroughly bloated namespace. PHP is a poor candidate. Yes, we hate PHP. Hurrr! It is so hard to setup…
I think the author got it wrong with the last sentence. The restaurant would be full with people that believe the complexity of said turd is proof of the craftsmanship of that developer and hence he is an Expert(TM). It…
I think the author got it wrong with the last sentence. The restaurant would be full with people that believe the complexity of said turd is proof of the craftsmanship of that developer and hence he is an Expert(TM). It…
Yes, the internet is full of these so called experts. How do they end up being upvoted here is telling about the quality of the average reader unfortunately. Sorry if I am hurting feelings here but it is true. You have…
Angular vs Ember perhaps would be more appropriate.
I am a bit reluctant about asking this but where do we stand in terms of real world performance? This is such a broad topic, I know, but surely there has to be some in-house metric system about this (perhaps popular web…
Any chance he suffered a profound trauma being under surgery? I imagine an utter fear of surgery and this could have been triggered by something really insignificant like a small tingling or just the thought of surgery,…
Uhm, I just went and had a look at learntomod.com. Are all of the kids these days software engineers? The "Blocks" language / tool looks waaay to complicated, how on earth are kids learning that?! This video for…
Java doesn't have any optimization flags and the debugging info slowdown makes sense I suppose. That is the exact difference between them, GCC with -O3 is almost 100x faster in another test I just did: 10s for Java, 0.1…
Now that is just ridiculous! With O2 and O3 I get 0.03 seconds on average! I try to understand what could possibly mean all of the flags that get switched on with optimizations from this page:…
PHP is no better, if you add an intval call it will add almost 4 seconds to the result! This is an extraordinary proof that being a little sloppy can cost you a lot when using interpreted scripting languages! Also, I am…
I am a clumsy individual. Dropping the int call resulted in shaving 3.5 seconds. But how is this possible?! It's ridiculous, really!
I have updated the test with the new figures that I got. Initially I only tested with Python 2 with math.pow. I have to say I am quite disappointed with the performance of Python 3 though and even using the built-in pow…
Some time ago I wrote a really simple code snippet to see the performance differences between Python, PHP, C and Java (the languages I tinker in) on my particular machine (i3 M 330, 2.13 GHz / 4 GB RAM / Ubuntu 15.04…
But isn't the title enough: "Calculating the intersection area of 3 or more circles"? What else do we need besides some numbers for the radius(es), x,y center coordinates etc? (I haven't visited the page and will try to…
> It's just a metaphor. In your opinion perhaps. In my opinion it's a perfectly good example of poor writing as well as a superiority complex. > If lithium were a deity, it wouldn't exist. Please.
I don't believe God made me specifically and I don't believe in God because I own him something. Also, God isn't slowly killing me by poisoning my body. Other people do that though (pollution). Other people do that…
Side rant: Claiming that you don't believe in God is equally annoying as those sect guys knocking at your door. I do believe in God and I find the use of lithium in treating these illnesses a hope (with potential dead…
That is pretty awesome that you've wrote a such a tool (although I can only imagine how long it took to create such a tool and how it affected the project time frame). From a web developer's mind: the coll thing is that…
Side rant: I just cannot believe people praising 'Unit Test'-ing. Fellow programmers, how exactly do you unit test a method / function which draws something on the canvas for example? You assert that it doesn't break…