Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Havvy
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
23 ms
·
1.
▲
by
Havvy
10y ago
You can't diff between 2.47 and 2.48 and see what changed? Or is that a binary part you don't have source access to?
2.
▲
by
Havvy
10y ago
Rust has plans for a `become` operator for tail call optimization.
3.
▲
by
Havvy
10y ago
Because there's no version control that way. If I depended upon babel/babel (or whatever it's called on Github), when it changed from v5.x to v6.x, it would have broken my build.
4.
▲
by
Havvy
10y ago
On Linux, it's 30ish lines, with half of those there to make false.c able to reuse some code. (I know, it's stupid.) In OpenBSD, it's 3 LoC IIRC.
5.
▲
by
Havvy
11y ago
JavaScript doesn't have XSS. The DOM allows for XSS vulnerabilities, but that's an API, not the language.
6.
▲
by
Havvy
11y ago
The author really likes lesbians - see her twitter feed for example. You can safely ignore the 'and gay' part as just a bit of her personality coming out in her artwork as far as the technical argument goes.
7.
▲
by
Havvy
11y ago
Lowest common denominator says to default to ES5, tell people that's the default, and then show them how to change it later if they want or need to.
8.
▲
by
Havvy
11y ago
That's because the core of OO (message passing to opaque things) is really all you can do if you have a PID. In other more-traditional object-oriented languages, they usually have defaults that let you do more than just send messages -
9.
▲
by
Havvy
11y ago
If you're talking about a good type system, sure. The type system in Go is frankly terrible at describing the kinds of invariants and reuse we care about. I'd dare say that diaylizer (Elixir's optional but easy to use type sy
10.
▲
by
Havvy
11y ago
A compiler takes a text from one language and translate it into text of another executable language.
11.
▲
by
Havvy
11y ago
It's called a merger.
12.
▲
by
Havvy
11y ago
instanceof cannot be determined statically because I can do... const a = {}; Object.setPrototypeOf(a, SomethingElse);
13.
▲
by
Havvy
11y ago
Anything ES6y implemented in modern versions of V8 that aren't in the version that Node.js is using cannot be used. E.g., if you use `"strict mode";`, `const` works in an ES6 way in io.js but throws a syntax error in Node, th
14.
▲
by
Havvy
11y ago
I don't think Grooveshark counts as a startup.
15.
▲
by
Havvy
11y ago
Bloodletting isn't witchcraft. It removes iron from the body such that virii and bacteria trying to reproduce would have problems. It makes the host environment more hostile to the invading species. It has a lot of negative side effect
16.
▲
by
Havvy
11y ago
I see a problem. Neither C nor C++ have garbage collection and other similar runtime features that every scripting language has. As such, if you rely a lot on these features, you could run into issues when translating into a lower level - e
17.
▲
by
Havvy
11y ago
I do believe Hacker News killed the site by too much traffic.
18.
▲
by
Havvy
11y ago
Grammatical correctness is a fluid thing. "they/them/their" used singularily is one of those things that is on the edge of being accepted. Thing is, schools are slow to react and will keep saying it's wrong using a
19.
▲
by
Havvy
11y ago
Another company owns the redistribution rights for the UK and the AU, and that company has decided not to allow it on YouTube until a point in the future. IIRC from other YouTube comments, there's a 2 week delay. Kind of stupid in a gl
20.
▲
by
Havvy
11y ago
JSON.parse takes a string of "JSON" and turns it into a JS object. It doesn't evaluate the string in a JS context at all, which is what eval() does. Some people have used eval() to do JSON parsing because JSON is a subset of
21.
▲
by
Havvy
12y ago
Almost perfect, but you left an unmatched close parenthesis before the call operator.
22.
▲
by
Havvy
12y ago
I've seen Minecraft generate 400Mb/min worth of garbage and then GC with a noticable stutter. The most egregious stutter though is when Minecraft generates new chunks. Minecraft is not a well-coded game. ;)
23.
▲
by
Havvy
12y ago
It'd be `()` and make it so that every side effecting function would be at minimum two lines long, and be a visible wart. It's pretty easy to tell that if the function returns something, the last line evaluates to that expression
24.
▲
by
Havvy
12y ago
Mining bitcoin is a speculative lottery. The bitcoins actually be transferred around were given originally to those who won that lottery, but after that, they're just traded like money. In the future, the winnings from the lottery is a
25.
▲
by
Havvy
12y ago
platform agnostic, environment agnostic, cross-platform. We already have words that mean exactly what is trying to convey. Taking a word that doesn't and adding it to that pool (especially when isomorphic has a meaning in mathematics a
26.
▲
by
Havvy
12y ago
This is of no use to me. I generally want to know the font styles I'm working with. Seeing black bars doesn't help with that.
27.
▲
by
Havvy
12y ago
w.r.t. macros, have you looked at Elixir, Rust, Sweet.js?
28.
▲
by
Havvy
12y ago
Infinite loops aren't necessarily a form of misbehavior in Erlang. It is how you keep Erlang processes up after all - just spawn a function that calls itself at the end. Though the vast majority of those have a receive statement so tha
29.
▲
by
Havvy
12y ago
I'd consider structs that implement various traits (to use Rust's terminology) to be more of a 'usual' approach to an object model. You can see the approach with mixins in many scripting languages, Rust's entire obj
30.
▲
by
Havvy
12y ago
"There are lots of scripting languages out there, but many have unusual or non-existent object models. Wren places classes front and center." Does it make me unusual to find classical object models shouldn't be considered a &
More ›