Thread 105721539 - /g/ [Archived: 731 hours ago]

Anonymous
6/27/2025, 2:10:16 PM No.105721539
872465872465824
872465872465824
md5: 76af41a42e47d8b50c3e56462aaaf3ae🔍
import my_haiku
import it_soon as you_can
import it_right_now
Replies: >>105722506 >>105723099 >>105724904 >>105724989 >>105725674
Anonymous
6/27/2025, 2:12:35 PM No.105721563
Great post
Anonymous
6/27/2025, 2:30:02 PM No.105721709
Are you supposed to read the underscore out loud?
Replies: >>105722216
Anonymous
6/27/2025, 3:46:09 PM No.105722216
>>105721709
don't you ever say that again
Anonymous
6/27/2025, 4:18:40 PM No.105722506
>>105721539 (OP)
Bravo!1 Bravo, frogposter, bravo!!!1 Encore! Encore! Encore!
Replies: >>105722611
Anonymous
6/27/2025, 4:28:12 PM No.105722611
>>105722506
>>>my_haiku.rocks
True

>>>my_haiku.length
17

>>>you_can.eat_shit
True
Replies: >>105722832 >>105725674
Anonymous
6/27/2025, 4:48:59 PM No.105722832
>>105722611
>you_can.eat_shit
Your momma is gay.
And so is your stupid dad.
When I find you, pray.
>>▲
>▲ ▲
Anonymous
6/27/2025, 5:13:08 PM No.105723099
>>105721539 (OP)
if True:
print('op's mom died in a car crash, not from the impact, but from the resulting fire while fully conscious')
else:
print('have a nice day and happy life')
Replies: >>105723148
Anonymous
6/27/2025, 5:18:10 PM No.105723148
>>105723099
IndentationError: expected an indented block after 'if' statement on line 1
Replies: >>105723163
Anonymous
6/27/2025, 5:19:48 PM No.105723163
>>105723148
nope its, it shows up fine for me in the app but ultimately was passed without the whitespace.
Replies: >>105723201
Anonymous
6/27/2025, 5:24:55 PM No.105723201
poop_snipd
poop_snipd
md5: fc7d396df841309a19fe50278881bbad🔍
>>105723163
Try using code tags next time.
>#4
https://www.4chan.org/rules#g
if True:
print("op's mom died in a car crash, not from the impact, but from the resulting fire while fully conscious")
else:
print("have a nice day and happy life")
Replies: >>105723238 >>105723246
Anonymous
6/27/2025, 5:29:18 PM No.105723238
>>105723201
if not True:
print('op's mom died in a car crash, not from the impact, but from the resulting fire while fully conscious')
else:
print('have a nice day and happy life')
Replies: >>105723312
Anonymous
6/27/2025, 5:29:55 PM No.105723246
3457357885843754
3457357885843754
md5: ea243be8a11f3bec9ea42afc04512f0a🔍
>>105723201
while True:
return False;
Replies: >>105723288
Anonymous
6/27/2025, 5:35:21 PM No.105723288
>>105723246
your code is not inside a function so the return value does not make sense. It should be
while True:
print(False)
break
Anonymous
6/27/2025, 5:36:59 PM No.105723312
poop_snipd
poop_snipd
md5: acae650711150e029bbef38085079dba🔍
>>105723238
ftfy ;3
Replies: >>105723458 >>105723888
Anonymous
6/27/2025, 5:51:12 PM No.105723458
>>105723312
haha. hard to catch on phone.op\'s should also do the job (i prefer single quotation marks)
Replies: >>105723947 >>105724021
Anonymous
6/27/2025, 6:34:50 PM No.105723888
82458247568724658
82458247568724658
md5: a2f14fe48c54eb648ca314931c7ee473🔍
>>105723312
>C:\Users\kitte

i know your real name now mr kitty
Replies: >>105723947 >>105724021
Anonymous
6/27/2025, 6:41:04 PM No.105723947
poop_snipd
poop_snipd
md5: ae30511f7d4accc88cd26e871cfda5c9🔍
>>105723458
That was it. Thanks.
>>105723888
Czech'd and when you find me, kill me.
Anonymous
6/27/2025, 6:49:11 PM No.105724021
poop_snipd
poop_snipd
md5: a7229a2be294199185b70b1325757b24🔍
>>105723458
That was it, thanks (redux)
>>105723888
Czech'd and when you find me, kill me (redux)
Anonymous
6/27/2025, 7:56:34 PM No.105724904
>>105721539 (OP)
int nicevar;
for (nicevar=0; nicevar<16; nicevar++) {
printf("nice");
if (nicevar==4) {
printf("\n");
}
elseif (nicevar==11){
printf("\n");
}
else (nicevar==16){
printf("\n\ni love it!");
}
}
Replies: >>105725198
Anonymous
6/27/2025, 8:05:52 PM No.105724989
4365475475663563
4365475475663563
md5: 91503860a7115d7307a7df738d3dcf39🔍
>>105721539 (OP)
from __future__ import annotations

import itertools
import logging
from dataclasses import dataclass, field
from typing import Callable, Iterable, List

logging.basicConfig(
level=logging.INFO,
format="%(asctime)s [%(levelname)s] %(message)s",
datefmt="%H:%M:%S",
)

Duplicator = Callable[[str, int], int] # (letter, index) how many times to keep

@dataclass
class LetterProcessor:

letters: List[str]
duplicator: Duplicator = field(
default_factory=lambda: (lambda letter, idx: 2 if idx == 2 else 1)
)

def __call__(self) -> str: # noqa: D401
logging.debug("Starting processing of %s", self.letters)

indexed: Iterable[tuple[str, int]] = enumerate(self.letters)

repeated: Iterable[str] = itertools.chain.from_iterable(
itertools.repeat(letter, self.duplicator(letter, idx))
for idx, letter in indexed
)

result: str = "".join(repeated)
logging.info("Processed result = %s", result)
return result

if __name__ == "__main__":
letters = ["N", "I", "G", "E", "R"]

processor = LetterProcessor(letters)

final_string = processor()
print(final_string)
Replies: >>105725198
Anonymous
6/27/2025, 8:25:10 PM No.105725198
poop_snipd
poop_snipd
md5: 7ad6938aff95bc174b8fc46af59da87a🔍
>>105724904
Sorry, I don't do C on Windows unless it is C:\
*snort* yuck yuck *snort*
>>105724989
Nope.
Replies: >>105725229
Anonymous
6/27/2025, 8:28:02 PM No.105725229
>>105725198
>0..15
nooooOOOOOO YOU WERE SUPPOSED TO MAKE IT 16 NOW ITS NOT A HAIKU. MODERATORS
Replies: >>105725562 >>105725601
Anonymous
6/27/2025, 8:57:00 PM No.105725562
>>105725229
Calm, my friend, calm.
https://www.writebetterpoems.com/articles/how-to-write-haiku
Replies: >>105726733
Anonymous
6/27/2025, 9:00:52 PM No.105725601
poop_snipd
poop_snipd
md5: 41fa74eb1c2626001e7622c5c9263a29🔍
>>105725229
Anonymous
6/27/2025, 9:06:26 PM No.105725674
>>105721539 (OP)
>>105722611
i dont get it
Replies: >>105725677
Anonymous
6/27/2025, 9:06:49 PM No.105725677
>>105725674
google "what is a haiku"
Replies: >>105725693
Anonymous
6/27/2025, 9:08:05 PM No.105725693
>>105725677
OPs thing doesnt rhyme though
Replies: >>105725704
Anonymous
6/27/2025, 9:08:39 PM No.105725704
>>105725693
haikus aren't supposed to rhyme you fucking retard
Replies: >>105725751
Anonymous
6/27/2025, 9:13:01 PM No.105725751
>>105725704
then what makes a haiku a haiku?
Replies: >>105725758 >>105725798
Anonymous
6/27/2025, 9:13:35 PM No.105725758
>>105725751
said the retard who doesn't know how to google "what is a haiku"
Replies: >>105725798
Anonymous
6/27/2025, 9:17:40 PM No.105725798
>>105725751
>>105725758
There is literally a link posted 15 minutes ago that tells you exactly that.
Replies: >>105725805
Anonymous
6/27/2025, 9:18:33 PM No.105725805
>>105725798
i can't be expected to read every comment here, i have things to do
Replies: >>105725871
Anonymous
6/27/2025, 9:25:47 PM No.105725871
>>105725805
To be honest, I don't expect anything from you at all.
Anonymous
6/27/2025, 10:47:29 PM No.105726733
>>105725562
this posters a bitch
who cannot stop sucking dicks
my mouth is full too
Replies: >>105726892
Anonymous
6/27/2025, 11:05:37 PM No.105726892
>>105726733
>posters
Get out, you dumb dumb.
Go back to your homosex life.
Let me live gay free.
Replies: >>105726938
Anonymous
6/27/2025, 11:11:25 PM No.105726938
>>105726892
yes you are posters
i counted the other men
lala fairy boy
Replies: >>105726977
Anonymous
6/27/2025, 11:16:52 PM No.105726977
>>105726938
https://dictionary.cambridge.org/us/grammar/british-grammar/this-that-these-those
Replies: >>105727010
Anonymous
6/27/2025, 11:20:34 PM No.105727010
>>105726977
this was correct use
for you are not separate
therefore singular