Profile for hikari

Header for hikari
Avatar for hikari
Display name
hikari 🌟 (fell out of the sky)
Username
@hikari@noyu.me
Role
admin

About hikari

Bio

from another world; magical girls on the internet, gpu programmers, musicians, sky enthusiasts, etc; EN/SV/DE/日本語

Stats

Joined
Posts
16689
Followed by
1483
Following
198

Recent posts

someone asked me whether they could contribute code to touchHLE that’s written using ChatGPT

well, the copyright issue means that’s a hard no.

but if it weren’t for that: I mean, if you can stand behind every line of code as if you’d written it yourself, I don’t really care if you, your headmate, your cat, or the gods themselves through divine revelation wrote your code.

…but I doubt that you really can stand behind the code like that if you didn’t write it yourself. at least not without expending nearly as much effort as it would have taken to write it.

Open thread at this post

When I need to find a minimum time, minimum screen co-ordinate, etc, I often find myself writing Rust code like this:

if let Some(new) = new {
    current = Some(current.map(|i| i.min(new)).unwrap_or(new));
}

Is there a better way to do this? Even if it just covers the inner part (the case where new.is_some()), I’d love to know.

Open thread at this post

…Crash Bandicoot Nitro Kart 3D, for the iPhone/iPod touch, has an app bundle named… iFuse‌.app? what? the executable is named iFuse too. no, this isn’t some illegitimate executable from a questionable source, it’s the real deal, downloaded from iTunes…

this is just like when I found out that the core class in Super Monkey Ball is called “testAppDelegate” lolol

Open thread at this post

forgive me for ranting a little about git: it really frustrates me that, in large projects, the author dates on commits are usually wrong, and sometimes wildly off (by weeks or months).

as I see it there’s two main problems:

• git commit --amend doesn’t update the author date by default (and few people know of the --reset-author flag)
• git rebase’s squashing behaviour takes the earliest author date, not the latest

I’m probably going to have to submit a patch to git to try to fix this…

Open thread at this post