#ot1-perplexing-regexing
1 messages · Page 625 of 1
They should work everywhere, no?
Airpods should theoretically work since they're bluetooth?
they use some proprietary apple bluetooth BS to work better than other stuff I thought
Unless if the bluetooth cant handle dual masters
that seems like sth apple would do
Yoyo
on Manjaro, it was completely broken for me, but on every other distribution it worked fine
Bluetooth was one of the reasons I had to leave Manjaro
although in hindsight I'm glad that I did leave
It's something I do notice all of the time, it's not a problem for me on Linux because we have chrony to automatically fix the time but Windows doesn't have anything for automatically syncing time
there is Dimension 4 iirc but I've not used it in ages
Doesn't it have something built in?
it's not automatic
every time me and my brother start Windows, we have to make sure to click "Sync now"
if you didn't set the hardware clock thing, then you don't
are you in the UTC+0 timezone?
AFAIK, anyways
I think I'm UTC-7, I can't remember
Nah, you probably just didn't set the hardware clock when installing
no clue, somewhere in Linux settings, probably
oh
well then that's why it's not a problem ._.
when we log into Linux, it changes the time on the hardware clock or something
and Windows will display the wrong time
you can sync it, but it's only manual
the issue is that linux stores UTC time and windows stores local time
apparently timedatectl set-local-rtc 1 --adjust-system-clock fixes it
Yeah this one
If windows wont fix itself then the linux will
one thing I do not like is that getting an Android emulator on Linux is somehow annoyingly difficult
Ironic
ah yes. maybe I should cut down on my Linux praise
brightness says 0% but definitely burning my eyeballs
Wear shades or eyeglass with UV protection maybe
Ironic given that Android is based on Linux. I have played around with Bluestacks on Windows
No I meant, its ironic how it is harder to setup android on linux which is made of linux
Indeed
doesn't W11 just straight up ship an android emulator natively now
take all the macos features
Does it?
Yes, I know
They have plans I think
perhaps I should've commented
in preview for now
Yeah see above
tbh I think I've gotta get away from KDE neon
Isn't mac os just technically a unix environment except a tad more restrictive
too much edge for me
it's a unix
macOS is surprisingly SUS certified 😔
but unix is kind of useless
Mac is BSD i think
So they're one of those that doesnt give back to the unix
the kernel is *NIX but macOS is UNIX
oops, by "kernel" I meant Darwin
I dual boot in the past but now do VM nowadays
I will probably just do windows with wsl, since I like msoffice.
VM on windows is not very optimal. Since windows takes like 50% of your ram and all
windows will reduce its ram usage if you actually start filling the ram
I have run 7GB allocated to a VM on an 8GB windows system before
Lol i once installed OpenBSD on a old machine for that purpose and was happy with it
hmm I should try using AVD on Linux
I wonder how they'll fare for games
probably not terribly well
yeah, those are quite neat
Linux can be tiny and cute
BSDs still tend to be smaller since the kernels are smaller and they don't use GNU stuff (alpine being an exception on the linux side)
I find it hard to believe people actually try to daily drive some of these distros, though
There are some distros that people daily drive due to cosmetic looks or "close to windows looks" and maybe even to challenge themselves (Like Arch)
Oh yeah did I forget to mention Gentoo?
noooo
tbh that doesn't justify distro choice
somehow people still prefer Mint these days and I'll never actually understand why
aaaaaaaaaaaaa aaaaa hi
ban
Mint? Used it for a while
It is a pet project for some I guess puppy linux literally a pet :3
Meh, I just think that I'd rather the Ubuntu MATE over the Debian/Ubuntu possibly malicious conglomerate
I think people often forget that opensource is made by a bunch of people and it doesn't indicate that the code itself is safe. It may or may not be a group of syndicate placing a malicious code into the program trapping unsuspecting users. The only way it could be deemed safe if it is verified and tested by professionals or is from a credible and official repository
Sort of
Ah true and open source projects have bugs too like closed source...it is basically peer review of code that is the open source advantage over closed.... malicious maybe or just humans making mistakes ...
Assuming code is safe and bug-free just because it's open source is indeed incredibly naive
It is of course
but the open source nature does aid in finding and patching bugs faster, given that a project is popular enough and/or you're able to fix it yourself
And you're able to check for yourself whether or not it's malicious with ease
Nobody has time to review all the code of a large project so many bugs do go unnoticed ....usually the patches come after an exploit is discovered
a security researcher may say otherwise
Same for both open and closed source but yes at least you can make a patch yourself for the open source project
Yes sometimes a bug is unintended
an employee from some tech company told me that security in opensource is no more different than the one's from closed source. remember that you cant trust witnesses in a crime, how much more if you are reading thousands or millions of LoC
bad design or a side effect
ah there's a university blacklisted from contributing to the Linux kernel
there was some experiment to see if one could push malicious code into the Linux kernel
security and bugs would be two separate issues though
one of which does get compromised by the other
same problem. two might be different issues but a bug can become an exploit anyway if unlucky
Depends. There are reason why md5 hashes exists
close enough: https://www.theverge.com/2021/4/22/22398156/university-minnesota-linux-kernal-ban-research
Yes, but I didn't say anything regarding exploits
well it all comes down to trusting the source
also imma play genshin, shenhe my waifu is calling me
Priorities
Yeah its all exploitable ... and code review is expensive ... nobody does it until a bug or an exploit appears in general . Some do but for a volunteer project new features are more sexy
Its really terrifying to think that a big gaping hole exists on every program that someone has yet to discover
Just like the log4j vulnerability
The exploit stayed there for YEARS until someone discovered it
@weak ravine I found out that the bookmark command is actually .bookmark, not !bookmark 🤦
Because it's on a different bot
yeah reminds me of that time logan made an experiment to see if one could vlog in front of corpses and get away with it, such experiment wow
now don't mind me ill make an experiment to see if i can munch on pastries and not get fat 😩
@obsidian drum what are these twitter links that you're dropping without any context?
@obsidian drum in any case, please respect our channel topics going forward. #python-discussion is for python discussion. ty!
hello
hello
ok
Actually it is all connected, I didn't know that this channel was blocking the content so people didn't have to click to see, all I do is either Python or Dev Topics
oh it's your twitter?
in either case, just dropping links like that doesn't engage in ongoing discussion and is disruptive, so please refrain from that doing that going fwd.
@sterile grail discord mobile syntax highlighting be like:
Me too
wait this is not a thing for y'all?
nah
iPhone doesn’t support
iphone moment 😔
android has it
would be nice wouldn't it
Very nice
Makes helping on phone so much easier
I can't stand a blob of text lol, need some syntax highlighting to make it easier to read
helping on mobile is so bad omg
i wanna have snappy, witty responses, but i can't because i type too slowly
actually, the witty part doesn't apply to helping, just to general chatting
Lol im on the phone when I am here yes typing on a mobile hard
nice channel name, now ban every single person who talks in this channel >:D
Am here for the ban
Am also here for the ban
ah yes, no nerds allowed
Not getting the ban
i'm out 👋
shoo
Me too ... a nerd strike lol
You don’t have to be a nerd to know programming! D:
Does damaged LCD screen damages more over time?
Yes
they're on iPhone so they don't get it
I find that mobile Discord is generally worse than desktop Discord
Though I wonder why there's no syntax highlighting in iOS
iOS is lacking a few features
there was a time that one of the missing features caused an accidental everyone ping
Yeah it didn't show the warning
Did it get fixed already?
yeah
Ah
🥲
I am not a nerd
neeeeeeerds
nnnnnnnnnnnnnnneeeeeeeeeeeeeeeeerrrrrrrrrrrrrrrrrdddddddddddddsssssssssssss
Noooooooo
N E R D S
COVID finally got me
everyone around me has been getting it
my entire immediate family has now had it
did sudafed and stuff help you? i rmbr you were suffering with congestion
I have no clue, tbh. If it did, it wasn't very quick
haha
throughout that entire period, my only real problem was congestion
which lead to other minor things
a bit bad but not terrible. Just fever and some cough
get well soon!
thanks
no nerds allowed
why do your mentions look like that
I'm on mobile
that... doesn't mean much
Wut
uh
lower
I mean probability says that the number is probably lower than 69
Lol
Lol
if the number isnt 69 who cares
susy bka
still asking myself if I haven't seen it all
but you guys still manage to amaze me daily
@obsidian walrus Don't post random gifs here please.
why
not
check the off-topic etiquette in the channel description
Guidelines on conversation etiquette.
i like how yall are so serious in the no-nerds-allowed channel :P
super mega cool stuff
the latter
love the language name too tho
pretty original
my language names are usually just animals like "Sparrow" and "Doe"
What's this site called that creates these graps?
you just reminded me that a doe exists
okay but like why are all sample texts like "John Doe" or something
Doe was inspired from "Psuedocode"
and how it's pronounced
Ah cool
:)
🙂
whos baba and why're they float
baba is you
i see
what am i supposed to play
baba is you
im not
^ is the name of the game
"im not" is the name of the game?
ayo its fashoomp

🫂
woah, i did not know that emoji existed
the name changed nuuuuu
no-nerds-allowed you will forever be in my heart
at least ot0 is git-gud tho
guys my genshin.... its broken
you play genshin too Mr. ahp?
ye
aisa?
yes
GIBE ME YOUR ID
idk i rarely use that
bruh
@noble niche also take look at this
!e ```py
import ctypes
import random
def setit(string, index, char):
ctypes.c_char.from_address(id(string)+48+index).value = char.encode()
def change(string, new_string):
[setit(a, i, b) for i, b in enumerate(new_string)]
Ignore the above
a = 'Hello World'
print(a)
change(a, "Goodbye World")
print(a)
@coral void :white_check_mark: Your eval job has completed with return code 0.
001 | Hello World
002 | Goodbye Wor
.randomcase strings are definitely immutable
sTRINgs ARe defInItELY iMMuTABLe
!e ```py
import ctypes, random, sys
dangling_bast = ctypes.string_at(random.randint(0, sys.maxsize), 64)
I hereby summon the NASAL DEMONS
print(dangling_bast)
@coral void :warning: Your eval job has completed with return code 139 (SIGSEGV).
[No output]
some more
quality content
Oh, another fun one
lets explore process ram
!e ```py
import re, ctypes
data = ctypes.string_at(id(re), 409688)
print(*re.findall(r"[A-Za-z0-9/\-+=_()[]!@#$%^&*.,<>?'"~`]{5,}", data.decode(encoding="utf-8", errors="ignore")), sep=" -- ")
@coral void :white_check_mark: Your eval job has completed with return code 0.
/usr/local/lib/python3.10/re.py -- RegexFlag.__repr__ -- SRE_FLAG_IGNORECASE -- SRE_FLAG_UNICODE -- SRE_FLAG_MULTILINE -- SRE_FLAG_VERBOSE -- SRE_FLAG_TEMPLATE -- Helper -- class -- provides -- standard -- create -- using -- inheritance. -- Instances -- replaced -- appropriate -- value -- class -- suites. -- Create -- subclass -- replaces -- collection -- global -- constants -- enumerations -- should -- created -- `EnumName([mixin_type, -- [data_type,] -- enum_type)` -- Generic -- enumeration. -- Derive -- class -- define -- enumerations. -- Returns -- format -- using -- actual -- value -- unless -- __str__ -- overridden. -- Returns -- member -- (possibly -- creating -- found -- value. -- Returns -- least -- flags -- other. -- ascii.py -- mac_latin2.py -- mac_romanian.py -- cp863.py -- HHk^3 -- __init__.py -- Vq'!v -- ansi_x3_4_1968 -- ansi_x3.4_1968 -- `&G<" -- ansi_x3.4_1986 -- cp367 -- csascii -- ibm367 -- iso646_us -- iso_ir_6 -- us_ascii -- base64 -- base64_codec -- base_64 -- big
... (truncated - too long)
Full output: too long to upload
!e print('xD')
@plucky plaza :white_check_mark: Your eval job has completed with return code 0.
xD
Wow, consider me suitably impressed (also sorry only just saw these)
lol
nw
Don't worry it's only the tip of the truly cursed
A null byte is a valid discord message
so is \033c
My 'Python warcrimes' folder has gained a new file in your honour
Discord has some very strange behaviour involving special chars
One of which breaks the eval bot
I mean I feel horrible for any bot's written in C in any of my test servers
I legitimately post-process content echoed to my terminal to strip escape codes cause clrscrn works ;-;
!e ```py
import re, ctypes
data = ctypes.string_at(id(re), 409688)
print(*re.findall(r"[A-Za-z0-9/\-+=_()[]!@#$%^&*.,<>?'"~` ]{5,}", data.decode(encoding="utf-8", errors="ignore")), sep=" -- ")
@coral void :white_check_mark: Your eval job has completed with return code 0.
/usr/local/lib/python3.10/re.py -- RegexFlag.__repr__ -- SRE_FLAG_IGNORECASE -- SRE_FLAG_UNICODE -- SRE_FLAG_MULTILINE -- SRE_FLAG_VERBOSE -- SRE_FLAG_TEMPLATE -- Helper class that provides a standard way to create an ABC using -- inheritance. -- Instances are replaced with an appropriate value in Enum class suites. -- Create a new Enum subclass that replaces a collection of global constants -- -- new enumerations should be created as `EnumName([mixin_type, ...] [data_type,] enum_type)` -- Generic enumeration. -- Derive from this class to define new enumerations. -- Returns format using actual value type unless __str__ has been overridden. -- -- Returns member (possibly creating it) if one can be found for value. -- -- Returns True if self has at least the same flags set as other. -- -- mac_latin2.py -- mac_romanian.py -- cp863.py -- __init__.py -- ansi_x3_4_1968 -- ansi_x3.4_1968 -- ansi_x3.4_1986 -- c
... (truncated - too long)
Full output: too long to upload
this is your chance. ESCAPE /s
hey guys my dad just gave me "green tea", but it isn't a shade of green
what color is it supposed to be?
Sorta like that, but maybe a little bit more yellow
the tea leaves themselves are green, but not always. the tea itself it generally not green
oh
alr then
i thought this was just dark roast coffee or smth smh
smth != smhbtw
It's generally green vs black tea. Where green tea is you pick the leaves + flower buds before oxidation. black tea is generally after some oxidation
okay
green tea itself can be yellow/pale orange. might be more... tea drink colour if left for long (but green teas shouldn't be steeped too long). only some types of green tea get you actually green drink
https://www.sazentea.com/content/images/15/2.Pic-02.jpg
Chinese green teas don't produce real green, but here are only Japanese green teas, that's why there are some green drinks :3
.bm
I'm trying to find some colour comparison of other green teas
https://www.letsdrinktea.com/types-of-tea/green-tea/ there are no photos but in each article about tea type there's how to brew it video, where colour is visible near the end
i have created coliflower tortilla
have you tried gyokuro? it's a bit spendy but deliiiiiiicious
Yo what the name
only green tea ive ever had is starbucks :\
D:
i had green tea around five-six years ago
D:
is it good for humans?
is it good for non-humans?
im cat i like
lol, i mean green tea has some good things going for it sure
but in the end, it's tea
not a panacea for anything
i see
eh im not a huge fan of tea generally
like tea is tea
i like to drink milk tho
choccy milk 🥵
well it keeps the carbs away for me so it got that going for it lol
i know a bunch of health gurus will say it's amazing and cite studies, but i think you'd have to drink a lot of it to make any difference
oh in terms of cravings?
you would like chai
cha cha chai
in terms of fun drink im not having coke so i count the opposite of a coke every time i have a cup, basically panacea at that point
is it real smooth?
lol
💯 😩
sure? it typically has milk and since you said you like milk
do you have indian or pakistani friends?
ask their moms to make you chai lol
Just add tea leaves
just get that tata tea
In milk
milk is disgusting
And sugar
u have chai
Ye
on its own yes
idk why i just hate milk on its own
even chocolate milk
makes me feel like puking

banned
no dont add sugar to milk wtf milk is already sugar
oh yes i do. theyre me
lol
lol
milk is fat
no
what kind of milk u having
ikr
the kind with lactose
milk is not just fat lol. it has some fat, protein, and lactose (sugar)
tbh I was wondering once you said "doubt"
LOL
Make sure they don't give you liquid sugar labelled milk
ikr
only Indians ever say doubt in such context, idk why that is
they also say "shifted"
like nobody here really says "I have a doubt"
but we might say "I have my doubts"
anyway dont put sugar on milk thats just insanity
i mean most people put sugar in everything lol
why exclude milk
i like not giving myself metabolic syndrome, sugar sucks
i mean, i agree lol
our next health crisis is already here with metabolic syndrome and diabetes
yes im already in enough healthcare issues as is no need to make them any worse
sugar causes diabetes?
yeah
how
hyperinsulinemia will lead to diabetes
constant intake of sugar, hyperinsulinemia
it will take some years
hmm
you feel fine until it hits you like a truck :D
and then ur miserable 20 years and die horribly
you can also have normal blood sugar levels but that's bc your pancreas is already working overtime. you can have a very normal HbA1c but still be on your way to diabetes
if you ever get the shakes a few hours after a meal or snack, that could be a sign
Prediabetic here...
get your checkups, get your lipids and especially triglycerides tested, liver enzymes, fasting blood glucose and fasting insulin
any more than this though feels like medical advice tho so i'll stop
Lol used to put sugar and chocolate in milk as a kid
OH but look up joseph kraft insulin assays
I sometimes can eat sugar by itself lol
yeah i know the feel of sugar addiction im out it helps my country made coke taste horrible \o/
is hyperinsulinemia directly caused due to excess intake of sygar or because of insulin resistance
what do you think leads to the insulin resistance?
obesity?
hyperinsulinemia
obesity does beget more insulin resistance tho
and IR begets obesity
it's a wonderful cycle
really though IR/obesity is your body doing its best with the conditions its given
At least I rarely drink, dont smoke but a sweet dessert usually gets me
deplete the sugars you intake more regularly and most people will be fine
mmm yes the cycle of funny agriculture practices fueled by greed \o/
Not as fat as I used to be thou. But mom is diabetic and brother is perma fat
government subsidy of corn was our doom imo
one more question
have you guys seen what the health
I wanted to know if it's really accurate
dunno all i know is im fueled by tea now mmmm
and cauliflower soon since i figured u can cook it to be kinda bready
how'd your cauliflower tortilla turn out
are you ... blending the cauliflower then draining it?
grated
i can only imagine like, hash brown texture
yeah sorta, i liked this more than hash brown lol
do fruits count
yes fruits have sugar, but shouldn't be a problem if you're metabolically healthy
if u eat a truck load
yes
a relative of mine got diabetes from it
lol!
i mean
not lol
but yes
lol
well they should be fine cuz fiber makes them fill u before u eat too much so dont drink juice cuz that has no fiber :D
usda categorizing juice the same as a whole fruit
I like pulpy juice well enough.
My parents bought a juicer ....it can make both fruit and veggie juice... we used it alot until it eventually broke
grateful
youre a fruit
lmfao
Sound in link page.
tragic
Lol PSA on juicer safety....drink coffee before making your juice dont juice while sleep deprived
I really wish for multi-monitor setups on KSP 2
I've always wanted to see the internal view of the cockpit on my second monitor, along with the instruments
That would be pretty neat
I'm not really into pure teas, tbh. I like ones with additives (herbs, fruit, spices...). But I have a friend who is all about pure teas
Chai masala is tea that you drink with milk and sweetened. Real one is steeped with hot milk infused with spices, but if you have a mix with tea and spices already, you can either just do the tea normally and add warm milk, or you can heat milk with the mix for some time.
sweened?
Add honey. Milk with honey is completely different than with sugar (bleh)
Earl Grey hot for me
Sweetened*
ah
I have like 20 different tea with additives. From one tea shop XD
And I had tea Advent Calendar but I haven't really used it...
its not 😩
honey / agave syrup are a lie
Real honey is not a lie and has awesome taste that is not just sugar
I only buy Twinnings from the supermart typically lol...
Heard of this from an Indian frisnd but havent tried it yet
just get your vitamins and stuff from fibrous veggies everything else adds to the problem
I'd send a photo of either tea or real honey but my Internet is shit
yes
.topic
tomato juice on the airplane, apple juice in general
orange juice is where it's at
there was a time where all I drank was apple juice
I've since grown distaste towards apple and Apple
Yes. A lot of big shops/big producers will have "artificial honey" or honey with additives. Which is basically sugar syrup, instead of honey. I also heard of pseudo-beekeepers feeding bees sugar syrup instead of providing them with flowering plants. Because it's cheaper.
If it doesn't crystallise, it's not honey. If it dissolves evenly in room temp water, it's not honey.
Etc.
The best is to buy locally, directly from beekeepers. They usually know a lot about their honeys and other bee products.
oh shi
damn i might've been consuming fake honey then 😔
yeah all the honey we get in stores is mostly fake
I haven't bought honey in a shop in a long time. There's a lot of honeys with "mix of honeys from EU and outside of EU" small print. Which i heard often means Ukrainian honey because Ukraine is cheaper than Poland.
We don't have fake honey much here because of EU forbidding fakes from using real name. So fake butter will have eg similar adjectives ("buttery", "milky", etc) written on the label resembling real butter labels so people are visually fooled... But they cannot in any place claim to be a butter.
we get our honey from family friends in beekeeping
Honey is fructose mostly I think ... table sugar is sucrose..so it will have different properties
In shops, if honey doesn't have main plant mentioned, it can be fake. In beekeeping it means honey for which it's hard to determine what plant was the main source. So it's easy to fake a mix/general taste. Honeys primarily from one plant vary a lot, they have distinct colours, tastes...
honey is more elaborate than just a composition of various sugars
It's not only about it, it's also about enzymes and pollens
That's what makes honey healthy in general
well, it's still very concentrated sugar, just with more flavour
The concentration of sugars and enzymes makes it not go bad in low moisture.
We actually had honey go bad. It was bad in the honeycomb already, lol (we noticed funky smell and taste just after extracting it) - because the weather was weird and it was too wet. Soooo... we're making mead from it XD
We're changing one fermentation into another. But yeast had even problems starting with such sugary liquid, lol. (1 part honey to 1 part water, idk how that type is called in English, dwójniak (kinda... two-er?) in Polish)
Polish names for mead use basically amount of total liquid per 1 part of liquid. So there's "półtorak" (1/1.5 honey, 1.5==półtora), "dwójniak", "trójniak"...
I see
https://en.m.wikipedia.org/wiki/Mead Varieties part mentioned the names as regional Polish ones, protected by EU XD
Mead (), or fermented honey water, is an alcoholic beverage, sometimes with various fruits, spices, grains, or hops. The alcoholic content ranges from about 3.5% ABV to more than 18%. The defining characteristic of mead is that the majority of the beverage's fermentable sugar is derived from honey. It may be still, carbonated, or naturally spark...
sheesh
it's almost like Google made dart
yeah google uses angular dart for higher performance apparently
over js
although angular dart is still not null safe
and the devs suggest flutter web kekw

yes
Apple keeps the Doctor away or so they say.
Maybe an Apple smartwatch with health monitoring stuff will work better with eating Apples at keeping Doctors away
i dunno about that but my eyes instantly close on flashes
you look at a fixed light somewhere
its extremely hard to get a passport size photo of me since i keep blinking
then when your pupils move to the side it takes split second for the source of light to catch up
nah its just your muscles adjusting to the new light
normal
@warm pasture would you like some cute videos of cute animals?
Can I have some? 🥺
Watching funny baby cats is the hardest try not to laugh challenge. Baby cats are amazing creature because they are the cutest and most funny. It is funny and cute. This is the cutest and best video ever!
Hope you like our funny compilation and don't forget to SUBSCRIBE us and share with your friends!
👉Subscribe for new video: https://www.yout...
i just dont give ppl the benefit of the doubt anymore and assume they throw their cats away after they grow up and have been milked off their kitten cuteness 🙃
oh im sorry meant to say "outside cats" 
milk the cats for cuteness...
some ppl just happen to have baby cats all the time, not sus at all rite
kittens are a pain in the ass
i cant wait until my 6 month old kitty becomes an adult
omg @safe lagoon
i found the cat in your pfp!
you starve miette??
omg a youtube channel https://youtu.be/mixc76SfnaU
ah yes
lol interesting. it's just hangul. does this render for you?: 안녕
no \😔
guess we're installing gnu-free-fonts to see what happens
that did absolutely nothing
well it did do something
the cats now render
Wait the cats didn't show up 👀
Or... wait the images or the ones in peoples nicknames
the ones in peoples nicknames
Omg I fixed it
almost...
now to figure out why the cats eyes are broken
For future me: I installed noto-sans-cjk-fonts
uhh now that cat looks a bit weird but I also installed gdouros-symbola-fonts
is this how it's supposed to look?
yes
yeah it's a face
weird looking face tbh
ㅇㅇ 잘 보여
loll
I understand completely
fyi english only on the server :P
well I only speak python tho
feelssadman
hm
will the mods take action if someone sent a for loop printing same thing, if python were a official lang of the server
hypothetical meta question
because that is spam
hehe
omg cuteeee
you should make your pfp slightly higher quality now :)
and can probably rotate in a new picture everyday lmao
yeah lol, i was stalking this cat for quite a while now and did not know it was the same cat as zn's pfp until today
bruh
hey frens I'm literally getting shit on for trying to touch grass and keeping healthy diet and exercise can i get some suppor or encouragement or something thanks
health good, grass good
I definitely feel worse when I don't get to spend time outside for long periods of time
Also, diet and exercise are great for keeping your body healthy, and keeping a healthy body makes things easier all around
So keep up the good work!
thanks 
who's shitting on you
or whatz
what*
tell them to stop shitting on you
i am but in the meantime im just focusing on myself
like with the way this gives me depression they gonna lose me one way or another ¯\_(ツ)_/¯
this bot banned the same person 10 times over and told itself not to spam
lmao
lol
bruh
dyno 👍
I'm sure someone reading these channels will, so if you ask your question, someone should be able to answer in their own time.
Yeah alright
How to remove non-alphabet characters from the code without it entering print section?
This
This seems to be the sort of thing you're after https://www.unix.com/shell-programming-and-scripting/31202-strip-all-non-alphanumerics.html
So we now have int | float for Union types for type hinting. But is there something for Optional? I can't remember
int | float | None maybe?
Optional[int | float] maybe?
If you're targeting 3.10, int | float | None would be preferred
I think it'd be something like this since isn't typing.Optional the same as Union[..., None]?
That's what I needed. Thanks folks
yea, it is. and pipes are just the same as Union
they all say the same thing
Sure sure
I'm just here to prove Cunningham's Law
!pep 604 if you wanted some light reading

This needs to go as far back as 3.7 but thankfully I've got the __future__ imported
You cunning ham you
Don't forget to import __past__ in your 3.10 projects though!
all those future imports need to import from somewhere
||Shamefully stealing @minor tundra's jokes||
Actually....
You know that's not.... THAT terrible of an idea
As a way to bring back deprecated stuff
is this pointless or what
"You want a feature? Better import it!"
like is it required to import present
inb4 import import
hmmmmm
import can only be used to import importlib folks
Oh yeah? Well ```py
import this
@undone granite here sir
omg thanks
Any C++ people in here willing to help with something really quick?
from * import *
dart null safety best null safety
so true
hello
hello
Imagine having null /s
what model of raspberry pi be better than a 5 dollar DO vpc?
uh
what would happen
if
you accidentally
helped someone
write a malware like script
pty sure that malware won't be too strong. unless you helped some super hacker
if it's here, DM modmail and let them know you didn't know
if it's elsewhere, I have no idea
i didn't notice it until someone pointed it out, they deleted their message but someone already dm'd modmail by then
prolly should've copied it
it looked like some sort of raid/spammer bot
it's most likely for another server

would a super hacker need help from a random discord user?
hi
NEW MEASUREMENT SYSTEM
Franklin D. Roosevelts
Falce – 14300 m²
Feredelă – 12500m²
Funie (rope) 120m
favn – 2.232 m³
Firlot - 19.98 litres
Furlong - 201.168 m
Firkin - 40.8233133 kg
Fortnight - 14 days
FLOPS - Floating point operations per second
@steady thunder Our help channels are strictly meant for python-related questions. Please do not post links to random GitHub repos.
gasp
ugh sms verification is very expensive
how do i make sure users cant create spam accounts without breaking the bank
K
anyone here wishes to share their experience with Huginn, n8n, beehive or any similar product?
.help
Wolfram
.wolfram <query>
Requests all answers on a single image, sends an image of all related pods.
WonderTwins
.formof
Command to send a Wonder Twins inspired phrase to the user invoking the command.
XKCD
.xkcd <comic>
Getting an xkcd comic's information along with the image.
.mosaic
nice
.wolfram 2^512
Holy
.wolfram 2^2^2^2^2^2^2^2^2^2^2^2^2^2^2^2^2^2^2^2^2^2^2^2^2^2^2^2^2^2^2^2^2^2^2^2^2^2^100
Taking a while
Understandable
Thank God the bot survived
#bot-commands please
K
How childish. "K"
@zealous comet https://www.redox-os.org/ is an OS written in Rust
(pinging you here since it's off topic for pygen)
someone already answered that in #python-discussion
move the chat here
i miss the ot names being elements
it was help channels, not ot
and people actually went to help-selenium for selenium help, lol
food is easier to remember and each channel also has an emoji associated with it
how would you guys store long texts? string ? im thinking long as a in like a short story..
what would be ideal?
...in python?
yeah 🙂
sure, why not a string? or do you mean big enough to be annoying to store in memory? store it as a file then
noo not that big, im writing a story and using python because its super easy for me to change names etc.
so i was just curious
Strings is fine then
Store every individual character as the int equivalent and use chr to convert every single character individually
That's just how Python strings work 🥴
i come from C so yes haha, thats basically what i would have done ;D
python strings are already unicode
they store the number of each codepoint
finna blame torvalds for my shitty subclassing
@clear plume this is all your fault
:)
don't give me that smirk
I'm glad to know that other people also see me as the main character
I felt like it
wtf
D:
:3
nice ot name
yo
someone made a program that lets u authenticate with windows hello in wsl
so if u did sudo something
windows hello would pop up
look for ur face
and authenticate
that is cool as shit
ayy it works
this is way better than using password
niec
https://www.redhat.com/sysadmin/pluggable-authentication-modules-pam
article on how it does this
'tis cool
ah what an image
well are you? i just chopped u today and it was spicy after i ate you with some food. who is the main character now?
uncomfy ftw
use fedora. it is basically redhat enterprise for community
dunno really never tried.
your dad works in redhat? or just uses redhat because company uses redhat
pretty sure he mean "youre probably going to use your computer as desktop so you dont benefit on those features"
i prefer opensuse tbh.
@latent scaffold 🤔
youre offline for like a while
what happened to centos
i mean
isnt that
just red hat too
except more stable
it became centos stream. not sure if that means it died but people are pulling the plug
theyre now either using alma or rocky
hmmm now connect with me too
bro that was awesome cinematics 💯
i thought osial got revied
comes out it was her wife lol
what the fuck was she doing after all this time
waiting for jade chamber to get constructed before the vengeance , or was that a game of the adepti 🤔
how many git meme names are there
bit of a snowy day, eh?
just a bit
wish it snowed where i live
A tsunami advisory is in effect for the all coastal areas of the Bay Area as well as the entire West Coast. Evacuation orders are in place in the Berkeley Marina and officials in Santa Cruz County and other coastal areas are patrolling the area. Vianey Arana has details on what to expect throughout the day.
Updates on Bay Area conditions here: ...
2012 was 10 years ago wtf
does anyone here have experience with docker
why tf do my containers keep getting term signals
you can ask docker-related questions in #tools-and-devops
thanks
also does anyone know any platforms where i can ask stuff about docker
i've had this issue for many months and i still haven't found the answer
That storm is heading towards me too I think
The storm you all got
looks very nice though
and powdery
shit to drive in tho
Really? Did they not salt the roads
Ah it's really cold so it probably stuck to everything ever
😬
snow is nice till you have to do something that requires a commute haha
I'm a delivery driver
I left after 3 deliveries
one person ran into a ditch, tore their rear quarter panel off, and just kept going right in front of me
didn't even slow down
then they spun out in front of me, and I had to slide around them
Oh god
I'm surprised tbh, I thought since it was powdery snow it'd be easier to drive through but it's still dangerous nonetheless
during our last snowstorm someone was doing donuts around the Cul de sac
Does this work?
from importlib import import_module
importlib = import_module('importlib')
discord = importlib.import_module('discord')
webbrowser = importlib.import_module('webbrowser')
print(discord)
webbrowser.open('https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=&cad=rja&uact=8&ved=2ahUKEwjUrOHtp7X1AhW8jIkEHRNLDM8QwqsBegQIAhAB&url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DdQw4w9WgXcQ&usg=AOvVaw0aHtehaphMhOCAkCydRLZU')
i import an import by not importing
.bm
Metaballs are satisfying
potato
is that desmos
yeah
mathaballs
can we see the equations/code
It's a mess, but here: https://www.desmos.com/calculator/moeh2gccs4
Woa
Metaballs are essentially isolines on a field map
nicee
love desmos
By changing the field you draw the lines on, you can change the shape of the balls
nice!
yes
looks like an inside of a fidget spinner
the only time i used desmos which had more than 1 line of formulas was to graph out my ants sensors
use it more
ant sensors? Was this for ant colony optimisation or smth?
ant colony simulation
python?
just raw equations
oh alr
You can see them if you click the link
yes
@radiant patioplease don't send chain mail
ok
DESMOS YES
How does this sound? (Just one of the 78 remixes in my playlist)
I made a "multi-cheat" for CSGO purely in python just cause...
I do not condone cheating and this is a personal project meant for just myself to use offline as a fun practice project.
WorldToScreen math is not fun :(
(I didn't see any rules about game cheats as long as I am not advertising/selling/distributing, which I am not. Hope this doesn't cause anyone any strife.)
I searched up "what are c++ obsessed nerds are called", and these are my reddit ads now
not using adblock in current year 🤨
😅
First of all, i don't get it, second of all is that you?
cpp nerds despises anything C related
lmaoooo
yuh. that's me on 3 hours of sleep and a shitty diet.
excuses i use to cope with my failures

What's sleep?
🤷♂️
The race of programmers knows no such thing as, shuleep
do u get it
yes
no i thought it was the spiderman logo
lol
lmaooooooo
i thought it was smth to do w/ no way home
nah
it's better than no way home
ive been binge watching hxh since last week, can't stop myself
I dropped hxh at the bug land arc
in a negative comparison
i havent reached it
no spoilers
D:
ye, I just burnt out from too much too fast
yeah i might take it slower now, dont wanna get burnt out
yes anime
At least it's not like One Piece, I have dropped that show like 80 times
a big middle finger to say, "fuck you" to the people who get banned by it
my diehard anime friend hates that
recommends me never to watch it
It's a good show, but each arc is no joke 100+ episodes
mf is fighting the same guy for like 8 hours
It's good but very slow pacing
wait nvm family guy or Simpsons doesnt even have that many episodes


