HNHacker News
TopNewBestAskShowJobs

GeoJawDguJin

106 karma · joined January 23, 2009

submissionscomments
GeoJawDguJin··on PyRoom — distraction free writing
MacVim's full screen mode has the neatest implementation I've seen of this. Play with the 'fuoptions' setting, which gives you control over the margin color and the maximization behavior. If you disable maximization, it will just use the height/width values in 'lines' and 'columns' and the (borderless) window will be in the center of the screen.
GeoJawDguJin··on IPad Colocation
(  ≖‿≖)
GeoJawDguJin··on Smoking fast Haskell code using GHC's new LLVM codegen
Because... what? Any skilled engineer is somehow automagically also blessed with entrepreneurial spirit?
GeoJawDguJin··on Jobs: Flash would murder the iPad. Really now, let’s be realistic
And how is it that other third party software mysteriously has access to APIs that Flash allegedly doesn't? For example, MPlayer is able to offload work to the GPU.
GeoJawDguJin··on Who Can Do Something About Those Blue Boxes?
The Hulu developers didn't pick Flash because it was "easy." They picked it because it allowed them to retain a high degree of control over their streaming video content -- control they would lose if they exposed an h.264 stream to an iPhone or iPad client.

I think it could be five years or more before anyone watches Hulu or Netflix on any of these devices.

GeoJawDguJin··on The lost script: 1000-year-old African/Arabic writing system
That's kind of a bogus question to begin with. Africa is not exactly culturally homogenous, and in fact Egypt (and a lot of nearby civilizations) would be more appropriately regarded as part of the ancient Middle East, owing to the fact that it was easier to cross the Red Sea than the Sahara.
GeoJawDguJin··on Keyboard Manufacturers Are All Slackers
Currently, Apple only makes membrane keyboards. Even as membrane keyboards go, the best I can say about them (subjectively) is that they're not quite as awful as most of the competition.

A better comparison would be with old (early 90s) ADB models, such as the Apple Extended Keyboard II.

GeoJawDguJin··on How do I know China wrecked the Copenhagen deal? I was in the room.
I've seen some people use "myth" and "cult" to describe the theistic and worshipful aspects of religion, respectively. Unfortunately these words both have other, more common meanings with negative connotations, so using them in any sort of open discussion tends to raise some hackles.
GeoJawDguJin··on The Generic Dilemma in Go
In the most general case it uses boxing strategies, but it's also able to behave like C++ with certain compile-time optimizations turned on (at the cost of slowing down compilation). There's a lot of literature out there about how to take advantage of those optimizations. It's a fairly involved topic.
GeoJawDguJin··on The Generic Dilemma in Go
No, the simplest case for Haskell would be type variables. For example, the map function doesn't need typeclasses at all:

map :: (a -> b) -> [a] -> [b]

For the record, in Go+generics, this might look something like:

func map<A,B>(f func (A) B, xs A[]) B[] { ... }

GeoJawDguJin··on Linux Compose Key
These days, the Cocoa text system on Macs is so ridiculously feature-complete that you can do this in web browsers and chat programs as well, along with “smart quotes” and automatic spelling correction.
GeoJawDguJin··on Pastebin which is able to run your code. Accepts 40 languages.
"But a pastebin like no other in the Internet."

Isn't this pretty much a reimplementation of codepad.org? So that's not entirely accurate...

GeoJawDguJin··on MacRuby 0.5 beta 2 is out.
MacRuby relies on the Objective-C garbage collector, which is disabled on the iPhone.
GeoJawDguJin··on Writing a compiler in Python using Lex, Yacc and LLVM
It's a Haskell library: http://hackage.haskell.org/package/parsec

Here's a tutorial that uses it to parse a simplified Scheme: http://en.wikibooks.org/wiki/Write_Yourself_a_Scheme_in_48_H...

GeoJawDguJin··on Ask HN: Why Python over Ruby?
Rails folks are like that. Even though the rest of the Ruby community is much more reasonable, the weekly Rails debacle has driven a lot of people away from Ruby, including me.

If Rails weren't around, it would be much easier to enjoy Ruby without having to use it in isolation. Then again, a whole lot of people wouldn't have gotten into it in the first place.

Ruby lived fast and died young. If you don't want to use Python, learn Haskell.

GeoJawDguJin··on Hulu Desktop (Mac and PC clients)
That's nice. Now let's see an official client for set-top boxes, and maybe phones.

It's very buggy, by the way. Crashes within 30 seconds every time I use it.

GeoJawDguJin··on Ask HN: Has Hacker News been hacked/cracked?
There are a lot of bogus links showing up on the front page with obviously falsified vote counts (numbers starting with the digits "1337"). I'd say, yeah, it's been seriously compromised.
GeoJawDguJin··on Why aren't developers interested in Ada?
"Ada was created for the D.O.D according to their needs."

Fixed that for you.

GeoJawDguJin··on Js-scheme - a Scheme interpreter written in JavaScript
As if they're hard to write...?

    (define (foldr f end xs) (if (null? xs) end (f (car xs) (foldr f end (cdr xs)))))

    (define (foldl f start xs) (if (null? xs) start (foldl f (f start (car xs)) (cdr xs))))
GeoJawDguJin··on Ask HN: When was the last really transformational idea in programming languages?
Typesafe generics have been in ML from the get-go (1970s) from what I remember. People like to talk about how type inference is useful, but it's really the generic polymorphism that makes it shine.

I was hacking together an Arc interpreter in Haskell the other day, and after refactoring some of the hairier monadic code, I was horrified to see that the type signature for a particular function was twice as long as the function body. And that's with the compiler figuring it out for me... I don't know what I'd have done if it was C++ instead.

GeoJawDguJin··on The Beauty of Lisp-1
Some of them do. There are lots of redundant functions in CL, for reasons of backwards compatibility.
GeoJawDguJin··on Language Oriented Programming: The Next Programming Paradigm
I didn't bring up Lisp machines. I'd like to see a Lisp OS of some kind, though.
GeoJawDguJin··on Language Oriented Programming: The Next Programming Paradigm
> Could this be handled by macro programming on a lisp machine?

Sure!

Now all we need is a lisp machine that anyone can run on modern hardware. Any ideas?

GeoJawDguJin··on Ask HN: c++ or iPhone?
iPhone, iPhone, iPhone. If you know OOP and C (that's regular C), you can pick up Objective-C in a matter of hours. If you don't know C already, you'll have to learn it anyway as part of C++.

C++ is not generally a language people ought to learn unless they have to.

GeoJawDguJin··on Where do baby names come from?
How is babby nammed?
GeoJawDguJin··on Clojure: Genetic Mona Lisa problem in 250 beautiful lines
Someone should do Paul Graham, so he can write a new lisp dialect to write another program to evolve another version of Paul Graham to write a new lisp dialect to write another program to evolve another version of Paul Graham to write a new lisp dialect to write another program to evolve another version of Paul Graham to write a new lisp dialect to...
GeoJawDguJin··on Clojure: Genetic Mona Lisa problem in 250 beautiful lines
Honestly, the JVM is pretty crappy right now for functional language support. A lot of stuff has to be implemented by hand in either the compiler or the program itself. Several features in Clojure take the latter track at the moment.

I advocate tracking down people from Sun and asking them in a personable, friendly tone of voice to please fix this kind of problem. On their front lawns.

GeoJawDguJin··on John Carmack on Patents
The truly elite (or at least, those who think of themselves as such) know that "effect," when used as a verb, is (sort of) a synonym for "cause."
GeoJawDguJin··on Now this is a busy dashboard...
AAAAGGHHHH MY BROWSER
GeoJawDguJin··on Which language will build the cylons
From watching Stargate you can clearly see that the Cylons are programmed in Javascript.
Page 1 of 2Next →