HNHacker News
TopNewBestAskShowJobs

deltasquared

88 karma · joined May 27, 2011

submissionscomments
deltasquared··on Strange multiplication behavior in Guile Scheme interpreter
Looking at guile version 2.0 this behaviour is fixed.
deltasquared··on Strange multiplication behavior in Guile Scheme interpreter
Looks to me like an underlying overflow bit isn't being checked properly in some cases.
deltasquared··on Why Everyone Eventually Hates or Leaves Maven
For me personally, leinigin is why I don't use Maven that much ^_-

Also, you would be surprised just how much "Java" programming you can do with a decent XML editor. IDE's are overrated.

deltasquared··on Hello Haskell, Goodbye Scala
Nice choice! Learn You a Haskell for great good is an excellent book, I learned a lot reading it.
deltasquared··on Tron Legacy (2010)
Also there is the totally useless capslock key, it could be mapped to meta just fine ^_^

See point 1 on Steve Yeggies's list of things to consider with emacs.

https://sites.google.com/site/steveyegge2/effective-emacs

deltasquared··on Tron Legacy (2010)
I wonder why he used eshell not term.
deltasquared··on Tron Legacy (2010)
Why don't you have fun making functional dashboards that look like they belong in Hollywood?
deltasquared··on Noam Chomsky on Where Artificial Intelligence Went Wrong
Personally I am with Norvig on this issue. Statistical methods work and are progress.
deltasquared··on The "Clockwise/Spiral Rule" in C
I think the gist of your argument is this: both C languages and s-expression based languages are touring complete and thus isomorphic.

For any given C compiler I can write a lisp program that gives the same answers for input. Likewise for any Lisp program I can make input for a c compiler that yields the same behavior. I know this because both c and lisp are touring complete. Yay formal languages !!!

But touring completeness and isomorphism are not exactly the same thing. When you run into undefined behavior in your c/c++ program, there does not exist exactly one s-expression to cover the possible interpretations of every compiler. You may need to write several compiler specific s-expressions to cover all the behaviors from the same c expression.

These compiler specific difference break the mappings required for isomorphism.

Lisps also have two different ways of evaluating input. Lazy and strict. So one s-expression may require several c expressions to deal with edge cases. Nothing is perfect.

Sadly, either way you look at it, c expressions are not quite isomorphic to s-expressions.

I agree with you about left to right vs right to left precedence. That's actually why I prefer s-expressions to order of operations and infix notation.

Also some complexity is inherent, some is self imposed. Sometimes static typing is nice and catches errors. Sometimes dynamic typing can save a lot of keystrokes.

deltasquared··on The "Clockwise/Spiral Rule" in C
This is why I like S-Expressions
deltasquared··on How Lisp is Going to Save the World
Well if you want to use common lisp to make a web page, Conrad Barski(who drew the OP comic) has a guide here: http://lisperati.com/quick.html
deltasquared··on Valve And Xi3 Team For ‘Piston’ Steam Box
Likewise, my Windows 7 PC runs Steam only.
deltasquared··on Dependency Injection is a Virtue
No, Dependency Injection is a language specific pattern. A pattern useful in Java, but not in Ruby.
deltasquared··on Starcraft On Android - With Full Touch Controls - Is On The Way [video]
Well people managed to port mips binaries (from nintendo 64 games) to x86 in 1999. I remember using UltraHLE:

http://www.emulator-zone.com/doc.php/n64/ultrahle.html

That was interesting because the typical PC of the time was not exactly speedy.

deltasquared··on Four-coloring a Dodecahedron
Fun! Best of luck finding your internship.

As for the control, here is what I would do:

    Imagine a circle on the center of the screen that stopps the spin, outside the circle, rotate with a speed proportional to the distance from the center.
deltasquared··on JQuery Core 1.9 Upgrade Guide
Because was working with jQuery 1.5, and data-types showed up in 1.5.1
deltasquared··on Understanding map, filter, and fold
If you are working with C# these functions are available in linq: map is Select, filter is Where, and reduce/inject/fold is Aggregate in Microsoft speak.

I use those methods all the time when I have to do C# code.

I do wonder why these operations lack a standard name. Still, I think map-reduce sounds a lot better than map-inject or Select-Aggregate or map-fold.

deltasquared··on JQuery Core 1.9 Upgrade Guide
This stuff never works happily. I don't really trust jQuery to handle JSON/JSONP properly.

It is easy enough to drop back down to calling XMLHttpRequest by hand. Sample code is here, and changes to jQuery won't break it: http://stackoverflow.com/questions/5395118/jquery-1-5-json-e...

deltasquared··on When You Fall Into a Black Hole, How Long Have You Got?
I wouldn't worry so much about the event horizon so much as what is right outside of it.

The tidal forces and the x-rays resulting from said forces are pretty much lethally intense.

http://chandra.harvard.edu/chronicle/0104/tidal/index.html

deltasquared··on Poll: What kind of tool do you use to write code?
Forced to use an IDE at work, emacs at home.
deltasquared··on The Woman Charged With Making Windows 8 Succeed
R12 was a thing of beauty.
deltasquared··on The Woman Charged With Making Windows 8 Succeed
I still miss autolisp
deltasquared··on Magic Roundabout
I know the place! Give me that roundabout any day. At least that way everyone is scared into being careful.
deltasquared··on Magic Roundabout
I hear you. Although that roundabout is scary, some of the entry ramps to the A-14 are worse. It feels like you have 3 meters to merge with two lanes full of inexpertly driven lorries.
deltasquared··on Magic Roundabout
I have been there once. It was the scariest roundabout I have traversed. The contra rotating flow (inside goes one way, outside goes the other) makes it extra exciting.
deltasquared··on The Unix Philosophy and a Fear of Pixels
The technique is not exactly Microsoft only. Using some sort of SGML to represent graphics seems pretty common.

I suspect that XAML is somewhat related to Adobe's MXML. Both seem pretty similar in concept to Mozilla's XUL, or even GLADE XML. Recent versions of HTML, with behavior defined in something like jQuery seem to be reaching for this kind of thing as well.

They all boil down to a representation of a tree in memory used to sort out what goes where on a screen.

Also, not all Text based UX is a command line. Russ Cox has an interesting if not exactly short demonstration of the ACME editor. http://research.swtch.com/acme Not all Text based UI's are command lines.

deltasquared··on Why C++ Is Not "Back"
NaCL on Android, P\Invoke on C#, and JNI on Java exist for a reason.

Sometimes the VM gets in the way, sometimes the library, or bit of hardware you need to use, only has a C or C++ interface library.

Learning C++ is still important, because, developers who don't understand how C++ works have little chance of knowing how to find an entry in a COM export table.

C++ isn't coming back, it never really went away.

deltasquared··on Redline Smalltalk V1.0
The reason you don't see many implementations of Scheme is that Java's calling conventions do not jive well with tail call optimization. This is the same reason that Clojure has the recur keyword: http://clojure.org/special_forms#Special Forms--(recur exprs*)
deltasquared··on The Marco.org Review of John Siracusa’s Review of OS X 10.8 Mountain Lion
Wow, a Review-Reviewer-Review ^_^

Now, who reviews the reviewers reviewers reviewer?

deltasquared··on Linux Played a Crucial Role in Discovery of 'Higgs boson'
They make their own data analysis software called ROOT. It is C++ based. I got to use some of this when I was an undergraduate in the late 90's. Looks like it is still going strong.

If you are interested, it is all open source and available here: http://root.cern.ch

← PreviousPage 2 of 3Next →