It's definitely worth playing around with a language from that family. OCaml is maybe slightly more practical than Haskell and it has some nice resources available - in particular Real World OCaml looks really good: https://realworldocaml.org/
1,175 karma · joined December 23, 2009
It's definitely worth playing around with a language from that family. OCaml is maybe slightly more practical than Haskell and it has some nice resources available - in particular Real World OCaml looks really good: https://realworldocaml.org/
Or the property 'this variable is never used after a free' in a language with manual memory management (Rust encodes this) or 'this program is free from data races' (also Rust)?
No one is arguing that strong static type systems make it impossible to write programs with bugs, but eliminating whole classes of bugs at compile time certainly makes it easier.
Of course it's possible to eat 1000 calories' worth of food in one sitting, especially if you're eating something with tons of carbs in. But if you keep your diet roughly the same and go on a 1 hour run three times a week, you'll definitely start losing weight..
If this turns out to be a serious problem then perhaps your society has other issues it should be dealing with?
'Nice' prisons certainly seem to work pretty well in Norway: https://www.theguardian.com/society/2013/feb/25/norwegian-pr...
For example, if you have a table with 1M user records, and you run a migration to add a column in MySQL, then any updates to the table will be stalled while the table is rewritten to add the extra column (which may take a while). This is independent of how many records it touches - even if the transaction only touched 1 record and would take 10ms to execute, if the migration takes 10 minutes it may be stalled for up to 10 minutes.
In Postgres you can add a nullable column, and the table will only be locked for a very short amount of time, independent of the size of the table.
> Updates and writes to the table that begin after the ALTER TABLE operation begins are stalled until the new table is ready, then are automatically redirected to the new table without any failed updates.
While the master may be technically up for writes during this period, it's not much a goer if your table is large and has any write traffic at all, as anything writing will stall for what may be an extended period.
http://aqicn.org/map/delhi/mandir-marg/#@g/28.6188/77.2405/1...
http://aqicn.org/map/losangeles/los-angeles-north-main-stree...
Quite a lot worse, as you can see!
If the landlord fails to protect your deposit, and does so in what might be considered bad faith, a court will often order them to pay you 3x the deposit as compensation - so they all end up actually doing it.
For instance, imposing a very high land value tax would reduce the value of land, which would in turn reduce the cost of housing.
Yet this seems to have been quite effective, given that the head of Developer Relations at Twitter is replying to this story on HN..
Stayed way too long and some of my shares vested. Now they're worth some money on paper, but it wasn't worth it - my advice for anyone in a similar situation would be to get out as early as possible.