Better HN
topnewbestaskshowjobs
Log inSign up

glandium

4,860 karma · joined Jun 16, 2014 (12y ago) · 2,032 submissions

Submissions

comment 1w ago · link · parent

You can mostly write the former in rust: https://rust.godbolt.org/z/5M6nr3dzs

There are caveats, such the function using ? having to return an Option, which can be worked around by using a closure.

I think try blocks will make this slightly easier.

comment 2mo ago · link · parent

> Peppa Pig is the shit

I can't resist linking this bit of linguistic humor: https://www.youtube.com/watch?v=igh9iO5BxBo

comment 2mo ago · link · parent

Leisure Suit Larry was Sierra, not LucasArts.

comment 4mo ago · link · parent

For instance, rust doesn't support PAC yet https://github.com/rust-lang/rust/issues/73628. Support for PAC wasn't even in upstream LLVM for a while (it now is, but lld still doesn't support it).

comment 5mo ago · link · parent

Claude code is actually rather good at this. If your initial testcase is not too big, you can use creduce or cvise.

comment 6mo ago · link · parent

It's quite unsettling to be served English AI-dubbed videos randomly on Youtube, where the original is another language you normally default to (Japanese) and it's happy to use in most cases. And then you go to the settings for the video to go back to the original and it tells you it is... Chinese (and no, it's really Japanese).

comment 6mo ago · link · parent

Funnily enough, I have the exact opposite problem, where Google likes to give me results in the configured main language even when I do queries in another and actually want results in the other language.

comment 9mo ago · link · parent

Fair use doesn't mean you can placate any license you want on it.

comment 11mo ago · link · parent

I don't know about other countries, but in Japan, maps will show underground passages from e.g. the metro, with exit annotated with their numbers...

Unfortunately, not all numbers are shown, even when all the exits are non-overlapping at the displayed zoom level.

comment 1y ago · link · parent

--no-remote doesn't do anything anymore. It was removed about a year ago if memory serves.

comment 1y ago · link · parent

And, in fact, these implementations exist. At least in Rust, there's rqlite and turso.

comment 1y ago · link · parent

That would be interesting for sure, but considering you don't hear yourself the same way someone else or a mic does, I'm not sure it would have the benefit you're expecting.

comment 1y ago · link · parent

Note: this is related to https://news.ycombinator.com/item?id=42392088 from a few months ago.

comment 1y ago · link · parent

> How do you not look up travel destinations before heading out?

From the layman's perspective, they did. That's the whole problem.

comment 1y ago · link · parent

Phones in Japan used to receive actual TV. Well, slightly different, but still directly from the waves rather than the internet. Phones used to receive AM and FM, too.

comment 1y ago · link · parent

> The Pixel build of Android is now just as customized as Samsung's One UI or OnePlus' OxygenOS, if not more so.

sigh

comment 1y ago · link · parent

> sells its access data

or has it leaked somehow.

comment 1y ago · link · parent

I have both and they're surprisingly essentially the same size. Except the iPhone has less bezel and is thicker. I only have the iPhone for dev purposes and I actually prefer the Pixel 3a, but I'm afraid it might die soon...

Anyways, are you sure you're talking about the iPhone 16?

comment 1y ago · link · parent

Where did "check feature, not browser name" go?

comment 1y ago · link · parent

> Nobody blames the resistance during the Nazi occupation for what they did.

Are you really sure about that? Maybe now, but while it was happening, I'm not so sure everyone was on board. Quite the opposite.

comment 1y ago · link · parent

Here's the problem: pitch accent is easy to hear in isolation and/or in comparison. Under real life conditions, in the middle of a sentence, it's a completely different experience. But then you're saved by context. Because candy is most likely not falling from the sky. Homophones that are still ambiguous in context are possible, but a rare occurrence in my experience.

comment 1y ago · link · parent

Somewhat more important, but as someone with decent Japanese who knows about pitch accent but can barely hear the difference in real time, and never actively learned it except for the few well known examples like bridge/chopstick, I don't think it matters all that much. Yes, you'll sound foreign. But you'll be understood nevertheless, in the vast majority of cases.

comment 1y ago · link · parent

> Natural language acquisition is almost entirely listening and talking.

And it's bootstrapped by 1+ year of listening before being even able to speak, let alone talk intelligibly. That's not really an appealing process to anyone beyond that age.

comment 1y ago · link · parent

That is kind of surprising. The sqlite "unity" build, has about the same number of lines of C and takes a lot longer than that to compile.

comment 1y ago · link · parent

Mazda also comes from the founder's name: https://en.wikipedia.org/wiki/Jujiro_Matsuda

comment 1y ago · link · parent

Note this requires hackery that relies on Apple not changing things in its system allocator, which has happened at least twice IIRC.

comment 1y ago · link · parent

There's something interesting in the domain search: some breaches contain addresses that... simply don't exist. Like B2BUSABusinesses has sales@mydomain.

comment 1y ago · link · parent

You don't need a Github account to `git clone https://github.com/some/repo`

comment 1y ago · link · parent

The article mentions using breakpoints, so they did use a debugger.

comment 1y ago · link · parent

> I assure you that if you prompt me to give you a rating in the app store that you do not want my rating.

This recently got egregious. Android itself is now showing these prompts for the Messages (SMS) and Phone apps! Like What The Actual Fuck?!

12345
68