#ot1-perplexing-regexing
1 messages · Page 479 of 1
Well, they are using the API most probably @sour forge
wait github serves all its repos through api too?
Mirrors are just a copy of certain files in another place, and if this place is closer to you, well, you'll download faster @edgy crest
ooOOoH
TIL 2 new things
wait github serves all its repos through api too?
@sour forge It works by reading changed files in the latest push by sending changes to the Git Guardian API to scan and detect for vulnerabilities
OOP is so fun
why everyone's name is ends with or starts with gurkan?
Gürkan is a Turkish name
lel
@rough sapphire It's the Gurkult — an open source cult. It just became a thing ahahh
the only open source cult that I'm part of is the church of emacs
Hahah what?
and like many churches it has some uhhhh....
questionable history regarding children
¬_¬
nice
Warning: taking the Church of Emacs (or any church) too seriously may be hazardous to your health.
👀
wait-
Stallman kind of defended Jeffrey Epstein. really fucking weird thing to see.
but it also caused people to go back in time and read other shit Stallman had said
turns out he'd been that weird / creepy all along
I thought it was common knowledge that RMS was a weirdo
yeah but i thought that was more like "hippy dippy spiritualism but also not trimming toenails and never wearing socks / shoes"
well yea, don't really follow Stallman after he was removed as president of FSF
and after his Epstein statement
he had been shit before
I don't think anyone should have "followed" a guy that proudly claimed to eat his toe fungi 🙃
Forbidden knowledge
I'll just stick to my text editor, compilers and my occasional trip to guix
(referring to GNU)
I like the entity the GNU project represents, idc about RMS himself, other than some jokes (as that one was supposed to be)
I liked the FSF, not RMS as a person himself
We are very many Gurkans
lol
does anyone know where can submmit for JetBrains goodies if I'm organizing a Python event? Or link to page where they explain it? I knew it few months ago but can't find now
oke found nvm
Nothing I hate more than viewing a new github repository and then seeing this
is spending some time writing docs really that boring?
sometimes you can read the docs on the code itself
but if the code has it, then there's usually autogenerated html pages to go along
can't imagine documenting the code, but not generating those pages
unless of course we're talking about comments, but those aren't that helpful
what's the repo
good question
yep
rm -Force .git
no, I can't see your messages 🙃
np👍
Mouse hatred
gross status bar
nah
i like that vim
NeoVim* but yeah
oh
i use vim8
Nah personally I like NeoVim more
More async compatiblity , also brought with more features
so e.g Before vim had a terminal , NeoVim had it
neovim spurred dev in vim
mhm
mhm
Despite that , some still support Vim
i heard vim8 has a lot of the same features neovim does now
They have their own reasons tho , but like WHY?
is there still a difference
Async
i think vim8 has that
NeoVim devs have a better website , so ya know , better for newer users
At least they don't think it's an Old thing
vim is more ubitious
ubiquitous?
yeah, that
just use whatever you like
I want to switch to neovim
I use Nvim , if you want to , use vim
since everybody is
but I clearly don't understand the difference
why do you use nvim though
the devs are more active
because of the site?
Not just that
so by the devs begin more active, do you expect newer features to be released sooner?
i see
I prefer nvim since I can stick it into quite a few other apps
you cannot really embed vim
hm
Yeah , that could be another reason
but honestly, you can use either just fine
neovide is very pretty though
Vim's commands are SOOOO similar to Nvim , just a couple of different ones
https://github.com/Kethku/neovide this neovide?
yeah
So yeah , just move right-away , you won't probably see any problems
neovide is very pretty though
ligatures are
Emojis don't work for me though
I keep getting distracted by the flailing cursor from actual programming
if you setup a regex well and hold n you can draw shapes
draw shapes in neovide?
lmao Neovide's curso tho XD
the cursor animation
Yeahh
neovide is a frontend
it requires nvim, which is why I cited it as an advantage for nvim
I see
spacevim?
but I barely use nvim most of the time vscode
idk somebodys config on github
It's not cool making a super light-weight editor take 2 seconds to load
Just install 3 plugins and run it
Although I have like 13 plugins lmao
I keep raw VIM for that reason
kakoune?
Haven't heard of it . another editor?
yeah, vim style keybinds, but even terser
all these editors ...
Oh
why would you use kakoune
I mean , NeoVim and Vim have been fine for me
What....
but that would require me to stop using emacs, so probably not
fr?EASIER THAN VIM?
doom emacs is better
It's not better than Vim imho
vim script is good
much better than whatever the fuck vimscript ois
it's much less terse as well
Vim script is fine tho
PYTHONK
vim script is almost like python
if I can't look at a line and instantly understand what it does, it is not a good config format.
but the lisp with all the ()
i honestly like things that are easier to read
lisp is easy to read
if I can't look at a line and instantly understand what it does, it is not a good config format.
According to this u should not be using emacs over vim actually
why do they even ()
Vim is MUCH easier to understand at a first glance
yes
LISt Processor
That's what it stands for?
is that supposed to be the reason they used ()
elisp has real names for things, not imap.
what do you mean by real names
I mean that I can use the autocomplete to figure what command does what I want
i like neo tree better than nerd tree
want to bind a key, just type bind and see what autocomplete tells you
hmm
Although I like a config to be more flexible, I'm not gonna use emacs
I'm just a heavily biased Nvim user
Nvim/Vim*
also, images
yea, in emacs they appear right
when you click on the file name
or is that just spacemacs
yeah, even in the shell emulator
ok
you need to plugin for that
Although I like a config to be more flexible, I'm not gonna use emacs
Might retract my words with this
Actually , vim/nvim have an embeded terminal , buitlin without plugins
so does emacs
Ow
emacs is a full GUI
Yeah right
though maybe raw emacs is
Also , at least lighter than VSC right?
that yeah
use doom emacs if you do
yeah
What are those XDD
programming languages
yea
doom emacs reduces lisp knowledge to just uncomment some lines
yes the same for spacemacs
though it is still nice to know elisp
Oh better
is doom emacs the main editor for emacs
doom emacs is like spacemacs, but pretty much better
I mean , I hoped it isn't gonna be like my xmonad experience rn , since Idk monads and well , the name explains it
monad is an action
Hmm
wow you've tried alot of different editors
Like a function?
i've only used 3 in my whole life
not a function, an action
Hmmmmm
the difference is that an action may have an effect
i've only used 3 in my whole life
👀
the difference is that an action may have an effect
@graceful basin Oh I see
their slogan is "That was easy. xmonad rocks!"
So it might change somethings
there slogan is "That was easy. xmonad rocks!"
@vapid kernel Well , u can copy some code , but u might not understand it
Also , installing plugins/patching is MUCH easier in xmonad , from my experience
for example the putStrLn function has the type String -> IO (), meaning you give it a String and it returns an action that has a result of None
No manual patching till now
for example the putStrLn function has the type
String -> IO (), meaning you give it a String and it returns an action that has a result of None
@graceful basin Hmmmmmmmmm
() is None of haskell
Hmmmmmm so like they have effects?
when you perform that action, which the runtime does for the main action
Then why doesn't string io have an effect?
it will print the String
yeah
I see
which takes an action, and then uses the result of that action to create another action, and returns an action that performs both of those actions in a sequence
there is the simpler >> which just takes 2 actions and return an action that performs both after one another
the type is ```
action1 resultOfAction1 -> ( resultOfAction1 -> action2 resultOfAction2) -> actionWhichDoesAction1ThenAction2 resultOfAction1
so to read a line, then print it is
action :: IO ()
action = readLine >>= print
readLine is an IO read_result
well, this would not work, since there is no type to read
is this xmonad?
that is just monads
No that's monads in haskell
haskell?
especially since most langs use functions both for haskell functions and actions
lol when I learn imperative languages , i know what to expect , but in functional languages I feel like I'm learning programming for the first time
what?
You have to use recursion
They are unique . At least haskell is
imagine using recursion for every loop
I think you can use other things too , which idk
is the title of this otn a typo for a reason
Eh , well i didn't know XD
is this haskell, lisp, clojure?
Haskell
haskell
ok
LISP and clojure do not use monads
is haskell the only lang that uses monads?
Probably (not?)
not the only, but the first and the most common one
well, the first to use them for effects
monads are a pretty old concept
what is your favorite functional programming language?
Is the haskell's icon the >>= symbol?
among the main ones
scheme
i thought it was lambda
what is your favorite functional programming language?
@vapid kernel Haskell , since that's the only one I know lmao
the haskell symbol
it is both
Mhm
the action description of a monad stops working once you realize a list is a monad
lakmatiol what about you
scheme, already said so
o didn't see
yea
I want to try shen sometime
Cause he is bored of imperative langs?
for scheme is chicken the compiler you use?
guile
ok
it cool, has a type system and is pretty much just scheme with pattern matching
nice
Do other functional langs have typeclasses too? like haskell does
yeah, but those came from haskell
Oh so haskell is almost mother of most features in other functional langs
And even Async , afaik
yeah
nice
haskell is old
Are the devs still alive?
yes afaik
people live longer than programming languages generally
lmao true
like 60y
yea ok you're right
since 1957
close enough
do you think python has a chance to survive 100 years
100 years is a long time
yea
yeah, in like 50 years we've moved on a lot
true
I hope we get far enough in our language development that there ends up a language that can replace python
but well, we have not replaced fortran yet, so probably not
A language that stays alive for 100 years should be flawless , and constantly on developement , imo

logically there will be but python is so simple
i doubt a language will stay for 100 years though
right
you can make new simple languages
it is quick to understand and is very useful
someone is always going to be ambitious
it would probably be very different language anyway
hey guys if anyone has a server boost they aren't using, please let me know
the language of the future might even be pseudocode
I mean , there is jinja and handlebars ... but like , imagine html officially supported those
has anyone used scss and jsonnet before?
is it really useful to define variables and make for loops inside json or css
variables are already in css
Yeah
o
INTRODUCING , MONADS IN HTML!
Do you guys think that TS would replace JS globally? like would you think it's gonna be the only script language that browsers run?
ts compiles to js
ik
so I would think not
it will probably not replace JS in browsers
ow
but I would expect to be beat JS in actual code written
but at the same time, building things is hard
so that is also questionable
Yeah
installed kakoune
I mean the editors itself
maybe as a code editor
but as a config editor, it is not going anywhere for better or worse
vim is not gonna die
I hope so
generally, when things die it is because there is something better
so I say kill as much software as possible
Have no mercy
Killing off software before they become too complex seems like a good idea
ping all the staff selfbots
Obligatory @remote socket ping
@narrow pecan
A chili is using discord only
@lunar shore ?
?
ping all the staff selfbots
@young shoal why are we pinging all staff bots?
Killing off software before they become too complex seems like a good idea
Yey for multi million line java programs.
Welp for you, ig
Oh wait @young shoal. How does a ping kill me?
Just to round you up
yeah
Anyone mind telling me what gurkan means since it's in a lot of people's usernames here
Makes it easier when done in bulk
yeah, get them all in one shot you know
Collateral is efficient
Gurkan means Cucumber is Swedish
Bruh
Didn't even notice psvm is now void man
Ah, so you’re just gathering us all here to kill us all together?
Alrighty
retreat to ot0 or ot2
Didn't even notice psvm is now void man
@topaz aurora yeah someone called himpublic manthe other day
“Let’s wait for Xith to arrive”
Fair enough
WTF
we are a country now
Where is it
just applied to UN
And we’re designing a website atm that we’ll be building
for country status
You can find the merch on the site above
What are you going to put in the website
nice
Yepppp
@eternal wing I honestly think this version may be better than the last one
It is looking good
👍
Anyone know C++20's concepts? Is there a way to check if T is any one of the multiple types?
is_same<T, U> isn't variadic unfortunately
Could make a variadic is_same, but want to know if there's a better way before doing that
In python, doing that is quite trivial
isinstance(object, (t1, t2, t3, ...)
“Let’s wait for Xith to arrive”
@narrow pecan ?
We were being executed
The bots of PyDis were gonna be killed, before they became too powerful, and we're the bots here
@topaz aurora Let the execution begin
!stab @remote socket
!stab @narrow pecan
It's too late for Xith
He's too powerful
lol
@narrow pecan I have changed name
thank
Cool name actually
we need an icon
@remote socket new icon live
veri naice
Tenk yo
@eternal wing Maybe this one is better?
As a logo
Also, I'm starting to like this flag
I dont see the diff of the top.
And hmmm, the flag is fine xD Not my favorite
that is soooo dark
it's a plugin for firefox
I sent it because it looks like there is some piece of code into the site
is some one here can help us with project with pyton we will be paying
6. No spamming or unapproved advertising, including requests for paid work. Open-source projects can be shared with others in #python-general and code reviews can be asked for in a help channel.
you know some server where i can
craigslist
!warn @rough sapphire I have told you that you can't hire people on this server.
:incoming_envelope: :ok_hand: applied warning to @rough sapphire.
At each step you remove the first element until its len becomes 1
that line does nothing there
Ye
alright so these guys copied the solutions
that uses pop(0), not pop()
ok , i'm blind
but I think you can do that better
but there's still something i don't understand about that
oh nvm.
ok so they're getting the first value and appending it to the end
could you paste the snippet into a codeblock
I think you can do this in a 3 lines
def josephus(n):
if n == 0:
return False
arr = list(range(n))
while len(arr) > 1:
arr.append(arr.pop(0))
arr = arr[1:]
return arr.pop()
thanks
also the n == 0 at the start looks useless
def myimpl(n):
if n==0:return False
return 2*(n&~(1<<(len(bin(n))-3)))
a bit more complex than I expected, but it does work
@graceful basin #esoteric-python
That's a combination of 2 bitwise operators.
but it is a common way to unset a bit
And a bishift on the same line
the lhs is just 1, so it more of a power of 2, but since I am manipulating bits a shift makes more sense
I guess it is n << 1 with top bit removed
could be int(bin(n)[3:]+'0', 2)
When you all say GUI out loud, do you say G-U-I or do you say Gooey?
Gooey
Gooey
GUI
oh, i think it's because i need to add the right font
gooey
What tool are you using to gen the favicon?
https://onlineconvertfree.com/convert-format/svg-to-ico/
i got the favicon to look right, but now the svg itself doesn't look right on my webapp
2 more designs and then I can compile all my stuff into one post in branding
no wait. 3 more.
What's the issue?
i found this in the svg
-inkscape-font-specification:'Noto Sans Cherokee Bold Italic';
so i guess that only works in inkscape and specific places that support it
and that's why so many svg to ico converters didn't work well
that's a good idea, but i think i found a replacement font that'll work in most places
hopefully
lol
(just outline it)
gaaaah this pydis ducky is hard
When you all say GUI out loud, do you say G-U-I or do you say Gooey?
@hard dew G U I
My one professor pronounces it "gwee"
lol
I usually say Gooey
@honest star Do you say ooey when you refer to a UI?
I'll just say UI or UX in that regard
because then it's only two letter and the same amount of syllables
So why treat GUI any different
nice T
Goo-eey vs Gee You Eye
Gooey just sounds weird, lol
¯_(ツ)_/¯
Alright, I need opinions about which elements work and which don't. This is for a pydis_ducky
3rd one looks bad
I like the first one
Yeaaaaah, but I feel like I'll get a "the third one is the only one that actually uses the correct colors of the pydis logo"
Oh, what I'm doing is for stickers for the redbubble shop
Oh, what I'm doing is for stickers for the redbubble shop
@honest star Oh nice 🙂
Ducks mean a few things, duck typing, rubber duck debugging, and I think one more thing
(I still have no idea what duck typing is though)
Ah
The first one isn't too blurple for you?
hmmmm... okay. Maybe I add the 1st and 4th one
Lol there was a "sweet respectable man" in #ot0-psvm’s-eternal-disapproval looking for a girlfriend who is good at coding
What a great place to ask, with a bunch of young devs who are under 25 😄
<_< we are not all under 25
26*
👵 This is how I feel right now
Not everyone, but the majority, based on who i've met
At least you're young minded (in a good way)
This server definitely skews young, but a decent amount of the regulars are older
thank you for your opinions on the duckies btw!
This server definitely skews young, but a decent amount of the regulars are older
@honest star True, true. Still not a place to find the ideal gf 😅
not ideal 🤣
yeah, we definitely have a younger demographic here
i wish that was a statistic discord would show us
yeah
percentages of users in different age ranges
would be interesting
not ideal 🤣
@raven hound because it is not ideal
i have this though
To protect user privacy, unless a given group has more than 50 members, it will not be shown as a distinct result and may be grouped into “Other.”
Interesting
I didn't know that was what counted as other
So we have a fair amount of on-off(ish) members in vastly different countries
yeah, cool
i thought other is equivalent to unsure
a quarter of the people here are from the US, quite interesting
not really surprising though
yeah.
hey you guys
does anyone know what the area behind the catcher is called.. in baseball
hmm not that.. like there's a strip of field seems like where people run
or walk on
I see a google cloud in chalk or something on that strip on the ground
so wondering what that part is called
right behind the catcher there's a strip.. guess it's not part of the outfield
Behind the plate
afaik its not called anything specifically, but people in refer to it as the area behind the plate
cool cool
I got exams in 25 minutes
Good luck @simple sand
thx
the exam was so easy
is there a lfg channel in here?
a what?
ah
kk
i was making a malicious script, so i thought i could colaborate with a person who is experienced
Well we're not going to help you with anything malicious regardless
oh lol, its not for harming PCs, im a cyber security student
we are finding insecurities in windows
I mean regardless it still has the potential to be malicious
what?
because we can't validate people are actually doing what they say they're doing
yeah
lol i remembered, one day a guy posted a question asking for help asap, he said its my last question of the assignment, everyone said we dont help with hw, then he said ThiS iS a PrActiCe pAper FroM mY BrOthEr
lmfao
lel
wittwe does he know
wItTWe doEs he KNOw
seasonal bots got it all
who made it?
maybe the owners or some staff, dunno
k
u can ask in #community-meta
damn.. this server is detailed
90K!!!??
yeah
well gaming is more popular than coding smh
noo
fortnite got 650k something
mr beast has a 400k server
lol
fortnite has more iirc
628k
642k
plenty of people will be banned and leave and join and whatever each day
ah
dont the owners talk here too?
they do
k
has this server disabled the @everyone mention?
Of course lol
Although there have been incidents
Some more incredible than others
no, like fortnite forgot to disable it once
lmao
has this server disabled the
@everyonemention?
@south fable Look at this #python-discussion message
and there were raids oh buy were they
what happend when somebody did that
ye lmao
sums it up
lol
And the second time
was one of the links to a webhook was leaked
was sent in a message by joe like four years ago
someone found it
and the whole server was spammed
sometimes people dont disable the mention, they just nickname a person everyone so when a person writes, @everyone nobody gets pinged except that one person
lol lol that was some funny stuff
@eternal wing we should start making the “best” project soon
Gurklang
ah
i got a bunch of project ideas atm
but i really wanna get this snake thing working first
We haven’t started yet
i can see lol
is 3 offtopic chanlel means multi chenell serial comminaciton
I just created a github account Hurrayh!!
lol
link with your discord
All the cool devs do it
I can't cause my discord is broken and u can't link it in browser
Yeah discord being broken is a pretty common occurrence
I've never had discord break
oh u can add it in browser
i hope my hacktober tshirt delivery guy doesnt bring corona
Yeah discord being broken is a pretty common occurrence
@uneven pineMine it just does not open
i hope my hacktober tshirt delivery guy doesnt bring corona
@edgy crest lol it'll come next year
don't worry
wut
I received mine in April
i will forget about it till then...
like a random dude stops by saying, heres ur tshirt, and u be like, 
yea
bruh
what
Oh i completely forgot to claim my shirt lmao
lemme go do that
The dark shirts actually look real nice
@gentle moss lmao
lel
Takes Maximum 1 minute. Please check this for my uni report https://s.surveyplanet.com/xxR_yS0jJ
@rough sapphire hmmm many tutorials can be found on youtube i think
ok
@rough sapphire dont worry. ubuntu have so many resources since it has a larger user base
though Arch and arch based derivatives are gaining traction
Arch has been popular for a long time
Either way the arch wiki is an excellent resource, even if you don't use arch
i don't use arch btw
I hope arch doesn't get more popular, I hate the community. So unwelcoming
It's like the antithesis of open software.
The community has been really welcoming and helpfull in my experience.
just avoid freenode
There will be some ppl who want to show their dominance over other, just ignore them
arch wiki is more than enough for your problems
gah, too early for a standing desk x_x
just sit down 
Sit up
I wonder, how does pydis staff feel about the stickers?
be humble
joe already bought them all
I've seen some people complaining that they're too big and they're going to kill them with bots
yeah me too
haha
they're cute though
What are stickers if not oversized gif emojis
discord makes money off of them
can someone help regarding rdp
is there a way to give seprate amount of hardisk to each rdp user / session
@rough sapphire
They’re cute, but huge
I have no idea dude @burnt stirrup
That question seems related to user accounts, not rdp.
Stickers are huge
nope, not that one
And they don’t really work like stickers. They’re just gifs with a different backend thing
I’d like to stick them onto messages in some way
the others are just apng or png format
are there any other stickers besides wumpus ones?
oof I want stickers
nope you can't stick em :C to messages
is there a certain region that gets them
seems like that @vapid kernel
That's not how stickers work in other chats either do they?
Like in telegram/whatsapp etc
In iMessage, you can actually stick it to the messages
those are apng I think
Hike have this feature where it changes your own text to a sticker
like live
that one is apng yeah
it's not a gif
@quaint rivet they have clyde and a robot mouse hamster thing
nitro stickers
when is Halloween ?
GIF is a terrible format, so that is wise
APNG is a much more efficient format compared to gif
okay how the fuck do i turn stickers off
october 31
yeah gif can't be compressed
I have lost many hours of my life trying to make GIFs look good ;_; The 255 color limit is hell
how many free stickers are there?
none
none
o
Not even one?
you get two packs for free if you have nitro
which i have
one of which is limited time
o ok
limited untill you have nitro
so only nitro members get stickers
you get two packs for free if you have nitro
@sand goblet can you keep them when nitro gone?
no @vapid kernel
yeah I think so
1 you can keep
no there's two
@honest star yeah, agreed. Sadly, that’s the standard we have
do you have those
I have all of them
why would use stickers over gifs
@sand goblet how much did they cost in total?
I don't understand Discord model, you pay for emotes

Because they’re cute
I mean, what else would you monetize
there were only four I could actually pay for
there are 4
and they were €1.59 each

