Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jacobparker
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
61.
▲
by
jacobparker
9y ago
True, good point!
62.
▲
by
jacobparker
9y ago
I think you misread my comment; I said its unlikely to have a consistent system that can service reads but not writes during some manner of disruption.
63.
▲
by
jacobparker
9y ago
Yep, the Yammer article is just opinion. It may or may not match your experiences/beliefs :) Check the Spanner paper for slightly more data (but its still pretty informal) from Google. They don't talk about other systems, but they
64.
▲
by
jacobparker
9y ago
Yes; in vanilla Paxos you need a majority of nodes to be up/reachable to service either a read or a write. There isn't really a distinction between read/write in terms of availability (for better or worse.) I think its pret
65.
▲
by
jacobparker
9y ago
What they're trying to explain is that so-called AP systems do not have 100% availability either. The CAP theorem applies to very specific scenarios that are not necessarily common - it is a much more narrow theorem then "CP vs AP
66.
▲
by
jacobparker
9y ago
Wow, I don't remember that part at all (I was really young when I used it.) Thanks.
67.
▲
by
jacobparker
9y ago
FYI that didn't ship in C# 7 More info: https://github.com/dotnet/csharplang/issues/36
68.
▲
by
jacobparker
9y ago
$ curl -s https://gist.githubusercontent.com/anonymous/8fdec5275b2c3e81e1e1/raw/blannex | wc -l 23708 Impressive. I wonder if it's edited as a single file.
69.
▲
by
jacobparker
9y ago
Was it because of musl libc? These images use glibc.
70.
▲
by
jacobparker
9y ago
They mention that in the video. It's an easy way currently to get built packages. Bazel has plans on their roadmap ( https://www.bazel.build/roadmap.html ) to open-source rules for common packages ("Repository of BU
71.
▲
by
jacobparker
9y ago
The images still have some "weird" stuff in them like man pages because they use deb packages from debian for common packages. That's not core to the idea, though (and note that apt is not included inside the container.)
72.
▲
by
jacobparker
9y ago
An alternative way to create small container images is to not base them off a distro at all: https://news.ycombinator.com/item?id=15415992
73.
▲
Distroless: Language focused docker images, minus the operating system
(github.com)
89 points
by
jacobparker
9y ago
|
36 comments
74.
▲
by
jacobparker
9y ago
Intended use cases are documented here: https://www.chromium.org/developers/design-documents/site-en... If you want to trace uses of it in the code, here is a reasonable place to start, I imagine: https:/&#x
75.
▲
by
jacobparker
9y ago
> Programming is hard, regardless. You're being very dismissive towards shell scripters, and it comes off as elitist. I think you're taking this too personally. I write _a lot_ of bash scripts and like bash (as I've alread
76.
▲
by
jacobparker
9y ago
> This belittles their and anyone else's bash scripts for git as 'toys'. They often make great toys in the sense that toys are fun but it's harder to build robust things in bash scripts. Robustness may not matter (e.g
77.
▲
by
jacobparker
9y ago
Reinventing escaping over and over again (which bash scripts in particular seem to encourage) is a suckers game. It's difficult to get right and if you're constantly redoing it you're eventually going to make a mistake. I&#x
78.
▲
by
jacobparker
9y ago
Probably that and a reference to https://www.amazon.ca/Michael-Abrashs-Graphics-Programming-B...
79.
▲
by
jacobparker
9y ago
That's sorta the point... the init isn't the branch condition. It gives terser syntax to a common patter where you want to scope something into the body of an if statement. { std::unique_ptr<T> x = foo(); if(x-&g
80.
▲
by
jacobparker
9y ago
This appears to be a new edition/refactoring/redesign of the previous version of Software Foundations. I haven't had much time to look through it but it looks like there is new material (volume 3?) (EDIT: found a hosted copy
81.
▲
Software Foundations
(softwarefoundations.cis.upenn.edu)
3 points
by
jacobparker
9y ago
|
1 comments
82.
▲
by
jacobparker
9y ago
That's sounds pretty easy to solve redacting the sensitive content when it hits your mail server before going to support staff. If you're sending out HTML email you can also make easy and extensible by having a custom class for re
83.
▲
by
jacobparker
9y ago
I've used libtins (a C++ wrapper on libpcap) for its high-level interface before and enjoyed it. Some benchmarks in the README indicate this library has marginal-to-significantly better performance: https://github.com/s
84.
▲
by
jacobparker
9y ago
CA is a not really a valid/possible thing in the context of CAP. The original phrasing of the theorem was poor and the "choose 2" myth persists. You can choose to (or accidentally) give up C or A but you don't get to cho
85.
▲
by
jacobparker
9y ago
This isn't quite right. Even with SR and the speed of light its possible to build consistent systems and achieve consensus. Not-eventually-consistent doesn't mean instantaneous. The SoL just sets a lower bound on the speed of cons
86.
▲
by
jacobparker
9y ago
I did, but I didn't mean it in a negative way! The Racket one is definitely more towards the "practical" side than the C++ one (C++ is more constrained when it comes to how it can embed DSLs) but for me it falls into a simila
87.
▲
by
jacobparker
9y ago
Special relativity and the speed of light impose some fundamental lower bounds on the cost of consistency: https://en.wikipedia.org/wiki/Relativity_of_simultaneity . This theoretically manifests as lower bounds on the
88.
▲
by
jacobparker
9y ago
Nicely done! Different but similar joke for C++: http://www.eelis.net/C++/analogliterals.xhtml
89.
▲
by
jacobparker
9y ago
If you're interested in something that's not strictly real-time a good book is physically based rendering http://www.pbrt.org/ . It uses a literate-programming style which is neat. It's about path-tracing whi
90.
▲
by
jacobparker
9y ago
Depending on your database (I'm assuming some manner of SQL) you could create a view that is denormalized and supports SELECT/INSERT/UPDATE/DELETE for human query UX.
More ›