Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
judofyr
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
18 ms
·
181.
▲
by
judofyr
5y ago
> In other words, Go encourages avoiding subtle bugs by avoiding subtle code. I find this philosophy strange when they talk about the communication primitives. Channels are extremely subtle in my experience. A channel can be buffered o
182.
▲
by
judofyr
5y ago
> each and every request gets a different process not sharing that cache What web server is this? I’ve never heard about this behavior before.
183.
▲
by
judofyr
5y ago
The happens-before relation that they use in this article (and in the whole field) does take this into account. It’s only defined in terms of local events (i.e on the same node) and the time when messages are sent/received between no
184.
▲
by
judofyr
5y ago
But neither does a logical clock. The implication only goes one way: if A happens before B, then the logical clock of A has to be smaller than that of B. The other way does not have to hold.
185.
▲
by
judofyr
5y ago
I’m not quite sure what point you’re making here. Spanner ensures causality by waiting until TrueTime tells you that the commit time is considered “in the past” for all replicas. There’s nothing swept under the rug here and this is a theore
186.
▲
by
judofyr
5y ago
I don't think there's a catchy one-liner which can explain why Spanner "needs" real time instead of Lamport clock. Spanner is a system with some very concrete characteristics (Paxos consensus, strongly consistent pessimi
187.
▲
by
judofyr
5y ago
Do you have a source for this? From my understanding these bounds are actively being used during the commit protocol: The leader will wait (i.e. just run sleep()) for a period of time. This period is determined from the bounds and ensures t
188.
▲
by
judofyr
5y ago
> But until then you're just going to have to trust that there are hundreds of people who witnessed Spacey's behaviour. Or you can go to Wikipedia to find a list of accusations (sourced with articles written by journalists) and
189.
▲
by
judofyr
5y ago
> Netflix really did him dirty throwing him under the bus like they did as have many companies/schools/organizations simply on hearsay alone. Ehm... https://money.cnn.com/2017/11/02/media/hou
190.
▲
by
judofyr
5y ago
Heh, this reminded me of _why's comments from the Zed drama waaaaay back: https://gist.github.com/brianjlandau/186701 > Let me put it this way. Suppose you’ve got Zed Shaw. No, wait, say you’ve got “a person.”
191.
▲
by
judofyr
5y ago
As someone who's working on code base at ~100k LoC I'd say that generics would be great to have: - We have some utilities (e.g. caching layer) which now either needs to use interface{} (and lose all type safety) or hard-code the t
192.
▲
by
judofyr
5y ago
Interesting. I have the opposite experience, the more I use them the more clunky they feel. * If there’s only useState, then everything is mostly fine. All is good. * To avoid unnecessary re-rendering you’ll have to move callbacks into useC
193.
▲
by
judofyr
5y ago
> PG has personally mentored hundreds, perhaps thousands of founders – whatever it is, a sufficiently huge sample size to identify some traits that correlate with founder success and happiness. However, in this article the correlation on
194.
▲
by
judofyr
5y ago
> But in the end it doesn't make that much difference: nothing prevents a random library from just reading your secrets and calling curl to send it to a server at runtime. The difference here is that it happens when you open the pr
195.
▲
by
judofyr
5y ago
For comparison to other databases it should be pointed out that RonDB appears to only support "read committed" concurrency mode: https://docs.rondb.com/rondb_concepts/#consistency-models . Most other "mod
196.
▲
by
judofyr
5y ago
> The specification goes in the test title and if necessary, a comment. Then the programmer writes code to test the spec. I've never understood what is suboptimal about this. Why do developers need to be tricked? I think there'
197.
▲
by
judofyr
5y ago
This! Benchmarks that fully sustains the throughput are rarely useful. If you’re running at that capacity your service is melting. Latency histogram for fixed throughout (e.g. 1k RPS, 10k RPS, 50k RPS) are far more useful. You want to know
198.
▲
by
judofyr
5y ago
It also means that accidentally adding a space somewhere (“$HOME/go” -> “$HOME /go”) can have catastrophic effect. I wouldn’t dare write a single “rm” if I’m not 100% sure the argument is being quoted.
199.
▲
by
judofyr
5y ago
> I think this is a complementary thing for implementing B-trees or solving exercises. That is needed as well, but will you still remember the finer details of splitting nodes in a B-Tree a month later? Or six months later? Which might o
200.
▲
by
judofyr
5y ago
Some context: The author created https://quantum.country which is a text book augmented with spaced-repetition. It seems that Orbit is a toolkit for creating these types of flashcard/spaced-repetition learning webpages for
201.
▲
by
judofyr
5y ago
> This problem is impossible to fix and it is a general problem - when overwriting a method, you can never be sure that semantics could break when the base class is changed. I'm not sure what's so special about overwriting meth
202.
▲
by
judofyr
5y ago
Previously I've been a heavy user of Webpack + plugins, but I've now moved over to ESBuild for all new projects. This means letting go of many fancy features, but the overall complexity is so much reduced and I'm a lot happie
203.
▲
by
judofyr
6y ago
I still think this sentence here is not quite precise enough: > All of the most important software of our lifetime is going through this relicensing effort as the creators attempt to capture the value of what it enables. To me this sound
204.
▲
by
judofyr
6y ago
> All of the most important software of our lifetime is going through this relicensing effort as the creators attempt to capture the value of what it enables. […] It's a very measured and thoughtful way to ensure the long term pro
205.
▲
by
judofyr
6y ago
This is a nice summary of the good features of Rust, but I'm failing to see how any of these points are in any way special for a "professional programmer". Doesn't a hobby programmer care about all of these points as wel
206.
▲
by
judofyr
6y ago
> The dude's in high school and finds stuff like this? As someone who once got a $500 bug bounty from Facebook in high school, I'll have to say that this is not so surprising. Finding these bugs is 10% knowing about attack vect
207.
▲
by
judofyr
6y ago
If you read the section about point #11 you will see that it's less about whiteboard programming, but rather making sure that they code something during the interview process. Seems that all of your suggestions are in line with this
208.
▲
by
judofyr
6y ago
https://blog.rubygems.org/2015/04/13/permadelete-on-yank.htm... Summary: Before 2015 then yanking didn't delete anything, but you could contact support to have it removed. They ended up getting tons of s
209.
▲
by
judofyr
6y ago
> but I bet this is a lot of corporate type's worst nightmare, that some underling added some segment of GPL code to their product, and now the entire thing is "technically" GPL. IANAL, but I'm pretty sure this is _no
210.
▲
by
judofyr
6y ago
> Can you ever? If we're talking "generally": Yes, we can trust that charts aren't cherry picked by reading the analysis. A proper analysis would include argumentation for why this metric is critical and why this
More ›