Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
gngeal
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
43 ms
·
391.
▲
by
gngeal
14y ago
Unless you smelt your own silicon for the transistors and ICs, it's cheating!
392.
▲
by
gngeal
14y ago
"where numbers are boxed doubles on the heap, etc." Actually, you don't know that. Since doubles are immutable, the runtime can (and does) cheat, including turning many of them into integers. It all boils down to predictable usage patterns.
393.
▲
by
gngeal
14y ago
"In Belgium, if you have studied engineering at university for 5 years, you get a pay not that much higher than those who immediately start working without university, at least in technical/programming jobs." And in the US, whatever extra p
394.
▲
by
gngeal
14y ago
"Excel is not functional. It is declarative. You declare the relationships between the cells and Excel uses those to propagate changes." Whereas in functional languages, the functions declare relationships between values and the language us
395.
▲
by
gngeal
14y ago
I'm just wondering...will France ban pupils from wearing these shoes in schools? ;)
396.
▲
by
gngeal
14y ago
"There's arguments for and against both methods. Back when I first started programming, memory was a luxury (we're talking 80's personal computers here), so it made a great deal of difference. These days, however, choosing an integer type w
397.
▲
by
gngeal
14y ago
"And as the various comments there show, .Net does it right, and better than any of the methods they list." .NET has generics? I mean, actual generics, not simple first-order parametric polymorphism with type constructors of the kind (* -&#
398.
▲
by
gngeal
14y ago
Sometimes, with smart data structures for specialized cases (persistency, better asymptotic behaviour etc.), it can happen that memory accesses dominate the actual execution. If that happens, and you can't saturate CPU's execution units, th
399.
▲
by
gngeal
14y ago
"It's a great attitude to have for creating cool new things, I suppose, but it feels like it's moving too fast for me to keep up, is Node.js not cool anymore? What about Backbone? Lua? what the hell is Hadoop? How about a new Lisp? " As fa
400.
▲
by
gngeal
14y ago
I've never used any IDE other than Emacs, so I can't comment on that.
401.
▲
by
gngeal
14y ago
Honestly, I can't remember finding a recent text editor that couldn't do it, TextAdept being the latest one. Sublime Text definitely has major selling points (in the sense of having advantages compared to other editors) but this is hardly
402.
▲
by
gngeal
14y ago
"at most (not all) things ST beautifully follows the "don't make me think" principle: eg. arbitrary multiple cursors (no other IDE or editor besides Notedpad++ has them yet, no matter how many users requested this for JetBrain IDEs for exa
403.
▲
by
gngeal
14y ago
Well, to be honest, I hope that the fight for feminism hasn't gone so far as to mandate that "there are no psychological and behavioral differences between men and women at all" be taught as The One Truth.
404.
▲
by
gngeal
14y ago
You know, that one also has yet to be seen with a good implementation.
405.
▲
by
gngeal
14y ago
How many people are thinking of an issue for every persion than mentions it?
406.
▲
by
gngeal
14y ago
I edited my post to make it clear that that was a quote. :-) I also think that in case of OOP, it's an incidental outcome. (Efficient code reuse clearly needs more than just to have your program have a message-passing based architecture.)
407.
▲
by
gngeal
14y ago
It's not just recursion, it's calls in general, I guess. (There are other ways of being space-inefficient in functional programs, see the odd versus even streams issue in Scheme.) Are you going to mention tail calls in ES6 in your book, BTW
408.
▲
by
gngeal
14y ago
Tail calls are not as much about "deep recursion" as they are about continuation-passing style, compositionality, and similar things. It's like with lazy evaluation. It allows you to write novel kinds of algorithms and data structures, and
409.
▲
by
gngeal
14y ago
"Code re-use is the goal. FP and OOP are just means to that end." I think that both of you are right, to some extent. Code reuse is a goal, because it's better than writing everything anew every time you need some functionality. But it'
410.
▲
by
gngeal
14y ago
"Seems like we're still not sure it's left due to lack of agreement on what constitutes leaving" It's like leaving a country by staying in place while the borders are being redrawn on the map. ;)
411.
▲
by
gngeal
14y ago
"they had nothing to back that up." You mean that they received an insufficiently broad (or overlapping) range of presentation submissions?
412.
▲
by
gngeal
14y ago
Don't even get me started on this, having been out of scene for a while, I just yesterday found out about Dan Weinreb. ;/
413.
▲
by
gngeal
14y ago
.cz
414.
▲
by
gngeal
14y ago
That just shows how ridiculous the laws in UK/US are. Around here, what you're describing would be expressly against the law.
415.
▲
by
gngeal
14y ago
Perhaps the cleanest and most polite thing people could do with this would be "keep the API, completely rewrite the implementation, throw away the original".
416.
▲
by
gngeal
14y ago
"That's true if and only if he didn't continue to refine and contribute to the code after entering employment, and specifically, didn't use it at his place of employment." The same could be applied in reverse: if he wrote a considerable par
417.
▲
by
gngeal
14y ago
Was he also asked by his employer to take down his "final year university project" that this was supposed to be? That sounds a little bit incongruous to me. Or was the "final year university project" also somehow related to his job output p
418.
▲
by
gngeal
14y ago
Note that GP didn't mention the means in which the yielding was to be invoked.
419.
▲
by
gngeal
14y ago
Well, two other options for you are using the coco library with stock Lua 5.1.x, or simply using LuaJIT.
420.
▲
by
gngeal
14y ago
Are you sure about that? I thought that yields across C functions were added in Lua 5.2. Not to mention that in a controlled environment like the runtime that Wikipedia exposes to you, you can take care of avoiding exposing APIs that would
More ›