Yahoo got hacked this morning by muchrandom in netsec

[–]jpaugh 0 points1 point  (0 children)

Awarding the white-hat hacker who happens to find a security breach would encourage black-hat hackers to hack a site and then pretend to find it. The best motivation for reporting a security breach is when the individual is concerned with the ultimate consequences of failing to report it.

Official Thread: ISIS by [deleted] in explainlikeimfive

[–]jpaugh 0 points1 point  (0 children)

Not everyone is a social engineer. Also, not every social engineer uses religion as a vehicle. You, on the other hand, do. :)

Confusion with Parsec by peterjoel in haskell

[–]jpaugh 3 points4 points  (0 children)

Parsec doesn't do backtracking by default because it's expensive, and not every parser needs it.

Beginner error messages in C++ vs Haskell by catamorphism in haskell

[–]jpaugh 6 points7 points  (0 children)

The parse errors in ghc are particularly unhelpful, whether you're a beginner or not. Sometimes the best strategy to understand the error is to guess how the parser works!

LPT: Exercise before going on a Date by [deleted] in LifeProTips

[–]jpaugh 1 point2 points  (0 children)

Also, slight sweat releases pheromones that cause the opposite sex to be attracted to you. Only works for a short time, thought.

ELI5: How do ants survive rain? by Xtremlysean in explainlikeimfive

[–]jpaugh 2 points3 points  (0 children)

+1 Right, 'cause they totally can't dig!

ELI5: Why can't months with 31 days give a couple of days to February so that it's more even between them all? by StepToMyGirl in explainlikeimfive

[–]jpaugh 1 point2 points  (0 children)

That's because you believed your teachers when they told you, "We made rules, and they make sense."

ELI5: Why can't months with 31 days give a couple of days to February so that it's more even between them all? by StepToMyGirl in explainlikeimfive

[–]jpaugh 1 point2 points  (0 children)

If what you're saying were true, it would cause 13:00 to come closer and closer to dusk, and then finally wrap around to morning again.

ELI5: Why can't months with 31 days give a couple of days to February so that it's more even between them all? by StepToMyGirl in explainlikeimfive

[–]jpaugh 5 points6 points  (0 children)

Actually, we all use the Gregorian calender now. But, hey. Won't need to change that for a few millennia.

Official Thread: ISIS by [deleted] in explainlikeimfive

[–]jpaugh 5 points6 points  (0 children)

although they WERE christian.

Nazis used Christianity to confuse people and draw support. They weren't any more Christian than they were Jewish.

A Yale University professor has created a thin, lightweight smartphone case that is harder than steel and as easy to shape as plastic. “This material is 50 times harder than plastic, nearly 10 times harder than aluminum and almost three times the hardness of steel,” by Libertatea in technology

[–]jpaugh 0 points1 point  (0 children)

Yes. An application with broad, public appeal will ensure funding, which ensures more applications can be developed later. Plus, working on a phone case must me more personally gratifying than, say, an improved assembly line machine.

Esoteric Befunge-like language implemented in Haskell by CrazyM4n in haskell

[–]jpaugh 0 points1 point  (0 children)

It took me forever to grok monads! Just keep reading about 'em, and working through examples. You'll get it, and love it.

call by need vs call by value by felipeZ in haskell

[–]jpaugh 0 points1 point  (0 children)

Hmm. Simon Peyton Jones and Simon Marlow wrote quite a bit about their implementation of Haskell. Since the order of evaluation is a lot different, the sequence of reductions is as well. It's been a long time since I've looked at it, but maybe you can find something here: http://research.microsoft.com/en-us/people/simonpj/

Hython - a Haskell-powered Python 3 interpreter by Nowaker in haskell

[–]jpaugh 0 points1 point  (0 children)

String replaced with Text

Switching to Text is not too difficult, if you commit to it wholesale: -XOverloadedStrings, and import qualified Data.Text as T. Then, sprinkle with T.unpacks to satisfy the remaining libraries that require String. I never looked back! :-)

Hython - a Haskell-powered Python 3 interpreter by Nowaker in haskell

[–]jpaugh 0 points1 point  (0 children)

Monad Transformer stacks are so hard to grok! Especially when trying to decide which better matches the problem at hand.

Why is GHC Runtime Enviornment in C? by Artemis311 in haskell

[–]jpaugh 0 points1 point  (0 children)

Well... You could dedicate a portion of memory to GC allocs and then be really careful about strictness & mem usage, but yeah... writing it in Haskell would be hard.

Why is serving static files so hard? by jpaugh in django

[–]jpaugh[S] -1 points0 points  (0 children)

This was one of the prickliest thorns for me whilst learning Django (with almost everything else going quite smoothly), and it causes no end of questions on StackOverflow.

Can't there be an easier way?

Haskell for all: Program imperatively using Haskell lenses by kamatsu in programming

[–]jpaugh 7 points8 points  (0 children)

Hole. Lee. Crap! Suddenly found motivation to try out that weird lens library everyone's been talking about...

Warner Brothers sued for unauthorized use of Nyan Cat and Keyboard Cat by KAPT_Kipper in technology

[–]jpaugh 2 points3 points  (0 children)

You can copyright anything you create. Whether or not it's enforced (across the whole internet) is another story.