#ot1-perplexing-regexing

1 messages ยท Page 567 of 1

rough sapphire
#

I see

wraith hound
#

@rough sapphire Sorry for pinging you in off-topic, but this isn't only Python.

#

With Node.js, JS has become much more powerful, and can do many things that Python can do as well

prime aspen
#

But can it do strongly-typed

wraith hound
prime aspen
#

Genuine question: How close is TS' syntax to JS?

rough sapphire
#

interesting... I knew you could do a lot with JS but I didn't think it would come close to a general purpose pl, I know they are for different purposes but still... interesting

wraith hound
#

The syntax of the typings is pretty similar to type hints in Python

full needle
wraith hound
full needle
#

~~ ~~

brazen ingot
full needle
#

wow dont just silently edit now my line looks out of place ๐Ÿ˜ฆ

wraith hound
#

It was an accident and I can't spell ๐Ÿ˜”

wraith hound
full needle
#

lol

tardy rain
#

dawn hows that website going

brazen ingot
#

glorious helpers lol

wraith hound
#

But I'm still working on it

rough sapphire
brazen ingot
wraith hound
brazen ingot
#

oh i see

tardy rain
#

make it public, PRs welcome

wraith hound
wraith hound
full needle
rough sapphire
wraith hound
full needle
rough sapphire
#

so... even front end not being my primary goal node.js would be a must to learn as well?pithink

I plan to go the python-django path at first

@wraith hound

full needle
#

its broken

wraith hound
full needle
#

i wanted a red embed

#

~~im sure its beautiful compared to what bib writes lemon_pensive ~~

tardy rain
#

how bad can it be, its just a div and a p tag

fallow warren
#

๐Ÿ˜”

tardy rain
#

is this vuejs

wraith hound
#

Ya

tardy rain
#

uh

wraith hound
#

I was messing with it

#

.github repo dawnofmidnight/embed-builder

median domeBOT
#

An embed builder for Discord

full needle
#

i see the issue, initial commit on the 4th commit ๐Ÿ˜”

wraith hound
#

Oh

#

I commited more than once locally ig

tardy rain
#

i tried vuejs but maybe im too dumb to figure it out

#

gonna stick with react

wraith hound
#

React is nice

rough sapphire
#

vue is good. i like vue more.

#

especially vue2 is so structured

wraith hound
#

I like that Vue is more like HTML and JS separately, rather than a messy merge of the two

rough sapphire
#

exactly!!

nocturne fox
#

"we're-gonna-need-a-big.."

#

my pc wants my brain to go places

wraith hound
rough sapphire
#

brb in 4 min

#

so you know vue2 was so so good at its structure
for example

<html>
</html>
js{
  data(){
  },
  lifecycleMethods: {
  },
  methods: {
  },
  watchers: {
  }
}
<css />

in vue 3 they kinda did something like hooks

#

so you know it can be made like sphaghetti like people do in react.

wraith hound
#

Vue 3 format is nice imo

rough sapphire
#

i mean if you think about it, people can be so dumb while doing things in react(and its understandable as they don't realize its a wrong way.

I've seen people creating methods in render class.

wraith hound
#

But I've never seen the Vue 2 one

rough sapphire
#

you haven't seen vue2 one? hold lemme check if i have a sandbox

wraith hound
#

I just started to mess with Vue one or two days ago

#

But it's really nice

tardy rain
#

Got any decent tutorials besudes their docs?

#

I can use the mdn one, right?

rough sapphire
#

check this @wraith hound

wraith hound
#

I've just been using the docs

rough sapphire
#

its an old one and small one but you'll get it.

wraith hound
rough sapphire
#

yeah i need to see if they made big changes, their proposal syntax had a big conversation over these things.

#

because i think they planned to remove this json like structure, like putting methods at one place and watchers at one and all.

wraith hound
#

They may have

#

I haven't messed with it too much

rough sapphire
#

yeah thats what makes me dislike it a bit, because if you have this structure, your things are organized by their type,
and their point of view on that time was,

if you know how to not to mess up, you won't.

#

and well i had hella reasons to dislike react at that time.
the this.state tail everywhere, the make a new object thing(vue handles it gracefully, we can do .push() if we like)

and well vue doesn't cry over this.state and this.setState
its just
this.something.push('yay')
or
this.somethingElse = 'naye'

Altho after hooks things have changed for react, no more this.state.

wraith hound
#

Ooh, nice

wraith hound
rough sapphire
#

yeah but if you are using js in front end, using node can be beneficial in one way, you play with js more so you get comfy fastly.

rough sapphire
rough sapphire
sly sapphire
#

Here is a random joke:
Q: Why does Joe where glasses?
A: So he can c#!

rough sapphire
#

i dunno if i should ping joe for this ๐Ÿ˜‚

vapid nymph
#

Hey does anyone like vlc

wraith hound
#

vlc media player? Yeah, it's nice

vapid nymph
#

What about 200 vlc

vapid nymph
#

Over 200

#

233

#

250

wraith hound
vapid nymph
#

Keyboard shortcut and script malfunction

wraith hound
#

oof

vapid nymph
#

Just killed all of them

wraith hound
#

oof

rough sapphire
#

Lol anyone wanna see my dog?

dull gazelle
#

I am never going to say no to that

fallow warren
#

Where dog?

winter terrace
#

literally what

#

and it's only if i try to run it in vscode

#

works in regular terminal

wraith hound
#

Are you inside a venv or something?

winter terrace
#

idk

#

maybe vscode makes a venv automatically

wraith hound
#

I don't think it does

winter terrace
#

oh hold on

#

vscode is using the /usr/bin/python3 to run the files

full needle
#

wtf

latent scaffold
#

banned

rough sapphire
#

here

full needle
#

cute dog

#

๐Ÿ‘

dull gazelle
#

that is a very good dog

#

very strong

#

I love

ebon plinth
#

Bruh

#

I was just talking yesterday about not having motivation to work on my personal site

#

and now today I've made half-satisfatory progress ๐Ÿคฆ

#

still going

lost vortex
#

i kind of just of start a project, work on it half way through and get bored of it

#

i have like 10-15 unfinished projects XD

dark pike
#

hi

#

so

#

anyone here?

signal zodiac
#

but seriously when's python 4

latent scaffold
#

yes

latent scaffold
gleaming thicket
latent scaffold
gleaming thicket
#

oh ok lol

rugged echo
#

question: why is this a weird unicode question mark and why is there a trailing whitespace-

latent scaffold
#

oh. that's not trailing whitespace. it's just a thick question mark

#

๏ผŸ

rugged echo
latent scaffold
#

it's just really thicc

rugged echo
#

thicccccccccque

latent scaffold
#

yeth

mint void
#

when's python 4?

tardy rain
#

Nevwr

latent scaffold
tribal knot
#

Lol I love the name of this channel

deep nexus
#

when python 10

gilded prawn
#

it needs to be above ot0 lol

sinful mantle
#

@deep nexus so the thing is, thet article you linked, its main goal is transparency

deep nexus
#

yeah and that's great but

gilded prawn
#

that article doesnt actually say anywhere that people should be deplatformed, just that more transparency is needed

#

which makes it a very poor candidate for supporting that mozilla wants to censor people

sinful mantle
#

especially transparency about recommendation algorithms

#

Changing these dangerous dynamics requires more than just the temporary silencing or permanent removal of bad actors from social media platforms.

Additional precise and specific actions must also be taken:

Reveal who is paying for advertisements, how much they are paying and who is being targeted.

Commit to meaningful transparency of platform algorithms so we know how and what content is being amplified, to whom, and the associated impact.

Turn on by default the tools to amplify factual voices over disinformation.

Work with independent researchers to facilitate in-depth studies of the platformsโ€™ impact on people and our societies, and what we can do to improve things.

#

this is the main goal of th earticle

deep nexus
#

"Changing these dangerous dynamics requires more than just the temporary silencing or permanent removal of bad actors from social media platforms." I'm bad at language for some reason but this says to me to add some form of censorship

gilded prawn
#

as far as i can tell all the post really says is to give more information about who is doing what

gilded prawn
sinful mantle
gilded prawn
#

it was said in context so it needs to be interpreted in context

sinful mantle
deep nexus
#

yes but

#

"Turn on by default the tools to amplify factual voices over disinformation."

#

this is up to individual opinion

sinful mantle
#

linking to facebooks tool that amplifies authoritative sources

gilded prawn
#

if we're gonna take practical common examples that are used and seen in the wild, im sure most people would see that as promoting factual content and labelling misinformation, as opposed to deplatforming/censoring, since that's what youtube and twitter - as large examples - try to do currently

#

they dont always do an amazing job, but generally they tend to label a tweet/video as containing information subject to often being misleading, and link sources to find facts about it

sinful mantle
#

promoting some sources that are judged to be better in some way is far FAR removed from censorship, its literally the goal of a search engine

deep nexus
#

but this is manipulation of the promotion of information, we condemn this for search engines like google

gilded prawn
#

do we?

#

im not sure anyone really complains that google shows researched and factual information over the alternative

sinful mantle
deep nexus
#

@sinful mantle sure

sinful mantle
#

is the promotion of information censorship?

tardy rain
#

ie w3s spamming my results over anything substantial

deep nexus
#

random thought

gilded prawn
#

you can check for yourself, go search for something about vaccines on google and you'll see factual information before antivax propaganda

deep nexus
#

google promotion of information

sinful mantle
deep nexus
#

promotion of pro vax over anti vax is good

#

promotion of info saying global warming is a problem over it being non existant is good

#

but what happens when google uses it for it's own benefit

sinful mantle
deep nexus
#

yeah ok

#

one moment

gilded prawn
#

it's in google's best interest not to mess with its engine and results, else people will just leave for services like duckduckgo/bing/whatever alternative

deep nexus
#

is that better phrasing?

sinful mantle
#

yep

tardy rain
#

Its partly related, the way google ranks results isnt based on the validity of their content as much as how many links go in or out of the page

gilded prawn
#

google does a hell of a lot more than just backward references

tardy rain
#

But ofcourse valid content will have more connections, thats why you usually get articles and papers first

karmic gust
#

that... doesn't really hold

tardy rain
#

Yea i didnt say thats all they did but the example of w3s kinda shows that

gilded prawn
#

its also a world leader in machine learning, and you can bet a whole ton of magic box is shoved into google search, meaning just links dont do a huge amount on their own

sinful mantle
vapid nymph
#

shit lol

latent scaffold
#

yes

vapid nymph
deep nexus
#

good

latent scaffold
#

:|

near bolt
#
  do {
    int n = get_int("Positive integer:")
  }
  while (n<1);
  return n
}```
#

i dont get why for a do while loop the condition in while is what you don't want to get

rough sapphire
#

means? @near bolt

near bolt
#

but in the while loop it is

rough sapphire
near bolt
#

n<1

#

oh

latent scaffold
#

You want do while because you want to ask regardless of condition first

near bolt
#

oh right

#

that makes sense

rough sapphire
#

But yeah, it should be 0 or -1

rough sapphire
#

Yeah, do while asks at least once

latent scaffold
#

You could do while, and just initialize with n = 0 or something right before the loop

rough sapphire
#

or inf for loop and condition inside
fuck me dead but its also possible

latent scaffold
#

lol

rough sapphire
#
for(;;){
  int n = get_int("Positive integer:")
  if(n>0)
    return n
}
latent scaffold
#

Would there be a difference between for (;;) {} and while (true) {}

near bolt
#

is it if you want to do a while loop instead

#

you can but therell be more lines

rough sapphire
#

i like for(;;) more it seems more sexy

rough sapphire
near bolt
#

:(

latent scaffold
#

lol

rough sapphire
#

hey its not confusing!!!

#

people don't know precise syntax and because of this they get to know it!

near bolt
#

true

#

thanks

latent scaffold
#

I'd argue while (true) is more semantically explicit while for (;;) might be more programatically explicit

rough sapphire
latent scaffold
#

like... reading while (true) to us makes more sense

#

and to us is more explicit

#

but for (;;) is more specific to the computer

rough sapphire
latent scaffold
#

There's more rules that you're just voiding

#

basically

rough sapphire
#

we're not avoiding them.

#

they are optional and thats how we are treating them

latent scaffold
#

which is what I meant

rough sapphire
#

voiding yes.

#

still for(;;) seems more sexy to me ๐Ÿ˜

latent scaffold
#

I'm sure that goes against some standard, though

#

for(;;){} vs for (;;) {}

rough sapphire
#

i'm not sure about that, i have not had much things with linting in java and c

rough sapphire
#

?

inland wolf
#

for(;;) is just a flex

acoustic moss
#

can't imagine using it

latent scaffold
#

me neither

#

not that I use for loops that have that syntax

acoustic moss
#

totally not from any of my repos

inland wolf
#

is thta ur chemical balancer thing

acoustic moss
#

ye

vapid nymph
#

@solid pollen

#

Fuck where'd it go

#

...

solid pollen
inland wolf
#

yes.

bronze hornet
#

hi

dreamy stratus
#

is it true that java is no longer supported by google and i should learn kotlin instead?

inland wolf
#

for android dev, yes

dreamy stratus
#

i see

inland wolf
#

kotlin is preferred

dreamy stratus
#

for desktop apps, what language should i use? c#? js? python? java?

rough sapphire
#

but again, as coolgamer mentioned, if you are thinking only in terms of android, then kotlin.

inland wolf
#

c# for native windows apps

#

u can use js in web apps

#

or electron

rough sapphire
#

if you like js, people do you use electron

inland wolf
#

python also works but eh

rough sapphire
#

vscode is built on electron

inland wolf
#

java has some gui but idk

#

yes

#

and discord

dreamy stratus
#

so js is like

#

the best langauge

inland wolf
#

not necassarily

rough sapphire
#

nah i wouldnt say that

inland wolf
#

same

rough sapphire
#

people use Qt as well.

inland wolf
#

it has its weird shit

#

yes

dreamy stratus
#

you think desktop apps would look nice with python?

inland wolf
#

python does have qt bindings

#

but i havent tried it

rough sapphire
#

no language is best, its about what you want. and where you want.

#

that debate is childish.

dreamy stratus
#

yeah youre right

#

i honestly dont know what langauge to use for desktop apps

#

python would be the easy way since i alr know it

#

but im not convinced whether it would look nice

inland wolf
#

u can try using c# + .net for windows apps

#

or use xamarin

rough sapphire
#

you can always give it a try and move on if needed.

inland wolf
#

yes

rough sapphire
inland wolf
#

i didnt like it but apparently people make apps with it

rough sapphire
#

hello

#

nicely put in 3 words

dreamy stratus
#

hm okay i'll give it a thought

rough sapphire
#

and about opinion, any community will be a lil bit biased, unless they have used all.

inland wolf
#

yes

#

i am biased towards flutter

dreamy stratus
#

flutter can make mobile, desktop and web apps?

inland wolf
#

yes

rough sapphire
#

while I'm biased over js

inland wolf
#

yes

dreamy stratus
#

wait is it possible to create a machine learning model in python and a mobile app in flutter and combine them together

inland wolf
#

maybe

#

im not sure how u would do that but

#

probably possible

rough sapphire
#

yeah one work around would be an api call

dreamy stratus
#

oh

rough sapphire
#

you train model, you make api for data, you give prediction in return using model.

dreamy stratus
#

oh sick

#

aight thanks

rough sapphire
#

np

inland wolf
#

yes

#

that would work

topaz aurora
#

I forgot this was an actual term

#

Literally me though

tight ocean
#

python 4 dropping 04/2022

lost knoll
#

@scenic crag show pictures

scenic crag
lost knoll
#

sure

rough sapphire
#

Sup

#

Please talk

#

I need to get 50 messages

tight ocean
#

you hyped for python 4?

rough sapphire
#

If it has more syntax then no

tight ocean
#

lol

#

its not actually gonna happen, not for a long while

rough sapphire
#

Yeah

#

Python 4 can improve pythons speed

#

Im hoping python will be faster

#

Like Java

tight ocean
#

Guido Van Rossum said if it does happen it will be like the jump from python 1 to python 2 rather than like 2 to 3

#

fr?

harsh tundra
rough sapphire
tight ocean
#

anyway, from numba import njit you can use the njit decorator to massively speed up python

harsh tundra
royal lakeBOT
tight ocean
#

ahh the pypi command

harsh tundra
#

!d works for standard lib and only some most common libs in here

rough sapphire
#

I know decent python but idk that much

tight ocean
#

then build some stuff, doesnt matter what just try to push yourself a little bit

rough sapphire
#

Yeah

#

Made some statistics calculator

tight ocean
#

if youre gonna do math/data science then numba is perfect for you

rough sapphire
#

What does Numba do

#

How?

tight ocean
#
from numba import njit

@njit
def foo():
  print(10**10**10)

foo() # takes a while because of compile time
foo() # foo is compile to machine code now, and is near instant
rough sapphire
#

Cool

#

How did u know bout this

tight ocean
#

it works really well with numpy and other scientific computing libraries

#

theres a youtuber Jack of Some who did a vid a while back

rough sapphire
#

U know that your are speaking in python discord server right?

#

Ik

#

BUT DONT DISS PYTHON

#

My fav language

#

wtf

tight ocean
#

python sucks tho

rough sapphire
#

so what if your fav?

#

It was a joke lol

tight ocean
#

i prefer javascript

rough sapphire
#

Iโ€™m learning js now

tight ocean
#

i do python for web backend, django is pretty nice

rough sapphire
#

You madman

#

people out here are open no python owner is gonna kick you if you say one bad thing about py lol

tight ocean
#

P.H.P: Pretty Huge Pain

rough sapphire
#

I was joking lmao

rough sapphire
#

Bruh

#

K bye

tight ocean
#

๐Ÿ‘‹

full needle
#

python is bad and horrible. python 4 will save us. guido hodling us back by not releasing his beta 4

narrow wasp
#

im here

last mantle
#

Hello

#

So yeah

#

You can add functions in QML with the JavaScript syntax

narrow wasp
#

for now i have some fun things like:

last mantle
#

Or make the whole backend in python

narrow wasp
last mantle
#

Your choice

narrow wasp
last mantle
#

Nice

narrow wasp
last mantle
#

Not directly

#

But you will learn the language

#

There are liek 100 episodes I guess

narrow wasp
#

thanks โค๏ธ

last mantle
#

Its very in depth

#

Np

narrow wasp
#

it not gonna be problem for me?

acoustic moss
tight ocean
#

on my laptop? about a week

royal lakeBOT
#

Here's how to format Python code on Discord:

```py
print('Hello world!')
```

These are backticks, not quotes. Check this out if you can't find the backtick key.

solid violet
#
    print("this may take time, so be patient")
    a12 = random.randint(1, 99999)
    b134 = a12 * int(starting_number)
    c = a12 * b134
    d = a12 / 1000
    e = c * b134
    Fa = e * b134

    for i in range(1, 100):
        total100 = i + Fa

    randnum= random.randint(1, 999999)
    randnum2= random.randint(999999, 9999999)
    abcdef = 0
    while randnum <= randnum2:
        abcdef = randnum + total100


    
    print(abcdef)```
#

computer explodes

rich moon
#

when py4

#

gib py4

harsh tundra
vapid nymph
#

or even one

#

py^2

fallow warren
#

no it's 3.9

harsh tundra
#

Birdie got a snail. And second kitty came to see what it's all about.

acoustic moss
#

nice

harsh tundra
karmic gust
#

!paste @unkempt idol

royal lakeBOT
#

Pasting large amounts of code

If your code is too long to fit in a codeblock in discord, you can paste your code here:
https://paste.pydis.com/

After pasting your code, save it by clicking the floppy disk icon in the top right, or by typing ctrl + S. After doing that, the URL should change. Copy the URL and post it here so others can see it.

unkempt idol
#

TY !

sand inlet
#

goes against the wishes but not considered against the law as you still pay for the product
@rough sapphire did you read any of the rule after the first comma

#

5. Do not provide or request help on projects that may break laws, breach terms of services, or are malicious or inappropriate.

full needle
#

Nobody does they always just say 'but I'm not breaking the law!'

#

Needs tos first

near bolt
#

how do i create a program in c, where i can have the output

2x10
2x100
2x1000

can i use a loop for the 10, 100, 1000?

#
#include <stdio.h>
int main(void)
{
    int x;
    for (int i = 0; i < 10; i++)
    {
        for (int j = 0; j < 10; j++)
        {
            x = 2*(power(10,j));
            printf("%i", x);
        }
    }
}
#

line 9 doesnt work (it's illegal) but this gives some idea what i am trying to get

rough sapphire
#

what is line 9?

#

and aren't integers %d?

near bolt
#

10^1
10^2
10^3

#

so i wanted to make a for loop for j

#

from 0 to n

#

then do 10^j

#

that's not allowed right?

gritty zinc
#

you seem to be trying to represent this in integers, whereas an easier solution would be string concat

rough sapphire
#

is that C

gritty zinc
#

like, each line just print "2x" and a 1 with some zeros

gritty zinc
rough sapphire
#

i only know C++ so that was super confusing to read

#

i was like, "wait wait, what no"

#

like

#

you know when you are so sure its a pro lang

#

and then u just cant understand why there are some sutle changes

#

and then u realise it was C not C++

gritty zinc
#

well, C++ started out as a strict superset of C

near bolt
gritty zinc
#

so presumably it's similar even now

rough sapphire
near bolt
#
    int first = (number % 10)/1;
    int second = (number % 100)/10;
    int third = (number % 1000)/100;
    int n = (number % 10^n)/10^(n-1);
rough sapphire
#

altho syntax still a bit diff, otherwise cpp could just be a lib in C lmao

near bolt
#

i wanted to create a loop to do this cuz n is an input

rough sapphire
#

c looks very tempting to learn omfg lemon_cut

#

this is the problem with me

#

i see a good syntax

#

and i feel like learning it

#

F

gritty zinc
#

good syntax
C
uhh

rough sapphire
#

?

#

just because C has a more lenghty syntax

#

doesnt mean its bad

#

im talking about the beauty

#

of the syntax

#

;/

gritty zinc
#

almost all modern languages are based on C indirectly, so saying that C has a nice syntax seem very weird to me, because, like... all changes from C's syntax were made intentionally for some reason or another

#

and in most cases, languages added to the syntax, rather than changing it. You can write code that looks very C-like in most languages, it's just not the best way in most cases

rough sapphire
#

i see

#

for me i jus prefer writing code in certain syntax

#

for me its

#

python
java
c
cpp
lua

#

and i dont like VB or Rust syntax

#

dont blame me for java okay my whole family uses java

gritty zinc
gritty zinc
rough sapphire
#

i prefer it over cpp because

#

its more original

#

๐Ÿ˜Œ

#

also i like using #include

gritty zinc
#

how is it different from cpp though

rough sapphire
#

its just so nice >///<

gritty zinc
#

that's how function definitions look in most languages

rough sapphire
#

int array[] = {};

#

very niceu

rough sapphire
#

my order is messed up

#

python below cpp

#

my bad

gritty zinc
#
//Rust
fn my_fun(){
}
//cpp
void my_fun(){
}
//Java
void myFun(){
}
#

so, uhh...

rough sapphire
#

...

#

its just more original okay

#

stop bully me

near bolt
gritty zinc
#

if I understand correctly what you're doing

near bolt
#

oh yeah

#

this was what i needed

#

i didnt thot of this

#

yeah

#

i see thanks

acoustic moss
rough sapphire
gritty zinc
rough sapphire
#

was i summoned?

#

imagine switching to an ide for each of those 3 examples ;/

#

wait u use an ide for every lang?

#

damn

gritty zinc
#
fn digit_at(x:isize, n:isize) -> isize {
    let mult = 10.pow(n);
    x%(10*mult)/mult
} 
#

I probably like this signature syntax more

acoustic moss
#

unrelated but can I just point out how bad x.sin() looks

versed saffron
#

is that a rust thing?

gritty zinc
#

I mean, you can instead use isize::pow(10,n) if you want ๐Ÿ˜›

gritty zinc
inland wolf
#

lol

#

that is a good function ti know

gritty zinc
#

also something you can't do in C:

for (i, (a,b)) in As.iter().zip(Bs.iter()).enumerate() {
    //...
}
#

and the compiler is generally smart enough for stuff like this to not incur performance penalties

shadow nova
#

while printing in terminal how do i get that cool typing affect, when it types in terminal

mint pewter
#

is ascii art allowed here?

woven idol
#

yes

#

there are no rules against ascii art.

gritty zinc
#

there are rules about random memes, though ๐Ÿ˜›

woven idol
#

Where? I am unaware of any rules about random memes.

#

There are rules about off-topic discussion, as long as said meme is on topic, I don't see any rules against memes, or ascii art.

gritty zinc
vapid nymph
#

@shell raptor

#

3.10 is gonna be nice

ancient wedge
#

There is no Joe, only Zuel.

vapid nymph
#

Wut

#

@formal roost why does it say pytot

#

Or did?

#

Aaaaaa

formal roost
vapid nymph
#

o

vapid nymph
formal roost
#

You called me Pytot

vapid nymph
#

oh-

vapid nymph
#

;-;

vapid nymph
#

@wraith hound lol

#

ff dev is v90

#

ff nightly is v 91

#

ff stable is v89

#

oh

#

dev and beta are the exact same release cadence

rich moon
# vapid nymph

whats the diff between this and a switch statement. like i dont think u can know what type the match is gonna be so how can u know u covered all the cases

solid elbow
vapid nymph
edgy crest
#

because its useful

#

if it can do pattern matching

rich moon
#

so in that pic it works the same way as a switch

solid elbow
#

in that pic it achieves the same thing as a switch would, yes. It doesn't work the same way, though - it works in a pretty fundamentally different way

turbid mortar
#

CAN I GET A HOYAAA

solid elbow
last mantle
turbid mortar
rich moon
#

wonder if there are any checks to make sure that u matched all possible cases

acoustic moss
#

no you just match the first one

#

just like you wouldn't get into any elif if it matched an if

solid elbow
#

that's the wildcard case.

vapid nymph
#

@solid elbow I installed 3.10 if you'd like me to try anything

#

BOth for you, and/or for my own experiencd

#

Lmk and I'll get on pc

solid elbow
#

I read the PEPs pretty thoroughly - I think I have a good handle on how everything works.

#

though admittedly it's a lot to remember.

vapid nymph
#

What other changes are there?

latent scaffold
solid elbow
#

there's some big changes to how syntax errors are reported.

#

you'll often get better syntax errors if you forget a closing ) or something like that.

vapid nymph
#

Hm

#

Guess I need to try thid

tranquil orchid
#

I had a quick scroll through the new errors and they looked quite good

#

There's some nice changes in there

vapid nymph
#

Someone write some code they want to see errors for

#

I'll run it

#

limiting to about 20 lines

latent scaffold
vapid nymph
#

yeet

#

I'm excited for 3.11

last mantle
#

ono

vapid nymph
#

LOL

#

that version number seems to be right

#

nvm figured it out

#

def square(number: int | float) -> int | float:
this is fucking nice

topaz aurora
#

afaik Python 3.11 would start focusing on performance

vapid nymph
#

yes

#

!pep 604

royal lakeBOT
#
**PEP 604 - Allow writing union types as ``X | Y``**
Status

Accepted

Python-Version

3.10

Created

28-Aug-2019

Type

Standards Track

edgy crest
#

copy paste pypy ezez

vapid nymph
#

that is niiice

topaz aurora
last mantle
#

or Optional?

vapid nymph
#

not needed, but will still exist i presume

#

Starting in this release, there will be a concerted effort to begin cleaning up old import semantics that were kept for Python 2.7 compatibility
What does this mean?

#

py3 was not compatible with py2

#

?

#

but there was support somehow?

#

huh

#

what is distutils?

#

The entire distutils namespace is deprecated, to be removed in Python 3.12. Refer to the module changes section for more information.

solid elbow
#

distutils is used for building C extension modules. setuptools is preferred instead these days.

vapid nymph
#

wtf

rich moon
solid elbow
#

it would just fall through.

#

there's no reasonable way to require it to be exhaustive, since you can pass in any object.

#

it would fall through if you passed 500, but also if you passed [] or {} or "hello"

rich moon
#

hmm i know with some compiled languages pattern matching allows for a static check

solid elbow
#

I know of some where switch does

#

I don't see how pattern matching could - at least, not when you don't even know the type of object you're matching against in advance

rough sapphire
#

lmao

solid elbow
#

?

rough sapphire
#

how is this related? xD

latent scaffold
#

yes

acoustic moss
#

yes

rough sapphire
#

Other than that, nothing really

inland wolf
#

what you know about rolling down in the deep

deep nexus
#

is it normal for schools to keep blacklisting your mac address

latent scaffold
#

no

latent scaffold
inland wolf
#

yes

latent scaffold
#

omg

last mantle
#

ok

tall stag
#

me in 4th grade: loves to read
school: you have to be reading books that are for 12th graders!!
me: ok
me: thinks all the books are boring and stops reading books as a whole
school: why u no read

edgy crest
#

hm

last mantle
#

read.

inland wolf
#

read โ€ผ๏ธ

harsh tundra
#

I was reading a lot as a child. now I'm mainly reading webtoons...

tranquil orchid
#

I used to read heaps

#

Then school went nope you no longer have time for that

inland wolf
#

i dont read much now

#

:"

noble atlas
#

Yeah, especially horror and thriller theme, the picture is awesome

harsh tundra
tranquil orchid
#

I used to read every night

latent scaffold
#

Normally I like reading, but I hate when schools give book assignments

#

so I've kinda just grown to not like reading anymore

rough sapphire
#

Have u read "I'm the grimreaper"?

harsh tundra
rough sapphire
#

It's available in webtoon so go and read it

harsh tundra
#

I read LOTS of stuff on LINE Webtoon (aka Webtoons.com), so I'm fast when it comes to grabbing links ๐Ÿ˜›

full needle
#

import coffee

tribal aurora
#

goddam git is complex

#

It is!

full needle
#

push your code up, pull your code down. commit before pushing

#

nothing simpler

#

if you need to do something more complex you just google the command paste it without understanding ez pz lemon_fingerguns_shades

tribal aurora
#

that's true for smaller repos

#

but for huge ones

#

everything will be messed up

full needle
#

??????

#

make a branch before making changes

tribal aurora
#

I made

#

and also made a pull request

#

but I need to make another pull request

#

without those changes

full needle
#

you go onto a new branch

#

simple

tribal aurora
#

but those changes (that you made ) are still with you

full needle
#

๐Ÿ™‚

#

no

#

you made a new branch to work in

tribal aurora
#

you misunderstand

#

ig

full needle
#

lol?

#

fork repo, branch, work in branch, pr, oh i need a new feature, new branch, work in new branch, pr, repeat

#

simple as day

tribal aurora
#

fork, branch, work in branch, pr, oh i need a new feature, oh dam those features that i made previously are there

full needle
#

bro

#

you make a new branch

tribal aurora
#

We needed to go to the previous commit and then make a new branch

full needle
#

and your old branches changes are not in the new branch

#

i think i see what you did

#

you worked in the master rather then making a branch

tribal aurora
#

No

#

read up the messages again

full needle
#

then when you make a new branch its based off master and your first prs changes arent there

tribal aurora
#

you'll understand

full needle
#

because they arent in the master branch

#

and the new branch you make is based on master

full needle
full needle
tribal aurora
#

lol

#

Oh now it makes sense

#

I made a new branch when i made the changes

#

(in the github)

#

that's why

#

It would be simpler if I did it without github

full needle
#

you want to make your changes in a branch

tribal aurora
#

yea

#

fork repo, branch, work in branch, pr, oh i need a new feature, Edit the files from github, make the changes into a new branch

#

I think that's what I did

full needle
#

ah

tribal aurora
#

github always confuse me

full needle
#

not sure what you did on github exactly but yeah you probably messed it up there

#

every new branch is based on the master branch generally, and the master branch should at all times match the main repo you forked. so new branches are ez pz

#

and that way you can quickly pull new master changes down into your own

#

v

#

this might help you recover

tribal aurora
#

dam you're fast

full needle
#

complex but in the future shouldnt be needed ever if you keep the master even w/ the main repo

tribal aurora
#

what's your wpm ?

#

@full needle

full needle
#

ยฏ_(ใƒ„)_/ยฏ

tribal aurora
#

A minimalistic, customisable typing website. Test yourself in various modes, track your progress and improve your typing speed.

edgy crest
last mantle
#

nice graph bro

edgy crest
#

lul

full needle
inland wolf
#

no

tribal aurora
#

dammm

last mantle
#

but can you get a graph as good as vinam's

#

121 is ok but graph is boring

#

get gud

full needle
#

wat?

inland wolf
#

i can do 200 wpm in 2 seconds ๐Ÿ˜Ž

edgy crest
inland wolf
#

ok

last mantle
edgy crest
#

my hand kind of stops in the middle

inland wolf
#

my weakness is accuracy

#

SAME

#

my hands just feel like not typing

edgy crest
#

yeah

full needle
#

noobs

#

lrn2type5heads

#

you do it for your living

edgy crest
#

nice, i told my hand to not stop

#

finally hit hundred

full needle
#

acceptable

#

anything 3 digits and 95%+ is decent

inland wolf
#

"decent"

full needle
#

that consistency too! wow

#

idk what consistency means in this context

#

i was 98% accurate but 60% consistent hmm

#

idgi

inland wolf
#

whats the average

edgy crest
#

the difference between the speed each second

#

the lower the better

#

straight line graph should have higher consistency

full needle
#

ooo sooo what ur saying is i had parts where i was 200 wpm and parts where i was like 100 wpm to average out to 121?

#

i see yea i dropped to 80

#

w-well it was a tough word!!

#

i couldnt spell it right either ๐Ÿ˜ฆ

#

lol both my drops are when i couldnt understand and spell the word

tribal aurora
#

Oh wait

tranquil orchid
#

Not bad

latent scaffold
#

hm. I wonder if I should make an effort to properly learn to type when I get my laptop here in a few days

tribal aurora
#

you're sending already

full needle
#

nicie jack

#

121 gang

latent scaffold
#

I peck (well, half-peck... modified pack) \๐Ÿ˜ฉ

tribal aurora
#

wait colemak-hd?

tranquil orchid
#

A keyboard layout

latent scaffold
#

peck

edgy crest
#

birb

latent scaffold
#

I type primarily with my index fingers

#

it's incredibly inefficient but I've been stuck in this bad habit for years and years

full needle
#

yeah thats the standard non computer user way to code

latent scaffold
#

Every time I want to learn how to properly type, I get incredibly bored and between "lessons" my habits show right back up

tranquil orchid
#

I re-taught myself late last year

full needle
#

it makes it fun

latent scaffold
#

Any recommendations?

#

Maybe I'll try something now

full needle
#

i mean i used mario teaches typing but its like 20 years old now

latent scaffold
#

lol

full needle
#

it was really fun when i was a little kid

tranquil orchid
acoustic moss
full needle
#

you basically played a full mario game but you moved by typing words correclty haha

tranquil orchid
#

Then monkeytype, keymash, typeracer etc to practice

acoustic moss
#

ohh i haven't solved a rubik's cube in weeks

full needle
acoustic moss
#

lemme see

tranquil orchid
#

It has games

full needle
#

o nice

inland wolf
#

wait if i make a mistake while typing

#

and correct it

#

it doesnt really count the correction right

tranquil orchid
#

It does, but you still get penalised

inland wolf
#

it just adds to the time

#

so should i correct or just skip that word

tranquil orchid
#

Just not as penalised

latent scaffold
inland wolf
#

hm

latent scaffold
#

I wanted to try one night and I clicked the start button

full needle
tranquil orchid
#

I mean, when aiming for pure speed

#

Probably not worth correcting

#

But when practicing

#

Correct

latent scaffold
#

then this lady started talking and gave me a mini heart attack

full needle
#

best game ever

#

thanks mario for 121 wpm

inland wolf
#

man my wpm is 100+ in the first 10 seconds

#

after that my hands just die

full needle
#

mario would fix that

inland wolf
#

and it falls down to 70

acoustic moss
#

lesgo

latent scaffold
#

omg is that the time

acoustic moss
#

ye

latent scaffold
#

oh yes it's the 25th hour of... today

latent scaffold
acoustic moss
#

bruh

#

lol

full needle
#

bruh why your wpm only 20 haha

acoustic moss
#

...

latent scaffold
#

I was about to say like "me too"

full needle
#

noob

#

:D

acoustic moss
#

๐Ÿ˜ข

#

i'm averaging 80 wpm ok

full needle
#

psh u clearly shows a 25 ๐Ÿ˜‰

tranquil orchid
#

I think I'm a lil faster on my keyboard than on my laptop

inland wolf
#

ayo 93wpm 95% acc in 30 seconds is my high score??

#

dang

full needle
#

u gotta pump those numbers up so you can join 3 digit gang

inland wolf
#

i have realised that i type mainly with my index and middle finger

full needle
#

only 7 more wpm needed !

inland wolf
#

which is an interesting case

#

usually its index only or all four fingers

#

but i only use these two

#

my little finger is never used

tranquil orchid
#

I used to use all fingers on my left hand and one finger on my right hand when using qwerty

#

It was a mess

acoustic moss
#

21.84s

full needle
#

thats so uncomfy

inland wolf
#

yes

full needle
#

i can barely even do that while keeping index on f

tranquil orchid
#

I do use colemak

#

Well

#

Colemak-dhm

#

But I used to use qwerty

tribal aurora
full needle
tribal aurora
#

why not colemak itself

tranquil orchid
#

It's better for split keyboards

inland wolf
#

i hit x with my index finger

tribal aurora
#

oh you use split ones?

inland wolf
#

is that normal

tranquil orchid
#

Or rather, columnar keyboards

tribal aurora
#

no

latent scaffold
#

tbh maybe I should learn to use colemak

#

and that's when I learn how to type

inland wolf
#

and space bar with index lol wtf

latent scaffold
#

that way... I've got no bad habits to get used to

tribal aurora
latent scaffold
#

cause they were all on qwerty

#

y'know... clean-ish slate

tranquil orchid
#

Is the current layout

full needle
#

anyways its not even needed, im equal wpm with jack and using a normal layout

tranquil orchid
#

I have some changes in mind though

harsh tundra
#

Colemak โค๏ธ I haven't used it in ages. But I sometimes try and kinda remember what is where :D

tranquil orchid
#

I'm just on my laptop atm

#

But I still use colemak-dhm there

tribal aurora
#

dam it

full needle
#

AND i can type on coworkers or other peoples keyboards

#

jack cant ^_^

tranquil orchid
#

lol

#

I don't type on other peoples keyboards

full needle
#

jack : damm where is that key ;_;

tribal aurora
full needle
#

hehe

tranquil orchid
#

::

tribal aurora
#

that's enough

frozen coral
#

Typing on other people's keyboards/using their mice is gross

full needle
tranquil orchid
#

It's way better there

frozen coral
#

the amount of people that don't wash their hands after the bathroom is enough for me not to want to lol

tribal aurora
tranquil orchid
#

idk who thought putting ; on the homerow was a good idea

full needle
#

like maybe once a month

frozen coral
#

Yea, I guess that's hard to get away from if it's part of your role

tribal aurora
full needle
tribal aurora
#

it's not obvi where it is located

inland wolf
#

is there a ground rule of where ur fingers should be placed when typing

tranquil orchid
tribal aurora
#

you mean that

inland wolf
#

like index at f and j

#

or someting?

frozen coral
#

What keyboard do you use btw jack?

full needle
tranquil orchid
#

ZSA moonlander

frozen coral
#

ahh nice

full needle
#

only move one finger at a time, if its uncomfy to reach its because your using the wrong finger @inland wolf

tranquil orchid
#

@inland wolf Your keyboard should have lil bumps on f and j, which it where your index fingers should rest

inland wolf
#

yes

full needle
#

well, 2nd finger might kinda move with y ou as you move one, but yea

inland wolf
#

it feels weird for me to press w without middle finger

full needle
#

w should be left ring finger

inland wolf
#

yea

full needle
#

it just moves up one key

#

ez

inland wolf
#

im not used to using my ring fingers at all

full needle
#

this is why your lowly 2 digit wpm gang

tranquil orchid
#

Staggered keyboards feel kinda weird

inland wolf
#

same with pinky

full needle
#

you'll get used to it if you keep trying haha

inland wolf
#

true

tranquil orchid
#

I don't like not being able to just move my fingers directly down onto the key below

#

Staggered keyboards make you move them around a lil more

full needle
#

i used to use those staggered ergonomic ones like this

#

but then i grew up and got a job and job laptops and on the move and stuff and just gave it up since you cant get laptops like that

tribal aurora
#

microsoft ๐Ÿ˜ถ

tranquil orchid
#

I love split boards, it feels so much comfier

tribal aurora
#

get kenesis advantage

full needle
tranquil orchid
#

And columnar boards

full needle
#

actually tbh ms hardware still good

full needle
#

and i said i used to use keyboards liike that, gives keyboard from back then

#

gosh duh

tribal aurora
#

ima pull you back from past

full needle
#

pls no the present sucks

#

let me live in past ;_;

tribal aurora
#

git pull Araye from-past

full needle
#

memba these

tranquil orchid
#

could we make something like this the standard, that'd be great

tribal aurora
#

is it just me or no one understand this

tranquil orchid
#

Get rid of staggered layouts. there's no reason for them to be staggered anymore

full needle
#

its ergonomicly sound

#

to have the keyboard slightly angles

#

to use a normal keyboard you have to bend your rights, by angling and staggering it it helps

tranquil orchid
#

I mean preferably yeah, the alice layout would be better

#

Since I doubt actual fully split keyboards will be widely adopted, something like this would be good

#

Although fully split is very nice

full needle
#

hey jack can u look at #help-cake pls. guy called someone an idiot and is now arguing that he is right to say so (meaning hell do it again to others) >_>

tranquil orchid
#

He seems to have calmed down, so probably best to just leave that

full needle
#

that keyboard looks crazy tho, even my ms one wasnst that curved

tranquil orchid
#

My board is two completely seperate halves

#

Which feels really nice

tribal aurora
#

Who uses a mechanical keyboard :P

edgy crest
#

me

tranquil orchid
#

Me

#

Mechanical feels nice

edgy crest
#

yes

#

though i also like membrane keyboard's silence

tribal aurora
#

I don't know, I'm slow on mechanicals

tranquil orchid
#

There's some amazing silent switches out there

edgy crest
#

heh

#

o

#

i have blue ones i think..

tranquil orchid
#

Oh lol

topaz aurora
#

My reds are pretty silent

tranquil orchid
#

Those are like, made to be loud, literally @edgy crest

full needle
topaz aurora
#

Although they're a bit springy

tranquil orchid
#

They're clicky switches

full needle
#

they feel better

edgy crest
#

how do i check

#

cant find the package

tribal aurora
edgy crest
#

can i just take one key out and see the color