Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
singingcheese
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
singingcheese
13y ago
Rebooting an EC2 instance never causes you to lose your data (no matter what type of storage you pick). EC2 has two types of storage: local disk "ephemeral/instance storage" and network storage "EBS". Digital Ocean
2.
▲
by
singingcheese
13y ago
A reboot doesn't cause you to lose data on your ephemeral storage. I think you mean "stopping" an instance and then "starting" it again (on another host), not rebooting it.
3.
▲
by
singingcheese
13y ago
If you shut down your server you lose the data that was stored on the local drives, no different to DO. If you shut down your droplet on DO you lose the data stored on the local drives (in fact DO now scrubs the disks on shutdown after a re
4.
▲
by
singingcheese
13y ago
The post made the front page on HN a couple of months ago: https://news.ycombinator.com/item?id=7016735 . DO staff seem to spend quite a bit of time responding to threads on HN in general, so that would be surprising.
5.
▲
by
singingcheese
13y ago
apply is the function called when you use brackets and nothing else e.g. val x = myMap("myKey")
6.
▲
by
singingcheese
13y ago
> You can have a REPL in a statically typed language too---Haskell has one. And so does Scala...
7.
▲
by
singingcheese
13y ago
> It doesn't take a whole lot of doing to push the Scala collections library into weird and terrifying behaviour I'm genuinely curious to see examples you've seen in production code. I've used the collections for year
8.
▲
by
singingcheese
13y ago
> Also happened to be the guy who wrote the most Scala code on the planet I love the way he assumes that. I think he may be surprised to learn the sheer scale of some production Scala systems which aren't part of the Scala class lib
9.
▲
by
singingcheese
13y ago
It made perfect sense to me, perhaps because I code in Scala for a living (even though I don't use either Akka or Play (yet)). It reminds me of the old comment about how unreadable French is because it looks nothing like English.
10.
▲
by
singingcheese
13y ago
Java 8 would make a very poor Scala substitute, and only offers a small subset of what is provided by Scala.