3 ms·
Moby Dick Workout (2022)
- gnabgib 3mo ago(2022)
- miiiiiike 3mo agoI use "War and Peace" for this.
- N_Lens 3mo agoGood idea, I might use Crime & Punishment!
- timclark 3mo agoI used war and peace to explain to a CEO how wasteful a mobile API was; twelve distinct items of data to display but we sent JSON larger than war and peace.
- chucksmash 3mo agoI used to use this as my example for how big a megabyte actually is. I think the entire text is 4 MB uncompressed (a nagging voice in my head says 16 MB, but I think that's just the residual part of me that never really believed how big a MB actually is).
- mixmastamyk 3mo agoAn ASCII page is about 4k, so roughly 1000 pages.
- keiferski 3mo agoAnd here I thought this was going to be, “do a push up every time you have to look up a word in the dictionary while reading Moby Dick.”
- Cthulhu_ 3mo agoOr how to stay fit like an 1800s whaler. Where am I going to find a hook and a 200 pound chunk of whale blubber though?
- nixosbestos 3mo agoHere I was, thinking it would be a very, very odd workout set to Moby's music.
- mikestew 3mo agoNo, that would be doing curls with a printed copy of the book. Alternatively, I'm sure recreating the drum solo from the Zeppelin song of the same name would get you sweaty. For advanced athletes, do the live version.
- zerr 3mo agoThat reminded me of how fast/instant Winamp loads the huge directory (recursively), while other players struggle. Scrolling reveals that files are being loaded lazily (obviously), but the most interesting part is that Quick search and Jump to file works immediately.
- jonplackett 3mo agoThis reminds me of ‘The Jules Test’. Popularised (hyper locally) by my friend Jules. When renting a flat, simply head straight to the bathroom and flush the toilet. If the toilet flush is good, the flat is fine.
- sam_goody 3mo agoYou can use "20,000 leagues under the sea" instead of Moby Dick. Both were written at the same time, both deal with ocean adventures, and both (IMHO) are much longer than they need to be. Then you can have multiple Jules tests, depending on occasion!
- znpy 3mo ago> both (IMHO) are much longer than they need to be I haven’t read moby dick but i dropped 20’000 leagues under the see a bit past half the book because of this. At some point the author spent pages and pages and pages describing the environment under the see, often repeating himself. I’ll get back to that book at some point but yes, it’s longer than it needs to be.
- ehnto 3mo agoI think at that point in my life I quite enjoyed how much he laboured the details. But the book Ready Player One had a few areas where the author just listed pop references, on and on, which reminds me of that. Something that helps me is just giving myself license to skip stuff. It's usually better I finish a book since I will never come back to it. So I just jump around a few pages if I get bored.
- BoingBoomTschak 3mo agoMoby Dick had a much worse ratio of "size of good novel trying to get out / actual size", in my opinion.
- velcrovan 3mo agoMoby Dick has a bad (high) ratio of “people who try to read it like a thriller novel” to “people who read it for what it is”.
- hnbad 3mo agoYou had me at "dick workout".
- muvlon 3mo agoAnd to Moby music! What's not to love?
- RealityVoid 3mo agoA bit amusing. I took Anna Karenina off Gutenberg and used that as test data for some of my flashing algorithms. I called it the "Anna test". I could have used random data, but where's the fun in that? Besides, during dev, structured text showed the kind of error I got much better than random data would have.
- Barrin92 3mo agonot to pile on the particular software but the example just stuck in my memory, two years ago or so I tried out Logseq for note taking, and I still remember that it put a five page file (not even Moby Dick) into 'read only' mode because apparently at about 1k characters or a few hundred lines of text the app couldn't handle the performance impact, stumbling across discussions like this[1] With the quasi supercomputers we have, that somehow apps that exist to edit and display text crap themselves on ordinary <1mb files is just weird. There should be no trade-offs. [1] https://discuss.logseq.com/t/logseq-unusable-for-long-form-pages/21256 https://discuss.logseq.com/t/logseq-unusable-for-long-form-p...
- deleted 3mo ago[deleted]
- 0gs 3mo agodid jesse write this? i presume so but maybe hog bay has an anonymous forum
- jessegrosjean 3mo agoI did! And I'm still using it to test Bike 2.0. Will will be release about 2 years ago. :\ Well soon anyway!
- arjie 3mo agoOh that’s a great test case. I’ve been annoyed by the speed issue too. For a while I had json and Md files bound to Zed because it was faster with highlighting than anything else. But even that takes seconds to start on my M1 Max from cold. So then I just wrote (avec Claude) a viewer app and it turns out computers are so fast you can not only open multi GB JSON files instantly you can even pretty print them so fast the user won’t lose attention. But I just generated those. Moby Dick is a great real-world test case.
- zipy124 3mo agoThis is why you use Emacs in Daemon mode for instant starts. Does zed perhaps offer something similar?
- arjie 3mo agoOne can keep it open without a window on MacOS I think but in the end the vibe-coded solution outperforms it on this specific task (which is not its primary task) at a few orders of magnitude. It is perhaps on the frontier for speed-features but I don’t need the features so when I move backwards along the curve I can extract more speed myself.
- t_mahmood 3mo agoThis made me test my own app with the book. And even though it had no issues loading it, it still left me thinking I can get much better performance on scrolling. small video I made for demonstration purpose: https://youtu.be/fiJ0vJLhcN8 https://youtu.be/fiJ0vJLhcN8 I am overall pretty happy with iced-rs