Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nene
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
31.
▲
by
nene
16y ago
For me the reason to always use semicolons is the same reason I always use ===. There are just too many rules to remember and I've got more important things to keep in my mind. It's also good to have your JavaScript look like the JavaScript
32.
▲
by
nene
16y ago
Why do you think self-driving-cars are so far fetched? We already have some pretty good prototypes. Additionally, what would be those massively positive effects? I can see less car accidents and reduced amount of mundane driving, but I woul
33.
▲
by
nene
16y ago
From the interview: - How can you patent something like online flight planning? [--] Were you just first ones to think of patenting it? - According to the Patent Office, that is correct. The interviewer tries to squeeze information out f
34.
▲
by
nene
16y ago
What struck me most was this passage: In order to thwart piracy, she refused to allow her latest novel to be released as an audiobook since the format is popular with file-sharers and also denied the publication of Russian and Chinese vers
35.
▲
by
nene
16y ago
You can't introduce s-exprs into an ordinary language - it would cease to be an ordinary language and become a Lisp dialect instead.
36.
▲
by
nene
16y ago
Yeah, the UNIX ln command is full of trouble. * The arguments order is just the opposite of common sense. It has taken me years to really remember it, and I still have to think a little every time I use it. * The default is to create hard l
37.
▲
by
nene
16y ago
Does anyone know how this "most popular languages" list is calculated? I can imagine several methods: * Number of projects containing a language. * Number of projects having most of the code in a language. * Lines of code in a language. * N
38.
▲
by
nene
16y ago
From the article: > In addition to improving peak performance as measured by the V8 benchmark suite, Crankshaft also improves the start-up time of web applications such as GMail. As I understand it, there is more to Crankshaft than just
39.
▲
by
nene
16y ago
Hmmm... I don't know much about COBOL, but Wikipedia tells me that she wrote the initial specification of the language, and given that it doesn't look to me as such a big stretch to name her at least as one of the main inventors of the lang
40.
▲
by
nene
16y ago
> Unit Testing - Do you unit test your JavaScript? IMHO the simple boolean answer doesn't really tell you that much. There is a big difference between someone having only a few unit-tests for a huge codebase, v/s someone having most of
41.
▲
by
nene
16y ago
I think it could be made more legible by having a lowercase font instead. Most of us are accustomed to recognizing entire words by just the shape of them, but uppercase text doesn't provide much cues for such pattern-matching.
42.
▲
by
nene
16y ago
I think it is just taken out of the context from the article, where it's just below a code sample with a fair amount of lambdas in it.
43.
▲
by
nene
16y ago
I find this hard to believe. Maybe if one is still living in the mainframe era and doesn't have a truly personal computer at all. Do you have any real examples of this?
44.
▲
by
nene
16y ago
> By any chance, is your most recently elected president called "moot"? Sorry. I don't understand this comment. Is it trying to say, that electronic voting is by definition a failure? It doesn't seem to criticize any specific aspect of
45.
▲
by
nene
16y ago
Found an answer. The problem is that String.fromCharCode takes multiple arguments and Array.map also passes multiple arguments to the callback, therefore the equivalent of numbers.map(String.fromCharCode) is actually: numbers.map(func
46.
▲
by
nene
16y ago
That's exactly what I was thinking: * In the first version each time the anonymous function is executed interpreter has to lookup String and from it the fromCharCode method => 2n lookups. * In the second version the String and fromCharC
47.
▲
by
nene
16y ago
I decided to try writing the same thing in JavaScript and discovered something really strange. My first idea was: numbers.map(function(x){return String.fromCharCode(x);}).join(""); This was pretty fast already, but why not eliminat
48.
▲
by
nene
16y ago
It's hard to find a worse example than php, because when many "bad" languages fail in one or the other category, php seems to fail in most categories. * Java has a really repetitive syntax, but it's libraries might make up for that. * C++ w
49.
▲
by
nene
16y ago
Hammer and screwdriver are equally ugly/pretty. But that's beside the point - it's not the ugliness of php that puts people off, it's the clumsiness and awkwardness of the tool.
50.
▲
by
nene
16y ago
It's sad that this app doesn't work with a normal desktop browser - IMHO one shouldn't rely completely on touch events. It almost works with Android, except for the special-characters-menu, the tooltip of which gets hidden under textarea.
51.
▲
by
nene
16y ago
Emacs doesn't really come with out-of-the-box great support for most languages. Even for one language there are usually several alternative modes available, from which you have to choose. Even for Lisp you probably want to consider SLIME in
52.
▲
by
nene
16y ago
Actually, I found the Slashdot commentary a lot more informative then the crypic IRC chat, which I couldn't force myself to read through.
53.
▲
by
nene
16y ago
WTF's / minute ? http://www.osnews.com/images/comics/wtfm.jpg
54.
▲
by
nene
16y ago
Thanks, this was a really interesting read.
55.
▲
by
nene
16y ago
Oh... so this guy basically patented the evil method of associating registration code with specific hardware configuration. But he should have used it for good and sayd: "No Microsoft, I will not allow you to use this technology at all." IM
56.
▲
by
nene
16y ago
Even if it's not meant to be true, I find it even more disturbing that the symbolic and English formulations doesn't seem to quite match up. (IMHO the symbolic formulation doesn't state that n must be integer.) It's like the source code and
57.
▲
by
nene
16y ago
That's IMHO a good thing - you can easily filter out somebody who says "C/C++/C#" - I wouldn't want to work in that kind of place.
58.
▲
by
nene
16y ago
As far as I know, that language has always been called Go! (your referenced wikipedia page doesn't state otherwise, although the wikipedia page for Go! didn't even exist before Google annouced its Go language).
59.
▲
by
nene
16y ago
But don't you also have to trust a bus-driver, airplane-pilot, etc. And all kind of things can go wrong with these human drivers: they might be drunk or under some medication, they can die in a sudden hart attack, they can just make bad dec
60.
▲
by
nene
16y ago
Yeah... Apparently this turns out to be a link bait. The author seems to confuse self-learning with learning only the theory. The real title should be: "Theory without practice is overrated". And when you word it this way, it's hardly anyth
More ›