#ot1-perplexing-regexing
1 messages ยท Page 513 of 1
@plucky ridge Sorry, wrong chat!
No worries!
yo
?
So I'm working on a site which is going to allow the user to practice programming in browser, sort of like hackerrank
But I'm having trouble thinking of a good domain name
have you guys got any ideas?
could always try to split a word with one of them fancy domains
but .com remains popular for a reason
you're asking for a domain, but that means you haven't considered your brand
Well, my main goal in making this site is as something to have on my resume for job applications
not necessarily for the purpose of building a brand
Take advantage of the new domains then
find something fun that flows
think of a word or two that go with tech, or knowledge, or growth, or whatever makes your site different from hackerrank
and stick them on either side of a .
make sure to peruse the list of available domain endings, there's a lot of fun one
thanks for the advice, will do
I'm actually interested in this project, as I've been batting it around
curious to see a new take
haha yeah, though we ended up having punishment for 20 laps when he figured that it was us and not infinite shampoo
well i got a problem, when i clone a repo using pycharm proffesional, pycharm loses suddenly
have y'all used KWGT on android?
no i havent, you?

lol
no
What's that? @inland wolf
Is it Python?
kwargs were good too
no its not python
Then I'm a happy man
Nah haven't heard abt it
Doesn't everyone?
u didnt get it
damn
anyone know what this ot name is from? I seem to recall it but I am not certain
they used coding and algorithms so that the drone don't fly into each other
haha that was a nice meme
that's a small url
yea idk why its soo long
if goingToCrashIntoEachOther:
dont()
classic pwogwammer meemz
illegal code:
True, False = False, True```
x = 1
x += 1
print(x)
2
x = 1
x -=-1
print(x)
2
ahah
anyone familiar with tkinter sticky command?
its not working for me.
ping me when you reply
uh
@twin charm show the code :/
I need eye bleach
This hurts
for x in range(99999999999999999999999):
x = -x
๐
import webbrowser
while(True):
webbrowser.open("https://www.google.com")
print("LOL")
make sure to copy and run this code
jk please dont do that
so it should
That's the point my dear friend
@quasi wigeon channels in the "available help channels" category are open, channels in other places are not
the status of a channel is directly tied to the category it's in because the bot moves them around dynamically
So helium for example is open?
is it in the "available help channels" category? 
hint: no, it's in "occupied help channels"
true
Copies the file infinitely , changing the number
That's kinda not legal
You are not allowed to use that command here. Please use the #bot-commands channel instead.
That won't work in 3.x
sad
Just installed Atom (the editor)
It's really pretty and easy to customise
It even has a CLI for installing addons
I'm just scared that because it's so easy to customise ima end up making it look terrible just because I can
y not vscode @quiet lagoon . they are just as heavy , and vscode has more features
was using vscode before, wanted to try smth new
personally I'd use PyCharm
I don't only use Python
Ah, fair enough.
I pretty much only write Python and C - family languages, so I use PyCharm, Rider, and CLion.
I spend a lot of time on web stuff
VSCode just doesn't feel right to me
I personally use NeoVim and sometimes (Doom) Emacs , I suggested VSCode because it's better
not better than NeoVim and Emacs imo , but better than Atom
Yeah, I definitely prefer VSCode over Atom, but I just want an IDE, yknow?
I hate PyCharm because all features I need are available to NeoVim and Doom Emacs and VSCode , like debugging, linting , etc.
PyCharm is too heavy , just like all jetbrains' products
Yes indeed I must agree with Rader
I feel that, but also I've got the system power, so
at least it doesn't take 1 minute to open neovim , doom emacs or vscode @compact canopy
I like beauty in my apps so vim/emacs aren't what i'm going for
vim can be pretty beautiful
I mean, I've got a nice colour theme and font in my terminal, but it's still a terminal
It doesn't take a minute to open PyCharm with an i7 and 16 GB of RAM either ๐
it does with i7 and 12 gb ram for me , not exactly one minute , but takes time
Well , neovim opens in matter of miliseconds , so I love it
fair enough
not bad, but I prefer this
there are front-ends too
loads in ~5 s
that can make it hella-beautiful
I prefer the terminal
I can literally do ctr+z , do some terminal stuff , and fg to go back
atom and vs code are both electron based text editors owned by microsoft
so one's gotta go at some point
I mean, the package managers might go, but they're open source...
cya
yes
It looks a lot like vsc ngl
how strange
hello
hello
i need a help, can anyone help me?
umm did u not request for help in #ot2-never-nesterโs-nightmare also?
my brother's laptop has like 4GB ram and like celeron CPU still takes far less than a minute
.-.
wut
It depends on the number of installer plug-ins
Gotta love it when my Haskell LSP starts to chug because of how much comment text I have on it
With my average modern computer, it takes 5 seconds or so without any plug-in
yeah it's pretty fast for me too
me to
Maybe not exceptionally fast, but reasonable
It's not a RAM issue either, mine's misconfigured to keep linting while I type, which makes me sad
most fastest opening software goes to ........................... terminal
notepad
no notepad gets launched due to terminal
I think /bin/true is the fastest program you can have
Me on windows: confusion
๐ค
The whole program is
int main() {
return 0
}```that's it
whys there a program like that over there
why not
It is useful in shell scripts
wait it comes with the os

fastest ever
from pygame import *
takes 7 secs for me
haha ok
nop?
nop.
It is the... the... mnemonics (?) for no-op, the instruction that doesn't do anything
i just googled it
In computer science, a NOP, no-op, or NOOP is an assembly language instruction, programming language statement, or computer protocol command that does nothing
so this is a python equivalent of pass?
Hmm, not reaaallly
pass indicate an empty block
nop is an instruction you can put in an executable that will tell the CPU to not do anything

Yep
Well, it doesn't do anything, but it still run the CPU side effects, such as incrementing the instruction counter
i think this is how binary will be seeing nop
https://i.kym-cdn.com/entries/icons/original/000/029/351/tank.jpg
whats binary got to do with nop
Well, the CPU will see the nop
no binary, no computer
The nop will be in the binary
0
0 is also binary
But the binary isn't something that will process data, so you can't really say that it see the nop
could anybody help me with this
#ot2-never-nesterโs-nightmare message
please at least say no
thats good
that website is like just under the tip of iceberg called internet
did I just access the dark web
That's not how you access the dark web haha
By definition if you use http(s) you are outside of the dark web
ooo
The deep web is the web that isn't referenced by search engine
Oh is that what the "dark web" is
So it's just not using HTTP
lmao
Spooky scary
oh so like hospital websites where the users stuff are stored and edited?
I'll stick to HTTPS thank you
what about http that doesn't redirect to https
There's deep web everywhere actually, and you use the dark web pretty regularly
Is there a reason for that? Like why doesn't everything normal just use HTTP(S)
Well, Http is a pretty restricted standard
For instance, it is a common practice to use anycast packages (I want to communicate with any of those endpoints, and I leave the choice of the endpoint to the network) in DNS requests, but this isn't supported by HTTP
I tried to solve a leetcode problem I thought it was easy... but then...
Watch Programming Anime Part 2 here: https://youtu.be/OTfp2_SwxHk
๐ Video courses from JomaClass:
๐ New to programming? Learn Python here: https://joma.tech/2LxtBT0
๐ Learn SQL for data science and data analytics: https://joma.tech/3qNfjOh
๐ Data Structures and Algorithms:...
almost everyone must've watched this lol
ye xd
Does anyone know how discord picks "relevant" message when using search?
is this off topic
!e
You are not allowed to use that command here. Please use the #bot-commands channel instead.
i never used this website and didn't know how to correct my mistake
no worries
@tall ermine what happened
othing
62wpm horrible i don't like how the words dissapear
@tulip eagle were u playing with me?
yes
yes
oh
you on fire
comeon
you gotta go
bye
anyone?
gg
.topic
Tenet
Probably Shazam or something
It's been a while
nice
okay
eww i hated that movie
crainj
Ight
Ford v Ferrari was a good one, yea
dot product of vectors is scalars
In [15]: np.dot([1,3], [3,4])
Out[15]: 15
In [16]: np.inner([1,3], [3,4])
Out[16]: 15
In [17]: np.inner([[1],[3]], [[3],[4]])
Out[17]:
array([[ 3, 4],
[ 9, 12]])
```you shouldn't be passing a 2D array
smh ot has become python general
My Nitro ends in 2 days, I'm sad 
anyone else stuck on a subway train
^^cricket noises^^
no
python talked about for 5 seconds: SMH OFFTOPIC BECOME PYTHON GENERAL
k
Will your custom tag go away when your nitro finishes?
wonder how many people who just watched the movie and never read the Ready Player One book. book is a thousand times better than the movie ๐ข
yes it does
Ah
I see
The book takes a fair amount of time to start, but it is quite good
like all movies from books, the movie wasn't 'bad' but it didn't do the book any justice imo
book was far superior experience.
apparently ready player two book came out. don't read much anymore but considering getting it now
as is the case with most adaptations of books
lmao, it's an admin or a mod
lol

they are A ๐ ing their powers
lmao
lawl
lmao @quick ledge
are you sure you not doing this?
bruh
test
Think was totally not me
Huh
lol
Covid 19 be gone
k
Covid-20 be back
no
nah it's ded
Nope
It will be
covid 19 vaccine hopefully till March ๐ค
lol, it's not me
ha xD
Welp , it's not gonna be imported to Iran , and it's because of our "leader" ๐
huh
Oh wait actually ... they are importing from China ...
bruh
And the Chinese one is not ... the best
It's just ....
You know
A bit too many side-effects
I think China is in Phase 3
What does that mean
like vaccine have phases
And what's the third phase
There is a problem
side effects are a thing
phase 2 is the how it will affect and what are the causes of it
that is true ๐คฃ
phase 2 is about that
phase 3 is tested on the humans
lmaooooooooooo
who volunteer
Our leaders were gonna import from the U.S , after Biden was chosen as the president , they decided to not get from them , because they wanted to get their share when Trump was their president , so like , they wanted to sell the vaccines in order to get their share as money
And they probably decided to get from China for the same purpose
I mean , the gene of a Chinese man and an Iranian man are different , just special cases if their parents are from the other country
vaccine for money hell nah
And no racist , but Chinese food is so unique
that would be hell
Our leaders hell yeah
bruh
And the people didn't decide , since dictatorship
Our gov has announced to provide vaccine for free
Hah, we will get that for free, when pigs fly!
but I am not sure if it's only for the Residents who live in the country or the neighboring countries as well
Well , Iran is not only a third world country , but also dictatorship is there , so we're not gonna be okay here
is this real?
Hmm
hello
fine thanks
mhmm
nice
lol everyone was mad this is the off topic correct place everyone was telling me to go to right?
i'm new to the server so yeah
i didn't know i thought general meant general chat
how ru anyways?
me, or MCTRACO?
nah, thanks
I don't do DMs in general
Me, I'm good rn
busy with dataclasses in a program
lol meant don't mind from dm
aha
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
I always recommend corey schafer for youtube tutorials, I think he is an awesome teacher.
i just rlly hardly understand the codign world
he has a beginner tutorial that starts you from absolutely nothing.
I'm gonna get back to my project, or it'll never be done
kind of
cya
ok lol cya
oh cool
thxs
this is a whole playlist
that's rlly helpful thanks bro
I did not use this one, but I have found all of his tutorials awesome.
ye what did u use?
book?
I used code academy to learn python 2 for a bit, then jumped around languages with various tutorials.
I started making projects as soon as I could and just googled literally everything
oh lol
then I used corey schafer to learn django
Now I just use the docs and figure things out while I do projects. Okie, hope you stick with the programming ๐
lol
i think so ๐
How would you shorten the word mutation in a function name?
I think anything less than mutate wouldn't be easily recognisable
The issue with mutate is it's a verb not a noun
what sort of context are you using it in?
I'm naming a react hook, which represents a mutation
useUserDBMutation
i'm not sure if I should / could shorten that
guys
import java.util.Scanner;
import java.util.Arrays;
import java.util.List;
public class Main {
public static void main(String[] args) throws InterruptedException{
Scanner reader = new Scanner(System.in);
System.out.println("Ingrese una frase: ");
String sentence = reader.nextLine();
String[] splitsen = sentence.split(" ");
splitsen[-1] = "";
Thread.sleep(3000);
String finalstr = String.join(" ",splitsen);
System.out.println(finalstr);
}
}``` the syntax of [-1] is wrong how can i get the last string of an array?
I don't really think it needs shortening - you've described it in as few words as you can, and it's more important for a name to be descriptive and readable than short.
I guess if you really wanted you could try and use Allele or something? but Mutation is a solid word
Personally I think you should try avoiding having very similar words like use and user next to eachother though
@placid jungle in python, index -n is just index len(list) - n
...
it says lastIndexOf
that's a string method
ok but how can i manually?
you want the last index of an array no?
yes
in python that would be array[-1] or array[len(array) - 1]
yes i know
but i want to know In java
all servers did not answer me
and python is the only one who is always active
and i need that already for my homewo...
@young shoal loop
no
length isn't a function in java
array.length
yes
lmao ok ok so it d be this
array.length - 1 = "";
well, you can't do that, so
can't do that
arrays are fixed length, homogenous sequences
since you're joining it into a string, you can do what you tried to do earlier
you can set it to an empty string
splitsen[splitsen.length-1]=" ";
that has a space in it, but yeah
wdym
i'm best at python and java, but i'm learning rust and swift
what
congratulations
Strings are feeling sad
it's a method :P
lmao
lawl
@solid pollen hey I quite don't get how it Markov chain would generate text.
Could u elucidate on how it would do that?
I just realised that akarys was a mod
from 4th Jan only
Mandela effect. I remember him as a mod in december also
yeah. but boi arent we wrong
Pretty sure we're right
yeah ik i've seen that
so whats your point?
I swear to god akarys was a mod in december
haha maybe
We only announce promotions when we are all set up, I have been a mod since the beginning of Decemeber or so 
ohok
Have you looked at how Markov chain worked, or at least how you interact with them?
im not having brain injury then
is anyone familiar with vbscripts
I'm not sure what to do, my script works fine, but when I put it in to a RPA application it gives me issues with the '%'
for example ssub%_SUBSCREEN_%_SUB%_CONTAINER and whenever there's a % it recognizes it as a syntax error
Windows 10x looks real good!
?
i think he was sarcastic
windows 10x releasing this march
lmao
check it out
UI revamp
!!!
how do you get to know these news?
uhh tech stuff
I feel like im living under a rock
holy moly there alot to do before i can just hang out in the Voicechat area and do some Coding
isnt it a bit of an overkill ?
you wouldnt get it
no ig
is there a problem updating?
or is it your parents stopping you?
6gb update and 2 gb storage left
๐
when i try updating -> storage is less message
there isnt anything to uninstall
only python
Is there a channel for discussing data models ?
or is it just the help channel ?
or am i blind ?
there is a #data-science-and-ml
data models = data structures?
not really more like handling big data
and what models do u safe ur data (data vault, star schema,etfc) for which usecase
maybe in data science ? although im not sure if thats the right place ๐
hahahah
thx
hahastinkypoop pinged arnav
riight
ghost ping is against the ToS
This is why I have a bot feature to display ghost pings
Talking in discord is against discord tos
@twin charm there's something wrong with my Python too, I keep getting this error:

How?
I'd say there's something wrong with your CDKey
license? Whatever they call em nowadays
dag
strongly connected components ๐ฉ ๐ฉ ๐ฉ
dag is the best
@violet wadi
lol ppl i created this using python 0-o would appreciate if you could check it out or star the repo : )
https://github.com/XtremeDevX/super-delete
shift delete is the second worst method of deleting files lol
i've done a lotta research
and it's a lot slower
just a tad bit faster than delete
superdelete is much, much faster
@quick scroll Just a quick tip : Don't push your builds to the main repo , make a releases page for it ๐
i have XD (but yeah i guess it ain't the best idea to have the exe's lying out in the open lol)
@lunar shore
You can use a .gitignore to ignore some files and not commit them
You can add *.exe and it won't add exe files
Hello, is this the advanced graph discussion?
I'd like your opinion on this funky looking graph
@bleak lintel it's time for you to show your graphs
graphs are graphs
graph is graph
A graph of graphs you say? ๐ง
can a sine wave count as a graph?
What does anyone want to talk about?
why does every node have a self-loop?
the insurrection?
@scene()
def base(then: Then[Group[Latex]]):
@scene(easings.in_out)
def a_to_b__appears(then: Then[Latex]):
a_to_b1 = then(anim.const_a(Latex(-2.0, 0.25, R"$A \implies B$", 0.5)))
a_to_b2 = then(scale(a_to_b1, 1.5))
a_to_b3 = then(move_by(a_to_b2, -2.0, 0.0))
a_to_b4 = then(move_by(a_to_b3, -1.0, -2.5))
# a_to_bN : Latex
# a_to_b__appears: Animation[Latex]
@scene(easings.in_out)
def b_to_a__appears(then: Then[Latex]):
b_to_a1 = then(anim.const_a(Latex(2.0, -0.25, R"$B \implies A$", 0.0)))
b_to_a2 = then(b_to_a1.scale_upto(0.75))
b_to_a3 = then(move_by(b_to_a2, 2.0, 0.0))
b_to_a4 = then(move_by(b_to_a3, 1.0, 2.5))
# a_to_bN : Latex
# b_to_a__appears: Animation[Latex]
two_equations = then(group(a_to_b__appears, b_to_a__appears))
then(const_a(two_equations) * 0.5)
then(scale(two_equations, 0.0) @ easings.in_out)
# two_equations : Group[Latex]
# base : Animation[Group[Latex]]
animation = base >> (anim.pause_before, 0.5) >> (anim.pause_after, 0.5)
# animation : Animation[Group[Latex]]
render_pil(animation, Path("./out"), fps=15, workers=4)
@graceful basin I think I was able to insert do-notation somehow into all of this... seems pretty nice
looks similar to reanimate, but not really, I guess
because I don't juggle around the same SVG, I have more specific types (and I don't use SVG)
then is better than yield in this context, because all a = yield bs must have the same type for a and b
this latex?
...updated a bit, here's the result. You may need to download the video, as discord refuses to play it.
noice
I guess there's not as many batteries as in manim, and it doesn't have all the transforms, but I'm satisfied so far
The similarity makes sense though
Hey @shell raptor do you like 3b1b?
yeah
yeah, I know about manim
one the most interesting channels on youtube
If you're making a white-on-black animation using LaTeX with in-out easings, it's inevitably going to look like 3b1b ๐
ooh
3Blue1Brown, by Grant Sanderson, is some combination of math and entertainment, depending on your disposition. The goal is for explanations to be driven by animations and for difficult problems to be made simple with changes in perspective.
For more information, other projects, FAQs, and inquiries see the website: https://www.3blue1brown.com
oh he focus on maths, btw @oak tangle you seem to know a lots about maths
I'm just an amateur
we have actual mathematicians here
Basically, I dropped out after two years of study math in favour of cognitive neuroscience
like pseudo is one
So I'm a math failure
ooooh
that's still cool nonetheless
pseudo is the onlyone ik of.
Any others?
We could summon @shadow jetty
fix seems to be pretty deeply into math, not sure how deep
oh he is a mathematician didn't know
So neuroscience is your major?
It once was. I'm old.
wdym was?
majors don't expire
I just mean that I wouldn't call myself a cognitive neuroscientists. I once imagined I would head in that direction, but then statistics drew me in and I worked as a teacher/researcher in that area for 7 years.
Now I'm just a software engineer/python dev
Oh Cool, so you have a history withs maths.
That's pretty dope
And what a turbulent history it was.
Anyway, yeah, I do still like maths
But just from a casual distance
https://www.youtube.com/user/themathsorcerer
this is the only maths channel I knew of
manim was made by 3b1b
mani,?
Numberphile has some interesting videos, computerphile as well. There's also mathologer, which is a bit more math heavy than numberphile.
https://www.youtube.com/watch?v=pTnEG_WGd2Q
I was drawn towards that channel because of this vid
This video shows how anyone can start learning mathematics , and progress through the subject in a logical order. There really is no finishing point but this will get you through all of the basic undergraduate mathematics from start to "finish". I also included some graduate topics.
Here are the books that showed up in this video(in order) on ...
Obviously mathematics doesn't have a finish
but still
if you want some insane math videos there's https://www.youtube.com/channel/UCIyDqfi_cbkp-RU20aBF-MQ
This is mostly mathematics lectures for graduate courses on algebraic geometry, commutative algebra, and groups. There are also a few math talks at an undergraduate or high school level.
For anyone who wants to copy the format of the lectures, I'm using a program called OBS studio with a webcam and document camera.
This guy has a fields medal btw
what's that
it's the most prestigious math award
oh damn
oh wow
the "nobel prize" for mathematics basically, but only given every 4 years
that's very impressive
@tulip nacelle please don't ask in all 3 channels too
#freedomm
America is a country of laws
Terrorists should not get a pass on those
As they say, don't do the crime if you can't do the time?
They broke the law, and they will be punished for it
Normally discussing polarizing political topics in considered bad behavoir on this discord. However, I feel that violent insurection goes beyond politics.
how on earth do we message 50 times without seeming like you are spamming
No, we talk politics all the time, I do so with many of the orange people
and I say orange in the best of ways, not the presidential kind
Civil is the key part of conversations on this server
yeah it's generally very good on this server
My favorite server, OT for random conversations, though I normally just sit in #python-discussion and absorb, sometimes I'll jump in and offer assistance when I feel I can
well, I definately feel a huge need to talk about the last failed coup attempt by the president. It has really shaken me that citzens of the US would try to violently overthrow our government for this president. It has been shocking, and I have really been struggling to process it.
I don't know, I am in the same boat as you are. I am not as good at writing as I am orally, and I use discord mostly for having verbal conversations with others. Reddit, the web etc, is the place I go for forums and writing. It almost feels like discord isn't really made for writing chat, it is much better at verbal voice groups.
Do you live on the states? or are you watching in horror from abroad?
Problem is, those people really have been deluded into believing that US elections are no longer legitimate, and in American culture, we have historically celebrated the idea of having an armed overthrow of the government if it ever became illegitimate.
the other problem is that these deluded people believe that they represent the majority opinion.
I don't really know why that is. Trump presided over covid, and even if experts agreed that Trump's handling of the pandemic had been immaculate, the general public would still put all the blame on the current president, because Americans always blame everything on the current president.
Biden is the senior-most eligible candidate from the previous administration. If people wanted to go back to the way it was before covid, Biden was the least surprising possible candidate.
The worst thing is, half the country saw this coming from a mile away, and a 1/4 of it is in denial
I'm just glad we might finally get accountability for LEO's and maybe drop QI
Currently living in the states.
How long have you been?
I don't know how much of this is cynicism and how much of this is honest belief. The ability of Magas to by dog-whistle alone is frightening. Trump's support of White Supremacy, Christian Militianist and Nationalism, and White nationalism we haven't seen since the 60's. Trump has single-handedly given these fringe and marginalized violent groups a platform. Our own government's inaction and the republican party's ignorance, abetting, and endorsement of these ideas have shocked me to its extent and scale. Also to the extent that these powers have infiltrated our representatives, police force, and Department of Defense is disquieting. I am truly without words to express my exasperation.
Welcome to America, land of corruption
I've been saying it for decades, people always said I was hyperbolic
now that she wears it on her face...
they still deny it. hahaha
Every country struggles with corruption. However, not all industrialized countries have this level of insurrection, and people willing to undermine democracy. If the US was once a first world nation, we have certainly been demoted to a 2nd world in the last week. While the rest of the world has redefined what it means to be 1st.
The volume of calls from the right asking us to forgive when we have word of another assault
it's amazing
Yes, embolden the terrorists
great idea there ted
I like Arnie's speech, and as America has done before, we'll stomp out the white supremacists again
a constant scourge on earth
confederates, kkk, nazis
what's the fucking difference?
just the trashiest of people, united in hatred
now they call themselves the alt right? white supremacists? I guess Q?
I wouldn't say that the storming of the capitol would demote us to "second world" status. It seems that the mob was largely disorganized, and most even respected the velvet ropes in the statuary hall. I think they were mostly morons who saw an opening to prove how little regard they had for the government as presently constituted.
There was most certainly an organized group in the crowd
and the fact that capitol police welcomed them
there are far more nefarious actors at play than "mostly morons"
There are reports of people hunting the halls, not just the crowd of idiots who got themselves on the now fly
I was listening to npr this morning and they were saying that the only known example of pre-planning so far is that at least one person made two pipe bombs. Though I don't think it was known at the time if it was an individual or a group who made them.
Not the first I've seen, most certainly not the last, just the most recent
but metal detectors outside their chamber, that's gonna 'stop them from voting'
how are republicans going to vote if they're not strapped in congress? The GOP just cannot give an YAY or a NAY without a 9 or .38
i saw joe u say mama
Bisk give me a hat
wuh oh politics that's not poggers
Ehhhhhhhh
Maybe not always not poggers
(User tagged upon editing. Hooray)
@twin hearth answering a question that happens to involve a library doesn't necessarily require knowledge about that library

import pygame
print('1' + 1)``` you can figure out why this doesn't work without knowledge of pygame

I wish there was a real death note
i mean, the virus is doing a good job at trying to accomplishing that
does anyone here go to/went to MIT?
true
thx Stel for the fast shipping
May I have an angled hat?

I am at a loss for words. I spent a couple hours listening to republican arguments on the house floor today on c-span. The amount of false equivalencies, bad faith arguments, and hyperbolic figurative speech I found horrifying. I have been really having trouble sleeping over the past few days, as the polorization seems to be getting worse at a time when will really need our representatives to be moderating their speech.
It's always bad faith arguments, false equivalencies, and hyperbolic figurative speech. Is any of this new to you?
They love strawmen, they ARE the victim, even when they are murdering police officers
That's a first
Welcome to Hemlock's horrible admin cabal.
Thanks for your warm welcome.
he is active in dev/media channels and sometimes in vcs
A rare treat was Lemon playing the keyboard and singing around Christmas.
On video voice chat.
https://i.vgy.me/PugPK1.png at least it's running now, on electron.js
And apparently you can't embed pdf files in electron...one step forward three steps back
He's actively involved behind the scenes.
admins+ mostly work quite a lot behind the scenes for this community
thanks
it's very much worth it, we all love this community very much.
anyway, i should really be heading off to sleep, goodnight ๐
sleep is for the weak
Not really
everything is instant
but when u tr to switch windows
and it hasnt fully rendered
it becomes a white screen for a bit
also everything has less animations
when u click on a user theres no slide animation
it fades in slightly
Eyo
Does anybody know how to tell pylance to ignore something?
Cause it thinks a code of mine will raise an error but it won't
@simple sand it should respect #type: ignore
leme try that
isn't that for pylint?
It is universal afaik
# noqa could work too?
Could anyone give me a calculator code
isnt hemlock a mod
admin
ohok
I always see him in the voice chat
do you want to hear good news?
I had an exam at 3pm today
and I missed it.
its open source?? wow
wasnt git made by linux? and microsoft is using it for source code? LOL
svn is also quite common
yes
whats svn
ooo
i think
ye
it is another version control system
there is also mercurial, which I never saw in practice
why do people call it 'version control'? I always call it 'command-line method to upload to github'
cuz it tracks the changes u make to ur code
because you can use git without github
yes ^
I mostly use local repos
github is just a hub of git repos
this is brand new info
git can track the changes u make to ur code so u can rollback if u mess up
meaning - the repo in your hard drive and not on the internet?
yes
yeah I found that useful once
u dont have to upload it to github
git stash or smth
then whats the point
well, you always have a local repo
yea
but you sometimes also bind it to a remote repo
others can push or pull from our local repo?
no
then whats the point of git for local repo
not just by doing git push
so that you get versions
yes
and a commit history
that also u can do??
yes
to an extent yes
ohk
not if 2 people use the same computer ๐ง
big brain time
still doesn't really work
since you can't checkout a local repo into 2 local directories afaik
but maybe you can
idk
can users download clone a particular code base that is an older version?
the commit history will show only one person
even if two users on the same computer us it
version 1.3
oh
how can you allow a user to clone an individual folder in a repo?
is it possible?
I have many folders like this. when you clone it, all folders are downloaded which i dont want
thats the point of version control
yeah but you cant download old versions right
so that u dont need to keep making new folders for new versions
u could clone the new version and then revert on ur local version
:)
What do you guys think is more efficient, tuples or sets? I usually use tuples when I need to pass in any iterable and I don't need to mutate or do anything with it. But maybe sets have a smaller memory footprint?
I mean
they have completely different use cases
Yeah, I guess.
tuples are significantly more efficient memory-wise, though sets are optimized for quicker membership tests and set operations
I am just thinking with like, say an 8ball function. You need to pass an iterable into random.choice, what would be the most efficient option in terms of memory and processor use.
Ah right, that was the use case for sets. They were hashmaps right?
They are hash based, yeah
You can't have random.choice on sets though
If you need to do a choice out of a static collection, you should probably go with a tuple
Yeah hmm...
>>> tup = tuple(range(100))
>>> getsizeof(tup)
840
>>> getsizeof(set(tup))
8408
>>> getsizeof(list(tup))
856
yyyyeah
Oh wow...
What got me thinking was the use of sets in the asyncio.wait documentation's note. https://docs.python.org/3/library/asyncio-task.html#asyncio-example-wait-coroutine
Because they used a set for some reason.
This kind of sucks
Deprecated since version 3.8: If any awaitable in aws is a coroutine, it is automatically scheduled as a Task. Passing coroutines objects to wait() directly is deprecated as it leads to confusing behavior(this is a hyperlink to the link I sent).
getsizeof() return bits?
its a built in function in stdlib?
Can't imagine it returning bytes
It's in sys, returns bytes IIRC
ohok
Huh
?
You can't really address bits, bytes would be the smallest addressable unit
Yeah no I don't think so? All values are dividable by 8.
>>> help(getsizeof)
Help on built-in function getsizeof in module sys:
getsizeof(...)
getsizeof(object [, default]) -> int
Return the size of object in bytes.```
Oh, alright.
ook
You can manipulate bits, but addressing is done byte-wise
I guess it was appropriate to use sets for two reasons:
- No two tasks will be the same internally, even if they run the same coroutine
- Tasks themselves may be executed out of order, and that's parallel to how sets are unordered containers
hemlock is online
I found it weird how dividing 856 by 8 gave such a fitting number of bytes for a tuple with 100 items (107).
Yeah I guess haha.
wait...
its 856 bytes
so bits = 856 X 8 right
divide?
That's because everything is stored as pointers, and a pointer on a 64 bit machine would be 8 bytes
what is 107 here
1 bit = 8 Byte.
Ah.... right
8 bits = 1 byte actually
Yeah I got that the wrong way around
jeez that's drastic
That's due to the way hashsets are organized internally
the larger the set, the less likely a hash collision is
so you sacrifice space for speed, effectively
yea
F*** this 50 message talking S___
Found the kid
yeah
I mean hey I've been here killed than a year and I have 13000
The number of "voice spammers" has reduced considerably
Voice gate has significantly improved the quality of our voice channels and stopped all the low effort trolls and spammers
I sent 5989 messages and I joined only 35 days ago
It's half an hour and one good conversation
haha. people be joining random servers just to troll voice chat LOL
5891 in 29 days >:)
You are not allowed to use that command here. Please use the #bot-commands channel instead.
rip
hey guys can someone help me with socket in javascript
im using a python socket server and i can't connect my javascript program with it
the error is:
Uncaught DOMException: Failed to execute 'send' on 'WebSocket': Still in CONNECTING state.
ping me if you want to help me
Mr. Hemlock is an admin
... there goes #python-discussion ...
he is in the vc nearly everyday lol
yep, totally talked to him in there today
You can check #voice-chat-text-0 I'm sure he commented on something
He's been around.
at night especially lol
that might be a time zone thing
at night (THE TIME AT WHERE I LIVE)
Do you think it's possible to chroot into the steel linux install of a dual boot system from a virtual guest machine (running Linux) from the steel Windows install.
I think you can mount a remote file system with some command i forget, but it involves ssh
Maybe this is how it could be done
As long as you have access to the disk, yeah
So... .that is what i was thinking, i would need to identify the block device to attempt that.
I mostly work in a VM now. Ever since I got vmware workstation and on my better system, its just too seamless.. I mostly am booting Windows and just only using virtual machines now.
Yea, he's generally 9-5 EST
hah
like right now, 10EST
ohok
oh boy, they would need more than a new tracker here, but that would be a topic for, well, off-topic
@solid pollen what we'd need is existing vaccinations
?
Haha
a week ago the vaccinations were barely in the 100s
We would need something

