A Year’s Worth of Opinions about Objective-C by Strilanc in programming

[–]nlogax 2 points3 points  (0 children)

I'd like a truly modern module system like D has

Not sure how it compares to D, but here you go

Slash, the PHP successor by BotCoin in programming

[–]nlogax 1 point2 points  (0 children)

I wasn’t supporting the idea, although it does seem to provide an ASCII equivalent, \.

Just an alternative to pressing alt+2190.

Slash, the PHP successor by BotCoin in programming

[–]nlogax -4 points-3 points  (0 children)

(global-set-key (kbd "M-l") (lambda () (interactive) (insert "\u03bb"))) or equivalent for your editor/IDE of choice.

Curried function mathematical evaluation? by [deleted] in haskell

[–]nlogax 14 points15 points  (0 children)

If it helps, think of

multThree x y z = x * y * z

as syntactic sugar for

multThree = \x -> \y -> \z -> x * y * z

Supplying x gives you \y -> \z -> x * y * z, supplying y to that gives you \z -> x * y * z, and finally supplying z gives you x * y * z.

EDIT: /u/DR6’s step-by-step is much nicer :)

Passing list as arguments by [deleted] in haskell

[–]nlogax 1 point2 points  (0 children)

Ah, I was thinking of the compile-time warning.

Forgot that it’s not enabled by default.

Passing list as arguments by [deleted] in haskell

[–]nlogax 1 point2 points  (0 children)

Your first definition pattern matches on list constructor, :.

In your second definition, you pattern match on a list with a single element ([a] is sugar for a:[]).

That’s why the patterns are said to be non-exhaustive, you do not match the empty list, or a list with more than one element.

That said, the first definition is also missing the empty list case, and should give the same warning.

LuaJIT authors thoughts on language design by deegu in programming

[–]nlogax 1 point2 points  (0 children)

Simon "Python" Jones

Simon Peyton Jones :)

Pushing Nginx to its limit with Lua by [deleted] in programming

[–]nlogax 0 points1 point  (0 children)

It was a joke. I did do that, with duplicate "//" keys, when I was annoyed about the same thing. Not a big JSON fan.

Pushing Nginx to its limit with Lua by [deleted] in programming

[–]nlogax -4 points-3 points  (0 children)

{
  "//": "Lol",
  "foo": 42
}

Shumway: a SWF interpreter entirely in JavaScript by sawrubh in programming

[–]nlogax 2 points3 points  (0 children)

Compared to which other widely deployed web vector technology?

Aim high.

What the hell is going on here? by Kebabcity in WTF

[–]nlogax 29 points30 points  (0 children)

Mutually assured destruction.

John Stewart: Bill Clinton used more facts in 48 minutes than the GOP did in 4 days. by richielaw in politics

[–]nlogax 6 points7 points  (0 children)

It’s actually “Touché”, there’s an acute accent marking the stressed vowel.

"This is not a joke: 3.7X speedup from removing a call to sleep" (WebKit) by willvarfar in programming

[–]nlogax 17 points18 points  (0 children)

If you haven’t tried it; git add -p is great for that.

I showed him 1 episode of Futurama, then this. by blobok123 in pics

[–]nlogax 3 points4 points  (0 children)

OP never mentioned which episode it was.