#voice-chat-text-0

1 messages · Page 8 of 1

rugged root
#

!stream 713431503610183760

wise cargoBOT
#

✅ @whole bear can now stream until <t:1661193534:f>.

rugged root
rugged root
#

@plain needle Sup?

plain needle
rugged root
#

Yeah, you can

plain needle
#

One overrides the other QQ

rugged root
viral compass
#

I like you

#

You all need to go to your Linux computers and run btmgmt name something-longer-than-hostname something-longer-than-hostname

#

It totally won't buffer overflow the Bluez stack and hose all Bluetooth on kernels 5.18 and 5.19

#

My bluetooth doesn't work now until I reboot 😦

rugged root
whole bear
#

kk

rugged root
whole bear
#

write it let me try

scenic wind
#

@rugged root

rugged root
#

?

#

Oh Gi stream?

scenic wind
#

ya

#

pls

rugged root
#

!stream 713431503610183760

wise cargoBOT
#

✅ @whole bear can now stream until <t:1661197602:f>.

whole bear
#

i have 1,65 M

#

🧢

quaint oyster
#

#include <iostream>

using namespace std;

string sike;

int main(){
cout << "enter the name of the most coolest person" << endl;
cin >> sike;
cout << sike << " is the most coolest person";
}

whole bear
#

@scenic wind ^^^ 🧢

#

@rugged root how much is it on meters ?

rugged root
#

~182cm

whole bear
#

so tall

quaint oyster
#

1.49m

whole bear
quaint oyster
#

1.5m

whole bear
#

?

#

165 cm

quaint oyster
#

55

whole bear
#

no way

whole bear
whole bear
rugged root
#

Lower

whole bear
#

85kilos

rugged root
#

Lower

whole bear
#

WTF

#

79 Kilos

rugged root
#

Yep

whole bear
#

mean you are very skinny

rugged root
#

Truth

#

It's mainly the meds

#

#career-advice @quaint oyster They'll be able to give you way better suggestions

hardy cloud
#

is 79kg light for 5 11 ???????????????????

whole bear
#

yes

#

i have 1.65 size on average 60 kilos

hardy cloud
#

@whole bear is that michael Jackson in your pfp

whole bear
#

no

#

its a character called aplhalock

quaint oyster
#

I am very medicated

gentle flint
whole bear
#

hahahahaha

#

i use

#

bye

mild quartz
quaint oyster
#

yo ClickHouse anyone?

#

not python but

quasi condor
frosty star
#

Interesting 🤔

gentle flint
#

aha

vast fog
#

brb going to get some food 🍔

quasi condor
lavish rover
#

I'd just recommend using godbolt to decompile examples

quasi condor
strong arch
quasi condor
strong arch
#

vue + quasar

bright coyote
#

all you gotta do is register

#

i need that post

lavish rover
#

yeah haha nice

strong arch
#

npm init vite@latest

lavish rover
#

/r/restofthefuckingowl

quaint oyster
#

i shaved my head

#

with a 1 guard

#

because i was bored

rugged root
#

That'll tell you what you need to know about our voice gate

rugged root
#

@full basalt 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

full basalt
#

ok thank you

rugged root
#

Apparently I don't exist

hollow bough
#

func(1:2, 2:3, 4:5)instead of func({1:2, 2:3, 4:5})

rugged root
#
func({1:2}, {2:3}, {4:5})
somber heath
#

You could do a horrific thing with __getitem__. I mean, just no.

forest zodiac
#

no hacky code

rugged root
hollow bough
#

¯1+⍸a=(0,×∘⍳∘|⍨b)∘.+(0,×∘⍳∘|⍨c)

#

frozen owl
#

i can hold down option key on mac and type weird crap

#

åß∂ƒ©˙∆˚¬

#

˚∆˚

hollow bough
#

0::Numpad0

somber heath
#

!e ```py
class MyClass:
def getitem(self, *args):
print(args)

mc = MyClass()
mc[1:2, 2:3, 3:4]```I want to be clear...I think this is a terrible thing to be using to do this.

wise cargoBOT
#

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

((slice(1, 2, None), slice(2, 3, None), slice(3, 4, None)),)
somber heath
#

args doesn't need starring

#

No, it flat out doesn't need it.

rugged root
#

Oh huh

somber heath
#

!e ```py
class MyClass:
def getitem(self, args):
print(args)

mc = MyClass()
mc[1:2, 2:3, 3:4]```

wise cargoBOT
#

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

(slice(1, 2, None), slice(2, 3, None), slice(3, 4, None))
somber heath
#

!e print(slice(1.1, 2, 3))

wise cargoBOT
#

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

slice(1.1, 2, 3)
somber heath
#

Hmmm.

#

!e print(slice("a", bytes, complex(1, 2)))

wise cargoBOT
#

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

slice('a', <class 'bytes'>, (1+2j))
rugged root
hollow bough
#

!e print(slice([1, 2, 3], {1: 2, 3: 4}))

wise cargoBOT
#

@hollow bough :white_check_mark: Your 3.11 eval job has completed with return code 0.

slice([1, 2, 3], {1: 2, 3: 4}, None)
somber heath
#

!e ```py
class MyClass:
def getitem(self, args):
print(args)

mc = MyClass()
mc["a":"b":"c", 1:2:3]```

wise cargoBOT
#

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

(slice('a', 'b', 'c'), slice(1, 2, 3))
hollow bough
#

!e print(slice([1, 2, 3], {1: 2, 3: 4}, "asd"))

wise cargoBOT
#

@hollow bough :white_check_mark: Your 3.11 eval job has completed with return code 0.

slice([1, 2, 3], {1: 2, 3: 4}, 'asd')
hollow bough
#

!e print(slice(slice(1, 2, 3), {1: 2, 3: 4}, "asd"))

wise cargoBOT
#

@hollow bough :white_check_mark: Your 3.11 eval job has completed with return code 0.

slice(slice(1, 2, 3), {1: 2, 3: 4}, 'asd')
slow wigeon
#

!e print(slice(slice(1, 2, 3), {1: 2, 3: 4}, "asd"))

wise cargoBOT
#

@slow wigeon :white_check_mark: Your 3.11 eval job has completed with return code 0.

slice(slice(1, 2, 3), {1: 2, 3: 4}, 'asd')
hollow bough
#

[1, 2]

faint ermine
#

!e print( ({1: 3}, [1, 3]) )

wise cargoBOT
#

@faint ermine :white_check_mark: Your 3.11 eval job has completed with return code 0.

({1: 3}, [1, 3])
rugged root
#

!e

ham = (1, {2:3})
ham[1]["pork"] = "spam"

print(ham)
wise cargoBOT
#

@rugged root :white_check_mark: Your 3.11 eval job has completed with return code 0.

(1, {2: 3, 'pork': 'spam'})
faint ermine
#

!e ```py
t = ([1, 2], 7)
try:
t[0].append(3)
except Exception as e:
print(e)
print(t)

wise cargoBOT
#

@faint ermine :white_check_mark: Your 3.11 eval job has completed with return code 0.

([1, 2, 3], 7)
hollow bough
#

!e ```# Code to demonstrate use

of getitem() in python

class Test(object):

# This function prints the type
# of the object passed as well 
# as the object item
def __getitem__(self, items):
    print (type(items), items)

Driver code

test = Test()
test[5]
test[5:65:5]
test['GeeksforGeeks']
test[1, 'x', 10.0]
test['a':'z':2]
test[object()]```

wise cargoBOT
#

@hollow bough :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | <class 'int'> 5
002 | <class 'slice'> slice(5, 65, 5)
003 | <class 'str'> GeeksforGeeks
004 | <class 'tuple'> (1, 'x', 10.0)
005 | <class 'slice'> slice('a', 'z', 2)
006 | <class 'object'> <object object at 0x7ffa2e390160>
faint ermine
#

!e ```py
print([][1:3:4])

wise cargoBOT
#

@faint ermine :white_check_mark: Your 3.11 eval job has completed with return code 0.

[]
hollow bough
#

!e print([][:][::])

wise cargoBOT
#

@hollow bough :white_check_mark: Your 3.11 eval job has completed with return code 0.

[]
faint ermine
#

!e print([][:][::][::][::][::][::][::][::][::][::][::][::][::][::][::][::][::][::][::][::][::][::][::])

wise cargoBOT
#

@faint ermine :white_check_mark: Your 3.11 eval job has completed with return code 0.

[]
hollow bough
#

!e print([][:[]])

wise cargoBOT
#

@hollow bough :x: Your 3.11 eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 1, in <module>
003 | TypeError: slice indices must be integers or None or have an __index__ method
somber heath
#

!e py t = 1, 2, 3 t[0] = 0

wise cargoBOT
#

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

001 | Traceback (most recent call last):
002 |   File "<string>", line 2, in <module>
003 | TypeError: 'tuple' object does not support item assignment
somber heath
#

That?

rugged root
#

Yeah must have been

somber heath
#

Because I don't remember ever seeing anything complaining about mutating referred-to mutables through containing tuples.

astral wave
#

!e print([][:][::][:::][::::][:::::])

wise cargoBOT
#

@astral wave :x: Your 3.11 eval job has completed with return code 1.

001 |   File "<string>", line 1
002 |     print([][:][::][:::][::::][:::::])
003 |                       ^
004 | SyntaxError: invalid syntax
surreal wyvern
#

t = 1, 2, 3
print(type(t))
somber heath
#

tuple

astral wave
#

!e ```py
t = 1, 2, 3
print(type(t))

wise cargoBOT
#

@astral wave :white_check_mark: Your 3.11 eval job has completed with return code 0.

<class 'tuple'>
somber heath
#

You don't always need the parentheses. You will when you're giving them as arguments to callables and some other situations

#

But when they're standalone like that, you can drop the parentheses.

whole bear
#

!e print([int((((1 + 5**0.5) / 2)n - ((1 - 50.5) / 2)n) / 50.5) for n in range(1, 21)].index(144[,[,]]))

faint ermine
#

tuples and tuple unpacking is why a, b = b, a works

whole bear
#

!e print([int((((1 + 5**0.5) / 2)n - ((1 - 50.5) / 2)n) / 50.5) for n in range(1, 21)].index(144[,1[,20]]))

surreal wyvern
#

!e ```py

t = 1, 2, 3
print(type(t))
print(t[0])

print(len(t))

#

!e
t = 1, 2, 3
print(type(t))
print(t[0])

print(len(t))

faint ermine
#

@whole bear im sorry for my reaction, i've had quite a few people ask that and immediately say rude comments after... not trying to excuse, just to explain. sorry

whole bear
faint ermine
gritty lodge
#

Hello everyone

somber heath
#

imgur is canonically pronounced image-er.

frozen owl
faint ermine
#

im-gurlllll

frozen owl
#

IMAGUR

#

GIF is pronounced as gif

gritty lodge
#

juf

peak copper
#
  FileNotFoundError

  [WinError 2] The system cannot find the file specified

  at ~\AppData\Local\Programs\Python\Python39\lib\subprocess.py:1420 in _execute_child
      1416│             sys.audit("subprocess.Popen", executable, args, cwd, env)
      1417│ 
      1418│             # Start the process
      1419│             try:
    → 1420│                 hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
      1421│                                          # no special security
      1422│                                          None, None,
      1423│                                          int(not close_fds),
      1424│                                          creationflags,
faint ermine
#

-vvv

peak copper
#
Development\Personal\apples-to-apples>poetry run -v 

  FileNotFoundError

  [WinError 2] The system cannot find the file specified

  at ~\AppData\Local\Programs\Python\Python39\lib\subprocess.py:1420 in _execute_child
      1416│             sys.audit("subprocess.Popen", executable, args, cwd, env)
      1417│ 
      1418│             # Start the process
      1419│             try:
    → 1420│                 hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
      1421│                                          # no special security
      1422│                                          None, None,
      1423│                                          int(not close_fds),
      1424│                                          creationflags,

rugged root
#

!stream 617911120694607923

wise cargoBOT
#

✅ @peak copper can now stream until <t:1661268238:f>.

rugged root
#
(Invoke-WebRequest -Uri https://install.python-poetry.org -UseBasicParsing).Content | py - --uninstall
peak copper
#
(Invoke-WebRequest -Uri https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py -UseBasicParsing).Content | python -
rugged root
faint ermine
#

pip install poetry

rugged root
dusky mortar
rugged root
#

!stream 617911120694607923

wise cargoBOT
#

✅ @peak copper can now stream until <t:1661269627:f>.

whole bear
#

Hello! Who can talk? What are the rules? Answer, please

dusky mortar
sweet lodge
# dusky mortar

@rugged root - Do you actually know specifically when this change occured?

#

They also added the binary for OpenSSH at the same time

#

I just don't know when it occurred, or what version to have people check for

rugged root
#

Specifically for the CURL thing I'm not sure

#

I would assume 6+

frozen owl
#

shit

#

can you hear me

sweet lodge
#

Thank you for flying @rugged root Air

sweet lodge
#

ty, ty

#

I accept 🦴 and 🍖 as tips

scenic wind
#

!source

wise cargoBOT
rugged root
sweet kindle
#

um how do i get to talk in the vc?

sweet lodge
#

Thank you for flying @rugged root Air

#

Shit. Sorry for ping

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied mute to @median acorn until <t:1661274172:f> (10 minutes) (reason: duplicates rule: sent 4 duplicated messages in 10s).

The <@&831776746206265384> have been alerted for review.

serene glade
#

('Name')

# later on

("Name")

rugged root
#

Both represent a string, so they're interchangeable so long as you have matching opening and closing

forest moth
#

I just gotten myself into college, taking AI&ML with heavy emphasis in python. So, i'm really new and i don't know much of the math of it, which is involved in it but i want to learn something within this week because i have a lot of free time this week. What should I try out now?

forest moth
rugged root
#

I don't mind! I encourage the pinging, as my attention is usually split

#

Reading your question now

forest moth
rugged root
#

I guess it depends. Are you specifically needing something neat for Python or maths?

forest moth
#

i want to learn stuff about AI/ML but i don't want to get any math aspects of it because it might be confusing and i would rather learn it with my profs

sweet lodge
#

By the time Python 4 comes around, the world will look very different

serene glade
#

This helps me

sweet lodge
#

If I spend all this time learning, and then Python just goes and changes everything, I'm going to be pissed
Don't be like this. There will always be breaking changes

Python changes, the libraries change, your computer updates and a library that depended on a OS call that was changed is now broken...

rugged root
forest moth
rugged root
#

Ah fair

#

Hmm, I'm trying to remember where we have the beginner resources for it

forest moth
#

oop!

rugged root
#

Oo, found it

#

I think

#

That could potentially help

forest moth
#

thanks so much!

#

okay, i read a bit of it and it is actually helpful. I shall give it a full read later tonight.

rugged root
#

Awesome

#

I legit wasn't sure if it was or not

forest moth
#

It explains what kind of math is used and so

rugged root
#

Sick

#

@finite violet Remember you still have that assignment to finish

rotund scaffold
#

@finite violet Which country is this ?

sweet lodge
#

Where has chat gone?

serene glade
#

School

#

lol

sweet lodge
#

Lost in the woods

serene glade
#

But we can go back

rugged root
#

@finite violet ()

#

Those?

sweet lodge
#

is not list

#

is tuple

finite violet
#

(10, 10, 10)

rugged root
#

!stream 254407989576859648

wise cargoBOT
#

✅ @finite violet can now stream until <t:1661276035:f>.

rugged root
#

@serene glade Your mic is still really sensitive

sweet lodge
wise cargoBOT
#

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

001 | lst=[10, 10, 10]
002 | tpl=(10, 10, 10)
rugged root
#

We're hearing the fan noise and typing

serene glade
#

Sorry

#

It might be a setting in the discord

#

# D20 of Doom!

import random

# range of the values of a dice
min_val = 1
max_val = 20

roll_again = "Yes"

# loop
while roll_again == "Yes" or roll_again == "Y":
    print("Rolling The Dice of Doom...")
    print("The Values are :")

    print(random.randint(min_val, max_val))

    print(random.randint(min_val, max_val))

    roll_again = input("Roll the Doom Again?")

dusky mortar
#

it is rolling

serene glade
#

When I go to roll again, it dose not work.

dusky mortar
#

show your output

serene glade
#

Will do

#
Roll the Doom Again? Yes

Process finished with exit code 0
dusky mortar
#

while roll_again.strip() == "Yes" or roll_again == "Y":

#

try this

serene glade
#

I will

dusky mortar
#

you are actually entering a space

sweet lodge
serene glade
#

Now to make a d4, d10, d12, and d100.

#

Oh and the D8

dusky mortar
#

🎲

serene glade
#

I need to think how to be able to pick the dice you want to use, And roll them all together and what each one rolls.

frozen owl
#

@rugged root is it an accounting question?

dusky mortar
#

All about 💸

frozen owl
#

i can't even do t accounts @rugged root if only if you were in my business classes SADSADSAD ALL I KNOW IS THAT assets = revenue - expenses - liabilities or some shit

#

accounting just sucks imo my brain's too fast to even read numbers 😵‍💫

frozen owl
#

dr and cr tf i forgot those crap bye bye not relevant anymore

#

not taking business ever again :D

serene glade
#

BRB

rugged root
#
[[1, 2, 3], [4, 5, 6], [7, 8, 0]]
finite violet
rugged root
#
ham = [["pork", "beef"], ["eggs", "spam"]]
i = 0
j = 0
while i < len(ham):
  while j < len(ham[i]):
    ...
serene glade
#

Back

misty jungle
#

is this guy sorting pixels lmofa

rugged root
#

@finite violet Note that I made sure to do both i = 0 AND j = 0

misty jungle
#

are you taking each pixel ROW?

#

why did it stop half way across the image?

#

the top part is rly beautiful

serene glade
#

# D20 of Doom!

import random

# range of the values of a dice
min_val = 1
max_val = 20

roll_again = "Yes"

# loop
while roll_again.strip() == "Yes" or roll_again == "Y":
    print("_-------------_")
    print("Rolling The d20")
    print("_-------------_")

    print(random.randint(min_val, max_val))

    print(random.randint(min_val, max_val))

    roll_again = input("Roll the D4 Again?")

import random

max_val = 4

roll_again = "Yy"

# loop
while roll_again.strip() == "Yy" or roll_again == "Yyy":
    print("_-------------_")
    print("Rolling The d4")
    print("_-------------_")

    print(random.randint(min_val, max_val))

    print(random.randint(min_val, max_val))

    roll_again = input("Roll the D4 Again?")

How do make the dice roll for each one being the d20 and the other d4?

misty jungle
#

how do you impliment a threshold? id imagine this is quite easy to impliment without that in python

#

cudnt u do this in like 20 lines in python with a image reader liek cv2?

#

this some music video level shit..

#

now animate!

#

quicksort?

#

very cool

#

I have no idea anything about rust

#

can you do it without objects?

#

in C

#

what prompted you to learn rust

rugged root
faint ermine
misty jungle
#

is it easy to switch it from horizonal to verticle sort

#

u cud make it drip across the screen diagonally downards too ?

#

thats a real challenge

#

wish i had time to learn a new lang. off to go practise sql for sadge boring job interviews, cya!

finite violet
#

@rugged root

#

i dunno why this part seems not to work

rugged root
#
people[0]```
#
people[0][0]
#
people[0] = ["John", "Smith"]
people[0][0] = "John"
people[0][1] = "Smith"
serene glade
#

+-

++
-+

#

?

rugged root
#
while i < len(people):
  person = ""
  while j < len(people[i]):
    person += people[i][j]
    j += 1
  i += 1
finite violet
#
def print_names2(people):
    """Print a list of people's names, which each person's name
       is itself a list of names (first name, second name etc)
    """
    ans = []
    i = 0
    j = 0
    person = ""
    
    while i < len(people):
        while j < len(people[i]):
            person += people[i][j]
        j +=1
    i += 1
print_names2([['John', 'Smith'], ['Mary', 'Keyes'], ['Jane', 'Doe']])
print("\n")
print_names2([['Bilbo', 'Baggins'], ['Gollum'], ['Tom', 'Bombadil'], ['Aragorn']])
#

Traceback (most recent call last):
File "prog.py", line 48, in <module>
print(people)
NameError: name 'people' is not defined

rugged root
#

!stream 254407989576859648

wise cargoBOT
#

✅ @finite violet can now stream until <t:1661282976:f>.

willow spoke
#

yeah

#

it lets you step through the code and shows you all the variables and objects

#

you need to call your function i think

#

try one of the test cases

willow spoke
#

they used to have their own interactive chat box thing

#

but i think it was a bit of a liability

rugged root
#

Yeah they got rid of that and then started pointing them to us

steel lodge
#
print("How is everyone doing? :) ")
lavish rover
#
add rax, 5
mov rbx, rax
sub rcx, rbx
rugged root
#

Would that code error?

lavish rover
#

Which code,m

rugged root
#

The assembly you just did

lavish rover
#

Why?

rugged root
#

Can you add to an empty registry like that? I mean obviously this isn't a full thing

#

!stream 928250196889075762

wise cargoBOT
#

✅ @vast fog can now stream until <t:1661285892:f>.

lavish rover
#
inline @{
   some stupid c stuff here
}@
#
inline @{ some function call }@
rugged root
#
%%raw(`
// look ma, regular JavaScript!
var message = "hello";
function greet(m) {
  console.log(m)
}
`)
frozen owl
lavish rover
#

Just proposed syntax for inline C in my language

#

The JS block was an example of how it's done in JS

frozen owl
rugged root
#

Sass

$font-stack: Helvetica, sans-serif
$primary-color: #333

body
  font: 100% $font-stack
  color: $primary-color

SCSS

$font-stack: Helvetica, sans-serif;
$primary-color: #333;

body {
  font: 100% $font-stack;
  color: $primary-color;
}
frozen owl
#
<h1 class='text', id='big'>text</h1>
<h2 class='text', id='h2'>h2 here</h2>
#big{
  font-family: sans-serif, monospace; 
}

I cannot really distinguish between . and # in css lol

rugged root
finite violet
rugged root
frozen owl
# finite violet

like your guess is correct but you kept guessing so it says "max number of attempts exceeded"

#

if yk the password, break <-- keyword in py to break loop

frozen owl
lavish rover
forest musk
#

show us the code

safe badger
#
import random

wantedDifficulty = ""


#difficulties 
easy = 5
medium = 10
hard = 15

NumberThatWasGenerated = 0

def chooseDifficulty():
    
    wantedDifficulty = input("Input Difficulty: ")
    if wantedDifficulty in ("easy", "medium", "hard"):
        if wantedDifficulty == "easy":
            difficulty = easy
        elif wantedDifficulty == "medium":
            difficulty = medium
        else:
            difficulty = hard
    else:
        chooseDifficulty()
    return difficulty


def generateNumber():
    NumberThatWasGenerated = random.randint(0, )
    print(NumberThatWasGenerated)
    return NumberThatWasGenerated

chooseDifficulty()
generateNumber()
forest musk
#

I understood maybe

vast fog
#
import random

#difficulties 
levels = {
    "easy": 5,
    "medium": 10,
    "hard": 15
}

def chooseDifficulty():
    valid = ("easy", "medium", "hard")
    wantedDifficulty = ""
    while wantedDifficulty not in valid:
        wantedDifficulty = input("Input Difficulty: ")
    return wantedDifficulty


def generateNumber(difficulty):
    return random.randint(0, levels[difficulty])

difficulty = chooseDifficulty()
print(difficulty)
number_that_wasn_generated = generateNumber(difficulty)
print(number_that_wasn_generated)
vast fog
#

np

serene glade
#
 
# All of the Dice

import random

# range of the values of a dice
min_val = 1
max_val = 20

roll_again = "Yes"

# loop
while roll_again.strip() == "Yes" or roll_again == "Y":
    print("_-------------_")
    print("Rolling The d20")
    print("_-------------_")

    print(random.randint(min_val, max_val))

    print(random.randint(min_val, max_val))

    roll_again = input("Roll the D20 Again?")

import random

min_val = 1
max_val = 4

roll_again = "Yy"

# loop
while roll_again.strip() == "Yy" or roll_again == "Yyy":
    print("_-------------_")
    print("Rolling The d4")
    print("_-------------_")

    print(random.randint(min_val, max_val))

    print(random.randint(min_val, max_val))

    roll_again = input("Roll the D4 Again?")

#
_-------------_
Rolling The d20
_-------------_
5
6
Roll the D20 Again?yy
_-------------_
Rolling The d4
_-------------_
3
1
Roll the D4 Again?y

Process finished with exit code 0
vast fog
#
import random

def roll_dice(min_val, max_val):
    print("_-------------_")
    print(f"Rolling The d{max_val}")
    print("_-------------_")
    return random.randint(min_val, max_val)

dice_type = int(input("How many sides are on the dice?: "))
roll_count = int(input("How many times would you like to roll?: "))
for i in range(0, roll_count):
    print(roll_dice(1, dice_type))
misty locust
#

nice

vast fog
#
import random

def roll_dice(min_val, max_val):
    print("_-------------_")
    print(f"Rolling The d{max_val}")
    print("_-------------_")
    return random.randint(min_val, max_val)

dice_config = {}
sides = input("What type of dice would you like to roll (comma sepatated)? ").split(",")
for dice_type in sides:
    dice_config[dice_type] = int(input(f"How many time would you like to roll the {dice_type} sided dice?: "))
for key,value in dice_config.items():
    for _ in range(0, value):
        print(roll_dice(1, int(key)))
surreal wyvern
#

Hello <@&831776746206265384> i want to see @hollow bough code, give him permission to stream in channel for some time.

pale yoke
surreal wyvern
#

@whole bear here

whole bear
#

all_jsons = [v for v in driver.requests if 'https://twitter.com/i/api/1.1/dm/conversation/' in v.url]
for jso in all_jsons:
    headers = jso.headers
    url_json = jso.url
    response_json = json.loads(requests.get(url=url_json,headers=headers).text)
    for enttry in response_json['conversation_timeline']['entries']:
        item = dict()
#         print(enttry)
        try:
            item['expand_url'] = enttry['message']['message_data']['attachment']['tweet']['expanded_url']
            item['date'] = parser.parse(enttry['message']['message_data']['attachment']['tweet']['status']['created_at'])
#             item['msgDate']=enttry['conversation_timeline']
            print(enttry['message']['message_data']['time'])
            timevalstamp=str(enttry['message']['message_data']['time'])
            print(twitter_time_converter(timevalstamp))
            print(enttry['message']['message_data']['attachment']['tweet']['expanded_url'])
            item['timeline']=twitter_time_converter(timevalstamp)
            checkTime = timeLogic(twitter_time_converter(timevalstamp))
            print(checkTime)
#             if ((checkTime) > int(userTime)):
#                 print("time post greater it stoped !")
#                 break
#             else:
            twitt_urls.append(item)
        except:
            try:
                if 'https' in enttry['message']['message_data']['text']:
                    item['expand_url'] = enttry['message']['message_data']['text']
                    item['date'] = ''
                    twitt_urls.append(item)
                    a=1
            except:
                continue
                # pass

wise cargoBOT
whole bear
bright coyote
cunning monolith
#

Hey anyone know how I enable and disable mic in javascript ?

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.

vital cedar
#

Hi

#

How do I get unsuppressed?

#

thank you

#

Great, how Are you

#

good to hear

#

I am debating on a GUI framework for my software

#

how about you?

#

I think I will just use python and the dash library. since it's a tiny software for personal use

#

nice

rugged root
#

Dash library?

somber heath
#

Cleaning out the server migration litter box?

#

Rect JS? Damn near killed JS.

vital cedar
#

"Written on top of Plotly.js and React.js, Dash is ideal for building and deploying data apps with customized user interfaces. It's particularly suited for anyone who works with data." I am not share what "Written on top" means

rugged root
vital cedar
#

does that mean that using React.js and plotly.js directly is faster?

#

using java script

#

got it, thanks

#

Into the sun is RIGHT

#

What do you think, streamlit or dash?

rugged root
#

Another one I haven't heard of. One sec

#

Streamlit seems pretty neat

#

Not sure what their licensing is

#

Ah, Apache 2.0

#

Yeah seems pretty cool

vital cedar
#

NICE

rugged root
vital cedar
#

Come by more often

#

😉

#

thank you guys, Gotta run!

rugged root
#

Nice talking with you

#

@somber heath You're right, I has the dumb

#

It's talking about them as integral types of numbers

#

Not specifically integers

mild quartz
#
from torchvision.models import resnet50, ResNet50_Weights
model = resnet50(weights=ResNet50_Weights.DEFAULT)
frozen owl
#
class ResNet(ImageClassificationBase):
    def __init__(self):
        super().__init__()
        # Use a pretrained model
        self.network = models.resnet50(pretrained=True)
        # Replace last layer
        num_ftrs = self.network.fc.in_features
        self.network.fc = nn.Linear(num_ftrs, len(dataset.classes))
    
    def forward(self, xb):
        return torch.softmax(self.network(xb))

model = ResNet()

my code didn't work

wise cargoBOT
#

Hey @frozen owl!

You either uploaded a .txt file or entered a message that was too long. Please use our paste bin instead.

frozen owl
#

@mild quartz

sweet lodge
mild quartz
#
weights = torch.hub.load("pytorch/vision", "get_weight", weights="ResNet50_Weights.IMAGENET1K_V2")
rugged root
#

Looked interesting

sweet lodge
#

I guess I'll allow it

#

But as your accountability partner I expect better

rugged root
#

You should know better than to think better of me

vast fog
sweet lodge
#

requests.get([...], verify=False) # FIXME: fix the certificate

frozen owl
#

OMG THIS LOOKS RIGHT

sweet lodge
#

Don't ignore your certificate
verify=False is a crutch not production code

rugged root
#

Oh god, I just looked at the stack the Flet has

frozen owl
rugged root
sweet lodge
#

WAT

#

oh

#

Pglet

rugged root
sweet lodge
rugged root
#

Sure sure

#

Just a bit jarring to see that initially

sweet lodge
#

true

#

no

#

It doesn't push AFAICT

rugged root
#

Dude for fuck's sake. Why is there still not like standard doc style

frozen owl
#

what do you think is a good val_loss and val_acc

sweet lodge
#

I asked what he wants help with, he wants to "think about it"

#

Should we just take over?

#

Vote out Feo...

#

How do you spell it?

rugged root
#

No. Remember when we tried to get a bunch of that done and it changed before we could get a good grip on it

#

Okay, Streamlit's stack makes way more sense to me

sweet lodge
#

Oh hi Preocts

mild quartz
amber raptor
sweet lodge
rugged root
amber raptor
sweet lodge
# amber raptor 🤮

Also - As an SRE, you'd be able to really appreciate one of their best security features -
When you execute their Python library, it automatically downloads and executes a Flutter binary without telling you

amber raptor
#

Just awesome

whole bear
#

@mild quartz that's common tbh indian dudes hit on girls by indian names on discord .. lol 😂

#

Nice name tho @mild quartz

sweet lodge
#

we'll care for you

faint ermine
#

!rule 5

wise cargoBOT
#

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

rugged root
#

@whole bear

surreal wyvern
whole bear
rugged root
#

Very nah

sweet lodge
#

PFFT

willow light
sweet lodge
#

Who needs proof?

willow light
steel lodge
willow light
sweet lodge
sweet lodge
amber raptor
sweet lodge
#

I never liked Jenkins

willow light
#

Turns out the devs never actually patched the log4j issue, and lied about it

sweet lodge
#

oooh nice

willow light
#

Also Jenkins is cancer. One of the reasons I am excited our team is being added to the GitHub Enterprise pilot program, and with that is GitHub Actions.

sweet lodge
#

It's already out

#

I have it

#

Well - I have "enterprise" not "enterprise", but same difference

willow light
#

As if Finance corporations are with the times. We're part of the project of very slowly transitioning from git hosted on our mainframes to GitHub.

somber heath
willow light
rugged root
#

I hate printers

sweet lodge
# willow light Yup

Just on file storage? You create a folder for a remote and push to it?
Or do you have a different service?

willow light
sweet lodge
#

😟

#

What did you do?

surreal wyvern
#

hello @somber heath Namste 🙏

sweet lodge
somber heath
#

Printim, printer.

somber heath
willow light
#

that's significantly higher caliber than what I used on my old printer

somber heath
#

Printers vex us all, but there are limits.

willow light
#

In my experience, a glock is quite sufficient to stop a compromised network-connected printer

sweet lodge
#

The PBX?

willow light
#

that's how I spell it

sweet lodge
willow light
#

On hold music: hardbass house music with Life of Boris on vocals

sweet lodge
#

...

#

It's a PBX

#

They all do

sweet lodge
#

Cloudflare

surreal wyvern
sweet lodge
surreal wyvern
sweet lodge
#

How is that relevant?

willow light
#

wat

#

Even plex had a data breach. At this point I'm going to the farmers' market with a bunch of hard drives and putting up a sign: "Selling my own damn data"

sweet lodge
#

@willow light
Mines better, it's ::1

willow light
#

Well, the only site I own is currently located at localhost:8000

sweet lodge
#

So we can sue you

cerulean ridge
#

please pentest it

sweet lodge
#

Going to hacks you now

dusky mortar
somber heath
#

"Legal agreements are not binding." Good to know.

willow light
surreal wyvern
#

verbal agreement is not a agreement specially on discord !

willow light
#

This whole discussion is /r/BadLegalAdvice in a nutshell

sweet lodge
dusky mortar
sweet lodge
willow light
sweet lodge
#

.wa s how do I sue this guy?

viscid lagoonBOT
sweet lodge
#

damn

glad sandal
#

@whole bear

sweet lodge
#

You have the right to remain silent to avoid self incrimination

#

Heck other people

amber raptor
#

😴

sweet lodge
#

Actually doesn't apply if you're a terrorist

#

All hail the Patriot Act

#

plaintiff has to prove their case

sweet lodge
#

yes

#

I cap

rugged root
#

You know, I'm surprised that no one has made a meme of like "Yeah my Mac has an M1" and they just have an M1 Garand taped to it

#

I can't be the first one to think of that

rugged root
main vault
rugged root
#

Saw this years ago

#

Not like in person

#

But it's stuck in my brain

main vault
rugged root
#

@lean urchin Sorry the stupid "Requested Message" system is messing with my DMs. What's your question?

rugged root
dusky mortar
#

all you need is 100 amazon accounts for 100 years of life & use free tier forever

lean urchin
dusky mortar
#

scan it with your eye it's safe

dusky mortar
#

sso

lean urchin
#

@dusky mortar do you play league ???

dusky mortar
lean urchin
#

league of legends

dusky mortar
lean urchin
#

have you ever played it?

dusky mortar
#

xd

rugged root
#

This bugs me

#
int[] data = new int[3];
#

Like the first type part, it should be able to just know. For C# for context

#

But I guess I could just use var

frozen owl
rugged root
#

Still annoys me

frozen owl
frozen owl
faint ermine
#

Thanks to Alton Towers https://altontowers.com ■ AD: 👨‍💻 NordVPN's best deal is here: https://nordvpn.com/tomscottplus - with a 30-day money-back guarantee! ■ Pull down this description for a thorough video FAQ!

❓❓ FAQ (has spoilers)

🎢 Haven't you done stuff like this before?

My phobia's specifically about rollercoasters: the clack-clack of t...

▶ Play video
lean urchin
#

can i explain to you in voc

#

or you prefere here with everyone

willow light
dusky mortar
lean urchin
#

in voice chat

willow light
#

Hey Vsauce, Michael here. War crimes are wrong.

Or are they?

#

music starts playing

dusky mortar
lean urchin
#

oh really

faint ermine
# willow light Hey Vsauce, Michael here. War crimes are wrong. Or are they?

NileRed tutorials are getting scary

Subscribe now to join the NileGreen family: https://www.youtube.com/channel/UCP2cNcC-2pqDRCFeFO4JLLw
Go follow the real NileRed: https://www.youtube.com/user/TheRedNile

maybe one day he'll make sulfuric acid and make nitric acid or sodium metal. Perhaps vaporize gold in mercury and scary piranha solution. I ...

▶ Play video
lean urchin
#

how can i ?

willow light
#

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

rugged root
willow light
lean urchin
#

how can i be verified ?

dusky mortar
# lean urchin how can i be verified ?

@Voice Verified
This role allows people to speak in our voice channels.
To get this role send the command !voice-verify in #voice-verification. Please note that there are requirements to getting this role. They are listed in the channel where you run the command.

faint ermine
#

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

lean urchin
#

i gotta stay in this voc for 3 days

#

but i need help rn actually

#

ahhhhhhhhhh

stark knot
#

Can any user look up how much activity left to get voice verification?

rugged root
#

Yep!

#

If you go to the #bot-commands channel and run !user you should be able to see your current message count

#

Note that messages sent in #bot-commands don't count towards the total

lean urchin
stark knot
#

Oh, except these 2 Channels, all other counts?

lean urchin
#

or can i solo voice chat you ?

#

like in mp

rugged root
#

Can you just write a quick gist of what the issue is?

lean urchin
#

mmmmm

dusky mortar
#

quick question: can we see how much time we spent on discord?

lean urchin
#

it take soo much time to write

#

for 20 sec to explain in voc

#

ok

stark knot
#

@lean urchin Maybe ppl in vc can help and give solution, share SS/file/error.

lean urchin
#

okok

rugged root
#

There's too many issues with regards to lost events and stuff to make that count actually work

#

But !user in #bot-commands will tell you how old your account is and how long you've been in the server

lean urchin
#

so basically i am trying to make a bot, a script who click for me on specified coordinates OR on specified colors. i dont know how to create an input for the bot to when he see this specific colors he CLICKS on it

#

to explain in league of legends

#

u launch a queue for a certain time

#

then you need to accept the match

#

to annonce your champ

#

ban a champ

#

and then select and confirm your champ

wise cargoBOT
dusky mortar
rugged root
#

Neat

dusky mortar
lean urchin
#

#league copilot
import os, sys, subprocess, PIL
import pyautogui, time

subprocess.call(['C:\Riot Games\Riot Client\RiotClientServices.exe', '--launch-product=league_of_legends', '--launch-patchline=live'])
#PlayColor = 0
#while (ImageGrab.grab().load()[440, 201] != ):
time.sleep(5)
pyautogui.click(440, 201)#play
time.sleep(2.8)
pyautogui.click(395, 706)#draft pick
time.sleep(2.5)
pyautogui.click(851, 849)#confirm
time.sleep(2.8)
pyautogui.click(975, 842)#select first role
time.sleep(0.6)
pyautogui.click(938, 784)#select mid ||||| pyautogui.click(1093, 776) select supp
time.sleep(1)
pyautogui.click(1011, 837)#select second role
time.sleep(0.6)
pyautogui.click(871, 788)#select top
time.sleep(0.6)
pyautogui.click(847, 845)#click on find match

import pyautogui,time
while True:
pyautogui.click(960,723)
time.sleep(5)

pyautogui.click(960, 723)#accept match
#pyautogui.click(, )#in champ select
sys.exit()

#

this is the code

#

and i want to replace this

dusky mortar
rugged root
#

League's terms of service doesn't allow automation like this, so it's not something we can/will assist with. Sorry

lean urchin
#

AHHHHH

#

its not a script

#

i only for the camp select

dusky mortar
#

sorry we can't assist

lean urchin
#

i dont want my champ to play for me

willow light
#

by definition it is a script

rugged root
#

Using any unauthorized third party programs, including mods, hacks, cheats, scripts, bots, trainers and automation programs that interact with the Riot Services in any way, for any purpose, including any unauthorized third party programs that intercept, emulate, or redirect any communication relating to the Riot Services and any unauthorized third party programs that collect info about the Riot Services by reading areas of memory used by the Riot Services to store info;

lean urchin
#

just want to pick a champ for me

rugged root
#

You still can't automate it

amber raptor
#

You cannot automate period, conversation over.

lean urchin
#

becuase its not cheating

willow light
#

Just because you can doesn't mean you should.

lean urchin
#

WHY I SHOULD NOT

lean urchin
#

i doesnt hurts anyone

frozen owl
rugged root
#

... that interact with the Riot Services in any way, for any purpose...

lean urchin
#

just tell me why

rugged root
#

!rule 5

wise cargoBOT
#

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

lean urchin
#

it doesnt hurt anyone LITERALLY

rugged root
#

We do not assist with these kinds of things

#

Bring it up with Riot, not us

frozen owl
lean urchin
#

COOL

willow light
lean urchin
#

can you just at least help me for something else

#

pls

#

not about riot games

cunning monolith
willow light
#

only if it doesn't violate rule 5

lean urchin
#

YES

#

i need a pixel color picker

#

thats it

cunning monolith
lean urchin
#

like a click on something and it gives me the good code to use it

willow light
willow light
lean urchin
#

can you give one pls

willow light
#

literally google "color picker" and the tool is embedded in the results page

lean urchin
#

THW

#

actually not

#

for exemple i want the color of discord background

willow light
#

open MS Paint then

rugged root
#

What OS

lean urchin
#

windows

rugged root
#

PowerToys has a color picker that's quite nice

willow light
lean urchin
#

how can i download power toys

#

ok

#

i think i got it

willow light
amber raptor
lean urchin
#

fcfdfe

willow light
#

kubectl = kyuubey cuddle

dusky mortar
#

80% traffic is to google analytics and fonts

lean urchin
#

and last question how can i make click it on this specified color pls

#

and you would be guys handsome

#

like whats the formula

rugged root
#

We're not assisting with this

willow light
#

Nice try

lean urchin
#

shit

#

still thanks tho

willow light
#

We're not falling for that one

cunning monolith
#

if you want to automate browser you can use selenium

icy bobcat
#

how do I run python script from javascript?

dusky mortar
amber raptor
rugged root
lean urchin
willow light
cunning monolith
icy bobcat
amber raptor
cunning monolith
faint ermine
willow light
#

Just make a REST API in Python, and use fetch()

cunning monolith
willow light
#

Or use gRPC lol

dusky mortar
# icy bobcat localhost

you can use node js on local system const spawn = require("child_process").spawn; const pythonProcess = spawn('python',["path/to/script.py", arg1, arg2, ...]);

icy bobcat
willow light
#

Just do it in JavaScript lol

cunning monolith
#

or even with css and html

icy bobcat
#

I also want to purge old images every 10-20 minutes.

willow light
icy bobcat
#

the python script does all that, I just want to run it with javascript instead of let's say with an external program like authotkey.

willow light
#

Make an API

cunning monolith
willow light
rugged root
faint ermine
#

Wallpaper Engine enables you to use live wallpapers on your Windows desktop. Various types of animated wallpapers are supported, including 3D and 2D animations, websites, videos and even certain applications. Choose an existing wallpaper or create your own and share it on the Steam Workshop! In addition to that, you can use the free Wallpaper En...

Price

$3.99

Recommendations

501109

▶ Play video
icy bobcat
#

@cunning monolith will it run python properly or print it in the console?

cunning monolith
willow light
cunning monolith
willow light
cunning monolith
icy bobcat
#

Great!

willow light
#

I like Rust until I try to solve systems of linear differential equations with it

icy bobcat
#

Can I DM you?

cunning monolith
faint ermine
#

talks about how macro analysis was fixed

dusky mortar
#

I'm groot

willow light
dusky mortar
steel lodge
#

i'll just use text chat

#

everyone has those days

steel lodge
forest musk
#

I need 50 messages to speak in voice chat but I am a shy person and would not speak anyway

#

Any other people with the same problem ?

bright coyote
#

@vernal bridge

forest musk
#

@bright coyote took me 1884 ms

bright coyote
#

how much is that is english

#

i mean seconds

forest musk
#

milliseconds ?

bright coyote
#

seconds

forest musk
#

1,884 seconds xD

vernal bridge
whole bear
#

@vernal bridge its "COMPUTATIONAL IDENTIFICATION OF TRANSLATION INITIATION FACTOR 1 AS A POTENTIAL DRUG TARGET OF THE PATHOGENIC BACTERIA CLOSTRIDIUM BOTULINUM"

whole bear
#

@dusky crown here

dusky crown
#

ok

#

you mean

#

here i need to send

#

50

#

massages??

whole bear
#

No, anywhere on the server

dusky crown
#

Then the genral server chat is enough i guess

whole bear
#

@dusky crown Try sending more texts, it says you still have less than 50

dusky crown
#

yes

#

i undersrtand now

#

thanks for the help

whole bear
#

@rugged root gimme 5 minutes, the vaccuum is on

old hawk
#

okay

rugged root
#

!stream 589497499174043800

wise cargoBOT
#

✅ @scenic wind can now stream until <t:1661373857:f>.

rugged root
#

"Cows getting married with a crab acting as the minister"

#

"A programmer looking confused at a computer made of yams"

leaden comet
#

A cowboy sits around a campfire sharing a meal with a friendly bear, 35mm lens, f1.4 aperture, 1/1000 shutter speed

frozen owl
#

"a fish with sunglasses drinking from a coconut racing against a snake trying to untangle itself on a foot race"

rugged root
#

"A fiddler crab playing a fiddle on a roof"

leaden comet
#

"A sloth wearing a beret, smoking a cigarette in the rain, in the style of Johannes Vermeer"

frozen owl
#

"a cow with sunglasses eating a darth vader-shaped apple"

leaden comet
#

"Hiphop album cover from the mid 1990's for a group called Hackerman, where every member is a computer hacker wearing a ski mask."

bright coyote
#

"futuristic techno aged neon colored database computer room in ancient egypt structure room, photorealistic"

willow light
#

"homer simpson as drawn by picasso"

leaden comet
#

HAKaRMAN

cobalt fractal
#

this was another lol

leaden comet
#

that's awesome

#

he's playing that CD like a melodica

whole bear
#

a

hollow bough
#

PyImGui

somber heath
bright coyote
#

@somber heath

#

@hollow bough

#

simulated pixels

kindred ivy
#

hello can u herar me

warped raft
#

TYPING TEST PROJECT

#

menign

#

so how to show you

#

do you have chrome

#

yes

#

i can describe it

#

it is a proejct in which we get an endless stream of words

#

and with in 60 sec we have to type as much words as we can

#

yes

#

ok

#

let me test it out

#

you have linux

#

first linux user to meet me

dreamy shale
#

Hi

warped raft
#

hello

dreamy shale
#

what projects would u folks recommend to get a good overview of the stdlib ?

somber heath
#

!kindling

wise cargoBOT
#

Kindling Projects

The Kindling projects page on Ned Batchelder's website contains a list of projects and ideas programmers can tackle to build their skills and knowledge.

somber heath
#

!resources

wise cargoBOT
#
Resources

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

somber heath
#

See what takes your fancy.

#

I'd look at the modules, see what they're used for and go from there.

quasi condor
#

It's well worth reading through the docs for functools and itertools, and making sure you understand what everything does - and when you don't understand, you just mess around with it in IPython til you do

umbral glen
#

here?

dreamy shale
#

Thanks for the tip. I'll explore them that way.👍

umbral glen
#

can you help me with code???

#

its really spesific

#

When i use py -to-exe
print(os.popen("echo no"))
stops working, but it works when it is py

warped raft
#

os.open

umbral glen
#

what

#

ah

umbral glen
#

what

#

is that

warped raft
#

thankyou

umbral glen
#

i ahve not heard of sub prosesing

#

so am i going to go dawn a subproses rabit hole?

umbral glen
#

im making a "cmd" just to learn some of the os lib

#

acxedentaly tuned of the power switch on my power cord

#

@unique holly

#

waht

#

to do what

#

dont use python lol

unique holly
#

Huh?

frozen owl
#

@somber heath

#

time.process_time() → float
Return the value (in fractional seconds) of the sum of the system and user CPU time of the current process. It does not include time elapsed during sleep. It is process-wide by definition. The reference point of the returned value is undefined, so that only the difference between the results of two calls is valid.

whole bear
steel lodge
#
print("Hello World!")
mood = input("How are you doing? ")
whole bear
#

yo

whole bear
cunning monolith
steel lodge
somber heath
#

!voice @steep verge

wise cargoBOT
#

Voice verification

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

broken harbor
#
class Rarity:
    COMMON = 'COMMON'
    RARE = 'RARE'
    EPIC = 'EPIC'
    LEGENDARY = 'LEGENDARY'
    MYTHIC = 'MYTHIC'


class Race:
    def __init__(self, name, rarity):
        self.name = name
        self.rarity = rarity

    TABLE = {
        Rarity.COMMON: {
            'percentage': 40,
            'list': [
                Races.HUMAN,
                Races.DEMON
            ]
        },
        Rarity.RARE: {
            'precentage': 35,
            'list': [
                Races.TROLL
             ]
    }

class Races:
    HUMAN = Race(
        name='Human',
        rarity=Rarity.COMMON
    )

    DEMON = Race(
        name='Demon',
        rarity=Rarity.COMMON
    )

    TROLL = Race(
        name='Troll',
        rarity=Rarity.RARE
    )
#

@willow lynx

#

@warped raft

warped raft
#

hey

#

can irun this code

#

run

#

or do i need something anything else

#

ok

#

hello

#

@broken harbor

#

where did you define races.humn

broken harbor
#

class Races:
    HUMAN = Race(
        name='Human',
        rarity=Rarity.COMMON
    )

    DEMON = Race(
        name='Demon',
        rarity=Rarity.COMMON
    )

    TROLL = Race(
        name='Troll',
        rarity=Rarity.RARE
    )
 
#

here

wise cargoBOT
#

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

001 |   File "<string>", line 14
002 |     TABLE = {
003 |             ^
004 | SyntaxError: '{' was never closed
willow lynx
#

!e !e ```py
class Rarity:
COMMON = 'COMMON'
RARE = 'RARE'
EPIC = 'EPIC'
LEGENDARY = 'LEGENDARY'
MYTHIC = 'MYTHIC'

class Race:
def init(self, name, rarity):
self.name = name
self.rarity = rarity

TABLE = {
    Rarity.COMMON: {
        'percentage': 40,
        'list': [
            Races.HUMAN,
            Races.DEMON
        ]
    },
    Rarity.RARE: {
        'precentage': 35,
        'list': [
            Races.TROLL
         ]
}

}
class Races:
HUMAN = Race(
name='Human',
rarity=Rarity.COMMON
)

DEMON = Race(
    name='Demon',
    rarity=Rarity.COMMON
)

TROLL = Race(
    name='Troll',
    rarity=Rarity.RARE
)
wise cargoBOT
#

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

001 | Traceback (most recent call last):
002 |   File "<string>", line 9, in <module>
003 |   File "<string>", line 18, in Race
004 | NameError: name 'Races' is not defined
warped raft
#

class Rarity:
COMMON = 'COMMON'
RARE = 'RARE'
EPIC = 'EPIC'
LEGENDARY = 'LEGENDARY'
MYTHIC = 'MYTHIC'

class Race:
def init(self, name, rarity):
self.name = name
self.rarity = rarity

TABLE = {
    Rarity.COMMON: {
        'percentage': 40,
        'list': [
            Races.HUMAN,
            Races.DEMON
        ]
    },
    Rarity.RARE: {
        'precentage': 35,
        'list': [
            Races.TROLL
         ]
}

}
class Races:
HUMAN = Race(
name='Human',
rarity=Rarity.COMMON
)

DEMON = Race(
    name='Demon',
    rarity=Rarity.COMMON
)

TROLL = Race(
    name='Troll',
    rarity=Rarity.RARE
)
#

sorry

vast fog
#

audio glitched

#

one sec

somber heath
#

X, Y, Z, T, C Width, height, depth, temporal, colour.

dusky mortar
#

think of dimensions as attributes

somber heath
#

tzyxc

dusky mortar
somber heath
#

A lion named Daniel.

#

Dan de lion.

#

.

...

...
...
...

... ... ...
... ... ...
... ... ... etc

somber heath
#

!d itertools

wise cargoBOT
#

This module implements a number of iterator building blocks inspired by constructs from APL, Haskell, and SML. Each has been recast in a form suitable for Python.

The module standardizes a core set of fast, memory efficient tools that are useful by themselves or in combination. Together, they form an “iterator algebra” making it possible to construct specialized tools succinctly and efficiently in pure Python.

For instance, SML provides a tabulation tool: tabulate(f) which produces a sequence f(0), f(1), .... The same effect can be achieved in Python by combining map() and count() to form map(f, count()).

somber heath
#

!e ```py
import itertools
result = [" ".join(v) for v in itertools.product("-.", repeat=3)]
print(*result, sep=" | ")

wise cargoBOT
#

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

- - - | - - . | - . - | - . . | . - - | . - . | . . - | . . .
dusky mortar
#

(a & b) or (c & d)

lethal thunder
#
if 1 and 2 or 3 and 4:
dusky mortar
#

so it's either or either 1& 2 or 3 &4

lethal thunder
#

||

#

or = ||

#

&

dreamy stump
#

===

lethal thunder
dusky mortar
#

cya

rotund scaffold
#

@somber heath Hey

lethal thunder
dreamy stump
#

bruh

frozen owl
#

@mild quartz can you send me some resources on ensemble in ml

#

im really curious

mild quartz
#

im looking for something

#

for you

frozen owl
#

thanksss

mild quartz
#

start with the second one

frozen owl
mild quartz
#

(skip to 14.2)

frozen owl
mild quartz
#

read the intro

#

then skip 14.1

#

since i think it is too hard

#

14.2 is what you were asking about

frozen owl
#

@mild quartz

mild quartz
#

gtg meeting

zenith radish
steel lodge
#

!e ```python
print("Hello World!")

wise cargoBOT
#

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

Hello World!
zenith radish
quasi condor
#

The Bayraktar TB2 is a medium-altitude long-endurance (MALE) unmanned combat aerial vehicle (UCAV) capable of remotely controlled or autonomous flight operations. It is manufactured by the Turkish company Baykar Makina Sanayi ve Ticaret A.Ş., primarily for the Turkish Armed Forces. The aircraft are monitored and controlled by an aircrew in a gro...

#

@rugged root where are you

#

I want to bait you about breaking rules

zenith radish
quasi condor
dusky mortar
#

everything written in this box is a lie

#

!rule 1

wise cargoBOT
zenith radish
quasi condor
stark crow
#

def game():
return 642

score = game()
with open('highscore.txt') as f:
highscoreStr = f.read()
if highscoreStr == " ":
with open('highscore.txt', 'w') as f:
f.write(str(score))

elif (highscoreStr)<score :
with open('highscore.txt' , 'w') as f:
f.write(str(score))