Conversation
Notices
-
Embed this notice
nekobit (neko@clubcyberia.co)'s status on Thursday, 01-Aug-2024 23:40:14 JST nekobit Why is it always the proprietary file formats that are smaller? Youd think hobbyists would be able to figure shit out by now
Have you guys SEEN Epub compared to Kindles format?-
Embed this notice
snacks (snacks@netzsphaere.xyz)'s status on Thursday, 01-Aug-2024 23:40:12 JST snacks @meso @neko it's compressed xhtml, calm down -
Embed this notice
meso [netzsphaere era] (meso@netzsphaere.xyz)'s status on Thursday, 01-Aug-2024 23:40:13 JST meso [netzsphaere era] @neko epub is cia glownigger shit it wasnt hobbyists fault it was whatever fucking FAGGOT designed that piece of shit its not even funny how bad it is -
Embed this notice
snacks (snacks@netzsphaere.xyz)'s status on Thursday, 01-Aug-2024 23:44:43 JST snacks @meso @neko if you're gonna go cat-cmv on me and tell me to use pdf i'll remind you of that sentence -
Embed this notice
meso [netzsphaere era] (meso@netzsphaere.xyz)'s status on Thursday, 01-Aug-2024 23:44:44 JST meso [netzsphaere era] @snacks @neko its a fucking nightmare have you attempted to write a parser for it because i have -
Embed this notice
meso [netzsphaere era] (meso@netzsphaere.xyz)'s status on Thursday, 01-Aug-2024 23:47:40 JST meso [netzsphaere era] @snacks @neko Pdf is an entirely different thing, epub is just incredibly ass, you have like 5 files you need to get through and they're not standardized per version even though there's like 4 different versions of epub so you just have to guess which one it is or get parsing errors. braindead standard snacks likes this. -
Embed this notice
iced depresso (icedquinn@blob.cat)'s status on Thursday, 01-Aug-2024 23:50:54 JST iced depresso @neko @meso @snacks amazon is using the mobipocket format which is ultimately derived from some record format you had to use on PalmOS. sometimes. there's like seven variations of a kindle file now, some of which are still mobis and some are abominations of shit taped on top of epub/mobi with special drm wrappers.
epub is idk. i've made version 2 and 3 files from time to time. its mostly an xml manifest or two and then the xhtml pages. as long as you break up the chapters in to separate files its fine. there's some dinguses that do not, and cram the whole 700 page book in one xhtml, which *does* make a ten year old kobo reader chug a bit, but its easy to not fuck this up. -
Embed this notice
nekobit (neko@clubcyberia.co)'s status on Thursday, 01-Aug-2024 23:50:55 JST nekobit @snacks @meso The devices Epubs are supposed to be used for are E-Readers clocked at 10MHz per hour, alongside this, you have to parse at certain positions in the file, but Epub requires you to load the entire file. So, you have to load the entire file into memory just to read the last 3 pages. -
Embed this notice
snacks (snacks@netzsphaere.xyz)'s status on Thursday, 01-Aug-2024 23:52:14 JST snacks @meso @icedquinn @neko you have never looked at docx LMAO -
Embed this notice
meso [netzsphaere era] (meso@netzsphaere.xyz)'s status on Thursday, 01-Aug-2024 23:52:15 JST meso [netzsphaere era] @icedquinn @neko @snacks once youve seen the inside of an epub file all file formats suddenly seem not so bad -
Embed this notice
iced depresso (icedquinn@blob.cat)'s status on Thursday, 01-Aug-2024 23:53:52 JST iced depresso @BlinkRape @neko @waifu important issue with an ebook is the reader tends to need to seek, which is something ZIP excels at (because files are packed individually) whereas XAR, RAR, and 7Z are crapshoots, because the better compression comes from "solid" mode which basically turns the whole archive in to a single compressed tarball, which means you can no longer seek as the entire file has to be unpacked to read any point of it.
i think zstd has some seekable or rsync format mode that cuts it up in to blocks but i don't remember specifics -
Embed this notice
Ethical Pedophile (blinkrape@posting.lolicon.rocks)'s status on Thursday, 01-Aug-2024 23:53:53 JST Ethical Pedophile @waifu @neko anyway it depends on what you're compressing.
Different algorithms are gonna work better on different data -
Embed this notice
waifu (waifu@mai.waifuism.life)'s status on Thursday, 01-Aug-2024 23:53:54 JST waifu @BlinkRape@posting.lolicon.rocks @neko@clubcyberia.co ok then rar
-
Embed this notice
waifu (waifu@mai.waifuism.life)'s status on Thursday, 01-Aug-2024 23:53:55 JST waifu @neko@clubcyberia.co isn't 7z better than winrar
-
Embed this notice
Ethical Pedophile (blinkrape@posting.lolicon.rocks)'s status on Thursday, 01-Aug-2024 23:53:55 JST Ethical Pedophile @waifu @neko
7z is a format, winrar is an application -
Embed this notice
iced depresso (icedquinn@blob.cat)'s status on Thursday, 01-Aug-2024 23:54:12 JST iced depresso @meso @neko @snacks i've made a few over the years, so. -
Embed this notice
meso [netzsphaere era] (meso@netzsphaere.xyz)'s status on Thursday, 01-Aug-2024 23:55:06 JST meso [netzsphaere era] @snacks @icedquinn @neko microshit formats dont count snacks likes this. -
Embed this notice
snacks (snacks@netzsphaere.xyz)'s status on Thursday, 01-Aug-2024 23:55:58 JST snacks @meso @icedquinn @neko well, i had to work on that crap, their libraries don't do anything a regular xml parser wouldn't and their own documentation doesn't line up at all with what word does -
Embed this notice
iced depresso (icedquinn@blob.cat)'s status on Thursday, 01-Aug-2024 23:56:27 JST iced depresso @neko @meso @snacks do yourself a favor and keep a copy of sigil installed. check the books and use the button to split the file by header if needed, save the copy to the reader.
some of the tools that make ebooks are a bit stupid. pandoc for instance will give you a 700 page ebook in one web page, unless you SPECIFICALLY ask it to be competent. -
Embed this notice
nekobit (neko@clubcyberia.co)'s status on Thursday, 01-Aug-2024 23:56:28 JST nekobit @icedquinn @meso @snacks Yeah, the books I've downloaded are just massive files -
Embed this notice
Phantasm (phnt@fluffytail.org)'s status on Thursday, 01-Aug-2024 23:57:56 JST Phantasm @snacks @icedquinn @neko @meso The format isn't even consistent between recent Word versions. Some documents from 365 don't look the same on 2016 or even 365 LTSC. That whole format is an undocumented garbage. snacks likes this. -
Embed this notice
iced depresso (icedquinn@blob.cat)'s status on Thursday, 01-Aug-2024 23:59:21 JST iced depresso @neko @meso @snacks i do agree that you could probably require less total SLOC by just like, using a troff-like format for the books. the typesetting requirements are fairly low for the majority of these things.
epub does allow for CSS, which is cooked, though at the point you are doing anything more than custom fonts with CSS you probably are shipping a PDF version instead. -
Embed this notice
iced depresso (icedquinn@blob.cat)'s status on Friday, 02-Aug-2024 00:31:05 JST iced depresso @neko @meso @snacks calibre has ebook converters. they sometimes work (its kind of hard to convert a pdf to epub) -
Embed this notice
nekobit (neko@clubcyberia.co)'s status on Friday, 02-Aug-2024 00:31:06 JST nekobit @icedquinn @meso @snacks Can calibre do it?
-
Embed this notice