HNHacker News
TopNewBestAskShowJobs

gtrak

123 karma · joined May 16, 2011

submissionscomments
gtrak··on Programming Languages: What tool is right for which job?
sounds like a job for clojure, lazy seqs and java's threading and network libraries make this sort of thing not too terrible
gtrak··on Ask HN: Please stop "This."
This.
gtrak··on Programming Languages Suck at UX
I very much believe in beautiful and clear monospace. This can translate into benefits for the time it takes your eyes and brain to interpret what you see. Time is money.
gtrak··on Programming Languages Suck at UX
This article is clearly a troll, specifically the issue of monospace. Also, some monospace fonts are better than others. I was using consolas for a while, and have recently switched to ubuntu mono for the sake of beauty and clarity. I would never use a proportional font for programming, in part because positions of things matter and inform your reasoning. Here's a good blog post about beautiful programming fonts: http://hivelogic.com/articles/top-10-programming-fonts/

In particular, this claim is totally unsubstantiated: "Fixed-width fonts are a typographical oddity that survived through tradition and little else."

As a pretty young programmer, I don't use monospace or really anything only for the sake of tradition. It's the best tool for the job, even if it was by accidental means. I don't think a language optimized for proportional fonts would be superior in any way for it. In fact, monospace is superior in that you can choose to convey information with STRUCTURE. This capability becomes muddied and confused with proportional fonts.

gtrak··on Programming Languages Suck at UX
counterexample, try this with a proportional font:

  abcde 11111

  ilili 22222
gtrak··on Meet Korma, a SQL DSL for Clojure
the thing is, to implement something like linq in C# or any language requires compiler changes, with clojure or any lisp, this is library-level. You can't make korma or linq in something like java, it's too conservative. Macros!
gtrak··on How Khan Academy is using machine learning to assess student mastery
the professor did say people make careers off of what we already know with linear and logistic regression.
gtrak··on Introducing Immutant - a true, enterprise-grade application server for Clojure
maybe for coders that have to deal with MBA's
gtrak··on Apple Lossless Audio Codec is now open source (Apache license)
What's the point of this over flac?
gtrak··on Gerald Sussman: "We Really Don't Know How To Compute"
It's too bad we only saw his face and not his interaction with the slides, watching him explain the circuit and math examples live was like watching an olympic gymnast.
gtrak··on Gerald Sussman: "We Really Don't Know How To Compute"
He's also saying our programs can't be un-brittled yet, and we want to solve more dynamic problems.
gtrak··on Gerald Sussman: "We Really Don't Know How To Compute"
you can set your user agent to ipad to get an mp4
gtrak··on Up and Running with Clojure
jetty uses non-blocking i/o internally as well, just by the time it hits the servlet layer it's thread/request.
gtrak··on Real world Clojure
I think the point is that less ceremony makes it feel like less progress is being made, but actually it's equivalent. Information density is much higher compared to java, but the programmer is still rate-limited himself, so his brain will work at the same rate. The benefit would show up in time spent reading and in higher signal/noise as you don't have to spend brain cycles dismissing boilerplate. It's not as big a boost as say garbage collection vs no garbage collection, but still notable. I think clojure's immutability story reduces cognitive load quite a bit on its own. Also, I don't think clojure has the craziness of perl, but I've never used perl. It's pretty easy to read, IMO.
gtrak··on Up and Running with Clojure
Reminds me of this: http://blog.dhananjaynene.com/2011/08/cperformance-compariso...

note the retraction after he tried to keep everything updated for a while.

gtrak··on Up and Running with Clojure
thank you for informing the numbers, I get much better results with straight ring and jetty through clojure, so it's annoying to see 'clojure is exactly this slow relative to the others'
gtrak··on Up and Running with Clojure
It's hard to know what you're actually testing without profiling. My guess is it's only the overhead of netty and lamina at play here, and not clojure itself. There are profiling facilities to know for sure, and the author should try to check that out. I can get like 8k request/s from clojure with jetty last time I tried.
gtrak··on Tell HN: I just open-sourced the e-mail client I spent 2 years of my life on
is the ipad port also in C#? How do you make something so native-looking?
gtrak··on Tricky Programming Concepts Aren’t
Actually they are.
← PreviousPage 3 of 3