#ot1-perplexing-regexing

1 messages ยท Page 513 of 1

plucky ridge
#

Assuming you have read permissions, that is

#

@rough sapphire

rough sapphire
#

@plucky ridge Sorry, wrong chat!

plucky ridge
#

No worries!

rugged quarry
#

yo

lunar shore
#

?

rugged quarry
#

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?

lunar shore
#

algonix.* , maybe

#

(by .* I meant any domain , .com , .net , .org ...)

surreal otter
#

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

rugged quarry
#

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

surreal otter
#

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

rugged quarry
#

thanks for the advice, will do

surreal otter
#

I'm actually interested in this project, as I've been batting it around

#

curious to see a new take

edgy crest
#

haha yeah, though we ended up having punishment for 20 laps when he figured that it was us and not infinite shampoo

blissful lake
mellow spire
#

well i got a problem, when i clone a repo using pycharm proffesional, pycharm loses suddenly

inland wolf
#

have y'all used KWGT on android?

inland wolf
#

no i havent, you?

edgy crest
scarlet wind
#

lol

scarlet wind
rough sapphire
#

What's that? @inland wolf

inland wolf
#

custom widgets

#

Kustom*

#

i think thats what KWGT stands for

rough sapphire
#

Is it Python?

edgy crest
#

kwargs were good too

inland wolf
#

no its not python

rough sapphire
#

Then I'm a happy man

inland wolf
#

u can make ur own widgets

#

for the home screen

#

and its super customizable

rough sapphire
#

Nah haven't heard abt it

inland wolf
#

i wish i was a good designer

#

i see

#

they used coding and algorithms

rough sapphire
#

Doesn't everyone?

inland wolf
#

u didnt get it

inland wolf
#

damn

floral viper
#

anyone know what this ot name is from? I seem to recall it but I am not certain

sonic river
#

they used coding and algorithms so that the drone don't fly into each other

acoustic moss
#

that's a small url

twin charm
#

yea idk why its soo long

violet flame
#
if goingToCrashIntoEachOther: 
    dont()
inland wolf
#

classic pwogwammer meemz

twin charm
#

illegal code:

solid pollen
#
True, False = False, True```
twin charm
#
x = 1
x += 1
print(x)
2
x = 1
x -=-1
print(x)
2
twin charm
#

anyone familiar with tkinter sticky command?

#

its not working for me.

#

ping me when you reply

rough sapphire
#

uh

scarlet wind
#

@twin charm show the code :/

twin charm
#

@scarlet wind

acoustic moss
inland wolf
#

๐Ÿฅ›

#

closest i could find boss

#

i dont have nitro

rough sapphire
lunar shore
#
for x in range(99999999999999999999999):
  x = -x

๐Ÿ™‚

grand ruin
#
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

solid pollen
sand inlet
#

@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

quasi wigeon
#

So helium for example is open?

sand inlet
#

is it in the "available help channels" category? beethinking

#

hint: no, it's in "occupied help channels"

quasi wigeon
#

Wow they change quick

#

It wasnt in occupied chanels when I saw

lunar shore
#

That's kind of dangerous though

rough sapphire
#

true

lunar shore
#

Copies the file infinitely , changing the number
That's kinda not legal

rough sapphire
#

oh crud, youre right

#

!e ```py
True, False = False, True

print(True)
print(False)

royal lakeBOT
#

You are not allowed to use that command here. Please use the #bot-commands channel instead.

solid pollen
#

That won't work in 3.x

rough sapphire
#

sad

quiet lagoon
#

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

lunar shore
#

y not vscode @quiet lagoon . they are just as heavy , and vscode has more features

quiet lagoon
#

was using vscode before, wanted to try smth new

compact canopy
#

personally I'd use PyCharm

quiet lagoon
#

I don't only use Python

compact canopy
#

Ah, fair enough.

#

I pretty much only write Python and C - family languages, so I use PyCharm, Rider, and CLion.

quiet lagoon
#

I spend a lot of time on web stuff

compact canopy
#

VSCode just doesn't feel right to me

lunar shore
#

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

compact canopy
#

Yeah, I definitely prefer VSCode over Atom, but I just want an IDE, yknow?

lunar shore
#

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

rough sapphire
#

Yes indeed I must agree with Rader

compact canopy
#

I feel that, but also I've got the system power, so

quiet lagoon
#

I'm on 4 gb ram lol

#

But electron still seems happy ๐Ÿคท

lunar shore
#

at least it doesn't take 1 minute to open neovim , doom emacs or vscode @compact canopy

quiet lagoon
#

I like beauty in my apps so vim/emacs aren't what i'm going for

lunar shore
#

vim can be pretty beautiful

quiet lagoon
#

I mean, I've got a nice colour theme and font in my terminal, but it's still a terminal

compact canopy
lunar shore
lunar shore
compact canopy
#

seriously?

#

I've never had issues loading it

lunar shore
#

Well , neovim opens in matter of miliseconds , so I love it

compact canopy
#

fair enough

quiet lagoon
lunar shore
quiet lagoon
#

loads in ~5 s

lunar shore
#

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

violet flame
#

atom and vs code are both electron based text editors owned by microsoft

#

so one's gotta go at some point

compact canopy
#

They're both open-source tho

#

so

quiet lagoon
#

I mean, the package managers might go, but they're open source...

lunar shore
#

gtg btw

#

byee

quiet lagoon
#

cya

inland wolf
#

yes

simple sand
blissful umbra
#

how strange

opaque hemlock
#

hello

blissful umbra
#

hello

blissful umbra
#

if u saw his twitter response to that ull understand

#

elon musks response

ruby fox
#

i need a help, can anyone help me?

simple sand
latent scaffold
#

.-.

solid pollen
#

It depends on the number of installer plug-ins

topaz aurora
#

Gotta love it when my Haskell LSP starts to chug because of how much comment text I have on it

solid pollen
#

With my average modern computer, it takes 5 seconds or so without any plug-in

acoustic moss
#

yeah it's pretty fast for me too

ruby fox
#

me to

acoustic moss
#

Maybe not exceptionally fast, but reasonable

topaz aurora
#

It's not a RAM issue either, mine's misconfigured to keep linting while I type, which makes me sad

ruby fox
#

most fastest opening software goes to ........................... terminal

ruby fox
#

no notepad gets launched due to terminal

solid pollen
#

I think /bin/true is the fastest program you can have

acoustic moss
#

Me on windows: confusion

twin charm
#

๐Ÿค”

solid pollen
#

The whole program is

int main() {
    return 0
}```that's it
twin charm
#

whys there a program like that over there

acoustic moss
#

why not

solid pollen
#

It is useful in shell scripts

twin charm
#

wait it comes with the os

solid pollen
#

Yep

#

It is part of binutils

twin charm
ruby fox
#

the most fastest code is 1 + 1 = 10

#

(speaking in binary)

twin charm
twin charm
solid pollen
#

That isn't true

#

nop is the fatest

twin charm
#

nop?

acoustic moss
#

nop.

solid pollen
#

It is the... the... mnemonics (?) for no-op, the instruction that doesn't do anything

twin charm
#

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?

solid pollen
#

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

twin charm
ruby fox
#

binary will be like

#

seeing nop

solid pollen
#

Yep

#

Well, it doesn't do anything, but it still run the CPU side effects, such as incrementing the instruction counter

ruby fox
twin charm
#

whats binary got to do with nop

solid pollen
#

Well, the CPU will see the nop

ruby fox
#

no binary, no computer

solid pollen
#

The nop will be in the binary

acoustic moss
#

0

ruby fox
#

0 is also binary

solid pollen
#

But the binary isn't something that will process data, so you can't really say that it see the nop

ruby fox
#

please at least say no

twin charm
#

no

#

sorry lemon_pensive

ruby fox
#

thats good

twin charm
#

I checked out the website tho.

#

๐Ÿ‘

ruby fox
#

that website is like just under the tip of iceberg called internet

twin charm
#

did I just access the dark web

solid pollen
#

That's not how you access the dark web haha

twin charm
#

deep web*

#

?

solid pollen
#

By definition if you use http(s) you are outside of the dark web

twin charm
#

ooo

solid pollen
#

The deep web is the web that isn't referenced by search engine

tranquil orchid
#

Oh is that what the "dark web" is

#

So it's just not using HTTP

#

lmao

#

Spooky scary

twin charm
tranquil orchid
#

I'll stick to HTTPS thank you

acoustic moss
solid pollen
#

There's deep web everywhere actually, and you use the dark web pretty regularly

tranquil orchid
#

Is there a reason for that? Like why doesn't everything normal just use HTTP(S)

solid pollen
#

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

hearty sluice
tender silo
#

almost everyone must've watched this lol

simple sand
#

ye xd

robust turtle
#

Does anyone know how discord picks "relevant" message when using search?

tall ermine
#

@tulip eagle

#

start

tulip eagle
#

is this off topic

tall ermine
#

yes

#

start the race plz

tulip eagle
#

i dont even know if this exists \

#

starting now

ruby fox
#

!e

royal lakeBOT
#

You are not allowed to use that command here. Please use the #bot-commands channel instead.

tulip eagle
#

what happened

#

@tall ermine

tall ermine
tulip eagle
#

hey

#

just delete them

#

you can correct them using backspace

tall ermine
#

ye didn't know

#

create a new one

tulip eagle
#

no worries

#

@tall ermine what happened

tall ermine
#

othing

#

62wpm horrible i don't like how the words dissapear

#

@tulip eagle were u playing with me?

tulip eagle
#

yes

tall ermine
#

this one?

tulip eagle
#

yes

tall ermine
#

oh

tulip eagle
#

you on fire

#

comeon

tall ermine
#

yeye

#

I'll go now gg

tulip eagle
#

you gotta go

#

bye

toxic shore
#

who have nitro

#

@nitro

twin charm
#

anyone?

#

gg

honest pawn
#

.topic

median domeBOT
#
**What was the last movie you saw in a cinema?**

Suggest more topics here!

void grove
#

Tenet

twin charm
#

awesome

#

christopher nolan ๐Ÿ‘Œ

honest pawn
#

Probably Shazam or something
It's been a while

void grove
twin charm
#

crainj

honest pawn
#

Ight

twin charm
#

my favourite english movie must be ford vs ferrari

#

jojo rabbit is dope

honest pawn
#

Ford v Ferrari was a good one, yea

twin charm
#

awesome!

#

did you watch 'dunkirk'?

honest pawn
#

No

#

I don't watch many movies
Mostly memes

ruby fox
#

dot product of vectors is scalars

graceful basin
#

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
ruby fox
#

did you understand?

simple sand
#

smh ot has become python general

drifting sage
#

My Nitro ends in 2 days, I'm sad sad

spice flame
#

anyone else stuck on a subway train

twin charm
#

^^cricket noises^^

twin charm
deep drum
acoustic moss
#

k

lunar shore
#

Will your custom tag go away when your nitro finishes?

deep drum
#

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 ๐Ÿ˜ข

scarlet wind
lunar shore
#

Ah

scarlet wind
#

it is being handled by the discord itself I assume

#

like the server boosting thing

lunar shore
#

I see

solid pollen
deep drum
#

like all movies from books, the movie wasn't 'bad' but it didn't do the book any justice imo

lunar shore
#

I prefer books over movies personally

#

I enjoy them more

deep drum
#

book was far superior experience.

uneven pine
#

I don't have time to watch movies

#

let alone read books

deep drum
#

apparently ready player two book came out. don't read much anymore but considering getting it now

quick ledge
lunar shore
#

Vee vek lmao

#

Did someone misspell your name or something XD

quick ledge
#

lmao, it's an admin or a mod

lunar shore
#

lol

scarlet wind
quick ledge
#

they are A ๐ŸšŒ ing their powers

scarlet wind
#

lmao

lunar shore
#

lawl

quick ledge
#

lmao @quick ledge

scarlet wind
#

are you sure you not doing this?

lunar shore
#

XDDD

#

I thought it's vivek fr

scarlet wind
#

bruh

lunar shore
#

lol

#

next is me eh

#

XD think

scarlet wind
#

test

lunar shore
#

Think ...

#

Nice

scarlet wind
#

Think was totally not me

lunar shore
#

Huh

scarlet wind
#

lol

lunar shore
#

lmao

#

Okay

scarlet wind
#

Covid 19 be gone

acoustic moss
#

k

lunar shore
#

Covid-20 be back

acoustic moss
#

no

scarlet wind
lunar shore
#

Nope

scarlet wind
#

It will be

lunar shore
#

But not yet

#

dead is not future, so yeah

scarlet wind
#

covid 19 vaccine hopefully till March ๐Ÿคž

quick ledge
scarlet wind
#

ha xD

lunar shore
#

Welp , it's not gonna be imported to Iran , and it's because of our "leader" ๐Ÿ™‚

scarlet wind
#

huh

lunar shore
#

Oh wait actually ... they are importing from China ...

scarlet wind
#

bruh

lunar shore
#

And the Chinese one is not ... the best

#

It's just ....

#

You know

#

A bit too many side-effects

scarlet wind
#

I think China is in Phase 3

lunar shore
#

What does that mean

scarlet wind
#

like vaccine have phases

lunar shore
#

And what's the third phase

scarlet wind
#

Phase 1 is the first test

#

wait I think

#

phase 1 is the introduction

lunar shore
#

There is a problem
side effects are a thing

scarlet wind
#

phase 2 is the how it will affect and what are the causes of it

fringe sun
#

that is true ๐Ÿคฃ

scarlet wind
lunar shore
#

And it has so many side effects

#

The one that we are importing I mean

scarlet wind
#

phase 3 is tested on the humans

fringe sun
#

lmaooooooooooo

scarlet wind
lunar shore
#

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

lunar shore
#

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

scarlet wind
#

vaccine for money hell nah

lunar shore
#

And no racist , but Chinese food is so unique

scarlet wind
#

that would be hell

lunar shore
scarlet wind
#

bruh

lunar shore
#

And the people didn't decide , since dictatorship

scarlet wind
#

Our gov has announced to provide vaccine for free

lunar shore
#

Hah, we will get that for free, when pigs fly!

scarlet wind
#

but I am not sure if it's only for the Residents who live in the country or the neighboring countries as well

lunar shore
#

Well , Iran is not only a third world country , but also dictatorship is there , so we're not gonna be okay here

scarlet wind
lunar shore
#

Hmm

stuck lichen
#

hi

#

there

violet roost
#

hello

fringe sun
#

hi

#

how ru? ๐Ÿ™‚

stuck lichen
#

fine thanks

fringe sun
#

i saw u on python general lol

#

@violet roost

violet roost
#

mhmm

fringe sun
#

lol everyone was mad this is the off topic correct place everyone was telling me to go to right?

violet roost
#

mhm

#

one of the three

fringe sun
#

i'm new to the server so yeah

#

i didn't know i thought general meant general chat

#

how ru anyways?

violet roost
#

me, or MCTRACO?

fringe sun
#

both

#

anyone lol

#

dm

violet roost
#

nah, thanks

#

I don't do DMs in general

#

Me, I'm good rn

#

busy with dataclasses in a program

fringe sun
fringe sun
#

i'm rlly new to coding but excited

violet roost
#

aha

fringe sun
#

wld u recommend mosh's python tutorial

#

?

#

the beginners one is he good?

violet roost
#

I've never watched it, sorry

#

generally I stick to the ones in

#

!resources

royal lakeBOT
#
Resources

The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.

fringe sun
#

oh nice thxs

#

where do u start? ll

#

lol

eternal wing
fringe sun
#

i just rlly hardly understand the codign world

eternal wing
#

he has a beginner tutorial that starts you from absolutely nothing.

fringe sun
#

what it does

#

i mean i know what it does

violet roost
#

I'm gonna get back to my project, or it'll never be done

fringe sun
#

kind of

violet roost
#

cya

fringe sun
#

thxs

eternal wing
#

this is a whole playlist

fringe sun
#

that's rlly helpful thanks bro

eternal wing
#

I did not use this one, but I have found all of his tutorials awesome.

fringe sun
#

book?

eternal wing
#

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

fringe sun
#

oh lol

eternal wing
#

then I used corey schafer to learn django

fringe sun
#

cool

#

oh soz gtg

#

bye

#

meeting

eternal wing
#

Now I just use the docs and figure things out while I do projects. Okie, hope you stick with the programming ๐Ÿ˜„

fringe sun
#

lol

rough sapphire
#

How would you shorten the word mutation in a function name?

torpid shuttle
#

I think anything less than mutate wouldn't be easily recognisable

rough sapphire
#

The issue with mutate is it's a verb not a noun

torpid shuttle
#

what sort of context are you using it in?

rough sapphire
#

I'm naming a react hook, which represents a mutation

#

useUserDBMutation

#

i'm not sure if I should / could shorten that

placid jungle
#

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?
torpid shuttle
#

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

young shoal
#

@placid jungle in python, index -n is just index len(list) - n

placid jungle
#

@young shoal and how can i in java?

#

lasIndexOf? @young shoal

#

im searching it

young shoal
#

...

placid jungle
#

it says lastIndexOf

young shoal
#

that's a string method

placid jungle
#

ok but how can i manually?

young shoal
#

you want the last index of an array no?

placid jungle
#

yes

young shoal
#

in python that would be array[-1] or array[len(array) - 1]

placid jungle
#

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
#

dude

#

how do you find how many elements are in an array

placid jungle
#

@young shoal loop

young shoal
#

no

placid jungle
#

length

#

array[length(array) - 1];

#

like this?

young shoal
#

length isn't a function in java

placid jungle
#

AAAAAAAAAAA

#

i split the sentenc

young shoal
#

array.length

placid jungle
#

*sentence

#

Oh ok

#

array.length

#

array.length - 1?

young shoal
#

yes

placid jungle
#

lmao ok ok so it d be this
array.length - 1 = "";

young shoal
#

no

#

you want to set the element in the array

placid jungle
#

no

#

i want to delete it

#

i want to do this

young shoal
#

well, you can't do that, so

placid jungle
#
del array[-1]```
#

but in java

young shoal
#

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

placid jungle
#

splitsen[splitsen.length-1]=" ";

young shoal
#

that has a space in it, but yeah

placid jungle
#

it worked now

#

@young shoal whats the meaning of your pfp?

young shoal
#

wdym

placid jungle
#

never MIND

#

@young shoal do you know python java and other languages too?

young shoal
#

i'm best at python and java, but i'm learning rust and swift

placid jungle
#

@young shoal look at this super hacker

#

congratulations

young shoal
#

what

placid jungle
#

congratulations

acoustic moss
young shoal
twin charm
lunar shore
#

lawl

simple sand
#

@solid pollen hey I quite don't get how it Markov chain would generate text.
Could u elucidate on how it would do that?

twin charm
#

I just realised that akarys was a mod

#

from 4th Jan only

#

Mandela effect. I remember him as a mod in december also

acoustic moss
#

me too

#

pretty sure he was a mod when I joined

twin charm
acoustic moss
#

Pretty sure we're right

twin charm
acoustic moss
#

yeah ik i've seen that

twin charm
#

so whats your point?

acoustic moss
#

hm

#

prolly was a helper and i'm confusing colours

twin charm
#

I swear to god akarys was a mod in december

twin charm
solid pollen
acoustic moss
#

Oh so I'm not crazy

#

good to know

twin charm
#

ohok

solid pollen
twin charm
#

im not having brain injury then

rough sapphire
#

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

last mantle
#

Windows 10x looks real good!

rough sapphire
#

?

twin charm
#

it was a joke ig

rough sapphire
#

what are you talking about

#

(not asking)

twin charm
last mantle
#

lmao

#

check it out

#

UI revamp

#

!!!

twin charm
last mantle
#

uhh tech stuff

twin charm
#

I feel like im living under a rock

twin charm
#

lmao

last mantle
#

do so

#

security updates are important

tiny robin
#

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 ?

twin charm
twin charm
last mantle
#

or is it your parents stopping you?

twin charm
last mantle
#

oh

#

lol

tiny robin
#

๐Ÿ˜„

twin charm
#

when i try updating -> storage is less message

#

there isnt anything to uninstall

#

only python

tiny robin
#

Is there a channel for discussing data models ?

#

or is it just the help channel ?

#

or am i blind ?

twin charm
#

data models = data structures?

tiny robin
#

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 ๐Ÿ™‚

twin charm
#

hahahah

scarlet wind
#

thx

twin charm
#

hahastinkypoop pinged arnav

acoustic moss
#

riight

scarlet wind
#

ghost ping is against the ToS

uneven pine
#

This is why I have a bot feature to display ghost pings

tender silo
#

wait ghost pings are agains discord tos

#

damn

uneven pine
#

Talking in discord is against discord tos

split thistle
#

@twin charm there's something wrong with my Python too, I keep getting this error:

uneven pine
honest pawn
surreal otter
#

I'd say there's something wrong with your CDKey

#

license? Whatever they call em nowadays

split thistle
#

I think it's Python

#

๐Ÿ˜

frozen crane
#

Hey graphs

#

do you guys prefer directed or undirected graphs?

young shoal
#

dag

young shoal
solid elbow
#

That's like asking if you prefer hammers or screwdrivers

#

Screwdrivers, obviously.

bleak lintel
#

dag is the best

ashen plank
#

@violet wadi

quick scroll
quick scroll
#

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

lunar shore
#

@quick scroll Just a quick tip : Don't push your builds to the main repo , make a releases page for it ๐Ÿ˜…

quick scroll
#

@lunar shore

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

floral viper
remote socket
#

@bleak lintel it's time for you to show your graphs

bleak lintel
#

no no

#

we're talking GRAPH graphs

#

not data graphs

remote socket
#

graphs are graphs

rough sapphire
#

graph is graph

frozen coral
winter terrace
frozen crane
#

What does anyone want to talk about?

frozen crane
surreal otter
#

the insurrection?

shell raptor
#
@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

simple sand
#

this latex?

shell raptor
#

...updated a bit, here's the result. You may need to download the video, as discord refuses to play it.

shell raptor
#

Yo, it works here!

acoustic moss
#

noice

shell raptor
#

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

rough sapphire
#

The similarity makes sense though

oak tangle
#

Hey @shell raptor do you like 3b1b?

shell raptor
#

yeah

oak tangle
#

figured

#

who doesn't though

shell raptor
#

yeah, I know about manim

simple sand
#

3b1b?

#

what's that

oak tangle
#

one the most interesting channels on youtube

shell raptor
#

If you're making a white-on-black animation using LaTeX with in-out easings, it's inevitably going to look like 3b1b ๐Ÿ™‚

simple sand
#

ooh

oak tangle
simple sand
#

oh he focus on maths, btw @oak tangle you seem to know a lots about maths

oak tangle
#

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

simple sand
#

like pseudo is one

oak tangle
#

So I'm a math failure

simple sand
#

that's still cool nonetheless

simple sand
oak tangle
#

We could summon @shadow jetty

#

fix seems to be pretty deeply into math, not sure how deep

simple sand
#

oh he is a mathematician didn't know

simple sand
oak tangle
#

It once was. I'm old.

simple sand
#

wdym was?
majors don't expire

oak tangle
#

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

simple sand
#

Oh Cool, so you have a history withs maths.
That's pretty dope

oak tangle
#

And what a turbulent history it was.

#

Anyway, yeah, I do still like maths

#

But just from a casual distance

simple sand
acoustic moss
#

manim was made by 3b1b

simple sand
#

mani,?

oak tangle
simple sand
#

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 ...

โ–ถ Play video
#

Obviously mathematics doesn't have a finish

#

but still

shadow jetty
#

if you want some insane math videos there's https://www.youtube.com/channel/UCIyDqfi_cbkp-RU20aBF-MQ

#

This guy has a fields medal btw

simple sand
#

what's that

shadow jetty
#

it's the most prestigious math award

honest star
#

oh damn

simple sand
#

oh wow

shadow jetty
#

the "nobel prize" for mathematics basically, but only given every 4 years

simple sand
#

that's very impressive

solid pollen
#

@tulip nacelle please don't ask in all 3 channels too

full hare
#

#freedomm

surreal otter
#

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?

manic bloom
#

this They broke the law, and they will be punished for it

woven idol
#

Normally discussing polarizing political topics in considered bad behavoir on this discord. However, I feel that violent insurection goes beyond politics.

shadow relic
#

how on earth do we message 50 times without seeming like you are spamming

surreal otter
#

and I say orange in the best of ways, not the presidential kind

#

Civil is the key part of conversations on this server

high verge
#

yeah it's generally very good on this server

surreal otter
#

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

woven idol
#

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.

woven idol
surreal otter
frozen crane
#

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.

surreal otter
#

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

woven idol
surreal otter
#

How long have you been?

woven idol
# frozen crane Problem is, those people really have been deluded into believing that US electio...

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.

surreal otter
#

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

woven idol
# surreal otter Welcome to America, land of corruption

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.

surreal otter
#

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?

frozen crane
surreal otter
#

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

frozen crane
surreal otter
#

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

rough sapphire
#

i saw joe u say mama

scarlet wind
#

Bisk give me a hat

winter terrace
#

wuh oh politics that's not poggers

rough sapphire
#

Maybe not always not poggers

#

(User tagged upon editing. Hooray)

sand inlet
#

@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
simple sand
#

huh?

#

oh right

runic wigeon
#

I wish there was a real death note

edgy crest
#

what you thinking, killing the whole world?

twin charm
woven citrus
#

does anyone here go to/went to MIT?

scarlet wind
uneven pine
#

May I have an angled hat?

rough sapphire
woven idol
# surreal otter

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.

surreal otter
#

They love strawmen, they ARE the victim, even when they are murdering police officers

surreal otter
#

That's a first

frozen crane
#

Welcome to Hemlock's horrible admin cabal.

mellow spire
#

Thanks for your warm welcome.

mellow spire
#

he is active in dev/media channels and sometimes in vcs

soft violet
#

A rare treat was Lemon playing the keyboard and singing around Christmas.

#

On video voice chat.

uneven pine
#

Welp, I'm back to square -1

uneven pine
uneven pine
#

And apparently you can't embed pdf files in electron...one step forward three steps back

frozen crane
#

He's actively involved behind the scenes.

terse sluice
#

admins+ mostly work quite a lot behind the scenes for this community

acoustic moss
#

thanks

terse sluice
#

it's very much worth it, we all love this community very much.

#

anyway, i should really be heading off to sleep, goodnight ๐Ÿ‘‹

kindred sorrel
#

sleep is for the weak

inland wolf
#

have y'all used windows with animations turned off?

#

its very weird

#

yet fast

topaz aurora
#

Not really

inland wolf
#

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

raven birch
rough sapphire
#

Eyo

simple sand
#

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

mellow spire
#

ask in microsoft-python

#

the patnered server

graceful basin
#

@simple sand it should respect #type: ignore

simple sand
#

leme try that

mellow spire
#

isn't that for pylint?

graceful basin
#

It is universal afaik

woeful cipher
#

# noqa could work too?

remote fractal
#

Could anyone give me a calculator code

twin charm
#

isnt hemlock a mod

acoustic moss
#

admin

twin charm
#

ohok

#

I always see him in the voice chat

#

do you want to hear good news?

#

I had an exam at 3pm today

twin charm
#

and I missed it.

inland wolf
#

microsoft's calc is open source

#

cool

#

agree

twin charm
#

wasnt git made by linux? and microsoft is using it for source code? LOL

inland wolf
#

yes

#

and so is almost everyone else

#

who wants to open source

graceful basin
#

svn is also quite common

inland wolf
#

yes

twin charm
#

whats svn

inland wolf
#

subversion?

#

lol

twin charm
inland wolf
#

i think

graceful basin
#

ye

#

it is another version control system

#

there is also mercurial, which I never saw in practice

twin charm
#

why do people call it 'version control'? I always call it 'command-line method to upload to github'

inland wolf
#

cuz it tracks the changes u make to ur code

graceful basin
#

because you can use git without github

inland wolf
#

yes ^

graceful basin
#

I mostly use local repos

inland wolf
#

github is just a hub of git repos

twin charm
inland wolf
#

git can track the changes u make to ur code so u can rollback if u mess up

twin charm
inland wolf
#

yes

twin charm
inland wolf
#

u dont have to upload it to github

twin charm
#

git stash or smth

twin charm
graceful basin
#

well, you always have a local repo

inland wolf
#

yea

graceful basin
#

but you sometimes also bind it to a remote repo

twin charm
#

others can push or pull from our local repo?

inland wolf
#

no

twin charm
#

then whats the point of git for local repo

inland wolf
#

not just by doing git push

graceful basin
#

so that you get versions

inland wolf
#

yes

graceful basin
#

and a commit history

twin charm
#

rolling back changes?

#

ohh

inland wolf
#

yes

#

and u can make branches

twin charm
#

that also u can do??

inland wolf
#

yes

twin charm
#

wow

#

but only 1 person can work on a local repo right

graceful basin
#

to an extent yes

twin charm
#

ohk

acoustic moss
#

not if 2 people use the same computer ๐Ÿง 

twin charm
graceful basin
#

still doesn't really work

#

since you can't checkout a local repo into 2 local directories afaik

#

but maybe you can

#

idk

twin charm
#

can users download clone a particular code base that is an older version?

inland wolf
#

the commit history will show only one person

twin charm
#

ohk

#

I made particular folder in my repo
version 1.0
version 1.2

inland wolf
twin charm
#

version 1.3

twin charm
#

how can you allow a user to clone an individual folder in a repo?

#

is it possible?

twin charm
inland wolf
#

thats the point of version control

twin charm
#

yeah but you cant download old versions right

inland wolf
#

so that u dont need to keep making new folders for new versions

inland wolf
twin charm
#

oh

#

thanks da

inland wolf
#

:)

viscid hemlock
#

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?

acoustic moss
#

I mean
they have completely different use cases

viscid hemlock
#

Yeah, I guess.

round rose
#

tuples are significantly more efficient memory-wise, though sets are optimized for quicker membership tests and set operations

viscid hemlock
#

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?

round rose
#

They are hash based, yeah

acoustic moss
#

You can't have random.choice on sets though

round rose
#

If you need to do a choice out of a static collection, you should probably go with a tuple

viscid hemlock
#

Yeah hmm...

round rose
#
>>> tup = tuple(range(100))
>>> getsizeof(tup)
840
>>> getsizeof(set(tup))
8408
>>> getsizeof(list(tup))
856

yyyyeah

viscid hemlock
#

Oh wow...

#

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).

twin charm
#

its a built in function in stdlib?

viscid hemlock
#

Can't imagine it returning bytes

round rose
#

It's in sys, returns bytes IIRC

twin charm
viscid hemlock
#

Huh

twin charm
#

?

round rose
#

You can't really address bits, bytes would be the smallest addressable unit

viscid hemlock
#

Yeah no I don't think so? All values are dividable by 8.

round rose
#
>>> help(getsizeof)
Help on built-in function getsizeof in module sys:

getsizeof(...)
    getsizeof(object [, default]) -> int

    Return the size of object in bytes.```
viscid hemlock
#

Oh, alright.

twin charm
#

ook

round rose
#

You can manipulate bits, but addressing is done byte-wise

topaz aurora
# viscid hemlock Because they used a set for some reason.

I guess it was appropriate to use sets for two reasons:

  1. No two tasks will be the same internally, even if they run the same coroutine
  2. Tasks themselves may be executed out of order, and that's parallel to how sets are unordered containers
twin charm
#

hemlock is online

viscid hemlock
#

I found it weird how dividing 856 by 8 gave such a fitting number of bytes for a tuple with 100 items (107).

twin charm
#

divide?

round rose
#

That's because everything is stored as pointers, and a pointer on a 64 bit machine would be 8 bytes

viscid hemlock
#

1 bit = 8 Byte.

round rose
#

8 bits = 1 byte actually

viscid hemlock
#

Yeah I got that the wrong way around

round rose
#

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

twin charm
merry marten
#

F*** this 50 message talking S___

quick ledge
#

not really, it's for the greater good

#

and 50 messages isn't even that hard

uneven pine
#

Found the kid

twin charm
uneven pine
#

I mean hey I've been here killed than a year and I have 13000

quick ledge
#

The number of "voice spammers" has reduced considerably

honest star
#

Voice gate has significantly improved the quality of our voice channels and stopped all the low effort trolls and spammers

twin charm
#

I sent 5989 messages and I joined only 35 days ago

honest star
#

It's half an hour and one good conversation

twin charm
acoustic moss
twin charm
#

!user

royal lakeBOT
#

You are not allowed to use that command here. Please use the #bot-commands channel instead.

twin charm
#

rip

crisp vale
#

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

inland wolf
#

what is a cabal

#

i see

#

interesting

hybrid pivot
#

who is Hemlock

#

and why do they have a evil cabal

golden walrus
#

Mr. Hemlock is an admin

honest pawn
rich moon
#

i havent seen hemlock for a long time

#

seems kinda sus

acoustic moss
#

he is in the vc nearly everyday lol

surreal otter
#

yep, totally talked to him in there today

soft violet
#

He's been around.

twin charm
quick ledge
#

that might be a time zone thing

twin charm
#

at night (THE TIME AT WHERE I LIVE)

stark oasis
#

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

solid pollen
#

As long as you have access to the disk, yeah

stark oasis
#

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.

surreal otter
twin charm
surreal otter
#

like right now, 10EST

twin charm
#

ohok

sharp merlin
#

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

twin charm
#

?

solid pollen
#

Haha

sharp merlin
#

a week ago the vaccinations were barely in the 100s

solid pollen
#

We would need something