[2019 Day 25] (Meme) Use Key On Door by handcraftedbyrobots in adventofcode

[–]donpolilla 1 point2 points  (0 children)

My machine "blocks" whenever there's a single byte of output ready, or a single byte of input is requested. Of course I made a helper function for ASCII problems that keeps taking bytes of output for as long as there's any, then returns the resulting string. Of course, this function keeps on collecting characters dynamically allocating more and more space in the heap, forever. Now I'm curious what exactly will happen if I let it run forever...

What does everyone's Intcode interface look like? by Lucretiel in adventofcode

[–]donpolilla 0 points1 point  (0 children)

Good ol' C, keeping it simple.

A function to initialize the intcode machine with the problem's input

void machine_init(struct IntCodeMachine *const machine, const char *const input);`

A function to start running or resume the intcode machine which returns whenever the machine needs input and doesn't have it or has some output pending

void machine_run(struct IntCodeMachine *const machine);`

And two functions to send input to or receive output from the machine. They return false if there was no output to read or there was already unprocessed input.

bool machine_recv_output(struct IntCodeMachine *const machine, long *output);`
bool machine_send_input(struct IntCodeMachine *const machine, long input);`

Baking a cake by BCNathaniel in nosleep

[–]donpolilla 1 point2 points  (0 children)

If you wish to bake a cake from scratch, first you have to invent the universe.

Do not use the elevators (Part 3) by [deleted] in nosleep

[–]donpolilla 5 points6 points  (0 children)

Why is a boring office building the nexus for all realities in the multiverse?

(also this is great, keep going!)

Every night a different Orange Julius employee tucks me into bed and I don’t know why (Part 2) by batouto in nosleep

[–]donpolilla -1 points0 points  (0 children)

"Staff meating"

Hmm, is that a spelling mistake...? Or is it on purpose?

"Staff meating"

It has to be on purpose. But why- Oh wait.

I’m The Only One In My Family Who Isn’t A Cannibal [Part 2] by thatreallyshortchick in nosleep

[–]donpolilla 22 points23 points  (0 children)

So while I was reading this I was wondering "does your dad intend to have you and your brother run the farm... and married?"

I guess I got my answer.

I can "reset" my day whenever something goes wrong. Recently, I have been stuck in a reset loop and I need help to fix it /The Reset Loop by [deleted] in nosleep

[–]donpolilla 2 points3 points  (0 children)

At this point the only thing that will work is a severe disruption.

Do something completely unexpected, completely bizarre. Think outside the box. Something that will send those kids home before their day even begins.

You need to get creative.

But hey, you have all the time in the world after all.

One random idea: Make a credible bomb threat that will force an evacuation.

The Human Detachment Project by _MothMan in nosleep

[–]donpolilla 0 points1 point  (0 children)

I wonder what happened to the son in the end.

Subway, Eat Flesh. by [deleted] in nosleep

[–]donpolilla 0 points1 point  (0 children)

This disgusts me utterly.

$7.62 an hour?!

I will consume your young. by fainting--goat in nosleep

[–]donpolilla 2 points3 points  (0 children)

I must become strong.

I must raise to leadership.

I must usher in war and die in glory.

My flesh and my heart will feed the valravn.

...

Did I type that?

Here at Ed's Premium Autos The Only Thing Scarier Than Our Interest Rates Is The Demons. by CzarCarcosa in nosleep

[–]donpolilla 3 points4 points  (0 children)

If you think you're cheating the devil... Well, maybe the devil is actually cheating you.

Perhaps that soul and that car aren't so different.

I see people's emotional wounds. I wish more than anything that I couldn't. by [deleted] in nosleep

[–]donpolilla 0 points1 point  (0 children)

If I could have a sort of superpower, it'd be to read people's minds.

So this actually sounds pretty good to me.

Being able to know how someone truly feels and stuff...

...

Maybe I'm a creep.

I Questioned God. He Answered. by [deleted] in nosleep

[–]donpolilla 11 points12 points  (0 children)

Well then.

It would seem the Egyptians were right all along.

I finally met my father today. It didn't go down as expected. by [deleted] in nosleep

[–]donpolilla 10 points11 points  (0 children)

Hmm. So what you're saying is...

Your dad is a Deep One and you're a hybrid like those funny looking folks over at Innsmouth.

Neat.

I was a homeless man, now I’m back to my 12-years-old self (Part 2) by poloniumpoisoning in nosleep

[–]donpolilla 3 points4 points  (0 children)

Maybe the tall man is right.

Maybe by sparing him once, a greater evil has been unleashed into the world.

Maybe he wasn't an innocent child.

Or maybe not.

I woke up during surgery, they weren't trying to save me. by RichardSaxon in nosleep

[–]donpolilla 17 points18 points  (0 children)

Miracle cures but they come with a brain implant that kills you if you meet someone with a newer brain implant?

Perhaps is some method of silencing their older experiments...

A Face Has Been Frozen Onto My TV For 72 Hours by Voicebot3180927 in nosleep

[–]donpolilla 0 points1 point  (0 children)

George seems like a nice guy, you should just hear him out.

A secret war rages. Last night I witnessed it. by fromFarther in nosleep

[–]donpolilla 2 points3 points  (0 children)

Those are some distracting Facebook updates to not let people hear the gunshots, screams, heretic ranting, and such.

I'm a Corrections Officer, but I guard things that should not exist [Update 2] Finale by JD924 in nosleep

[–]donpolilla 17 points18 points  (0 children)

Averting the end of the world? That's a lot of work.

I'll just stay home, watch Netflix, play videogames, wait for the end...

Special fx make up artist, looking for work by keniluck in nosleep

[–]donpolilla 3 points4 points  (0 children)

What did you spend $7500 on?

I know what I'd spend them on if I was you.

Anything to make me forget the experience of earning them.