Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
CHY872
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
CHY872
11mo ago
In computer vision transformers have basically taken over most perception fields. If you look at paperswithcode benchmarks it’s common to find like 10/10 recent winners being transformer based against common CV problems. Note, I’m not
2.
▲
by
CHY872
1y ago
The article basically argues: You would expect to get similarly good results with subsampling in practice. E.g. no need to process at 1920x1080 when you can do 960x540. Separately, you can break down many problems into smaller tiles and get
3.
▲
by
CHY872
2y ago
Archive formats are hard to make reproducible because there are lots of ways of making different yet equivalent archives. So it’s not surprising to me that someone would fail at this hurdle and find it frustrating to resolve. Nix defined th
4.
▲
by
CHY872
2y ago
It’s not immediately clear that Shannon’s theorem is a good point of comparison here, since it’s only recently that coding schemes have really approached the Shannon limits, and FM and AM do not use these. Even if one does assume a Shannon-
5.
▲
by
CHY872
2y ago
No, you (generally) pay income tax on the current value when you receive it, and then capital gains on any change in value. Essentially, if I pay you £15k for some services, you pay income tax on that £15k. If I buy you a car for £15k, taxm
6.
▲
by
CHY872
2y ago
Firstly, work out how much your 0.2% equity is likely to convert into. You'll probably pay income tax and employers NI on them (and in one year!) and so you'll likely end up paying 55% tax on them. How much do the founders think t
7.
▲
by
CHY872
2y ago
Probably a few factors. 1. Scaling. You want to reap the rewards of someone else investing billions, and while billions of ICE engines are built every year, most of them are much bigger than 50cc. 2. Tolerances, as you say. I know for examp
8.
▲
by
CHY872
2y ago
Battery efficiency is _broadly_ linear; 10kg will give you 100x the capacity of 0.1kg of batteries. This isn't the case with generators. Under 5kg of batteries, engines basically can't compete. The smallest viable petrol engines (
9.
▲
by
CHY872
2y ago
'Please translate this AVX-256 algorithm to Arm NEON' is absolutely a prompt I'd give ChatGPT, and similar prompts have revealed new and useful intrinsics. Of course, results to be checked. Assurance is a complex topic, and a
10.
▲
by
CHY872
2y ago
Yes, if you take a problem you don't understand, ask a GPT to write a solution, do nothing to check the solution, trust it blindly, and then use the solution for some safety critical problem, you're playing with fire. But there&#x
11.
▲
by
CHY872
2y ago
'My customer has given me the documentation to arcane antiquated format X (insert pdf, but it includes 24-bit integers, hex encoded data, semantically signficant whitespace). Here is a sample of the message format, and this struct shou
12.
▲
by
CHY872
3y ago
The specific edge case which is most annoying here is that locking a Java object with synchronized converts all the non-blocking calls that Loom does further down the stack to be blocking ones, which then lock up your carrier threads. So yo
13.
▲
by
CHY872
3y ago
I think this is a bit more subtle and nasty than bog standard priority inversion. Specifically, in present virtual threads, if you take out a lock with synchronized, if you then do a normally-non-blocking asynchronous API call while you hav
14.
▲
by
CHY872
3y ago
Nah, it's not normal or really documented. Normally when languages have async, they end up with dual primitives - the synchronous one and the asynchronous one, and everyone learns that if they do the blocking operation on the async thr
15.
▲
by
CHY872
3y ago
I think this one's weird because the language puts so much effort into making it hard to hit this that you won't notice until it's a gigantic problem. For me, this was enough of a problem that I wrote a Java agent which patch
16.
▲
by
CHY872
3y ago
I've been coding in Java for a bit longer than that, and in my memory it's always been known that ReentrantLock is _faster_, but synchronized has better language level support (as in, the language won't let you forget to unlo
17.
▲
by
CHY872
3y ago
bazhenov/tango does something like this for performance tests, basically to counter system behaviour you run the old and new implementation at the same time.
18.
▲
by
CHY872
3y ago
C# has a garbage collector for specifically tracking memory, but lifetimes are more broadly useful. For example, Rust lifetimes (this is also the case in C++ afaik) can be used to suitably scope the lifetimes of mutexes, to have temporary f
19.
▲
by
CHY872
3y ago
And, that's obviously fun, because with LLMs, you have the LLM itself which cost hundreds of thousands in compute to train, but given you have the weights it's eminently fine-tunable. So it's actually not really like Linux -
20.
▲
by
CHY872
3y ago
Java 5 and Java 8 were both very big - generics in 5, lambdas in 8. 6 and 7 were iterative in comparison. There were very many important changes in the meantime over that timeframe, but generics and lambdas fundamentally changed how you use
21.
▲
by
CHY872
3y ago
There’s just an economic bar where below that point, it’ll be what happens. Similar thing with solar and electric cars. Already cheaper to install solar than keep running coal. Give it a couple years and a government will be offering a reba
22.
▲
by
CHY872
3y ago
I while ago I rand some relatively unscientific numbers, and learned that even swamps and forests are relatively inefficient users of space as it pertained to carbon capture. For example, a well managed bamboo plantation will yield 25T/
23.
▲
by
CHY872
3y ago
OpenBSD’s position is far from unique. It’s shared with MacOS (and iOS).
24.
▲
by
CHY872
3y ago
The size of the savings you can negotiate is a function of how locked in you are. A big customer will get discounts well beyond reserved instances, in response for (usually) committing to increase their expenditure above where it is. The be
25.
▲
by
CHY872
3y ago
In fairness, concurrent data structures generally don’t represent what gp is talking about. Yes, very, very difficult to write a solid concurrent ring buffer. Writing Java’s concurrent hashmap - hard. Using it to implement a simple in memor
26.
▲
by
CHY872
3y ago
right - why won't 'networking w/ 800GbE' be different (in terms of weird programming model, crazy interesting papers, etc)?
27.
▲
by
CHY872
3y ago
The other element which appears unsaid is that in a typical datacentre, your bisection bandwidth is typically << (num computers * network bandwidth per computer). Or in other words, even if your computation is bandwidth and not latenc
28.
▲
by
CHY872
3y ago
These APIs can be combined quite nicely with 'secure enclave' processing technologies like Intel SGX. The idea is that (at the very least) a processor can attest that the process communicating with your server is an unmodified cop
29.
▲
by
CHY872
3y ago
My experience with musl has been that while it’ll most probably work, you’re severely at risk of a 30%+ perf degradation, and that means the juice is really not worth the squeeze. glibc shouldn’t be statically compiled in because it’s lgpl
30.
▲
by
CHY872
3y ago
I have >5 years of experience using Cassandra in production, involving thousands of clusters storing petabytes of data. My conclusion from that time is that Cassandra is simply not robust enough to be a general purpose database (the team
More ›