Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
repsilat
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
repsilat
14d ago
Yeah. It's worth looking at your own code and infrastructure as well. In my previous job there were dozens of opportunities to realise big savings by swapping out gzip for other compression schemes -- usually zstd, occasionally lz4 or
2.
▲
by
repsilat
1mo ago
Maybe that's the right approach, hard to say. No great harm making this kind of improvement if it isn't the globally best architectural direction.
3.
▲
by
repsilat
1mo ago
> you have two options There are many other ways to allocate capacity. For example, you could give preferential access to customers who sign long-term purchase commitments, or some other favourable terms. These other methods might correl
4.
▲
by
repsilat
1mo ago
Faster is better than slower. Postgres is amazing. When I use Sqlite I miss many of its upsides--better data migrations and better concurrency being two. But queries are not free, and sometimes are slower than I'd like even with the ri
5.
▲
by
repsilat
2mo ago
> every few millennia We'll feel awful silly having made any leap seconds if the robots kill us all in the next decade. More seriously -- all of today's computers and probably all of today's software (not to mention many s
6.
▲
by
repsilat
2mo ago
I had an issue in a CI pipeline once where clocks on two different machines drifted out of sync, and it looked like an HTTP request went back in time (it had some validity from now until now plus some delta, and the second machine thought i
7.
▲
by
repsilat
2mo ago
One way of thinking about ignoring leap seconds is that it's like letting the effective prime meridian drift east/west. And a "leap hour" is kind of like a timezone change. In fact, you could just not have a centralized&
8.
▲
by
repsilat
5mo ago
Occasionally in pure python "asymptotically reasonable, simple implementation, terrible memory locality" is the right pick for a data structure. You want to avoid an extra linear term, you don't care too much about the consta
9.
▲
by
repsilat
5mo ago
I guess to expand on my earlier post, it's generally a good thing that these kinds of absurd allegations are counterproductive and generally not convincing, because if they were more readily believable they would be quite irresponsib
10.
▲
by
repsilat
5mo ago
This hyperbole does more to turn people away from Bluesky and other sites more than X to be honest. There are clearly lots of politically moderate, wholesome "politically inert," and international X users. The people who are vocal
11.
▲
by
repsilat
8mo ago
Yeah I guess a c++ programmer might say `std::array::operator[]` is a function (or method, whatever), just like `std::array::size` is. And that identifying the array with just one of those functions (or even the collection of all methods of
12.
▲
by
repsilat
10mo ago
I wonder if "the right solution" is a programming language that is fast, concise, trivially easy to run, and outputs some efficient binary format like protobuf. Programming languages have comments and control flow, multiple popula
13.
▲
by
repsilat
10mo ago
"Easier" is probably the right one-word generalization, but worth noting that there are quite different challenges. Stopping distance is substantially greater, so "dead halt" isn't as much of a panacea as it is in d
14.
▲
by
repsilat
11mo ago
There's an Amdahl-like effect, where "100x slower" means that anything nontrivial in pure python ends up being fat in your flamegraphs, even if your "heavy lifting" core algorithmic stuff uses some nice fast librari
15.
▲
by
repsilat
11mo ago
For compute-heavy code "100x slower than C++" is a good rule of thumb in my experience in python 3.10.
16.
▲
by
repsilat
11mo ago
Many simple scripts at my work that more or less just argparse and fire off an HTTP request spend half a minute importing random stuff because of false deps and uncommon codepaths. For some unit tests it's 45 seconds, substantially lon
17.
▲
by
repsilat
11mo ago
For cloud jobs that can be true, but for single threaded dev-in-the-loop work you can't just buy a 100x faster processor than the one on their dev machine, and the latency is expensive workflow friction.
18.
▲
by
repsilat
11mo ago
This might have been your experience, but mine has been very different. In my experience a typical python workload is 50% importing python libraries, 45% slow python wrapper logic and 5% fast native code. I spend a lot of time rewriting the
19.
▲
by
repsilat
11mo ago
Yeah, I think the "paradox" is usually a problem for pundits and academics and not practitioners. Lots of people have experience finding and correcting market inefficiencies, usually getting paid for it.
20.
▲
by
repsilat
1y ago
A system of n experts is no different to a single expert wrt the NFLT. The theorem is entirely indifferent to (ie "equally skeptical of") the idea.
21.
▲
by
repsilat
1y ago
Releasing an open source product that improves on alternatives doesn't sound like ”stealing” or ”adding no value" to me. They're giving away something valuable, same as the people whose work they're building on top of.
22.
▲
by
repsilat
2y ago
I wonder about the global statistics of sorted data... Is the most common number of elements to sort zero? Certainly less than ten? What about the median? Two elements to sort? One? Zero again?
23.
▲
by
repsilat
2y ago
It's the bank. One of the biggest US retail banks. Maybe other big ones don't, maybe I should change banks.
24.
▲
by
repsilat
2y ago
I have great credit and my bank charges me $3 every month to pay my rent. (They will send a cheque in the mail for free, but it wasn't reliable for me so I stopped doing that.) Third world stuff.
25.
▲
by
repsilat
2y ago
For this sort of change I think the best strategy is "two passes". Auto-format those O(30k) files and get global approval. Then, separately, make your two-line semantic change and seek approval from local owners.
26.
▲
by
repsilat
2y ago
Maybe it was 6gu.nz (site broken) https://www.youtube.com/watch?v=afXzeCuUuhU . I wrote it about 5 years ago and probably mentioned it in a couple of comments here. It had draggable tables on the normal 2d grid, with referen
27.
▲
by
repsilat
2y ago
The "mango" lib [1] claims to be even faster for PNGs. Actively maintained but doesn't have as much buzz, I think the devs haven't advertised it as much on places like this. Also, it has the funniest testimonials. 1: ht
28.
▲
by
repsilat
2y ago
Maybe it's an uncanny valley thing, but I hate the fake emotion and attitude in this demo. I'd much rather it tried harder to be bland. I want something smart but not warm, and I can't imagine being frustrated by "lack o
29.
▲
by
repsilat
2y ago
This math is way off. _Guaranteed_ doubling in 4 years is a 19% per annum return. If the "not doubling" case is "break even" (generous) then the expected growth is under 10% per annum.
30.
▲
by
repsilat
3y ago
Looks rad, I was going to look into some b-trees for a use-case where I need an ordered map of things similar to integers and this might be better. I couldn't immediately see, is there mention of whether insertions invalidate iterators
More ›