🌉 bridged from @m_f@discuss.online by Tidepool
m_f
@m-f.discuss.online.ap.tdpl.io
programming Is there a format for a huge distributed JSON document?
10 1Any reason? PostgreSQL's support for JSON is quite good: https://www.postgresql.org/docs/current/datatype-json.html
23 2Some context on this comic: image Transcript:
Many times in drawing faces, I find that it's the understatement of an expression that is so very vital to the humor. The dog, in this case, is a good example of trying to accomplish that. I wanted him to look confident and a little smug, but not elated. He didn't get the short straw, but this is nevertheless a serious moment.
asklemmy Are there any "famous" Lemmy users?
1 1Woo, I'm on the list! Hopefully for good reasons 😄
comicstrips The Jubilee [The Perry Bible Fellowship]
1 0I didn't read it like that initially either, but I think it's a valid interpretation, especially keying on "gifts"
1 0Apart from the indentation issue (and semantics identified in sibling comment), the joke works in python:
python
>>> for i in range(3): ... print(i, end=' '); print(i**2, end=' '); print(i**3) ... 0 0 0 1 1 1 2 4 8
4 1Apparently not: https://math.stackexchange.com/a/3680805
Shannon Entropy is about compression of (long) words generated by biased die toss. And if dice entropy is
H, we can't (on average) compress results ofntosses to less thann⋅Hbits. Kolmogorov Complexity is about compression of arbitrary words. Of course, ifwordis generated by the same die, it's average complexity will ben⋅H+O(1). 29 3https://en.wikipedia.org/wiki/Kolmogorov_complexity
In algorithmic information theory (a subfield of computer science and mathematics), the Kolmogorov complexity of an object, such as a piece of text, is the length of a shortest computer program (in a predetermined programming language) that produces the object as output. It is a measure of the computational resources needed to specify the object, and is also known as algorithmic complexity, Solomonoff–Kolmogorov–Chaitin complexity, program-size complexity, descriptive complexity, or algorithmic entropy. It is named after Andrey Kolmogorov, who first published on the subject in 1963 and is a generalization of classical information theory.
Put another way, it's a measure of how compressible information is. If you have a file that's 1 GB, but it's all 0's, you can compress that down to 4 bytes by simply storing the number of 0's. On the flip side, random data can't really be meaningfully compressed. Another example from the link: image
This image illustrates part of the Mandelbrot set fractal. Simply storing the 24-bit color of each pixel in this image would require 23 million bytes, but a small computer program can reproduce these 23 MB using the definition of the Mandelbrot set, the corner coordinates of the image and the parameters of the color mapping. Thus, the Kolmogorov complexity of this image is much less than 23 MB in any pragmatic model of computation. PNG's general-purpose image compression only reduces it to 1.6 MB, smaller than the raw data but much larger than the Kolmogorov complexity.
comicstrips Knights And Knaves [Oglaf]
4 1I think they mean that the navigation is weird when you're clicking Previous on the site. Here's the overall archive: https://www.oglaf.com/archive/ They mostly do 1 pagers nowadays, but if you go here https://www.oglaf.com/signs/ and then click "Previous", it will take you to the first page of https://www.oglaf.com/goat/, with no indication that there's a second panel that you can get to by clicking "Next" from that page.
comicstrips Have you guys seen this one?
1 1FYI I posted all of the Jon strips in !garfield@lemmy.world a while back, starting with this one: https://discuss.online/post/21851092 Fun fact, those are in the public domain due to lack of copyright notice when they were published
thebutton Thanks for Everything!
0 0Had a lot of fun with this one, phenomenal work @Demigodrick@lemmy.zip!
fediverse Beyond CAPTCHAs: How do we keep human‑pretending bots out of the fediverse?
2 0It would be doable, and libraries have been amenable to this sort of thing, like not handing over records about checking out books. This is even easier than checking out books, since you don't actually need to record who is attached to the account. Libraries could obfuscate information that could lead to invasion of privacy. And because it's distributed and local, it's much harder to abuse. If someone tried creating 100 accounts, the librarians would start remembering them and refusing to give them more. Going around to 100 libraries would also be much harder than spamming a new account page on some website.
fediverse Beyond CAPTCHAs: How do we keep human‑pretending bots out of the fediverse?
1 0becomes easier to dox if you have the person’s location
Yeah, I guess "take over" is too strong vs "provide the option of". It shouldn't be the only way, but would be one very good option. They don't need to actually keep any records of who they gave an account to, and can take steps to obfuscate any privacy-violating processes. Historically, they've been very amenable to this, such as not handing over records about who checked out books.
How many libraries
That'd be a great thing IMO. More skills like that should be distributed and federated. Libraries should be community centers of learning, including learning how to run servers. Information isn't just books anymore, and libraries need to adapt.
fediverse Beyond CAPTCHAs: How do we keep human‑pretending bots out of the fediverse?
9 2It'd be nice to see public libraries take over this sort of thing. They can do community-based physical verification, without cost. They can assert that someone is legit, without revealing any private info. They'd have to be low-drama, boring infrastructure, in that they merely assert "This person is real", without getting into "This person is good".
It's not sexy like a new protocol or blockchain or whatever, but IMO it's one of the few ways to really handle the problem, and also is a good way to help build local community.
nonpolitical_comics I need help! Volunteers needed.
0 0Yeah, I'd be fine with crossposting here, if that's not seen as spammy or anything