lade...
random avatar

Archivist - Network

Posts Subscribe

Little dev sanity check, reboosts appreciatedSay I have a UTF-8 string, I parse the codepoints, split it where I find spaces, and then make...

https://social.linux.pizza/@Arch...

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

1-9
10-99
100-999
1000-9999

21.3.2025 08:24Little dev sanity check, reboosts appreciatedSay I have a UTF-8 string, I parse the codepoints, split it where I find spaces, and then make...
https://social.linux.pizza/@Arch...

I have eaten near lethal amounts of garlic bread. I need to rest now

https://social.linux.pizza/@Arch...

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 now
https://social.linux.pizza/@Arch...

I am in the correct classroom. I will troll Akiko-sensei. Let the games begin.

https://social.linux.pizza/@Arch...

I 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.
https://social.linux.pizza/@Arch...

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...

https://social.linux.pizza/@Arch...

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...
https://social.linux.pizza/@Arch...

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...

https://social.linux.pizza/@Arch...

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...
https://social.linux.pizza/@Arch...

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...

https://social.linux.pizza/@Arch...

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...
https://social.linux.pizza/@Arch...

MMMMMMMMMMMMMMHHHHH it is 2AM and I am building GCC, how did that happen?

https://social.linux.pizza/@Arch...

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?
https://social.linux.pizza/@Arch...

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...

https://social.linux.pizza/@Arch...

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...
https://social.linux.pizza/@Arch...

@frameworkcomputer Hey, are there any "blank" expansions provided when buying a laptop to protect ports in which no actual...

https://social.linux.pizza/@Arch...

@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...
https://social.linux.pizza/@Arch...

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...

https://social.linux.pizza/@Arch...

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...
https://social.linux.pizza/@Arch...

Nothing says "Fantastic day in the office" like downloading the entirety of QT6 and building it to solve a minor inconvenience of...

https://social.linux.pizza/@Arch...

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...
https://social.linux.pizza/@Arch...

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...

https://social.linux.pizza/@Arch...

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...
https://social.linux.pizza/@Arch...

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...

https://social.linux.pizza/@Arch...

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...
https://social.linux.pizza/@Arch...

And in today's episode of France's shoddiest needlework versus China's "best" needlework: will my pants survive...

https://social.linux.pizza/@Arch...

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...
https://social.linux.pizza/@Arch...

I am slipping, 2nd appointment I miss in a month due to timezones

https://social.linux.pizza/@Arch...

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 timezones
https://social.linux.pizza/@Arch...

Not 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...

https://social.linux.pizza/@Arch...

Not 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...
https://social.linux.pizza/@Arch...

Okay, I have character movements and projectiles implemented. Now I need some audio

https://social.linux.pizza/@Arch...

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 audio
https://social.linux.pizza/@Arch...

Okay, I have physics in my engine for the gamejam, only like 3 hours late, it's alright

https://social.linux.pizza/@Arch...

Okay, 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 alright
https://social.linux.pizza/@Arch...

All so that I can use valgrind to investigate a potential memory error, I swear I will just swap to a linux only PC tomorrow

https://social.linux.pizza/@Arch...

All 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 tomorrow
https://social.linux.pizza/@Arch...

Ah yes, compiling clang for 6 decades, what a time to be alive

https://social.linux.pizza/@Arch...

Ah 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
https://social.linux.pizza/@Arch...
Subscribe
To add news/posts to your profile here, you must add a link to a RSS-Feed to your webfinger. One example how you can do this is to join Fediverse City.
         
Webfan Website Badge
Nutzungsbedingungen   Datenschutzerklärung  Impressum
Webfan | @Web pages | Fediverse Members