HNHacker News
TopNewBestAskShowJobs

sordina

222 karma · joined January 17, 2010

submissionscomments
sordina··on Meteor and Qt
It's definitely monolithic, but depending on what you're doing it can be a real time saver to have a lot of decisions made for you up-front.
sordina··on Ask HN: How can I remedy scatter brain and information overload?
Dedicate set blocks of time to read novels. Only on Sundays for example. It doesn't matter what the book is, as long as it's fiction. It can be trashy but fun stuff like The Davinci Code... In fact, the lighter the better to start with. The important thing is that you read them from start to finish. This resets scatter brain. No joke. Physical books are the best way as well, since a Kindle lets you get distracted too easily. Just grab a book and go to the park.
sordina··on The New Haskell Homepage
I'd either link from the heading, or add some variety to the "View examples" links.

Possibly something like:

    * Show me a world without Null
    * How does Haskell help me scale?
    * When does less code give me more?
    * Take me on a tour of Hackage
sordina··on Functionally Solving Problems With Haskell
The majority of this book is also highly portable. The techniques can be applied across languages very easily, although, the Haskell implementations are very elegant.
sordina··on Scala – 1 Star – Would Not Program Again
It's actually very funny: http://www.willamette.edu/~fruehr/haskell/evolution.html
sordina··on How do GameShark/GameGenie codes work?
The wikipedia article for GameShark is pretty lean. I'm sure someone experienced in this subject could contribute a great deal of information.
sordina··on Bayes' rule in Haskell (2007)
Yes, the article was about simplifying statistical operations. The comments were inferring that some observed practices may have followed as a consequence. I'd prefer to discus the meat of the article, but it's not unusual to see comments go off on a tangent like this.
sordina··on Bayes' rule in Haskell (2007)
What people are referring to with respect to Google is that if higher-level statistical operations are as easy as an if statement, then this may explain why google takes (presumably amorally) such a statistical approach their customers (because it is easy to).
sordina··on What I Wish I Knew When Learning Haskell
Agreed.
sordina··on What I Wish I Knew When Learning Haskell
The majority of the 'proofs' I've seen that jQuery isn't a monad seem to either be probabalistic, or use the "Burden of Proof" argument to show that since nobody has proved that jQuery is a monad, we should assume that it isn't. I agree that jQuery probably isn't a monad, but it rubs me the wrong way that people aren't willing to say "It has yet to be determined if jQuery is a monad".

Obviously it is trivial to show that it isn't a monad by the fact that javascript permits any action in pure code, but by the same token, unsafePerformIO proves that Haskell has no monads. I think it's fair to operate under a reasonable subset of jQuery functionality when asking the question.

sordina··on What I Wish I Knew When Learning Haskell
I'm not sure you actually disagree with his method of learning monads.

He primarily advocates for avoiding the use of analogies, which you seem to agree with. He advocates using concrete monads in real code, which you also seem to agree with.

The only contentious point might be learning typeclasses and how monads fit into the Typeclassopedia. If you want to be able to trace how your monad-using code is evaluated this is a necessity. Like it or not. Also, attacking monads from both the concrete and the abstract at the same time seems to be a good approach, with satori being achieved once the understandings meet. A dynamic-programming approach?

You may possibly be disagreeing with the order in which he lists these components of learning in his 'Eightfold Path', but if the analogy to the Buddhist teachings is followed further, then the steps need not be taken in sequence.

The slides certainly include many monad examples besides maybe at any rate.

I think the slides are worth another look :)

sordina··on What I Wish I Knew When Learning Haskell
This is very good. I'm getting a bunch of new tricks out of this even though I regularly use these libraries.
sordina··on Apple's tribute to Steve Jobs, one year on.
They cut out a significant portion, but not the last note. It's done more often than not when this prelude is used as backing music.
sordina··on Rumor: Microsoft In Acquisition Talks With Rdio
No one is attacking anyone or even trolling. The joke is that someone would misunderstand the headline, thinking that it was implying that Rdio was Acquiring Microsoft. The prospect of someone thinking this is so preposterous that it is funny. At least to me...
sordina··on Show HN: We got tired of asking 'What browser are you using?' and created this
I noticed that in Chrome too, but with 'click to play' turned on for plugins in the preferences... Not sure if it's a good or bad thing actually, since I'd rather sites assume I'm displaying flash so that I can continue blocking the flash content they want to show me, rather than them displaying it via other means.
sordina··on Unix Commands I Abuse Every Day
I've come to use the following command so often that I've written a script for it in my ~/bin - 'narrow':

    #!/bin/bash
    xargs -n 1 grep -l "$@"
This takes a list of files on stdin, then greps for the argument in all the files and spits out the matching files.

The perk is that it can be chained:

    find *.txt | narrow dog | narrow cat | narrow rabbit
This will find all the files that contain dog, cat, and rabbit.
sordina··on Philip Wadler: Faith, Evolution, and Programming Languages
I wish I could get a foothold on natural-deduction. I feel that it would be great to have an intuitive understanding, but at the moment all I can see is symbolic manipulation.
sordina··on Responding to Wired's ad hominem hatchet job
I'm not certain of the exact context since the comment has been deleted, but the impression I gained was that my parent comment suggested tenuously that a person could justify a sexist position taken against an individual due to a statistical bias in the sexes. I was trying to emphasise that this position couldn't be taken logically, not suggesting that "may or may not" was being applied in a non-aggregate fashion.
sordina··on Responding to Wired's ad hominem hatchet job
> ... one might argue that a woman may or may not understand a female target audience better

One might argue that women _on average_ may or may not understand a female audience better, but I can't even begin to think how someone wouldn't understand that variations between individual understandings would dwarf any potential divide here.

sordina··on Tardis--Haskell package for sending state backwards and forwards through time
For those that don't want to wait until the similarities emerge, they begin at ~39 minutes. Obviously the primary motivation of the talk was entertainment, however, I imagine that the Perl implementation of "positronic variables" is actually somewhat equivalent to TardisT IO.

Although, this is just a guess as I don't know if the perl implementation is available anywhere.

sordina··on Tardis--Haskell package for sending state backwards and forwards through time
Reminds me of the talk "Temporally Quaquaversal Virtual Nanomachine Programming In Multiple Topologically Connected Quantum-Relativistic Parallel Timespaces...Made Easy!" surrounding some 'similar' ideas in Perl:

http://blip.tv/oreilly-open-source-convention/oscon-2008-dam...

sordina··on Most Pressed Keys and Programming Syntaxes
Shouldn't shift be twice as hot as the parentheses?
sordina··on Late bloomer, not a loser. (I hope)
Is it this Ambition: http://www.pagat.com/invented/Ambition221.pdf? [PDF]
sordina··on What was your "ah ha" moment with Haskell?
I didn't have a single "ah ha" moment, but things became much clearer when I realised that although it was possible to have heterogeneous collections through the use of type-classes, what I nearly always wanted was to create a new data type with a constructor for each behaviour I was interested in encompassing.

The fact that data-types are so cheap, both syntactically and computationally, really frees you up from having to worry about not creating them. I did go too far the other way for a while and created new types for everything. There exists a happy middle ground, but it's hard to define where exactly it lies.

sordina··on Secure Shell chrome (killer) app
I wholeheartedly agree.

To those saying "who cares" consider that you may wish to use this extension on a computer where you don't feel comfortable issuing your Google login credentials.

sordina··on Stop writing classes...
What advantage would a Point3D class have over, say, a Point3D data-structure here? (ernest question)

Is it the interface it provides, the types, the coupling of methods to data, or something else?

sordina··on Y in Practical Programs (Extended Abstract)
I've been using externally driven recursion quite a lot in some toy programs lately, and it is extremely helpful when profiling different memoization schemes. Where once you would have had to change a sizable chunk of your explicitly recursive function, now you can simply use combinators to generate different implementations, be it for profiling purposes, or even runtime optimization :)

-- General implementation

type T = Int -> Set [Int]

g :: T -> T

...

g' = fix g -- Very slow

g'' = memoFix integral g -- Fast, Generic

g''' = memoFix integer g -- Fast enough to use

On a side note, the paper seems too readable to me! Usually these kinds of topics are presented in such a way as to make them almost completely incomprehensible. Something must be very wrong here.

[edit: How do you quote code?]

sordina··on Ask HN: Sorting massive text files?
Have you looked at indexing the data using something like lucene?
sordina··on A Snowball's Chance In Hell : IronRuby
I think this article is reading way too much into the issue. I'm guessing Microsoft canned IronRuby because there weren't enough people using it to justify the continued development required to keep up with the canonical version.
sordina··on Vimium - the hacker's browser
How does this detect if there are already key-events set for a web-application such as gMail?
← PreviousPage 3 of 4Next →