HNHacker News
TopNewBestAskShowJobs

lidavidm

272 karma · joined November 30, 2020

https://github.com/lidavidm

otherdavidli@lidavidm.me

submissionscomments
lidavidm··on ReMarkable Paper Pro
I had a reMarkable 2 and gave up it almost solely because it didn't support USB mass storage (like Kobo devices do), making it really annoying to transfer files. Also, their software update made the reader worse, since I went from being able to manually crop the page to fit the viewport to having to carefully pinch-zoom with a bunch of latency and really weird sensitivity. And they seem oddly insistent they're not a reading device anyways; if they supported ePub 3 (particularly ePub 3 fixed layout - again, Kobo supports this) that would have made it a nice comics machine, but no. (And their weird web interface choked if you tried to transfer "large" books.)

100K JPY too, which is in the range of an iPad Air. I hope some of these software issues get ironed out and maybe I'll consider it again...

lidavidm··on The waiting time paradox: why is my bus always late? (2018)
I'd guess most people here don't actually take buses on a regular basis. (Or ever. Or any public transit at all.)
lidavidm··on No Salt
Oh boy. Hope you never run into a CalorieMate or a jelly squeeze packet. Or the stoveless apartments.
lidavidm··on How GCC and Clang handle statically known undefined behaviour
GCC can also use UBSan (and ASan) [1], and furthermore, it shouldn't be "several times slower" (are you thinking of Valgrind?). Clang itself describes the checks as "small runtime cost" [2] and there's a minimal variant as well.

[1]: https://gcc.gnu.org/onlinedocs/gcc/Instrumentation-Options.h... [2]: https://clang.llvm.org/docs/UndefinedBehaviorSanitizer.html

lidavidm··on Daylight Computer tablet review
You can't without de-DRMing. That's basically the point, right? Amazon has locked you in to their ecosystem.
lidavidm··on Glider – open-source eInk monitor with an emphasis on low latency
Kobo works quite well: you can set it up without an account (needs a bit of manual fiddling) if you really want, and either way after that you can just plug it in and drag-and-drop epubs to the device. Battery life, responsiveness, etc. are all fine to me (the older devices actually did a bit better IMO and it mostly only gets bogged down for comics, regular books are fine)
lidavidm··on Consider the Pawpaw
Well, yes: pawpaw is a different fruit in the US Midwest, and that's what the article is about. https://en.wikipedia.org/wiki/Asimina_triloba
lidavidm··on Japan's Comfort Food: The Onigiri
You might enjoy takikomi gohan.
lidavidm··on Preparing for the Incoming Computer Shopper Tsunami
Using heat is common in a similar hobby(?), translating (older) Japanese manga. You would use a hair dryer or clothesiron to melt the glue in the spine, pull apart the pages/clean off the glue, and scan them in. That way you don't shave off 2-page spreads. (After scanning, you'd have to clean up the image a lot still, but oh well.) I can imagine here you also just don't want to damage the pages, even if the damage seems infinitesimal.

It doesn't happen so much anymore for manga since things are mostly digital. Though some publishers still publish at 1200x800 (looking at you, Hakusensha!) or worse (I think one site uses like, 900x600?). Mostly these days this would only happen for self-published works (which are still distributed in limited quantities and in physical format only, oftentimes). Or apparently publishers occasionally just...lose the digital files. (Though I can't find where I read this anymore.)

lidavidm··on Pandas 2.0 and the Arrow revolution
For PostgreSQL: https://github.com/apache/arrow-flight-sql-postgresql

Context: https://lists.apache.org/thread/sdxr8b0lj82zd0ql7zhk9472opq3...

Also see ADBC, which aims to provide a unified API on top of various Arrow-native and non-Arrow-native database APIs: https://arrow.apache.org/blog/2023/01/05/introducing-arrow-a...

(I am an Arrow contributor.)

lidavidm··on ChaCha20 Encryption Performance on Dec PDP-11 (2021)
It's there on desktop, not on mobile. Not really a big deal IMO. (Also the blog subdomain is almost certainly a reference to Love Live - "nico nico nii~" or something like that is a catchphrase of one of the characters.)

But yeah, I don't really get what the problem is...there's always reader mode, and it's not like they're dumping a ton of JavaScript on you!

lidavidm··on The History and rationale of the Python 3 Unicode model for the operating system
I'm curious, what does 'broken' mean? Is this about the CJK merger, or something else?
lidavidm··on Database drivers: Naughty or nice?
Yup. The chattiness is to account for distributed databases, so you can spread the result set across multiple instances.

That said there is a proposal for base Flight RPC to help allow embedding small results directly into the first response, that mostly needs someone to draft a prototype and push it through. (That doesn't help the case of a large-ish response from a single backend, though; that may also need some work, if we want to get rid of the second request.)

lidavidm··on Database drivers: Naughty or nice?
As mentioned by others elsewhere in the thread, Apache Arrow Flight SQL aims to be a standard wire protocol that multiple databases can implement, using a columnar data representation: https://arrow.apache.org/docs/format/FlightSql.html

However it's early days yet.

lidavidm··on Database drivers: Naughty or nice?
Even within the Arrow project, there's still room for drivers just because not every vendor is going to implement the same wire protocol (at least on a feasible timeline). Hence both "ADBC" [1] and Flight SQL [2] (note: NOT a SQL dialect, it is a wire protocol) coexist in complementary niches.

[1]: https://arrow.apache.org/docs/format/ADBC.html [2]: https://arrow.apache.org/docs/format/FlightSql.html

lidavidm··on Japanese Manga are being eclipsed by Korean webtoons
A few of the more popular webtoons have now been reformatted for print (e.g. Villains are Destined to Die, Why Raeliana Ended Up at the Duke's Mansion). Those have both physical and digital copies, and use the normal page size.
lidavidm··on Vocaloid 6
China has Luo Tianyi, Miku and co have had concerts in the US, and Miku was slated to perform at Coachella: https://www.rollingstone.com/music/music-news/hatsune-miku-c...

(Admittedly, those are not unlikely all offshoots of the anime/manga/etc. fandom though.)

lidavidm··on Vocaloid 6
Ah ok, sorry. No clue there, other than the software also being developed there.
lidavidm··on Vocaloid 6
It's kind of an acquired taste - it works better for some kinds of music than others. But I admit I can't stand the English voice because that sounds more obviously wrong to me.

I'm not sure you can paint the Japanese music industry like that? It's more like, this gives indie songwriters an easily accessible tool.

lidavidm··on Vocaloid 6
And a popular enough producer can 'go pro' (n-buna -> Yorushika, or Hachi -> Kenshi Yonezu).
lidavidm··on Affinity 2
Hmm, I bought it about…a couple weeks ago? And they sent me an email with two discount codes: a free copy of Affinity Photo 2, and a heavy discount on the all-apps-all-platforms license.
lidavidm··on Scratch is a big deal
In undergrad I worked with this group for a while: http://www.cs.cornell.edu/andru/papers/reduct-chi17/

They took the basic idea of Scratch, then made it into more of a game with levels, each level being a puzzle to (implicitly) teach or test programming concepts. As you progressed it'd introduce new syntax, while slowly "fading" more familiar syntax towards actual JavaScript code (though retaining the block/GUI-based interface).

We did some more work on further iterations but I'm not sure what became of it all.

lidavidm··on The Metaphysics of Morrowind (2010)
Anime/manga have been exploring this with various fantasy worlds with explicit game-like mechanics. I've always considered them lazy attempts at power fantasies/wish fulfillment stories, but in light of this comment maybe there's an interesting story about "player character as God" in there.

Actually now I can think of one that fits that bill exactly: https://j-novel.club/series/endo-and-kobayashi-live-the-late... It's not high literature, but it's a fun read, especially if you're aware of the genre tropes it riffs off of (villainess/isekai).

lidavidm··on Record labels dig their own grave, and the shovel is called TikTok
Even when it comes to vocaloids like Miku, there's still attachment to the producer behind the song and not just Miku herself (and several producers have gone on from their vocaloid careers to launch "real" music careers).
lidavidm··on All About Libpas, Phil's Super Fast Malloc
I wonder how this compares to jemalloc, mimalloc, snmalloc?
lidavidm··on Vectorization in OLAP Databases
The paper "Everything you always wanted to know about compiled and vectorized queries but were afraid to ask" [1] goes into this in much more detail and also compares vectorization with an alternative approach.

[1]: https://dl.acm.org/doi/abs/10.14778/3275366.3284966

lidavidm··on Launch HN: Azuki (YC W22) – All-you-can-read manga subscription
The Brooklyn Public Library is one such option: https://disc.bklynlibrary.org/card/
lidavidm··on Parallel Grouped Aggregation in DuckDB
Hey, I'd be curious to hear what's stopping you from using Arrow Flight (unless you mean that you plan to use Arrow Flight for remote things, and a zero-copy interface locally). (I am an Arrow maintainer and have worked a lot with Flight, though I speak only for myself here.)
lidavidm··on Show HN: Berkeley Mono Typeface
Ah, thank you for the response! I'm quite impressed, seeing that example nearly made me impulse buy the font.
lidavidm··on Show HN: Berkeley Mono Typeface
This may be a dumb question, but how do you make a document like that fake patient chart in this demo? [1]

Is there an editor that can do things like this? Or is it all laid out by hand?

[1] https://neil.computer/notes/berkeley-mono-february-update/

← PreviousPage 2 of 3Next →