Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jhgg
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
jhgg
2y ago
One thing to note is that on a given gateway server there are potentially 100k other compression contexts active, and given each connection is transmitting a trickle of small data in an unpredictable way, from different CPU cores as the pro
32.
▲
by
jhgg
2y ago
It was a bug
33.
▲
by
jhgg
2y ago
The 2mb case is pathological - an account on MANY servers with no local cache state (the READY payload works to only send data that's changed between when you've reconnected by having the client send hashes of data it knows.)
34.
▲
by
jhgg
2y ago
I think one thing this blog post did not mention was the historical context of moving from uncompressed to compressed traffic (using zlib), something I worked on in 2017. IIRC, the bandwidth savings were massive (75%). It did use more serve
35.
▲
by
jhgg
2y ago
Try out https://huggingface.co/Qwen/Qwen2-VL-7B-Instruct
36.
▲
by
jhgg
2y ago
> Is Go adding a random seed to each hash map? Yes: https://github.com/golang/go/blob/27093581b2828a2752a6d2711d...
37.
▲
by
jhgg
2y ago
https://go.dev/doc/go1#iteration > The old language specification did not define the order of iteration for maps, and in practice it differed across hardware platforms. This caused tests that iterated over maps to b
38.
▲
by
jhgg
2y ago
Look at the code for the watcher client[1] and lease management[2]. [1]: https://github.com/etcd-io/etcd/blob/main/client/v3/watch.go [2]: https://github.com/etcd-io/etcd&#
39.
▲
by
jhgg
2y ago
I'm currently working on a Rust v3 client, and have been reading the Go v3 source code, and the code definitely is hard to follow so I would be unsurprised if there were issues lurking.
40.
▲
by
jhgg
2y ago
Valid JSON, sure, but that key does not conform to the schema provided in the example. The LLM must generate valid JSON that also conforms to the provided schema.
41.
▲
by
jhgg
2y ago
Cloudflare offers this as a service: https://www.cloudflare.com/application-services/products/wai...
42.
▲
by
jhgg
2y ago
How exactly would writing this in elixir have avoided async pains? Can you elaborate.
43.
▲
by
jhgg
2y ago
Because the state of mind is derived from the input tokens.
44.
▲
by
jhgg
2y ago
Set a reasonable maximum for your auto-scaler to avoid this issue.
45.
▲
by
jhgg
2y ago
FYI, the forced arbitration clause has existed in the ToS since 2018. This is not new. Blog post from 2018: https://discord.com/safety/terms-of-service-feedback-and-cha... Archived version of ToS from may 2020: https:
46.
▲
by
jhgg
2y ago
Because it's significantly easier to just ask the phone to make a call, than it is to build VOIP calls into the app. As well, you get a lot of things for free: - user is familiar with the phone UI, and knows how to mute/use speake
47.
▲
by
jhgg
2y ago
Large banks like chase are motivated to make social engineering attacks like this more difficult. However, they need to do so while also considering the friction and potential frustration that additional security/verification measures
48.
▲
by
jhgg
3y ago
V8 isolate termination is more akin to throwing an uncatchable exception, versus killing a thread abruptly. When you ask v8 to terminate an isolate, it does take some time for it to terminate depending on what code is running.
49.
▲
by
jhgg
3y ago
So register a throwaway for work and your phone. Seems easily solvable in a few seconds!
50.
▲
by
jhgg
3y ago
Recaptcha has not been used to train any neural network to detect anything in a very long time. In fact, visual challenges like this are a mostly solved problem, and the real magic is the classification that happens behind the scenes.
51.
▲
by
jhgg
3y ago
Saying that the input latency is 12ms does not mean that it can only update once every 12ms. It just says that there's a 12ms delay from what happens in the real world to what your eyes see through the device.
52.
▲
by
jhgg
3y ago
I would consider our scale pretty large here, and it works just fine.
53.
▲
by
jhgg
3y ago
You must be. It is very easy. We just let kubernetes scheduler take care of everything. We use anti affinities to disallow scheduling nodes from the same ES cluster on the same K8S node. We use the ES operator which will apply the appropria
54.
▲
by
jhgg
3y ago
On the other hand, at a certain scale (running hundreds of ES nodes across 80 or so ES clusters), Kubernetes actually does make a lot of sense. At work, we moved from hosting elastic search on bare VMs to kubernetes. By leveraging scheduler
55.
▲
by
jhgg
3y ago
we are on it
56.
▲
by
jhgg
3y ago
Right, but the penalty for non compliance here is a $20/day fine. No where does the law state that you're granted license to enter the building if they refuse you entry or deny your request. You made your request, they refused and
57.
▲
by
jhgg
3y ago
That is unfortunately not how the law works. I am not a lawyer, but I have studied this a bit in passing. It's important to understand the interplay between the scope of the law, private property rights and also reasonableness. Althoug
58.
▲
by
jhgg
3y ago
It's also worth mentioning that failure to immediately disclose said documents are... a $20/day fine [1]. A company being out of compliance does not give a civilian the right to trespass. The correct solution here is to raise a co
59.
▲
by
jhgg
3y ago
Paying 2.8m for 20pb of bandwidth is two orders of magnitude more expensive than it needs to be. You pay significantly more using cloud hosting providers rather than dedicated server resellers. I would recommend signal consider just renting
60.
▲
by
jhgg
3y ago
I can't help but wonder why a company retiring a script that syndicates status update to another website is at all newsworthy (or a good enough idea to be worth the possible confusion this might cause to consumers who find it valuable
More ›