Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sharkbot
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
121.
▲
by
sharkbot
15y ago
Bram's suggestion of a 'scrambled dictionary' is definitely an interesting method of testing for erroneous order dependencies, but I'm unconvinced it deserves to be promoted to a language feature. If he's worried about the code changes in h
122.
▲
by
sharkbot
16y ago
I was just thinking the same thing; see "Traffic": http://moviebarcode.tumblr.com/post/3432016573/traffic-2000
123.
▲
by
sharkbot
16y ago
I wouldn't consider its use ironic. A curried function is generally implemented using closures (i.e., a function that remembers the lexical environment of its definition). It might be a slight abuse of terminology, but not one that should g
124.
▲
by
sharkbot
16y ago
From Phil Plait's blog ( http://mblogs.discovermagazine.com/badastronomy/2011/03/05/h... ), the journal is closing, albeit after a conspiracy-soaked rant: http://daviddobbs.posterous.com/journal-of-cosmology-going-o... Long story short: t
125.
▲
by
sharkbot
16y ago
I don't disagree with your premise, but there can be utility to trying out a number of different languages quickly and see which approaches resonate with you. A month with a language won't give in-depth knowledge of a languages' strengths a
126.
▲
by
sharkbot
16y ago
Lua's primary multitasking primitive is coroutines, and they work quite well. Preemptive threading support can be bolted onto the language, but the coroutine support is well thought-out and elegant, and doesn't suffer from the limitations o
127.
▲
by
sharkbot
16y ago
However, the article points out that we can only use the algorithm when we know it outperforms Yacc; read "know" as "proven theoretically".
128.
▲
by
sharkbot
16y ago
The handpuppet background cracked me up. To the haters: just skip around the video, and/or watch more Wonder Showzen.
129.
▲
by
sharkbot
16y ago
I don't think Carroll's remark is inconsistent. Rather, he's attempting to show the correspondence between everyday physics and (something like) elementary number theory; both consist of an agreed-upon set of axioms, subsequently focusing f
130.
▲
by
sharkbot
16y ago
Check out js-prolog: http://ioctl.org/logic/jsprolog-history It's a quick-and-dirty implementation of a Prolog interpreter, but it's a great resource for prototyping. JavaScript ports very well to Lua, so you should be able to port the c
131.
▲
by
sharkbot
16y ago
http://en.wikipedia.org/wiki/Shift-or Check out Shift-Or: used in agrep, and another example of a very clever algorithm. Rather than translating a non-deterministic finite state automata to a deterministic one, it uses the boolean operati