#ot0-no-stealth-portals-please
3246 messages · Page 12 of 4
do you like mint
no
lol
Why
inb4 mention of apple
sniff
in your time zone
technically you can view videos on twitch but they have to be VODS
you caught me
lol
I must be that predictable
It's 31 now
wow you are 12 hours away
spot the indians
and 30 mins
yea
ool
mexique™️
lol yea
any 15:31ers in chat
Mexique is the coolest country
sad, that didn't last long
Ever been to CDMX?
no
ye
okayy back to wanting to sleep
No sleep
the ultimate task
Sleep is bad for you
sleep is for the weaks, amateur
oh fr
ping him so the sound won't let him sleep
Yeah sleep is very unhealthy
weaks and weeks
damn. I sleep like 19 hours a day
good idea
omg
wtf
I will quit programming soon...
good
No don't you need it to battle the e
™
aren't you sleeping?
yes
<t:1648774800:R>
Why?
Tell us more, Fischl
hmm... I think it's not for me 
(I'm sleeping btw)
Team trees , team seas , team deez.
False
True
hi
bad
ih
meme beme
Do you not enjoy it?
i force myself to write things
no... it's not like that, I do enjoy... just leaving <t:1648774800:R>
25 pascals
I still can't get my head around the fact that 2022 is in 2 months
That... doesn't mean anything to me
lol me too
april fools
Ohhh
🤦
What was I doing the past 10 months?!
april fools, good
lol
living
writying your e
Says who?
u weren't active dat much, ngl
november
yeah I wasn't
Omg guys
what
whut
I just found a birch tree outside my house
hm
where have I heard that word before?
no we don't need it
they allow you to fall literally forever and they give 0 fall damage
just burn it out
they stop climate changfe?
im talking about mc xd
damn
many have died trying to do the same
ikr
I’m better, I have a whole dirt house 😤
lmao
i love this particular plugin called NotTooExpensive
what it does is remove the "too expensive" from anvil enchants
because we like to enchant to ridiculous amounts
oo
like my helmet has prot 4 respiration 3 unbreaking 3 aqua affinity thorns 3
and it's netherite
no i actually needed it today
because we were going on ocean monument raid
To sell it for 1 smakaroomie?
i have died the most times on the server
unfortunately
im not the best at being alive
get a conduit smh
smakaroomies are only hypixel currency not vanilla
we have 2 hearts of the sea, the problem is nautilus shells
with the prismarine from what ocean monument
oh if you farm drowned they give a fair amount
yeah i guess
either way im like the 4th richest person on the server
also the 3rd poorest
buried treasure does too iirc
i havent done a vanilla esque playthrough for a while so I forget some of these things ¯_(ツ)_/¯
but i mean we've been playing for 1 and a half month so
we're going to reset on 1.18 release
But did you build a bastalion?
lol bedrock got a caves and cliffs snapshot before java
java had the snapshots first afaik
I just have bedrock to use with my friends, plus caves and cliffs with better cave/cliff gen
so i died like 5 times taking my netherite stuff with me
bedrock has the experiments options they just tend to be broken haha
yeah, same for snapshots
2 times i had the most op pick possible
69 eficiency?
lmao
like one of my experimental worlds has very cool ravine like caves everywhere but takes at least 7 min to load every time instead of like 10 seconds
so all our profits are powered by villager aboose
bedrock on mobile is fine as it's the only good option you have, windows 10 is just alive due to rtx and cross platform play
isnt there cross platform in pe
well, yeah pe can play with win 10 users
java can't unless you do a lot of stuff like geyser :(
i dont understand why people buy the windows 10 edition
rtx probably
i mean other than that it's absolute shit
and cross platform play
now I believe java is in game pass for windows if only i hadnt bought the launcher before
Windows phones are popular.
lol
they still exist
i remember that my mom had a win7 phone long back
or win 8 idk
dont remember
any version of minecraft isn't in game pass afaik
no it is now
Windows vista phone
probably 8
it was announced in mc live
both editions are coming in game pass
damn
my launcher keeps bothering me about getting the new gp launcher since like two days ago
ignore
yes
i watched xisuma on it and it is buggy as hell
the new launcher has... issues with mods and optifine
but the popups are red 😔
Selling 25 bees
lol
remove red from ur screen
Remove the red sub pixel
ohhk yea or maybe I could acquire colorblindness
So it's only GB
maybe just replace every subpixel with red so it blends in
Image
isnt that just monotone but r e d
69
42
I coded before I was born
me too
3
or even consived
5/12
not to be that guy but
conceived*
Dang, ot looking like a cesspool this morning
lancebot needs to be more like @obtuse swallow
why?
minecraft good
Yeah, it's not normally this bad
good morning brad! ☕
not to be that guy ,but you missed a comma.
mornin'!
69
and... not to be that guy, but you misplaced the comma.
It's still in between the two words
comatose everyone.
what isnt?
not to be tahat guy but,, you have extra space
aha!
English's basic grammatical rules just say they need to be in between the words, and modern day writing puts the comma then the space, but it doesn't actually matter so long as it's in between the two words
not to be that guy but.. ||use grammarly instead||
Not to be that guy , but you have an extra comma
damn good point
language isn’t a concrete thing; it changes all of the time such as with slang. Most people agree on that the comma goes before the space, so that is proper grammar now.
because it's defined by humans
*with respect to time 😉
gangsta grammar
d(s)/ds = 1 so ur wrong
This is assuming D or S has one constant value
ambigusus? SUS?
sus
that's differentiation
I wanna unga
but ok
does that mean degeneral
225
you’re degenerate
no u
ok
25*10-25
lol
gordan ramsey
1 die
2 be god
asking for project ideas 5 times a day
Let's sell you to the black market
i disagree with ur about me
atleast i’m worth something 
go try tell the scientific community to ditch conservation of momentum
sure we dont have proof that it's true
69*1
but it's highly highly highly unlikely it's false
Higly?
did i forget english
Higulty picklety
what
we
hvae
Recite the power rule
both experimental and theoretical
i mean my ncert textbook says so
is it from 1999?
it has proof
The law of conservation of momentum is generously confirmed by experiment and can even be mathematically deduced on the reasonable presumption that space is uniform.
reasonable presumption that space is uniform.
PRESUMPTION
pre
where does it say there's a theoretical proof to it hmmm
funnily enough no it's from last year
look on the internet
what does it have to do with uniformity of space \🤔
no idea
@quasi cape here
Probably means something like "this theory might not match what actually happens, but it's the best that we have for what happens"
yes
that's what im saying, there's no proof that it's real
but it's highly unlikely it's false
How many joes is too manyh?
hmmm
i mean , its not proved but can be verified
so its basically a postulate
I don't block very often, but I think its appropriate here
Block who?
Physical laws / theories are always a bit wacky with their wording, but it is sorta because it is better to leave it open ended, in the case that something new and novel can change our understanding
Like conservation of momentum works for as long as we have seen it, but then something like the EMDrive shows up that looks to disprove it
EmDrive is a concept for a radio frequency (RF) resonant cavity thruster that is claimed to have potential applications as a spacecraft thruster. It is purported to generate thrust by reflecting microwaves internally in the device, in violation of the law of conservation of momentum and other laws of physics. The device has been often referred t...
does it work tho
It hasn't been tested enough to say one way or the other (definitively) but it likely does not work
ah i see
.topic
make a game using pygame.
no no 😔 pygame bad
matplotlip i think
import matplotlib
yes time to learn that
why
Make a tensor flow ai that can solve your home work
Your liver test was minimally on the high side
What does this mean? Is it dangerous?
learning how to use tensor flow , can't seem to find a good source
i just dont like game developing tbh
sad
Arcade was sorta painless
I learned it and applied it in a week during pyweek game jam
Helped me come in 2nd place with my team! (2nd from last)
wOW SO GOOD
is this what we call code golf?
any1??
What liver test?
Yes, lowest score is best
Yup, I got this answer for the test
It was just a normal one
Gonna need some more context here, did you go to a doctor and have a blood test for your liver?
me when minecraft launcher not work
I had a blood test and they checked most of the stuff, including my liver
Everything was good other than this
You could of asked them
you can mail me ur liver
I'd suggest not asking medical questions on a random Discord server. If you have concerns about your results, speak to your doctor
I cant, i have to wait 3 weeks
Aight mb, I cant find anything in google so I wanted to ask here and see if anyone else knew, i dont really mind sharing my results 😄
Yea, I mean you can discuss them sure, we're not going to stop you
But we aren't doctors
but there's no way to prove any answers you get are accurate
Even if we were doctors, we don't know your situation, nor your medical history
I know, but why not give a shot? Maybe someone else have had the same results 
But mb, i wont ask
Again, feel free to ask, I'm just advising you not to rely solely on answers you get here for medical advice
Aight thanks
What's bad about the older kylee:
- Bad at coding (giving false information as always)
- Bad at socializing (Like it cant talk normally as a friend)
- Bad at making bots (Her bots are trash that I should rewrite it)
I met you when you pinged hunter.
convo?
conversation
What is convo?
hi
ah okay
abbreviation
No fire fox is better
yes
bing my beloved
edge is better
Ahh pinged again
agree
i use a chromium based browser (not chrome)
what are the benefits tho
I thought google and microsoft arent connected in any way
bing
bing is life microsoft is god
What's good about the older kylee:
- Good at coding (giving nice information as always)
- Good at socializing (Funny and cool)
- Good at making bots (Her bots are nice that Icy don't have to rewrite it)
- Good at pinging hunter (... She pinged again just while we were talking)
- No nitro (So same with us. NO PINK POTATO)
i like horses
so... it is...
they are cool
imagine inverting my message...
me too
do you know... that's how pets work
I got a bomb
No nitro
kylee has it though
And want to use kylee's bot..
???
kylee has nitro
You have it than use it
You profile
ABOUT ME
Discord doesn't let me buy nitro 😦(=No nitro)
im icy
I just noticed that your in top.gg server
Guess mine will be more worse
Want to have it
i dont want nitro either
everyone wants to have it
not me
nitro is useless
But nice
for me atleast
nitro is useful
id but a good nice bike instead
especially to impersonate other with guild-specific pfp 🤭
dice
.topic
Shooting people
same
🤦♂️
stab me in the foot thanks
all 3 owners online
3owners?
no more???
OFC'
XD.
as soon as i omg
no it good
😦
!silence
.topic
.topic
.topic
im good
Im god
I wanted to do that L(
Too senbile
Oh my god! 🤦♂️
Hey did you they removed gulible from the dictionary
.topic
A Feast for Crows
What is it
aw you changed the topic
.topic
Hmm
:potato_popcorn: you're late
I was right
No pink potato again
it's cute
Pinging hunter
.topic
yellow
Ahhhhhhhhhhhhhh
I am out, so I don't think I am gonna be online much 😐
I wanted to do that
hello
hunter ur bot, keeps resetting the channel for AI chat in my server lol
@flint perch
Brrr, it's cold asf, still I had to come out with my brother 😐
Lmao it's true tho
Andddd my net sucks here. Great
XD
?
cool
.topic
l.i.e
.topic
not for u
.topic
Weird. DM me the channel ID and I'mma manually add that to the list as soon as I get home
.topic
.topic
🙂
Weird. DM me the channel ID and I'mma manually add that to the list as soon as I get home
ur too late!
spamming
Lie
GG!
You lost
My message is first tho
I wanna kms now 😐
Ouch
ducking net?
f
.topic
birth day
I wanna swear but @final oasis hates it so I just changed it haha
why me
None, since I have classes everyday
tell meeee about ducking net
What?
which message are you replying to
sad
Lmao I meant fucking net butttt 😐
I am just saying that u hate it when I swear
fucking net?
Wait, don't tell me u don't know what that means 😐
It's a swear lol
.riddle
You have 10 seconds before the first hint.
you also said that word 53 times here to yeah
Nobody got it right...
hmm
Im bad at english riddles
.riddle
You have 10 seconds before the first hint.
?
cosco
Gtg fya
Me too I am korean
Cya*
Cya
Nobody got it right...
.topic
Suggest more topics here!
One horse sized duck
one zee obsv
Because it’s ducc
One horse sized duck
Ducc is best
:|

Why there is
,
,
???
Hi besties
les goo
You shoulds join his discord
the question is why is there a null
Our ratings start at 0
some jokes are so bad they get a 0
@sick olive you closed before I could share a cool example
oh well
matplotlib can also do stuff like this
BUT I NEED A COMPUTER TO FOLLOW WHAT I DO AND BE SMART
i am in a dillema
i also need to make a script and record it for youtube
does it also allow downloading it as a gif
wow , will come handy for bot command
vinam here with the pink name
hemlo
i'm getting flexed on and i do not like it.
https://paste.pythondiscord.com/ehazunawak.py Here is the script if you are curious
alright i want a pink name
win pyweek
why?
game jam
seems like work
but i NEED to
well everything is work
since i want to make a game bot
vinam is a champion
what game?
minecraft
..okay
bruh lol
weIRD thing skywars is complicated
interesting
Hi :D
go do java pain
champ ion
⚛️
ml in java is shit
Amateurs, I'm the best at skywars
i love java
cap
surebuddy
1V1 me rn
Why would I lie
bcuz u lied about not loving bananas
Perhaps when I get on to my computer
i'm in a fucking tradition outfit since diwali but i'll beat your ass
Lmfao
anyways skywars contains
- looting
- bridging
- mid chests
- finding players
- kiling said players
- healing
dad joke award
Yes, I've played skywars

jumping off the platform
I may or may not be absolute shit
no i need to teach my bot thewse things
also yall guyess what i found a JS library that allowss you to make minecraft bots
feed the videos
Ah
Ew js
lol
yeah i was gonna make a neural network and feed it technoblade clips
and make my own technoblade
lol
bruh
most of them are printers
Hm
prn is the primary printer, comX are printers connected over serial ports, lpt I am pretty sure is yet another way to connect to a printer
Lua I hear has a great type system
https://github.com/PrismarineJS/mineflayer see this is the JS lib
Hm
yes
aux is the headphone jack, though I am not sure you could actually use it that way
metatables are cool
Wdym
lol
ez clap gg combo
Luas type system
today kids i will teach you how to solve overpopulation AND world hunger with 2 easy steps
nice.
nice net
nice number
someone help me
how the fuck do i make a bot and feed it clips
and it magically is a god at minecraft
my brain can't comprehend
well, get a good GPU for starters
i have one, go on
well, you probably want a classifier then, given a given game state, take an action
probably
huh
that's what the people said in python general
the people sure know their stuff
alright well uh fuck
unfortunately, my ML knowledge ends at "classifier"
dang
I also have a vague memory of some math formulas
yes how do i do that
let the bot do the learning
why the fuck should i care to give it game state and sgit
oh okay
alright time to use minerl
i've3 used it before but it's a pain in the ass to setup
we're gonna do that on school wifi
God I wish I didn't have to elif all the way to infinity
You clearly see there’s some code duplication there. There’s an easy way to fix it
Wait a second vester your name isn't following the nickname policy very well
!ban @analog carbon 7d breaking nickname policy
It actually isn't against our nickname policy though
private bool IsEven(int number){
if IsOdd(number) return False
else return True
}
And now you just define IsOdd
Doesn't it need to be easily pingable?
See, much simpler
nope
nope, just not zalgo-y and not invisible
Ohh. My bad, I though it had to be easily pingable.
Check #rules message
I prefer counting to infinity, gotta hit that 5million line of code and take up as much resources as possible
we did change that rule recently afaik
(It was a joke)
and by recently I mean months ago
For the record, this is what my name actually is in Chinese
It just needs to be selectable, so as long as I can click on the name to then mention/message/grab ID you're good
This one
Ahh ok, got it.
One of my Chinese friends helped me translate my name into Chinese a few years ago. This is what it looks like
Ooh nice
gustaf?
Yeah, Gustav
That’s the same name, but there are 2 spellings
Do you know Chinese?
yeah
Cool
I still have a recording of them helping me pronounce it. Won’t post here though, for obvious reasons
Any nickname that isn't invisible is easily pingable
I nerded chinese a while back and learnt quite a lot. It was really fun
Tap name on mobile, right click mention on desktop
try to learn chinese dialects 😈
Hahah just learning “general Mandarin” is enough for me
I didn’t really eead up too much on the different dialects
good luck on learning it btw
I’m not really learning it anymore. But it was fun when I did. Might continue some day
o
loop?
I prefer to count all the way to infinity
i see and respect
smh imagine not having uncountably infinite lines
Yes yes, gotta use all of that resources
Imagine having countable infinite lines 🤔
🤯
is that java ?
Yes
private bool IsEven(int number){
if IsOdd(number) return False
else return True
private bool IsOdd(int number){
if IsEven(number) return False
else return True
}
}```
oh c++
Close enough
wait maybe not
private bool IsOdd(int number){
if IsEven(number) return False
else return True
}
here
awww he already did it
feels weird no colons after if smh
For the record, I know basically no Java, so my silly function might be all wrong
why are there no braces
was java
Error: maximum recursion limit exceeded
best fix is to raise the limit
To infinity
Goddamm it, get a quantum computer and count all the way to infinity, upgrade your gear
And since infinity is finite (as you implied earlier), it will work
yes
when the integer limit is reached
it will stop
as any number more than that is infinity to the computer
technically™️ we reached infinity
!e ```py
from math import infinity
print(str(infinity)[-1]) # The last digit of infinity
@analog carbon :white_check_mark: Your eval job has completed with return code 0.
42
wow
A fellow galaxy hitchhiker
Indeed
How does this even work?
Magic
magic
@sick olive :x: Your eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "<string>", line 1, in <module>
003 | ImportError: cannot import name 'infinity' from 'math' (/usr/local/lib/python3.10/lib-dynload/math.cpython-310-x86_64-linux-gnu.so)
Mostly. There’s also the aspect of me hacking snekbox using SQL injections in order to penetrate the outer defenses of the robustly secure @obtuse swallow core code, in order to cause a stack overflow resulting in a meltdown of the mainframe and giving me access to the meaning of life—the last digit of infinity—42
I just hack into the mainframe
Me hecker
simple just be hecker
I assume infinity is some sort of class using your computers 32 or 64 bit stuff and returning some sort of list but idk
You do print("42")
then import infinity and print it
and delete the message with the error
Thus, infinity = 42
Il show you one faster way to get there
!src
I tried that too, but @obtuse swallow detected the attack and counter-attacked. Our duel was magnificent, but the only way for me to acquire superiority over the robust security systems was to cause a nation-wise meltdown of the mainframes that this system relies upon
Hahahah yes, just download some more ram
Yes please
yeah, just store the extra ram in ram
He hacked into the mainframe with his epic hackerman skills
Just have to ram the ram in the ram
This is like, computer 101. Seriously, how do you not know this?
I injected a new, malicious, core when the old mainframe had been through the meltdown. After the first great damage to the main system interpreter, I decided to inject a core powerful enough to calculate such a complex operation and let @obtuse swallow become something of a slave to the raw power of my attack. As they say, I’m just the one pulling the strings
I know how to hack into the mainframe, download ram and what not
Walmart Light Yagami
"I'll take a potato chip and eat it"
Iconic
I hear L theme for some reason
That’s just what they want you to think, in order to cover up the true nature of the chips. GMO actually refers to the way the core DNA sequences of the chips have been altered to inject a consciousness into the raw potatoes. Salting it and using sufficient oil in the roasting process is one way of attracting humans to the malicious chips, in order to gain full autonomy over the bodies subject to these powerful attacks. That is one way of injecting this powerful core drive and excess ram into the unwilling test subjects. We do this to gain control over the mainframe
Good morning.
good night.
But what if the mainframe is not actually the mainframe, what if...the mainframe's hack link is actually the way to download more ram...I've got you in a trap now Kira
I know this is a lot to take in, but the truth must be set free. We live in a society of oppression, where the facts of the true nature of our existence is hidden by secretive forces working in the background. Freedom to all!
def IsOdd(n : int) -> bool:
if n % 2 == 0:
return True
return False
def IsEven(n : int) -> bool:
return not IsOdd(n)
``` i may now work as a dev
I imagine you doing the Kira laugh while typing all of this
What’s the Kira laugh? Who’s that?
Government is something that is just harmful to the people when it comes to surveillence. Edward snowden even makes sense of this
ew, just do
def IsOdd(n: int) -> bool:
return bool(n % 2)
New! Downloadable mp3 version, for use as a ringtone and such, as suggested by Shine1980. It can be found here: http://www.gamingg.net/downloads.php
Holy crap, guys. I didn't know this would be so popular. I just uploaded it to show a friend :P. If Death Note videos are so desirable, I'll try to grab a few English episodes somewhere...
its a joke 😔 and bool is slow use not not /j
I must say, my evil laugh is much more evil than that of Kira
it's just a few microsecond difference, not not looks ew, the bool func isn't necessary in the func
Oh boy
Wait, did this just become a serious discussion about government surveillance?
also, if you're gonna use JS you're gonna shoot yourself in the foot 😂 use typescript
I took it down that route because it looks like you were speaking of politics, but my bad if you were not.
fair
if u call that 1 million times it does make a difference
Ah yeah, we were just talking joking around about hacking and stuff like that. But yeah, government surveillance is an important topic to discuss
it is ? , how would it return a bool then
oh.
you don't need to return a bool tho
def IsOdd(n: int) -> bool:
return n % 2 == 0``` by doing this 
yeah i get it
imo running n % 2 works already
you are probably allowed to modify this array, but you're 100% not able to change the reference to that array inside of that const
!e
def IsOdd(n: int) -> bool:
return n % 2
def IsEven(n : int) -> bool:
return not IsOdd(n)
print(IsOdd(2))```
@sick olive :white_check_mark: Your eval job has completed with return code 0.
0
if you'd work with a value, line a number
const number=1
you can't change the value itself
does it ?
On the other hand, I'm going to continue doing notes for Russian. Toodles
!e
def IsOdd(n: int) -> bool:
return n % 2 == 0
def IsEven(n : int) -> bool:
return not IsOdd(n)
print(IsOdd(2))```
@sick olive :white_check_mark: Your eval job has completed with return code 0.
True
why not? calling a function uses longer period comparing with your not not and bool thing
yeah ik , it was just a joke 😔
started from here
In [1]: %%timeit
...: (lambda b: b)(1)
...:
...:
199 ns ± 1.72 ns per loop (mean ± std. dev. of 7 runs, 1000000 loops each)
In [2]: %%timeit
...: 1
...:
...:
12 ns ± 0.393 ns per loop (mean ± std. dev. of 7 runs, 100000000 loops each)
also, typescript has a definition for immutable array
stop using functions @sick olive /j
sure
IsEven = lambda x: x % 2 == 0
IsOdd = lambda x : x % 2 != 0``` 
!e
IsEven = lambda x: x % 2 == 0
IsOdd = lambda x : x % 2 != 0
print(IsOdd(12))
print(IsEven(10))```
@sick olive :white_check_mark: Your eval job has completed with return code 0.
001 | False
002 | True
yay
can someone listen to a piece i am working on
i fear i might get muted after posting this for illustration of unimaginably cruel psychological punishments, but here it is: https://youtu.be/Ns3YxbIhTRM
Full Music Video Only of Rebecca Zamolo Among Us in Real life Song https://www.youtube.com/watch?v=7e0YDQY6y8w #shorts #Rebeccazamolo
▶ Get ZamFam merch! rebeccazamolo.com
Rebecca Zamolo Social Media
Instagram https://www.instagram.com/rebeccazamolo/
TikTok https://www.tiktok.com/@rebeccazamolo
Twitter https://www.twitter.com/rebeccazamol...
uhhhh wtf is this
illustration of unimaginable psychological torture
long for iupt
bruh
Those types of titles remind me of ||Elsagate|| videos back then
that thumbnail too
Yeah
it's just really scary, i won't click on it
why cant i chat in vcs?
Probably #voice-verification ?
through dis vc lol
You could still join and listen
I know that
I made an amazing and 100% efficient and not frivolous way to check if a string is a palindrome
!e
def string_reversed(string: str, starting_index: int = -1) -> str:
if starting_index == -(len(string)):
return string[starting_index]
else:
return string[starting_index] + string_reversed(string, starting_index - 1)
def is_palindrome(string: str) -> bool:
for letter, rev_letter in zip(string, string_reversed(string)):
if letter != rev_letter:
return False
return True
print(is_palindrome("racecar"))
@hollow holly :white_check_mark: Your eval job has completed with return code 0.
True
.reverse palindrome
emordnilap
Palindrome is not palindrome
string[::-1] is boring, recursion for the win. This is also extremely fast and can definitely handle strings over the length of 1000 characters 👍
aibohphobia
for a second I thought that was a real phobia
Would reversed() be handy? Since its generator. So we can kinda save time while checking. (Its generator right?)
It is, its the phobia of palindromes
One of the most ironic things is that Hippopotomonstrosesquippedaliophobia is the fear of long words
.wiki aibohphobia
List of phobias
predisposition for avoidance and/or exclusion. For antonyms, see here Aibohphobia – a humorous term for the fear of palindromes, which is a palindrome
The Talkies
also involved a lot of experimentation: the Twin Peaks-inspired track "Aibohphobia" (the title term refers to a fear of palindromes), for example, features
reminds me of that burn from the "Why I rewrote my Rust keyboard firmware in Zig" post:
Ehh, it depends on the usecase
string[-1] is faster than next(reversed(string)) from my testing
500 is a pretty massive number, for sure
Oh i see. Again. Why do we even need to make a reversed string to check for palindrome again?
When talking about time to cook a sandwich in milliseconds, 500 is definitely a huge number
As much i know len() is o(1) and we can do this in o(n/2)
A palindrome is when the string reversed is the same
basically it would just be
string == string[::-1]
hmm, now that I think of it... how do python strings store data?
time to pull up the source code! uno momento
like, do they store each utf-8 char as 4 bytes (even though they are often smaller)?
I think we benchmarked this a while back and concluded that a comparsion of 2 half-slices adjusted for parity is by far the fastest
it stores it such that each char is as large as the largest codepoint in the string
Exactly. So you can check reversed indexes. Would be done in n/2 checks.
ah, I see, so it wastes up to 75% space in many cases
ye
Say for len 5
Check 0 4, 1 3. Done.
that's the cost of the unicode mistake
So string == string[::-1] is the fastest? If I'm understanding what you said correctly
that's interesting since Rust Strings, say, use variable-sized chars
you can't index them by char because of that
yeah, but python needs random access
I am pretty glad that string handling in Python is a lot easier than in languages like Rust
Does it really matter? If you actually care about speed why use python?
Oh no, I was just asking out of curiosity, a few milliseconds doesn't matter to me
To have a better time complexity?(not this prob tho. But yes to save complexity)
so, it was sth like ```py
a = len(s)
s[::a//2] == s[:-a//2:-1]
Ah
it's quite a feat to get a complexity other than O(n) here
but yes, if you actually need this, do s[::-1] == s and don't think about it too hard
Makes sense.
in theory you could iterate once instead of twice, but that's the same time complexity and idk if its actually faster doing that in python
Well i like to mention n/2 with above method (yes i know its o(n) anyways
)
We iterating would be slower i guess that's why these [::-1] come in handy practically
perhaps
n = len(s)
k = n//2
A = iter(s)
B = reversed(iter(s))
return all(a==b for a,b in zip(*map(lambda X: itertools.islice(None,X+1,k), (A,B))))
but this is python and perf is kind of wonky
a//2 should be in 2nd place. Yes.
the truly fun task is to do this in rust
String::chars is a reversible iterator, so my approach would do




