Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
bite_victim
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
1.
▲
by
bite_victim
11y ago
Of course HN will always be biased towards followers of the hive. Don't worry, I won't be coming back. ;)
2.
▲
by
bite_victim
11y ago
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 arr
3.
▲
by
bite_victim
11y ago
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 development
4.
▲
by
bite_victim
11y ago
> 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 fix be
5.
▲
by
bite_victim
11y ago
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 doesn't matter
6.
▲
by
bite_victim
11y ago
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 to be a special flake
7.
▲
by
bite_victim
11y ago
Angular vs Ember perhaps would be more appropriate.
8.
▲
by
bite_victim
11y ago
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 and scientific frame
9.
▲
by
bite_victim
11y ago
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, of a foreign element
10.
▲
by
bite_victim
11y ago
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 example: htt
11.
▲
by
bite_victim
11y ago
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 for C. When you
12.
▲
by
bite_victim
11y ago
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: https://gcc.gnu.org/onlinedocs&
13.
▲
by
bite_victim
11y ago
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 thinking if and how
14.
▲
by
bite_victim
11y ago
I am a clumsy individual. Dropping the int call resulted in shaving 3.5 seconds. But how is this possible?! It's ridiculous, really!
15.
▲
by
bite_victim
11y ago
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 function, PHP 5.6 st
16.
▲
by
bite_victim
11y ago
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 x64). The res
17.
▲
by
bite_victim
11y ago
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
18.
▲
by
bite_victim
11y ago
> 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.
19.
▲
by
bite_victim
11y ago
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 whose end
20.
▲
by
bite_victim
11y ago
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 serious side effe
21.
▲
by
bite_victim
11y ago
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 the tool c
22.
▲
by
bite_victim
11y ago
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 the