Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Chaosvex
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
121.
▲
by
Chaosvex
9mo ago
You don't even need a certificate to prevent update tampering like this. The updates could have shipped with an ECDSA signature and this wouldn't have happened. It's also free and doable in an afternoon.
122.
▲
by
Chaosvex
9mo ago
I can't tell you what it is but I can tell you when it's missing.
123.
▲
by
Chaosvex
9mo ago
There is a server in the middle. It's the machine running Supabase.
124.
▲
by
Chaosvex
9mo ago
Most likely the latter. Even people that have some idea of how this all works seem to be susceptible to thinking that there's intelligence there.
125.
▲
by
Chaosvex
9mo ago
Shame there's no video demonstrating it working. It's a fun idea but without a demo, I'm left wondering about the efficacy.
126.
▲
by
Chaosvex
10mo ago
It's because I was involved with a large volunteer-based project that was a literal 24/7/365 operation for several years (dozens of volunteers at any given time and tens of thousands of concurrent users) and can speak first
127.
▲
by
Chaosvex
10mo ago
When you ask an LLM what model it is, surely there's a high probability of it just hallucinating the name of whatever model was common in its training data?
128.
▲
by
Chaosvex
10mo ago
> That people have different standards when paid? That lack of remuneration justifies poor effort? Isn’t that a very transactional view of human interaction? Are we that transactional? The answer to all of these questions is yes, for the
129.
▲
by
Chaosvex
1y ago
That's a lot of abstraction to implement a simple update check and I suspect it's very much not worth it to save a minuscule amount of battery life on a laptop. This is ignoring that you're incorrect about how Web Push works,
130.
▲
by
Chaosvex
1y ago
The same Netflix that's been spats with Apple over avoiding app store fees by flouting policies that had other apps kicked out of the store? I'd suggest that it was, in fact, not good enough for Netflix.
131.
▲
by
Chaosvex
1y ago
No, those are abstraction over a TCP socket and introduce more complexity than you'd need for something like this. There's nothing wrong with occasionally polling for updates.
132.
▲
by
Chaosvex
1y ago
I'm #1 and #2 ranks. ChatGPT is a bit loosey-goosey with translations and interprets 否例 as "negative example". It took a little messing with characters in Google Translate to come up with. Good fun.
133.
▲
by
Chaosvex
1y ago
Interesting that nobody brought up Discord, who recently(-ish) changed the typeface for chat messages in favour of a worse alternative, allegedly to avoid licensing costs.
134.
▲
by
Chaosvex
2y ago
> If you do some reading on how antenna on phones work combined with websockets heartbeat ping/pong and you should get the idea. The implication is that the ping/pong keeps the system active when it wouldn't otherwise be
135.
▲
by
Chaosvex
2y ago
Thanks again for this comment. Consider Cereal copied, now only a single function is required.
136.
▲
by
Chaosvex
2y ago
.h is the more common convention even in the C++ world.
137.
▲
by
Chaosvex
2y ago
I'm biased but in my experience, no, not at all. I don't use the amalgamated version, though (that only exists for this standalone version) and the library overall is significantly smaller than either of those and doesn't dra
138.
▲
by
Chaosvex
2y ago
Thanks for the interesting link. :)
139.
▲
by
Chaosvex
2y ago
Agreed but just to clarify, Hexi sits at a level below something like MessagePack because it doesn't impose any particular encoding on you since the use-case was handling arbitrary binary protocols that you might not have any control o
140.
▲
by
Chaosvex
2y ago
What's the difference? As silly as that question sounds, the point is that ICE has the same issue of shoddy components. Ford (but not limited to) enjoys replacing critical metal parts with plastic and dunking rubber in oil. Now they ha
141.
▲
by
Chaosvex
2y ago
With more complex structures, you need to specify how it should behave. The definition for 'more complex' here is basically no virtual functions, virtual base classes, is trivially copyable and constructible and a few others. Basi
142.
▲
by
Chaosvex
2y ago
I'll likely add additional functionality for specifying both operations with a single function since it's been mentioned a few times. Thanks for the repos.
143.
▲
by
Chaosvex
2y ago
I made sure to set the alt text for the images for that reason.
144.
▲
by
Chaosvex
2y ago
On the plus side, it's optional. The same thing can be achieved with put()/get() equivalents.
145.
▲
by
Chaosvex
2y ago
Thanks, that is definitely a downside to the shift operator overloading approach. I'll take that onboard and investigate whether a single operator to handle both would mesh with the current design.
146.
▲
by
Chaosvex
2y ago
Correct but it doesn't claim to be zero-copy overall. Apologies if it was misleading. In the README, zero-copy is mentioned in context of using view() and span() to obtain views into the buffer, which does allow for it. Very much a &qu
147.
▲
by
Chaosvex
2y ago
Thanks very much. :)
148.
▲
by
Chaosvex
2y ago
Thanks. The documentation could definitely be fleshed out with some more examples. You'd likely want to always use that API (or layer something on top of it) unless you're in control of both ends and know they were built with the
149.
▲
by
Chaosvex
2y ago
Thanks, that was the hope! :) I would have liked a different froggy reaction for each section but the project budget was zero. :^)
150.
▲
Show HN: Hexi – Modern header-only network binary serialisation for C++
(github.com)
118 points
by
Chaosvex
2y ago
|
45 comments
More ›