Recent submissions

Comment · 8 years ago
Schemas are per actor type and you can have many types. Actors are active or inactive. When you run a query against one, when it becomes active it will check if schema has changed and apply that before processing any query.
Comment · 8 years ago
From that point of view yes you are right. There is a ton of nuance in CAP. Usually in these discussions the CAP question is if it is eventually consistent or not.
Comment · 8 years ago
It's raft; thus firmly CP.
Comment · 9 years ago
Yes a user space thread pool which is what node.js does on top of libuv.
Comment · 9 years ago
Comment · 9 years ago
History has proven that anyone no matter their abilities is going to shoot themselves in the foot regularly while using C. Some just less frequently.
Comment · 9 years ago
> Depending on how you define "big changes".

The way every reasonable person would. This release being the obvious example.

Comment · 9 years ago
That is entirely untrue. Releases are regular, big changes are anything but.
Comment · 9 years ago
> Well, someone probably said the same about Go or React-Native when they first came out too

RN came from a giant company that uses it in its core product. Big difference.

Comment · 9 years ago
Yes SQLite with type check constraints.
Comment · 9 years ago
io_ syscalls only really work on XFS and require O_DIRECT which means kernel is not caching anything. Unsuitable for web servers.
Comment · 9 years ago
Changing the number of cores given to a VM is not so uncommon.
Comment · 9 years ago
> There's no middle ground.

Not at all. This is what the ? operator is for (was try! before).

The idiomatic rust way is to have your own Error type that implements From for other Error types that you may encounter (io::Error, Utf8Error, etc.).

Then you can simply just write let result = dosomething()?; for any operation that may fail. If an error happens, function will return with the error.

I don't think you can do it any cleaner, given the constraints Rust is operating under.

Comment · 9 years ago
Overly complicated

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton