#voice-chat-text-1

1 messages · Page 116 of 1

cold trellis
#

!e

foo = 3000
bar = 3000

print(foo is bar)

baz = 3000
buz = 4000
buz -= 1000

print(baz is buz)
coarse hearthBOT
#

@cold trellis :white_check_mark: Your eval job has completed with return code 0.

001 | True
002 | False
stuck bluff
#

!e 1 is 1

coarse hearthBOT
#

@stuck bluff :white_check_mark: Your eval job has completed with return code 0.

<string>:1: SyntaxWarning: "is" with a literal. Did you mean "=="?
cold trellis
#
id(foo) == id(bar)
twilit leaf
#

@misty sinew Hi

cold trellis
#

!e print("\u200b")

coarse hearthBOT
#

@cold trellis :white_check_mark: Your eval job has completed with return code 0.

cold trellis
#

!e

print​("hello world")
coarse hearthBOT
#

@cold trellis :x: Your eval job has completed with return code 1.

001 |   File "<string>", line 1
002 |     print​("hello world")
003 |          ^
004 | SyntaxError: invalid non-printable character U+200B
twilit leaf
#

I hate js because of this..

proven ruin
twilit leaf
#

Still a bad design to begin with...

cold trellis
twilit leaf
#

Yeah... that's sad...

#

No front programmer want to deal with Rust borrow checker... We need some kinda scripting lang...

cold trellis
stuck bluff
#

!e ```py
class MyList(list):
def eq(self, v):
if not self and v == 0:
return True
return False

my_list = MyList([])
print(my_list)
print(my_list == 0)```

coarse hearthBOT
#

@stuck bluff :white_check_mark: Your eval job has completed with return code 0.

001 | []
002 | True
twilit leaf
#

yep... I'm saying we need some scripting language... which uses web assembly...

twilit leaf
#

I heard in lex friedman's podcast, from the creator of JS... He made that bad decision, just to please some devs... so he can get JS lang more adoption...

cold trellis
#

👀

#

how to run code in jsfuck made readable

twilit leaf
#

Damn...

cold trellis
#

lol

#

you go through []["fill"] or Array.fill to the Object.constructor on its prototype and run code from it

#

xD

leaden pike
#

Y r we in VC 1

twilit leaf
#

Someone gonna code some website with just those kinda things...

#

I'm sure, someone already did...

#

oh god..

#

I guess you can cheat in that... someone can write a complier to js to jsfuck

#

ohh..

#

haha

cold trellis
#

recreation of a p5.js tutorial i find online by just using vanilla javascript and html canvas

twilit leaf
#

Yep..

random minnow
cold trellis
random minnow
cold trellis
#

i think i half recreated it with rust using piston

#

but haven't finished the piston one yet

cold trellis
#

this is not using raymarching but just checking for line intersections

#

:x

#

i might try to implement that too later tho

random minnow
#

raymarching pretty much does that

#

I'm streaming the program

#

wrong vc channel lol

#

and your not in vc, sorry

cold trellis
#

so i thought it was something more advanced

cold trellis
#

this is circle tracing apparently :x

random minnow
#

yeah thats typically how raymarching works

#

the worst part of raymarching is that you have to derive a signed distance function for each shape

tired pilot
#

Haskell I think is one

#

@crystal aurora Firefox has been like that for a while, Waterfox too. Very annoying

violet venture
#

@crystal aurora - Do you have HomeBrew?

#

@crystal aurora - brew install python3

#

Why not?

#

3.10 is available

#

👍

#

@hearty heath 👋

solid gyro
#

@true valley The problem with Pelican is that CF doesn't support it by default, despite the fact they seem to pretend to. There's some old recommendations about workarounds, but they're not working for me.

The plan for the next steps for data website should be (IMO):

  • (Either finding a new topic, or preferably iterating on the existing one) Make some interactive plotly charts in Python
    • Figure out exactly how to embed that in the Pelican site
    • Get that first article hosted
  • Set up the Pelican site to look pretty. Make sure we like how articles look, set up the home page
#

I'll get the thing working on cloudflare pages tonight and tell you how to get it working before then

#

for now - I need to go do some other things

hearty heath
#

The trackpad on MacBooks is still unrivalled imo.

#

Ah, but you would if you had a macbook 😄

#

Some people even by the external one to use on desktop.

#

Gestures etc.

#

Yeah but it's more expressive and natural.

#

¯_(ツ)_/¯

tired pilot
#

Some trackpads'll let you scroll down a page by moving your finger down one of the edges

#

That's all I've got on trackpads

violet venture
#

!pep 636

coarse hearthBOT
#
**PEP 636 - Structural Pattern Matching: Tutorial**
Status

Final

Python-Version

3.10

Created

12-Sep-2020

Type

Informational

violet venture
#

He's learning about pattern matching in Python

tired pilot
#

Learning how to do pattern matching in Python the rust way is also an exercise in transfer of knowledge

hearty heath
#

That's pretty good actually 😄

violet venture
#

What isn't 99% programming these days?

wary fable
#

I thought 99% of programming was searching on google

violet venture
#

It is

#

Therefore: Google is the future

wary fable
#

System.out.println("9");

violet venture
#

You forgot to import System

wary fable
#

Down with the system

#

/sarcasm

violet venture
#

Systemless.out.println("Down with the system!")?

wary fable
#

ok fine.

console.log("9");
tired pilot
#

printf("down with the sickness");

wary fable
#

!exec

from __future__ import braces
violet venture
#

!eval

wary fable
#

!eval

from __future__ import braces
print("ligma")
coarse hearthBOT
#

@wary fable :x: Your eval job has completed with return code 1.

001 |   File "<string>", line 1
002 | SyntaxError: not a chance
violet venture
#

!eval print("test")

wary fable
#

!eval

from __future__ import print_function
print("Python 1.3 was better")
coarse hearthBOT
#

@wary fable :white_check_mark: Your eval job has completed with return code 0.

Python 1.3 was better
violet venture
#

:scared:

#

1.3? I'm not even sure I was alive for that

wary fable
#
from psychology import comfort
violet venture
wary fable
#

from __future__ import ES6_syntax

#

from __future__ import fetch_function_totally_not_lifted_from_javascript

tired pilot
#

@true valley could I ask to join the study group as well?

#

ah

true valley
pseudo arch
#

@crystal aurora Thanks for the comparisons

#

back and forth

#

they're useful

solid gyro
true valley
#

would you like to schedule a time to get together to do it?

tired pilot
#

I'm looking at the wildcards and I keep thinking pointers

pseudo arch
#

yes, your first dictionary example was good

#

where you used x

#

for your key value pairing

#

to print your value

#

both lucy and calli?

tired pilot
#

I had a hunch... but I was too late

pseudo arch
#

print them at the end?

#

but not as daughters

true valley
#

🇺🇸

tired pilot
#

Pattern matching in Python but it's done like it's Rust

pseudo arch
#

it was russia ... @true valley

true valley
#

?

tired pilot
#

I've gtg, this has been a very insightful look at structured pattern matching

pseudo arch
hearty heath
#

🤔

#

A function to evaluate ASTs?

#

How about just mathematical expressions with integers?

fiery sierra
#

what are U programming?

hearty heath
#
import ast


def safe_eval(expression):
    return eval_ast(ast.parse(expression, mode='eval'))


def eval_ast(expr: ast.AST) -> int:
    ...
#

👍

#

Well it returns an ast.AST object, which is a good candidate to deconstruct using pattern-matching.

#

Well I was thinking, let python parse the expression into an AST.

#

!eval ```py
import ast
a = ast.parse('1 * 2 + 3', mode='eval')
print(ast.dump(a, indent=' '))

coarse hearthBOT
#

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

001 | Expression(
002 |     body=BinOp(
003 |         left=BinOp(
004 |             left=Constant(value=1),
005 |             op=Mult(),
006 |             right=Constant(value=2)),
007 |         op=Add(),
008 |         right=Constant(value=3)))
hearty heath
#

Then you can use pattern matching to deconstruct and evaluate this AST.

#

Ah sorry, I'm half-watching.

#

Yeah pretty cool 👍

fiery sierra
#

haha

#

qualcosa

#

si

#

I have just a question

#

what's better between learning with a book and with internet?

hearty heath
#

Bye Maro 👀

pseudo arch
#

@true valley 🤣

hearty heath
#

Might have clicked the end call by accident yeah 😄

pseudo arch
#

lets go to rust

#

aml is in there though

#

hes pretty good

hearty heath
#

👋

misty sinew
#

Anyone up for helping me with an issue?

fallen dagger
#
if (buttonState == HIGH) {

      for(int x = 0; x < 7; x += 1) {
      {  
      }
         for(int a=0; a < 100; a++){ 
          delay(t_1);
          rgb(1, 0, 1, a);
        }
        
        for(int b=100; b > 0; b--){ 
          delay(t_2);
          rgb(1, 0, 1, b);
        }

        for(int a=0; a < 100; a++){ 
          delay(t_1);
          rgb(0, 0, 1, a);
        }
        
        for(int b=100; b > 0; b--){ 
          delay(t_2);
          rgb(0, 0, 1, b);
        }
        
      }
  }
#
rgb(0,0,1);
rgb(0,1,0);
#
rgb(red,green,blue,brightness of color);
gusty blaze
#

At least u got 1 @lost falcon 👀

#

And yea, I am veg

#

Heh I am Indian

#

@lost falcon

#

Nope

crisp kelp
#

Good evening, everybody

clear mural
#

I need some help doing this

unique raptor
hearty heath
#

Hello 👋

#

Trans room thing pithink

#

Oh right

#

IC

misty sinew
#

hello

#

only some more days... @mortal tulip @round ledge i have about 30 messages currently...

mortal tulip
#

we were kidding

stuck bluff
#

!e py my_list = [] for i in range(5): my_list.append(i*2) print(my_list) #or my_list = [i*2 for i in range(5)] print(my_list)

coarse hearthBOT
#

@stuck bluff :white_check_mark: Your eval job has completed with return code 0.

001 | [0, 2, 4, 6, 8]
002 | [0, 2, 4, 6, 8]
stuck bluff
#

!e ```py
my_list = []
for a in range(3):
for b in range(3):
my_list.append(a+b)
print(my_list)

#or

my_list = [a + b for a in range(3) for b in range(3)]
print(my_list)```

coarse hearthBOT
#

@stuck bluff :white_check_mark: Your eval job has completed with return code 0.

001 | [0, 1, 2, 1, 2, 3, 2, 3, 4]
002 | [0, 1, 2, 1, 2, 3, 2, 3, 4]
stuck bluff
still pond
still pond
#

#voice-verification @acoustic island

acoustic island
#

hello

#

why i muted

#

ok

#

nice to meet you

#

i have to go

#

see you

misty sinew
#

we have to solve 4 digit code in maths by using python

from selenium import webdriver
from selenium.webdriver.common.keys import Keys
import time
numbers = "0123456789"
alphabet = ["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"]

selain = webdriver.Chrome()
selain.get("https://www.thinglink.com/scene/1514855318415212546?buttonSource=viewLimits")

so how i would do it like this. A000, B000, C000, D000 etc. or like 0001, 0002, 0003

misty sinew
#

.

marble sonnet
#
    reverse_binary = ''   
    while integer_value > 0:        
        reverse_binary += str(integer_value % 2)        
        integer_value = integer_value // 2        
   
    return reverse_binary     
    
def reverse_string(input_string):       
    return input_string[::-1] 

if __name__ == '__main__':

integer_value = int(input())        
input_string = int_to_reverse_binary(integer_value)
print(reverse_string(input_string)) 
fervent notch
#

@calm agate

#

Speak out!

calm agate
#

i cant

#

permisson

fervent notch
#

why?

#

!verify

#

!voice

coarse hearthBOT
#

Voice verification

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

fervent notch
calm agate
#

!voice

fervent notch
#

Go to #voice-verification

cold trellis
halcyon notch
misty sinew
#

hello suf1f1f1f1f1f1fg1f1f1f1f1f1f1f1ef1f1f1f1f1rf1f1f1f1f1f1f1f1f1f1f1fd1f1f1f1f1fa1f1f1f1f1f1f1df1f1f1fdys 🙂

#

hello sugar daddy

river stirrup
#

here

#

?

#

right

#

ahhah

#

ok

#

how r u ?

#

hahah

#

duude

#

yeah

#

but

#

idk why do they battle

#

i mean

#

i know why

#

but i think that they're mad

#

wait

#

my english isn't actually the best

#

i didn't understund

#

repeat pls

#

ahha

#

but do they win too much killing all this people

#

and making them be scared

#

?

#

but if they wins all the other world will be just like spectiing

#

without make nothing

#

yes

#

it's sad

#

and have you seen the cities

#

it's detroied

#

repeat pls

#

idk what's that

#

ok i undersstood ciities destroid

#

and then ...

#

wanna talk bout antoher thing

#

like idk

#

lemme think

#

bc idnt want to talk about russia

#

yes

#

duuuude

#

I'm shaiking

#

hahha

#

you're lucky

#

to your house

#

?

#

yes

#

i've not seen my famili for 2 years

#

haha

#

and any friend

#

and you're right?

#

yes

#

and there's no a

#

idk how to say that

#

yes

#

and we'll die

#

everyone

#

hhaha

#

we'll became zombies

#

like in resident evil

#

hahaha

#

and

#

do you think that this virus was created or it was from nature

#

?

#

idk what to think

#

i liked the "yeah2

#

"

#

yes

#

but like there's many mad people

#

bored in labs

#

who knonws haha

#

I prefer to think that there's none doing thinks like that

#

yes but if this person just want to make the caos

#

...

#

maybe

#

yes

#

yes

#

totally

#

hello

#

🙂

#

duuude

#

i tried to make the face wit the symbols

#

not the emoji

#

ahahaha

#

yeah

#

and many people died

#

well

#

yeas

#

yeah

#

but

#

maybe there's somenoe that tried to do something and it didn't work

#

or any thing

#

idk

#

well

#

i have to go to sleep

#

loook at this

#

wait

#

i'm stupid

#

and idk to make a screen shot

#

ahhaha

#

wait

#

i wanted to sow you my hour

#

haah

#

it's 2:40

#

a.m

#

spain

#

hhaha

#

hahaha

#

well

#

you are so

raw wren
#

<@&831776746206265384>

river stirrup
#

kind ?

stuck bluff
river stirrup
#

odk how to say good things about other eople

#

yet

raw wren
#

oh my cache was messed up

hearty heath
#

Hello. Is SAPNAP talking to people in VC?

raw wren
#

I just saw them spamming messages with no one in vc

river stirrup
#

but you know what I mean

#

see you ok ?

stuck bluff
hearty heath
#

Oh right, no worries lemon_sweat

river stirrup
#

ahhaha

#

sorry

nimble axle
river stirrup
#

yeah i knw

#

hahah

#

but

hearty heath
#

Sorry, because we only see your messages, it looks like you're spamming (or talking to yourself). I don't talk on mic in VC so have the same problem lemon_pensive

river stirrup
#

well

#

I'm not going to sleep

#

and my father will kill me

#

if he knows that I'm on the computer at 2:40 a.m

#

hhaha

#

bye bye opal

#

and every one ::)

#

see you

#

hhahaha

#

sorry

#

i just came to ask you if you can say hello to mi sister

#

she don't understund nothingh but she never listened an american guy

#

hahaha

#

pls

full moth
#

can i be unmuted

midnight flume
midnight echo
#

voice verifieddddddddddd

random minnow
sage shuttle
#
GitHub

Discord API Wrapper - Easy enough for Wumpus, and fast enough for Clyde! - wumpy/library/wumpy-gateway at main · wumpyproject/wumpy

GitHub

Discord API Wrapper - Easy enough for Wumpus, and fast enough for Clyde! - wumpy/library/wumpy-rest at main · wumpyproject/wumpy

#

async with Shard(...) as ws: -> async with Shard.connect(...) as ws:

mild flume
raw wren
#

👍

mild flume
#

Did that last week

raw wren
#

we will move now

#

and I like the feature

mild flume
#

Danke

proud mason
#

!stream 565312957081190450 30m

coarse hearthBOT
#

✅ @crimson needle can now stream until <t:1725756538:f>.

proud mason
#

Oh god hold on

#

30 months lol

#

!unstream 565312957081190450

coarse hearthBOT
#

✅ Revoked the permission to stream from @crimson needle.

#

@crimson needle's stream has been suspended!

proud mason
#

!stream 565312957081190450 30M

coarse hearthBOT
#

✅ @crimson needle can now stream until <t:1646702364:f>.

proud mason
#

just tell me if you need more time

upbeat oriole
#

@crystal aurora hello how are u

misty sinew
mellow herald
#

Hi everyone, does anyone know how to add a loop to a Python program?

lime zealot
#

fries, you can use the flask or django frameworks

#

the syntax might change, but concepts stay the same

surreal bough
lime zealot
#

owe

#

not own

#

it costs a lot less to live in mexico

cold trellis
#

👀 @trim pasture stream on twitch

raw glade
#

@trim pasture

royal rivet
#

tiddies

#

im cryin

misty sinew
#

yo

#

how are you guys doing

true valley
marble sonnet
#
  1. Which X and Y cause the program to print the final velocity in feet per second? Note that the distance and initial_velocity are given using meters instead of feet.
    def final_velocity(initial_velocity, distance, time):
    return 2 * distance / time - initial_velocity
    def meters_to_feet(distance_in_meters):
    return 3.28084 * distance_in_meters

display final velocity in feet per second

t = 35 # seconds
d = 7.2 # meters
v_i = 4.6 # meters / second
print('Final velocity: {:f} feet/s'.format(final_velocity(X, Y)))
A. X = meters_to_feet(v_i), Y = meters_to_feet(d)
B. X = v_i, Y = meters_to_feet(d)
C. X = meters_to_feet(v_i), Y = d
D. X = v_i, Y = d

elder wraith
marble sonnet
#
  1. Choose the option that gives great as the output.
    A. my_list = ['books', 'are', 'Great', 'for', 'learning'] my_list.sort()
    print(my_list.pop(3))
    B. my_list = ['Great', 'books', 'are', 'for', 'learning'] my_list.sort()
    print(my_list.pop(1))
    C. my_list = ['books', 'are', 'great', 'for', 'learning'] my_list.sort()
    print(my_list.pop(3))
    D. my_list = ['books', 'are', 'for', 'great', 'learning'] my_list.sort()
    print(my_list.pop(4))
pseudo arch
#

charlie is the best currency trader in the western hemisphere

marble sonnet
#

my_list = ['books', 'are', 'great', 'for', 'learning']
my_list.sort()
print(my_list.pop(3))

mild flume
#

What part is tripping you up

#

Oh nevermind, I see what part is confusing you

solid gyro
#

!e

l = ['az', 'bb', 'aa']
l.sort()
print(l)
coarse hearthBOT
#

@solid gyro :white_check_mark: Your eval job has completed with return code 0.

['aa', 'az', 'bb']
marble sonnet
#
  1. Which of the following codes will give 3 as the output?
    A. my_list = [10, 10, 2, 5, 10]
    print(my_list.index(10) + my_list.count(10))
    B. my_list = [11, 2, 10, 10, 10]
    print(my_list.index(10) , my_list.count(10))
    C. my_list = [11, 2, 10, 10, 10]
    print(my_list.index(10) + my_list.count(10))
    D. my_list = [10, 10, 2, 5, 10]
    print(my_list.index(10) , my_list.count(10))
#

1

  1. Select the code that gives ['cat in a hat', 'fluffy dogs', 1989, 1990] as the output.
    A. new_list = ['1000', '2000', '3000', 'cat in a hat', 'fluffy dogs'] print(new_list[-2:] + [1989, 1990])
    B. new_list = ['cat in a hat', 'fluffy dogs','1000', '2000', '3000'] print(new_list[-2:] + [1989, 1990])
    C. new_list = ['1000', '2000', '3000', 'cat in a hat', 'fluffy dogs']
    print(new_list[-1:] + [1989, 1990])
    D. new_list = ['1000', '2000', '3000', 1989, 1990]
    print(new_list[-2:] + ['cat in a hat', 'fluffy dogs'])
    @mild flume is this B?
mild flume
pseudo arch
#

@solid gyro because they have burritos

#

and not british food

marble sonnet
#
  1. In the following code, the variable size is the function's _____.
    def print_square_area(size):
    area = size * size
    print("A square of size {} has area {}".format(size, area))
    s = input('Enter size of square: ')
    print_square_area(s)
    A. parameter
    B. argument
    C. property
    D. value
pseudo arch
#

@marble sonnet makes some reasonable points...

#

@marble sonnet a skinless cat🤣

marble sonnet
#

lol

#
  1. In the following code, the variable val is the function call's _____.
    def print_square_area(size):
    area = size * size
    print("A square of size {} has area {}".format(size, area))
    val = input('Enter size of square: ')
    print_square_area(val)
    A. parameter
    B. argument
    C. property
    D. value
pseudo arch
#

@olive echo good to see you today

#

what you working on?

mild flume
marble sonnet
#

Which function call will produce an error?
def purchase(user_name, id_number=-1, item_name='None', quantity=0): # ... process a user's purchase as required ...
A. purchase(item_name='Orange', user_name='Leia')
B. purchase('Leia')
C. purchase('Leia', 123, 'Orange', 10)
D. purchase('Leia', 'Orange', 10)

mild flume
#

!e

def user(username, ham=3, pork=4):
  print(username, ham, pork)

user("Steve", "Ham")
coarse hearthBOT
#

@mild flume :warning: Your eval job has completed with return code 0.

[No output]
mild flume
#

!e

def user(username, ham=3, pork=4):
  print(username, ham, pork)

user(ham=4, username="Terry")
coarse hearthBOT
#

@mild flume :white_check_mark: Your eval job has completed with return code 0.

Terry 4 4
pseudo arch
#

@marble sonnet where are you getting this from? and why are you doing these questions?

marble sonnet
#

practice exam

pseudo arch
#

Coffee is here🙏

zenith wedge
marble sonnet
#
  1. Which of the following is true?
    A. A function must have exactly one return statement, or no return statement at all. B. A function must always have at least one return statement.
    C. A function can only return strings and numbers, not lists or dictionaries.
    D. A function can have any number of return statements, or no return statement at all.
#

IS this A

zenith wedge
#

jmac is here 🥇

mild flume
#

It is not A

marble sonnet
#

So then its D?

mild flume
#

@inland delta

marble sonnet
#
  1. Which boolean evaluates to false?
    A. 1>=1
    B. 2!=1
    C. ‘hi’ not in [‘bye’,’ok’]
    D. 10<10
#

iS THIS d

inland delta
#
import csv
import pandas as pd
import io
# from tkinter import messagebox
# from datetime import datetime
# print(datetime.date(datetime.now()))
# name of the list to count
to_count = list()
alarmrows = list()
values = list()
data = ()
tcc = int() # to_count count set as an int

# opens the csv file
with open('test.csv', 'r') as file:
    reader = csv.DictReader(file)
    for row in csv.DictReader(file, delimiter=';'):
        # reads the ThStatus[0] row of the csv and writes it to to_count
        to_count.append(row['ThStatus[0]'])

# checking if extracting row is possible
with open('test.csv', 'r') as f, open('alarmrows.csv', 'w') as outf:
    reader = csv.reader(f, delimiter=';')
    writer = csv.writer(outf, delimiter=';')
    
    for row in reader:
        if row[2] == 'ALARM':
#          print('Found :{}'.format(row))
          writer.writerow(row)
            
if to_count.count("ALARM") >= 3:
    PassStatus = True
else:
    PassStatus = False
# prints the status of the PASS/FAIL Alarm status.
print(PassStatus)
print(to_count.count('ALARM'))
to_count_num=(to_count.count('ALARM'))
# generates a message box letting the user know if the check was ok.

# Trying to compare the error code with the alarmcode from Test, and print out the alarms
# The format will look something like this:
# The first alarm was AL_OVER_RESIST
# The second alarm was AL_TA_NOT_CONNECTED  and so on.

with open('alarmrows.csv', 'r',) as csv:
    data = [line.strip().split(';')[-1] for line in csv.readlines()]
    print(data)
ints = [int(data) for data in range(0,to_count_num)]
print(ints)
print(type(ints))
#
papa;Porto;ALARM;10.3.2022;32
Die;Cala;ALARM;10.3.2022;09
0;1;ALARM;10.3.2022;12
0;1;ALARM;10.3.2022;01
marble sonnet
#
  1. Which of the following symbols can be used as part of an identifier?
    A. @
    B. $
    C. &
    D. _ (underscore)
#

Is it D?

mild flume
inland delta
#
ER_NB;ALARM_DESC
01;AL_BREAK_ELECTRODE
02;AL_VOLTAGE_LIMIT
03;AL_TA_OVERTEMPERATURE
04;AL_7DEGREES
05;AL_THERMISTOR_FAULT
06;AL_UNREACHABLE_IMIN_VOLTAGE
07;AL_UNACHIEVABLE_IMIN_TEMPERATURE
08;AL_OVER_RESIST
09;AL_UNDER_RESIST
10;AL_TA_NOT_CONNECTED
11;AL_POW_MODULE
12;AL_SHAPE_SIGNAL
13;AL_INCORRECT_SHUTDOWN
14;AL_THERAPY_FREQ
15;AL_V_POW_SRC
16;AL_DEVICE_TEMP
17;AL_FAN_DAMAGE
18;AL_THERAPY_TIMEOUT
19;AL_RESET_COUNTERS
20;AL_POST_RESIST
21;AL_POST_POWER
22;AL_POST_MEMORY
23;AL_POST_BAD_SETTINGS
24;AL_CAD_CONNECTION_FAULT
25;AL_CAD_NOT_CONNECTED
26;AL_BATTERY_COMMUNICATION
27;AL_HW_OVER_I
28;AL_HW_OVER_V
29;AL_HW_LOW_PS
30;AL_BREAK_ELECTRODE
31;AL_VOLTAGE_LIMIT
32;AL_TA_OVERTEMPERATURE
33;AL_7DEGREES
34;AL_THERMISTOR_FAULT
35;AL_UNREACHABLE_IMIN_VOLTAGE
36;AL_UNACHIEVABLE_IMIN_TEMPERATURE
37;AL_OVER_RESIST
38;AL_UNDER_RESIST
39;AL_TA_NOT_CONNECTED
40;AL_POW_MODULE
41;AL_SHAPE_SIGNAL
42;AL_INCORRECT_SHUTDOWN
43;AL_THERAPY_FREQ
44;AL_V_POW_SRC
45;AL_DEVICE_TEMP
46;AL_FAN_DAMAGE
47;AL_THERAPY_TIMEOUT
48;AL_RESET_COUNTERS
49;AL_POST_RESIST
50;AL_POST_POWER
51;AL_POST_MEMORY
52;AL_POST_BAD_SETTINGS
53;AL_CAD_CONNECTION_FAULT
54;AL_CAD_NOT_CONNECTED     
55;AL_BATTERY_COMMUNICATION
56;AL_HW_OVER_I  
57;AL_HW_OVER_V
58;AL_HW_LOW_PS
marble sonnet
#
  1. _____ is the process where objects that are no longer needed are deleted.
    A. Identity recycling
    B. Memory clearing
    C. Garbage collection
    D. Object recycling
#

IS this D?

mild flume
#

Nope

pseudo arch
#

willy ❤️ @misty sinew

inland delta
#
print('the  First alarm was "+ *Entry 32*)
inland delta
#
True
4
['32', '09', '12', '01']
[0, 1, 2, 3]
<class 'list'>
pseudo arch
mild flume
#

It's his assignment. (but yes)

inland delta
#

error_data.csv

mild flume
#

@marble sonnet Do you have a text book or some sort of required reading?

inland delta
#

print(datetime.date(datetime.now()))

random minnow
#

!e

x = """
01;test
02;test2
"""

x_dict = {int(line.split(';')[0]): line.split(';')[1] for line in x.strip().split('\n')}
print(x_dict)
coarse hearthBOT
#

@random minnow :white_check_mark: Your eval job has completed with return code 0.

{1: 'test', 2: 'test2'}
random minnow
#

!e

def convert(n):
    if n == "ER_NB":
        return -1
    return int(n)

print(convert('ER_NB'))
print(convert('01'))
coarse hearthBOT
#

@random minnow :white_check_mark: Your eval job has completed with return code 0.

001 | -1
002 | 1
slow condor
#

Hi!

#

Still haven't unpacked things. Can't talk.

marble sonnet
#
  1. What is the output?
    def check_for_fever(temperature):
    NORMAL_TEMP = 98.6
    CUTOFF_TEMP = 95
    degrees_of_fever = 0
    if (temperature > NORMAL_TEMP):
    degrees_of_fever = temperature - NORMAL_TEMP
    print('You have {:f} degrees of fever.'.format(degrees_of_fever)) elif (temperature < CUTOFF_TEMP):
    degrees_of_fever = CUTOFF_TEMP - temperature
    print('Your temperature is {:f} below 95.'.format(degrees_of_fever)) return degrees_of_fever
    body_temperature = 96.0
    print('Checking for fever...')
    degrees_of_fever = check_for_fever(body_temperature)
    A. (Nothing is output)
    B. Checking for fever...
    Your temperature is 2.6 below 95.
    C. Checking for fever...Your temperature is 2.6 below 95.
    D. Checking for fever...
mild flume
slow condor
#

Yea. Over the weekend.

random minnow
#

!e

data = """
ER_NB;ALARM_DESC
01;AL_BREAK_ELECTRODE
02;AL_VOLTAGE_LIMIT
03;AL_TA_OVERTEMPERATURE
04;AL_7DEGREES
05;AL_THERMISTOR_FAULT
06;AL_UNREACHABLE_IMIN_VOLTAGE
07;AL_UNACHIEVABLE_IMIN_TEMPERATURE
08;AL_OVER_RESIST
09;AL_UNDER_RESIST
10;AL_TA_NOT_CONNECTED
11;AL_POW_MODULE
12;AL_SHAPE_SIGNAL
13;AL_INCORRECT_SHUTDOWN
14;AL_THERAPY_FREQ
15;AL_V_POW_SRC
16;AL_DEVICE_TEMP
17;AL_FAN_DAMAGE
18;AL_THERAPY_TIMEOUT
19;AL_RESET_COUNTERS
20;AL_POST_RESIST
21;AL_POST_POWER
22;AL_POST_MEMORY
23;AL_POST_BAD_SETTINGS
24;AL_CAD_CONNECTION_FAULT
25;AL_CAD_NOT_CONNECTED
26;AL_BATTERY_COMMUNICATION
27;AL_HW_OVER_I
28;AL_HW_OVER_V
29;AL_HW_LOW_PS
30;AL_BREAK_ELECTRODE
31;AL_VOLTAGE_LIMIT
32;AL_TA_OVERTEMPERATURE
"""

def convert(n):
    # Converts to an int if n is not equal to "ER_NB" and in that case returns -1
    if n == "ER_NB":
        return -1
    return int(n)

# Creates a dictionary (the programming concept of key-value pairs i.e. 32 => AL_TA_OVERTEMPERATURE)
err_map = {convert(line.split(';')[0]): line.split(';')[1] for line in data.strip().split('\n')}

# Get and print the error corresonding to the error code 32
print(err_map[32])
coarse hearthBOT
#

@random minnow :white_check_mark: Your eval job has completed with return code 0.

AL_TA_OVERTEMPERATURE
mild flume
#

@marble sonnet This is one that would probably be better to search for online

marble sonnet
#

Ok

mild flume
#

These terminology ones aren't really something you can work out

random minnow
#

['32', '09', '12', '01']

mild flume
slow condor
#

Company provided housing. For six months.

#

Because.. I couldn't get one in time.

#

And free for the first month!

mild flume
#

Oh sick

#

So wait, how does that work out. So long as you're employed there you're able to keep it?

#

If you leave the company/get let go you'd have to find somewhere else?

slow condor
#

It's renting from the company. For a maximum of six months.

#

And yea, if I get fired, I get kicked out.

mild flume
#

Decent place at least?

slow condor
#

It's.. okay. Better than my dad's place even.

#

It is supposed to be a house share, but this is off season for hiring.

#

So I get the whole house to myself!

mild flume
#

Niiiiiiiice

#

Loud music, parties, converting a room into a mini disco...

slow condor
#

Oh right. Accents. How do you get used to other people's accents? Is it just time?

random minnow
slow condor
#

Mm. Okay. There are some people at work that I have a hard time understanding.

marble sonnet
#
  1. How many times does the following loop iterate?
    i = 5
    while i < 10:
    print(i)
    i = i + 1
    A. 0
    B. 4
    C. 5
    D. 6
inland delta
#
count1 = 4 #number of times ALARM shows up in my test.csv
['32', '09', '12', '01'] # Alarm codes for every alarm that shows up
[0, 1, 2, 3,]  # number of the entry

count2 = count1-1 #to get the index of the last entry

def print_error_desc:
  if count1 >0:
    print(err_map(count2))
    count1-1
  else:
    break
slow condor
#

"It's nice" says KJ. While I had to cycle in the rain this morning S:

random minnow
mild flume
#
count1 -= 1
solid gyro
#

@mild flume can I get streaming permissions to make some charts

marble sonnet
#
  1. Which of the following loops is best implemented with a for loop?
    A. Asking a user to enter names until the user enters 'Quit'.
    B. Counting the number of negative values in a list of integers.
    C. Starting from a user-entered integer, increment the value until the value is a prime number. D. Reading values from a temperature sensor until it gives a value greater than 100 degrees.
solid gyro
elder wraith
#

@true valley I need American history help stat

mild flume
#

!stream 152515077512232960

coarse hearthBOT
#

✅ @solid gyro can now stream until <t:1646941449:f>.

solid gyro
#

danke

elder wraith
mild flume
#

@elder wraith Just imagining you spamming the X button like mad

marble sonnet
unique raptor
#

and..

marble sonnet
#

ow many times will the print statement execute?
for i in range(1, 3):
for j in range(8, 12, 2):
print('{:d}. {:d}'.format(i, j))
A. 4
B. 6
C. 9
D. 36

elder wraith
#

!e python for j in range(8 ,12, 2): print(j) So hard

coarse hearthBOT
#

@elder wraith :white_check_mark: Your eval job has completed with return code 0.

001 | 8
002 | 10
solid gyro
#

@mild flume I stopped streaming to switch windows and lost it - can I get them back again?

mild flume
#

!stream 152515077512232960 1h

coarse hearthBOT
#

✅ @solid gyro can now stream until <t:1646945882:f>.

mild flume
#

Sorry, only just sat back down

mild flume
#

Tongue twister: Irish wristwatch

random minnow
#

Iwish Wishwash

#

1646942919

elder wraith
#

!e ```python
from datetime import datetime

unix_timestamp = 1646942907
print(datetime.utcfromtimestamp(unix_timestamp))```

coarse hearthBOT
#

@elder wraith :white_check_mark: Your eval job has completed with return code 0.

2022-03-10 20:08:27
random minnow
#

!docs datetime.datetime.utcfromtimestamp

coarse hearthBOT
#

classmethod datetime.utcfromtimestamp(timestamp)```
Return the UTC [`datetime`](https://docs.python.org/3/library/datetime.html#datetime.datetime "datetime.datetime") corresponding to the POSIX timestamp, with [`tzinfo`](https://docs.python.org/3/library/datetime.html#datetime.datetime.tzinfo "datetime.datetime.tzinfo") `None`. (The resulting object is naive.)

This may raise [`OverflowError`](https://docs.python.org/3/library/exceptions.html#OverflowError "OverflowError"), if the timestamp is out of the range of values supported by the platform C `gmtime()` function, and [`OSError`](https://docs.python.org/3/library/exceptions.html#OSError "OSError") on `gmtime()` failure. It’s common for this to be restricted to years in 1970 through 2038.

To get an aware [`datetime`](https://docs.python.org/3/library/datetime.html#datetime.datetime "datetime.datetime") object, call [`fromtimestamp()`](https://docs.python.org/3/library/datetime.html#datetime.datetime.fromtimestamp "datetime.datetime.fromtimestamp"):

```py
datetime.fromtimestamp(timestamp, timezone.utc)
```  On the POSIX compliant platforms, it is equivalent to the following expression:

```py
datetime(1970, 1, 1, tzinfo=timezone.utc) + timedelta(seconds=timestamp)
```...
elder wraith
#

!e ```python
from datetime import datetime

unix_timestamp = 3000000
print(datetime.utcfromtimestamp(unix_timestamp))```

coarse hearthBOT
#

@elder wraith :white_check_mark: Your eval job has completed with return code 0.

1971-04-08 23:06:40
elder wraith
#

!e ```python
from datetime import datetime

unix_timestamp = 3000000
print(datetime.utcfromtimestamp(unix_timestamp))```

coarse hearthBOT
#

@elder wraith :white_check_mark: Your eval job has completed with return code 0.

1970-02-04 17:20:00
elder wraith
#

!e python a = int(50000000) print(a)

coarse hearthBOT
#

@elder wraith :white_check_mark: Your eval job has completed with return code 0.

50000000
marble sonnet
#
def back_half(s):
    
    startPoint = len(s) // 2
    
    outputString = ''
    
    while startPoint < len(s):
        outputString = outputString + s[startPoint]
        startPoint += 1
    return outputString

   
if __name__ == '__main__':
    # you can use this to test your code
    print(back_half('abba'))
elder wraith
#

!e ```python
from datetime import datetime

unix_timestamp = 1646943365
print(datetime.utcfromtimestamp(unix_timestamp))```

digital haven
#
def back_half(s):
    
    startPoint = START_AT
    
    outputString = ''
    
    while startPoint < END_AT:
        outputString = outputString + s[startPoint]
        startPoint += 1
    return outputString

   
if __name__ == '__main__':
    # you can use this to test your code
    print(back_half('abba'))
elder wraith
#

!e ```python
from datetime import datetime

unix_timestamp = 1646943365
print(datetime.utcfromtimestamp(unix_timestamp))```

coarse hearthBOT
#

@elder wraith :white_check_mark: Your eval job has completed with return code 0.

2022-03-10 20:16:05
elder wraith
#

!e ```python
import time
from datetime import datetime

print(datetime.utcfromtimestamp(int(time.time())))```

coarse hearthBOT
#

@elder wraith :white_check_mark: Your eval job has completed with return code 0.

2022-03-10 20:24:41
mild flume
#

Back in a bit, heading to the van for more deliveries

random minnow
#

!e

x = [1, 2, 234, 1234, 3]
print(sum(x)/len(x))
coarse hearthBOT
#

@random minnow :white_check_mark: Your eval job has completed with return code 0.

294.8
random minnow
#

@marble sonnet

marble sonnet
#
def get_average(int_list):
    for i in range(len(int_list))
    
    return 

if __name__ == '__main__':
    # you can use this to test your code
    print(get_average([0,3,-1,10]))```
digital haven
#

```py

random minnow
#

!code

coarse hearthBOT
#

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.

random minnow
#

!e

for i in range(8):
    print(i)
coarse hearthBOT
#

@random minnow :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
digital haven
#

int_list[0]

#
for i in range(len(int_list)):
    int_list[i]
#

!e

int_list = [0,3,-1,10]
for i in range(len(int_list)):
    print(i,int_list[i])
coarse hearthBOT
#

@digital haven :white_check_mark: Your eval job has completed with return code 0.

001 | 0 0
002 | 1 3
003 | 2 -1
004 | 3 10
digital haven
#
total = 0
for i in range(len(int_list)):
    ... ... int_list[i]
#

+=

#
total = 0
for i in range(len(int_list)):
    total += int_list[i]
#

!e

int_list = [0,3,-1,10]

total = 0
for i in range(len(int_list)):
    total += int_list[i]
    print(total)
coarse hearthBOT
#

@digital haven :white_check_mark: Your eval job has completed with return code 0.

001 | 0
002 | 3
003 | 2
004 | 12
digital haven
#

!e

int_list = [0,3,-1,10]

print(list(range(len(int_list))))
coarse hearthBOT
#

@digital haven :white_check_mark: Your eval job has completed with return code 0.

[0, 1, 2, 3]
digital haven
#

!e print(range(1000000000))

coarse hearthBOT
#

@digital haven :white_check_mark: Your eval job has completed with return code 0.

range(0, 1000000000)
marble sonnet
#
def get_average(int_list):
    total = 0
    for i in range(len(int_list))
        total = total + int_list[i]
    
    return 
    
    total / len(int_list))

if __name__ == '__main__':
    # you can use this to test your code
    print(get_average([0,3,-1,10]))```
digital haven
#

!e

def get_average(int_list):
    total = 0
    for i in range(len(int_list)):
        total = total + int_list[i]

    return total / len(int_list)

print(get_average([0,3,-1,10]))
coarse hearthBOT
#

@digital haven :white_check_mark: Your eval job has completed with return code 0.

3.0
digital haven
#

!e print(__name__)

coarse hearthBOT
#

@digital haven :white_check_mark: Your eval job has completed with return code 0.

__main__
marble sonnet
#
def get_average(int_list):
    total = 0
    for i in range(len(int_list)):
        if int_list[i]>0:
            total = total + int_list[i]
        
    return total / len(int_list) 

if __name__ == '__main__':
    # you can use this to test your code
    print(get_average([0,3,-1,10]))```
#

def get_average(int_list):
x = 0
total = 0
for i in range(len(int_list)):
if int_list[i]>0:
total = total + int_list[i]
x = x + 1
return total / x

if name == 'main':
# you can use this to test your code
print(get_average([0,3,-1,10]))

misty sinew
#

yep

#

just exploring the website

#

seing the features

marble sonnet
#
  1. How many times will the print statement execute?
    for i in range(1, 3):
    for j in range(8, 12, 2):
    print('{:d}. {:d}'.format(i, j))
    A. 4
    B. 6
    C. 9
    D. 36
winged fulcrum
#

||Hello World||

twilit leaf
#

@elder wraith gmail

#

chrome

#

@elder wraith alot of times they buy for IP

elder wraith
elder wraith
twilit leaf
elder wraith
#

In fact, INbox was superior until Google strangled it

twilit leaf
#

And they implemented alot of them to gmail now...

#

@mild flume It can be fun... doing leetcode...

#

Leetcode is not the thing....It is about data structures and algorithms...

#

@mild flume what would be a better system...

#

@olive echo that is bad...

#

@mild flume , leetcode is a good metric, if it shows your general problem solving skills...

But the problem is... people train to themselves to recognize bunch of patterns... and solve them

#

@zenith wedge massive, but good..

tribal magnet
#

Hii someone please come

#

@rugged crystal can you please help me

#

@astral urchin hmm can you please help

rugged crystal
#

I dont know much as im kinda new to python

tribal magnet
tribal magnet
rugged crystal
#

Nope sorry you can join the vc and ask someone else

#

Apologies

tribal magnet
rugged crystal
tribal magnet
rugged crystal
#

oh,

#

wait like 8-10 mins, as they are currently helping someone else

compact hedge
#

@echo smelt

#

chess

echo smelt
#

JollyGo

compact hedge
#

DIABLO2022

misty sinew
#

Your English is pretty good Diablo

#

I haven't gotten verified status yet, need to send more msg's

compact hedge
misty sinew
#

Australian

#

Sacre bleu

echo smelt
#

whatr is your favourite color

#

whatr car do you drive

misty sinew
#

r"\w+[S]acre[B]leu\w+"

#

I don't drive a car anymore, take public transport as it's very good in my city

#

fav colour probably blue

echo smelt
#

i also like blue

#

what is your best rpg system

misty sinew
#

you mean like rpg vs Jrpg?

compact hedge
#

@misty sinew how old are u

misty sinew
#

im 32, turn 33 next month

echo smelt
#

43

misty sinew
#

I use tractor for DJing

#

hahaha

echo smelt
#

are are french

misty sinew
#

no im not french

#

Australia

#

I just have a french name

echo smelt
#

my bad

misty sinew
#

Je ne comprend pas c'est francais peu

compact hedge
misty sinew
#

but nihongo ga hanashimasu

#

totemo sugoii

#

im in Melbourne

opaque lintel
#

Howdy yall

compact hedge
#

@misty sinew just send a normal thing

misty sinew
#

ive fulfilled the other criteria i think but I think I just need to fill up the msg's

#

Yeah people in Melbourne do swear a lot too

compact hedge
misty sinew
#

that's definitely true

opaque lintel
#

So, I am new to python. Just started yesterday

misty sinew
#

Richmond is full of heroin addicts

echo smelt
#

north richmond

opaque lintel
#

Glad to join a new community.

compact hedge
#

@misty sinew u can see what u need to get verfied in the verification channel

misty sinew
#

north richmond is a bit more upperclass than normal Richmond, probaly they are addicted to oxycontin not heroin haha

#

Yeah I have seen

#

I have maybe 25 msg to send and then ill try the verify command

opaque lintel
#

I used to live in the meth capital of the united states.

#

Dahlonega GA

#

@misty sinew So I know what that can be like

misty sinew
#

meth is big here and there in aus too

#

melb is more progressive and more of a party city so party drugs are more common

#

mdma, speed, ketamine, so on

opaque lintel
#

quick question, how to indent in sublime?

compact hedge
#

mauritania

opaque lintel
#

Like I want my second line to be slightly indented

misty sinew
#

a tuple of desert conditions

#

sunny side up

#

that

#

that's why cat stevens stopped making music

#

and changed his name to yusef islam I think

#

if Guitar is not in Islam.rules: return GetAngry.text

#

Christianity: Jesus is a prophet, Islam: recognize Jesus but Mohammad is last prophet and greater, Judaism: last prophet and Messiah hasn't yet arrived

#

I think

#

I am a licensed Christian Minister, I did training for months last year online

#

I know a little bit of Islam and a bit more of Judaism

#

have read the whole Torah

#

iambic pentameter

#

the Gospels were written over time yeah

#

wasn't written all at once once the big JC died

compact hedge
#

@misty sinew just send other 5 msg

misty sinew
#

but in Judaism you have t hings like midrash which is Rabbinical translation and understanding of the talmud

#

and it was written 500 years later than the talmud i think

#

and the talmud itself was originally from the Babylonian text, not Hebraic

#

that's not what Christianity says

#

people don't physically come back to life, it's metaphorical

echo smelt
#

\

naive creek
#

Hi everyone i am new in this server.plese help me

compact hedge
naive creek
#

In python coding

naive creek
compact hedge
compact hedge
pliant turret
#

Can somebody help me and do a sms text message verification for me?

round ledge
#

🦆

opaque orchid
#

Salamaleikum!

bitter cedar
#

Is

dire vapor
#

hi

steep spruce
#

Hi

#

how do u like verify this voice thingy?

bitter cedar
#

It

#

Takes

#

A

#

While

#

To

#

Get the voice thingy

idle skiff
#

it

#

is

#

very

#

annoying

#

50

#

messages

#

is

#

a

#

lot

glad vault
glad vault
steep spruce
#

I see

steep spruce
bitter cedar
minor peak
#

@idle skiff do not spam to try and reach the message requirements.

misty wolf
#

https://stackoverflow.com/questions/5953373/how-to-split-image-into-multiple-pieces-in-python i found this link which has multiple ways of splitting image. not sure which would work for me - can you suggest one code to try. i want to split image into 100 vertical sections and save each section

little ether
#

hello

tepid patio
limber solar
#

hello there

misty sinew
#

hello to you

graceful herald
rustic talon
#

@stoic rose Hi

#

gotta get my 50 messages

stoic rose
#

^^

#

done it 2 sec ago

#

so happy

rustic talon
#

haha

stoic rose
#

rust is so hard

#

be carefull ur maybe gonna get mute

high scarab
rustic talon
#

Ya

#

I had to make a new account on discord because some tried to dox me after a debate @high scarab

#

When people try to use the n word its hard not to tell them off. this wasnt here it was elsewhere

high scarab
#

I say that as in do you think that would count for your message count?

rustic talon
high scarab
rustic talon
#

<

#

dang it

#

@high scarab Thanks

rustic talon
#

@high scarab thanks for the reply, sorry about the spam, I def wouldnt have do it in gen chat. Oh because of your avatar I looked up ksp python and found some cool stuff on doing ksp with python

high scarab
rustic talon
high scarab
#

I think there is a mod for automating some things

#

KOS if I recall

rustic talon
#

yeah so this tutorial shows you how to extend it and use it in jupyter notebooks https://www.youtube.com/watch?v=9ABSicgaNKU

You can buy Kerbal Space Program game here: https://amzn.to/2tE1aqB

Hello and welcome to What Da Math!
In this video, we will use a mod called kRPC to begin learning Python in KSP.
This is a multi part series and the other parts will be available in this playlist as they are released.

The code can be found here:
https://github.com/whatdamath/...

▶ Play video
rustic talon
#

he has a whole playlist also for different parts of the programming

#

@pliant turret I am too new

dull musk
stoic rose
#

someone who was spamming to get to 50 message gate

verbal oasis
stoic rose
#

idk

coarse hearthBOT
#

@charred creek

It has arrived!

Here's your reminder: Hello from the past!
[Jump back to when you created the reminder](#voice-chat-text-1 message)

hallow anchor
charred creek
#

woah

#

it is me

#

from the past

#

!remind @hallow anchor 10.1m henlo

coarse hearthBOT
#
Bad argument

10.1m is not a valid duration string.

charred creek
#

!remind @hallow anchor 10m henlo

coarse hearthBOT
#
Sure.

Your reminder will arrive on <t:1673993829:F> and will mention 1 other(s)!

hallow anchor
peak frigate
#

!remind @charred creek 2m boo

coarse hearthBOT
#
Sure thing!

Your reminder will arrive on <t:1652825867:F> and will mention 1 other(s)!

charred creek
#

where is the random mode sad_cat

warm bolt
#

!remind ddd 2m

coarse hearthBOT
#
Bad argument

ddd is not a valid duration string.

warm bolt
#

!remind @warm bolt 2 min

coarse hearthBOT
#
Bad argument

2 is not a valid duration string.

#
Command Help

!remind [mentions]... <expiration> [content]
Can also use: reminder, reminders, remindme

*Commands for managing your reminders.

The expiration duration of !remind new supports the following symbols for each unit of time: - years: Y, y, year, years - months: m, month, months - weeks: w, W, week, weeks - days: d, D, day, days - hours: H, h, hour, hours - minutes: M, minute, minutes - seconds: S, s, second, seconds

For example, to set a reminder that expires in 3 days and 1 minute, you can do !remind new 3d1M Do something.*

Subcommands:

!remind delete <id_>
Delete one of your active reminders.
!remind edit
Commands for modifying your current reminders.
!remind list
View a paginated embed of all reminders for your user.
!remind new [mentions]... <expiration> [content]
Set yourself a simple reminder.

warm bolt
#

!remind [ @warm bolt ] <1 hour> [hell]

coarse hearthBOT
#
Bad argument

[ is not a valid duration string.

#
Command Help

!remind [mentions]... <expiration> [content]
Can also use: reminder, reminders, remindme

*Commands for managing your reminders.

The expiration duration of !remind new supports the following symbols for each unit of time: - years: Y, y, year, years - months: m, month, months - weeks: w, W, week, weeks - days: d, D, day, days - hours: H, h, hour, hours - minutes: M, minute, minutes - seconds: S, s, second, seconds

For example, to set a reminder that expires in 3 days and 1 minute, you can do !remind new 3d1M Do something.*

Subcommands:

!remind delete <id_>
Delete one of your active reminders.
!remind edit
Commands for modifying your current reminders.
!remind list
View a paginated embed of all reminders for your user.
!remind new [mentions]... <expiration> [content]
Set yourself a simple reminder.

warm bolt
#

!remind @warm bolt <1 hour> [hell]

coarse hearthBOT
#
Bad argument

<1 is not a valid duration string.

#
Command Help

!remind [mentions]... <expiration> [content]
Can also use: reminder, reminders, remindme

*Commands for managing your reminders.

The expiration duration of !remind new supports the following symbols for each unit of time: - years: Y, y, year, years - months: m, month, months - weeks: w, W, week, weeks - days: d, D, day, days - hours: H, h, hour, hours - minutes: M, minute, minutes - seconds: S, s, second, seconds

For example, to set a reminder that expires in 3 days and 1 minute, you can do !remind new 3d1M Do something.*

Subcommands:

!remind delete <id_>
Delete one of your active reminders.
!remind edit
Commands for modifying your current reminders.
!remind list
View a paginated embed of all reminders for your user.
!remind new [mentions]... <expiration> [content]
Set yourself a simple reminder.

#
Bad argument

1hour> is not a valid duration string.

#
Command Help

!remind [mentions]... <expiration> [content]
Can also use: reminder, reminders, remindme

*Commands for managing your reminders.

The expiration duration of !remind new supports the following symbols for each unit of time: - years: Y, y, year, years - months: m, month, months - weeks: w, W, week, weeks - days: d, D, day, days - hours: H, h, hour, hours - minutes: M, minute, minutes - seconds: S, s, second, seconds

For example, to set a reminder that expires in 3 days and 1 minute, you can do !remind new 3d1M Do something.*

Subcommands:

!remind delete <id_>
Delete one of your active reminders.
!remind edit
Commands for modifying your current reminders.
!remind list
View a paginated embed of all reminders for your user.
!remind new [mentions]... <expiration> [content]
Set yourself a simple reminder.

warm bolt
#

!remind @warm bolt 1hour hell

coarse hearthBOT
#
Noooooo!!

Sorry, you can't do that here!

frosty dust
#

<@&831776746206265384>

peak frigate
#

yes?

frosty dust
#

Sorry

#

Shoot I didn’t think I could pin moderators

#

I’m sorry

peak frigate
#

yeah lol, please reserve it for things requiring immediate attention

#

np!

frosty dust
#

Ok

gritty arrow
#

figuring out the mic thing one sec

#

@rain lance @brazen flower guess the bot is trolling me and I cant talk for 3 days lol

#

lol

rain lance
#

😦

gritty arrow
#

its ight, your project sounds cool tho

#

Lol, I was guessing you were like 20 @brazen flower

#

its 4 through 6 in the states

#

Im finishing my 2nd year

#

GitHub trolling troll

#

Man, despite all these guides saying neural nets are easy, they are really confusing to get working lol

rain lance
#

for sure mate

#

i haven't got in to it yet but soon i will

digital gulch
#

msg 1

misty sinew
#

Yo

misty wolf
#

import cv2
import numpy as np
import matplotlib.pyplot as plt


# load image
img = cv2.imread(r'C:\Users\Guest_\Downloads\Screenshot 2022-03-18 154330.png')

# convert the image to grayscale
gray = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY)



# read each column of the image from left to right and save it to a list
cols = []
for i in range(gray.shape[1]):
    cols.append(gray[:, i])

# average every 3 columns
avg_cols = []
for i in range(0, len(cols), 1):
    avg_cols.append(np.mean(cols[i:i+5], axis=0))

# graph the average of each column (reversed)

plt.plot(avg_cols[60][::-1])
plt.show()
print (avg_cols[60][::-1])

#
import scipy.signal
import numpy as np
import matplotlib.pyplot as plt
np.random.seed(1)

x = np.linspace(0,2*np.pi,100)
y = np.sin(x) + np.random.random(100) * 0.2
yhat = scipy.signal.savgol_filter(y, 51, 3) # window size 51, polynomial order 3

plt.plot(x,y)
plt.plot(x,yhat, color='red')
plt.show()
misty sinew
#

testest

slow terrace
#

how do I get to speak here

misty sinew
#

!voice

coarse hearthBOT
#

Voice verification

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

slow terrace
#

now I am doing the messages
for i in range(50):

#

print(f"{i}+i")

pale cloud
#

!voice

coarse hearthBOT
#

Voice verification

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

stoic rose
#

!voice

coarse hearthBOT
#

Voice verification

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

slender needle
#

!voice

coarse hearthBOT
#

Voice verification

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

fallow sandal
#

!voice

coarse hearthBOT
#

Voice verification

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

misty sinew
#

hello

#

does anyone know how to change the font of a code so when i run the py the font will show up the same as in vs code?\

misty sinew
#

https://www.amazon.com/ThrustMaster-Tm-Eswap-Pro-Controller-Xbox/dp/B07XQC1GNG/?_encoding=UTF8&pd_rd_w=8OvGh&pf_rd_p=3eb37f12-7596-4a4f-b588-f365d2f859b0&pf_rd_r=D9Z79YJYH5ACB719JJ08&pd_rd_r=2845dc56-44e8-48f6-a611-65bdb7cc3525&pd_rd_wg=6ffBZ&ref_=pd_gw_bmx_gp_je4ec6cn

misty sinew
misty sinew
vivid cobalt
#
import random

count = 100000000
tr= 0
def click(prob_of_win = 3300):
    a = random.randint(0, 10000)
    if a < prob_of_win:
        return True 
    return False

while count > 0:
    if (click(prob_of_win = 3300)):
        tr += 1
    count -= 1
#
import random

count = 100000000

def click(prob_of_win = 3300):
    a = random.randint(0, 10000)
    if a < prob_of_win:
        return True 
    return False

while count > 0:
    print((click(prob_of_win = 3300)))
    count -= 1
flint wasp
#

how to message code?

solid gyro
#

!code

coarse hearthBOT
#

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.

misty sinew
misty sinew
# misty sinew no

not sure I understand then -- are you rendering font? can you send a screenshot?

misty sinew
#

is there anyone who work on figma?

oak junco
#

!video

nova stream
#

hi

slow terrace
#

how are you guys doing

nova stream
nova mesa
#

Test

#

3.14

green canyon
#

when i can start talking 😦

#

i really need to talking

#

i dont know how to program i am trying to watch videos and type code but its so boring and cant concentrate

slender needle
#

hi

#

i have some task

#

Who is can help me?

#

Task 1: Create class Time that contains three member variables: hours, minutes and seconds. You should follow the data encapsulation and data hiding concepts.

#

this is in the c++

#

this task in c++

slender needle
#

Test

pliant turret
#

What's the problem? Do you not know what a class is?

eternal garnet
#

I can't talk cus I am suppressed

#

@lyric fern

lyric fern
#

lovely

eternal garnet
#

Just need to get to the 50 messages. XD

eternal garnet
#

Whom are you talking to?

#

I am doing some unit testing with Python

slender needle
slender needle
stuck bluff
#

@haughty glacier Down here

haughty glacier
#

@stuck bluff ?

#

Yeah here add me so we can go in our own call so I can talk if you want

#

Ok

warm flume
#

oh here?

#

right, got it

#

new to discord

#

how would one go about getting permission to speak here?

stuck bluff
#

!voice

coarse hearthBOT
#

Voice verification

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

warm flume
#

much obliged 🙂

#

oh wow... I see

#

internet being internet

#

got ya

#

yeah makes sense

#

10 year veteran w/ Python. Full time dev. New to tutoring. New to not lurking and feeling like a fraud :S

#

lol I'm old yay

#

I saw that and I helped a beginner from Greece earlier

#

looks like I meet everything except the 3 day criteria

#

joined earlier today

#

oh well

#

going back to reason for being here Looking for some projects to help the people of Ukraine

#

sorta ties into your question

#

yeah I get that, I'm in Sweden, relatives in Finland tho. so ehm...

#

kinda leaning myself

#

I see

#

gonna hit the hay - good night yall 🙂

oak junco
#

!video

stuck bluff
#

Matplotlib

round junco
#
def D(x):
  x+=1
  while x % 2 == 0:
    x = x*3//2
  x+=-1
  while x % 2 == 0:
    x = x//2
  return x

n = 1
while n<1000:
  w=0
  x=n
  print(x)
  while x != 1:
    x = D(x)
    print(x)
    w+=1
  n+=2
stuck bluff
#
import numpy as np
from matplotlib import pyplot as plt
arr = np.arange(10000)
plt.yscale("log")
plt.plot(arr)
plt.show()```
stuck bluff
#

None * 1

#

pypi

#

Django

#

Flask

#

Twisted

#

Selenium

shut mortar
#

How do I talk in this?

stuck bluff
coarse hearthBOT
#

Voice verification

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

nova mesa
#

just

#

a

#

test

#

oh nvm

#

lol

#

1

#

2

#

Python

#

4

#

5

warm bolt
#

hi

sage sparrow
#

!voice

coarse hearthBOT
#

Voice verification

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

slow terrace
#

I am waiting for voice verify

#

what is this

nova marlin
#

!voice

coarse hearthBOT
#

Voice verification

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

queen gyro
#

!verify

#

!voice

coarse hearthBOT
#

Voice verification

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

queen gyro
#

!voice

coarse hearthBOT
#

Voice verification

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

queen gyro
#

!voiceverify

#

!voice

coarse hearthBOT
#

Voice verification

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

wide crown
#

hello @flat grotto

#

what are you up to

#

sorry im not verified

flat grotto
#

Hey.

#

I am creating a ecosystem simulation with Python.

wide crown
#

oh nice!

#

what's that

flat grotto
#

Evolution through natural selection.

wide crown
#

oh that's awesome!

flat grotto
#

Yes

#

Are you a programmer?

wide crown
#

is it going to have a frontend or is it just going to be the back-end?

#

i am

#

if it's easier you can just talk and i can type

#

i usually finbd that easier

flat grotto
#

The frontend is going to be the graphical interface, the backend is handling the logic.

wide crown
#

that sounds pretty cool

#

do you mind if i dm you?

flat grotto
#

What is 'dm'?

wide crown
#

direct message

flat grotto
#

Oh, ok.

flat grotto
wide crown
#

alright

brazen pier
#

hi

analog cypress
#

!voice

coarse hearthBOT
#

Voice verification

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

analog cypress
#

!vice verification

slender needle
#

I am waiting for voice verify

last warren
pseudo bronze
#

👋

#

would you be concerned thinking what the other person might think about you

misty sinew
#

Hey everyone

twilit leaf
#

@cold trellis Have you wondered... many holidays occur on same weekday...

#

in India

#

@tulip geyser have you?

tulip geyser
twilit leaf
#

Not only that... Birthdays of people

#

Top of my head... Gandhi Jayanthi and Children's day...

tulip geyser
twilit leaf
#

anyway... I wondered this... I got birthdays from my school and atleast in the sample size of 1300 people... more people were born on wednesdays...

tulip geyser
twilit leaf
#

I don't know... this is just random or not

twilit leaf
fierce summit
#

nails on a chalkboard rn

tulip geyser
#

The guys in my college did this too , they wanted to know who was willing to come in the college in COVID and shared it as a spreadsheet , we got the data of email id's of around 2400 students , now it's used for advertising 😂

twilit leaf
#

@true valley son of elon musk!!!

#

pp

#

xiiilksdjflkjfklsfd

#

We are in vc1

#

@cold trellis But, imo... Try, expect are bad... maybe I just don't know... I've not been coding professionally, that long!

#

we are still in vc1

#

haha

#

But... what if that try block is mutating something...

#

and it failed half way...

#

the data is mutated and you can't undo it..

#

sometimes

#

true...

#

but... why bother, write correct code..

#

yeah... like os

#

That's true

#

what the

#

Root of all evil... bad code!!!

#

@true valley btw, we are still in vc1

#

show me your beautiful face... I didn't see it

#

@cold trellis

#

💜

#

@cold trellis

#

@cold trellis Asian MoMs 🥲

#

@cold trellis Indian movies are just live action anime!!!

misty sinew
#

Hello friends

twilit leaf
#

imo... too

uncut pasture
#

Those bollywood dances though

twilit leaf
#

It's not romance... it's sexual assault

#

And in south... they change north movies... we are traversing a negative cycle graph with dijstra!!

#

@cold trellis

#

it's like writing code...

#

I wonder there is a stackoverflow... for scripting movies

#

@true valley Collatz!! you know your code might be wrong for some interger! we don't know...

#

no... it's a joke...

#

collatz conjecture

#

The Collatz conjecture in mathematics asks whether repeating two simple arithmetic operations will eventually transform every positive integer into one. It concerns sequences of integers in which each term is obtained from the previous term as follows: if the previous term is even, the next term is one half of the previous term. If the previous...