Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cgrand-net
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
61.
▲
by
cgrand-net
15y ago
Amongst the games there's also Maxam, a Z80 assembler.
62.
▲
by
cgrand-net
15y ago
Can anyone confirm whether a i7 MBA 11 has worst battery life than a 2010 MBA?
63.
▲
Help Clojure Eclipse Plugin author flying back from Clojure/Conj 2011
(groups.google.com)
2 points
by
cgrand-net
15y ago
|
0 comments
64.
▲
Help Clojure Eclipse Plugin author going to Clojure/Conj 2011
(code.google.com)
45 points
by
cgrand-net
15y ago
|
10 comments
65.
▲
by
cgrand-net
15y ago
They tend to force you to handle an exception at the wrong level. If you handle them correctly you still have to catch and wrap them at a low-level to not leak an implementation detail in methods signatures. IDE tend to be overly specific o
66.
▲
by
cgrand-net
15y ago
iOS isn't that much a toy if you consider it as the OS of an inout/output device (aka a dumb terminal).
67.
▲
by
cgrand-net
15y ago
In Clojure, the default collection for data modeling is the map (and has literal support). Unlike javascript, properties are namespaced so you can extend someone else map without fearing a nameclash. Records (which are objects with a user d
68.
▲
by
cgrand-net
15y ago
It builds a list of 2^100000 'x items (to put it in perspective a petabyte is 2^50) so obviously the list is not realized.
69.
▲
by
cgrand-net
15y ago
The routers used by SFR/Neuf and Free have the "guest wifi" on by default. There's even a partnership between SFR/Neuf and Fon.
70.
▲
by
cgrand-net
16y ago
> if I buy anything anywhere in the world, I owe the French government 20% of the amount of that purchase; if I'm able to hide my purchase in my suitcase, then I'm evading taxes, but I'm certainly never exempt. You are not evading the s
71.
▲
by
cgrand-net
16y ago
In the same vein, albeit more on the implementation-side, there was a nice talk by David Liebke at last Clojure Conj: http://blip.tv/file/4645227
72.
▲
by
cgrand-net
16y ago
It's a design choice to value explicit naming (and easier nesting) over brevity. Anaphoric macros are not idiomatic in Clojure (there is only one: proxy), implicit introduction of locals is frowned upon (and you have to fight the hygienic m
73.
▲
by
cgrand-net
16y ago
Enlive already performs some caching on static parts of the template (and will do more as soon as I get enough time in a row to work on it). Lau's way of handling login/logout is rather unusual and goes against the grain of Enlive: he puts
74.
▲
by
cgrand-net
16y ago
In French too (produits blancs/bruns).
75.
▲
by
cgrand-net
16y ago
I think one can use [a b] and destructuring instead of cons/car/cdr and be as elegant.
76.
▲
by
cgrand-net
16y ago
ok, I give up! this shadow was a point of disagreement between me and Lau :-)
77.
▲
by
cgrand-net
16y ago
like clojurebot says: "for is not a loop" doseq is.
78.
▲
Best In Class - Screencasting behind the scenes
(bestinclass.dk)
12 points
by
cgrand-net
16y ago
|
0 comments
79.
▲
by
cgrand-net
16y ago
I wonder how the vibration would feel at a high frequency. Would we perceive blurry "flat" image or depth-of-field-blurry 3D image?
80.
▲
by
cgrand-net
17y ago
No recur won't help you: it's only for self tail recursion, not for mutual tail-recursive calls. You can use a trampoline or refactor your code.
81.
▲
by
cgrand-net
17y ago
There's no such thing as an effective benchmark. Plus cell automatons are easy to write efficiently in an imperative/low-level language (eg an asm impl is easy) and are only representative of a small specialized class of programs: I don't t
82.
▲
by
cgrand-net
17y ago
Linq is indeed nice. The Clojure code can be made easier to understand using a list comprehension: (reduce + (for [{:keys [productioncost sdfactor]} assets :let [liquidvalue (* productioncost sdfactor)]
83.
▲
by
cgrand-net
17y ago
For Clojure, invoke-dynamic means faster non-hinted (reflective) calls. And faster multimethods.