#voice-chat-text-0

1 messages · Page 685 of 1

tranquil barn
#

int(input())

whole bear
#

Thats what im working with rn

#

Smh

#

Satellite internet + Rain dont mix well

eternal bough
#

float(a) + float(b) + float(c)

#

kodaik = (6000*float(a))

#

a = 6000 * int(a)
kodaik = a + b

scarlet drift
#

I'd suggest you do
a = float(input())

whole bear
#
a = float(input('How much is Korrelite Per Peice?'))
b = float(input('How much is Reknite Per Peice?'))
c = float(input('How much is Gellium Per Peice?'))
d = float(input('How much is Axnit Per Peice?'))
e = float(input('How much is Narcor Per Peice?'))
f = float(input('How much is Red Narcor Per Peice?'))
kodiak = (6000*a)+(3400*b)+(2050*c)+(800*d)+(300*e)+(100*f)
print(kodiak)
gentle flint
#

per piece

#

not Per Peice

whole bear
scarlet drift
#

f'{}'

#

or '{}'.format()

tranquil barn
#

input().split()

scarlet drift
#

wait what is mapping? @tranquil barn

somber heath
#
>>>alpha = [1, 2, 3]
>>>alpha[0]
1
>>>alpha[2]
3
hushed elm
#

👍

tranquil barn
wise cargoBOT
#
map(function, iterable, ...)```
Return an iterator that applies *function* to every item of *iterable*, yielding the results. If additional *iterable* arguments are passed, *function* must take that many arguments and is applied to the items from all iterables in parallel. With multiple iterables, the iterator stops when the shortest iterable is exhausted. For cases where the function inputs are already arranged into argument tuples, see [`itertools.starmap()`](itertools.html#itertools.starmap "itertools.starmap").
somber heath
#
>>>'a p p l e'.split()
['a', 'p', 'p', 'l', 'e']```
hushed elm
#

a e l p p

#

there i sorted it for you

somber heath
#
>>>a, b, c = [1,2,3]
>>>a
1```
gentle flint
#

off for bed

#

cya

whole bear
#
userInput = input("What are the Ore Values Per Peice?")
values = userInput.split(' ')
a = float(values[0])
b = float(values[1])
c = float(values[2])
d = float(values[3])
e = float(values[4])
f = float(values[5])
kodiak = (6000*a)+(3400*b)+(2050*c)+(800*d)+(300*e)+(100*f)
print(kodiak)```
scarlet drift
ripe torrent
#

userinput = map(float, input().split())
Kodiak = sum(I*j for I,j in zip(userinput, [6000, 3400, 2050, 800, 300, 100]))
print(Kodiak)

somber heath
#
input()
#or
print('Ctrl+c to quit')
while True:
    pass```
tranquil barn
#
userInput = input("What are the Ore Values Per Peice?")
values = list(map(int, userInput.split(' ')))
a, b, c, d, e, f = values
kodaik = (6000*a)+(3400*b)+(2050*c)+(800*d)+(300*e)+(100*f)
print(kodaik)
scarlet drift
#

a, b, c, d, e, f = values

#

this line

#

What if the user adds one extra number

#

you know

somber heath
#

Rocks fall.

scarlet drift
#

ah ok

somber heath
#

Everyone dies.

scarlet drift
#

nvm

#

Likewise on the all nighter part

whole bear
#

They wont add another number lol

#

Cause its just me using it

ripe torrent
scarlet drift
#

I gave one of my GCSE exams by not sleeping at all

#

got a freaking B cause I didn't sleep

#

I was sleep deprived

gritty nimbus
#

test

scarlet drift
gritty nimbus
#

nah

eternal bough
ripe torrent
coral frigate
#

I would suggest going with pytorch over fast ai. Fast ai is still in development and still has a lot of bugs

#

Breadth over depth. Always!

somber heath
#

Choose your own adventure.

#

You could be all "Eigernhugenharbenhager!" and I'd be all "Que?"

#

I did take German at uni, but I didn't really absorb it.

#
from kivy.app import App
App().run()```
Ta-da!
eternal bough
tranquil barn
spring flare
#

University is a means to an end

#

Just to put it on your job app

#

Ah, yes making connetions

#

I did a few years at community college, so I didn't get any social aspect

#

Cities are quite isolating

#

The city is fun for a little while

whole bear
#

Okey im here

#

🙂

tranquil barn
#

@whole bear

whole bear
#

gimme a moment I'll send you a screen

willow light
#

"Not to be that person, buuuuuu~uuuuut"

whole bear
#

I am trying to write a program, that will write programs to lego robots

#

So that def maze_runner, is needed to save at other python file

#

For example i use function maze runer, and insteed of doing code here, i wan't to open new file txt/py whatever and write this code here, after all mathematics used with variables

#

So it will be easily to just move in with that file to simulator

tranquil barn
#

so you want to open a python file from a python file right?

whole bear
#

first step I give some inputs( to global variables like wheeldiamater for example), next steep i chose function ( maze_runner is function for robot that makes for running mazes with sensor's) and I need to after all mathematics, that function make new for example maze_runner.py file in this directory

#

With all neccesery code to robots, but only that

ripe torrent
#

Information is not enough and unstructured

whole bear
#

Hmm, okey I will try other way. I need to write a function, that will open new file, rewrite various line of code from main function, and save that as .py

ripe torrent
#

You can do it probably

#

with open(_file _) as main:
with open ("another", "w") as file:
file.write(main.read()[x:y])

tranquil barn
#

_

unreal swallow
#

_

tranquil barn
#

_

whole bear
#

Thanks

#
def ship():
    s = input("What ship are you looking to buy? (Case Sensitive): ")

k = int(input("Enter the current price of Korrelite: "))
r = int(input("Enter the current price of Reknite: "))
g = int(input("Enter the current price of Gellium: "))
a = int(input("Enter the current price of Axnit: "))
n = int(input("Enter the current price of Narcor (if applicable): "))
rn = int(input("Enter the current price of Red Narcor (if applicable): "))
ship()

if s == "Kodiak":
        c=(6000*k)+(3400*r)+(2050*g)+(800*a)+(300*n)+(100*rn)
        print("The price of a Kodiak is", c, "credits")
        ship()
elif s == "Barracuda":
        c=(4800*k)+(2900*r)+(1800*g)+(700*a)+(250*n)+(100*rn)
        print("The price of a Barracuda is", c, "credits")
        ship()```
#

I get S not Defined error

#

4x spacebar before if I think will do

ripe torrent
#

Can you put it in repl or something ?

#

Where interactive debug is possible

#

While True:
ship()
If condition met :
break

faint ermine
#
def ship():
    s = input("What ship are you looking to buy? (Case Sensitive): ")

k = int(input("Enter the current price of Korrelite: "))
r = int(input("Enter the current price of Reknite: "))
g = int(input("Enter the current price of Gellium: "))
a = int(input("Enter the current price of Axnit: "))
n = int(input("Enter the current price of Narcor (if applicable): "))
rn = int(input("Enter the current price of Red Narcor (if applicable): "))
ship()
while True:
    if s == "Kodiak":
        c=(6000*k)+(3400*r)+(2050*g)+(800*a)+(300*n)+(100*rn)
        print("The price of a Kodiak is", c, "credits")
        ship()
    elif s == "Barracuda":
        c=(4800*k)+(2900*r)+(1800*g)+(700*a)+(250*n)+(100*rn)
        print("The price of a Barracuda is", c, "credits")
        ship()
ripe torrent
#

How to put formatted code like that ?

faint ermine
#

!codeblock

wise cargoBOT
#

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.

ripe torrent
#

Thanks

whole bear
#

what are we chatting about

ripe torrent
#

ships  =  {
              'Kodiak' : [6000, 3400, 2050, 800, 300, 100],
              'Barracuda' : [4800,2900,1800,700,250,100]
          }



def ship_service():
    s = input("What ship are you looking to buy? (Case Sensitive): ")
    k = int(input("Enter the current price of Korrelite: "))
    r = int(input("Enter the current price of Reknite: "))
    g = int(input("Enter the current price of Gellium: "))
    a = int(input("Enter the current price of Axnit: "))
    n = int(input("Enter the current price of Narcor (if applicable): "))
    rn = int(input("Enter the current price of Red Narcor (if applicable): "))

    if s in ships:
      return sum(i*j for i, j in zip(ships[s], [k,r,g,a,n,rn] ))
    else:
       return None

if __name__ == "__main__":
      while True:
            try:
               ship_service()
            except:
                  break
 
#

got some trouble with microphone

#

one sec

#
ships  =  {
              'Kodiak' : [6000, 3400, 2050, 800, 300, 100],
              'Barracuda' : [4800,2900,1800,700,250,100]
          }



def ship_service():
    print('Enter the followings in order space seperated ')

    inputs = ['Ship looking to buy (case sensitive)',  'price of Korrelite', 'price of Reknite', 
               'price of Gellium', 'price of Axnit', 'price of Narcor', 'price of Narcor' ]

    print(*inputs, sep=': \n')   

    s, k , r, g, a, n, rn = map(int, input().split() )         
   
    if s in ships:
      return s, sum(i*j for i, j in zip(ships[s], [k,r,g,a,n,rn] ))
    else:
       return None, None

if __name__ == "__main__":
      while True:
            try:
              
               ship, price =  ship_service()
               if ship and price:
                      print(f"The price of a {ship} is {price} credits")
                      
            except:
                  break
wise cargoBOT
#

:incoming_envelope: :ok_hand: applied mute to @cerulean spear until 2020-11-30 01:02 (9 minutes and 59 seconds) (reason: duplicates rule: sent 4 duplicated messages in 10s).

whole rover
#

lol

scarlet plume
#

nice

#

!tvban 772572441813057566 2w Spamming to get voice verified will get you nowhere.

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied voice ban to @cerulean spear until 2020-12-14 00:53 (13 days and 23 hours).

cerulean spear
#

LOL!!!

#

@scarlet plume forgive me!!!

#

@whole rover Forgive me, Owner.

#

I know I was wrong. 😫 😫 😫

#

Hi, @whole rover @scarlet plume forgive me

#

Hi, @whole rover @scarlet plume forgive me.

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied mute to @cerulean spear until 2020-11-30 01:38 (9 minutes and 59 seconds) (reason: mentions rule: sent 6 mentions in 10s).

scarlet plume
#

yeah ok....

#

nice one

#

!ban 772572441813057566 Spam pinging staff after voice ban.

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied ban to @cerulean spear permanently.

whole bear
#

Lol, andmel is strange man!!!

#

🤣

neon sleet
#

oh my, that was scary

#

lot of bans going on from past few days lol

whole bear
#

yeah lmao

#

i was one of them 0.0

jagged trail
#

Morning

versed sapphire
#

good you?

jagged trail
#

good what?

versed sapphire
#

I was talking to that guy in the voice

#

he said, " how you doing.. " I said ....

jagged trail
#

Ah okay sorry

tame jackal
#

hi

cloud stratus
#

hi

spiral seal
#

hi

cloud stratus
spiral seal
#

it is a educational software website

#

I am improving my knowledge

cloud stratus
#

Hmmm

spiral seal
#

i am 16 years old :d

cloud stratus
#

I would like to contribute tbh

whole bear
#

hey im 16

spiral seal
#

how are you@whole bear

whole bear
#

have we met before also?

spiral seal
#

@cloud stratus okey

cloud stratus
#

I dunno if I'm eligible tho

spiral seal
#

@whole bear nope

whole bear
#

oh fine

#

come up on voice channe;

#

l

spiral seal
#

i dont have voice verification

#

xd

whole bear
#

oh

#

cool u may text

spiral seal
#

my english is not good

whole bear
#

i guess @cloud stratus can?

spiral seal
#

i developing my english

cloud stratus
#

Yo I'm Turkish too @spiral seal

spiral seal
#

yes

cloud stratus
spiral seal
#

@cloud stratus türk müsün?

cloud stratus
#

But I'm actually in an online class rn

whole bear
#

ok

#

i thought we jam

cloud stratus
#

We can, in an hour or smthg

spiral seal
#

I'm in live class

whole bear
#

you guys take it this serious!!!

#

im indian

#

and trust me its a joke

#

i study most on my own and maybe utube

cloud stratus
#

I don't really study

#

Like, ever

whole bear
#

our attendance is digital so u click the join in the app and boom

#

you are present

#

!e

wise cargoBOT
#
Command Help

!eval [code]
Can also use: e

*Run Python code and get the results.

This command supports multiple lines of code, including code wrapped inside a formatted code
block. Code can be re-evaluated by editing the original message within 10 seconds and
clicking the reaction that subsequently appears.

We've done our best to make this sandboxed, but do let us know if you manage to find an
issue with it!*

cloud stratus
#

Hey

#

can't really talk rn @hallow warren

limpid cradle
#

hlo @pliant atlas ,@somber heath

#

yes i am new here so i don't have the permission to talk as u said

#

so from which country u r from?

#

sorry can u plz repeat ?

#

ok

#

ok

#

network issues

somber heath
#

Rightio.

limpid cradle
#

which city in australia

tall latch
#

hey

limpid cradle
#

?

#

hey @tall latch

somber heath
#

I've a friend who once travelled around the world a bit. Wherever he went in a predominantly non English speaking country, whenever he told people where he was from, not everyone understood "Australia", but everyone recognised the miming of a kangaroo.

tall latch
#

me waiting an hour to test my bot

#

like every try takes an hour

somber heath
#

@tall latch o/

tall latch
#

cus it should measure hour

limpid cradle
#

but very few will get what is "THE LAND OF KANGAROO "

tall latch
#

yeah lol

#

india is diiferent

limpid cradle
#

@tall latch from where u r?

somber heath
#

@tall latch Haven't seen you about of late.

tall latch
#

india

limpid cradle
#

ok

tall latch
#

i didn't worked at all

#

my laptop struggles to handle edge sometimes

#

its a "baked" potato

limpid cradle
#

are u guys working on a project?

tall latch
#

no

limpid cradle
#

ok

tall latch
#

i mean im working on my discord bot

#

and opalmist is working on patterns??

somber heath
#

@tall latch I assume by that you mean it's a piece of shit?

#

@tall latch Oh yes.

tall latch
#

exactly

#

I know a good heater I got a good one. it has a cooling fan, has an Intel i3 7th chip(baked not fried), and heats up very good, and it's made by HP

somber heath
#

I'm currently sticking my nose into Perlin.

tall latch
#

this is a joke i made on my laptop

somber heath
#

Which isn't as interesting as Worley, but we'll see what we can do about that. 😁

#

@tall latch Ah, so overheating is your issue?

tall latch
#

yeah

#

and sub issues it creates

somber heath
#

There aren't utilities to talk to the chip governor to cap the frequencies?

tall latch
#

idk

#

like heating -> batt degrade -> charge more often -> heating

#

its a loop

somber heath
#

Maybe the cpu manufacturer may offer a download.

tall latch
#

this thing even got a cooling fan

#

but i have only seen it go over the normal speed automatically once

limpid cradle
#

ok bye buddies i gotta go

#

bye bye

somber heath
#

Oh, yes, there are fan speed utils sometimes, too.

#

Ta ta

tall latch
#

@somber heath you're the perfect dont need no filter

somber heath
#

Though the cmos may also be your friend

tall latch
#

cmos??

somber heath
#

What people call the "bios settings".

tall latch
#

oh this got the useless thing called the cd drive

#

oh yeah

#

f10

somber heath
#

Useless???

#

Take that back

tall latch
#

like who use it nowadays

somber heath
#

Why would you say such an awful thing?

somber heath
#

Useless, my backside.

#

@whole bear Apropos of nothing.

tall latch
#

oh and some thing is wrong with the volume now

jagged trail
#

@somber heath can I call you senpai?

whole bear
#

hey will py3.9 interpreter work for 3.4?

#

im running a programme and it shows nothin

somber heath
#

@jagged trail Within the context of this server, I prefer to be referred to as OpalMist. However, Opal and Mist are also acceptable.

#

@SysKey#8797 While a general principle in Python is backward compatability, not all older modules are compatible.

#

o/

whole bear
somber heath
#

brb

sick cloud
#

hello @somber heath @whole bear @whole bear

whole bear
sick cloud
#

alr

mighty finch
#

@whole bear stop spamming in every channels, you gonna get timeout

whole bear
sick cloud
whole bear
sick cloud
#

and who make it ?

#

hmmmm, but i wonder that how they connected the camera to the web

whole bear
#

it feels quite scary

#

someone might be watching u

#

😆

sick cloud
sick cloud
severe copper
#

so these are those webcam pictures

whole bear
sick cloud
whole bear
#

in style

#

u used edge?

sick cloud
whole bear
#

till date

sick cloud
whole bear
#

edge is lame

#

too slow

#

i favour chrome

sick cloud
#

nah, chrome was too slow for me, so i switched it edge

#

i prefer firefox

sick cloud
#

@clear forum helo

clear forum
#

hi

#

Gonna give you up

sick cloud
sick cloud
#

u r cutting out

whole bear
#

you guys use reddit?

clear forum
#

no

whole bear
#

hey

#

///@whole bear you a hacker or somethin

#

no

#

im just making a weird program

#

your name suggests

#

oh

#

is slav that russian thing

#

in your name

#

dont mind

#

just curious

spiral seal
#

hello

#

.

whole bear
#

@whole bear

#

this is hilarious

#

jesus christ yeah I get it I'm russian

unkempt berry
#

Привет русским

#

:kkomrade:

whole bear
#

you guys dont abuse me in russia oklogo_pycharm

#

this si the best ive seeen about russia

#

@whole bear i didnt knew what suka blyat was

#

do u?

#

shudDUP

whole notch
#

** Get rick rolled**

whole bear
#

no

#

god fucking dammit

whole notch
#

LMAO

whole bear
#

why bro??

#

why ?

#

who listens to this now?

#

@whole notch

whole bear
#

hey looks like i am forgetting the basics

#

help me with this code

#
    return x**x
    f(2)```
#

cant get an output

unkempt berry
#
In [1]: def f(x): 
   ...:     return x**x 
   ...:                                                                                                                                                                                                            

In [2]: f(2)                                                                                                                                                                                                       
Out[2]: 4
whole bear
#

what wrong here?

unkempt berry
#

probably you should skip indentation after your def

sick cloud
#

!e

def f(x):
    return x**x
print(f(10000))
unkempt berry
#

!e

import inflection
inflection.underscore('camelCase')
wise cargoBOT
#

@unkempt berry :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 1, in <module>
003 | ModuleNotFoundError: No module named 'inflection'
somber heath
#

Your function call is in the same block as the function definition.

#
def f(x):
    return x**x
    f(2)```
#

vs

#
def f(x):
    return x**x
f(2)```
#

The first one definitely won't call itself recursively, because it returns before it calls itself again.

#

But if it didn't return, it would.

#

If anyone says it calls itself recursively, they're a dirty liar and you should ignore them.

unkempt berry
#

so does this eval-bot support importing modules questionmark

somber heath
#

To an extent.

unkempt berry
#

!e

import json
print(json.dumps({'testing':'eval'}))
wise cargoBOT
#

@unkempt berry :white_check_mark: Your eval job has completed with return code 0.

{"testing": "eval"}
somber heath
#

It'll have the standard library...I don't think there are any exceptions, there. It'll have some popular third party ones, like numpy, I believe.

unkempt berry
#

w'd be cool if i could install em like in colab

somber heath
#

It'll have all that you need, most likely. For anything it doesn't have...if you think it might be something that it should have, you can mention it in #community-meta, I expect.

spiral seal
#

.

somber heath
#

o/

whole bear
#

see this no response

somber heath
#

If you want a response, print a response.

whole bear
#

but the tutorial guy didint still got a response

somber heath
#

Right now, f(2) is being returned as 4. So it's like writing 4 instead of f(2)

whole bear
#

print(f(x))

#

wait, why can't you just use print function?

#

that would be better

#

will this do it?

mighty finch
#

yes

somber heath
#

Did the tutorial guy have a lot of >>> on his screen?

mighty finch
#

the guy you watch probably just run it in python shell so it auto print out the return

whole bear
#

he used idle

#

ok, guys, can you give me an advice of it
inv = {'gold coin': 40, 'arrow': 12}
dragonloot = {'ruby': 1, 'armor set': 5, 'trophy': 1}
def before():
print('Before: ')
for k, v in inv.items():
print(k + ' - ' + str(v))

def after():
print('After: ')
total = inv.update(dragonloot)
for k, v in inv.items():
print(k + ' - ' + str(v))

before()
after()

#

not any ide or somethin

#

it works well, but how can i upgrade it?

somber heath
#

It'll have been in the python console, not as part of a module.

#
>>>2**2
4```
mighty finch
#

!code @whole bear you can format your code for easier to see

wise cargoBOT
#

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.

whole bear
#
dragonloot = {'ruby': 1, 'armor set': 5, 'trophy': 1}
def before(): 
    print('Before: ')
    for k, v in inv.items():
        print(k + ' - ' + str(v))

def after():
    print('After: ')
    total = inv.update(dragonloot)
    for k, v in inv.items():
        print(k + ' - ' + str(v))

before()
after()```
#

thx

somber heath
#

Suggestion: Use colons.

#

Dashes make it look like negatives.

mighty finch
#

use f string, it's easier to read than concat string

somber heath
#
name = input('What is your name? >')
print(f'Hello, {name}.')```
whole bear
#

wow

#

I didn't see it before

somber heath
#

Jamsyn.

sick cloud
somber heath
#

I am.

#

Therefore I think.

mighty finch
#

from python3.6 f string performance is better to use

somber heath
sick cloud
#

!e

wise cargoBOT
#
Command Help

!eval [code]
Can also use: e

*Run Python code and get the results.

This command supports multiple lines of code, including code wrapped inside a formatted code
block. Code can be re-evaluated by editing the original message within 10 seconds and
clicking the reaction that subsequently appears.

We've done our best to make this sandboxed, but do let us know if you manage to find an
issue with it!*

sick cloud
#

!e

a = "hi"
print("%s" % a)
sick cloud
#

!e

a = "hi"
print("%s" % a)
wise cargoBOT
#

@sick cloud :white_check_mark: Your eval job has completed with return code 0.

hi
sick cloud
#

yesss

whole bear
sick cloud
somber heath
whole bear
#

ok

somber heath
#

Translating the variables/expressions/objects in the curly brackets, {} to text.

mighty finch
#

from python.org

F-strings provide a way to embed expressions inside string literals, using a minimal syntax.
hallow warren
#

f-strings are luxuries, back in my day we had to trudge uphill in the snow both ways just to use the % operator

somber heath
#

So if you have a variable called name with a value of 'James', f'{name}' will be equal to 'James'.

#
name = 'James'
print(f'Hello, {name}')```
whole bear
#

thanx

sick cloud
#

!e

name = 'James'
print(f'Hello, {name}')
wise cargoBOT
#

@sick cloud :white_check_mark: Your eval job has completed with return code 0.

Hello, James
sick cloud
#

np

#

!e

name = 'James'
print('Hello, {}'.format(name))
wise cargoBOT
#

@sick cloud :white_check_mark: Your eval job has completed with return code 0.

Hello, James
sick cloud
#

yesss

somber heath
#

It also works with number values. Integers. Floats. You don't have to str them first.

whole bear
#

this is like the %s in c

#

i guess

somber heath
#

Yes, but better.

sick cloud
#

!e

a = 9
print(f"hi {a}")
wise cargoBOT
#

@sick cloud :white_check_mark: Your eval job has completed with return code 0.

hi 9
whole bear
#

boy c is great

#

love of my life

sick cloud
somber heath
#

I've heard good things about girl c, too.

sick cloud
#

hello @tranquil barn

whole bear
#

hes being rheotorica!!!!!!1

somber heath
#

@sick cloud Ask @whole bear.

whole bear
#

i cant speak

somber heath
#

Yahoy.

whole bear
sick cloud
somber heath
#

Ahoy.

whole bear
#

I joined today

#

Ma

sick cloud
whole bear
#

that too

somber heath
#

Depends.

whole bear
#

but not days

somber heath
#

How old are said 71 messages?

hallow warren
whole bear
#

all today

#

Yeah

#

?

#

/giphy /

#

/giphy /

#

/giphy /

somber heath
#

Ah. If they haven't been on for long, then that still doesn't count.

whole bear
#

it's all from today

#

Omg my keyboard is broken

somber heath
whole bear
#

now i figure java is too shitty and uselessly difficult like why do u use system.out.println istead of justprintf

sick cloud
#

unlucky

hallow warren
whole bear
#

and input is also bad

#

Idk it keeps typing ranom letters

sick cloud
whole bear
#

Maybe

#

I'll scan

#

maybe gett it blowed

somber heath
#

Does your keyboard feel broken?

#

Or...shit?

whole bear
#

happened recently to me also

#

No 😂

unkempt berry
#

probably razer rgb keyboard

#

4 gamerz

spiral seal
#

i need a voice verified

whole bear
#

?

whole bear
#

not here

#

I was saying he should go there

spiral seal
#

ok

#

thanks

whole bear
#

I want to S P E A K

#

I am no troll

#

I do the code thingy

#

it doen't work so

#

read the rules man

#

I slam my head on my desks JUST LIKE YOU

somber heath
#

Apply yourself, and you'll find it's not an insurmountable hurdle. 🙂

whole bear
#

you gotta messae atleast 5o in 30 mins span

#

god dangit

#

I just need 3 days which is stupid 😠

sick cloud
#

brb

whole bear
#

I wanna s p E AK

#

hey hows it in russia?

whole bear
#

bad

#

i wa sthinkig for exchange there

#

patience bad

unkempt berry
#

showoff your russian accent

whole bear
#

I wanna talk about the weird shit I've been doing

somber heath
#

That loop is too damn short.

#

Well, go on.

#

Tell us about the weird shit you've been doing.

#

Because I'm where I would prefer to not talk, lest I disturb the other members of my household.

whole bear
unkempt berry
spiral seal
whole bear
#

how to view all the builtin functions

somber heath
#

The Python documentation from the python.org website would list them.

sick cloud
whole bear
somber heath
#

There is also help()

#

Called on its own like that, however, you might need to poke around.

whole bear
#

i know the help

#

why delete bro

sick cloud
#

it wan't relevent

#

!e

import re
print(dir(re))
somber heath
#

I'm listening.

wise cargoBOT
#

@sick cloud :white_check_mark: Your eval job has completed with return code 0.

['A', 'ASCII', 'DEBUG', 'DOTALL', 'I', 'IGNORECASE', 'L', 'LOCALE', 'M', 'MULTILINE', 'Match', 'Pattern', 'RegexFlag', 'S', 'Scanner', 'T', 'TEMPLATE', 'U', 'UNICODE', 'VERBOSE', 'X', '_MAXCACHE', '__all__', '__builtins__', '__cached__', '__doc__', '__file__', '__loader__', '__name__', '__package__', '__spec__', '__version__', '_cache', '_compile', '_compile_repl', '_expand', '_locale', '_pickle', '_special_chars_map', '_subx', 'compile', 'copyreg', 'enum', 'error', 'escape', 'findall', 'finditer', 'fullmatch', 'functools', 'match', 'purge', 'search', 'split', 'sre_compile', 'sre_parse', 'sub', 'subn', 'template']
#

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.

whole bear
#

!code

#

and then write?

#

!code inv = {'gold coin': 40, 'arrow': 12}
dragonloot = {'ruby': 1, 'armor set': 5, 'trophy': 1}
def before():
print('Before: ')
for k, v in inv.items():
print(f'{k} - {v}')

def after():
print('After: ')
total = inv.update(dragonloot)
for k, v in inv.items():
print(f'{k} - {v}')

before()
after()

sick cloud
#
inv = {'gold coin': 40, 'arrow': 12}
dragonloot = {'ruby': 1, 'armor set': 5, 'trophy': 1}
def before(): 
    print('Before: ')
    for k, v in inv.items():
        print(f'{k} - {v}')

def after():
    print('After: ')
    total = inv.update(dragonloot)
    for k, v in inv.items():
        print(f'{k} - {v}')

before()
after()
whole bear
#

how did u do it/

sick cloud
#

```py
code

whole bear
#
inv = {'gold coin': 40, 'arrow': 12}
dragonloot = {'ruby': 1, 'armor set': 5, 'trophy': 1}
def before(): 
    print('Before: ')
    for k, v in inv.items():
        print(f'{k} - {v}')

def after():
    print('After: ')
    total = inv.update(dragonloot)
    for k, v in inv.items():
        print(f'{k} - {v}')

before()
after()
sick cloud
#

!e

inv = {'gold coin': 40, 'arrow': 12}
dragonloot = {'ruby': 1, 'armor set': 5, 'trophy': 1}
def before(): 
    print('Before: ')
    for k, v in inv.items():
        print(f'{k} - {v}')

def after():
    print('After: ')
    total = inv.update(dragonloot)
    for k, v in inv.items():
        print(f'{k} - {v}')

before()
after()
wise cargoBOT
#

@sick cloud :white_check_mark: Your eval job has completed with return code 0.

001 | Before: 
002 | gold coin - 40
003 | arrow - 12
004 | After: 
005 | gold coin - 40
006 | arrow - 12
007 | ruby - 1
008 | armor set - 5
009 | trophy - 1
whole bear
#

wow

#

thx man

sick cloud
#

np

somber heath
#

All that's in the flow of that function gets executed, yes.

whole bear
#

fine, how can I do it without x.update() function, cuz it replaces the code that followed before

somber heath
#

if statements, for example, may mean that some of the code gets executed while other parts of it don't

sick cloud
somber heath
#

Check your methods for a missing self parameter.

sick cloud
#

that's my code

somber heath
#

Hm. Okay. Looking.

sick cloud
unkempt berry
#

try to pass command_prefix instead of prefix

whole bear
#

wondering what netflix had used as back end!

sick cloud
unkempt berry
somber heath
#

Hoy Kim.

#

Well, you're familiar with my common reason.

#

Which is the one that applies.

sick cloud
#

@severe elm helo

somber heath
#

Shame!

#

Shaaaame!

#

You'll pick it back up.

sick cloud
#

i don't drink coffee...

somber heath
#

You might be rusty, but you won't have forgotten the kinds of things you know can be done.

#

and you can look those things up

whole bear
#

i am addicted to only two snakes in this world

#

mine and pythons

sick cloud
#

wdym mine

whole bear
#

no gf

sick cloud
#

@wind cobalt nope

whole bear
#

no s*x

somber heath
#

@wind cobalt Your own audio does not sound echoey.

sick cloud
#

@wind cobalt u r not echoing

somber heath
#

As to Kimchi's audio, I do not notice any echo from you, @wind cobalt.

#

Well, I'll keep an ear out if I can remember in the moment.

#

Yeah. I get it.

#

I think I have the same issue on the main desktop, here.

#

Unless I'm using a different mic system using usb.

#

I think all of the standard audio jacks on this thing are a little fried.

whole bear
#

idk why but now desktop sound old to me even if its the latest feels like laptops have taken over

somber heath
#

Except the HDMI one, which doesn't count.

#

and that's out only

wind cobalt
#

I see

#

Discord is weird

sick cloud
unkempt berry
#

if ure not 300 fps rgb gamer, you use laptop yeah

unkempt berry
#

so if youre all have your mics muted what's the point of being in the voice channel questionmark

whole bear
#

😄

somber heath
#

Listening to other people talk when they do come along.

#

and talking back to them in here

#

Note: Talking back, not with.

#

Because sass is its own reward.

pure path
#

.aoc join

scarlet drift
#

devs need to realise that environment variables are actually a thing and they need to use them

somber heath
#

It probably doesn't help that the key isn't completely obscured.

#

@scarlet drift

digital jackal
#
import pynput 
from pynput.keyboard import Key, Listener
count = 0
keys = {}
def on_press(key):
    global keys,count

    keys.append(key)
    count += 1
    print("{0} pressed".format(key))
    if count >= 10 :
        count = 0
        write_file(keys)
        keys = []

def write_file(keys):
    with open("log.txt" , "a") as f:
        for key in keys :
            f.write(key)


def on_release(key):
    if key == Key.esc:
        return False


with Listener(on_press= on_press, on_release = on_release) as Listener:
    Listener.join()
#

need help

#

im trying a keyrecording project but im getting errors

#

Unhandled exception in listener callback
Traceback (most recent call last):
File "C:\python39\lib\site-packages\pynput_util_init_.py", line 211, in inner
return f(self, *args, **kwargs)
File "C:\python39\lib\site-packages\pynput\keyboard_win32.py", line 280, in process
self.on_press(key)
File "C:\python39\lib\site-packages\pynput_util_init
.py", line 127, in inner
if f(*args) is False:
File "d:\Users\Marven\Desktop\VS code files\screen\hey.py", line 8, in on_press
keys.append(key)
AttributeError: 'dict' object has no attribute 'append'
Traceback (most recent call last):
File "d:\Users\Marven\Desktop\VS code files\screen\hey.py", line 29, in <module>
Listener.join()
File "C:\python39\lib\site-packages\pynput_util_init_.py", line 259, in join
six.reraise(exc_type, exc_value, exc_traceback)
File "C:\python39\lib\site-packages\six.py", line 702, in reraise
raise value.with_traceback(tb)
File "C:\python39\lib\site-packages\pynput_util_init_.py", line 211, in inner
return f(self, *args, **kwargs)
File "C:\python39\lib\site-packages\pynput\keyboard_win32.py", line 280, in process
self.on_press(key)
File "C:\python39\lib\site-packages\pynput_util_init
.py", line 127, in inner
if f(*args) is False:
File "d:\Users\Marven\Desktop\VS code files\screen\hey.py", line 8, in on_press
keys.append(key)
AttributeError: 'dict' object has no attribute 'append'

ripe torrent
#

keys = []

#

line 4

sick cloud
#

hello @digital jackal

digital jackal
#

hey

sick cloud
digital jackal
#

gd how abt you

sick cloud
#
import pynput 
from pynput.keyboard import Key, Listener
count = 0
keys = []
def on_press(key):
    global keys,count

    keys.append(key)
    count += 1
    print("{0} pressed".format(key))
    if count >= 10 :
        count = 0
        write_file(keys)
        keys = []

def write_file(keys):
    with open("log.txt" , "a") as f:
        for key in keys :
            f.write(key)


def on_release(key):
    if key == Key.esc:
        return False

with Listener(on_press= on_press, on_release = on_release) as Listener:
    Listener.join()
```try this
#

i replaces {} with []

#
import pynput 
from pynput.keyboard import Key, Listener
count = 0
keys = []
def on_press(key):
    global keys,count

    keys.append(key)
    count += 1
    print("{0} pressed".format(key))
    if count >= 10 :
        count = 0
        write_file(keys)
        keys = []

def write_file(keys):
    with open("log.txt" , "w") as f:
        for key in keys :
            f.write(key)


def on_release(key):
    if key == Key.esc:
        return False

with Listener(on_press= on_press, on_release = on_release) as Listener:
    Listener.join()
```try this
#

changed the mode, from a to w

#

hmmm, i think

#

u r not calling the function at the first place

#

u r not calling it

#

@ripe torrent he didn't call that function

ripe torrent
#
def write_file(keys):
    with open("log.txt" , "a") as f:
        for key in keys :
            f.write(key)
sick cloud
#

@digital jackal u didn't call it i guess

#

nope, write_file isn't called

#

just just call it

#

alright

#

change the mode from a to w

#

lets goooooooo

#

yes

#

@digital jackal np, where u from ?

digital jackal
#

lebanon

sick cloud
#

@ripe torrent i'll tell u someday else

rain egret
#

oh yea

#

@digital jackal first time seing someone from my country coding

somber heath
#

@chrome osprey Sorry. You're only intermittently intelligible. Could changing your wifi channel to one less populated be of help?

whole bear
chrome osprey
whole bear
#

is this a house roof or something??

#

are cement roof uncommon there?

#

like here all u see are ceement roof

#

cold?

#

oh!

stoic ore
#

Hi @ALL

sick cloud
spiral seal
#

@near ocean sa

near ocean
#

hahah

#

as

spiral seal
#

naber

stoic ore
#

ingilizce yazmalisiniz gencler

spiral seal
#

Türkler heryerde

stoic ore
#

turk degilim aslanim

#

ingilizce yaz

spiral seal
#

ok

ripe torrent
sick cloud
#

2 or more years

#

discord bot

whole bear
willow light
#

...why are you posting .onion links?

somber heath
sick cloud
#

cool

whole bear
#

@somber heath whats your appx age if i may ask?

somber heath
#

@whole bear Older than you.

whole bear
#

yes u are'

willow light
#

no i am

ripe torrent
sick cloud
whole bear
#

interesting to see win8 user

whole bear
sick cloud
#

8.1 to be exact

whole bear
#

i would have degraded to 7

#

instead

sick cloud
#

i prefer win8.1

whole bear
#

many tests say that 8 is faster than 7 win

willow light
#

Ahem.

Gentoo Linux

whole bear
#

but i prefer 10 anyway)

#

or linux

whole bear
sick cloud
whole bear
#

@somber heath what hours/day yove devoted appx

somber heath
whole bear
#

@somber heath i bet this might earn you coz this is amazing

whole bear
#

did u do it yourself?

somber heath
#

I wrote the code that did, yes.

sick cloud
#

nah, i was just wondering

#

and u also used multithreading to speed up the code right ?

#

ummm, then did u try to use async ?

#

true

sick cloud
#

but more process could occur though ?

ripe torrent
sick cloud
#

@rugged root good afternoon

#

or the mod-mail

rugged root
#

@whole bear Here, for clarification

whole bear
#

hi

neon sleet
#

does anybody has code for day3 part1 for AoC 2019 ?

sick cloud
#

@neon sleet hello

neon sleet
#

hi

sick cloud
#

what is AoC 2019 ?

neon sleet
#

Advent of Code

#

2019

sick cloud
#

never heard of it

neon sleet
#

huh?

whole bear
rugged root
neon sleet
#

does anybody has code for day3 part1 for Advent of Code 2019 ?

whole bear
#

i already did verified my self

sick cloud
whole bear
#

i am sorry but my english is kind a bad

sick cloud
neon sleet
#

haha, mine is bad aswell

whole bear
sick cloud
whole bear
whole bear
#

if its allowed here

sick cloud
whole bear
#

ok thanks

sick cloud
whole bear
#

can i send you friend request if its allowed here

sick cloud
sick cloud
#

what could go wrong ?

chrome osprey
sick cloud
#

his home i guess

whole bear
#

i have to w8 for 3 days and also i have to complete 50 massages

sick cloud
#

w8 --> windows 8 ?

#

brb

whole bear
#

no wait

rugged root
#

w8 == wait

whole bear
#

long->wait short->w8

hidden flower
#

w8 == Wubernetes

rugged root
#

.uwu Kubernetes

viscid lagoonBOT
#

Kubewnetes

willow light
#

Hemlock wut

whole bear
#

do you guys teach white hat hacking

ripe torrent
#

Nope

rugged root
#

We do not, no

chrome osprey
#

...

whole bear
#

ok

#

hmm

willow light
#

what about the not so white-hat kind? /s

chrome osprey
#

hemlock i payed 58,000 and rest is monthly

whole bear
#

actully i wanna make ma cereer in it

pure path
#

Someone should stream today, more ppl would join the chat

swift valley
#

I could try to, but you're gonna watch my Emacs chug for 3 minutes

pure path
#

sure i will, do it @swift valley

willow light
#

that's why you use VS Code with >9000 addons

swift valley
#

Just 3 minutes

willow light
#

if you're going to suffer, do so in style

pure path
rugged root
wise glade
#

TypeError: 'module' object is not callable

swift valley
#

@willow light My Emacs is stylish enough thank you very much

willow light
#

how? it's emacs

willow light
#

unless you're using spacemacs, which i can forgive since you can use real editor keybindings on that one

#

:q

pure path
#

@tranquil barn u got background noises, could u mute its annoying

wise glade
#

oh, wait I fixed it

somber heath
#

@wise glade

import random
random()```
This is what you shouldn't be doing.
swift valley
#

Doom Emacs

wise glade
#

i created script name and a function inside that script the same name, and didn't imported correctly 😝

willow light
#

rip and tear the bugs?

swift valley
#

Dark+

sick cloud
swift valley
pure path
#

@swift valley u aint gonna stream? 😞

ripe torrent
swift valley
#

Give me a few

swift valley
sick cloud
ripe torrent
#

Ahhh..

swift valley
#

Will switch to i3-gaps once I find the time

ripe torrent
#

Were you using vim or Emacs before ?

willow light
#

meanwhile I'm over here experimenting with kde plasma for the first time on my "screw around with linux features i haven't used before" laptop.

swift valley
#

Neovim, until I got tired of it

sick cloud
#

what does kde mean ?

swift valley
#

Rather, until it wasn't enough for me

ripe torrent
#

KDE is a community and a desktop environment

hidden flower
pure path
#

yayyyyy

#

pure streaming

sick cloud
hidden flower
#

KDE develops a hot of applications

#

like plasma desktop

#

okular

ripe torrent
hidden flower
#

konsole

#

etc

willow light
#

although I use the deepin terminal emulator because it looks nice

pure path
#

ok now we gonna have more ppl

#

join cause of the stream

sick cloud
#

16/25

swift valley
#

It's my LISP interpreter

whole bear
#

@ripe torrent Yea its any alloy

chrome osprey
#

im thinking of getting spectrum wifi should i?

swift valley
#

I can turn it down from 720 to 480 lol

pure path
#

@rugged root u gonna be doing AoC right?

swift valley
#

Also my country's internet is bad anyways

#

potato mode on

pure path
#

its all good

sick cloud
#

its her LISP interpreter

pure path
#

his* (i think)

wise glade
sick cloud
swift valley
#

Yes

pure path
#

terminal god

swift valley
#

Also I'm long overdue and my PC's chugging

#

Show's over, byebye

pure path
#

sad

pure path
willow light
#

got pulled into a support call and you guys aren't privy to that

sick cloud
wise glade
#

how do I exit my always running programs? I put my scritps in a while loop, in a multiprocessing pool, now I don't know how to stop it without closing the terminal

hidden flower
#

ctrl C?

amber raptor
#

Clarinerd cool story

amber raptor
#

I’ll file it in my shredder

swift valley
#

I'm not used to your profile picture being HD @amber raptor

amber raptor
#

This is voice fault

willow light
#

@amber raptor didn't ask you lol

rugged root
#

In fairness none of us asked

wise glade
#

how do your exit python programs? exit()?

sick cloud
swift valley
#

sys.exit is recommended for stopping Python applications

#

quit and exit is for the REPL

amber raptor
#

Few people ask me for my wisdom but I give it to all

hidden flower
#

while it's running

#

oh

swift valley
#

Also @hollow haven the terminal is running on Emacs

wise glade
#

all I can do in tkinter is this thing ```py
import tkinter
from tkinter import messagebox
def popUp(title="Some Title", message="Some Message"):
'''Creates a pop up box, with args title and message, goes away when pressed OK button'''
root = tkinter.Tk()
root.withdraw()
messagebox.showinfo(title, message)

anyone knows `tkinter`, can you create a simple code please with a `X` button, which when clicked just calls `exit()` on the entire program 🙏
sick cloud
#

i did

#

with sly

shrewd nest
#

Wassup

swift valley
#

Language design is really hard

sick cloud
#

@tranquil barn i did make one with sly

pure path
#

@swift valley are u using a parser for your LISP interpreter?

shrewd nest
#

Who can help me with ImGui for C++?

pure path
#

but it sounds impressive

sick cloud
#

i bet Bill Gates would make one of those by himself

swift valley
sick cloud
#

Cython

somber heath
#

"Hi, I'm Ty Pinting. You may remember me from such languages as..."

pure path
#

what's CICD

swift valley
#

Continuous Integration and Continuous Delivery/Deployment

ripe torrent
#

You have millions of servers and never ending merges to code base you can leverage CICD to do your thing

#

If you know what I mean

willow light
#

Assuming it is properly implemented.

#

Hope you like YAML. If not, then I hope you like Groovy since then you're using Jenkins.

pure path
#

i prefer JSON over yaml

scarlet drift
#

wsup guys

swift valley
#

GNU's Not Unix

wise glade
#
try:
   rmtree(filepath)
except FileNotFoundError, FileExistsError: # is this line correct syntax?
     Path.mkdir(filepath)
willow light
#

I would put the exceptions separately

swift valley
#

also I'm not sure why my mic sounds bad on my laptop, it's fine on my phone lol

pure path
#

@Events Lead have access to admin channels?

somber heath
#
try:
    pass
except KeyError:
    pass
except IndexError:
    pass```
pure path
#

!server

wise cargoBOT
#

Server information
Created: 3 years, 10 months and 22 days ago
Voice region: europe
Features: WELCOME_SCREEN_ENABLED, DISCOVERABLE, COMMUNITY, VANITY_URL, PARTNERED, VIP_REGIONS, NEWS, RELAY_ENABLED, ANIMATED_ICON, PREVIEW_ENABLED, BANNER, MEMBER_VERIFICATION_GATE_ENABLED, INVITE_SPLASH

Channel counts
Category channels: 33
News channels: 8
Text channels: 185
Voice channels: 12
Staff channels: 73

Member counts
Members: 113,911
Staff members: 88
Roles: 76

Member statuses
status_online 35,007
status_offline 78,904

stoic nymph
#

hi

willow light
#

.wa tides Boston, MA

viscid lagoonBOT
graceful isle
#

hey...

swift valley
#

We're probably going to hit 200k in a few months/years ™

somber heath
#

@wise glade Did you spot my demonstration above?

whole bear
#

hey guys do u think jumping fron direct beginner to learning py along with data structure would help????

graceful isle
#

Maybe

scarlet drift
whole bear
#

consider a guy this mad that hes not gonna sleep tonight

graceful isle
#

python == english

stoic nymph
#

how can i join vc

sick cloud
somber heath
#

@whole bear Provided you're not overwhelming your brainbox, anything you can learn to do in a proper fashion is worth learning.

scarlet drift
#

And by basics I mean the general syntax and what not

sick cloud
stoic nymph
#

anyone

willow light
#

.wa cross((x,y,z),(u-z,v-y,w-x))

somber heath
#

@stoic nymph Check the voice verification channel for instructions.

stoic nymph
#

stuck

viscid lagoonBOT
wise glade
#
def MonitorComponentsChanges():
    '''Continuously Monitor `components.txt` file for changes and take appropriate actions'''

    global filepath

    # Getting default user help message size
    file_size = content_length(filepath
with pool(max_workers=1) as p:
        while True:
            changed = p.submit(detect_change(filepath))
            
            if changed:
                # Get changes length
                new_length = content_length(filepath)

                if file_size < new_length: # Gates info added
                    print('`components.txt` modified, parsing components')
                    parseComponents()
    
                elif file_size == new_length: # No changes in the file contents
                    continue

                else:
                    # Creates file again, if new_length < original file_size
                    print('`components.txt` contents found wrong. Creating the file again.')
                    popUp("`Components.txt` Created Again", "`Components.txt` file contents were found wrong. File created again.")
                    fileMaker()

will this code ever switch back to main script? or do i need to put a time.sleep() or something in the while loop?

pure path
#

me tooo

graceful isle
#

icpc??

whole bear
graceful isle
#

mini nice

hollow haven
pure path
#

@swift valley that sounded like a wolf howling behind you, 👀

swift valley
swift valley
#

Midnight is noisy here

pure path
#

lol

willow light
rugged root
#

Back in a moment

wise glade
willow light
#

.wa cross((u,v,w),(d/dx,d/dy,d/dz))

viscid lagoonBOT
willow light
#

oh i see

#

.wa grad(u,v,w)

viscid lagoonBOT
wise glade
#
if __name__ == '__main__':
    createComponents_txt()
    MonitorComponentsChanges()
    parse_all_nets()
willow light
#

Okay how do you do the wolfram|alpha syntax for del cross (u,v,w)?

#

.wa curl(u,v,w)

viscid lagoonBOT
willow light
#

there we go

rugged root
#

@hollow haven Kind of

#

What's up

#

Yeppers

sick cloud
#

a moment of silence

willow light
#

poggers

sick cloud
willow light
sick cloud
sonic hatch
#

what's up? what are you guys up to?

swift valley
#

@wise glade You might want to place this outside of MonitorComponentsChanges

with pool(max_workers=1) as p:
wise glade
#

ok, let me give it a shot

swift valley
#

What's basically happening here is that MonitorComponentsChanges is blocking regardless whether you're using concurrency for it or not

#

You'd probably want to do something like

with ProcessPoolExecutor(max_workers=2) as p:
    p.submit(background_task)
    p.sumbit(do_something_else)
wise glade
#

so I have to put it where MonitorComponentsChanges function gets called?

rugged root
swift valley
#

You'd want to make the context manager to be in the top level of your script

whole bear
#
    return one > two```
#

they ask me what is two here?

#

three options

#

fuction name

sonic hatch
#

LET IT OUTTTT

whole bear
#

argument

#

parameter

neon sleet
#

woohoo, so many guys in voice

sonic hatch
#

yeah

whole bear
rugged root
whole bear
#

what is it ?

pure path
#

snippets?

swift valley
#

Gonna get coffee, be back in a bit

wise glade
#
def changes():
    MonitorComponentsChanges()

if __name__ == '__main__':
    createComponents_txt()
    with pool_m(max_workers=1) as p:
        p.submit(changes)
    parse_all_nets()

this worked

sick cloud
#

@amber raptor swift made by apple

#

can only be used in apple device

#

like visual basic -> made by microsoft

rugged root
willow light
#

"Well I have experience making games on my calculator, does that count?" /sarcasm

wise glade
#

Flutter is Google’s UI toolkit for building beautiful, natively compiled applications for mobile, web, and desktop from a single codebase.
Is this true? Just one code, and works everywhere

strange plank
#

for the past 4 years its been 4 million devices or something

rugged root
#

I knew I was missing another one

#

And yeah, Flutter is another great one

#

That's right, Evo

#

Just cracks me up

#

At least McDonalds went with "Over a billion sold" or something

sweet totem
#

hello testing tableflip (╯°□°)╯︵ ┻━┻

amber raptor
#

Accelerator, I mean we were just talking about Google and it’s love for abandoning things

wise glade
#
with pool(max_workers = 2) as p:
  if __name__ == '__main__':
      p.submit(main1())
      p.submit(main2())

Should I do this? Is it okay to do this stuff?

pure path
#

this makes it so that you code wont' be run on other files iirc

somber heath
#

Outside of the with.

wise glade
#

so I cant put this if __name__ == '__main__': section inside a multiprocessin pool?

somber heath
#

If name equals main, run the main organising code. The code that won't be run when you start up the child processes.

wise glade
#

you know, I thought if main1() & main2() runs infinite while loops, they both will still run, since they are multiprocessed?

somber heath
#

Anything that's when the module is being run when it's a child process, name will not equal main.

wise glade
#

ok, so this section need to exits independent for everything to run

#

is MacOs & linux two different things? or does MacOs falls under a linux category?

amber raptor
#

MacOS falls under *nix

swift valley
#

MacOS & Linux both descend from Unix

wise glade
#

but Ubuntu descend from Linux?

#

Unix -> Linux -> Ubuntu?

pure path
scarlet drift
wise glade
#

what's a distro?

#

modified version?

scarlet drift
#

A flavour of linux

#

at the core it's linux

wise glade
#

oh, so with added functionalities

willow light
#

it's an interesting phylogeny tbh

scarlet drift
scarlet drift
swift valley
#

For example, Ubuntu comes with a desktop environment and its package manager, as well as the base utilities that you'd expect from a GNU system

subtle orchid
#

@amber raptor your arm okay now?

amber raptor
#

Nope

#

Had surgery

subtle orchid
#

oof

#

that sucks

swift valley
#

Are carpeted bathrooms a mistake?

hollow haven
#

The biggest mistake

whole bear
subtle orchid
#

cause you check if there is a serial killer behind curtains?

swift valley
#

Just hover over the seat lemon_fingerguns

#

Squat on the seat?

amber raptor
#

Carpeted bathrooms are disgusting

whole bear
#

its a pain

#

my hamstring got stronger

#

in those squat toilet

whole notch
#

A very **awkward **topic.

swift valley
#

I really don't understand the use of toilet paper; probably a culture thing

subtle orchid
#

yep

#

how conversation reached here?

#

out of every discussable topic