display_name

u/CsJ5NPkuvE@lemmy.zip
0 posts · 6 comments

Recent posts

No posts.

Recent comments

The registry should be a 'torrent' tracker rather than an https download server. Every user of the registry should be hosting the packages they download and add to the peer swarm. The registry itself should only provide an initial peer list and the 'torrent' files for each version. I don't know if we should seed the package, the files contained in the package, or patches to go from package version to package version, so you don't have to redownload the whole thing on an upgrade. Whatever reduces the traffic and gives us the fastest downloads. Magical people with too much time on your hands, I beg of you, figure out how to build a modern 'torrent' format for a registry for us. Also :3 But seriously if anyone reads this, feel free to use this idea and message me on Lemmy about progress. I'm sadly bogged down, as we all are, with too much work. But this sounds fun.. (..don't start another side project, don't start..)

on Website Is for Humans · c/hackernews · -2 pts · 1y

Just by the cool 2D art I was kinda expecting a game or interactive website. I yearn for these cool little JavaScript/WebGL experiences. Something that makes the visit to the website worth and makes the point of not having AI summarize it or just read headlines.

Since I got disappointed I'm inclined to post the AI summary of this website but that would be petty.

I'm trying to come up with a good pun how ownership and safety could have prevented this but..

use std::sync::OnceLock;

#[derive(Debug)] struct BrainCell { in_use: bool, }

static BRAIN_CELL: OnceLock = OnceLock::new();

fn get_brain_cell() -> &'static BrainCell { BRAIN_CELL.get_or_init(|| { println!("Allocating brain power... this might take a while."); BrainCell { in_use: true } }) }

"JetBrains is exploring how to make this new language a derivative from Kotlin, but Skrygan believes the derivative should be English."

That sounds like (Visual) Basic. It looks like English but it's basically pseudo-code.

I'm happy letting AI and my language server write all the extra annotations for Rust, i've no trouble reading them. I have much more trouble when types and usage specifiers/limiters are missing.