Hacker Newsnew | past | comments | ask | show | jobs | submit | decafbad's commentslogin

Mine too. Maybe it's CGNAT.


This guy got a few million euros from EU for a secure OS, if I remember correctly. What happened to that project?


I assume that funding ran out around 2014:

https://blog.minix3.org/tag/news/


Research was researched extensively. It's a net win for humanity, don't worry about it.


Checkout Erlang bit parsing.


Reply


I'm honing my sword.


I'm pretty sure mine is psychosomatic. It's only at left ear. When I pissed off about former mistakes or current annoying issues, I know it's coming.


Yes, it's called backronym.


I remember from twenty years ago, Amazon recommended a book for dementia patients, related to purchase of an AS/400 manual. Because of the name similarity between the IT author and other book's illustrator. We couldn't move one step forward.


I thought my hatred of Javascript was at its peak.


  mkose@casper:~/Desktop$ ./elm repl
  ---- Elm 0.19.1 -----------------------------------------
  > Basics.modBy 0 3
  Error: Cannot perform mod 0. Division by zero error.


This is correct behaviour, depending on the definition of mod. See, for example:

https://math.stackexchange.com/questions/516251/why-is-n-mod...


The promise was no runtime errors.


You are absolutely right and I missed the point!

I believe there are a couple of things in the standard library which should have returned a Maybe (or even better taken a NonZero as an argument). The community Extra libraries tend to offer safe versions of these cases, so it's easy to avoid if you know about it.

Another gotcha that will give a runtime error is the stack overflow if you have too many recursions in a function. You can get around it by using builtins like maps and folds, or refactoring for tail-calls.

Since recursion is often taught to FP beginners as the go-to replacement for loops without explaining TCO, I think many users are surprised by this early on, and with just the compiler they would otherwise have no warning of this without knowing how and when to test for it.

I believe Elm-review is coming out with a method to warn about these cases, so it will be detectable with standard tools.

On the whole, though, these are the few avoidable edge cases, and the promise does hold the rest of the time.


My team is working on a very large Elm codebase for over 3 years now, we got a runtime error in production only once (stack overflow when parsing an unusually large file, made it tail call optimized to get rid of it).

I will consider it sticking to it's promise of no runtime errors.


There are two that I can think of: this, and the fact that there's no equality class yet. In practice it just doesn't come up.


Enormous organic pollution causes this. Warmer temp also helps.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: