Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
camgunz
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
30 ms
·
451.
▲
by
camgunz
2y ago
Plutonium is scarce. Demand for that plutonium is endless. Scarcity + demand creates a natural market by default, meaning you must use brutal authoritarianism to disrupt it entirely (vs just regulating with guardrails). Disrupting natural m
452.
▲
by
camgunz
2y ago
Door knocking is not advertising, it's having a conversation with people in your community.
453.
▲
by
camgunz
2y ago
Political messaging is more than TV ads and mailers. There are rallies, online groups, town halls, organizing, basic human communication stuff. --- The way we reign in government isn't by having no rules (the argument you're makin
454.
▲
by
camgunz
2y ago
I see this dynamic in tech all the time: "We'd like to pay/invest in you tremendous amounts of money to make X more efficient": yes, absolutely we know what X is and we understand scaling it is immensely valuable and fun
455.
▲
by
camgunz
2y ago
Oh shit, of course. The main thing is you can't rely on a double \r\n to terminate a response; you have to track the tag, and yeah it's mega annoying. But multiple connections fixes that, wow.
456.
▲
by
camgunz
2y ago
Eh I remember the culture wars from the 90s [0]. [0]: https://en.wikipedia.org/wiki/Culture_war#:~:text=1991%E2%80...
457.
▲
by
camgunz
2y ago
Oh, yeah I guess that's what I mean, and then your connection can be used basically (again) like POP
458.
▲
by
camgunz
2y ago
I've been working on some email stuff and I think probably four things are vexing about IMAP: - The grammar is hard. I built a parser using lpeg and I'm incredibly glad I did--doing it ad hoc won't lead to good results. - It&
459.
▲
by
camgunz
2y ago
I had a moment of pique where I was just gonna copy paste my reply to this rehash of your original point that is non-responsive to what I wrote, but I've found myself. Instead, I will link to the Wikipedia article for Equivocation [0]
460.
▲
by
camgunz
2y ago
I feel like I hear a lot of criticism about Wikipedia editors, but isn't Wikipedia overall pretty good? I'm not gonna defend every editor action or whatever, but I think the product stands for itself.
461.
▲
by
camgunz
2y ago
The sell of Wikipedia was never "we'll think so you don't have to", it was never going to disarm you of your skepticism and critical thought, and you can actually check the sources. LLMs are sold as "replace knowled
462.
▲
by
camgunz
2y ago
Yeah if anyone thinks people don't just run searches for `sprintf` they're pretty naive.
463.
▲
by
camgunz
2y ago
> Size is irrelevant because UUIDs are meant to be used as is (see my other comment). `b210cdca-5d10-4c2e-a604-0fdd9502f02b` has no intrinsic meaning as a number 236689833926310967579631802650001076267; every parsing and formatting again
464.
▲
by
camgunz
2y ago
This isn't responsive to what I wrote: > and yielding a bespoke bignum format is just as unusable as simply returning whatever's encoded in CBOR. How would I add two such values together? How would I display it? This is what bi
465.
▲
by
camgunz
2y ago
> The IETF is not a committee process and your claim of "which if anyone knows anything about IETF it's that" is very likely something coloured by your bubble and context. Committee means the members of the standard body i
466.
▲
by
camgunz
2y ago
The registry isn't useful for this. Either you're defining a format to be consumed by a generic decoder and therefore can't rely on tags in the registry, or you're defining a format to be consumed by a custom decoder you
467.
▲
by
camgunz
2y ago
Maybe an example is useful. I want to build a generic CBOR decoder in C. I have 2 options: - link GMP/mpdecimal/whatever (or hey, provide an abstraction layer and let a user choose) - accept function pointers to handle bignum tags
468.
▲
by
camgunz
2y ago
All the links you want are in the post I made that was linked by TFA (IETF very annoyingly killed its URLs for some reason so you have to wayback machine a little). That, plus trying to argue IETF doesn't design by committee (which if
469.
▲
by
camgunz
2y ago
https://mailarchive.ietf.org/arch/search/?q=messagepack
470.
▲
by
camgunz
2y ago
Aren't there a bunch of emails and what-not about it? I think that's what people are referring to. EDIT: > Other MessagePack people could've sent a mail to the mailing list. You could've had comments relayed on the mi
471.
▲
by
camgunz
2y ago
I don't think canonicalization is really important in the world of data serialization formats (ex: Protocol Buffers doesn't do it and things seem fine). If you're defining something you're--for example--gonna HMAC, canon
472.
▲
by
camgunz
2y ago
> Not so much. (This response seems to repeat, please refrain from ignoring details in such bold claim.) I said what I meant; feel free to disagree but this policing is pretty condescending. I don't need to constantly repeat that th
473.
▲
by
camgunz
2y ago
You can replace "pull in MPFR" with "work any harder than just using `double`". Bignums are an obvious pain in the ass; I can think of no data representation formats that include support for them and that's why
474.
▲
by
camgunz
2y ago
> But MP's inability to store anything more than (u)int64 and float64 does make its data model technically different from JSON.... Yeah I don't love the MP/JSON comparison the site pushes. I don't really think they so
475.
▲
by
camgunz
2y ago
Nah it's a pain in the ass if I'm writing a C program to consume your API and I need to pull in MPFR because you used bignums.
476.
▲
by
camgunz
2y ago
> I admit I've only skimmed the RFC, but it seems to explicitly allow receivers to refuse to deal with lots of features. That's true but like, at what point are people disappointed your library doesn't support functionalit
477.
▲
by
camgunz
2y ago
> As for parsing JSON, the upside is that's its trivial to debug over serial, both viewing and sending, and in my case I could assume limited shenanigans and fail hard if there were issues. Totally yeah, text formats are way easier
478.
▲
by
camgunz
2y ago
> CBOR intentionally opting for an open tagging system CBOR's tags are MP's extension types
479.
▲
by
camgunz
2y ago
> I'm not sure but your wording suggests that CBOR is equally unworkable as MP because they implement the same feature set...? That's fair; I've been a little confusing when I say things like "CBOR is MessagePack"
480.
▲
by
camgunz
2y ago
> Is it? Take JSON: its spec states that JSON numbers are theoretically infinite precision rationals, but implementations are free to impose their own restrictions. Well like you say JSON gives you an out: "An implementation may set
More ›