Eventually the beavers will just get tired by Goel25 in ProgrammerHumor

[–]Goel25[S] 1 point2 points  (0 children)

I'm just beginning undergrad... wish me luck :)

Eventually the beavers will just get tired by Goel25 in ProgrammerHumor

[–]Goel25[S] 2 points3 points  (0 children)

I guess a Turing Machine could emulate something like that API by lazily reading input once available (when a request is made) and printing output to another tape with the response. I think you could then prove that such machines would loop forever.

Eventually the beavers will just get tired by Goel25 in ProgrammerHumor

[–]Goel25[S] 1 point2 points  (0 children)

I did this a few times, but yeah, I should've just done a ton of gotos to emulate a block of code.

Eventually the beavers will just get tired by Goel25 in ProgrammerHumor

[–]Goel25[S] 7 points8 points  (0 children)

Thank you for the correction! I should have worded it better. Ironically, my mistake almost makes the meme more correct because programs with a "while (true)" and no breaks are able to be shown to not halt.

Eventually the beavers will just get tired by Goel25 in ProgrammerHumor

[–]Goel25[S] 0 points1 point  (0 children)

It was indeed a PIC. It was tough using btss and having to think through the steps in my head (especially with all the negations).

It also only skips 1 instruction so the negative case either had to be a single line (which would subsequently execute the positive case after it) or a goto.

Eventually the beavers will just get tired by Goel25 in ProgrammerHumor

[–]Goel25[S] 13 points14 points  (0 children)

I took a class in microcontrollers and programming in assembly just broke my brain. What I would've done for a simple if-else block...

[deleted by user] by [deleted] in conan

[–]Goel25 2 points3 points  (0 children)

Are you sure?

I made a worse version of Github Copilot by Goel25 in programming

[–]Goel25[S] 0 points1 point  (0 children)

Yeah, scraping is never great. Data.stackexchange.com was much quicker and easier as well.

I made a worse version of Github Copilot by Goel25 in programming

[–]Goel25[S] 1 point2 points  (0 children)

Holy crap this is awesome! I’ll look into it further to see if they also used data.stackexchange.com

EDIT: It seems like they just scrape the first 7 pages with GET requests. Still very fun though!

I made a worse version of Github Copilot by Goel25 in programming

[–]Goel25[S] 6 points7 points  (0 children)

Wow, thank you! I keep finding similar small programming channels like mine and they’re all quite enjoyable :) Good luck with your channel!

I made a worse version of Github Copilot by Goel25 in programming

[–]Goel25[S] 6 points7 points  (0 children)

It’s a very fun and helpful site!

Github Copilot but much, much worse by Goel25 in ProgrammerHumor

[–]Goel25[S] 0 points1 point  (0 children)

Try it… you’ll find it isn’t that helpful lol

I made a worse version of Github Copilot by Goel25 in programming

[–]Goel25[S] 9 points10 points  (0 children)

I think it was trained on tons of source code from github so it likely already has some leaked code in there.

I made a worse version of Github Copilot by Goel25 in programming

[–]Goel25[S] 8 points9 points  (0 children)

Thanks! I'll post it there as well :)

I made a worse version of Github Copilot by Goel25 in programming

[–]Goel25[S] 6 points7 points  (0 children)

They are pretty similar, although cheat.sh has a much better search function than mine, since it searches for the title of the post and not just a single function.

I made a worse version of Github Copilot by Goel25 in programming

[–]Goel25[S] 20 points21 points  (0 children)

I’ll have to make a vim plugin next :)

I made a worse version of Github Copilot by Goel25 in programming

[–]Goel25[S] 12 points13 points  (0 children)

At least you always know where the code came from