#ot1-perplexing-regexing
1 messages ยท Page 593 of 1
And my partner prefers cold coffee, so they get double espresso with ice cubes. And I sometimes use milk foam if we don't have heavy cream
What country? US?
India
Oh, I didn't know you have 21 as well
Uh idr correctly... Could be 18 too
Cold coffee tastes really nice
- I just googled "drinking age by country" XD
Alright cool lol
My partner likes cold but like... Room temp or slightly lower, not iced :D
So I use ice cubes to lower temp only, in the hot coffee from coffee machine
Iced tastes good... As long as the cubes are either big cubes or completely blended into the coffee
yall are rlly tempting me to go grab a quick coffee haha
I hate when they don't blend-grind the coffee well and I have to crunch ice crystals while drinking coffee
I normally don't drink coffee but I make coffee in the house XD I make latte and Irish coffee, and my partner's nibling likes foamed milk (but it's only partially made with steam foamer because it needs to be lower temp) :3
I make coffee only the way I like to drink.. Idk what it's called but it cheers me up so cool asf๐
My partner normally makes a quadruple espresso, throws it into a pitcher and adds cold water to full. That's what they drink all day while working XD
Well not bad... Seems like a real nice thing to do when am on the run
getting quick breakfast/drinks tips on pydis
Green tea = good
bruh
coffee is too effective for me, and tea doesnt do anything
so i consume neither
Green tea has a nice amount of caffeine for me
Enough to boost my concentration for a bit
milk ๐
Never tried matcha, though I want to at some point
black tea is also nice
Green tea superior
I once checked and I have like 20 tea mixes. Not teabags but real tea with fruit/flowers
Green tea is good
Cool
During the pandemic, small cafes and restaurants had it bad (no sit-in gastronomy) so I bought a lot of tea mixes from a small tea place
Best decision ever
One of the few good things about online learning is I can just sip on tea the whole day
tea wt biscuit is yum
is it possible to view videos in vscode?
green tea is like that drink which is scoffed by people in my country
when i tried to open a mp4 file i remember vscode telling me that "there are extensions for .mp4" so i think its possible through extensions
gif's do work if that counts
i couldn't fine one for mp4 
make your own
switch to vim

yes
False
you know windows media player still exists in win10
just search it up
it's a bit hidden but it's there
yes
Does anyone use GitHub and discord iOS?
How do I point discord to open GitHub links in the GitHub app
print('Linux' <=> 'Windows' > 'Mac')
what the fuck
yeah, have you not heard of the less than equal to greater than operatora?
what the fuck
how is this even an operator
lol
lmao amateurs really don't read the docs huh?
new in c++ 20 
thats not in python yet or is it
it is, its just very deep in the docs
it took me like an hour of reading through the damn thing
of course, how could python miss an operator as essential as this
lmao
wtf
wtfwtfwtf
what would it do ๐ค
its in 4.1
sigh
@edgy crest hahastinkypro??
ye
the total comparison operator is a actually quite useful operator
?
bruh what does that even mean
@onyx basin https://www.reddit.com/r/discordapp/comments/p0g6ah/tripped_up_the_spam_filter_simply_by_adding/
7 votes and 3 comments so far on Reddit
I feel like they made the automated scanner more sensitive
it comes in the new version of C++
https://youtu.be/0XS3qU4HoRw
Iย have ascended
Source: https://book.pythontips.com/en/latest/index.html
Author: Muhammad Yasoob Ullah Khalid(https://github.com/yasoob)
โโโโโ โโ
โ About Me โโ
โ โโโโโ
Hello worldo!
I am Cyan, a wanna-be hacker that codes, draws, sings & osu! ใพ(โงโฝโฆ*)o
You can recommend me your favorite song in my discord server.
ๅคงๅฎถๅผ๏ผ่ฟ้ๆฏไฝ ็้ปๅฎข็ซๅจๅฐๅฅณ่ตๅฐ็๏ผ
ๅฐ็ๆฏไธไฝๅๆฌข็ป็ป็ฉๆธธๆๅผนๅไป็ VTuber
ๅธๆๅไธ...
yes
Uh, should have a warning with them flashing lights wtf
@rough sapphirereturns a 3 value enum that is either Less Than, Equal or Grater Than
Interviewing for Mbrlla, a startup that's using AI, blockchain, and big data to disrupt the industry. Mbrlla is like Uber but for umbrellas and it's the next big thing. But they need a rockstar intern to build their MVP to secure funding. So for now, the intern will be paid in equity. Does Nick have what it takes?
If you're reading this, commen...
i thought this was funny
sheesh
oh thats like rust, it doesnt have an operator for it but .cmp method i think, which returns Ordering that has the same values like LessThan Equal etc
|| bruh ||
i am worried about the future of humanity
half the comments on nasa videos is that space is fake
how do such people exist?
I don't think they'll survive much longer, as in younger generations seem to be more aware
hopefully...
mayhaps
perhapsn't
how stupid can people be
i think it comes down to teaching
yeah fr
or the lack thereof*
yes
if they don't learn they wil believve whatever they hear
imagine saying space is fake w h a t
tHe EaRtH iS fLaT
once I had read this amazing argument for fat earth
enlighten me
lmao
why isn't earth falling off the bottom tho
checkmate globetards
if water is falling off the bottom the earth should do the same? lol
you're using logic, which does not work on flat earthers
lol
I think I'm glad I've never met a flat-eather
However, one of my teachers did believe that Corona is man-made can magically fly across states
@cerulean basin hey mark
can we set up snekbox on repl it
lol
because my bot is not self hosted 
it is tho
all australians are paid actors
On some random coast
ikr
Idk how these people actually think Australia exists
ye
What's Australia?
fake island
idk man, sounds like fake news, just like this "coronavirus" thing
british's prison? idk
๐ it may break their tos
i was paid a lot of money to say australia is real
it used be help-name of element before like: help-potassium etc before
@stone mist
x)
||fake continent||
@sterile granite @sage ridge to answer your questions from yesterday that i wasn't there to answer:
$ doesn't "consume" anything empty, it just asserts that you're at the end of the string, so you can even write multiple of them in a row within a regex and it's the same as just having one
this also means whether or not you put it in the capturing group is completely irrelevant
the reason that "^ didn't have the same issue" is that you didn't use ^, you used ^ and $ in the same expression, which means that whatever matches the regex must span the whole string
fake world
hola
is there any typehints for email id in python
I don't know. I never tried to do that. I believe repl.it gives access to a shell, so you could try following the normal snekbox setup instructions and see if it works.
alrighty
is it an integer? if so, int
if it's a string, str
or you can use a newtype
email id
so it's something like 23908408509804930210308, i imagined
๐ค
struct EmailId(u64);
๐
no.
newtypes are the way of the future
yeah i use email address and id pretty much interchangeably
ive never heard of email id hmm
it will be handy
too late
noooo
bye hsp
DUDE ik that

so then why are you asking?
lol
ik for string and int
I am asking if there is any for email id

I don't remember "email id" as a primitive type in DSA books ๐
You should learn to ping man
okay @clear acorn
im not a bot kappa
(venv) preocts @ Preocts ~/egggist (main)
โโโถ $ python -m egggist setup.py requirements-dev.in --debug --private
DEBUG:egggist.egggist:Loading config from: '/home/preocts/.egggist_conf'
DEBUG:egggist.egggist:EggGist loaded. User: preocts, Token: cXXB
DEBUG:egggist.egggist:Saving config file to: '/home/preocts/.egggist_conf'
DEBUG:egggist.egggist:Adding file `setup.py`
DEBUG:egggist.egggist:Adding file `requirements-dev.in`
DEBUG:egggist.egggist:Post - Files: 2, public: False
DEBUG:egggist.egggist:Headers, User: preocts, Token ***cXXB
Gist created: https://gist.github.com/131a289c59cde81a5fa922096472885b
It works
Now to get an install script setup.
That moment when a "little side project" is all grown up. 
!e import dontimport
@dire siren :x: Your eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "<string>", line 1, in <module>
003 | ModuleNotFoundError: No module named 'dontimport'
import discord as discord.js
good job 

!pypi discord.js
that youtube link is removed i viewed the source :(
i guess that video is against youtube tos
oh it's another rickroll link that's removed
i started a fork https://github.com/aphkyle/dontimport/tree/patch-1
hope the owner sees it
!pypi import
ah yes
should we make it import
hehehehe
import import
but problem anyway
what problem i see no problem
bruh = "bruh"
import importlib
_import = importlib.import_module('import')
print(_import.bruh)
``` this is `import.py`
output is:
bruh
bruh
idk why there's two bruh
did you have prnt(bruh) in the imported module too?
very normal
it's importing itself. so basically it'll do it twice
yes
yeah
but why
like why import self
but why not
yeah its possible
.love
Your input was invalid: who is a required argument that is missing.
Usage:.love <who> [whom]
.love @royal lake
Python#4329 โค Peter parker#0001 scored 93%!
โ
Your relationship will most likely work out well. Don't hesitate on making contact with each other though, as your relationship might suffer from a lack of time spent together. Talking with each other and spending time together is key.
.love sir lancebot
sir#5823 โค Lancebot scored 27%!
โ
The chance of this relationship working is not very high. You both need to put time and effort into this relationship, if you want it to work out well for both of you. Talk with each other about everything and don't lock yourself up. Spend time together. This will improve the chances of this relationship's survival by a lot.

.love joe#6000
joe#6000 โค aph#8103 scored 21%!
โ
The chance of this relationship working is not very high. You both need to put time and effort into this relationship, if you want it to work out well for both of you. Talk with each other about everything and don't lock yourself up. Spend time together. This will improve the chances of this relationship's survival by a lot.
.love @clear acorn @clear acorn
Peter parker#0001 โค Peter parker#0001 scored 41%!
โ
The chance of this relationship working is not very high, but its not that low either. If you both want this relationship to work, and put time and effort into it, meaning spending time together, talking to each other etc., than nothing shall stand in your way.
Peter parker#0001 โค Peter parker#0001 scored 41%!
โ
The chance of this relationship working is not very high, but its not that low either. If you both want this relationship to work, and put time and effort into it, meaning spending time together, talking to each other etc., than nothing shall stand in your way.
.love e me
Deen3#5385 โค me#6825 scored 41%!
โ
The chance of this relationship working is not very high, but its not that low either. If you both want this relationship to work, and put time and effort into it, meaning spending time together, talking to each other etc., than nothing shall stand in your way.
.love @odd sluice @odd sluice
TheLegendBeacon#2052 โค TheLegendBeacon#2052 scored 31%!
โ
The chance of this relationship working is not very high, but its not that low either. If you both want this relationship to work, and put time and effort into it, meaning spending time together, talking to each other etc., than nothing shall stand in your way.
.love joe lemon
Unauthorized Personnel#0150 โค lemon#3013 scored 43%!
โ
The chance of this relationship working is not very high, but its not that low either. If you both want this relationship to work, and put time and effort into it, meaning spending time together, talking to each other etc., than nothing shall stand in your way.
Chrisjl#2655 โค eivl#1134 scored 21%!
โ
The chance of this relationship working is not very high. You both need to put time and effort into this relationship, if you want it to work out well for both of you. Talk with each other about everything and don't lock yourself up. Spend time together. This will improve the chances of this relationship's survival by a lot.
.love e h
Deen3#5385 โค prodoed#4527 scored 45%!
โ
The chance of this relationship working is not very high, but its not that low either. If you both want this relationship to work, and put time and effort into it, meaning spending time together, talking to each other etc., than nothing shall stand in your way.
.love joe#6000 lemon#0001
joe#6000 โค lemon#0001 scored 96%!
โ
Your relationship will most likely work out perfect. This doesn't mean thought that you don't need to put effort into it. Talk to each other, spend time together, and you two won't have a hard time.
๐ณ
Can you guys take it to the bot channel? Seriously?
They're no strangers to love~
TIL about Quake's Fast Inverse Square Root algorithm exists
.love Python Discord ModMail#6914 Python#4329
python#4004 โค Discord scored 8%!
โ
There might be a chance of this relationship working out somewhat well, but it is not very high. With a lot of time and effort you'll get it to work eventually, however don't count on it. It might fall apart quicker than you'd expect.
This dude has the best power in the whole show (the boys) ๐
nuget c# is yummy
.love Pablo arukovic
GhostObsidian45#9583 โค Arukovic scored 13%!
โ
There might be a chance of this relationship working out somewhat well, but it is not very high. With a lot of time and effort you'll get it to work eventually, however don't count on it. It might fall apart quicker than you'd expect.
.love arukovic
Arukovic โค brad90four#1463 scored 6%!
โ
There might be a chance of this relationship working out somewhat well, but it is not very high. With a lot of time and effort you'll get it to work eventually, however don't count on it. It might fall apart quicker than you'd expect.
Unauthorized Personnel#0150 โค doublevcodes#5496 scored 10%!
โ
There might be a chance of this relationship working out somewhat well, but it is not very high. With a lot of time and effort you'll get it to work eventually, however don't count on it. It might fall apart quicker than you'd expect.
hey people, i was redirected here because i heard u guys are familiar with Julia?
the language?
I know a tad, https://discord.gg/nPPZy4RYbP is the real place to ask though
only 1153 members bigoof
scientists arent on discord a lot
Senior Developer vs Junior ONE
lmfao
XD
i need a good roblox api wrapper
@tame terrace welcome back!!
thank you, @vapid nymph

Is this a meme channel?
ok, sorry ๐ ๐
doubly linked lists starting well
smh github actions are down smh
lemons back, nice!
how are you doing this?
like
what testing framework/plugins
Tabs Vs Spaces ||stolen from r/programmerhumor||
k seriously though you can save a bunch of key presses with tabs
No, you don't. No developer presses space 4 times
Any editor worth it's salt will convert a press of the tab key to spaces
yeah so why not just press tab
When we say tabs in programming we mean the character not the key
Because exactly
Why would you press space 4 times
meh it wouldnt be much of an argument then
since most ides convert it to spaces anyway
ikr its like the dumbest thing to fight over
And that's what the tab vs space memes are about
hsp
dhz
Using tabs is the worst thing ever, they don't display uniformly, they cause weird issues with certain apps, they're really a relic of the past
all my knowledge of the debate is from reddit and this clip:
https://youtu.be/SsoOG6ZeyUI
lol
four time tabs are for paper holes
As long as VS Code converts tabs to spaces I'm fine
I should also make some snippets tbh
tell me what is because if I look for it, it`s over
all others editors
They're basically snippets of code readily available in a few keypresses
like a stunt, the music
What?
Ah, it does use four spaces instead of a tab character
As seen when moving the text cursor, but still gets treated as a whole tab when backspacing
@spare lance@vapid nymphI use https://github.com/mortie/snow
for what huh uh what hi?
@safe lagoon Like this? Changes appear live as you edit
Snow is a header-only unit testing library for C
darn.
Copied the Mega Project List from !.projects
ohh so this is like unittest
ye, just slightly less convenient and you have to bully the preprocessor to have it work
for python, use pytest
ah.... so you have to just tell all the test cases?
like i am trying to see if something i have made would be useful for text <-> python object conversion
of multiple kinds
woah theres a WSYIWYG extension? ๐ ye something like that but MD editors like typora usually neglect the raw markdown and dynamically changes the display as u type
you create a file named test.py or a package with all the tests if you want them in multiple files, then just
from myproject import add
def test_one_plus_one():
assert 1 + 1 == 3
def test_add_function_adds():
left = 5
right = 12
assert add(left, right) == left + right
```pytest will automatically parse the assert and give you comprehensive error in failed tests
Ah, I see
thats cool
that's a similar thing for python
how to host python bot from repl it 24/7
i watched the 1st and the 2nd neural networks vids on 3b1b it's nice 
Looking for a little advice, kinda off topic ig since its related to the reddit.
I'm thinking of posting a project showcase, but I dont quite understand the flairs.
What would y'all define as the difference between beginner showcase and intermediate showcase?
It would really depend on the project. Are you looking for an overall "parameter" definition like if a project has x, y and z then it is intermediate, if not it is beginner?
Not sure tbh, I feel like it might be intermediate? But I also feel kinda self conscious about implying its good, if you get what I mean?
What would you do personally, to classify things
Bare minimum bar: it works -> beginner
Uses functions, classes, imports from other user-created modules -> intermediate / maybe beginner depending on the actual implementations
Ah, thank you.
Makes me more certain of going intermediate then
Just didnt wanna get shot down by a comment section full of wrong flair get lost or whatever
We have lots of peacock butterfly caterpillars @@ i moved tens of them from our driveway, they tickle, I'm too ticklish, lol
No, we only have caterpillars, lol
Aglais io, the European peacock, more commonly known simply as the peacock butterfly, is a colourful butterfly, found in Europe and temperate Asia as far east as Japan. It was formerly classified as the only member of the genus Inachis (the name is derived from Greek mythology, meaning Io, the daughter of Inachus). It should not be confused or ...
I don't like the way its wings are staring at me ๐ณ
I had like 10 on my hand later. I went outside and was like "you bloody idiots, why are you on the driveway again???" and collected them all at once
My mother-in-law took this photo, there were 4 more on the inside on my hand XD
i forget someone has a cute bird in this server, is it you @harsh tundra
Had. It flew away~
:(
are those caterpillars or other worms?
similar
But I have other birds
Caterpillars. You can compare them to the photo in Wikipedia article i linked :)
how many birbs do you have
the closest worms i have seen to this are very spiky worms.. not something i want on my hand
Yes. But they go on the driveway and walls, lol
ah
coool
well yes
green ones are cute
but they didnt seem that big
watch it grow 
I got so many but then I saw another 4 on the wall... Wtf
Grandma has poultry, idk how many right now... This chicken was bought with a nest already and those 4 smol ones are not chickens, lol, they're guineafowls (i had to check English name, so weird :o). We also have 2 fem ducks raising 5 ducklings together, one male duck and one mullard
nice
Oh, BTW, I saw pretty swans (mum and 4 "ugly ducklings") last week on vacation :3
where are the ducklings
these are ducklings?? they look big to me
Do you want old photo or should I go take a new one?
old is gold :)
nice
True when it comes to ducks, lol. Smol ones are yellow but they turn more white when older
what are they eating btw?
Here they're drinking, the food is on the middle right and it was minced boiled eggs and some herb, don't remember the name
Egg is not meat
it's not?
I don't believe so. Maybe some small fish? But mostly plants and grains. Birds have their diets and you can often recognise the diet by looking on their beak
No. Animal produce but not meat. If you don't have a rooster/other male for the species, it will never hatch
Unless you mean almost-hatched eggs that are delicacies in some parts of the world.
hm
https://en.m.wikipedia.org/wiki/Balut_(food) this egg is at the stage that it would be probably considered meat (if some muscles developed already, it would technically contain meat)
Edit: removing preview because photo
We also joked about our duckies being cannibals because, well, some of the boiled eggs we gave them were ducks eggs (we don't know if fertilised or not, the third duck at the time didn't want to sit, so they were fresh)
But it's natural that unhatched eggs get eaten etc, so it's hard to judge them by our definitions ๐คท
I see
lol what's this
Ducklings
birb
That one wants to escape this prison lul

don't those itch
like a lot
They were actually outside already, lol, looking at moms
No, those don't. :3 https://en.m.wikipedia.org/wiki/Aglais_io
Aglais io, the European peacock, more commonly known simply as the peacock butterfly, is a colourful butterfly, found in Europe and temperate Asia as far east as Japan. It was formerly classified as the only member of the genus Inachis (the name is derived from Greek mythology, meaning Io, the daughter of Inachus). It should not be confused or ...
i see
after a few prototypes and trials... i finally made a function type whose instances are called with sqaure brackets instead of parentheses https://github.com/Objectivitix/dunder-magic/blob/main/squarefunction.py
this can track the country u r currently and can show the simcard u r using
pls wait the file is loading
I can't tell if this is sarcasm
don't get me wrong, I have nothing against google in particular but like..... it sounds dumb
You can always call them the Visionary sponsor in this server
To show that they are Visionary in all that they do, and Visionarily sponsor of course

well, Google likes innovations, so "visionary" kinda matches
I like showing this example because I know one of the guys who made it - https://ai.googleblog.com/2017/03/announcing-guetzli-new-open-source-jpeg.html like, Google could just develop their own stuff and earn even more money than they already do, but as you can see, they also do research to better the stuff that already exists, and they even made it opensource
Huh... that looks pretty cool
The developers behind that encoder were visionary
But hmm... the whole company itself, I wouldn't call any big company visionary
well, it doesn't say "Google is a visionary company", just "visionary sponsors like Google"
and helping with Python shows their interest in research/open source development, so the adjective matches
Why cant big companies be visionary?
Lots of innovative tech came out of labs like bell labs, google, ibm, cisco, etc
Is the Zuchongzhi computer being developed by a Chinese company or the government
Regardless, Google has the second best quantum computer and were ahead of other companies
Stevie Nicks is cancelling her tour because she's getting older and doesn't want to get covid. I'm getting older, too.
https://www.python.org/sponsors/application/ - "visionary" is the name for the highest sponsorship tier of the PSF.
Oh lmaooo
I see what they are getting it
that python is the visionary project
hehehe
@carmine niche im scared that 4channel people will see who i am and kill me
what do i do you sound like you'd know
https://pt.wikipedia.org/wiki/Morshu Morshu still has his own wikipedia page
can we please get pydis roles based on this lmao? like owners would be visionary, admins sustainability, etc
i guess contributors would be something like supporting or partner then ๐
lmao, sounds fun

btw
Are those like montly payments or how?
where's the 3 dollar tier?

But their logo isn't on the footer
Supposed to come with 90k, but no one has their logo on the pypi footer
so no 90k sustainability or 150k visionary sponsors?
Google has theirs on the DL page, but noone is on PyPI
sorry for the late ping, thought I was in general and didn't realize it's been 4 hours
when did their logo change?
what is that?
this one has a clear time limit
interesting where each of their logos take you
Google to careers, salesforce to their opensource initiatives
ehhh, dunno. clicking the like takes you to "fb research" with the same logo
whatever that is
OH, I see
Microsoft bailed
Maybe they know something we don't

Time to learn js
https://www.yahoo.com/news/over-1-million-people-obtained-143600313.html I wonder who holds the world record and what it is
I could see someone going weekly to a different pharmacy, getting fake ID's to get more shots
not of the alcoholic variety either
first there's people not getting vaccines, and now they are illegally?
wtf is this world
Is it like illegal illegal? I don't remember what all they asked me when I got my shot
most stuff is boilerplate yes nowadays
we've been trained well
tos, eula, sure thing buddy
When you can't say no, what are you gonna say?
i relate with the otn ๐ค
vscode nightly also looks cool
Firefox best
I mainly use dav edition tho
for the fact that I cannot be bothered to switch browsers again
ill do it whenn im bored
python needs something like rust's rayon
that might be something i can make
maybe
what does rayon do
automatically parallelizes stuff
because no c for rust
O
you can take a virgin for loop into a chad parallel loop with par_iter instead of iter
damn
its amazing
from rayonclone import par_iter
for i in par_iter(iterable):
# CHAD PARALLEL FOR LOOP!!!!
do_stuff(i)
it is like threading?
you can do this in cython kinda like
yeah, it uses threads internally
but we don't need to worry about cringe threads
dont think that'd work in python
does it spawn a thread for each element
:(
that's where dart comes in with isolates #ad
like each iteration gets it own thread?
not each one, spawns threads for chunks of the loop
with multiprocessing it might work ig
i guess openmp does this in c/c++
i dont see why it shouldn't work
from rayon_clone import some_stuff
some_stuff([1,2,3,4]).map(lambda x: x*x)
``` it can do this parallely
hm
im going to learn c++ just to write this thing
i meant that using threading won't work here
not that the concept itself is not feasible
openmp definitely can do this shit
and openmp uses threads
๐ค
im not going to write it python, but in c/c++ where we can do whatever we want with threads
oh ok
py gil dumb
ยฏ_(ใ)_/ยฏ
write in rust
im going to try this, probably its going to turn into shit
i learnt cpp to do just one thing
cant directly integrate with python
rust doesn't have python api :(
ffs
i dont think pyo3 is suited for this too
nope
a rayon clone for python
hm
step 1
i have to learn c++ ๐ฅฒ
thats what im going to do
its good bro
snakelang sucks for threading
im a mere python n00b
whats the need to integrate parallelism when you have threading in py
https://www.learncpp.com/ I tried to learn here
it did not go well
I got to chapter 10
thats too bigg
im not completely clueless in c++ tho
That's C++
all you need is https://github.com/mortennobel/cpp-cheatsheet
why?
all you need, a cheat sheet ๐
yes
Meh, I quit, I prefer Python, no need for C++
rofl
lol
jut go through the cheatsheet and you know c++ 

and whenever i feel like i dont understand this i google
pretty fast process to learn
lol
can't wait for all those segmentation faults that im goiing to cause in the future
lol the multiprocessing module in python provides pretty much a direct equivalent of that
import multiprocessing
with multiprocessing.Pool(4) as pool:
pool.map(lambda x: x * x, [1, 2, 3, 4])
also almost every problem is already asked in stackoverflow
rofl
lol i like how you can change const values in C with careless pointer usage
its not only map, im basically going to rip off all the features of rayon
thats what i was saying , pool executors ftw
what
yeah
hmm, how
how is it a const then?? ๐
its undefined behaviour afaik
cant do that in c++
i liked how rust and maths are similar with creating variables
ask lak for more info/ to correct me if i am wrong
julia
oh i see what you mean
const int a = 42;
int* pt = &a;``` if you try to do *pa = xx it wont work
let
ye
wow in that case lets make js a math lang
it has let too
Let us assume the answer to be option A. Therefore according to our assumption the answer is option A.
``` math be like
nice
let x be the age of son
according to question
x is the age of son
thanks
now tell me how to change value of const with careless pointer useage
might just be C idk
i like ^ instead of ** because no one every uses ^ for xor
or i might be wrong
yes in C
and ** is just big
no one avery
doesnt matter ill try it
xor probably has a different symbol
ye
there
lol
** is cringe
wot ^ isnt this xor
not in julia
i meant sneklang
yes it is
ye
in julia you can do this right? 2x?
yeah
2*x is cringe
same
writing formulas be so quik
also 2(x+y) doesn't error out
gonna switch to julia chan
unlike amny other langs
friendship ended with snake, julia is now my best friend
simp
lol
lol
yes
beat this
i will simp for julia
wait wow
thats very convenient
you can also do cursed things like (+) = (-);
wot
what does that mean
because operators are also functions
you're literally changinge + to - ??
7 + 6 would become 1 after you do that
lisp boi
thats........ cool ig
i will install julia repl and use it as my calculator
it works depending on the context i believe
i am now hsp.jl
instead of python
In [3]: f = lambda x: 5*x**3 + 4*x + 21
In [4]: f(2)
Out[4]: 69
hehe
cringe
julia is pretty fast
wait then , time to override bitwise xor operator
snek lang is trash compared to julia
wow
wow
no
no
no
*in terms of speed
no
no
no
ok
i mean speed bois
sure
snek lang is not trash
It comes with 90k, but the sponsors can choose not to have it anyway. I work for a company that sponsors at the Visionary level, and we choose not to have our name on PyPI download pages to avoid the appearance of endorsing particular packages, for instance.
doesnt matter if julia cant even do the thing python can
rust is faster than both ez claps
thats true too
assembly is faster than rust ez claps
its all abstractions
ye thats what i mean
its AOT compiled 
julia is pretty high level but its super fast
yes rust is significantly faster than rust
ok
i just use julia for its repl - to make symbols heh
depends on the implementation
it's interesting no one wants to be on there, but with the recent malicious packages it makes mroe and more sense
Yeah. The reputational risk of that arguably outweighs the free advertising
There's 7 companies that qualify
It's a terrible argument
but I do hear it
can't imagine anyone who regularly uses the PyPI website will actually associate Google with the random malicious package
this isn't google we're talking about
a very specific audience
You also have the risk of your name showing up in a banner ad on the page for a competitor's package, or something like that
good
when I google brand a the top ad is for brand b
vice versa for brand b
#ot1-perplexing-regexing
may i introduce @sinful mantle 's 240 megabytes' songs
240 megabytes?
nice cool
nvm that breaks rule 5
oreo how good are you at creativity
check ot2 ๐

too poor for spotify? I can think of ways around that


i could actually share the song thats 250 mb because the artist made it available for free on google drive, though i doubt you would be interested
uh no i meant what i made breaks rule 5.. but i would love to hear a 250 mb song
just for the sake of it
this is the artists google drive thats linked below every video: https://drive.google.com/file/d/1Q3nHerQlP3lZt4uA5TN6PODgbDif-4sw/view
lpt: youtube-dl is a budget piracy tool
but what if you're too-poor-for-spotify
!ytdl
Per Python Discord's Rule 5, we are unable to assist with questions related to youtube-dl, pytube, or other YouTube video downloaders as their usage violates YouTube's Terms of Service.
For reference, this usage is covered by the following clauses in YouTube's TOS, as of 2021-03-17:
The following restrictions apply to your use of the Service. You are not allowed to:
1. access, reproduce, download, distribute, transmit, broadcast, display, sell, license, alter, modify or otherwise use any part of the Service or any Content except: (a) as specifically permitted by the Service; (b) with prior written permission from YouTube and, if applicable, the respective rights holders; or (c) as permitted by applicable law;
3. access the Service using any automated means (such as robots, botnets or scrapers) except: (a) in the case of public search engines, in accordance with YouTubeโs robots.txt file; (b) with YouTubeโs prior written permission; or (c) as permitted by applicable law;
9. use the Service to view or listen to Content other than for personal, non-commercial use (for example, you may not publicly screen videos or stream music from the Service)
permitted when logged in to a google account
oh i mean downloading not permitted on my pc
you can change configs to remove free account restrictions on desktop :)
thats, odd? is it because of google drive?
please do not advise people on how to break Terms of Service of other services, as per Rule 5
sorry
nah in general disabled downloading stuff from browser for the year lol
i cant play it on google drive?
oh wait twas signin issue nvm .. was logged with non google account
naw
it violates TOS and we must enforce TOS to a reasonable extent since we are a partnered server
but most scrappers violate tos ๐
and they are forbidden to help with
not like i protest against forbidding the tos breaking discussions
but i like how a large part or internet is based on scrapping.. and isnt tos compliant
are you referring to search engines?
dont know who the artist is... but that is so real goooddddd
i should have shared the youtube right away https://www.youtube.com/watch?v=CzVvOc950GU
Please be sure to color inside the lines.
Free download - get HD .wav file here: http://bit.ly/2tA987f
Spotify: https://sptfy.com/5hade
FL Studio / PrettyScope
A few experimental patches, forcing the o-scope to draw blocks of solid color and gradients...
-------------------------------...
oh wait is that you?
no that is not me, its the artist and song that i have on my music sever as a 250mb wav
I have an audiophile friend who almost exclusively listens to flac files, so every song is at least 100MB ๐
i mean, you can see the difference between flac and mp3
I'm too lame to hear the difference usually :c
there is defintely a difference between tht song on google drive compared to spotify
I can hear quiet stuff (so kinda "good hearing") but I often have problems processing audio stuff (so kinda "bad hearing", I often ask people to repeat what they said), it probably affects my ability to hear the difference
that audiophile friend once showed me and my sib the difference on the same song, but good speaker was needed for me to notice it
how can you download songs? I listen via spotify and youtube but that's not possible when I'm offline ๐ฅฒ
Pay for spotify premium or just download them off youtube and use a player on your phone
"in terms of money we have no money" moment
what about those higher quality flac files?
Sounds a lot more effort than what its worth for me tbh
also I don't think I'll even notice the difference of the quality of the 100+ mb flac files with my cheap headphones
can i extend a module with writing additional things to an original one? if yes, then what things do i need to include to make it good?
You can make new modules/classes that extend current functionality, like a new string class that has .map but you cant patch the current string class without some cpython wizardry
Which is why I've decided to just settle for Opus and AAC
there is a source i use.. but well mods will yeet me cause it absolutely violates rule 5
pirating? nah
or you can work download each song on yt
iirc if you download on yt, you can watch it offline
i havent done it in years tho
that requires yt premium ๐ฅฒ
if you're too poor for spotify, you can just apply to Starbucks and then go MIA.
I was poor for years because I worked for Starbucks, but they at least gave me free spotify.
bruh
bruh
bruh
bruh?
!warn @solid pollen don't participate in spam chains
:incoming_envelope: :ok_hand: applied warning to @solid pollen.
lol
lol
anyway I worked for Starbucks for five years and then went MIA, and then my manager quit, and the new manager of the store I'm assigned to still hasn't terminated me
missing in action
Wait, you are still employed by Starbucks?
every few months they put like three dollars in my checking account and I don't know why.
I was never using the insurance but I haven't qualified for it for a few years anyway.
Sad
Make two columns
aint for me
YO ITS LIKE JS IN PYTHON
It's a very bare wrapper over discord.py
lol
Very sus user name?
its a fairly common indian name
Good to know, not very common where I am from ๐
yeah i can see why it can be weird haha
:swastika:
!rule 9
i finally learnt how to json
what is there to learn
how to json
I imagine my 7 year old can't write a json
tbh I've never bothered to learn the formatting requirements
I just use python to parse
so if I tell my 7 year old just use double quotes she'd be good to go?
exact instructions challenge
to make a peanut butter and jelly sandwich just make it, super easy!
Double quotes and curly braces and let them figure it out
No, write everything in a single string
yes, single string is valid json
well im still considered new to python so i consider it an achievment ykyk
Make sure she knows to not use single quotes
oo
Me: I should sleep
Also me: Let's code more! 
I can now throw whatever dict I want at a dataclass and it won't break. Next step: Nested dataclasses ๐
https://github.com/Preocts/dataclasslearning/blob/main/src/dclearning/singledeep.py#L15-L42
what is a data class ๐
Goal being to be able to create a generic model for an API response and load it from the JSON without worrying about extra fields (and getting warned about missing fields)
ah
These nifty things https://docs.python.org/3/library/dataclasses.html
nice coool
the api's use this usually right? to store the data/give the data
instead of normal dict
This is more for a consumer of an API's response. Whether the norm or my luck on the particular vendor I work with... I have no mapping of their API response in documentation.
I map it the best I can, then something appears that wasn't expected and it breaks
But yes! Dataclasses would be awesome when designing an API backend
but that was bonus energy of the night. I'll tackle nested structures tomorrow. 
ooohh pretty cool
Does anyone know this song from the first 3-4 seconds of the video? https://www.youtube.com/watch?v=2aNCq6BnMy8
The craziest thing weโve ever done with a scammerโฆ and yet he kept playing along!
CLICK the subscribe button and notification bell, so you donโt miss out on any good stuff.
๐ Become a Member ๐ https://bit.ly/3ooTPVZ
๐ Become a Facebook Supporter ๐ https://bit.ly/2I6Yuw6
๐ Support Us on Patreon ๐ https://www.patreon.com/trilogymedia
โค๏ธ Support U...
i want to add superpower to my ide. but that'll make pyshit less shitty.
and that name is not audio related so i'ma think another name
@low chasm Since you like Rust and I was browsing through guilds, here's two Rust based game engines I found
https://amethyst.rs
https://bevyengine.org
I got bored, thought going through that Github communities list, see if anything that might interest me

:P
thanc :)
let me explain
the first two links are documentation of the language
the last link will give you projects to work on to help guide you on the right path, but it will not give you the answers to the problems - that's what the first two links are for
if you want to get feedback you can join the track in mentored mode, but be warned that the mentors for the F# track have, in my experience, not always been prompt in their response times
@carmine niche
@dire siren
gimme some resources for learning rust
thanc :)
damn
the rust book is the most beginner friendly doc i have seen for any language
python should totally steal that idea
python basics are not really hard so i dont think it needs that
hmmm thats true too
i love rust's site it looks so beautiful
ye
probably mozilla has something to do with it
python's documentation site is ugly as shit
mozilla docs and rust docs are real neat
and rust is somehow related to mozilla because i think the person created rust is working for mozilla
*used to
:O
what is topic
didn't read wiki as precise
now they have a separate rust foundation to work on rust full time
awesome docs of rust
sponsored by some companies
i cant relate









