Readit News logoReadit News
contravariant commented on For all that's holy, can you just leverage the Web, please?   blog.tomayac.com/2025/09/... · Posted by u/tomayac
LauraMedia · 18 hours ago
I fail to see a useful usage for AI in this case.

Couldn't you just print the product number as a barcode/qrcode and let a "dumb code scanner" read it, instead of having to download a multifunctional LLM?

contravariant · 18 hours ago
They could, that very qr code is on there and contains the product number and serial number inside a URL query that links to qr.electrolux.com.

The page loads but doesn't offer to register the product, which is probably for the best.

contravariant commented on Uncertain<T>   nshipster.com/uncertainty... · Posted by u/samtheprogram
contravariant · 6 days ago
I feel like if you're worried about picking the right abstraction then this is almost certainly the wrong one.
contravariant commented on Beginning 1 September, we will need to geoblock Mississippi IPs   dw-news.dreamwidth.org/44... · Posted by u/AndrewDucker
andybak · 8 days ago
Between this and the UK Online Safety Bill, how are people meant to keep track?

Launch a small website and commit a felony in 7 states and 13 countries.

I wouldn't have known about the Mississippi bill unless I'd read this. How are we have to know?

contravariant · 7 days ago
More to the point, why would anyone outside of Mississippi need to comply? What legal grounds do they have to dictate what other people do outside of their state?
contravariant commented on Playing every game of Wordle simultaneously   chriskw.xyz/2025/08/24/Hy... · Posted by u/chriskw
ktallett · 9 days ago
What's the point? You play these games to improve your own mind, or for your own enjoyment.
contravariant · 9 days ago
No you see chatgpt is doing the thinking for us now, instead of using your own brain to struggle with a puzzle that is trivial to solve for a simple algorithm you can let a language model struggle with it for you! You get all of the enjoyment from solving a puzzle with an inefficient overly complicated general purpose solver, without needing to put in any work yourself!
contravariant commented on Show HN: Sping – An HTTP/TCP latency tool that's easy on the eye   dseltzer.gitlab.io/sping/... · Posted by u/zorlack
contravariant · 10 days ago
I'm a bit curious why some times like 190ms don't get even slightly highlighted as an outlier when regular traffic is clearly 125+/-5ms
contravariant commented on Monero appears to be in the midst of a successful 51% attack   twitter.com/p3b7_/status/... · Posted by u/treyd
OneDeuxTriSeiGo · 23 days ago
There is such a thing as useful proof of work. Qubic may not be doing it but it does exist. The linked papers [1][2] are examples of way to do it. They aren't 100% "useful" but rather achieve partial efficiency by essentially forcing miners down random paths in a manner that limits the ability to complete work ahead of time or otherwise "cheat".

1. https://eprint.iacr.org/2021/1379

2. https://eprint.iacr.org/2023/1059

contravariant · 22 days ago
Proof of useful work feels like it's one and a half steps removed from discovering seigniorage and reinventing money.
contravariant commented on Wikipedia loses challenge against Online Safety Act   bbc.com/news/articles/cjr... · Posted by u/phlummox
amenhotep · 24 days ago
Because, as someone living in the UK, the only way people here are going to realise what's going on and apply meaningful pressure to the government is if these organisations force us to. And because once they've given up on one country, they'll give up on the rest just as easily.
contravariant · 23 days ago
Sure, but letting the UK government block wikipedia makes things _much_ clearer for everyone.
contravariant commented on Compressing Icelandic name declension patterns into a 3.27 kB trie   alexharri.com/blog/icelan... · Posted by u/alexharri
silvestrov · a month ago
One more optimization idea: instead of the trie mapping to the suffix string directly, then instead make an array of unique suffixes and let the trie map to the index into the array, e.g.

    const suffixes = [",,,", "a,u,u,u", ",,i,s", ",,,s", "i,a,a,a", ...];
and then use the index of this list in the

    var serializedInput = "{e:{n:{ein:0_r: ...

contravariant · a month ago
You could go a step further by putting the suffixes themselves into the trie and then identifying identical subtrees.

If you can use gzip there's bound to be a clever way of using a suffix array as well, that might end up being better unless you can use an optimised binary format for the tree.

contravariant commented on Caches: LRU vs. Random   danluu.com/2choices-evict... · Posted by u/gslin
hinkley · a month ago
When the cost of different requests varies widely it’s difficult to get it right. When we rolled out docker I saw a regression in p95 time. I countered this by doubling our instance size and halving the count, which made the number of processes per machine slightly more instead of way less than the number of machines. I reasoned that the local load balancing would be a bit fairer and that proved out in the results.
contravariant · a month ago
I'm not 100% sure if it's just load balancing. It would depend on the details of the setup but that situation also allows you to throw more resources at each request.

I mean obviously there is a point where splitting up the instances doesn't help because you're just leaving more instances completely idle, or with too little resources to be helpful.

contravariant commented on Caches: LRU vs. Random   danluu.com/2choices-evict... · Posted by u/gslin
hinkley · a month ago
I have never been able to wrap my head around why 2 random works better in load balancing than leastconn. At least in caching it makes sense why it would work better than another heuristic.
contravariant · a month ago
Technically it doesn't, it's just really hard to implement leastconn correctly.

If you had perfect information and could just pick whichever was provably lowest that'd would probably work. However keeping that information up to date also takes effort. And if your information is outdated it's easy to overload a server that you think doesn't have much to do or underload one that's long since finished with its tasks. Picking between 2 random servers introduces some randomness without allowing the spread to become huge.

u/contravariant

KarmaCake day8921March 19, 2015
About
Identity: X -> X
View Original