this post was submitted on 16 Oct 2023
1345 points (98.7% liked)

Lemmy Shitpost

26702 readers
3648 users here now

Welcome to Lemmy Shitpost. Here you can shitpost to your hearts content.

Anything and everything goes. Memes, Jokes, Vents and Banter. Though we still have to comply with lemmy.world instance rules. So behave!


Rules:

1. Be Respectful


Refrain from using harmful language pertaining to a protected characteristic: e.g. race, gender, sexuality, disability or religion.

Refrain from being argumentative when responding or commenting to posts/replies. Personal attacks are not welcome here.

...


2. No Illegal Content


Content that violates the law. Any post/comment found to be in breach of common law will be removed and given to the authorities if required.

That means:

-No promoting violence/threats against any individuals

-No CSA content or Revenge Porn

-No sharing private/personal information (Doxxing)

...


3. No Spam


Posting the same post, no matter the intent is against the rules.

-If you have posted content, please refrain from re-posting said content within this community.

-Do not spam posts with intent to harass, annoy, bully, advertise, scam or harm this community.

-No posting Scams/Advertisements/Phishing Links/IP Grabbers

-No Bots, Bots will be banned from the community.

...


4. No Porn/ExplicitContent


-Do not post explicit content. Lemmy.World is not the instance for NSFW content.

-Do not post Gore or Shock Content.

...


5. No Enciting Harassment,Brigading, Doxxing or Witch Hunts


-Do not Brigade other Communities

-No calls to action against other communities/users within Lemmy or outside of Lemmy.

-No Witch Hunts against users/communities.

-No content that harasses members within or outside of the community.

...


6. NSFW should be behind NSFW tags.


-Content that is NSFW should be behind NSFW tags.

-Content that might be distressing should be kept behind NSFW tags.

...

If you see content that is a breach of the rules, please flag and report the comment and a moderator will take action where they can.


Also check out:

Partnered Communities:

1.Memes

2.Lemmy Review

3.Mildly Infuriating

4.Lemmy Be Wholesome

5.No Stupid Questions

6.You Should Know

7.Comedy Heaven

8.Credible Defense

9.Ten Forward

10.LinuxMemes (Linux themed memes)


Reach out to

All communities included on the sidebar are to be made in compliance with the instance rules. Striker

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] Cicraft@lemmy.world 36 points 1 year ago (5 children)

I might be dumb but how many books would 64gbs mean

[–] Masimatutu@lemm.ee 39 points 1 year ago* (last edited 1 year ago) (2 children)

I'd say roughly 1,000 to 100,000, depending on format.

Edit: Raw ASCII (7-bit) could give you up to ~half a million.

Edit 2: According to Randall Munroe (to lazy to find the source), you could theoretically store one ~~word~~ letter per bit. That would give us up to ~~ten~~ two million books.

[–] takeda@szmer.info 22 points 1 year ago (3 children)

Edit 2: According to Randall Munroe (to lazy to find the source), you could theoretically store one word letter per bit. That would give us up to ten two million books.

I don't see how that is possible, I think it is be one letter per byte.

Bit only represents one state 1 or 0, or true or false. It is too little information to store a letter.

[–] Masimatutu@lemm.ee 16 points 1 year ago (1 children)

Here ya go:

Based on the rates of correct guesses—and rigorous mathematical analysis—Shannon determined that the information content of typical written English was around 1.0 to 1.2 bits per letter.

https://what-if.xkcd.com/34/

[–] Socsa@sh.itjust.works 8 points 1 year ago

That's based on common entropy limits of written information. It's also why I always Bachelor domestic extended doubtful as concerns at. Morning prudent removal an letters by. On could my in order never it. Or excited certain sixteen it to parties colonel. Depending conveying direction has led immediate. Law gate her well bed life feet seen rent. On nature or no except it sussex.

Of on affixed civilly moments promise explain fertile in. Assurance advantage belonging happiness departure so of. Now improving and one sincerity intention allowance commanded not. Oh an am frankness be necessary earnestly advantage estimable extensive. Five he wife gone ye. Mrs suffering sportsmen earnestly any. In am do giving to afford parish settle easily garret.

[–] Valmond@lemmy.mindoki.com 3 points 1 year ago

Smart compression!

[–] doctorn@r.nf 3 points 1 year ago (1 children)

That's bit, a letter or character is a byte (8 bits), this is about right for pure text files that have no overhead, any extra info (like font, size, type, anything except which chatacter...) Is extra bytes, of course.

[–] jaybone@lemmy.world 4 points 1 year ago (1 children)

If we’re only talking 26 letters no caps, we can cut that down to 5 bits. Then use a decent compression algorithm. Someone more bored than I am can do the math.

[–] Masimatutu@lemm.ee 1 points 1 year ago* (last edited 1 year ago)

five bits would only leaves us with six punctuation marks (including spaces, and we don't get any numerals either) though, do you think that's enough? i certainly don't; i have not even used a full stop and I have already exceeded it!

[–] Sotuanduso@lemm.ee 16 points 1 year ago (1 children)

One letter per bit? You'd need some crazy effective compression algorithm for that, because a bit is 1 or 0. Did you mean byte?

[–] AdrianTheFrog@lemmy.world 15 points 1 year ago* (last edited 1 year ago) (1 children)

UTF-8 and ASCII are normally already 1 character per byte. With great file compression, you could probably reach 2 characters per byte, or one every 4 bits. One character every bit is probably impossible. Maybe with some sort of AI file compression, using an AI's knowledge of the English language to predict the message.

Edit: Wow, apparently that already exists, and it can achieve even higher of a compression ratio, almost 10:1! (with 1gb of UTF-8 (8 bit) text from Wikipedia) bellard.org/nncp/

If an average book has 70k 5 character words, this could compress it to around 303 kb, meaning you could fit 1.6 million books in 64 gb.

You can get a 2tb ssd for around $70. With this compression scheme you could fit 52 million books on it.

I'm not sure if I've interpreted the speed data right, but It looks like it would take around a minute to decode each book on a 3090. It would take about a year to encode all of the books on the 2tb ssd if you used 50 a100s (~$9000 each). You could also use 100 3090s to achieve around the same speed (~$1000 each)

52 million books is around the number of books written in the past 20 years, worldwide. All stored for $70 (+$100k of graphics cards)

[–] Sotuanduso@lemm.ee 11 points 1 year ago (1 children)

There's something comical about the low low price of $70 (+$100k of graphics cards) still leaving out the year of time it will take.

[–] Cicraft@lemmy.world 1 points 1 year ago

Well I guess you could sacrifice a portion for an index system and just decode the one you're trying to read

[–] robocall@lemmy.world 20 points 1 year ago

Not dumb to ask

[–] DancingIsForbidden@lemmy.world 15 points 1 year ago* (last edited 1 year ago) (1 children)

Have a couple old pirated e-textbooks as .pdf files on my PC from uni, several hundred pages with color images, and they are mostly under 50MB, averaging about 30MB. 1GB is a little over a thousand MB (1024) so 1 would maybe hold a bit under 50 or so each? So times 64 that, a hell of a lot. Several thousand total, at least, as size varies.

[–] thepianistfroggollum@lemmynsfw.com 4 points 1 year ago (1 children)

PDF is super overkill for ebooks. Mobi or epub are usually <5mb per book (usually around 1mb)

[–] DancingIsForbidden@lemmy.world 4 points 1 year ago* (last edited 1 year ago)

No actually I agree with you, plus PDF is a privacy and security nightmare allowing for arbitrary JavaScript execution by default if you don't limit its permissions. but unfortunately it was all that I could find of that ISBN so it was either shut up and use them or pay full price for my textbooks, so, y'know, I sort of grit my teeth and went with it.

[–] feedum_sneedson@lemmy.world 15 points 1 year ago

More than have been banned, I think.

[–] H3wastooshort@lemmy.blahaj.zone 13 points 1 year ago (1 children)

a shitload. 64000 if it were simple text only stuff with 1MB per book, 640 if it were 100MB chonkers full of images

[–] Mog_fanatic@lemmy.world 2 points 1 year ago

yeah i read mostly sci fi books so around like 300-400 pages all text and i'd say the average e-book for them is like 150-200kb's so if it were books like that you'd be looking at stuffing like 300,000 books on there.