Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
stiff
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
18 ms
·
121.
▲
by
stiff
13y ago
I don't know Smalltalk well enough to say for sure, it's just my rather vague impression that Smalltalk is more compiler-friendly, likely based mostly on what I've read over the years about this, for example looking at: http
122.
▲
by
stiff
13y ago
I would like to read an actual in-depth comparison. While undeniably the quality of the Ruby implementation has a long way to go, Ruby has very "loose" semantics and I think some of the optimizations that are possible for Java, Ja
123.
▲
by
stiff
13y ago
When you have a multiplication of 5-10 matrices that has to be done in the correct order, the expression gets horribly unreadable when written as nested function applications. And those kinds of expressions are ubiquitous in numerical compu
124.
▲
by
stiff
13y ago
This is just another one of those speculative stories invented out of thin air that are supposed to be plausible just because they illustrate some reproductive advantage of one trait over another and are hence deemed to be "evolutionar
125.
▲
by
stiff
13y ago
I do not deny his genius, but popular accounts of scientific work certainly tend to overemphasize individual contributions and downplay the overall incremental progress a generation of scientists of various statue can make. It has the pract
126.
▲
by
stiff
13y ago
This is simply completely untrue. Newton synthesized a lot of earlier results in physics and mathematics into a unified framework, and he deserves a lot of credit for that obviously, but nevertheless it was a synthesis and not something don
127.
▲
by
stiff
13y ago
This is from 1998, and Peter Norvig has long since switched to Python. "LISP - a Language for Internet Scripting and Programming", Timothy J. Hickey, Peter Norvig, and Ken Anderson LUGM'98: Proceedings of Lisp in th
128.
▲
by
stiff
13y ago
There are huge performance improvements in Ruby 2.1.0 as compared to Ruby 2.0.0, I have seen as much as a 2x improvement in real world settings, and they have to with Ruby now having a generational garbage collector: http://www.i
129.
▲
by
stiff
13y ago
See this discussion: http://superuser.com/questions/343572/how-do-i-reorder-tmux-... It kind of works in the end, but it's arguably a bit more awkward to use than in screen.
130.
▲
by
stiff
13y ago
This actually works with GNU Screen. Because of this, and because of the lack of workspace reordering in tmux, I seem to be actually about the only person who likes Screen more than tmux.
131.
▲
by
stiff
13y ago
Testing with randomized inputs is a reasonably well established engineering technique: http://en.wikipedia.org/wiki/Fuzz_testing Certainly it is not going to replace many other kinds of testing necessary for building r
132.
▲
by
stiff
13y ago
This idea that a software engineer picks a language as his "favourite" and becomes a "Ruby developer" or a "JavaScript developer" ever since is completely misguided, and I'm sad to see it cherished further
133.
▲
by
stiff
13y ago
The last sentence from this piece is just beautiful, it has become my personal motto: For a successful technology, reality must take precedence over public relations, for nature cannot be fooled. It captures in a capsule form the reasons
134.
▲
by
stiff
13y ago
There is no such thing as "true" randomness, in fact in rigorous mathematical probability theory "randomness" itself belongs to the class of undefined concepts like the concept of a line in Euclidean geometry. In the end
135.
▲
by
stiff
13y ago
On top of that over 200,000 children were kidnapped from Poland during WWII, most of which never returned: http://en.wikipedia.org/wiki/Kidnapping_of_children_by_Nazi_...
136.
▲
by
stiff
13y ago
Apps of how many LOCs have you migrated? I have been migrating one and the same Rails app from version to version for around 5 years now, and we are currently at around 50k lines of code. When you are taking about "couple hours of work
137.
▲
by
stiff
13y ago
The textbook by Guttag you say is out of print was simply replaced by a newer edition: http://mitpress.mit.edu/books/introduction-computation-and-p...
138.
▲
by
stiff
13y ago
pidstat from the sysstat package seems to be excellent for what I was looking to do. Thanks a lot, both tools are keepers!
139.
▲
by
stiff
13y ago
Is there a tool that would allow collecting historical data on memory and CPU usage patterns of individual processes? In troubleshooting you are frequently dealing with the situation that some process is "exploding" in memory or&#
140.
▲
by
stiff
13y ago
I will answer my own question: http://en.wikipedia.org/wiki/Back-rank_checkmate
141.
▲
by
stiff
13y ago
Surprisingly this has brought some memories, I remember my father beating me in a chess game exactly the same way in just a few moves, back when I was a kid, my chess knowledge to this day sums up to knowing how the pieces move, and my fath
142.
▲
by
stiff
13y ago
Mostly not blog posts, but for the last years I tend to revisit the same resources over and over again for inspiration: - "You and your research" by Hamming, and his video lectures which expand on topics in the original talk: htt
143.
▲
by
stiff
13y ago
Uhm, operations research is what, at least 75 years old now? And this is exactly classical operations research stuff, at least the idea is nothing new: http://en.wikipedia.org/wiki/Operations_research#History http:&#x
144.
▲
by
stiff
13y ago
Thanks for the great resources. I still wonder to what extent is it at all possible to do cache-friendly data structures on the JVM. Besides the somewhat abstract data structure considerations of the kind posted, there is still the issue of
145.
▲
by
stiff
13y ago
Those days I guess the phrase "linked list" shouldn't really appear without the phrase "locality of reference" somewhere near. From what I understand, the only practical context in which classic linked lists could b
146.
▲
by
stiff
13y ago
It's an example, not a real program, I do like however to call my variables "file", "path", "buffer" instad of having "f", "p" and "b" or "buf", especially when ther
147.
▲
by
stiff
13y ago
I got confused about the details, but this does hit me, the example I had in mind is this: package main import ( "container/list" "fmt" ) func main() { list := list.New() list.PushBack(10) l
148.
▲
by
stiff
13y ago
I edited that part of the comment out because it was not really related to anything, but I meant that all identifiers go into a single (language-level, not program-level) namespace, e.g if you have a struct type called Bytes, you can't
149.
▲
by
stiff
13y ago
The size has to be known at compile time, though. One can do a slice of slices, but then it's not necessarily continuous in memory. So you are left with allocating a one dimensional array of size x*y and doing index calculations by han
150.
▲
by
stiff
13y ago
I really hope this will get solved in the language itself, I like Go quite a bit, but there are quite ugly places, all related to generics I guess: - No min/max for integers (and Go doesn't have the ternary operator) - No IsMember
More ›