cm0002@piefed.world to Programmer Humor@programming.devEnglish · 2 days agoYou can take it from my cold dead pincerslemmy.caimagemessage-square18linkfedilinkarrow-up1547arrow-down111
arrow-up1536arrow-down1imageYou can take it from my cold dead pincerslemmy.cacm0002@piefed.world to Programmer Humor@programming.devEnglish · 2 days agomessage-square18linkfedilink
minus-squareJestzer@lemmy.worldlinkfedilinkarrow-up21·edit-21 day agoI just realized that the 2 characters in the back of the truck originally aren’t there, and then they randomly appear. It’s in the original episode too.
minus-squaredisplay_name@lemmy.ziplinkfedilinkarrow-up6·1 day agoI’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<BrainCell> = 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 }) }
I just realized that the 2 characters in the back of the truck originally aren’t there, and then they randomly appear. It’s in the original episode too.
I love little mistakes like that
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<BrainCell> = OnceLock::new();
fn get_brain_cell() -> &'static BrainCell BRAIN_CELL.get_or_init( }) }