Hacker News new | past | comments | ask | show | jobs | submit | brooke2k's comments login

last I used OCaml, the standard library situation was abysmal (compared to say Haskell's), and you had to go searching for third-party "batteries included" crates to cover simple stuff. Has that gotten any better the last few years?


it's kind of like lisp's ugly cousin. Super-duper simple at its core, built around a single data structure (tables instead of lisp's lists), and flexible enough, thanks to meta-tables, that you can build extensions on top of it to fit it to what you need


I had a similar revelation a few months ago when working on a little game in Lua.

Since a game runs as a loop, all synchronous code needs to be able to execute within one frame.

So you end up making overcomplicated state machines to represent processes that last for multiple frames.

Coroutines make writing this code sooooo much easier. You can actually start to see the logic again at a glance rather than having to dive into a big stateful mess.


Proportionally, they are far, far closer to self driving even with multiple people driving the train. A ratio of just 1:100 drivers:passengers is a vast improvement on personal cars which would probably be what, 1:1? Maybe 1:2 on average?


As someone who is allergic to NSAIDs and who gets no relief from Tylenol, it's really apparent the lack of effective OTC painkiller options.

When I herniated a disc in my lower back, the ER doctor was very very hesitant to give me an opioid even though I was in constant, excruciating pain. But if you're allergic there's basically no other options out there.


https://venhance.github.io/napkin/Napkin.pdf

This textbook (work in progress but mostly complete) is an attempt to do exactly that: start at foundational math like group theory and topology and build up to higher and higher levels of math.

I worked through the first few chapters a while ago, and it's very good. My only issue is that sometimes he assumes knowledge of things that I didn't know about, but cursory googling was good enough for those situations.


Couldn't you just disconnect from wi-fi on your phone and access everything via cellular?


The DNS server is set in my phone as well. But even if it wasn't, I live in a third-world country that still has crude data caps (the United States) so consuming video would probably quickly approach it.


Exactly the same experience here - montessori until 3rd grade


My experience as well—I went to a Montessori school up through Kindergarten. I absorbed enough that I could coast without learning any new math until 3rd grade, when we started doing long division. My teacher either didn't notice or couldn't help when I started suddenly struggling. It put me off math for the rest of school.

It's still a sore point for me 30 years later. I do a lot of graphics programming, and I know I have the type of mind that can handle complex math, but I missed that fork in the road.


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

Search: