Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cdoxsey
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
15 ms
·
91.
▲
by
cdoxsey
8y ago
Are you talking about Go, the language this is written in? Go's concurrency features are formally specified, are not ad-hoc (they are a major feature of the language, and the product of multiple language design iterations) and are cert
92.
▲
by
cdoxsey
8y ago
You called me a "clueless dev".
93.
▲
by
cdoxsey
8y ago
Apparently a prototype was written in Java. Borg was written in c++. AFAIK Kubernetes was always a Go project, but maybe I'm wrong. Why do you think Go was chosen? Your comment about my experience with Java was needlessly provocative s
94.
▲
by
cdoxsey
8y ago
Kubernetes is a complex project with a large codebase. Writing it in bash would be a nightmare to maintain. Go makes sense as an implementation language for a system like this for many reasons: - it doesn't require a VM (goodbye Java)
95.
▲
by
cdoxsey
8y ago
Yes it's supposed to start with another member bringing it up in private, then maybe reaching out with several members, then bringing it before the elders, etc. Missing church every Sunday would be particularly visible, especially in a
96.
▲
by
cdoxsey
8y ago
Yes this is true. And it's a good thing to remember to ask about when applying for jobs (and seems like an entirely reasonable thing to want to know before you sign up) It was helpful when I had a more structured on-call rotation and o
97.
▲
by
cdoxsey
8y ago
Many churches practice church discipline, for example with the PCA: http://www.pcahistory.org/pca/3-443.html It mostly applies to leadership, but also members. Possible "censures" include: - Admonition (ie ca
98.
▲
by
cdoxsey
8y ago
Most Christians believe it was moved to the first day of the week, as the confession states: > VII. As it is the law of nature, that, in general, a due proportion of time be set apart for the worship of God; so, in his Word, by a positiv
99.
▲
by
cdoxsey
8y ago
Being a backend engineer with occasional on-call responsibilities, this is an unfortunate reality I've had to deal with. My religious tradition (reformed evangelical christian) takes the sabbath pretty seriously, as stated in the Westm
100.
▲
by
cdoxsey
8y ago
I'm not sure how serious you were, but if you're actually curious, I recommend Alan Jacob's book "Original Sin: A Cultural History": https://www.amazon.com/Original-Sin-Cultural-Alan-Jacobs/dp&#
101.
▲
by
cdoxsey
8y ago
Seems like the best way to tell is to not actually look at the face so much as the details around it. There are often obvious glitches in the background.
102.
▲
by
cdoxsey
8y ago
Go is not fully preemptive, but in practice it usually is (it preempts at function calls): https://github.com/golang/go/issues/10958 .
103.
▲
by
cdoxsey
8y ago
This is really interesting. Found: https://www.researchgate.net/publication/225576076_Shunting_... I wonder what real railway yards do.
104.
▲
by
cdoxsey
8y ago
This algorithm is great. I was working on a new metric alert evaluation system and built an expression parser for things like: system.disk.free{*} / 1024 by {host} The naive approach to parsing will result in the wrong order o
105.
▲
by
cdoxsey
8y ago
I worked with an intern for 6 months. He was great. Did everything I asked of him and has code still running in production. He went back to school and then applied for a full time position, so I referred him with a glowing recommendation. H
106.
▲
by
cdoxsey
8y ago
A few reasons: 1. At least for me, I didn't know the game going in so I wasn't prepared for it. A lot of folks I interview don't either (though its becoming less common... almost everyone is somewhat prepared for it now), and
107.
▲
by
cdoxsey
8y ago
Its right there in the privacy policy: https://twitter.com/en/privacy > When you use features like Direct Messages to communicate, remember that recipients have their own copy of your communications on Twitter - eve
108.
▲
by
cdoxsey
8y ago
Twitter actually tries to delete stuff: https://twitter.com/en/privacy > We keep Log Data for a maximum of 18 months. If you follow the instructions here (or for Periscope here), your account will be deactivated and
109.
▲
by
cdoxsey
8y ago
Not really a networking issue. Channels are (relatively) inefficient for small payloads. With a decent payload size they're almost never the bottleneck in a real-world program. You really have to benchmark it. It sounds like in this ca
110.
▲
by
cdoxsey
8y ago
That's what, 8GB of ram? A lot for a laptop... but not too much for a server.
111.
▲
by
cdoxsey
8y ago
In Go you can write unsafe code in libraries. You can even write raw assembly if you want. We had an encoding library written in a very c-ish style for maximum performance, and sure enough, it had an off-by-one error on the last byte that c
112.
▲
by
cdoxsey
8y ago
Variables are lexically scoped by blocks: https://golang.org/ref/spec#Blocks
113.
▲
by
cdoxsey
8y ago
The whimsical nature of interfaces is definitely different coming from other languages. An `io.Flusher` might be nice, but it's not really necessary. You can just write: type Interface interface { io.Writer Flush(
114.
▲
by
cdoxsey
8y ago
This is how the cluster-autoscaler works in kubernetes. It sets the desired capacity based on the number of pods needing to be scheduled. Coupled with a horizontal pod autoscaler (which sets the replica count based on a metric) you get the
115.
▲
by
cdoxsey
8y ago
> Badger provides better performance than RocksDB, both in terms of reads and writes. It's not that simple. It's never that simple. These are incredibly complex pieces of software designed as generic solutions to a thousand dif
116.
▲
by
cdoxsey
8y ago
It's certainly an issue, especially now with wasm: https://github.com/golang/go/issues/27266 Probably unavoidable for this kind of app though. Unicode alone involves a whole lot of data tables that are g
117.
▲
by
cdoxsey
8y ago
This is quite poor advice. With Moore's law slowing down multithreading is an important skill for almost any developer to learn.
118.
▲
by
cdoxsey
8y ago
If human beings have a libertarian sort of free-will (the ability to do otherwise), then their actions can't be caused by God. So if we imagine a free-will choice, say whether or not to mow the lawn today, it's possible for me to
119.
▲
by
cdoxsey
8y ago
Do most non-theists believe in a meta-ethical realism? The incompatibility of properties is precisely the issue Plantinga takes up. He offers a defense based on free-will. That there are possible worlds in which free people choose only to d
120.
▲
by
cdoxsey
8y ago
The problem of evil was ably taken up by the Christian Philosopher Alvin Plantinga. Here's a short video summary of his thoughts: https://www.youtube.com/watch?v=8VOMrozCISA . He has a folksy way of speaking, and is ac
More ›