Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
judofyr
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
30 ms
·
271.
▲
by
judofyr
6y ago
This is actually a good point. If you're never accessing inside a string directly, but only iterating over it, then it's often far better to build a tree/rope structure than to create a continuous memory section.
272.
▲
by
judofyr
6y ago
I saw someone on Twitter complaining that this behavior can be confusing since without being aware of it you can create drastically slower code. However, I must say that I find this approach quite pragmatic and neat. In most cases, string c
273.
▲
by
judofyr
6y ago
The comparison to ".d.ts" seems apt since both are languages/grammars focused solely on declaring types. How they are interpreted is a different matter of course. TypeScript assumes they are strict declarations of the JavaScr
274.
▲
by
judofyr
6y ago
> On the other hand, RBS as hand-written seems rather dangerous, to me. Nothing wrong with using them to define previously-untyped external code, as long as you know the caveats, but I think you really want to have definitions generated
275.
▲
by
judofyr
6y ago
Not sure if I agree. In physics you typically have the analytical solution, but it's expensive to evaluate (integral over many dimensions) so you use machine learning as a cheap way to approximate it. In most other cases of machine lea
276.
▲
by
judofyr
6y ago
> I was asked to bring in my laptop with some of my own code - I had a side project at the time, so no problem. Seems like a good solution if the candidate has a side project. However, many candidates might have their majority of the &
277.
▲
by
judofyr
6y ago
This reminds me a bit of Aeron ( https://github.com/real-logic/aeron ) which is a reliable UDP uni/multicast transport library with built-in flow control. It's written in Java and seems to have superb performan
278.
▲
by
judofyr
6y ago
Congratulations on launching! It looks like a great product. Some technical questions which I didn’t see answered on my first glance: (1) Is it a single-server only, or is it possible to store data replicated as well? (2) I’m guessing that
279.
▲
by
judofyr
6y ago
> Not true at all, there are several times I've attempted to read through a textbook only to be stopped by notation because something was introduced prior to being referenced, or notation is overloaded with multiple meanings. Are yo
280.
▲
by
judofyr
6y ago
I'm not sure if special relativity applies in the context of quinoa. No scale is going to show a difference in the mass of quinoa caused by relativistic effects of heat differences.
281.
▲
by
judofyr
6y ago
It should be noted that this website is not created by Basecamp, but is a personal project by someone else. Yes, they are giving Hey free marketing, but this is not an official attempt at marketing Hey.
282.
▲
by
judofyr
6y ago
> I was excited about hey before, and even though I don’t agree and don’t like the way the App Store works, I find Hey and the superstars behind it so hypocritical and annoying now. I don't understand this sentiment. You don't
283.
▲
by
judofyr
6y ago
I think one understated advantage of serving plain HTML is the reduced surface of things that can go wrong. Once you see that the server has sent a "200 OK" response you know that everything is good and the user will see the conte
284.
▲
by
judofyr
6y ago
assert() by itself is typically not the same as "defining an invariant". An invariant is an expression which should be true for the whole life-time of the block/function/program/anything, but assert() only defines a
285.
▲
by
judofyr
6y ago
> This is based on her presentation and some dinner conversation at HPTS 2019, so I don't know if there's actually a paper I can point to. The gist of is that Paxos normally involves an arbitration phase where there are confli
286.
▲
by
judofyr
6y ago
This is not directly related to this report or Jepsen, but since you're here I've got to ask: Aphyr, are there any recent papers/research in the realm of distributed databases which you're excited about?
287.
▲
by
judofyr
6y ago
> If nothing else, LCR contains probably the most elegant and surprising application of vector clocks I've seen (they are used to establish a total order on messages, rather than the usual partial order, with no sequencer required!)
288.
▲
by
judofyr
6y ago
> Today, an optimized build with gcc is slower than a debug build with clang. Did you mean "an optimized build with gcc is faster than a debug build with clang"?
289.
▲
by
judofyr
6y ago
You're bringing up good points. Chain replication seems neat and I haven't quite figured out why it's so rarely used. Maybe it's partly because it's not request/response-oriented (the tail is supposed reply dir
290.
▲
by
judofyr
6y ago
Huh, I wasn't aware of that. Somehow I always thought that hashicorp/raft was used in etcd. Thanks for the correction!
291.
▲
by
judofyr
6y ago
> He is using "neurotic" in the psychological and clinical sense. I believe he specifies as much in his actual paper. Eh. He's using the psychological/clinical definition, but then draws conclusions on no scientific b
292.
▲
by
judofyr
6y ago
I'll have to admit that over time I've ended up with mixed feelings about this paper. This is mainly due to people reading this paper without knowing much about consensus and drawing conclusions like "Raft is better than Paxo
293.
▲
Password Manager Resources (From Apple)
(github.com)
2 points
by
judofyr
6y ago
|
0 comments
294.
▲
by
judofyr
6y ago
Can someone elaborate why this is being upvoted? EDIT: Not sure why this comment is getting downvoted. I'm just interested in why people find the article interesting and/or if there was some recent news which made Norsk Data relev
295.
▲
by
judofyr
6y ago
You only need to define 0.9… as 9/10 + 9/100 + 9/1000 + …. Without knowing how that series converges you can then use the two expressions mentioned to conclude that it has to be equivalent to 1.
296.
▲
by
judofyr
6y ago
> Sweden's official death toll was 2270 yesterday (2020-04-28). The three worst influenza seasons in Sweden since 1969 killed 807, 674 and 652 people[1]. So we've already passed his "at most" claim. The only way I can
297.
▲
by
judofyr
6y ago
That's a great article! Thanks a lot. I know about some more variants you might want to check out: - Compartmentalized Paxos ( https://mwhittaker.github.io/publications/compartmentalized_... ) shows how you can comp
298.
▲
by
judofyr
7y ago
Sounds similar to a buddy allocator: https://en.wikipedia.org/wiki/Buddy_memory_allocation
299.
▲
by
judofyr
7y ago
> But why are we doing this to ourselves, right? These parsing tools work great! (As long as you only do half do the job you were trying to do and then sort of hack it back together afterward.) I agree with you in practice: The current p
300.
▲
by
judofyr
7y ago
> It's the wrong tool for the job. Yes! We should have both handwritten parsers and parser generators in our toolkit and then depending on the language we want to parse we should choose the best tool for the job. My point about a
More ›