Better HN
topnewbestaskshowjobs
Log inSign up

jneen

2,047 karma · joined Jul 19, 2011 (15y ago) · 281 submissions

Submissions

1.

How to Make Programming Terrible for Everyone(jneen.ca ↗)

7 points · by jneen · 8mo ago · discuss

comment 8mo ago · link · parent

I mean, it has to be asked... was the source of chardet not in the training set...?

comment 11mo ago · link · parent

I've had my job offshored in the past, in case a personal anecdote is relevant here.

comment 11y ago · link · parent

Yeah, it's basically a toolkit for building jitted languages. Basically the easiest way to get a tracing jit these days. So it'll be a self-hosting jit similar to pypy or pixie.

comment 11y ago · link · parent

Yeah, it was a difficult decision to remove types - I'd gotten myself into a corner trying to tack on dependent types, and it just wasn't happening. My bet is that unlike most of the un{i,}typed languages out there (most of which I'd categorize as lisps and smalltalks), tulip provides tagging and destructuring that allows the programmer to maintain some level of control over the polymorphism. Tulip will panic at runtime for non-total functions, but ideally you'll have the tools necessary to keep the panic as close to the problem as possible.

comment 11y ago · link · parent

um, it's a flower

comment 11y ago · link · parent

Exactly! This is what the @method / @impl system is for - it's about equivalent to clojure's defprotocol. Future plans include named protocols consisting of multiple methods, and protocol-based matching.

comment 11y ago · link · parent

Argh, thanks for the cache link. I'm still on heroku free-tier :\

comment 11y ago · link · parent

Yep, it's my opinion, and that's why I put it into the design. Lots of language design comes from opinions. I hope it's borne out. FWIW it's the same approach Rust has taken, where macros have to end with a ! to make them visually distinct.

comment 11y ago · link · parent

Yep! It focuses more on dynamic type-checks than on static typing though, so I put it in the category of "untyped functional" - more like clojure and erlang than haskell or ml.

comment 11y ago · link · parent

It was a decision I made, partly because I realized they were right, and partly because I think tulips are pretty.

     ) (
    (  _)
      |/

12.

Tulip – An untyped functional language(jneen.net ↗)

77 points · by jneen · 11y ago · 58 comments

comment 11y ago · link · parent

See, I actually know it has to do with gender because I used to have a beard. I got treated very differently back then.

comment 11y ago · link · parent

As someone who has tried to document and report shitty behavior, it's important to keep in mind how risky that is.

Here are a few patterns I've observed:

pattern (a) MAN: does shitty thing; WOMAN: hey please stop; WOMAN's performance review: "has conflicts with MAN"

pattern (b) MAN: does shitty thing; WOMAN: reports shitty thing; MANAGER: oh MAN is a nice guy, why don't you try working it out yourself

pattern (c) MAN: does shitty thing; WOMAN: does nothing because she actually reports to MAN

comment 11y ago · link · parent

I have heard most of these things, and it sucks. This is hella real.

comment 11y ago · link · parent

If he is, it's pretty tame compared to the treatment of those who criticize him, and those who claim to support those who criticize him.

comment 12y ago · link · parent

Content note: plays sound.

Did the quick ^W at work :|

comment 12y ago · link · parent

This is essentially where I'm going with ix. Vim with an awesome haskell-like language underneath whose syntax is optimized for doing powerful stuff in command mode.

A prototype is at https://github.com/jayferd/ixl-prototype

comment 12y ago · link · parent

I don't know if this can be solved without a syntax change. As long as there is variable binding and variable mutation are conflated in the syntax, there's really no good way for the compiler to distinguish between the two. It's an unfortunate design decision that we may be stuck with if we want back-compat.

LiveScript is interesting, but seems to have Too Many Features for my tastes.

20.

Paul Graham and the Manic Pixie Dream Hacker(medium.com ↗)

3 points · by jneen · 12y ago · 1 comment

comment 12y ago · link · parent

ah, thanks, i didn't know that trick.

comment 12y ago · link · parent

why are we still listening to arrington again?

comment 12y ago · link · parent

Here's a collection of other writings by pg about women: http://sambiddle.kinja.com/paul-graham-writing-about-women-o...

This would be different if there were no context, but there is a lot of context.

comment 12y ago · link · parent

not sure why i can't reply to ars_technician, but fwiw sexism is a problem that we need protections against.

comment 12y ago · link · parent

Sarcasm is a brilliant tool to use against derailing.

comment 12y ago · link · parent

    function makeRef(x) { return function() { return x; }; }

comment 12y ago · link · parent

> Please stop. This attitude is offensive to both men and women.

comment 12y ago · link · parent

That's up to you. Maybe that will become more clear as you see the social power imbalance more clearly. Perhaps your framing of the whole situation would change, I don't know.

comment 12y ago · link · parent

> It's just a fact that men think a lot about sex

Please stop. This attitude is offensive to both men and women.

comment 12y ago · link · parent

Yes, turns out it takes some effort to be aware of power imbalance and work against it. Those words have different social meanings when spoken to a woman than when spoken to a man.
12345
10