HNHacker News
TopNewBestAskShowJobs

rntz

2,169 karma · joined May 25, 2009

www.rntz.net email: http://www.google.com/recaptcha/mailhide/d?k=018XOhLYKe9NqLdmoSmt6HsQ==&c=mcxnT-9mQPQEL6wailXqNUHk3aPs4Jv1T3vTJsNNAkg=
submissionscomments
rntz··on Letter to a Young PL Enthusiast
http://en.wikipedia.org/wiki/Maya_(illusion)

I'm not sure which part you didn't understand; this is my best guess. I believe the author is trying to say that syntax is a superficial appearance, and not relevant to - indeed, a distraction from - understanding the true beauty or ugliness, utility or disutility, of the concepts embodied in a language.

rntz··on How does one get off Haskell?
Using a worse (ahem sorry, "dis-preferable") language isn't like playing an easier part. You're still expected to solve the same problems, just in a different way. It's more like trying to wheeze out the same piece on a beat-up second-hand excuse for a trombone.
rntz··on First replicating creature spawned in life simulator
There's already a term - "spaceship" - for patterns which, after a certain number of generations, are translated images of themselves. Indeed, the forum post by the pattern's author describes it as such. However, it seems that the mechanism by which this pattern is translating itself is self-replication followed by self-destruction (if I'm reading the original post correctly - I'm not an expert on the Game of Life), which is unique.
rntz··on "You Don't Understand Ordinary People" - Feynman Gives Advice to Wolfram
I'd like to see a transcript of the letter this was written in response to.
rntz··on British exam board removes C and PHP from Comp-Sci A-Levels
"Touched the whole spectrum"? Hardly. What about logic programming languages (eg. Prolog), stack-based programming (eg. Forth), concurrent programming (eg. Erlang)? And that's leaving out more esoteric ideas like FRP (Functional Reactive Programming), the funky type systems needed for efficient purely functional languages, and the less-well-known OO constructs (multimethods, metaobject protocols, etc).

No CS curriculum can ever both touch the whole spectrum of what there is to offer and be reasonable to mandate for all students. Inevitably, some students will want the minimum necessary for practical work and others will want to explore as many avenues as possible. The importance is in striking a good balance: exposing students to enough different paradigms to produce good computer scientists without requiring so much that they never get enough real experience with specific languages to be good programmers.

rntz··on Things Unix can do atomically
Some of the things he mention have nothing to do with Unix or Posix. __sync_*, for example, are gcc-specific. Similarly, F_GETLEASE, F_SETLEASE, and F_NOTIFY are Linux-specific fcntl() operations. And as far as I can tell, the -T option isn't included in the Posix spec for mv, either (http://www.opengroup.org/onlinepubs/000095399/toc.htm).
rntz··on The Future is Movie OS
I have to say, I hope the future looks a lot less like Movie OS and a lot more like the Anti-Mac: http://www.useit.com/papers/anti-mac.html
rntz··on The Use Case for Blocks
The use case mentioned can be fulfilled by another feature ruby already has, if I'm not mistaken: first-class continuations. Simply have "return" be syntactic sugar for invocation of a contination that is implicitly created by a "def"-defined function. No need for a separate type of object, just add some syntactic sugar and hey presto.
rntz··on Rats Cooperate in Prisoners' Dilemma
The actual payoff matrix the experimenters used is here: http://www.plosone.org/article/slideshow.action?uri=info:doi...

It does follow the rules of prisoner's dilemma, as far as I can tell.

(Found via the link to the original paper, http://www.plosone.org/article/info:doi/10.1371/journal.pone...)

rntz··on U.S. must stop spying on WikiLeaks - Details on intimidation attempts
Moral != 1?
rntz··on Can you get cp to give a progress bar like wget?
Ah, good point. I'm personally used to zsh, which doesn't have that particular misfeature.
rntz··on Clojure Pre- and post-conditions: a quest for a nicer syntax
I've looked on the Clojure website, and I can't seem to find documentation on Clojure's default syntax for pre- and post-conditions. Can anyone point me to it?
rntz··on Can you get cp to give a progress bar like wget?
Alternatively, you could just write a shell function:

   cp() { pv < $1 > $2; }
(Or name the function something else if you want regular cp still available.)
rntz··on Is math a socialist plot?
I think he's trying to make the point that influential idealogues, more often than not, are intellectuals.

I'd like to note that, even if they are correlated, this does not in itself show that there is a causative relationship between intellectualism and dangerous ideology.

rntz··on Black Perl
The overall point the post you replied to was trying to make, it seems to me, was that it's not about what bad things you can or can't do in a language, it's about whether the language encourages or facilitates bad habits. You can muck about with pointers in Haskell, but it's made very obvious - by the community, by the documentation, by the typesystem - that you're doing something potentially unsafe and risky. Similarly, though perhaps a little less so, with Python etc.

As has been said before, it's not important what a language makes possible, so much as what it makes easy -- and, I'd like to add, what it makes hard.

rntz··on Scala: A Postfunctional Language
Point Y is in fact, not true. unsafePerformIO is not part of Haskell, the language. It is an additional feature provided by GHC. (Similarly, the typeof keyword and statement-exprs are not part of C, but extensions provided by GCC.) Interesting Haskell programs can and usually are written entirely without use of unsafePerformIO.

This is, however, a fairly minor technical point. More importantly, I feel that the division the article's author makes between two definitions of functional programming is misleading. "Functional programming", just like "object orientation" and "imperative programming" and "logic programming" and "structured programming" and every other "paradigm", is not a term with one or even two well-understood clearly separated definitions; it is a term for a grab-bag of features, tendencies, and patterns of programming languages. The world of FP isn't divided into people who think that only absolutely pure languages should be used and people who think that any language with first-class functions is okay; it's a continuum. The author just happens to be further towards the "anything goes" end of the spectrum than the authors of the articles he is replying to.

rntz··on The Generalist's Dilemma
"... the blogger greatly overestimates his or her skills in other areas."

The author never claims to be great at everything; merely to be good at many things. Your point is not ridiculous, but it is mostly irrelevant. To be fair, I don't think you deserved the downvote, but I can see why it might be given.

rntz··on Why Lisp is Awesome
This isn't why Lisp is awesome. This is why Lisp was awesome, back 50 years ago. Every single one of these features has since been adopted by mainstream scripting languages. What still sets Lisp apart is its metalinguistic capability - macros (hygienic or not).
rntz··on Android is a screwed, hard-coded, non-portable abomination.
That's fairly redundant.

    char *p;
    while (p = strchr(tmpfn, ' '))
        *p = '_';
rntz··on Ask HN: Seeing points again?
IMO, the inability to read facial expressions etc. from mere text does a good deal of ground-leveling between the real-world socially adept and socially awkward, which is at least an interesting, if ambiguously desirable, feature of online interaction.
rntz··on Why I use the MIT licence (by author of Rack)
There are several licenses which attempt to imitate or facilitate public domain status already, most notably Creative Common's CC0 (http://creativecommons.org/about/cc0) and the WTFPL (http://sam.zoy.org/wtfpl/).
rntz··on _why is no more
> Unlike most of us here, _why never profited directly on his online celebrity status.

Most of us are online celebrities?

rntz··on Ask HN: What is the preferred cheap host (for low bandwidth sites)?
If your site were static or PHP-based, nearlyfreespeech.net offers a really good deal: you pay only and precisely for what you use in terms of bandwidth and storage. Unfortunately the only way to use Python or other languages on it is via CGI (not even fastCGI or SCGI, which would be tolerable).
rntz··on Ask HN: A better metric than lines of code
According to Paul Graham (http://www.paulgraham.com/arcchallenge.html):

  The most meaningful test of the length of a program is not lines or
  characters but the size of the codetree-- the tree you'd need to represent
  the source. The Arc example has a codetree of 23 nodes: 15 leaves/tokens
  + 8 interior nodes. How long is it in your favorite language?
So instead of measuring lines of code, you measure the size of the AST. Works well for Lisp, at least; not sure how well it generalizes to other languages.
rntz··on Coding Horror: All Programming is Web Programming
Then he should pick better titles for his blog posts.
rntz··on Time Sort (Noguchi) Filing System
The optimality of move-to-front (under what precise meaning of "optimality" I couldn't tell you) for organizing a list is a fairly well-known result in computer science. Knuth mentions it in TAOCP, vol 3. It's a wonder it took this long for someone to apply this result to real life.
rntz··on The Ultimate Theoretical CS Cheat Sheet
I find the inclusion of Escher's Knot a bit... whimsical.
rntz··on Meeting Ticker
Nice app.

However, it assumes certain things about the size of the font displayed, without which it displays incorrectly. And guess what? In my case, it assumes wrong. Bad web design.

rntz··on Ask HN: Thoughts on performance-enhancing drugs?
As an ADHD-affected person myself, the above resonates strongly with me as a description of its symptoms, and indeed of my thoughts regarding ADHD itself. I have been on ADHD medication (first Ritalin, then Concerta; both use methylphenidate as their active ingredient, as opposed to Adderall) for over a decade now, and have suffered negligible ill effects.

One thing in particular I'd like to note is that my dosage has steadily decreased over the years, not just because my symptoms have become less severe, but because I have noticed there is a certain "threshold" dosage - not just of methylphenidate, but of stimulants in general - beyond which the effects of further medication or stimulants on me change. This change is not a complete reversal; a stimulant is still a stimulant. But up to this threshold, stimulants aid my ability to resist impulses and concentrate on things I may not be interested in, while beyond it, they make me hyperactive and give me the jitters without significantly aiding my concentration. Furthering the vision analogy, this threshold seems to me the logical equivalent of 20/20 vision. This threshold dosage has itself been steadily decreasing. (My actual vision, on the other hand, has been steadily getting worse.)

rntz··on Useful command-line scripts for web developers (or anyone else really)
from `man grep`:

     -A NUM, --after-context=NUM
            Print  NUM  lines  of  trailing context after matching lines.  Places a
            line containing a group separator (--)  between  contiguous  groups  of
            matches.  With the -o or --only-matching option, this has no effect and
            a warning is given.

     -B NUM, --before-context=NUM
            Print NUM lines of leading context before  matching  lines.   Places  a
            line  containing  a  group  separator (--) between contiguous groups of
            matches.  With the -o or --only-matching option, this has no effect and
            a warning is given.

     -C NUM, -NUM, --context=NUM
            Print  NUM  lines  of output context.  Places a line containing a group
            separator (--) between contiguous groups of matches.  With  the  -o  or
            --only-matching option, this has no effect and a warning is given.
← PreviousPage 14 of 15Next →