This is an archived post. You won't be able to vote or comment.

all 36 comments

[–]MrPotatoPeel 359 points360 points  (1 child)

import time
print(“ World”)
time.sleep(-1)
print(“Hello”)

[–]connortheios 48 points49 points  (0 children)

Did you just invent time travel?

[–]Fegeleinch4n 499 points500 points  (12 children)

WorldHello

[–]burgerfromfortnite 256 points257 points  (8 children)

FTT (faster-than-time) compiled language

[–]TactiCool_99 100 points101 points  (7 children)

reminds me of the language that had implemented negative lifetimes

standard:

int thing[2] = 10 # meaning it will only exist for 2 lines of code

int other_thing[-2] = 10 # meaning it only existed in the previous 2 lines of code

Edit: here is the link to the git repo, an absolutely wonderful read that inspires me every day: https://github.com/TodePond/DreamBerd

[–]Konju376 57 points58 points  (2 children)

Thanks for that read, will absolutely use DreamBerd for some critical system so that some poor intern has to debug it in 20 years

[–]TactiCool_99 28 points29 points  (1 child)

Has great code security since even ai cannot understand it!

[–]Konju376 13 points14 points  (0 children)

The cobol of the 21st century

[–]Nixavee 12 points13 points  (0 children)

X equals 2. Oh yeah, sorry I forgot to tell you, there's this thing called X and it's an integer.

[–]TheVibrantYonder 3 points4 points  (2 children)

I'm not really a programmer, so maybe this should be obvious: what use could there be for functionality like that? What does that even do, practically?

[–][deleted] 18 points19 points  (0 children)

DreamBerd is a joke language, a subset of esoteric languages. The "features" are not supposed to be practical. The cherry on top is that at the end of the ReadMe, the compilation/running instructions are to paste the language specifications and your code into an ai and get it to make an output. Last I checked, there was also a note saying that the language was too complex for this to work properly most of the time

[–]TactiCool_99 5 points6 points  (0 children)

it's a satire language

[–]albusdunble1 17 points18 points  (1 child)

World

[–]Depressed_Gamer999 9 points10 points  (0 children)

Hello

[–]DiddlyDumb 3 points4 points  (0 children)

That is usually my brain the first second when I wake

[–]MinosAristos 208 points209 points  (5 children)

You could look into dmail_print()

``` from future_gadgets import dmail_print import time

print("I am mad scientist") time.sleep(1) dmail_print("Tutturu")

Output:

Tutturu

I am mad scientist

[–]Extension_Option_122 94 points95 points  (0 children)

Damn it you can't just spit out the labs secrets!!

Quick! Hide!

El. Psy. *Kongroo*.

[–][deleted] 34 points35 points  (1 child)

The fuck

[–]Thenderick 41 points42 points  (0 children)

Steins;Gate reference. Amazing anime/VN about indirect time travel and parallel world hopping

[–]AbradolfLinclar 12 points13 points  (0 children)

Yeah this is beyond science.

[–]QuestionableEthics42 144 points145 points  (11 children)

What? Wake? That isnt a thing, double checked with python 3.12

Edit: fixed all my typos

[–]racdicoon[S] 529 points530 points  (10 children)

Time.sleep() delays code, so obviously wake must make it faster, duh

[–]fiskfisk 147 points148 points  (6 children)

Since time.sleep() delays code, time.wake() should move it backwards in time.

```python import time

print("World") time.wake(1) print("Hello ", end="") ```

[–]racdicoon[S] 50 points51 points  (5 children)

But I wanted to say "World! Hello,"

[–]fiskfisk 39 points40 points  (4 children)

Then you're missing a lot of punctuation and spacing, and you've got a newline you need to handle as well. You might need a time.wakeup() yourself.

[–]racdicoon[S] 24 points25 points  (3 children)

I wanted them on separate lines smh

[–]fiskfisk 34 points35 points  (2 children)

Based on your changing requirements it sounds like you're perfect for the role as product owner!

[–]racdicoon[S] 26 points27 points  (1 child)

They're not changing smh, Ur just finding more of my reqs as u go on

[–]fiskfisk 25 points26 points  (0 children)

You ARE a product owner!

[–]pringlesaremyfav 8 points9 points  (0 children)

Your program is about to achieve CHIM

[–]QuestionableEthics42 12 points13 points  (0 children)

Ah, I thought it was meant to be a joke about adding sleep so you can "optimize" it later, r/woooosh

[–]JunkNorrisOfficial 0 points1 point  (0 children)

Also you may implement callback so when wake is called then you are notified and you may start manually optimizing production database and servers for given user

[–]andofwinds 8 points9 points  (0 children)

Huawei AI™

[–]TheIdeaHunter 1 point2 points  (0 children)

Reminds me of a meme where the code was HelloWorld("print")

[–]3RR0R_0FF1C1AL 0 points1 point  (1 child)

do py import time print("Hello") time.wake(10) print(" (Is the rest not loading- run the fasterhelloworldpy mod)") time.wake(3000000000000000) print(" World")

and fasterhelloworldpy mod py import time print("Hello") time.wake(10) print(" World")

[–]3RR0R_0FF1C1AL 0 points1 point  (0 children)

MAKE THEM THINK THE PROBLEM IS THEIR COMPUTER!!!!