Profile for hikari

Header for hikari
Avatar for hikari
Display name
hikari 🌟
Username
@hikari@noyu.me
Role
admin

About hikari

Bio

from another world; anime girls on the internet who are terrible at playing guitar and slightly less bad at programming; EN/SV/DE/日本語

Stats

Joined
Posts
17739
Followed by
1566
Following
197

Recent posts

ok so I was going to ask what fread() does when it partially reads an object, but then I didn’t, because I realised the whole point of it working with “objects” must be so it can ensure the file position is at an object boundary if an error occurs.

JOKE’S ON ME, THIS IS C

Open thread at this post

are there any memory allocators that support partial freeing? suppose i’m doing a character encoding conversion and i cheaply estimate the amount of space required. after conversion i’ll find out maybe as much as half of the space isn’t actually needed. what if i could tell the allocator i don’t need it, so it can re-use it if possible, without moving the rest of my allocation?

Open thread at this post
warning: variant `µLaw` should have an upper camel case name
  --> src/audio.rs:21:5
   |
21 |     µLaw,
   |     ^^^^ help: convert the identifier to upper camel case: `ΜLaw`
   |
   = note: `#[warn(non_camel_case_types)]` on by default
Open thread at this post

cargo add why are you spending several minutes with a maxed-out cpu core and no network activity “updating the index”. please i just want to add a tiny dependency. it doesn’t even have dependencies i don’t already have…

Open thread at this post