#ot1-perplexing-regexing
1 messages · Page 538 of 1
Oh lmao
a smol festival
16 gig ram, prebuilt hdd and core, and a Nvidia gtx 750
On a Dell inspiron 3670
damn a 750
Cool
I got 200 rupees last year
I have a prebuilt aswell
Cool :D
damn
750 is old af
does the 750 perform well now?
I got it from my dads part box
I think I'll raise enough money to buy a mouse
I have 16gb ram, 256gb ssd, 1tg hdd, and a gtx 1660 super 6gb
Mouses (or mice?) are nice
singular*
Fallout 4 1080p and med setring at 42 fps,
HL2 at max settings 180 fps
Alright, mouse are nice
I'm a native english speaker and I'm barely literate
Lol
Lol
ditch english
Cool
My rickroll detector
I'm making a programming language :D
Oh wow
madlad 💯
It cant do much except basic printing and addition/subtraction though
Yooooo
This is my last finished project https://aboominister25.github.io/arc/
Async support :D
cool cool.
Oh lol
anyone want a custom logo?
did you just write this whole documentation? 😳
Lmao yeah
Not the theming though
did it take more time to write the docs than to actually make it
hmm.
got it.
new server picture pog
Lol yeah
I love how active you are with your projects. Good job 😄
Thanks :D
@narrow pecan do you do ML
Not really
oh okay
there's #data-science-and-ml
It’s a really interesting subject, though. I like 3b1b’s series about it
He takes a very intuitive and visual approach to explaining the concepts behind it
imma try ML from june
Cool, I'll probably check him out sometime
he has a cool video on cryptocurrencies
indeed
Riverdale
we don't talk about that
it's just garbage CW shows are just pep talks and then they beat the villain
lmfao
that is like the pattern to every episode
Barry tells his team oh I'm not fast enough
Most of those shows got boring after a while
Mhm
And magically, insane speed
oh oh oh
don't forget the arcs where he loses his speed
oh no
I wonder what's going to happen? it's not like he's going to get his speed back right?
Mhm
I don't care about Harrison Wells
I don't care about the 5 billion versions of him
Reverse Flash was the best villain
Reminder: #ot1-perplexing-regexing message
Yeah it was
that first season
was amazing
at least Arrow directors knew that people really didn't care anymore
so they killed Oliver off in the Crisis what not
ok so now kill Barry please
I didnt watch crisis lol, I stopped watching CW shows after a while
I didn't watch Crisis either
all I saw was the ending
they tried to make it like Infinity War and Endgame
and all dramatic and that shit
but literally nothing happened
please just discontinue the entire CW
scrap the entire network
it was fun for a while but no one cares anymore
is this accurate
oh god, that hurts my head
ahah
👀
@rancid yacht please don't put lots of flashing colors in the server. We don't know which of our 160k+ members might have epilepsy.
I have epilepsy lmfao
Should the video above also be removed? if they click on it without warning surely this correlates to the point you're making??
You need a certain type of epilepsy to be affected by those flashing images, the term 'epilepsy' is too vague and broad, it is usually photosensitive epileptics that are affected by flashing images
Gotta love the banner+icon, even tho I'm not a fan of the festival
since a lot of people liked it
here are some of rejected designs
banner5 was selected
I loved the idea of 2 and 3
Yeah, those are cool too
they all look really good
you have a great talent
nah man it was just photoshop stuff
nothing talent thingy
lemon liked it so yeah, it was a good job
it was not my whole design
people helped me choosing the colors and giving their opinion
Hey
hey guys, I'm curious about your opinion about Golang vs Rust for web backend..What do you say have better future for rest api developement?
I'm kinda interested in Rust, learned a lot in that but seems to be not so good for career as a rest api developer..
Go is definitely the easier language to write code in
but a lot of people hate go for very valid reasons
such as string handling
Ive been learning rust recently, and its been great so far, but yeah, Go is syntactically easier
me too
i like rust
really, the issue with rust is that a lot of its complexity can just be done with GC instead, which ends up much easier
but ppl mostly use it to replace c++ tasks..
and web frameworks like Rocket.rs seem pretty promising
very nice syntax
readable etc
and safe
then why on the earth 'd someone use anything else? I know, developement speed.. but eh
Support is one reason
Rust is still a fairly new language
So other langs with more resources and widespread support seem more appealing
the difference is software failures in a web API don't kill people
in fact, you will always have failures
so not having specifically application be correct isn't all that useful
since it won't safe you from the machine dying for some unrelated reason
why? rust's runtime is safe
oh
you mean that the machine itself goes off
yes
or your host has planned downtime
i got it
and well, more computers are much cheaper than more developers to make up for not being to able to quickly hack around features
but then why did Discord move from Go to Rust? they could have just put another server and vioala
they judged that the move would be cheaper than more servers
and also, go is really not the greatest language
What is so bad about it?
one great example is string handling
there is no string type which actually has unicode characters in it
python has str, rust has String, ...
Go strings are sequences of bytes
ohh
and the convention is to just assume they are utf8 encoded
i see
which is silly
also, a lot of people really hate the error handling, though I personally don't really mind
also, for the longest time, no generics
inspite of having this "bad habbit", go is still faster than node,java,c# as some benchmark shows
yeah, Rust does it really awesome, .except, match, ?, etc
yeah, rust error handling is quite nice
still like cl conditions more, but Rust has good reasons for switching off them early on
I heard Go had a very inefficient regex engine for years (still does?)
that is a fixable problem
but the overall pattern of being this powerful architecture atop with a rich language, but everything past that just being kinda meh
i hope so, because i think it's really nice to write it, and makes me happy when it compiles and i can be sure it's okay 😄
I personally have highest hopes for typescript
sharing code between front and backend is really valuable
https://rocket.rs/
and the fact that it has rocket.rs is awesome. If you don't mind, just take a quick look at the homepage. Like Laravel lol, so nice
Rocket is a web framework for the Rust
programming language that makes it simple to write fast web applications
without sacrificing flexibility or type safety.
and well, its a good language, easy to learn, typesafe, performant enough
i know js/ts quite well
comming from js world
react + ts + node + typeorm
or mongodb instead of typeorm, 🙂
mongoose with types are nice as well
but, thought about making a change..
for a "better" thing
that seems very similar to fastAPI
yeah
btw
everywhere i can hear, python on web is over and it should be over
😄
idk why
maybe bcs of the performance..
that is the main reason
but also, python isn't going anywhere anytime soon
rails is still very much alive
hell, pure PHP is still in full use
and python in overall
not lavarel, just flat our php with php4 templating
it is pretty nice, yeah
personally, I like haskell for web backends, but it has its many many flaws
but then it could be Rust too.. couldn't it?
Rust or Haskell. complex-complex
😄
(never touched haskell before)
Haskell is much nicer than rust
don't have to write every function 3 times so that it works T, &T and &mut T
Yeah..
can't forget Rc vs Arc vs ...
safety is nice
but I like quickly creating functions
sounds like you're really familiar with Rust 😛
I thought about having React+ts, django/flask/fastapi whatever, rust as a knowledge.
these i like the most
honestly, the main annoyance with rust for me wasn't even the lacking polymorphism, I just put Copy on my structs, but the incredibly long project setup time since cargo has to compile everything from scratch everytime you start a project
you can't even use your PC while this is happening since your CPU goes to 100
that's a well known disadv. ye
Julia and Odin also ran into this very quickly
Odin just stopped using LLVM
Julia is doing its best to make it not terrible
i don't know them
Julia replaces python for data science
Odin is a low level lang
Haskell has a similar issue, but you can reuse already built things
still requires compilation at least once
so not as good as python
where you compile 0 times per project setup thanks to wheel
is Julia nicer with plotting/dataframes/datetimes/stuff like that?
yes
but why do they doN't care about python's performance enough?
i think they could improve it
or?
python is as fast as it can be
hmm, should probably check it out. I didn't enjoy my today's foray into dataframes of dates 😅
there is pypy for longer running tasks
but keep in mind that CPython is also used for scripting
where it decimates pypy due to faster startup times
high flexibility and metaprogramability come at a performance cost
Yes.
that's why i like python
iam not so good at math, don't even have cs degree.. just like coding and creating things this way.
but i kinda know how things work already
more or lass
less*
but also, it means you can't get stuck in a case where you realize you need to move data into a place where it wasn't meant to be and have to refractor the entire application
Rust has it's panics for that
yes, exactly..
let mut ohNoINeedTheDatabase20PureCallsDeep: Option<DBConnection> = Nothing();
yeah what's that? 😄
you can share data globally in rust if you lie to the compiler and panic enough
which is great for quickly hacking a feature together
wow, no clue how to do that tbh 😄 am not a rust expert by any means.. just learning that
i'm now at traits 😄
Yeah
really enjoy them
so what would you say, will rust be in 2-3yrs a relevant choice in api devment?
yeah, probably
maybe not for quick and dirty things, but if you need to speed something up for whatever reason, I do think rust will be what people will reach for
In Julia % is the remainder operator, whereas in Python it is the modulus.
lulwut
what's that supposed to mean 😅
the difference is for negative numbers
julia> -5%2
-1
oh, that's annoying. Different identity
wait, how the hell am I supposed to type this lol
\div tab
do I even have the division symbol
or just div
lol, this works, but shows as ? to me
that'll probably go away once I start using an IDE and not the REPL Julia comes with
Julia allows arbitary Unicode variable names? Oh dear
hi
hi
anyone have anything better for making email headers easy to look at: https://packagecontrol.io/packages/Email Header
damn sebastiaan reacted to this
he was the first to add the 
hmm why tho
you cant
i k
nooooooooooo
it should be pinned tbh
what does ur nick in this server mean
👀
.topic
Nowhere
that looks worse yk
Ruby (?)
thats ruby? 
that's julia
gotta say, prefer elm for this
why does it need a special for loop macro
[ h1
[ "Bill Gates' top "
++ (String.fromInt <| length books)
++ "recommended books"
|> text
]
, ul
[]
<|
map (\book -> li [ text book.title ++ " by " ++ book.author ] []) books
]
you can escape html
to be fair, elm is much older than julia
@gaunt bluff Trying to learn NodeJS without JS knowledge is a very bad idea.
Node is just a backend version of JS.
@wraith hound i already have a good grasp of python (intermediate) so i can imagine JS will not be too bad
but do you recommend any course
have like 2-3 weeks until i start my internship
I know, but don't learn Node without JS.
and they waned me to learn some nodeJS but now i gotta learn some JS basics
JS is easy to learn, but don't jump into a Lamborghini (Node) without knowing how to drive.
haha i love that analogy. i see what you're saying here
are you familiar with JS?
or have done JS in the past?
want to see how much JS would i need to know to start dabbling with nodeJS
(or rather how much i can get away with lol)
Yeah, I use JS.
It's a rather simple language.
It should only take you a week or two to learn the basics.
And Node isn't that hard either.
This teaches you most of what you need to know (you don't have to do the whole thing) but it's not a video, it's an interactive course.
https://www.codecademy.com/learn/introduction-to-javascript
https://github.com/Shivansh-007/piston-cli/pull/37 Hey guys could someone test this out if you are a arch user?
yeeeee
what do i do
yay -S piston-cli?
git or bin?
answer please 😔
Go to https://www.expressvpn.com/hitopfilms and find out how you can get 3 months free.
It’s so weird that I, Ol’ HiTop Films, haven’t talked about The Dark Knight Trilogy, haven’t talked about Batman Begins, haven’t even talked about Christopher Nolan. I made Batman Does NOT Kill, I’m like, one of the go to idiots for Batman videos, so I figur...
idk why I find these video essays so interesting
oki
Ok ping me when you do
k
failed to retrieve packages :(
the python packages
@zenith quail By the way, I had different performance between my jupyter and my optimization venv - the numba function was 4-5 times slower in Jupyter. It turns out this is because of different numba versions - I updated the Jupyter's numba to 0.53.0 (latest for my Python, the same as in the venv) and they match now. So numba version matters a lot.
500 prefixes of length 10 and a million strings of length 50.02 take around 9 seconds for the numba function to crunch through:
A = ["".join(random.choices(string.ascii_letters, k=10)) for i in range(500)]
# noinspection PyTypeChecker
B = [pref + "".join(random.choices(string.ascii_letters, k=50)) for pref in A] * 5
B.extend("".join(random.choices(string.ascii_letters, k=50)) for i in range(1000000))
print("Lengths of A and B:", len(A), len(B))
print(f"Average prefix length:{sum(len(p) for p in A) / len(A)}"
f", average string length: {sum(len(s) for s in B) / len(B)}")
random.shuffle(B)
res, t = time_call(filter_prefixes_numba, A, B)
print(t)
Lengths of A and B: 500 1002500
Average prefix length:10.0, average string length: 50.02493765586035
<bunch of numba warnings about reflected lists omitted>
9.079387363999999
Just finished running on my side with my real data, and it worked perfectly! 🙂 Took much less time than I expected. My work computer ain't the beastiest either. Thanks again, much appreciated and great to know about numba 😛
does anyone know some electricity theory in physics??
Whats up?
hey thanks^^ so I'm learning about point charges and electric force, and I was wondering why a material that is easily polarised has a high permittivity?? Shouldn't it be the opposite? @rough sapphire
the more permittivity, the more displacement from the same electric field, and the more energy stored per unit of volume if you make a capacitor out of it
.topic
Suggest more topics here!
@zenith quail Okay, purely for my own curiosity, I did find a trie library: https://github.com/pytries/marisa-trie. This library is horrible in having zero docs, only docstrings on methods, and it's also not compatible with numba. And yet when I used it...
def filter_prefixes_trie(_prefixes: List[str], strs: List[str]) -> List[str]:
prefixes = Trie(_prefixes)
results = []
for s in strs:
for _ in prefixes.iter_prefixes(s):
results.append(s) # only need one
break
return results
I got a 10x speedup compared to the numba version. Instead of 9 seconds on 1 million strings, this takes 0.89 seconds.
...yeeeah. using a proper algorithm sure is amazing.
hilariously, the library lists the prefixes function as being implemented inefficiently
which, like
it certainly still is 10x faster than startswith even for as little as 500 prefixes, lol
Yeah that's fast indeed. Wish the few programming classes I had in my program did a better job teaching us O optimization and stuff.
I wonder if regex internally implemets a trie
You know
I'd never once wondered about how regex works internally
Now that I think of it
How on earth does regex work?
Like
Across different languages
Pretty sure itd be more complicated than a for loop over the string
something something finite automata?
the most naive way is essentially a giant decision tree
enumerate what characters may be next, and see if the character that is next, keep matching
%timeit any(B[1].startswith(a) for a in A)
93.6 µs ± 3.68 µs per loop (mean ± std. dev. of 7 runs, 10000 loops each)
%timeit trie.prefixes(B[1])
829 ns ± 30.7 ns per loop (mean ± std. dev. of 7 runs, 1000000 loops each)
here's how much faster the trie is, lol
a single startswith call is 200ns, the entire trie check is 800 ns
this is function call speeds
Didnt notice the ns vs us first lol
try
re.match('^(?:'+'|'.join(A)+')', B[1])
for a library with no docs, these are some nice bindings
huh, weird
weird
why does compiling the regexp make it slower
%timeit re.match('^(?:'+'|'.join(A)+')', B[1])
26.9 µs ± 3.45 µs per loop (mean ± std. dev. of 7 runs, 10000 loops each)
reg = re.compile('^(?:'+'|'.join(A)+')')
%timeit re.match(reg,B[1])
51.1 µs ± 6.95 µs per loop (mean ± std. dev. of 7 runs, 10000 loops each)
this is 4 times faster than startswith, but pretty slow still
guess no tries for regex
I suspect it doesn't perform literal optimizations like some regexp engines can
hmm, maybe I should also try regex
do you need a specific prefix, or just whether a prefix exists
just whether it exists
import regex
%timeit regex.match('^(?:'+'|'.join(A)+')', B[1])
46.5 µs ± 2.04 µs per loop (mean ± std. dev. of 7 runs, 10000 loops each)
reg = regex.compile('^(?:'+'|'.join(A)+')')
%timeit regex.match(reg,B[1])
46 µs ± 5.25 µs per loop (mean ± std. dev. of 7 runs, 10000 loops each)
regex is slower, but doesn't have the weird performance loss from compilation
how about
def is_prefix(prefixes, string):
p = set(prefixes)
s = ''
for c in string:
if s in p: return True
s += c
return False
``` (numba will make this slower, since it doesn't optimize +=)
well, it certainly won't be faster than the trie, considering 800ns is literally 4-5 function calls or so
lemme see
12.6 µs ± 3.71 µs per loop (mean ± std. dev. of 7 runs, 100000 loops each)
that's quite nice
that is really good
(and that's after I took the creation of the set outside the function, it's unrealistic to do it for each element)
How can I look forward in an iterator in rust without actually moving forward in the iteration
nvm got it
itertools.peekable, I love it a lot
Would .nth not work?
Returns the nth element of the iterator.
Like most indexing operations, the count starts from zero, so nth(0) returns the first value, nth(1) the second, and so on.
Note that all preceding elements, as well as the returned element, will be consumed from the iterator. That means that the preceding elements will be discarded, and also that calling nth(0) multiple times on the same iterator will return different elements.
nth() will return None if n is greater than or equal to the length of the iterator.
that's just for skipping a few, no.
understandable
Also, say I have a vec with the below values 1, 2, 3, 4, 5, 6 And I want to insert 7 to the vec, how can I found out at what index it will be at? In this case, it can't be the last index, because there could be 8, 9, 10 pushed on the vec, with no 7.
it does
Alright, I want to insert it into the vec
Actually, I worded this wrong
Alright, say my vec has all the numbers up till 6, and I want to add 7 to my vec, how can I know what index the seven will be at, before pushing it onto the vec
I want to keep track of its index before its pushed
...the index the element will be put at when you push it is going to be vec.length(), always, because it's the current end
Yeah, but say I have 8 on the vec, and I want to insert 7 before it
BUT, before I insert it, I want to know what index it will be at
And after I have the index, I want to insert it
...at the index you pass to insert?
yes
are you perhaps trying to find the index to insert an element at to maintain sorted order?
Uh, yeah
ah, that can be found quickly via binary search, and I bet there's a method for it.
I can give you context if you want
API documentation for the Rust Vec struct in crate std.
f the value is found then Result::Ok is returned, containing the index of the matching element. If there are multiple matches, then any one of the matches could be returned. If the value is not found then Result::Err is returned, containing the index where a matching element could be inserted while maintaining sorted order.
How to create something like this ```
.................║▒
.................║▒▒
.................║░▒║
.................║░▒║
.................║░▒║
.................║░▒║
.................║░▒║
.................║░▒║
.................║░▒║
.................║░▒║
.................║░▒║
.................║░▒║
.................║░▒║
.................║░▒║
...............▓▓▓▓▓▓
................ ]█▓[.....
. . . . . . ....]█▓[......
Oh, cool
I'll check that out, thanks :D
Hm
But thats after the value is inserted
I want to know where it'll be inserted before its inserted
It returns where you should insert to maintain sorted order
Its for my stack in my programming language, my language is divided into four parts, the lexer, parser, compiler, and VM. In my compiler, I generate opcodes from my AST. My opcodes look like this ```
(LOAD_VALUE, 0)
huh
OH yeah I didn't read enough of it lmfao
hold on
my stack doesn't have a particular order
I just push and pop things as I go
wait i think .length might work
shit
Anyone know how somone searches for the latest papers with relevance + latest ones?
I usually don't realize when a previous method is antiquated
then what do you mean by "where should it be inserted"? 😅
...to vec[vec.length()]?
I overthought it lmfao
I think i got it
let index = self
.stack
.inner_stack
.iter()
.position(|x| x == self.constant_table.last().unwrap())
.unwrap();
this makes me anxious about whether self.constant_table.last().unwrap() will be calculated once or for every iter
I hope it's once
but I don't know why would it be
Rust, more like unwrap bonanza
how dare you use Rust, don't you care about the environment
discarding all these wraps like that...
i use plasticity
Yes, Python 2 is far past EoL.
lol
APPARENTLY ITS NOT
NICE
surely
help me.
screenshot?
Buncha print statements
@dusky mulch but anyway yeah, given their price if they can run linux it sounds like a solid option to me
yeah
but still u cant uninstall chromes os from chromebook
u can use linux inside chromeOS like using linux inside windows
Oh as in a virtual machine?
you can unlock full linux from chromeOS iirc
Hopefully, that would be far more ideal
yeah so its actually great to buy a chromebook
instead of a normal lappy
My day to day personal laptop is a Chromebook. I'm a fan. My biggest complaint with them is the very limited storage. Make sure you buy one with an SD card slot or something. Beyond that, great little machines
What is python 2?
the second version of python
damn
@last mantle 🏓
Sadly, it’s still not completely dead
@mellow spire you can copy my PKGBUILD
just include the pip package and AUR should handle it
link?
we are using github releases instead
idt that is a error with the script
it is a problem with the rich package afaik
Ayo
@mellow spire the package is broken
first of all, piston-cli-bin should install the binary
but it starts building it
even after building it, it does not add the package to the bin folder
so you cant use the binary
basically does not really install it
and so if you want to uninstall, you cant
and you have got unecessary files in the yay cache folder
gurkeeep's problem is a mirror one, nothing related to the package
lol
Can you tell how to fix it?
Or maybe comment the fix on the or
PR
deep
jjjjjjjjjjjjjjjjjjjjjjjj
yes, jjjjjj
simple question that isnt worthy of help channel - is poetry worth it to use instead of setup.py ?
poetry makes life super easy
publishing your package is literally just one command
poetry publish --build
how do you use a setup.py file
just python setup.py or some other unique features?
It is ran by pip on install
You usually just use twine to package it and you are good to go
Hmmmm maybe it is also run during packaging
yeah if you are using twine, you gotta build first, which runs the setup.py file and stores the dist and build folder + egg file in your current directory
then you can upload the dist folder with twine on pypi
@rugged echo mind sending that iconic photo which has a beautiful frame?

bruh
lol
no
is python 2 ded yet
more or less yes
why 🖌️
because it is worse than python 3
Does anyone know how to get the formatting right, I want to paste this in Adobe Reader
but it only show it like this
Is it possible?
latex?
Adobe pdf reader Pro version
The first image is from some forum
in general you use latex for making pdfs with mathsy formatting
it's a markup(down?) language kinda thing
They way I'm submitting assignments so far is to edit the pdf we got with a text field
markup
markdown is a specific markup that is used by e.g. reddit, github, discord...
Hmm
Uc = Uo*e^(-t/(R*C)) should be easily understandable by the teacher. ^ is used to denote "up", so superscript - any powers etc. (it's also like that in latex)
while _ is used for subscript but here "Uc" and "Uo" should be clear anyway
Huh
what is going on

Self bot?
he said the same thing in #python-discussion
Thanks I will do it like that
yeah I got no clue what's going on
The free (as speech) PDF tool, Okular, supports this functionality by putting latex formula directly between $$...$$.
There are a few solutions on stackoverflow like:
but I just want to get it done quick without downloading that
it probably is a self bot
Anyway
remember the person who used to send twitter links
Yeah
used to?
so not anymore?
The issue with # as a prefix is that it's really difficult use, considering that Discord will suggest channel names when you start typing the commands
yeah someone told him to stop
Same with @ i guess
Yeah
well they said that they werent a self bot. but it was sus how they sent it perfectly. once a day always in a specific hour
Bleh
I just thought it was them trying to get clout
Ngl i am not really bothered by selfbots
Like sure
They break tos and all
Idrc
yeah
If you were to guess, why do you think that Discord disallows them?
spam?
you cant really know if it is a person behind the screen is sending the message or not.
there's this army of KFC bots on Nick White's server
Lol
Doesn't spam, mass DMs and all of that bother you?
Kfc bot in pydis when
lemme join that server
also they read the whole chat
it's a well known scam
but Nick can't figure out how to block them based on their messages
lmao i was testing out one of my bots
apparently the bots don't work??
oh nah that ain't gonna work
it would bother me if it was a DM and spam.
Ignore them at best, block at worst 🥴
Dont self bot
not all bots are self bots kiddo.
What
I mean
If a bot sent a message through your acc
I put in my token 
I had that kfc bot in another server, DMing people, he got banned real quick
well what if its a non tos-breaking bot?
self botting still is self botting?
I'm not talking about self bots
no matter what it does
Ok
I'm trying to make a chatbot that uses an AI to respond to other peoples' messages
guys
yes?
leave him alone
def bot(self)?
mods are handling it
thank u zuko
self.bot = bot
besides i wouldnt selfbot on an account i literally spend money on
thats just plain stupid
Lol

Idek my token lol
I have mine in a notepad
Ok
Ok
anyone know where i should go to learn how to set up a git and stuff like that>
Ok
🆗
which os
windows
idk
search on yt
https://google.com this is a good website I found today morning to learn
Search the world's information, including webpages, images, videos and more. Google has many special features to help you find exactly what you're looking for.
ask hahastinky
"how to setup git windows 10"
Mosh's tutorial is ok
Best way to learn it is to use it
okey dokey thanks
corey schafder's tutorial is what I learned from
if you dont have any projects to contribute to theres this really nice open source group..
there's like 5 or 6 commands you'll be using regularly
there is only really a few commands that u will actually commonly use
gitkraken has some good resources
I tried to set git up but failed to connect it to github somehow. SSH connection / toke or something
👀
I just use it for looking at other peoples' code and hopefully finding an error and then fixing it for them
o no its 10 o clock
true
which one? are you gonna say 'python discord' 🤣 ?
I mean
Its not necessary for you to use github for using git
was gonna say gurkult
gurkuly
Oii
gurklang is great
the lord has awoken
g u r k l a n g
did I spell it right? (awaken?)
Awkakwen
ok thanks
Np
.topic
cliche topic
Pydis media 
well all of them are cliched

sebastian doesn't evoke any imagery in my head other than his face

am I making any sense
all lemon and joe emojis are his face

🔴 and 🟠
hmm
.topic
hm.
Rice pancakes with Sambar curry.
Puri with Bhaji (I cant choose between the two :( )
dosa i think
rice pancakes are dosas. idlis are steam cooked
oh
idlis are steamed
whoops
I like this one dosa spot in NY
I've been going there ever since I was little
you live in NY?
yeah
oh so you are american indian?
whatever chutney my mom makes for the rice pancakes, i always ask for podi :D (s a coarse powder mixture of ground dry spices that typically contains dried chilis, urad (bean), chickpea, and sesame seeds.)
you are indian?
mhm
Arent we all
ye its like, pydis is raided by indians
well both my parents are Indian I was born in the US
I am only "American" bc I was born in America
oh ok
Do you like to watch cricket
Not an indian then /s
Lol
i did like to watch cricket when i played it but i dont like it anymore
also i went to the calcutta stadium 3 years ago to watch IPL 
I feel bad for the really talented Indian footballers
like India does not care about footbal
at all
if you're Indian your football career ended before it even started
Hm
unless you're in another country
preferably europe or south america
North America has no talent
Lol
it's a shame
you have to pay
to play for teams
also MLS has no demotion of teams
there are no inferior leagues
so there's no quality control
it's pathetic
Cant have quality control if theres no quality
all the good American players
they all play overseas
they don't play in the MLS
Hmmmmm I wonder why
Lol
and he dominated the league too
Schweinsteiger dominated the league too
with Chicago Fire
David Villa
these european superstars destroy MLS teams
bc the quality of football in Europe is 10x better than MLS
yeah
with Messi and Ronaldo slowly fading
Mbappe and Haaland are taking over
god knows what Neymar is doing
Neymar wasted his own potential so badly that Mbappe is the world's superstar not him
can i run discord bots in docker containers??
and is there any advantage in doing so?
no its impossible to run a bot in docker
100% possible
nah im kidding @royal lake, @median dome, and @polar knoll all run in their own docker container
you get the advantage of easy deployment in anything you want
i see
First time I went to stackoverflow and I already felt like I was gonna be heading there for hours.
lol. so many levels
!pypi verboselogs
!pypi coloredlogs
hmmm
normal levels are enough for me. I just add -v flag to drop logs to stodout and --debug flag to set logging level to debug (by default I log info, but I also made a flag --info in my general argparser)
Your average sunrise in about 5 billion years be like:
yes
There will be no earth tho haha
I never talked about the earth being there though.
There will be no sunrise then
Bad joke time:
If you are what you eat, then don't eat vegetables, or else you will be in a drum noises
Vegetable state.
Bro stop
lmfao
.topic
Personally I don't see how that helps but ok
It helps
I'd say
My first thought seeing the science help channels was "huh, they have dedicated help channels for Python packages"
Yeah they had to remove help-selenium lol
Not only that 😄 Elements also sound like they refer to actual packages, not the element themselves
But it actully nice to have help channels
Yeah
i didnt even know abt selenium when i saw the help channel, so when someone mentioned selenium, i thought they were talking abt the help channel lol
Lol
LOL
Bs4 and selenium were two of the first python libs id discovered for ...reasons
It's for web scraping r?
Yes
i think its against their tos
In case you didn't know
I take it you mean double barreled shotgun
does it need to be double-barrelled? in games shotfun usually has large area it covers (on small distance), so I imagine it's like shrapnels?
"A shotgun shell, shotshell or simply shell is a type of rimmed, cylindrical (straight-walled) cartridges used specifically by shotguns, and is typically loaded with numerous small, pellet-like spherical sub-projectiles called shot"
^Wikipedia
Why are there so many other nerds here :D
its all nerds
lol
uh
lol
@calm dawn
this is what would a among us crewmate say: "wait it's all nerds?"
this is what would a among us impostor say: "always has been"
good to know
Hm 🙂
joe you got this wrong
++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.
``` why is brainf🧠ck a hightlighted language for syntax highlighting...
They really like esolang.
tbf i dont really know but i give that name to my function which does the tokenization before parsing
i think it actually does mean tokenization
lex?
Alright, sure
A lexer basically takes a string input and tokenizes it
Say I have print("hi") as source code, the lexer will take this string and produce the following ```
PRINT
LBRACKET
STRING
RBRACKET
nice
These lexed tokens are usually (or at least in my case) are passed to the parser in order to be parsed into an ast
and is gonna be statically typed and interpreted
I VERY highly suggest reading craftinginterpreters
it's in java :pain:
The second part is in C
The concepts still apply
You can take a look at my source code if you want
i found a lib for it
It's in rust, but the contets will still apply
!pypi sly
Look into the lark library
it's both a parser & lexer
If you want to, maybe try making the parser and lexer yourself
i'll test out stuff
Yeah it is
I highly recommend lark
I used it a while back
@low chasm how did you make the site?
What site?
for ur language
@low chasm bro
2 clones is not ok 
why did you clone in the for loop
scrolling through you have more clones
that could affect performance a lot
Begun the clone wars have
you are cloning a lot of things not just the lexer iterator
i dont understand why 
here you can omit the Expr::String arm all together right
ree clone is everywhere 
you will have to fix those later
Lark is really nice
this is better but then, wumpus is ugly
