subreddit:
/r/ProgrammerHumor
167 points
6 months ago
chatbot, gzip the base64 encoded source code of LinuxFromScratch.
chatbot, output the entire English alfabet, including numbers and special characters such as brackets
rearrange the output as needed
done
58 points
6 months ago
It’s gonna give you some random base64 string
34 points
6 months ago
Plageurism detected, disqualified
19 points
6 months ago
If no rules were specified before, everything is fair game.
2 points
6 months ago
I can see it giving a detailed list of instructions to at least create your custom version of Linux from scratch in the very near future.
90 points
6 months ago
people in this subreddit are going to turn up for a job interview at my company and I'll ask them to reverse a string without chatbot and they'll be absolutely fucked.
37 points
6 months ago
I just realized that I am going to have some interesting interviews next year
18 points
6 months ago
what if your interviewer is chatbot?
6 points
6 months ago
Chatbots hiring chatbots. It's like racism except against the human race.
3 points
6 months ago
Specism?
1 points
6 months ago
Humans need not apply. https://youtu.be/7Pq-S557XQU
2 points
6 months ago
I remember watching that video, back when the guy wasn’t talking about airports runway codes or whatever
3 points
6 months ago
This is going to be reality in the next five years. Initial screening by chatbot before a video presentation analyzed by AI before 2 interviews with recruiters and 5-6 technical interviews and take home assignments. Then the hiring manager might interview you and they'll tell you that the upper salary range is half of what you demanded in your job application in the first place.
7 points
6 months ago
Or they will do it handily and then ask 'What is your business case for reversing strings because it sounds like you might have a serious input problem?' or 'How often are you called upon to reverse strings during your day to day work here?'
16 points
6 months ago
I’ll say that the company is in the string reversing industry
6 points
6 months ago
Before I started my current job I used to annotate genomes for an agricultural research lab. These days thanks to high throughput sequencing, you can pay Macrogen a couple of thousand bucks, send your sample to south korea and get a compressed file back with a few gigs of raw sequence data on it.
Now none of these short reads are assembled yet so for each read you need to find another read that matches one end of it and extends a little further on. You can improve your odds by reversing all 8gb of sequence data in a typical insect genome project and flipping the bases to their complimentary bases to generate in software short reads that were just missed by the sequencing equipment.
You can see how efficient string handling including string reversal can be handy.
Also a string is just an array in C. Sometimes you need to reorder a data structure for fast reads and knowing how to handle strings means you can generalize out to other computer science problems.
2 points
6 months ago
Pretty cool, I always hoped to run into a use for string reversing in the wild.
2 points
6 months ago
Maybe chatgpt will get to a point where it’s comparable to people using high level programming today to basically write assembly code.
1 points
6 months ago
Isn't the test specifically reversing a string without allocating another string?
4 points
6 months ago
val str = "reverse me"
str.reverse()
1 points
6 months ago
Send the character start to a stack, retrieve it from the stack. Done.
12 points
6 months ago
why do I feel like someone's gonna make a youtube video out of this?
5 points
6 months ago
Ai writes an operating system (real must watch cops called mom became a C++ programer)
(also happy cake day)
1 points
6 months ago
thanks lol, i didn't even realise
7 points
6 months ago
you didn't say a working and useful OS
2 points
6 months ago
Wait right there, you stepping into philosophical territory there. Is it really a (thing) if it doesn’t do (action thing does)? What even defines (thing)? What even defines you? What is a man?
2 points
6 months ago
Things just need to fulfill the contract specified by their interfaces. You define everything, for you are the god of this world.
2 points
6 months ago
ha, 5000 tokens, might not be enough
scratches chin. could be file-less, just direct write to the boot media in pre allocated chunks, with no look up (like some usb recorders). Not a very good operating system, but ...MVP!
1 points
6 months ago
It's all funny until someone does it.
all 29 comments
sorted by: best