Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nene
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
nene
14y ago
Didn't really work out for me. I listed my project[1] there, but for some reason it's detected as having 0 issues. Additionally my project is listed under JavaScript repos, while in reality it's both JavaScript and Ruby project, it just hap
2.
▲
by
nene
14y ago
The same would happen with cars if the drivers didn't care of getting to their destination faster, just enjoying the ride for the ride's sake.
3.
▲
by
nene
14y ago
Maybe it's because you can write the latter also with plain grep: grep 'silver.*needle' haystack
4.
▲
by
nene
14y ago
Now that would take the gray comments a step further by making them completely invisible :) I can't really see the benefit of hunting the comments from your code with cursor. It definitely would make it even more unlikely that comments aren
5.
▲
by
nene
14y ago
Neat, but it's still a very linear narrative, with the addition of having to type in commands to be able to read the next section. Would have been much better if the review was exposed as an API which you could explore freely. And maybe som
6.
▲
by
nene
14y ago
Just like you can't look at the sun directly - because it's too bright... and Hubble is constructed to mainly look at the faint objects far-far away.
7.
▲
by
nene
14y ago
I'm a bit disappointed, that the author didn't built a turing-complete interpreter. Frankly I've seen several of such articles which tell you how to build this kind of deterministic evaluator, but they all seem to stop before loops and bran
8.
▲
by
nene
14y ago
So what's the big difference of doing it on server side v/s client side? You can get it wrong on both sides. Especially what's wrong with a templating system? A templating system on server side can help avoid casual escaping bugs by doing a
9.
▲
by
nene
15y ago
Maybe the author hasn't read it. He only included the ones he had read. I'm more surprised that under the title "everyone should read" are three Joel Spolsky books.
10.
▲
by
nene
15y ago
I've been switching between 2 and 4 spaces through my whole programming career. Even now I'm switching daily between different languages and projects with different amount of indentation. And I for one have noticed no correlation between bu
11.
▲
by
nene
15y ago
What struck me most was having multiple-choice answers on a math test... WTF? You shouldn't be able to just guess the answers one-out-of-four. When I was in school (not in US) there never was such a thing. You simply solve the problem and w
12.
▲
by
nene
15y ago
It's not really automatic interpolation. You have to very explicitly place the variable name inside ${var}. I'm puzzled in how you would think this will happen accidentally, or more accidentally than writing "+var+". I've used Ruby quite a
13.
▲
by
nene
15y ago
I would argue the contrary, that the very reason why HTML took off so fast was that any fool was able to craft a site, and it would work even if it had a few bugs in it. Failure tolerance is a great feature. Especially if you consider it in
14.
▲
The Magic of IE: Conditional Compilation
(triin.net)
1 points
by
nene
15y ago
|
0 comments
15.
▲
by
nene
15y ago
You seem to suggest that money is a better motivator than reputation. Money is a motivator, but it's often the wrong kind of motivator. Money can bring in people who do it just for the money. Especially as the money that any site can pay fo
16.
▲
by
nene
15y ago
The Wikipedia page doesn't really explain how the language works. The manual is a much better source: http://shakespearelang.sourceforge.net/report/shakespeare/
17.
▲
by
nene
15y ago
Care to explain how Linus got it wrong? I've never used Monotone, but searching the web I could't find a single thing in which Monotone was better than Git (although I did find information of the opposite kind).
18.
▲
by
nene
15y ago
3. For a limited time? 20 years is pretty much forever in the software industry. So sure you might start to look at alternative ways, but it can be quite hard when the obvious solution is patented. But often the patent attempts to cover the
19.
▲
by
nene
15y ago
Do you know anybody who acquires new knowledge by reading patents? 1. Because of the legalese language in which patents are written it's pretty damn hard to even understand what is patented. 2. Even if you understand what the patent is abou
20.
▲
by
nene
15y ago
Well... you can do all these things when there's no DRM at all. It's like counting up all the things you can do in a new modern prison, but it's still a prison.
21.
▲
by
nene
15y ago
IMHO Github code search totally sucks. It's better than nothing, but it feels like the bare minimum - just a normal fulltext index applied to source code. - It's not case-sensitive, which sucks for searching code. - It's unable to search fo
22.
▲
by
nene
15y ago
But the thing is, they are not primitives: > Although you might expect int and double to be primitive types, they're actually interfaces that extend the num interface. This means that int and double variables are also nums.
23.
▲
by
nene
15y ago
My hopes were high, but the more read about it, the more it started to look like Java: class Foo implements Comparable Observable Deniable ... Why not have interfaces like in Go, where you just define a set of methods and all class
24.
▲
by
nene
15y ago
Well, in PHP you already have a mandatory '()' at the end of function call - so it's pretty hard to confuse the two. Additionally if your language has first class functions, it would feel kind of strange if names of some functions started w
25.
▲
by
nene
15y ago
> Remind me to call my wife before I leave work Might be implemented as: while (get_location() == work) { sleep(1min); } go_back_in_time(10min); trigger_reminder();
26.
▲
by
nene
15y ago
And you are assuming that there never will be a need for parallel development? Further more, having that kind of naming scheme might actually hold you back from doing parallel development - aka using git to its full potential. I regularly m
27.
▲
by
nene
15y ago
In short term yes, but if we got rid of patents then Google wouldn't have to spend billion dollars on patents each year. I don't think Google is so short-sighted.
28.
▲
by
nene
16y ago
I already have hard time parsing this code. The main problem I see, is that to read the code I have to know every single keywords in the language. For example I was wondering if "new" is a keyword. If it is, then "new string ()" might be so
29.
▲
by
nene
16y ago
Well, use Whitespace then: http://en.wikipedia.org/wiki/Whitespace_(programming_languag...
30.
▲
by
nene
16y ago
Comparing with === does not perform type coercion, while == does and the rules for type coercion in JavaScript are even more funky than for semicolon insertion.
More ›