Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
judofyr
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
15 ms
·
121.
▲
by
judofyr
4y ago
This is already covered in the article: > Technically, abortion is never available on-demand in Great Britain. (Northern Ireland is a bit different from England/Scotland/Wales.) However, the law allows abortions up to 24 weeks
122.
▲
by
judofyr
4y ago
If you find this interesting, you might like the same concept in JavaScript/Node.js written ~10 years ago and available in the browser as well: https://getvau.lt/
123.
▲
by
judofyr
4y ago
Here's a better resource for understanding how __conains__ works which actually looks at the source/documentation instead of trying to understand it intuitively: https://stackoverflow.com/questions/18320624&#x
124.
▲
by
judofyr
4y ago
> I was NOT able to reproduce the 25X speed that Dragonfly claims The Dragonfly benchmark which showed 25x faster was run on c6gn.16xlarge which has 64 vCPU. The m5.4xlarge you used "only" has 16 vCPU. Since Dragonfly is achiev
125.
▲
by
judofyr
4y ago
> At a high level, Polaris interacts with a stateful service as a client and assumes no knowledge of the service internals. This allows it to be generic. We have dozens of Polaris integrations at Meta. “Cache should eventually be consist
126.
▲
The Art of Comparing Apples with Oranges (or: DragonflyDB vs. Redis)
(t.holmium.no)
2 points
by
judofyr
4y ago
|
1 comments
127.
▲
by
judofyr
4y ago
KeyDB does network I/O and parsing on separate threads, but still has one big lock around the data structures themselves. DragonflyDB does full processing of the transaction on separate threads. [1] https://docs.keydb.dev&#x
128.
▲
by
judofyr
4y ago
Wow, this looks very nice! I’ve seen the VLL paper before and I’ve wondered how well it would work in practice (and for what use cases). Does anyone know how they handle blocked transactions across threads? Is the locking done per-thread? I
129.
▲
by
judofyr
4y ago
> It was researched. Citation needed please.
130.
▲
by
judofyr
4y ago
Alternatively, instead of just betting on it, you could do a benchmark, figure out the limits of your system and check if your current implementation is capable of handling the future needs.
131.
▲
by
judofyr
4y ago
This is "vertical scaling" and that is indeed a very valid approach! You just have to be aware that vertical scaling has some fundamental limits and it's going to suck big time if it comes at a surprise to you.
132.
▲
by
judofyr
4y ago
Each server would have one copy of the SQLite database. Only one of the server would support writes — and those write will be replicated to the other server. Reads in the other server will be transactionally safe, but might be slightly out
133.
▲
by
judofyr
4y ago
> Latency is the exact reason you would have a problem scaling any large system in the first place. Let's not forget why we started using separate database server in the first now… A web server does quite a lot of things: Parsing&#x
134.
▲
by
judofyr
4y ago
I think people react here because of the term “burn out”. It’s usually used when you’ve been under high stress for a longer period and you completely collapse and is unable to do any work. Losing motivation for a project and moving over to
135.
▲
by
judofyr
4y ago
I agree with your point, but this is maybe a bad example since there’s no indication that anyone was breached by this?
136.
▲
by
judofyr
4y ago
This is a long blog post which is a huge rant, and honestly I find the whole tone extremely unproductive. # Point 1: Judging a tool (programming language) out of context (project) For some reason programmers really like to talk about the me
137.
▲
by
judofyr
4y ago
"40% faster?" Sure, but the original code doesn't make much sense. The whole purpose of a B-tree is that you store the keys in a contiguous array to take advantage of locality. If you're going to spread your data aroun
138.
▲
by
judofyr
4y ago
> It's design makes no sense unless you understand this; the bespoke languages it's written in are designed to be too simple to have any unexpected behaviors (as opposed to being designed for ease of use or performance) I don’t
139.
▲
by
judofyr
5y ago
I’ve worked on React applications where a single key press would cause lags over 300ms. The React profiler wasn’t able to show any latency in my render functions and using the browser profiler I saw that all time was spent somewhere inside
140.
▲
by
judofyr
5y ago
There's more context in the thread where it was upstreamed: https://lists.llvm.org/pipermail/llvm-dev/2016-February/0951... Some notable comments: > I was going to mention it, but you guys know very w
141.
▲
by
judofyr
5y ago
> “When it comes to science, I’m not interested in math! Show me the real world!” Why are you quoting me, but changing the words and the meaning of my sentence?
142.
▲
by
judofyr
5y ago
> We’ll be talking not about the actual model of space in our Physics Project, but instead about the cellular automaton systems I’ve studied for many years in which space is effectively predefined to consist of a rigid array of cells, ea
143.
▲
by
judofyr
5y ago
> Not only writing it, but also countless hours in PR-reviews without senseless nitpicking. I've never understood this point. Programmers will always find something they can nitpick about. Ultimately you want a culture which focus
144.
▲
by
judofyr
5y ago
Plain SAH256? Come on, use a salt please!
145.
▲
by
judofyr
5y ago
> do you need to be a full time dedicated art practitioner to be considered as an artist? If you define “artist” as not a profession, but more of a generic philosophy of working, then this statement: > Is this the skill set of the a
146.
▲
by
judofyr
5y ago
A slightly related rule that I've been trying[1] to follow: Only vary one piece at the time. - Learning a new language? Pick a problem you know very well. - Solving a new problem? Pick a language you know very well. - Trying a new fr
147.
▲
by
judofyr
5y ago
One of the core ideas behind unsafe blocks is that they don’t actually change any semantics. All they do is allow more operations. This makes it a lot easier to reason about (for both the programmer and the compiler) since there’s not two
148.
▲
by
judofyr
5y ago
Gems can already specify which version of Ruby they depend on: https://guides.rubygems.org/specification-reference/#require... . In practice you may not fully depend on it because people often write too permissive range
149.
▲
by
judofyr
5y ago
I've been reading a lot around this "spaced repetition" movement over the years and also tried it out sometimes myself. However, I'm still kinda a bit confused about this supposedly big "rote memorization I learnt i
150.
▲
by
judofyr
5y ago
https://news.ycombinator.com/newsguidelines.html > Please don't post shallow dismissals, especially of other people's work. A good critical comment teaches us something.
More ›