#voice-chat-text-0

1 messages · Page 1020 of 1

wintry pier
#

error sql no such as person_id

#

found

willow ruin
#

do you want file in which i am running this

wintry pier
#

is pure sql ?

willow ruin
#

sqlite3

old pecan
#

This is the one that I am trying to do rn. How can I assign a number to a letter in a loop?

sweet lodge
#

@rugged root - So are you thinking you're going to close auto_guild#4 and update it differently instead?

#

I'll be back

south wing
#

gl with work everyone

old pecan
#

@rugged root thx u for the help I might head out. Have a nice day all of u ❤️

rugged root
#

You as well

mild quartz
rugged root
#

@gilded rivet Damn it, just missed you

wind raptor
wise cargoBOT
#

@old pecan :x: Your eval job has completed with return code 1.

001 |   File "<string>", line 6
002 |     if (serialCodes[0]=="A")
003 |                             ^
004 | SyntaxError: expected ':'
wind raptor
old pecan
#

!e import numpy as np

def german_tank_problem(serialCodes):

for codigo in serialCodes:
    if (serialCodes[0]=="A"):
        aux = 1

    elif (serialCodes[0]=="B"):
        aux = 1000

    elif (serialCodes[0]=="C"):
        aux = 2000

    elif (serialCodes[0]=="D"):
        aux = 3000


    suma = serialCodes[1,2,3]+aux
    sumas[] = suma
    
    max = np.max(sumas)

    n = len(sumas)
    
return (max+((max)/n)-1)
wise cargoBOT
#

@old pecan :x: Your eval job has completed with return code 1.

001 |   File "<string>", line 20
002 |     sumas[] = suma
003 |           ^
004 | SyntaxError: invalid syntax
rugged root
#
import numpy as np

def german_tank_problem(serialCodes): 

    for codigo in serialCodes:
        if (serialCodes[0]=="A"):
            aux = 1

        elif (serialCodes[0]=="B"):
            aux = 1000

        elif (serialCodes[0]=="C"):
            aux = 2000

        elif (serialCodes[0]=="D"):
            aux = 3000


        suma = serialCodes[1,2,3]+aux
        sumas[] = suma

        max = np.max(sumas)

        n = len(sumas)

    return (max+((max)/n)-1)
gilded rivet
#

rugged root
#

How've you been?

old pecan
#

def german_tank_problem(serialCodes): 

    sumas=[]
    for codigo in serialCodes:
        if (serialCodes[0]=="A"):
            aux = 1

        elif (serialCodes.append[0]=="B"):
            aux = 1000

        elif (serialCodes.append[0]=="C"):
            aux = 2000

        elif (serialCodes.append[0]=="D"):
            aux = 3000


        suma = serialCodes[1,2,3]+aux
        
    sumas[] = suma
        
    max = np.max(sumas)

    n = len(sumas)
        
    return (max+((max)/n)-1)

mild quartz
#

need to head out, see you

old pecan
#

!e import numpy as np

def german_tank_problem(serialCodes):

sumas=[]
for codigo in serialCodes:
    if (serialCodes[0]=="A"):
        aux = 1

    elif (serialCodes.append[0]=="B"):
        aux = 1000

    elif (serialCodes.append[0]=="C"):
        aux = 2000

    elif (serialCodes.append[0]=="D"):
        aux = 3000


    suma = serialCodes[1,2,3]+aux
    
    
sumas = "-".join(suma)
    

    
max = np.max(sumas)

n = len(sumas)
    
return (max+((max)/n)-1)
wise cargoBOT
#

@old pecan :warning: Your eval job has completed with return code 0.

[No output]
rugged root
#
sumas.append()
old pecan
#

!e import numpy as np

def german_tank_problem(serialCodes):

sumas=[]
for codigo in serialCodes:
    if (serialCodes[0]=="A"):
        aux = 1

    elif (serialCodes.append[0]=="B"):
        aux = 1000

    elif (serialCodes.append[0]=="C"):
        aux = 2000

    elif (serialCodes.append[0]=="D"):
        aux = 3000


    suma = serialCodes[1,2,3]+aux
    
    
    sumas.append(suma)
    

    
max = np.max(sumas)

n = len(sumas)
    
return (max+((max)/n)-1)
wise cargoBOT
#

@old pecan :warning: Your eval job has completed with return code 0.

[No output]
rugged root
#

!code

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.

rugged root
old pecan
#

can I substitute a letter with a +,-,*,or /

#

??

rugged root
#

str.replace()

#

!d str.replace

wise cargoBOT
#

str.replace(old, new[, count])```
Return a copy of the string with all occurrences of substring *old* replaced by *new*. If the optional argument *count* is given, only the first *count* occurrences are replaced.
old pecan
#

int()

rugged root
gilded rivet
old pecan
#
program = (“2 A 3 M 4 D 8”)

letters = wordEncode.split(" ")

print(letters) ```
#

!e program = (“2 A 3 M 4 D 8”)

letters = wordEncode.split(" ")

print(letters)

wise cargoBOT
#

@old pecan :x: Your eval job has completed with return code 1.

001 |   File "<string>", line 1
002 |     program = (“2 A 3 M 4 D 8”)
003 |                ^
004 | SyntaxError: invalid character '“' (U+201C)
rugged root
#

Oh the quote marks are weird

gilded rivet
old pecan
#

letters = program.split(" ")

a=[]

for letter in letters:
        if letter is A:
         str.replace(self, A,(+))
            
         
            
print(letters) ```
lavish rover
#

Copium

old pecan
#

xd

lavish rover
#

That's dopium

#

Big nopium

#

Just have hopium

rugged root
#
program = ('2 A 3 M 4 D 8')

converted = program.replace("A", "+")

letters = converted.split()
lavish rover
old pecan
#
program = ('2 A 3 M 4 D 8')


for letter in program:
    if letter is A:
        converted = program.replace("A", "+")
        
    elif letter is B:
        converted = program.replace("B","-")
        
    elif letter is C:
        converted = program.replace("C","*")
        
    elif letter is D:
        converted = program.replace("D","/")
        
    
        
lavish rover
#

!d str.translate

wise cargoBOT
#

str.translate(table)```
Return a copy of the string in which each character has been mapped through the given translation table. The table must be an object that implements indexing via `__getitem__()`, typically a [mapping](https://docs.python.org/3/glossary.html#term-mapping) or [sequence](https://docs.python.org/3/glossary.html#term-sequence). When indexed by a Unicode ordinal (an integer), the table object can do any of the following: return a Unicode ordinal or a string, to map the character to one or more other characters; return `None`, to delete the character from the return string; or raise a [`LookupError`](https://docs.python.org/3/library/exceptions.html#LookupError "LookupError") exception, to map the character to itself.

You can use [`str.maketrans()`](https://docs.python.org/3/library/stdtypes.html#str.maketrans "str.maketrans") to create a translation map from character-to-character mappings in different formats.

See also the [`codecs`](https://docs.python.org/3/library/codecs.html#module-codecs "codecs: Encode and decode data and streams.") module for a more flexible approach to custom character mappings.
old pecan
#
program = ('2 A 3 M 4 D 8')



if letter is A:
        converted = program.replace("A", "+")
        
elif letter is B:
        converted = program.replace("B","-")
        
elif letter is C:
        converted = program.replace("C","*")
        
elif letter is D:
        converted = program.replace("D","/")
        
    ```
#

if letter is A:

NameError: name 'A' is not defined

lavish rover
#

!e

a = ('2 A 3 M 4 D 8')
mp = dict(zip('ABCD', '+-/*'))
b = a.translate(str.maketrans(mp))
print(b)
rugged root
#

if letter is A:

old pecan
#

if letter is ==A:

rugged root
#
program = ('2 A 3 M 4 D 8')

program = program.replace("A", "+")
program = program.replace("B", "-")
...
wise cargoBOT
#

@ripe lantern :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 1, in <module>
003 | NameError: name 'chicken' is not defined
#

@ripe lantern :white_check_mark: Your eval job has completed with return code 0.

001 | !
002 | h
003 | i
004 | !
005 | k
006 | e
007 | n
lavish rover
#

!d ast.literal_eval

wise cargoBOT
#

ast.literal_eval(node_or_string)```
Safely evaluate an expression node or a string containing a Python literal or
container display. The string or node provided may only consist of the
following Python literal structures: strings, bytes, numbers, tuples, lists,
dicts, sets, booleans, `None` and `Ellipsis`.

This can be used for safely evaluating strings containing Python values from
untrusted sources without the need to parse the values oneself. It is not
capable of evaluating arbitrarily complex expressions, for example involving
operators or indexing.
lavish rover
#

!e

import ast
print(ast.literal_eval("34+35+(20+22)*1000"))
old pecan
#

!e import ast
program = ('2 A 3 M 4 D 8')

program = program.replace("A", "+")
program = program.replace("S", "-")
program = program.replace("M", "*")
program = program.replace("D", "/")

ast.literal_eval(program)

print(program)

wise cargoBOT
#

@old pecan :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 11, in <module>
003 |   File "/usr/local/lib/python3.10/ast.py", line 108, in literal_eval
004 |     return _convert(node_or_string)
005 |   File "/usr/local/lib/python3.10/ast.py", line 101, in _convert
006 |     right = _convert_num(node.right)
007 |   File "/usr/local/lib/python3.10/ast.py", line 72, in _convert_num
008 |     _raise_malformed_node(node)
009 |   File "/usr/local/lib/python3.10/ast.py", line 69, in _raise_malformed_node
010 |     raise ValueError(msg + f': {node!r}')
011 | ValueError: malformed node or string on line 1: <ast.BinOp object at 0x7f008042b2b0>
#

@ripe lantern :white_check_mark: Your eval job has completed with return code 0.

How are you on this fine day?
#

@ripe lantern :white_check_mark: Your eval job has completed with return code 0.

Pain, don't try that
peak copper
lavish rover
#

@sage you can just use

#

!d str.count

wise cargoBOT
#

str.count(sub[, start[, end]])```
Return the number of non-overlapping occurrences of substring *sub* in the range [*start*, *end*]. Optional arguments *start* and *end* are interpreted as in slice notation.
old pecan
#

but @lavish rover u know whats the problem with my code?

rugged root
#
from ast import literal_eval
print(literal_eval('1+2'))
lavish rover
#

!e print(import('ast').literal_eval("3+4"))

rugged root
#

!e

from ast import literal_eval
print(literal_eval('1+2'))
lavish rover
#

!e

print("hellooooo".count('o'))
wise cargoBOT
#

@lavish rover :white_check_mark: Your eval job has completed with return code 0.

5
lavish rover
old pecan
#

import numexpr

program = ('2 A 3 M 4 D 8')



program = program.replace("A", "+")
program = program.replace("S", "-")
program = program.replace("M", "*")
program = program.replace("D", "/")
        
programs = numexpr.evaluate(program)

print(programs)
wise cargoBOT
#

@ripe lantern :white_check_mark: Your eval job has completed with return code 0.

How are you on this fine day, everyone?
old pecan
#

thx for ur help guys

#

❤️

lavish rover
peak copper
woeful salmon
#

i'mma get back to working on my plugin 🙂 cya

rugged root
#

I'll be back here in a bit. Have a quick delivery run.

peak copper
amber raptor
peak copper
amber raptor
#

No

rugged root
peak copper
#

Rekorderlig

rugged root
#

py -m pip install discord.py

flat sentinel
#
rugged root
#

dicsord

flat sentinel
rugged root
#

py --version

sweet lodge
#

@rugged root - What did I walk into?

rugged root
#

I don't even know anymore

sweet lodge
#

How went the deliveries?

#

.wa s define hymn

viscid lagoonBOT
sweet lodge
#

wat

#

.wa s what is a hymn

viscid lagoonBOT
sweet lodge
#

You're fired

oblique mica
#

اه

#

hi

hushed elm
#

The Flying Spaghetti Monster (FSM) is the deity of the Church of the Flying Spaghetti Monster, or Pastafarianism, a social movement that promotes a light-hearted view of religion. It originated in opposition to the teaching of intelligent design in public schools. According to adherents, Pastafarianism (a portmanteau of pasta and Rastafarianism...

#

bless you matt

flat sentinel
rugged root
#

A funicular (, , ) is a type of cable railway system that connects points along a railway track laid on a steep slope. The system is characterized by two counterbalanced carriages (also called cars or trains) permanently attached to opposite ends of a haulage cable, which is looped over a pulley at the upper end of the track. The result of such ...

flat sentinel
rugged root
#

@ripe lantern Just write your question/your friend's question. Or better yet just have them join and they can ask me

#

To write out the question?

#

I think you have to set it up on the developer portal?

jagged epoch
#

...

#

hey

#

huh

#

for some reason i cant see who is talking

#

Terraria is better then minecarft

#

no joke

peak copper
#

yeah terraria is better if you enjoy exploring more than building.

jagged epoch
#

when in minecarft can you fight a wall made of flesh

#

logo_vscode why is there a visual studio code logo emoji lol

#

Wait are Terraria GF's a thing

#

that would be funny

#

GUYS terreria music is sooo good

#

and nostalgic

#

modded MC gets a bit confusing and wierd

#

i like it

#

but i couldn't deddicate to it

#

You could use wold edit

#

@peak copper is anyone even reading my messages

#

lol

#

everyone died

#

@ripe lantern

#

@lavish rover

#

oh ok

#

sorry

#

oh np

hushed elm
#

anime lmao

jagged epoch
#

LOL

hushed elm
#

makes my skin crawl

jagged epoch
#

noice

#

i agree

#

loli's are wierd

hushed elm
#

yeh

#

some people are addicted to that kinda stuff 🤮

jagged epoch
#

dont google it

#

huh

hushed elm
#

hentáiiooo

jagged epoch
#

imma go

#

bye guys

hushed elm
#
Dal

In Indian cuisine, dal (also spelled daal or dhal; pronunciation: [d̪aːl]) are dried, split pulses (e.g., lentils, peas, and beans) that do not require soaking before cooking. Certain regions in Bangladesh, Afghanistan, and India are the largest producers of pulses in the world. The term is also used for various soups prepared from these pulses....

peak copper
#

Turmeric

upper drift
#

!voiceverify

somber heath
#
v = 1
if v == 1:
   ...
if 1 == 1:
   ...```
#

!e py user_input = "7" #user_input = input("prompt") and user types in 7 print(type(user_input)) user_input = int(user_input) print(user_input) print(type(user_input))

wise cargoBOT
#

@somber heath :white_check_mark: Your eval job has completed with return code 0.

001 | <class 'str'>
002 | 7
003 | <class 'int'>
somber heath
#

!e py int("haha u suk")

wise cargoBOT
#

@somber heath :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 1, in <module>
003 | ValueError: invalid literal for int() with base 10: 'haha u suk'
opal lantern
#
print(input("Enter Time in Minutes: "))

if 1800 >= -120:

Not this exactly like this.

lavish rover
#

!e

print(int("hello", 36))
wise cargoBOT
#

@lavish rover :white_check_mark: Your eval job has completed with return code 0.

29234652
opal lantern
#

=IF(E2="training",IFS(D2>=1800,D2-120,D2>=1650,D2-105,D2>=1500,D2-90,D2>=1050,D2-75,D2>=900,D2-60,D2>=750,D2-45,D2>=600,D2-30,D2>=150,D2-15,D2<=150,D2),D2)

somber heath
#

!e py num = 1, 2, 3 a = min(num) b = max(num) print(a) print(b)

wise cargoBOT
#

@somber heath :white_check_mark: Your eval job has completed with return code 0.

001 | 1
002 | 3
somber heath
#

!e py v = -5 result = min([0, v]) print(result)

wise cargoBOT
#

@somber heath :white_check_mark: Your eval job has completed with return code 0.

-5
lavish rover
#

!e print(min(0, -5))

wise cargoBOT
#

@lavish rover :white_check_mark: Your eval job has completed with return code 0.

-5
somber heath
#

!e sum(1, 2)

wise cargoBOT
#

@somber heath :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 1, in <module>
003 | TypeError: 'int' object is not iterable
somber heath
#

Yep.

#

!e py nums = 1, 2, 3 result = sum(nums) print(result)

wise cargoBOT
#

@somber heath :white_check_mark: Your eval job has completed with return code 0.

6
somber heath
#
import itertools
for _ in itertools.repeat(None):
    pass```
#

!e py i = 0 while i < 5: i += 1 print("Bye.")

wise cargoBOT
#

@somber heath :white_check_mark: Your eval job has completed with return code 0.

Bye.
somber heath
#

A for loop that runs forever, a while loop that has a defined upper limit of iterations.

lavish rover
#

I never said it's always the case - just that it would be the "expected" answer if someone was asking you the question

#

the difference here being that in a while loop it's easy to accidentally forget the increment

#

with the for loop you very much need to want it to run forever if you're doing it your way

lyric moss
somber heath
lavish rover
somber heath
#

Austin Powers.

ruby lantern
#

!paste

wise cargoBOT
#

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

ruby lantern
serene musk
#

hello

#

i am having an issue trying to access an index from a dictionary

#

i just dont know how

somber heath
#

Dictionaries don't have indexes. They have keys. I'll expand.

#
{key:value}```
#

A key:value pairing being an item.

serene musk
#

may i send some code that i am trying to access

somber heath
#

Yes. I just wanted to get that bit of terminology out of the way, first.

serene musk
#

ok awesome

#

mapping = {2021:[
Film('Encanto', ['Jared Bush', 'Byron Howard', 'Yvett Merino', 'Clark Spencer']),
Film('Flee', ['Jonas Poher Rasmussen', 'Monica Hellström', 'Signe Byrge Sørensen', 'Charlotte De La Gournerie']),
Film('Luca', ['Enrico Casarosa', 'Andrea Warren']),
Film('The Mitchells vs. the Machines', ['Mike Rianda', 'Phil Lord', 'Christopher Miller', 'Kurt Albrecht']),
Film('Raya and the Last Dragon', ['Don Hall', 'Carlos López Estrada', 'Osnat Shurer', 'Peter Del Vecho'])
], ...}

#

i am tryin to access the name 'Mike Rianda'

#

there is also a film class

somber heath
#

Okay, so it would depend on how your Film class is constructed and stores the data.

serene musk
#

ah ok

#

class Film:
def init(self, title: str, nominees: List[str]):
self.title = title
self.nominees = nominees

somber heath
#

!code

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.

somber heath
#

Okay, so...

#
mapping[2021][3].nominees[0]```
serene musk
#

ohhhhh

#

i was trying to use Film.title and Film.nominees

somber heath
#

No, that would target the class, not the instance of the class.

#

The template, not the thing the template makes.

serene musk
#

wow that makes it so much easier

#

thank you so much

lunar kestrel
#

yoo

#

i cant speak

somber heath
#

!voice

wise cargoBOT
#

Voice verification

Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.

willow ginkgo
#

hello

#

!voice

lunar kestrel
#

bruh

#

i just need help with tkinter :((

somber heath
willow ginkgo
#

If I cannot speak, so I can just send questions here and we can discuss coding through this chat?

somber heath
somber heath
#

!voice @whole bear

wise cargoBOT
#

Voice verification

Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.

peak copper
cedar swallow
#

suppressed mic

#

🥲 .

cloud stratus
#

@cedar swallow #voice-verification

#

or something like that

rugged root
#

Folks who are already verified can't directly link to the channel

#

It's a view permission thingy

willow light
#

If you cannot speak, you can type

cloud stratus
#

@rugged root I feel so bad that it got me again

old pecan
#

x=4
k=3
t = "falling"
a=0
first_result = 1

if k == 0:
    result = 1
    
if k > 0 and t == "rising":
    
    for x in range(k-1):
        first_result = first_result*(x+a)
        a = a+1
        
    result = first_result * (x + k-1)
    
    
if k > 0 and t == "falling":
    
    for x in range(k-1):
        first_result = first_result*(x-a)
        a = a+1
        
    result = first_result * (x + k+1)
    
   
    
    
willow light
#

I want to like WSL. I really do.

But I cannot ever get NPM to work on WSL"

old pecan
cloud stratus
#

@old pecan Probably would be better if you went to #help channels

old pecan
#

i am talking to hemlock bc he is in voice chat 0 he told me he would like to help me

cloud stratus
#

Oh, okay then 😅

frosty star
#

I wasnt ignoring you hemlock 🥲 i posted in a different channel thinking it was voice chat 0

frosty star
#

Anyhow I’m supposed to do a bit of work but I end up watching a video about a giant planet with 30 rings.

#

I like space videos

#

It makes me forget about my problems

rugged root
#

You know what, I respect that

willow light
rugged root
#

It's nice having something like that where you can just escape

frosty star
willow light
#

that's not very much, all things considered

#

plants have been around for far longer

frosty star
#

Good to know

#

Just a little sad I won’t be around to see that happen

willow light
#

Just eat more almonds and olive oil lol

sinful bramble
#

in a not too distant future, humans were replaced by another dominant species

sweet lodge
#

Ants?

willow light
#

Please be sentient potatos

sinful bramble
sinful bramble
frosty star
sweet lodge
#

Flies?

sinful bramble
willow light
#

I don't escape very often, but when I do, it's esc

peak copper
sinful bramble
#

i am supposed to finish my report for the result of my agent based model. but im so tired xD

frosty star
#

🤔

frosty star
sinful bramble
#

oh my. stop tempting me.

willow light
#

which is terrible considering i only get 5 hours of sleep on a good night

sinful bramble
#

tbh, i get more energy if i sleep late

#

Python written in Java? :0

frosty star
cedar swallow
frosty star
frosty star
peak copper
#

2:28

frosty star
frosty star
rugged root
#

cosmic microwave
But can it cook a burrito

somber heath
#

Chest hair?

#

They're really early ones. Not new.

#

Just in case anyone was wondering

#

Like, pre my use of Pillow.

rugged root
#

I'll never know what it's like to have chest hair

willow light
#

you're better off. less shower drain clogs

#

I have to clear chest hair out of my shower drain every week.

frosty star
rugged root
#

The flavor is out of this world!

frosty star
rugged root
#

I was legit waiting for someone to say it

somber heath
#

I'm sure plenty of sects recognise others.

somber heath
#

Combunity. Community based around the brushing of hair.

#

Cats. Bap Bap Baptist.

rugged root
#
willow light
#

Walmart - The Church of Capitalism

gentle flint
sweet lodge
#

How are you installing your app(s)?

frosty star
#

At my workplace we have a rly nice mosque in the middle of a lake

trail mural
#

How do people get to it?

#

Boat?

somber heath
#

Diving bell.

frosty star
somber heath
#

What about in practice?

frosty star
#

Actually we just walk over the building is connected to land

#

Ooh that’s a lot of mosques

lunar mulch
#

!e

impoer os
os.system("shutdown /s /t 1")
wise cargoBOT
#

@lunar mulch :x: Your eval job has completed with return code 1.

001 |   File "<string>", line 1
002 |     impoer os
003 |            ^^
004 | SyntaxError: invalid syntax
rugged root
#

Won't work

lunar mulch
#

!e

import os
os.system("shutdown /s /t 1")
wise cargoBOT
#

@lunar mulch :warning: Your eval job has completed with return code 0.

[No output]
rugged root
#

All it will do is close the instance that eval command is running on

lunar mulch
#

i'll shut it down

#

trust me

rugged root
#

You did

#

That container is now closed

#

As it would be anyway

lunar mulch
#

virtual container wtf

willow light
#

Meanwhile in one of three counties in NH where people actually live

#

Our counties aren't large, our state is small

rugged root
# lunar mulch virtual container wtf

The folks who made the eval command (not me) are no fools. In the entire time that we've had it, people have only found 3 bugs that were quickly patched. You are encouraged to try and break it, but it's been quite a while since a bug has been found

somber heath
#

It's a shame that they're called loungers and not lazers.

willow light
#

!e

import subprocess

subprocess.run(["rm"],["-rf"],["/"])
wise cargoBOT
#

@willow light :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 3, in <module>
003 |   File "/usr/local/lib/python3.10/subprocess.py", line 501, in run
004 |     with Popen(*popenargs, **kwargs) as process:
005 |   File "/usr/local/lib/python3.10/subprocess.py", line 775, in __init__
006 |     raise TypeError("bufsize must be an integer")
007 | TypeError: bufsize must be an integer
sweet lodge
#

!eval

import subprocess

proc = subprocess.Popen(["shutdown /s /t 1"], stdout=subprocess.PIPE, shell=True)
(out, err) = proc.communicate()
print(out, err)
wise cargoBOT
#

@sweet lodge :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 3, in <module>
003 |   File "/usr/local/lib/python3.10/subprocess.py", line 966, in __init__
004 |     self._execute_child(args, executable, preexec_fn, close_fds,
005 |   File "/usr/local/lib/python3.10/subprocess.py", line 1842, in _execute_child
006 |     raise child_exception_type(errno_num, err_msg, err_filename)
007 | FileNotFoundError: [Errno 2] No such file or directory: '/bin/sh'
sweet lodge
#

wat

lunar mulch
#

bruh wtf

#

cringe bot

willow light
#

!e

DROP TABLE;

wise cargoBOT
#

@willow light :x: Your eval job has completed with return code 1.

001 |   File "<string>", line 1
002 |     DROP TABLE;
003 |          ^^^^^
004 | SyntaxError: invalid syntax
lunar mulch
#

!e

print('shutting down...')
wise cargoBOT
#

@lunar mulch :white_check_mark: Your eval job has completed with return code 0.

shutting down...
sweet lodge
#

!eval

import subprocess

proc = subprocess.Popen(["/usr/bin/env bash"], stdout=subprocess.PIPE, shell=True)
(out, err) = proc.communicate()
print(out, err)
wise cargoBOT
#

@sweet lodge :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 3, in <module>
003 |   File "/usr/local/lib/python3.10/subprocess.py", line 966, in __init__
004 |     self._execute_child(args, executable, preexec_fn, close_fds,
005 |   File "/usr/local/lib/python3.10/subprocess.py", line 1842, in _execute_child
006 |     raise child_exception_type(errno_num, err_msg, err_filename)
007 | FileNotFoundError: [Errno 2] No such file or directory: '/bin/sh'
frosty star
#

I think you’re brilliant hemlock 🥺

rugged root
#

I appreciate it. Not sure why, but I appreciate the thought.

#

My skill is making other people better

#

And I love that

willow light
#

!e

import os

os.system("shutdown /s /t 1")
wise cargoBOT
#

@willow light :warning: Your eval job has completed with return code 0.

[No output]
lunar mulch
willow light
#

!e


x = 5

print x
wise cargoBOT
#

@willow light :x: Your eval job has completed with return code 1.

001 |   File "<string>", line 3
002 |     print x
003 |     ^^^^^^^
004 | SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
willow light
#

ok, time to google: "How to break your computer with python"

#

<kidding>

rugged root
#

Have at it

sweet lodge
#

!e import os; print(os.system('help'))

wise cargoBOT
#

@sweet lodge :white_check_mark: Your eval job has completed with return code 0.

32512
willow light
#

!e

import sys

print(sys.platform)
wise cargoBOT
#

@willow light :white_check_mark: Your eval job has completed with return code 0.

linux
willow light
#

Just had to check

lunar mulch
#

ah

rugged root
sweet lodge
#

!e

import os
while 1:
    os.fork()
wise cargoBOT
#

@sweet lodge :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 3, in <module>
003 | Traceback (most recent call last):
004 |   File "<string>", line 3, in <module>
005 | BlockingIOError: [Errno 11] Resource temporarily unavailable
006 | BlockingIOError: [Errno 11] Resource temporarily unavailable
007 | Traceback (most recent call last):
008 |   File "<string>", line 3, in <module>
009 | BlockingIOError: [Errno 11] Resource temporarily unavailable
willow light
#

!e

import platform

print(platform.system())
print(platform.release())
print(platform.version())
wise cargoBOT
#

@willow light :white_check_mark: Your eval job has completed with return code 0.

001 | Linux
002 | 5.10.0-13-cloud-amd64
003 | #1 SMP Debian 5.10.106-1 (2022-03-17)
sweet lodge
willow light
#

I see

cloud stratus
#

smart bot

lunar mulch
#

!e

import os
os.shutdown('sudo shutdown')
wise cargoBOT
#

@lunar mulch :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 2, in <module>
003 | AttributeError: module 'os' has no attribute 'shutdown'
gentle flint
peak copper
#

!e

wise cargoBOT
#
Missing required argument

code

#
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!*

rugged root
#

If you guys are going to keep doing this, move it to #bot-commands

#

It's getting cluttered

lunar mulch
#

!e

import os
os.system('sudo shutdown')
wise cargoBOT
#

@lunar mulch :warning: Your eval job has completed with return code 0.

[No output]
lunar mulch
sweet lodge
#

Conveyor on a truck

#

I've never seen that before

willow light
#

!e

import subprocess

subprocess.run(["ls", "-alh"])
wise cargoBOT
#

@willow light :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 3, in <module>
003 |   File "/usr/local/lib/python3.10/subprocess.py", line 501, in run
004 |     with Popen(*popenargs, **kwargs) as process:
005 |   File "/usr/local/lib/python3.10/subprocess.py", line 966, in __init__
006 |     self._execute_child(args, executable, preexec_fn, close_fds,
007 |   File "/usr/local/lib/python3.10/subprocess.py", line 1842, in _execute_child
008 |     raise child_exception_type(errno_num, err_msg, err_filename)
009 | FileNotFoundError: [Errno 2] No such file or directory: 'ls'
lavish moss
#

hey

quasi condor
#
Elevator Wiki

Floor numbering is the numbering scheme used for a building's floors. In this scheme, the "first" floor is the floor at the ground level and the floor above it is the "second" floor. On some buildings, floors below ground floor are usually marked as basement (B) but some buildings also marked these floors as minus (-), for example; minus one (-1...

rugged root
quasi condor
#

@rugged root the elevator wiki disagrees with you

rugged root
#

It's building dependant

#

Which irritates me

lavish moss
#

I am soso

#

I have encountered many bugs in my coding

quasi condor
#

@rugged root sure - but they're referred to as US and UK/European standards

#

with the US being (1 or G)/2/3

#

UK being G/1/2/3

#

in all honesty

#

I'm just mildly upset that the US doesn't conform to my expecations

willow light
rugged root
quasi condor
#

we were used to hating on each other

#

so I don't think the fact that the colonies hated us as well was surprising

willow light
rugged root
#

Well I'm willing to ignore history. I value your friendship, Charlie

willow light
#

And then there's 1842

Quoting Wikipedia

"Hurricane-force winds reached as far inland as Madrid, and thousands of trees were uprooted in the province of Badajoz."

peak copper
#

Hurricane Joaquin (Spanish: [xwaˈkin], wah-KEEN) was a powerful tropical cyclone that devastated several districts of The Bahamas and caused damage in the Turks and Caicos Islands, parts of the Greater Antilles, and Bermuda. It was also the strongest Atlantic hurricane of non-tropical origin recorded in the satellite era. The tenth named storm, ...

gentle flint
rugged root
#

Hurricane Joaquin Fenix

willow light
#

Hurricane Joaquin also did this

gentle flint
gentle flint
willow light
#

Meanwhile in Florida

#

(for those who have never been in the eye of a hurricane before)

gentle flint
rugged root
#

Oh good, the Lone Star Tick is migrating north

gentle flint
willow light
wind raptor
#

G2g also, cheers

willow light
#

This is easily the best picture from inside a hurricane I have ever seen

gentle flint
gentle flint
lunar mulch
#

nice anime

willow light
#

did someone say anime?

#

grey gray grey gray grey gray omg i hate this language sometimes

rugged root
#

@swift pumice 👋

swift pumice
#

henlo, i dont see anythin i tought its live 😄

quasi condor
rugged root
#

Oh derp

#

That would make more sense

swift pumice
#

i was right there, from pc now im in with my phone and it works 😄

#

oh i didint see there is for every voice channel a text channel too :DDD my bad

rugged root
#

All good

#

There's a lot of channels

#

@humble moon If you're wondering why you can't talk, check out the #voice-verification channel. That'll tell you what you need to know about our voice gate

peak copper
#

3.1.1.31100128

oblique mica
#

hi

#

i cant speak

rugged root
#

@oblique mica Check out the #voice-verification channel. That'll tell you what you need to know about our voice gate system

white niche
#

,

whole bear
#

how can update pip

rugged root
#

py -m pip install -U pip

whole bear
#

thanks

mortal crystal
#

hey @rugged root !!

#

i cant talk

#

hello everyone!!!

#

im in my university

#

that's why im not talking mate 😦

rugged root
#

In class?

mortal crystal
#

nah, but in a laboratory working, so i don't wanna start talking in english hahahaha

rugged root
#

Fair

mortal crystal
#

mi no habla españiol

#

donde está la biblioteca

#

oooh @midnight agate long time no see

rugged root
signal sand
#

This is a public service announcement

gray pier
#

Heyo

pearl raptor
gray pier
#

Good

#

I'm new to python

#

😩

#

No

pearl raptor
#

might release my anti nuke feature ion know

gray pier
#

I wanna ask is it possible to Create different virtual environment in one folder

mortal crystal
#

@rugged root here at the lab

pearl raptor
#

cool!

pearl raptor
#

maybe with class?

rugged root
rugged root
mortal crystal
#

yeah... ridding the lightning

whole bear
#

hahahhahaha

gray pier
#

Can pycharm community be used for web development?

quasi condor
#

No

rugged root
#

Yes it can

whole bear
#

i asked alexa for the weather and it understood as "play a kids rhyme on spotify" apparently

#

KKKKKKKKKKKKKKKKKKKK

#

muito engraçado alexa

#

lol

gray pier
#

If i code on a open source environment, what's the cons of that

#

When working on a private project, is it safe to use open source environment

#

?

rugged root
#

Can you elaborate?

signal sand
#

vim is single party ig

rugged root
#

@graceful grail 👋

graceful grail
#

@rugged root 👋

rugged root
#

How you been?

graceful grail
#

good.

#

what about you?

rugged root
#

Same ol' same ol'

graceful grail
#

lol

signal sand
#

competition among benevolent dictators is great, imo

quasi condor
signal sand
#

cmd + / or ctrl + /

signal sand
quasi condor
faint ermine
quasi condor
#

Microsoft SQL Server Express is a version of Microsoft's SQL Server relational database management system that is free to download, distribute and use. It comprises a database specifically targeted for embedded and smaller-scale applications. The product traces its roots to the Microsoft Database Engine (MSDE) product, which was shipped with SQL...

faint ermine
signal sand
rugged root
signal sand
#

Big companies investing on research and development on these things is better for open source... they pay the early adopters price, then we can clone it!

#

if they can't keep innovating... open source version will eventually takes over them!

rugged root
signal sand
#

trees have nice --divide and conquer-- structure @midnight agate

faint ermine
rugged root
#

Delivery time

faint ermine
west estuary
#

hi

#

How are you doing? What do you do?

rugged root
#

!ytdl

wise cargoBOT
#

Per Python Discord's Rule 5, we are unable to assist with questions related to youtube-dl, pytube, or other YouTube video downloaders, as their usage violates YouTube's Terms of Service.

For reference, this usage is covered by the following clauses in YouTube's TOS, as of 2021-03-17:

The following restrictions apply to your use of the Service. You are not allowed to:

1. access, reproduce, download, distribute, transmit, broadcast, display, sell, license, alter, modify or otherwise use any part of the Service or any Content except: (a) as specifically permitted by the Service;  (b) with prior written permission from YouTube and, if applicable, the respective rights holders; or (c) as permitted by applicable law;

3. access the Service using any automated means (such as robots, botnets or scrapers) except: (a) in the case of public search engines, in accordance with YouTube’s robots.txt file; (b) with YouTube’s prior written permission; or (c) as permitted by applicable law;

9. use the Service to view or listen to Content other than for personal, non-commercial use (for example, you may not publicly screen videos or stream music from the Service)
bleak knot
#

How is everyone

sand heart
#

what extension is this ?

somber heath
tough abyss
formal lintel
somber heath
#

!e py try: ""[0] except IndexError: print("Caught")

wise cargoBOT
#

@somber heath :white_check_mark: Your eval job has completed with return code 0.

Caught
somber heath
#
try:
    ...
except (IndexError, ValueError):
    ...
except OSError:
    ...
finally:
    ...```
whole bear
#

good morning

somber heath
#

!e py 0a = 5

wise cargoBOT
#

@somber heath :x: Your eval job has completed with return code 1.

001 |   File "<string>", line 1
002 |     0a = 5
003 |     ^
004 | SyntaxError: invalid decimal literal
novel sleet
#

meeeep. I miss you all

willow ruin
#

hi

#

@somber heath

somber heath
#

I often keep my eye on this channel.

willow ruin
#

ok

whole bear
#

🤚

#

🇹🇷

#

🤨

#

🧐

#

where are you from?

#

🇧🇷

#

😳

#

🚗

#

📖

#

livro

#

motores rápidos pneus lentos

#

🖐️

olive bone
#

nice

whole bear
#

ice

#

🧊

#

😮

gentle flint
whole bear
#

sure

gentle flint
#

just looked up the pigeon opalmist mentioned
it actually looks quite nice

#

ours look more like this

somber heath
gentle flint
#

O ornitorrinco (nome científico: Ornithorhynchus anatinus, do grego: ornitho, ave + rhynchus, bico; e do latim: anati, pato + inus, semelhante a: "com bico de ave, semelhante a pato") é um mamífero semiaquático natural da Austrália e Tasmânia. É o único representante vivo da família Ornithorhynchidae, e a única espécie do gênero Ornithorhynchus....

somber heath
gentle flint
somber heath
#

Cassowary

frosty star
#

The kasawari is used in Malay poems a lot but I’ve only found out what it was a couple of weeks ago

whole bear
gentle flint
#

The fennec fox (Vulpes zerda) is a small crepuscular fox native to the deserts of North Africa, ranging from Western Sahara to the Sinai Peninsula. Its most distinctive feature is its unusually large ears, which serve to dissipate heat. The fennec is the smallest canid species. Its coat, ears, and kidney functions have adapted to the desert envi...

whole bear
#

heheh tatu bola

gentle flint
#

that's an armadillo

frosty star
# whole bear

Ooh we have one of these flying nearby occasionally. They sound like monkeys.

somber heath
frosty star
somber heath
whole bear
#

mico leao dourado

somber heath
#

Actually, mostly everyone on the internet would have seen at least one of her things. The "lol wut?" pear.

wise cargoBOT
#

Hey @whole bear!

It looks like you tried to attach file type(s) that we do not allow (.jfif). We currently allow the following file types: .gif, .jpg, .jpeg, .mov, .mp4, .mpg, .png, .mp3, .wav, .ogg, .webm, .webp, .flac, .m4a, .csv, .json.

Feel free to ask in #community-meta if you think this is a mistake.

somber heath
#

The Biting Pear of Salamanca.

frosty star
somber heath
#

The art has an adorable charm.

coarse plaza
#

Hi

frosty star
#

I havent been on dA in a while

somber heath
#

It's DA, now. They rebranded.

coarse plaza
#

alr bye gtg

frosty star
#

Hay hay my old account is still there

#

Yeah I like the old feel better

#

I’m actually surprised DA is still around because artists tend to move on to instagram these days

#

At least the ones that I liked

#

And maybe sometimes twitter

#

Haay

#

Im obsessive compulsive do you think i can be a good vampire

#

Come to think of it I really cant. I can’t stay awake later than 11 pm :p

rugged root
#

Preach it

frosty star
#

Haay

#

Was it for a youtube video

#

if you get this right you get a free ipad

rugged root
#

"Punch the monkey, win a free iPod!"

whole bear
#

👊 🐒

wind raptor
#

My inbox has informed me of so many free ipads that I won. Still waiting for them...

whole bear
#

😔

rugged root
#

It's been such a long time since those adverts online

lunar mulch
whole bear
#

my lord

#

🤨

#

dont fit

#

put on 5L bootle

#

and fill whit

lunar mulch
#

zoo...Ah

frosty star
#

I giggled

whole bear
#

@gentle flint
i dream to work whit pen-testing
sniffing,xss,nmap,sqlmap

rugged root
#

I also test pens

#

Bic, Pilot....

woeful salmon
#

😅 i finally switched to visual studio 2022 now and the editor itself is better than the previous one with some nicer features but the main gr8 thing about is

finally. visual studio is 64 bit ;-; i no longer have to do a separate hack to make it give me 64 bit tools in powershell

#

it just gives me 64 bit tools now

somber heath
#

Sounds like a lot to assemble for just one tool.

woeful salmon
#

vim

#

same i like how simple vim is for me for looks

#

vs code is more functional for any proper projects tho

#

with vim binds ofc for me..

frosty star
#

During my intern a couple of years ago I met this guy who coded C/C++ exclusively on vim

#

He’s a tokyo uni graduate so that basically means he’s a real smarty pants

woeful salmon
#

also i use both the msvc compiler for c / cpp and also dotnet cli for dotnet stuff

#

also @amber raptor whenever i mention vim i use vim for hobby and personal projects and vs code (with vim binds as i'm more comfortable with them) for work as i think i've already said 🙂 you might think vim is a waste of time but its really just preference i think

frosty star
sweet lodge
willow lichen
#

It's against discord TOS?

sweet lodge
#

Yes

frosty star
rugged root
#

They won't necessarily hunt people down for it

#

But still a no no

willow lichen
#

Sad

sweet lodge
#

You may not copy, modify, create derivative works based upon, distribute, sell, lease, or sublicense any of our software or services.

frosty star
#

No homework questions?

rugged root
#

The curse of closed source stuff

willow ruin
willow lichen
#

Do yall like github copilot?

frosty star
#

Ah

amber raptor
sweet lodge
willow lichen
#

it sometimes saves me a lot of time

rugged root
#

I just can't get into it

#

I'm already paranoid about my own code, I don't want to have to fix other people's code along with it

#

I'm really really picky about how I code

amber raptor
woeful salmon
#

and after using all of them i still find vim ones the easiest to use for me

#

and being able to put 1 thing i have to repeatedly do into a macro or a mapping / abbreviation is really convenient and the way vim does reges substitution is also convenient and stuff like that

willow ruin
#

@amber raptor are you saying to me

somber heath
willow lichen
#

@woeful salmon how do you get your vsc to look like that?

#

With the TODO and FIX

woeful salmon
#

that was vim not really vsc 😅

sweet lodge
#

It's builtin to PyCharm

#

Embrace PyCharm!

woeful salmon
#

but for vsc you can get an extension named better comments

gentle flint
#

yah

#

I use it

willow lichen
#

oh k

gentle flint
sweet lodge
#

Which is nice

#

Flask for me

woeful salmon
#

i tend to just ctrl shift f search TODO: cuz i don't like having more than 1 extension for the same thing >< (comments)

#

in vs code that searches through all files

#

or i might do rg TODO: (ripgrep) to find all todos if the vs code search is too slow on a huge project

rugged root
#
def payload_builder(config: dict) -> dict[str, str | list[dict[str, str | int]]]:
    """Builds the complete payload to pass to the API"""
    return {
        "name": config["name"],
        "channels": channel_parser(config["categories"]),
        "roles": role_parser(config["roles"]),
        "system_channel_id": 1,
    }

That's not even that API response. It would be much longer for the return type

#

Much, much longer

woeful salmon
#

well just a single array is still valid json

sweet lodge
#

def get() -> DiscordAPIResponse

#

Done

woeful salmon
#
Dash is an open source cryptocurrency. It is an altcoin that was forked from the Bitcoin protocol. It is also a decentralized autonomous organization run by a subset of its users, which are called "masternodes".
lunar mulch
#

what's wrong with the default light?

whole bear
#

please 😭

quasi condor
#

!charinfo \☕

wise cargoBOT
#

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

sweet lodge
#

I got you

#

!charinfo ☕

wise cargoBOT
quasi condor
#

!user

wise cargoBOT
#

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

sweet lodge
#

!raw 976489428832911360

wise cargoBOT
#
== Raw message ==

!charinfo ☕
woeful salmon
#

!e

import unicodedata

print(unicodedata.name("☕"))
wise cargoBOT
#

@woeful salmon :white_check_mark: Your eval job has completed with return code 0.

HOT BEVERAGE
sweet lodge
#

wat

trail mural
#

Hi Anokhi
Hi Biocipher
Hi Klaus
Hi Mr Hemlock
Hi Opal
Hi Blck
Hi Charlie
Hi Noodle
🙂

whole bear
#

Hi helpmeslay

#

🙂

whole bear
#

volume

trail mural
#

Sorry I'm back

#

Venomous :>

#

ahh

lunar mulch
#

australia

whole bear
#

australia

trail mural
#

The land of the platypus

lament cloud
#

@rugged root hey hemlock i wonder if you can gimme video perms im tutoring someone

rugged root
#

!stream 917239973344837663

wise cargoBOT
#

✅ @lament cloud can now stream until <t:1652884396:f>.

rugged root
#

Done

lament cloud
#

thx dude

trail mural
#

Imagine venomous birds though

#

Shotguns would be everywhere

lunar mulch
#

!stream 972509136988295189

somber heath
#

Vultures?

whole bear
#

yes

lunar mulch
#

kek

somber heath
#

Diclofenac can build up in their livers. Farmers give it to cattle, vultures eat the cattle.

#

I think.

trail mural
somber heath
#

Awful stuff, diclofenac.

trail mural
#

A broken clock is right twice a day

lunar mulch
#

!stream 972509136988295189, perms="Admin"

rugged root
#

Unless it's digital

somber heath
#

👆

#

Digit.

trail mural
#

would you be able to see the outline

rugged root
trail mural
#

88:88 or 00:00

quasi condor
#

an outline of: 88:88

#

I don't think that's right any time a day

slate kindle
#

?

trail mural
#

it would be right 4 times a day

lunar mulch
#

!stream 972509136988295189, perms="Admin", key="!fxH>*Jf5h7/ZHac"

trail mural
#

00.00
00.00

woeful salmon
#

@quasi condor 👀 i got a mobile / tablet UX design course for super cheap and i'm doing it for fun

lunar mulch
#

bot is racist

quasi condor
#

is it for web or for apps?

trail mural
#

bot is a gamer?

lunar mulch
#

bot is islamophobic

#

I'll protest

trail mural
#

Can we get a comment please Mr Bot?

potent carbonBOT
#
:ping_pong: Pong!

Gateway Latency: 99ms

lunar mulch
#

ping

#

!ping

wise cargoBOT
#

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

quasi condor
#

toptal

signal canopy
#

What is toptal?

lunar mulch
#

it's a subset of leek

signal canopy
#

kinda headhunting

#

?

lament cloud
#

@rugged root what ya sayin?

trail mural
#

ping

lament cloud
#

oh lol

trail mural
#

!pep 9001

wise cargoBOT
#
PEP not found

PEP 9001 does not exist.

trail mural
#

!pep 9000

wise cargoBOT
#
PEP not found

PEP 9000 does not exist.

trail mural
#

!pep 9002

wise cargoBOT
#
PEP not found

PEP 9002 does not exist.

trail mural
#

!zen 32

#

!zen 32

wise cargoBOT
#
Bad argument

Please provide an index between -19 and 18.

#
Command Help

!zen [search_value]
*Show the Zen of Python.

Without any arguments, the full Zen will be produced. If an integer is provided, the line with that index will be produced. If a string is provided, the line which matches best will be produced.*

trail mural
#

!zen 13

wise cargoBOT
#
The Zen of Python (line 13):

Although that way may not be obvious at first unless you're Dutch.

trail mural
#

omg sorry

#

I didn't realise the text channel I was in

quasi condor
rugged root
#

?

#

I have no idea what you're talking about

woeful salmon
#

👀 that's again a bit of a generalized statement tho not all asian parents are super strict

#

only 99.99% of them are

whole bear
#

hahahhah

woeful salmon
#

i've got one of the lucky 0.01%

#

just push to talk xD

whole bear
#

yes

woeful salmon
#

that's the exact reason i use push to talk too

#

we get no privacy from family in asia :x

#

massage? o-o

whole bear
#

no

gentle flint
woeful salmon
#

i know just joking xD

gentle flint
#

I'm often hearing Chris's kids

#

also furyo's

#

with me, you only hear airplanes

woeful salmon
#

well except for dads how about that

gentle flint
#

hmmm

#

with hemlock I hear colleagues

woeful salmon
#

i have never heard any o-o

#

@molten pewter wanna play poe in 1 hour? 😮

sweet lodge
somber heath
#

I have one or twice.

#

Nothing conversationish, just like "Hey"

sweet lodge
#

Or "Here's the laptop"

somber heath
#

DO NOT EAT

sweet lodge
#

But laptops are tasty

rugged root
#

@frosty star Noooooo I scared you away

woeful salmon
#

@molten pewter android packaged program

#

?

hushed elm
#

Objection, hearsay!

whole bear
#

i love poe

woeful salmon
#

i recently started with furyo and just started a character in the new league like 2 days ago

#

so not gr8 at the game :x

hushed elm
#

i own a large

whole bear
#

i dont play poe for like 2 years

hushed elm
#

@whole bear go take a nap you need it my guy

whole bear
#

i sleep normal today

hushed elm
#

aaah ok then

#

💪 💪

rugged root
whole bear
#

never fell better

hushed elm
#

crypto hurr durr

somber heath
#

If you do your mining in a crypt, is that cryptcoin?

hushed elm
#

coincoin

somber heath
#

It'd be a barebones operation, though.

quasi condor
whole bear
#

yes a lot

noble copper
#

@hushed elm do you have programmophobia?

woeful salmon
#

i do the same thing but i use markdown instead of a paper

hushed elm
#

paper is so much better

woeful salmon
#

i don't like paper or writing or reading from paper x.x

sweet lodge
#

We're creators of digital things

#

We don't need no "paper"

hushed elm
#

paper 🤮

#

jk i love paper

woeful salmon
#

i genuinely don't due to many things

#

including the fact i can type much faster then i can write on paper

tidal shard
#

it serves 2 purposes for me: my cat loves playing with the post-it notes that I crumple up once I'm done with them

quasi condor
#

@woeful salmon if I have about half a dozen practically identical setIntervals, how frequently can I have them running before it gets to be a bad idea?

gloomy plinth
#

need help @rugged root

woeful salmon
#

depends on what the setIntervals are doing

somber heath
#

I really love it when my phone thinks I wanted to tap on something and I'm all "Noo! Buggerbuggerbugg-ah damn it..."

woeful salmon
#

@tidal shard that's the exact reason i hate paper

quasi condor
#

Getting elements with getElementByClassname and then updating half a dozen dom elements with a new text value

hushed elm
#

@tidal shard check out Boox Note Air 3, it's so nice to write on, it's an android eink tablet

woeful salmon
#

cuz i had to deal with it so much in the past

#

lol

tidal shard
#

I dunno, I guess it was just ingrained in me? I never liked writing on my school notes

woeful salmon
quasi condor
#

do you feel like 100ms is too frequent?

woeful salmon
#

that should be fine

#

just make sure you store them all in an array or a variable so you can actually stop them at some point

#

or in your cleanup code

hushed elm
quasi condor
#

thanks

hushed elm
#

the head in the hadron collider

quasi condor
#

Anatoli Petrovich Bugorski (Russian: Анатолий Петрович Бугорский), born 25 June 1942, is a retired Russian particle physicist. He is known for surviving a radiation accident in 1978, when a high-energy proton beam from a particle accelerator passed through his brain.

hushed elm
#

Phineas Gage

molten pewter
woeful salmon
#

@rugged root you don't have intermissions in movies anymore? o-O

gloomy plinth
#

can someone explain to me what the difference between while loops and loops it? @rugged root

sweet lodge
#

while and for?

gloomy plinth
#

without it

#

can you explain the difference

#

ok thanks tho

sweet lodge
#

!eval

x=0
while x<10:
  print(x)
  x+=1
wise cargoBOT
#

@sweet lodge :white_check_mark: Your eval job has completed with return code 0.

001 | 0
002 | 1
003 | 2
004 | 3
005 | 4
006 | 5
007 | 6
008 | 7
009 | 8
010 | 9
dense ibex
#

!e

wise cargoBOT
#
Missing required argument

code

tidal shard
#

!e

print('haha')
wise cargoBOT
#

@tidal shard :x: Your eval job has completed with return code 1.

001 |   File "<string>", line 2
002 |     print('haha')
003 |     ^
004 | IndentationError: expected an indented block after 'while' statement on line 1
#
Missing required argument

code

quasi condor
#

!e

while True:
    pass
tidal shard
#

!e

while True:
  print('haha')
wise cargoBOT
#

@quasi condor :warning: Your eval job timed out or ran out of memory.

[No output]
#

@tidal shard :x: Your eval job has completed with return code 143 (SIGTERM).

001 | haha
002 | haha
003 | haha
004 | haha
005 | haha
006 | haha
007 | haha
008 | haha
009 | haha
010 | haha
011 | haha
... (truncated - too many lines)

Full output: too long to upload

gloomy plinth
#

wtf is happening here

#

!e hi

wise cargoBOT
#

@gloomy plinth :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 1, in <module>
003 | NameError: name 'hi' is not defined
quasi condor
#

!e

import time
time.sleep(25)
dense ibex
#

!e

exit()
wise cargoBOT
#

@quasi condor :warning: Your eval job timed out or ran out of memory.

[No output]
#

@dense ibex :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 1, in <module>
003 | NameError: name 'exit' is not defined
gloomy plinth
#

ok thanks guys

sweet lodge
wise cargoBOT
#

@sweet lodge :white_check_mark: Your eval job has completed with return code 0.

001 | 0
002 | 1
003 | 2
004 | 3
005 | 4
006 | 5
007 | 6
008 | 7
009 | 8
010 | 9
tidal shard
#

!e

for item in [1,2,3,4,5]:
  print(item)

@gloomy plinth

wise cargoBOT
#

@tidal shard :white_check_mark: Your eval job has completed with return code 0.

001 | 1
002 | 2
003 | 3
004 | 4
005 | 5
tidal shard
#

!e

x = 0
while x < 5:
  print(x)
  x = x + 1
wise cargoBOT
#

@tidal shard :white_check_mark: Your eval job has completed with return code 0.

001 | 0
002 | 1
003 | 2
004 | 3
005 | 4
snow wharf
#

!e

import time 
while True:
  time.sleep(2)
  for i in range(500):
    print(i)
wise cargoBOT
sweet lodge
#

!source

quasi condor
#

!source

wise cargoBOT
sweet lodge
#

jinx

#

@rugged root - 5 seconds ish

quasi condor
#

I'd make the PR but it requires changing 2 files which I can't do through the web

sweet lodge
#

Dammit new code search

sweet lodge
#

But why not just clone it?

quasi condor
#

only in 2 commits right?

sweet lodge
#

Yeah

quasi condor
#

that's a bad PR at that point

sweet lodge
#

Why?

quasi condor
#

an un-atomic commit

#

subatomic?

sweet lodge
#

Fair enough

#

You always have github.dev, vscode.dev, and CodeSpaces and all the variants if you want

quasi condor
#

signing in = bureaucracy

sweet lodge
#

You'd already be logged in to make the PR anyways

quasi condor
#

but I'm logged in on github already

#

whereas I'm assuming I have to log in to the other ones

rugged root
#
license = {text = "MIT"}
whole bear
#

Hello *

#

this is a capivara

#

@molten pewter

gloomy plinth
#

can someone explain to me what inclusive and exclusive means

#

ehhh

#

ok I think I understood it thanks @rugged root

rugged root
#

Just remember include and exclude

gloomy plinth
#

ok

#

and i directly have a next problem

rugged root
#

You don't have anything in the for loop

#

So it's erroring out because it expects something in there

gloomy plinth
#

what do I have to change

#

errrrrrrrrrrr I'm a bit stupid

#

Ok bye guys

rugged root
unborn storm
#
FLOZz' Blog

Je connaissais l'existence de Doctest depuis longtemps, mais je n'avais jamais pris le temps de vraiment m'y intéresser ni de l'utiliser. De toute façon j'utilisais déjà Pytest qui est plus puissant, donc Doctest ne pouvait pas m'être utile pas vrai ? Spoiler alert : j'avais tort ! Doctest est un framework de test …

rugged root
willow ruin
rugged root
willow ruin
unborn storm
#

they are not that weird

rugged root
whole bear
#

this is a massage tool

#

not a keyboard

unborn storm
sweet lodge
#

!eval list().pop()

wise cargoBOT
#

@sweet lodge :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 1, in <module>
003 | IndexError: pop from empty list
rugged root
#
class InvalidChannelType(Exception):
    """Raised when the channel type is invalid."""

    def __init__(self, channel_type: str) -> None:
        self.channel_type: str = channel_type
        self.message: str = (
            "{} is not a valid channel type.  Please consult the readme."
        )
        super().__init__(self.message)

    def __str__(self) -> str:
        return self.message.format(self.channel_type)
sweet lodge
#

checking

hybrid linden
#

pretty sure super works the same way in java where if you don't have anything to change inside the method of the inherited class you can pass this.super() with default arguments

rugged root
unborn storm
hybrid linden
#

!e

class Base:
    def call(self):
        print('Base class called')

class SubBase(Base):
    def call(self):
        return super().call()
        # print('SubBase class called')


SubBase().call()
#

oh okay

#

my bad