News for hackers. Stuff that matters.

_ezkx

Re:Living Like It's 99: No Social Media, No Smartphone on Monday February 22, 2021 @01:20PM (#26228108)
Arguably the "new kind of Amish" are... just the Amish; they've continued to adopt new technologies when they comport with their particular values. Other intensional communities may have different values.

Love "Seinfeldians" :)

Re:Haskell: The Bad Parts, part 2 (2020) on Tuesday February 09, 2021 @07:29PM (#26084415)
If StrictData were simply made the new default (with exceptions for lists and some other things in the standard lib), I bet very little code would break. It certainly wouldn't change the flavor of the language. I think it's a good idea.
Re:A word for a value between 0 and 1 (inclusive) on Friday September 04, 2020 @10:54AM (#24375458)
I think this is right, but it's still IMO basically a natural language semantics issue. For instance in haskell (which has a pretty advanced static type system), I would still probably be satisfied with:

  -- A float between 0 and 1, inclusive.
  type UnitInterval = Float
  
  foo :: UnitInterval -> SomeResultPresumably
  foo accuracy = ...
i.e. I think the essential problem in the SO question is solved, even though we have no additional type safety.

A language without type synonyms could do just as well with CPP defines

Re:A word for a value between 0 and 1 (inclusive) on Friday September 04, 2020 @10:37AM (#24375269)
I guess this is like "mammal" vs "mammalia".
Re:Paul Hudak, co-creator of Haskell, has died on Thursday April 30, 2015 @10:07PM (#9468976)
FWIW Hudak's Haskell School of Expression was the first programming book I ever read, and probably the reason I do programming today.
Holy crap. He just tied the knot in prose form:

http://www.haskell.org/haskellwiki/Tying_the_Knot

These are just flash drives. They get power through your USB port.