Little dev sanity check, reboosts appreciated
Say I have a UTF-8 string, I parse the codepoints, split it where I find spaces, and then make new UTF-8 strings from those and print them. I will provide the string below.
How many runtime checks (equivalent to Rust "unwrap") do you expect happen?
The string is "In the xoshiro paper, it is recommended to initialize the state of the generators using a generator which is radically different from the initialized generators, as well as one which will never give the \"all-zero\" state; for shift-register generators, this state is impossible to escape from."
EDIT: we are in an environment where allocations CAN fail and MUST be checked
I have eaten near lethal amounts of garlic bread. I need to rest now
19.3.2025 09:33I have eaten near lethal amounts of garlic bread. I need to rest nowI am in the correct classroom. I will troll Akiko-sensei. Let the games begin.
17.3.2025 11:26I am in the correct classroom. I will troll Akiko-sensei. Let the games begin.Ah yes, the Japanese teacher resisted the urge to ping every student at 2AM and instead, pinged me at 2AM to react to a message.
Too bad I am not in the correct classroom or I would have left some revenge (elliptic curve equations) on her whiteboard before her class
17.3.2025 05:58Ah yes, the Japanese teacher resisted the urge to ping every student at 2AM and instead, pinged me at 2AM to react to a message.Too bad I am...Did I implement a whole ass interpreter with lambda calculus to render fonts? Maybe, that is the kind of things I do when I do not want to do my actual work
5.3.2025 21:51Did I implement a whole ass interpreter with lambda calculus to render fonts? Maybe, that is the kind of things I do when I do not want to...I want to play Traumacenter again, it is late at night and GCC will take literal hours to build, I have a train early in the morning, I am addicted to caffeine, and I am writing code that I need to optimize
3.3.2025 00:57I want to play Traumacenter again, it is late at night and GCC will take literal hours to build, I have a train early in the morning, I am...MMMMMMMMMMMMMMHHHHH it is 2AM and I am building GCC, how did that happen?
3.3.2025 00:55MMMMMMMMMMMMMMHHHHH it is 2AM and I am building GCC, how did that happen?Aaaaaaaaah, it is 10PM and the software architecture is dancing behind my eyelids. I should sleep yet here is it, the need to code something uselessly complicated
2.3.2025 21:40Aaaaaaaaah, it is 10PM and the software architecture is dancing behind my eyelids. I should sleep yet here is it, the need to code something...@frameworkcomputer Hey, are there any "blank" expansions provided when buying a laptop to protect ports in which no actual expansion card is used?
28.2.2025 12:21@frameworkcomputer Hey, are there any "blank" expansions provided when buying a laptop to protect ports in which no actual...Taking a ladder and a tape measure on the train and walking for an hour seems more and more like the approach I want to take for measuring the size of a damned roof, and it seems like it would save me time compared to this madness. Why do we need GIGABYTES OF DEPENDENCIES to draw no-antialiased lines on a black background? I though we had this figured out BEFORE we invented the blue LED?!
27.2.2025 13:49Taking a ladder and a tape measure on the train and walking for an hour seems more and more like the approach I want to take for measuring...Nothing says "Fantastic day in the office" like downloading the entirety of QT6 and building it to solve a minor inconvenience of calculating roofing surfaces on an inaccurate blueprint
27.2.2025 13:43Nothing says "Fantastic day in the office" like downloading the entirety of QT6 and building it to solve a minor inconvenience of...I will loudly slurp all of the exponentially strange drinks I bought from Noz in voice chat and there is nothing any one can do to prevent me from doing it
27.2.2025 12:29I will loudly slurp all of the exponentially strange drinks I bought from Noz in voice chat and there is nothing any one can do to prevent...Ok, today I learned, Kagi search engine actually has and AI assistant, but it only triggers if the search prompt ends with a question mark (and if you did not disable it)
26.2.2025 07:34Ok, today I learned, Kagi search engine actually has and AI assistant, but it only triggers if the search prompt ends with a question mark...And in today's episode of France's shoddiest needlework versus China's "best" needlework: will my pants survive another meeting?
24.2.2025 05:19And in today's episode of France's shoddiest needlework versus China's "best" needlework: will my pants survive...I am slipping, 2nd appointment I miss in a month due to timezones
21.2.2025 18:22I am slipping, 2nd appointment I miss in a month due to timezonesNot gonna lie, it has been a while since my main ride has been a Linux distro, but downloading 14GB of software while listening to anything composed by Baranowsky and looking at the numbers go up is a great dopamine generator
18.2.2025 13:22Not gonna lie, it has been a while since my main ride has been a Linux distro, but downloading 14GB of software while listening to anything...Okay, I have character movements and projectiles implemented. Now I need some audio
17.2.2025 09:57Okay, I have character movements and projectiles implemented. Now I need some audioOkay, I have physics in my engine for the gamejam, only like 3 hours late, it's alright
16.2.2025 22:43Okay, I have physics in my engine for the gamejam, only like 3 hours late, it's alrightAll so that I can use valgrind to investigate a potential memory error, I swear I will just swap to a linux only PC tomorrow
16.2.2025 18:34All so that I can use valgrind to investigate a potential memory error, I swear I will just swap to a linux only PC tomorrowAh yes, compiling clang for 6 decades, what a time to be alive
16.2.2025 18:33Ah yes, compiling clang for 6 decades, what a time to be alive