#voice-chat-text-0

1 messages · Page 823 of 1

whole bear
#

OH WOW

#

send me the invite link

sick cloud
whole bear
#

i have my personal server, which has just me

sick cloud
#

never heard of it

whole bear
#

so 100 servers achieved >.<

sick cloud
whole bear
#

yayy!

sick cloud
#

\🥳

#

next project:

#

and maybe make a crappy version of it

#

!paste

wise cargoBOT
#

Pasting large amounts of code

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

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

glad sandal
#

Hello

#
print("Hello everyone")
sick cloud
wise cargoBOT
#

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

hello
glad sandal
#
eval("print("Hello world.py")")
#

it wont work D:

dense ibex
#

defense

#

@glad sandal you do !e then your code you don't need eval()

#

!e
print("hello world")

wise cargoBOT
#

@dense ibex :white_check_mark: Your eval job has completed with return code 0.

hello world
dense ibex
#

like this ^^^

glad sandal
#

Thankls

uncut meteor
#

!help pstream

wise cargoBOT
#
Command Help

!permanentstream <member>
Can also use: pstream

Permanently grants the given member the permission to stream.

dense ibex
#

!pstream @olive hedge

cobalt fractal
#

!rstream @olive hedge lemonshake

wise cargoBOT
#

✅ Revoked the permission to stream from @olive hedge.

olive hedge
#

are you foreal rn chris

cobalt fractal
#

I am Chris, not foreal

olive hedge
#

I was collecting the roles :C

#

you bulli

cobalt fractal
#

I got a role for you

olive hedge
#

!pstream @olive hedge

wise cargoBOT
#

✅ Permanently granted @olive hedge the permission to stream.

olive hedge
#

no mute

#

plz

cobalt fractal
#

!mute @olive hedge

olive hedge
#

git rekt

cobalt fractal
olive hedge
#

I was so ready to be disconnected

cobalt fractal
#

lol yea

severe pulsar
#

hmm

whole bear
#

why does that mention joins me in voice-chat D;<

#

@whole bear anyways, hi

#

yeh it did for me atleast

#

lemme try again

#

it did again

#

now u try Xd

#

lol

tawny plover
#

can someone debug my code:

def IF(expr):
  eval("if " + expr + ": True else: False")
gentle flint
#

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

orchid barn
#

Find all strings with length 10

orchid barn
#

i did it @gentle flint

gentle flint
#

well done

orchid barn
#

check this

gentle flint
#

but we're trying to implement it from scratch

orchid barn
#

yea

#

same

#
from string import ascii_lowercase
alphabet_index = {letter: index for index,letter in enumerate(ascii_lowercase)}
index_alphabet = {index: letter for index,letter in enumerate(ascii_lowercase)}
message = "ATTACKATDAWN".lower()
key = "LEMONLEMONLE".lower()

def encode(message : str, key: str):
  cipherd_text = ""
  for index,letter in enumerate(message):
    cipherd_text += (index_alphabet[(alphabet_index[letter] + alphabet_index[key[index]]) % 26])
  return cipherd_text 

def decode(cipherd_text: str, key: str):
  message = ""
  for index,letter in enumerate(cipherd_text):
    message += (index_alphabet[(alphabet_index[letter] - alphabet_index[key[index]]) % 26])
  return message 


decode(encode(message,key),key).upper()
#

@midnight agate

#

I assumed the len(key) == len(message)

#

!e

from string import ascii_lowercase
alphabet_index = {letter: index for index,letter in enumerate(ascii_lowercase)}
index_alphabet = {index: letter for index,letter in enumerate(ascii_lowercase)}
message = "ATTACKATDAWN".lower()
key = "LEMONLEMONLE".lower()

def encode(message : str, key: str):
  cipherd_text = ""
  for index,letter in enumerate(message):
    cipherd_text += (index_alphabet[(alphabet_index[letter] + alphabet_index[key[index]]) % 26])
  return cipherd_text 

def decode(cipherd_text: str, key: str):
  message = ""
  for index,letter in enumerate(cipherd_text):
    message += (index_alphabet[(alphabet_index[letter] - alphabet_index[key[index]]) % 26])
  return message 


decode(encode(message,key),key).upper()
wise cargoBOT
#

@orchid barn :warning: Your eval job has completed with return code 0.

[No output]
flat sentinel
#

that is epic

orchid barn
#
#The algorithim assumes that both the message and the key are of the same length.

from string import ascii_lowercase

alphabet_index = {letter: index for index,letter in enumerate(ascii_lowercase)}
index_alphabet = {index: letter for index,letter in enumerate(ascii_lowercase)}

message = "ATTACKATDAWN".lower()
key = "LEMONLEMONLE".lower()

def encode(message : str, key: str):
  cipherd_text = ""
  for index,letter in enumerate(message):
    cipherd_text += index_alphabet[(alphabet_index[letter] \
                                    + alphabet_index[key[index]]) % 26]
  return cipherd_text 

def decode(cipherd_text: str, key: str):
  message = ""
  for index,letter in enumerate(cipherd_text):
    message += index_alphabet[(alphabet_index[letter] \
                               - alphabet_index[key[index]]) % 26]
  return message 


cipherd_text = encode(message,key)

print(f"Original Message: {message.upper()}")
print(f"Key: {key.upper()}")
print(f"Encoded Message: {cipherd_text.upper()}")

original_message = decode(cipherd_text,key)

print(f"Original Message: {original_message.upper()}")

#

@midnight agate
Np!

#

no worries @midnight agate

#

RIP my ears

#

@true lichen

#

@gentle flint

gentle flint
#

oh wow

#

by the way I added flake8 to the tests list so you watch your step

orchid barn
#

also i noticed

#

something python 3.6

#

datacalss

gentle flint
#

hmmm?

orchid barn
#

doesnt work

gentle flint
#

yes ik

#

I took it out

#

for that reason

orchid barn
#

oh nice

gentle flint
#

currently I test on 3.7-3.9, windows, macos, ubuntu

orchid barn
#

i understood actions

#

it's intersting

#

and nicee tool

gentle flint
#

mhm

orchid barn
#

workflows i mean in general

#

is a great idea for automating the boring stuff

gentle flint
#

yeah

#

precisely

orchid barn
#

cya boys

gentle flint
flat sentinel
gentle flint
true lichen
#

Wah

#

Who said my name

#

What is it

olive hedge
#

Oppa!

vivid palm
#

oppa!

somber heath
#

@olive hedge @vivid palm Hello hello. 😏

true lichen
#

i ran all off the bee movie in html i have peaked as a programmer

somber heath
#

@plush willow A little bit.

#

Let's see...

#

datetime.datetime.fromisoformat

#

So...

#

dt.fromisoformat

gentle flint
somber heath
#

@plush willow Assuming the csv has them in the correct order for that to be appropriate, otherwise you might need to juggle them around.

#

Days and months are atrocious like that.

#

Depending on where you are.

#

You can take the datetime object and use its strftime method

#

You could also do like py t = dt.fromusoformat('2000-6-7') print(f'Year: {t.year} Month: {t.month}')

#

@plush willow

halcyon escarp
#

hi

#

how can i speak? 😅

paper tendon
#

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

paper tendon
#

like any other file you read and write

#

split on ","

#

Or you could use pandas

#

But actually it is still the same you read a row and you split and get array of row. and then you do with them what you want.

#

ok what you need be specific

#

yes

#

so send what you have done.

#

key is column based and you would just iterate of keys that are row specific

plush willow
#

@paper tendon

paper tendon
#
for k, v in csv.reader():
    print(f"key: {k} - value: {v}")
#
import csv

# csv is stupid as a format it does not have columns.
stupid_format = csv.reader(open("scratch.txt", "r"))

for i, r in enumerate(stupid_format):
    print(f"{i} row: {' '.join(r)}")
    print(r)

# panda dataframes do have columns and you can use dictionary operations on them.
import pd
#

for reading

#

for writing its similar

#

you are sending a row to the file to write

#

read the function description

#
def writer(fileobj, dialect='excel', *args, **kwargs): 
    """
    csv_writer = csv.writer(fileobj [, dialect='excel']
                                [optional keyword args])
        for row in sequence:
            csv_writer.writerow(row)
    
        [or]
    
        csv_writer = csv.writer(fileobj [, dialect='excel']
                                [optional keyword args])
        csv_writer.writerows(rows)
    
    The "fileobj" argument can be any object that supports the file API.
    """
#

so that mean

import csv

# csv is stupid as a format it does not have columns.
stupid_format = csv.reader(open("scratch.txt", "r"))
to_file =  csv.writer(open("scratch1.txt", "r+"))
for i, r in enumerate(stupid_format):
    print(f"{i} row: {' '.join(r)}")
    print(r)
    to_file.writerow(r) # you pass the whole array as row here
    to_file.writerow(r) # this will duplicate rows in other file

# panda dataframes do have columns and you can use dictionary operations on them.
import pd
#

@plush willow so you are responsible for ordering properly items in the array as the module is not actually a module it just write arrays of values with "," delimiters for the csv file.

terse needle
#
from glob import glob
from setuptools import setup
from pybind11.setup_helpers import Pybind11Extension


ext_modules = [
    Pybind11Extension(
        "PyPlotter",
        sorted(glob("*.cpp")),
        library_dirs=["/usr/local/lib/", "/usr/lib/"],
        libraries=["raylib", "glfw3"],
    )
]

setup(ext_modules=ext_modules)
#
PYBIND11_MODULE(PyPlotter, m){
  py::class_<PyPlotter>(m, "PyPlotter")
    .def(py::init<const char*, const int, const int>())
    .def("keep_window_alive", &PyPlotter::KeepWindowAlive);

  py::class_<Graph>(m, "Graph")
    .def(py::init<const int, const int, const int, const int>())
    .def("draw", &Graph::Draw)
    .def("set_origin", &Graph::SetOrigin)
    .def("draw_axis", &Graph::DrawAxis)
    .def("draw_number", &Graph::DrawNumber)
    .def("calculate", &Graph::Calculate)
    .def("draw_points", &Graph::DrawPoints);
}
whole bear
#

@uncut meteor

terse needle
#
>>> def x():
...     global y
...     y = 10
... 
>>> x()
>>> y
10
#

never had python and c++ in the same repo

uncut meteor
#
class MainMenu(Menu):
    def setupui(self):
        FM = FrameBuilder.TypeA(self)
        FS = [None] * 3

        FS[0] = tk.Label(FM[0], text="Main Menu")
        FS[1] = tk.Button(FM[1], text="Difficulty: 1", command=lambda: GamePlay.Kickoff(1))
        FS[2] = tk.Button(FM[2], text="Difficulty: 2", command=lambda: GamePlay.Kickoff(2))

        for X in range(3):
            FS[X].configure()
            FS[X].pack()


class GamePlay(Menu):
    difficulty = 0

    def setupui(self):
        FM = FrameBuilder.TypeA(self)
        FS = [None] * 3

        FS[0] = tk.Label(FM[0], text=TargetWord, )
        FS[1] = tk.Button(FM[1], text="Play", command=lambda: GamePlay.ButtonSwitcher(self, FS))
        FS[2] = tk.Button(FM[2], text="Main", command=lambda: self.app.MenuSwitcher(0))

        for X in range(3):
            FS[X].configure()
            FS[X].pack()

    @classmethod
    def Kickoff(cls, x):  # takes difficulty given by the mainmenu selection and puts it to the word selection
        cls.difficulty = x
severe pulsar
#
class Student:
    def __init__(self, name, age): 
        self.name = name
        self.age = age

student1 = Student("Jack", 16)
student2 = Student("Mary", 14)

^^ Example of classes and objects

uncut meteor
#

!e

class Fruit:
  def __init__(self, name: str):
    self.name = name
  
  def bite():
    print(f"You've taken a bite of the {self.name}"


my_fruit = Fruit("Apple")
my_fruit.bite()

my_fruit2 = Fruit("Banana")
my_fruit2.bite()

wise cargoBOT
#

@uncut meteor :white_check_mark: Your eval job has completed with return code 0.

001 | <__main__.Fruit object at 0x7fd2c62d3fd0>
002 | Apple
003 | 
004 | <__main__.Fruit object at 0x7fd2c62d3ee0>
005 | Banana
severe pulsar
#

griff coming in clutch

uncut meteor
#

!e

class Fruit:
  def __init__(self, name: str):
    self.name = name
  
  def bite(self):
    print(f"You've taken a bite of the {self.name}")


my_fruit = Fruit("Apple")
my_fruit.bite()

my_fruit2 = Fruit("Banana")
my_fruit2.bite()

wise cargoBOT
#

@uncut meteor :white_check_mark: Your eval job has completed with return code 0.

001 | You've taken a bite of the Apple
002 | You've taken a bite of the Banana
severe pulsar
#

whats being streamed in this vc?

zealous wave
terse needle
#
Hello world!
(None, 100, 'math', [95, 95, 105, 109, 112, 111, 114, 116, 95, 95, 40, 34, 95, 95, 104, 101, 108, 108, 111, 95, 95, 34, 41], <module '__hello__' (frozen)>)
>>> 
stiff haven
#

print("Hello World")

terse needle
zealous wave
#

!e ```py
package='hello';from.import*

wise cargoBOT
#

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

Hello world!
zealous wave
#

!e ```py
import hello

wise cargoBOT
#

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

Hello world!
zealous wave
#

!e ```py
from future import braces

wise cargoBOT
#

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

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

    def MenuSwitcher(self, pos):
        self.menus[self.active_menu].grid_forget()
        self.menus[pos].grid(sticky="nesw")
        self.menus[pos].setupui()
        self.active_menu = pos
#

!e

class MyClass:
  @classmethod
  def smthin(cls) -> MyClass:
    return cls()


print(MyClass.smthin())
wise cargoBOT
#

@uncut meteor :x: Your eval job has completed with return code 1.

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

!e

from __future__ import annotations

class MyClass:
  @classmethod
  def smthin(cls) -> MyClass:
    return cls()


print(MyClass.smthin())
wise cargoBOT
#

@uncut meteor :white_check_mark: Your eval job has completed with return code 0.

<__main__.MyClass object at 0x7f43dfa28fa0>
zealous wave
#
class Foo:
uncut meteor
#
@router.interaction(name="GuessTheNumber", description="See if you can guess the number, Between (1 - 20)")
async def guess_the_number(inter: Interaction, guess: int = Option(desc="Guess the number")):
    if 0 >= guess or guess >= 20:
        return "> Please make your guess between 1 - 20"

    random_num = random.randint(1, 21)
    if random_num == guess:
        return "> You guessed the number!"
    else:
        return f"> You didn't guess the number, it was {random_num}"
zealous wave
vivid palm
#

f u

#

<3

#

i will haaaaaave 5 days off at the end of may so there's that

#

what if you use a straw and blow really hard into it

#

that's CO2 right

#

lol

#

gotta practice

#

lmao

strange plank
#

@rugged root the pressures on to keep the convo going

rugged root
#

Usually

vivid palm
#

what why it looks fly

#

like

#

whispy*

#

wings

#

of hair

#

can you burp the alphabet

#

..............

#

i can manage 4 hours on my own in 1 stretch

#

but like, if we drive, it's gonna be 5 of us in a sedan

#

our biggest car is currently a toyota camry

#

i being the shortest will probably be sitting in the middle back seat

#

dnw

#

having a gut is great

#

cushioning

#

for pets and people

#

dude 10,000 takes effort

#

that's like pretty much an hour (and a half?) of walking

#

i did it for 6 months lol

honest pier
#

walking is awesome

#

that's literally just running but slower 🤔

vivid palm
#

hi pub

honest pier
#

hi mina

vivid palm
#

yes

#

declan so

#

griff > me > everyone

#

lmao

honest pier
#

@dire oriole stop lurking

vivid palm
#

your playlist is now mine

#

what rx??

#

i mean you're probably only taking it temporarily? or no

#

ok tis fine then

#

you'll live :D

#

lol smol

honest pier
#

milk steak

vivid palm
#

waow

#

t_t

#

lmao

honest pier
#

😔

vivid palm
#

probably actually ptsd if it was that bad lol

honest pier
#

heatfs at 6.0 pithink

rugged root
vivid palm
#

yes good, do taxes

#

also pub how do YOU pronounce WYSIWYG

rugged root
#

wizzy-wig?

vivid palm
#

yeah that's how i pronounce it too

rugged root
#

That's the only one that makes sense

vivid palm
#

lol i heard some words

#

i dont usually hear lyrics

molten pewter
rugged root
#

Write Your Site Inside Wonderful Yellow Gold

amber raptor
stuck furnace
rugged root
#

Yes. Yes I am

vivid palm
#

HEYYYYYYYY

#

i can't actually burp lol

rugged root
#

Like

#

At all? Or just not on command

vivid palm
#

not on cue

rugged root
#

Gotcha

#

So it's not a matter of you slowly inflating and then you're going to explode one day

honest pier
#

cute

vivid palm
rugged root
#

@shut belfry Sorry yeah, you're still really quiet. At 200% I can kind of make out what you're saying, but compared to the other voices it's still pretty quiet

shut belfry
rugged root
#

No you're fine

#

I'm just saying why you're getting kind of steamrolled with regards to the conversation

severe pulsar
clear shadow
#

Hey there

rugged root
#

Hey Brod, how goes it

stuck furnace
#

Great sound effects 👌

rugged root
#

Johnny Bravo

honest pier
#

that's the funniest shit i've ever heard

clear shadow
rugged root
#

I mean how are you

clear shadow
dense ibex
#

Let’s go, I just passed my final!!

amber raptor
clear shadow
#

😆

undone idol
#

ofc we are stressed

undone idol
rugged root
undone idol
#

@somber heath hello

#

polish book hehe

clear shadow
whole bear
undone idol
#

yeh that's me opal

clear shadow
whole bear
#

my paint program in batch

undone idol
#

@clear shadow could you tell us what didn't you understand?

clear shadow
whole bear
#

who wants to use my paint program in batch

clear shadow
#

😆

whole bear
#

what?

fresh python
#

yea baby

#

i'm some wise man

undone idol
clear shadow
#

if __name__ == "__main__":
    lis = list()
    for i in range(int(input())):
        n, m, k = list(map(int, input().split()))
        if n*m-1 == k:
            lis.append("Yes")
        else:
            lis.append("No")
    for i in lis:
        print(i) 
#

@somber heath

undone idol
#

well opal isn't here

somber heath
#

Try again.

undone idol
#

hehe 😄

#

haha

#

nice one

somber heath
#

@clear shadow Maybe ask someone else. I don't feel in the mood to tackle that.

vivid palm
#

omg lol

clear shadow
#

Its accepted

undone idol
#

nice voice @midnight agate hehe

#

nice vocal cords.

#

1951 👀

orchid barn
#

How's you theory of computation class going @stuck furnace

stuck furnace
orchid barn
#

😂😅

#

Yeah @midnight agate

#

Thank you ♥️

#

We all here to help each other grow 🥳

rugged root
#

Combat Simulator Exercise

  • Has a base class containing attributes that all characters have: Hit points, name, minimum damage and maximum damage

  • Should also contain certain actions (methods): attack, defend
    -- defend should halve the amount of damage taken on next attack

  • 2 sub-classes that inherit from the base class: player and monster
    -- Player should contain attributes: health_potions to dictate how many healing potions they have at their disposal
    -- Player should also have a unique method: heal. It should heal a certain amount of health and also remove one potion from the inventory

-- Monster should contain attribute: smokebombs
-- Monster should also contain method: use_smokebomb, which prevents damage from the next player attack and also removes one from the inventory

#

Also, be right back

rugged root
#

Sorry, still tweaking it a little bit

#

But the general idea is still there

#

This is more a combat sim. Also writing one up for character creation

serene falcon
#

There's a few motivations to learn a programming language.. sometimes it's in your career path, or if that programming language is popular.. in terms of jobs offered.. Or in other cases you have to learn it because the project in which you are working on is using it ...

rugged root
#

My motivation was simply because I really wanted to

#

It's been a long time goal and love

serene falcon
#

Sure... if you love what you're doing.. make everything easier..

#

I have to work in Python.. in i really like it.. and sometimes I have to work with java.. which I really don't like...

coral haven
#

HOW TO UNMUTE?

#

I AM SUPRESSED

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.

serene falcon
#

You must meet all of the following criteria before you can speak in voice channels:
• Have over 50 non-deleted messages in the server
• These messages cannot be in #bot-commands or #sir-lancebot-playground
• Only messages after August 25th 2020 count, this is when we rolled out our new message statistics system.
• Have joined the community over 3 days ago.
• Have been active for over 3 ten-minute blocks. This means you need to have sent your messages over a span of at least 30 minutes.

#

That's it

coral haven
#

can you Please stream on 720

#

@midnight agate can you please stream @ 720p

somber dragon
#

Anyone that can code a Zombie game using crypt-o-currency as a currency?

#

Also, having a bit of a hard time with Git, and co-operating with classmates using a database within the git, anyone that's got experience of that and has a quick fix? Here's the error message:

vivid palm
#

I think it's when cam is on

rugged root
#

Character Creator Exercise

  • Create a base class containing the following attributes: hit points, name, level, attack_damage

  • Should also contain methods: attack, take_damage

  • Create various job classes that inherit from the base class

-- Create a Barbarian class
--- Should contain the following attributes: rages, rage_turns_left
--- Should contain the following methods: rage, which causes the player to deal twice as much damage but also take twice as much damage. take_damage should be over written so that it checks to see if a rage is active. --- After every turn, rage_turns_left should reduce by one unless it's already at 0.

-- Create a Wizard class
--- Should contain the following attributes: mana_points
--- Should contain the following methods: fireball, which deals double damage but costs mana to cast. If there isn't enough mana, the Wizard cannot cast the spell.

stuck furnace
#

There is abc.ABC

#

You can decorate methods as @abstractmethod

#

If you try to instantiate a class with abstract methods, you will get an error.

paper tendon
stuck furnace
#

Little example I put together: ```py
from abc import ABC, abstractmethod

class Shape(ABC):

@abstractmethod
def area(self):
    pass

class Square(Shape):

def __init__(self, side_len):
    self.side_len = side_len

def area(self):
    return self.side_len ** 2
#
s = Shape() # ERROR
s = Square() # OK
paper tendon
#

!e ```py
from abc import ABC, abstractmethod
class Animal(ABC):

def move(self):
    pass

class Human(Animal):

def move(self):
    print("I can walk and run")

class Snake(Animal):

def move(self):
    print("I can crawl")

class Dog(Animal):

def move(self):
    print("I can bark")

class Lion(Animal):

def move(self):
    print("I can roar")

Driver code

R = Human()
R.move()

K = Snake()
K.move()

R = Dog()
R.move()

wise cargoBOT
#

@paper tendon :white_check_mark: Your eval job has completed with return code 0.

001 | I can walk and run
002 | I can crawl
003 | I can bark
stuck furnace
#

You can insantiate Creature because it has no abstractmethods.

paper tendon
#

!e ```py

from abc import ABC, abstractmethod

class Polygon(ABC):

@abstractmethod
def noofsides(self):
    pass

class Triangle(Polygon):

# overriding abstract method
def noofsides(self):
    print("I have 3 sides")

class Pentagon(Polygon):

# overriding abstract method
def noofsides(self):
    print("I have 5 sides")

class Hexagon(Polygon):

# overriding abstract method
def noofsides(self):
    print("I have 6 sides")

class Quadrilateral(Polygon):

# overriding abstract method
def noofsides(self):
    print("I have 4 sides")

Driver code

R = Triangle()
R.noofsides()

K = Quadrilateral()
K.noofsides()

R = Pentagon()
R.noofsides()

K = Hexagon()
K.noofsides()

wise cargoBOT
#

@paper tendon :white_check_mark: Your eval job has completed with return code 0.

001 | I have 3 sides
002 | I have 4 sides
003 | I have 5 sides
004 | I have 6 sides
stuck furnace
#

All ABC really does is prevent the instantiation of classes with abstract methods that haven't been overridden.

#

But the way to do it is treat the use of ABC as optional, at least to begin with.

#

Then when the system gets larger or more stable, you might want to add in something like this to lock it down a bit more.

paper tendon
stuck furnace
#

Same idea with type-annotations in python.

stuck furnace
paper tendon
#

!e ```py
from abc import ABC, abstractmethod

class Animal(ABC):
@abstractmethod
def move(self):
pass
a = Animal()

TypeError: Can't instantiate abstract class Animal with abstract methods move

class Animal():
@abstractmethod
def move(self):
pass
a = Animal() # No errors

wise cargoBOT
#

@paper tendon :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 7, in <module>
003 | TypeError: Can't instantiate abstract class Animal with abstract method move
paper tendon
#

!e ```py
from abc import ABC, abstractmethod

class Animal(ABC):
@abstractmethod
def move(self):
pass

a = Animal()

TypeError: Can't instantiate abstract class Animal with abstract methods move

class Animal():
@abstractmethod
def move(self):
pass
a = Animal() # No errors

wise cargoBOT
#

@paper tendon :warning: Your eval job has completed with return code 0.

[No output]
somber dragon
#

I hereby solemnly swear to never misuse any code.

paper tendon
#
class Base:

    def public(self):
        print("Public method")

    # Declaring private method
    def __private(self):
        print("Private method")


# Creating a derived class 
class Derived(Base):
    def __init__(self):
        # Calling constructor of 
        # Base class 
        Base.__init__(self)

    def call_public(self):
        # Calling public method of base class
        print("\nInside derived class")
        self.public()

    def call_private(self):
        # Calling private method of base class
        self.__private()


# Driver code 
obj1 = Base()

# Calling public method
obj1.public()

obj2 = Derived()
obj2.call_public()

# this two raise an error.
# obj1.__private()
# obj2.call_private()
#

!e ```py
class Base:

def public(self):
    print("Public method")

# Declaring private method
def __private(self):
    print("Private method")

Creating a derived class

class Derived(Base):
def init(self):
# Calling constructor of
# Base class
Base.init(self)

def call_public(self):
    # Calling public method of base class
    print("\nInside derived class")
    self.public()

def call_private(self):
    # Calling private method of base class
    self.__private()

Driver code

obj1 = Base()

Calling public method

obj1.public()

obj2 = Derived()
obj2.call_public()

obj1.__private()

obj2.call_private()

obj1._Base__private()
obj2._Base__private()

wise cargoBOT
#

@paper tendon :white_check_mark: Your eval job has completed with return code 0.

001 | Public method
002 | 
003 | Inside derived class
004 | Public method
005 | Private method
006 | Private method
molten pewter
gentle flint
paper tendon
#

You'll be surprised how easy it is to measure current with a scope!
Free Oscilloscope Probing 101 Course ► https://bit.ly/KU_Blog_Probes101
Click to subscribe: http://bit.ly/Scopes_Sub

Probe Training Kit Download ► http://bit.ly/ProbingPitfalls
Probe Selection Guide ► http://bit.ly/2mtAzeW

How to measure current with an oscilloscope? Yo...

▶ Play video
gentle flint
rugged root
#

@glad sandal I have 2 pinned

#

I'll probably start writing out additional ones at some point

orchid barn
#

oof

tough delta
#
commands = os.listdir("./commands")
events = os.listdir("./events")
for filename in commands:
    if filename.endswith(".py"):
        print(filename)```
#

bot.load_extension(f"commands.{filename[:-3]}")

#

3.8

#

3.8.6

amber raptor
#

Or containers are awesome!

#

Esp for version testing

rugged root
#

I wonder....

willow light
gentle flint
rugged root
#
from pathlib import Path
p = Path('.')
print(list(p.glob('./commands'))
amber raptor
#

Distroless Docker images were pioneered by Google to improve security and container size. —> ⛔

#

Just no

paper tendon
#

!lgtfy

#

🙂

willow light
#

that’s a valid command here?

tough delta
#

[WindowsPath('commands')]

willow light
#

!lgtfy vorticity advection

#

!lmgtfy vorticity

#

I guess we don’t have that...:(

amber raptor
#

Nope

paper tendon
willow light
#

!wa vorticity

amber raptor
#

But your driving mods crazy

paper tendon
#

However my bot do have googlesearch addition 🙂

#

As well as wikipedia navigation

rugged root
#

print(list(p.glob('./commands/*.py'))

honest pier
#

i believe "lmgtfy" is a flagged word

willow light
#

Sorry mods

#

Glad to know, I’ll stop using it

rugged root
#

The lmgtfy isn't, but the url is

amber raptor
#

Anyways, I have read your distroless containers article, do not want.

willow light
#

Academic curiosity: what’s the worst aspect of it?

honest pier
#

why does russia get a tank with heatfs at 5.3 tho

willow light
#

Other than our shared dislike of Google, I mean

amber raptor
#

No debugger, no repo access, this is type of stuff google does because their scale problems, for anyone else’s, it’s likely to frustrate them and very little benefit

honest pier
willow light
honest pier
#

war thunder 🎉

amber raptor
#

Anytime anything starts with “Some FAANG company does this” you should ask yourself, do we need this and answer should start at no and you should provide overwhelming evidence to make it yes.

willow light
#

“Some FAANG company uses an internet connection”

honest pier
#

nah, we don't need that

amber raptor
#

🤦‍♂️🤦‍♂️

#

I was obviously talking about really high scale practices they do.

#

Like switch to this compiler because it compiles 20 seconds faster and builds are 3x smaller but won’t give you specific error messages. Few companies need that

willow light
#

I wouldn’t be surprised if my company had a policy that says that that is perfect for us to use based on that alone.

amber raptor
#

And frustration level will be higher for everyone

willow light
#

I’m increasingly convinced that ⅓ of our tech stack was designed to be frustrating.

orchid barn
#

what is LMTGY is used for? @willow light

willow light
rugged root
#
for filename in p.glob("./commands/*.py"):
    bot.load_extension(f"commands.{filename.stem}")
amber raptor
#

Just pointing out, so many average people just want to copy FAANG because "FAANG IS AWESOME" Good people should be like "does their methods make sense for what WE do?" and I find the answer more often then not is "Not really"

#

distroless containers are good example of that

willow light
#

Case in point: the company I’m at is adopting the Spotify model despite the test run failing catastrophically last year.

honest pier
#

what's the spotify model?

amber raptor
honest pier
#

a h

#

sounds like fun

willow light
#

Agile, but unnecessarily overengineered.

amber raptor
honest pier
#

as if agile wasn't already unnecessarily overengineered

amber raptor
#

There is Tribe/Squad/Chapter/Guilds with various people members of each

willow light
#

I’m in both the Apigee Squad and the SRE Chapter.

amber raptor
willow light
#

My uncle was one of the original authors of Scrum, and he fell off his chair laughing when I told him what we’re doing.

amber raptor
#

it's one of those "This worked at one company and everyone wants to pretend they are like that company"

#

Another example of Spotify model

#

it's one of those "This worked at one company and everyone wants to pretend they are like that company"

honest pier
#

lul

willow light
#

This is a case of “looking at someone else’s homework sheet for answers”

amber raptor
#

Each ‘Squad’ (which should have been called a Team) had multiple functional managers, one for each ‘Chapter’, which were just functional areas re-labeled: Testing, back-end, mobile, etc. Any disagreement within the team often had to be resolved between multiple managers, and without consensus, then had to be escalated to the Director of the ‘Tribe’ (Department). This is problem we have

#

All our QA report to QA Tribe Manager and he has his needs/wants where we have ours

#

so any fight becomes Manager Battle Royale

tough delta
#

import os
import discord
from discord.ext import commands
from pprint import pprint
import os
import json
from pathlib import Path
p = Path('.')

with open("./data/settings.json") as file:
    TOKEN = json.load(file)["discord_token"]
bot = commands.Bot(command_prefix="!",intents=discord.Intents.all())
#Commands
commands = p.glob('./commands/*.py')
events = p.glob('./events/*.py')
for filename in commands:
    bot.load_extension(f"commands.{filename.stem}")

for filename in events:
    bot.load_extension(f"events.{filename.stem}")

bot.run(TOKEN)```
willow light
#

Which is why I’m building a massive MS Teams Do Not Disturb logo out of lego to keep on my desk at all times.

#

The failings are already bearing rotten fruit. There’s one team for whom we are managing servers on mainframe because they keep pushing back their move to k8s. This is the second year of delays, now. Manager battle royale is a good description.

#

I can hear the steam coming out of Rabbit’s ears from reading that mess.

honest pier
#

!otn a manager-battle-royale

amber raptor
#

reason I say it's great at Removing Responsibility from Managers is different Chapter Managers will have different goals

#

I feel like great thing for OTN names would be removing them after use

willow light
#

Anyway, actually going for the walk now, about to lose internet for a short time. Yay Verizon....

dense ibex
#

I have Verizon too lol I swear I can't even go for a walk and listen to music sometimes.

#

and I am not in a new development lol

amber raptor
#

Check this out

honest pier
#

🦅 🔫

orchid barn
#

What is the probability that if we pick two-digit number the difference between the digits is 5?

honest pier
#

high

orchid barn
#

it's actually 0.1

molten pewter
#
orchid barn
#
L = []
for i in range(10,100):
    L.append((i//10, i % 10))

freq = 0

for x,y in L:
    if abs(x-y) == 5:
        freq += 1

print(f"probability that if we pick two-digit number the difference between \
      the digits is 5 is {freq/len(L)}")
#

!e

L = []
for i in range(10,100):
    L.append((i//10, i % 10))

freq = 0

for x,y in L:
    if abs(x-y) == 5:
        freq += 1

print(f"probability that if we pick two-digit number the difference between \
      the digits is 5 is {freq/len(L)}")
wise cargoBOT
#

@orchid barn :white_check_mark: Your eval job has completed with return code 0.

probability that if we pick two-digit number the difference between       the digits is 5 is 0.1
orchid barn
#
L = []
for i in range(10,100):
    L.append((i//10, i % 10))

freq = 0

for x,y in L:
    if abs(x-y) == 5:
        freq += 1

print(f"probability that if we pick two-digit number the difference between the digits is 5 is {freq/len(L)}")
#

!e

L = []
for i in range(10,100):
    L.append((i//10, i % 10))

freq = 0

for x,y in L:
    if abs(x-y) == 5:
        freq += 1

print(f"probability that if we pick two-digit number the difference between the digits is 5 is {freq/len(L)}")
wise cargoBOT
#

@orchid barn :white_check_mark: Your eval job has completed with return code 0.

probability that if we pick two-digit number the difference between the digits is 5 is 0.1
orchid barn
#

@honest pier

honest pier
#

mhm

orchid barn
#
16
27
38
49
50
61
72
83
94
#

if you think about it it's symmetrical up 2 50

#

so freq of A - B = 5, is actually 2

#

except for 50

#

ah nvm i can't count cause of 05 , 04, 03

honest pier
#

it "just works"™️

amber raptor
molten pewter
amber raptor
#

Desktop points to most recent version

#

Server always point to LTS

#

Ubuntu 20.10 isn't LTS

#

20.04 is LTS

#

@dense ibex this is what you get when you login into Windows Server Core

dense ibex
#

Oh ok, I thought it was GUI only

amber raptor
#

Nope

dense ibex
#

So that makes more sense now

amber raptor
#

Windows Server can be GUI installed

#

when you install, you get the option

#

like I love to make Active Directory Servers Windows Core to keep bads off it

normal belfry
#

hey guys, when you use .split() can you put the separator an uppercase?

#

like this: 'camelsHaveThreeHumps' // camels-have-three-humps

rugged root
#

Not exactly

#

There's two issues that you'd run into. First, when you split at something, it removes it. So if you split on the H, you'd be left with ['camels', 'aveThree', 'umps']

#

Another is that you can't specify multiple things to split on in the method call

#

@normal belfry Just to make sure you see this

normal belfry
#

ok, thanks

dense ibex
#

@honest pier for War Thunder you said the best things to upgrade are Horizontal drive, and parts correct?

honest pier
#

and fpe

dense ibex
#

okie

honest pier
#

and then tracks

dense ibex
#

@honest pier invite me when you are done I finished my game.

#

How to hell are you in 100 servers

#

like how do you find a specific server lol

honest pier
#

folders

dense ibex
#

ig... but still

paper tendon
honest pier
#

@dense ibex join :3

dense ibex
#

inv me again

#

oh that's not that bad at all

honest pier
#

@dense ibex what br are you

dense ibex
#

1.7

honest pier
#

wack

dense ibex
#

😢

#

Is it only letting you go down to 2.7?

#

nvm

frigid panther
#

yall playing war thunder, I just uninstalled war thunder yesterday, lol

honest pier
#

😔

#

join us :3

frigid panther
#

tmw :p

#

only tanks and planes

#

br 4.0

honest pier
#

what nation

frigid panther
#

I need to hit 250 at any cost!

frigid panther
honest pier
#

jake has only played germany

dense ibex
#

Yeah, and I am pissed.... I just get one shot like what

frigid panther
#

germany is OP af

honest pier
#

yeah

frigid panther
#

so thats why I play russian

honest pier
#

getting one-shot is quite common

frigid panther
#

play the great KV-1

#

op armor

honest pier
#

get penetrated from the front at like 500 meters

frigid panther
#

thats noob

#

pro shows armor with angle

honest pier
#

¯_(ツ)_/¯

#

even at angle you have to point your turret at the guy to kill him

#

you can pen the turret from the front

frigid panther
#

I mean...each tank has its weakness

honest pier
#

¯_(ツ)_/¯

#

gaijin is dumb tho

#

for some reason the tiger is at 5.3 ?

#

even though you can pen it from the front with the US 76mm, and literally any tank can just yeet the gunner and commander through the cupola

frigid panther
#

lol

#

but tiger got big gun

honest pier
#

mhm

paper tendon
#

interesting the embedding fails on the server

rugged root
#

Probably an API hiccup or bug

#

Happens from time to time

paper tendon
#

See more data and check out what we changed on the second day (which caused MENACE to learn a different strategy) in the second video: https://youtu.be/KcmjOtkULi4

Check out Matt Scroggs’s original blog post about MENACE and in the amazing Chalkdust magazine.
http://www.mscroggs.co.uk/blog/19
http://chalkdustmagazine.com/tag/menace/

Play again...

▶ Play video
winter pilot
#

damn

#

i need to write 50 messages to speak

dense ibex
#

Yeah it goes by quick. Just one good conversation and you should be able to hit it

paper tendon
#

@faint ermine ^

rugged root
harsh hazel
#

not sure who's gonna get to it first

#

but if it becomes an advertisement hell

#

i'll seriously consider moving to a different platform

amber raptor
#

No one

#

It will explode in debt fireball

harsh hazel
#

as if sony and microsoft haven't already as standalone companies

#

And of course, the Discord team would accept any offer to buy out their platform

#

because MONEY

amber raptor
#

My guess is neither company would buy discord at their valuation

stuck furnace
#

Btw, you can make the wrapped function look like the original function (same docstring etc.) using @functools.wraps.

stuck furnace
#

Ah right

faint ermine
#
@decor
def f():
    pass

is the same as

def f():
    pass
f = decor(f)
stuck furnace
#

Try this out 😄 ```py
def foo(self):
print(self)

m = foo.get(42)

print(type(foo), type(m))

m()

#

👀

#

So the type of functions has a special __get__ method.

#

When you access an attribute from a class instance, and it has the __get__ method, that method is called, and the instance is passed in as the argument.

#

For functions it returns a bound method.

#

A bound method is essentially a partially-applied function.

faint ermine
#

!e ```py
def dec(v):
print(type(v))

class A:
@dec
def f():
pass

@dec
def f():
pass

wise cargoBOT
#

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

001 | <class 'function'>
002 | <class 'function'>
stuck furnace
#

Yep, I don't think there's actually any way to tell them apart 🤔

#

Until you reach the end of the class, and the meta-class constructor is called, it's just a function.

#

I suppose you could check if the first argument is called self 😄

#

(Maybe don't do this...)

#

Maroloccio, if you want to learn more about the __get__ thing, I'll find some reading...

#

It's implementing something called the "descriptor protocol"

#

It took me a few attempts to really understand this 😅

#

He's probably done a talk on it at some point.

#

It is a little bit odd...

#

I mean the sudden decision to change.

#

But I don't really mind either way.

#

brb

faint ermine
molten pewter
faint ermine
#

@robust mesa just talk here

lucid pine
#

I'm ok

#

and i got a mic w/ me so i can go on voice

#

might not sound brilliant but i can be back

hallow warren
whole bear
#

ye

hollow marsh
#

hey

wispy island
#

Hey @digital granite

digital granite
wispy island
#

Sorry wrong ping

digital granite
clear shadow
#

Hey @somber heath

somber heath
#

Yahoy.

whole bear
fiery hearth
#

@paper tendon can u hear

paper tendon
#

We’re proud to present the first ever #escapegame for coders and non-coders. 🎲

Coding Escape is a unique game experience that you can play with your family, friends, or colleagues. It's a fun mix of riddles and coding puzzles, in 12+ programming languages.

Simply hunt for clues, solve brainteasers, communicate, code and voilà! 🧩

We’ve created...

▶ Play video
boreal spear
#
        from win32com.client.gencache import EnsureDispatch
        xlApp = EnsureDispatch("Excel.Application")
#

AttributeError: module 'win32com.gen_py.00020813-0000-0000-C000-000000000046x0x1x9' has no attribute 'CLSIDToClassMap'

#
import win32com
print(win32com.__gen_path__)
#

00020813-0000-0000-C000-000000000046x0x1x9

#
def PassProtect(Path, Pass):
    try:
        from win32com.client.gencache import EnsureDispatch
        xlApp = EnsureDispatch("Excel.Application")
    except:
        from sys import modules #This except is an attempt to deal with the system32 problem
        from re import match
        from shutil import rmtree
        from os import environ
        from os.path import join
        MODULE_LIST = [m.__name__ for m in modules.values()]
        for module in MODULE_LIST:
            if match(r'win32com\.gen_py\..+', module):
                del modules[module]
        rmtree(join(environ.get('LOCALAPPDATA'), 'Temp', 'gen_py'))
        
        from win32com.client.gencache import EnsureDispatch
        xlApp = EnsureDispatch("Excel.Application")
    
    xlwb = xlApp.Workbooks.Open(Path)
    
    xlApp.DisplayAlerts = False
    xlwb.Visible = False
    
    xlwb.SaveAs(Path, Password = Pass)
    
    xlwb.Close()
    
    xlApp.Quit()
#
import IPython
app = IPython.Application.instance()
app.kernel.do_shutdown(True)  
whole bear
#
f = open("words.txt", "r")
for i in f.readlines():
  list.append(i)
#

@lethal thunder

import sys, time
f = open((sys.argv[1]), "r", encoding='utf-8')
print(f.read())
time.sleep(100)
#

!e
import sys, time
f = open((sys.argv[1]), "r", encoding='utf-8')
print(f.read())
time.sleep(100)

wise cargoBOT
#

@whole bear :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 2, in <module>
003 | IndexError: list index out of range
whole bear
#

!e
import sys, time
f = open("test.txt", "r", encoding='utf-8')
print(f.read())
time.sleep(100)

wise cargoBOT
#

@whole bear :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 2, in <module>
003 | FileNotFoundError: [Errno 2] No such file or directory: 'test.txt'
whole bear
#

!e
import sys, time
f = open((sys.argv[0]), "r", encoding='utf-8')
print(f.read())
time.sleep(100)

wise cargoBOT
#

@whole bear :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 2, in <module>
003 | FileNotFoundError: [Errno 2] No such file or directory: '-c'
whole bear
#

!e
import sys, time
f = open((sys.argv[-1]), "r", encoding='utf-8')
print(f.read())
time.sleep(100)

wise cargoBOT
#

@whole bear :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 2, in <module>
003 | FileNotFoundError: [Errno 2] No such file or directory: '-c'
whole bear
#

!e
import requests

wise cargoBOT
#

@whole bear :x: Your eval job has completed with return code 1.

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

!e
import sys, time
f = open((sys.argv[1]), "r", encoding='utf-8')
print(f.read())
time.sleep(100)

wise cargoBOT
#

@whole bear :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 2, in <module>
003 | IndexError: list index out of range
whole bear
clear shadow
rugged root
#

@dense ibex Dude you literally disappeared as I hit the button to join

#

Like

#

Same moment

frigid panther
#

o/

#

hello hem, how are you doing

dense ibex
#

how are you doing @frigid panther ?

rugged root
#

I'm alright

frigid panther
#

how about you

#

btw

#

I started a minecraft instagram channel

dense ibex
dense ibex
frigid panther
#

oh, my online classes started last week too

#

there

#

time to exercise @dense ibex

dense ibex
#

I do thought that's the thing. I got for walks at least once every other day and I lift every other day as well.

frigid panther
#

btw, everything on my insta is built in survival

#

there is even a timelapse vid

dense ibex
#

Wow, I used to do a lot of building as well. But those builds are crazy

frigid panther
#

have you seen that stupidly powerful Italian AAA @honest pier

#

idk its name

frigid panther
#

wait I'll c

#

I installed war thunder btw

honest pier
whole bear
#

what is the fastest language?

dense ibex
honest pier
#

hieroglyphics

frigid panther
#

no no, it has a very english pronounceable name

#

I saw it in Phlydaily video

honest pier
#

R3 T20?

frigid panther
#

nop

#

game analysing files

honest pier
#

👀

frigid panther
#

its Otomatic

honest pier
#

i c i c

frigid panther
#

not actually a AAA

#

but very gud

#

and annoying

honest pier
#

isn't it spaa

frigid panther
#

not sure

honest pier
#

yeah

frigid panther
#

does not look like on tho, lol

honest pier
#

it's an spaa

frigid panther
#

alright

rugged root
honest pier
#

that's so bad

whole bear
#

hi

dense ibex
#

#bringbackoldspalshscreen

frigid panther
whole bear
frigid panther
#

give IGNs

honest pier
#

👀

#

SavagePastaMan

whole bear
honest pier
#

jake: PickSomething

#

@frigid panther

frigid panther
#

I have this german squadron plane

#

and this shit is so slow

honest pier
#

@dense ibex 👀

dense ibex
#

im logging in

rugged root
#

Any particular reason for this?

whole bear
#

nope

rugged root
#

Then don't

frigid panther
vivid palm
#

hallo

honest pier
#

hi

vivid palm
#

i am in a meeting and bored

honest pier
#

just leave

vivid palm
#

i'm listening though

#

and i'm needed maybe.. every 15 minutes

cedar solar
#

join every 15 minutes

dense ibex
frigid panther
rugged root
dense ibex
#

alright, that was my last game

#

I need to be somewhat productive today lol

frigid panther
#

alright

#

fun games

#

we should play planes next time

dense ibex
#

Yeah, just let me know when you guys wanna play!

swift valley
#

Greetings

frigid panther
#

have nitro classic or full version @dense ibex ?

swift valley
#

Browser hopping is fun

frigid panther
#

henlo @swift valley o/

frigid panther
#

ah okay

#

gtg for dinner

swift valley
#

Edge broke so here I am

rugged root
dense ibex
rugged root
#

@vivid palm Keyboard talk

#

How heavy is your keyboard

#

And or the average one

vivid palm
#

oh

dense ibex
#

damn that's a nice keyboard

#

I love the colors

vivid palm
#

case is 1.3kg without the switches and keycaps
there is a brass weight and a brass plate, thus the weight
case is alu

#

my other is POM (plastic), so not metal. but it also does have a brass weight.
https://store.projectkeyboard.com/collections/sirius/products/sirius-2

dense ibex
#

Wait, do you have the same color way that they show on the website? Or is yours different?

vivid palm
#

some boards can go upwards of like 6-8 lbs but that's way too much for me

#

my polaris is rose gold (of course)

honest pier
#

ugh

rugged root
vivid palm
honest pier
#

gamer font lmao

rugged root
#

I'm like

#

80% sure that top one is just made of marshmallows

#

Or some sort of Easter candy

vivid palm
#

hemlock did you ever got your pre-ordered keyboard?

rugged root
#

Supposed to get it today

#

Gonna double check the shipping info

dense ibex
vivid palm
#

they're also OEM profile and i much prefer cherry profile

rugged root
swift valley
#

I have TKL and it's pretty nice

#

I can prop it up on my lap easier

dense ibex
dense ibex
#

.catify

viscid lagoonBOT
#

Your catified nickname is: jake | ᓕᘏᗢ

dense ibex
#

.uncatify

#

😦

terse needle
#

.catify

viscid lagoonBOT
#

Your catified nickname is: KJ | ᓚᘏᗢ

terse needle
#

.decatify

pliant loom
#

.catify

viscid lagoonBOT
#

Your catified nickname is: Une | ᓕᘏᗢ

paper tendon
honest pier
#

@sweet flower

dense ibex
#

#!

paper tendon
viscid lagoonBOT
terse needle
#

.catify 267624335836053506

viscid lagoonBOT
#

267624335836053506 🐈

paper tendon
#

.catify @whole bear

viscid lagoonBOT
#

🐈 @lusty haven

paper tendon
#

.catify @ionic sinew

viscid lagoonBOT
#

@ionic sinew ᕂᘏᗢ

gentle flint
#

.catify jake

viscid lagoonBOT
#

jake ᓕᘏᗢ

gentle flint
#

.catify uicheichdrucf

viscid lagoonBOT
#

uicheichdrucf ᘡᘏᗢ

gentle flint
#

see

#

@dense ibex

paper tendon
#

.catify @pure willow

viscid lagoonBOT
#

ᓚᘏᗢ @pure willow

whole bear
#

?

#

lol

paper tendon
#

ok this dude is not on the server but its on other shared server.

honest pier
#

mina undeafened 🧐

dense ibex
#

it's a miracle

gentle flint
#

maybe soon we'll even get LX unmuted

unborn storm
rugged root
#

Actually just looking at the

paper tendon
#

nah mina woke up

vivid palm
#

we're on a break

unborn storm
glad sandal
#

.catify

viscid lagoonBOT
#

Your catified nickname is: FatyCaty.py :D | ᕂᘏᗢ

glad sandal
#

:DDD

#

I LOVE THIS

#

<33

vivid palm
#

^ are you not in VC?

unborn storm
amber raptor
glad sandal
mortal burrow
#

later guys

rugged root
#

Linus does for all kinds of them

vivid palm
#

column staggered but half the keys :o)

rugged root
#

I just... I just want to buy something that works

#

I'm too damn old

vivid palm
#

yeah this is not that lol

#

i still have the parts sitting in my room

rugged root
#

Not old

#

Jaded

paper tendon
gentle flint
rugged root
#

!stream 696634651875213322

wise cargoBOT
#

@unborn storm

✅ @unborn storm can now stream.

rugged root
#

!stream 816074283994054686

wise cargoBOT
#

@whole bear

✅ @warped turret can now stream.

honest pier
#

@hollow haven did you listen to the album 🥺

hollow haven
#

A bit, plan to listen to more of it later

honest pier
#

👀

#

which bit tho

glad sandal
#

Ok guys i know this is not the right moment

#

but

hollow haven
#

uhhhh, the first 3 songs?I just hit play and didn't look at some names

#

*song

glad sandal
#

i have a big problem with my pc...

honest pier
#

o

glad sandal
#

anyone wanna help me?

clear shadow
#

Hey there!

glad sandal
#

ill just go to code help

gentle flint
#

worling worling worling worling worling around

#

and all that I can see

glad sandal
gentle flint
#

is just a yellow lemon tree

rugged root
glad sandal
#

....

#

ill show a screen pic

#

This is my personal pc

#

not a school pc

hollow haven
#

Are you an admin or do you have admin permissions?

glad sandal
#

i think so

#

99% sure

#

i can check in control pannel

honest pier
#

my tank's engine sounds like a fuckin lawnmower

glad sandal
#

I am

#

Im an admin...

#

shit

#

sorry

#

i think

#

Wow my internet is slow

#

Lol

#

I typed those words for like 20 seconds ago

#

I mean I have had some internet issues

#

But um

glad sandal
#

And I’m worried

gentle flint
hollow haven
#

Okay, so, do you have 3rd party anti virus?

gentle flint
#

explains why these guys look like that

glad sandal
#

Lmao

#

Malware bytes and norton

#

At the same time

hollow haven
#

It's likely then that those are interfering and blocking you from changing settings. I would disable/uninstall and see if it helps

glad sandal
#

I would like to just say this

#

I only use malware bytes for scans

#

And quit it when I’m done

#

So Norton could be the issue...

#

I’m trying to add protective folders

glad sandal
#

Is there any way I can do this without disabling Norton?

#

Cause Norton has saved my pc

#

Many times...

hollow haven
#

It's probably Norton interfering with it, so I would start there. You could start messing with group policies or disables windows defender as a whole

glad sandal
#

Ok thanks 😊

swift valley
#

as much as I find my hyperfocus useful, it's really bad for understanding stuff ex post facto

i basically ported the words function from Haskell into type-level PureScript and I have no idea how it works

whole bear
#
@bot.command()
async def staff(ctx, user: discord.Member):
    if ctx.author.id in administrators:
        role = discord.utils.get(ctx.guild.roles, name="Support")
        embed = discord.Embed(title="Accepted as support", description=f"Hello, {user.name}\n You have been accepted as staff for {user.guild.name}.\n Please reply with `yes` if you wanna be staff, If no reply with `no`.")
        await user.send(embed=embed)``` so  i wanna make it where they reply to the dm with yes or no and it replies back how would I do that?
glad sandal
#

@hollow haven I just found the issue

#

The problem is that you have to have windows defenders real time protection to be able to use protected folders

#

So I think that’s why

whole bear
#

"No user is associated with the committer email." on an "unverified" labelled commit is what I've finally gotten after giving github my gpg key, telling git about it, and telling git to sign my commits. I used my github no-reply email as their own tutorial suggested. I feel like an idiot. Any advice?

swift valley
#

@whole bear are your commits made under the no-reply email as well?

whole bear
#

I believe so?

#

I'm not sure how to check

swift valley
#

git log should be able to tell

whole bear
#

aah, they are not

#

right, fixing that

#

fucking

#

finally

molten pewter
whole bear
#

😓

#

Oskar is shining here

#

😄

dense ibex
#

Wow, I honestly can't believe this. 😆

rugged root
dense ibex
#

!server

wise cargoBOT
#
Server Information

Created: 4 years, 3 months and 26 days ago
Voice region: europe
Roles: 80
Member status: status_online 53561 status_offline 137487

Members: 191047

Helpers: 108
Moderators: 29
Admins: 15
Owners: 3
Contributors: 38

Channels: 216

Category: 26
News: 11
Staff: 61
Text: 108
Voice: 10

cerulean moth
dense ibex
#

Why thank you!!

#

I'll be back in a bit gonna hop down to vc1

vivid palm
#

@dense ibex congrats!!! now that you're helper can you please help me with my super advanced pandas problem kthx!!! party party party

gentle flint
#

found another nice single
this is a good music day
https://www.youtube.com/watch?v=-6TS7eiKZO8

A short film visualising the track ‘Flow, In The Year Of Wu Wei’ that was released back in June 2020. About the power of creative spirit that in times of crisis, is forced out of a space of comfort into radical new perspectives and forms of expression to find meaning and make sense of the things we cannot control and cannot really explain.

Sho...

▶ Play video
gentle flint
#

@dense ibex question for you
I have an exception inside an exceptions.py file, in an exceptions dir (which also contains __init__.py and handler.py, under the main project dir
flightplandb.exceptions.exceptions.NotFoundException
how do I make it namespace as
flightplandb.NotFoundException

#

and should I even do that

rugged root
#

!stream 412009418670997536

wise cargoBOT
#

@terse needle

✅ @terse needle can now stream.

gentle flint
rugged root
gentle flint
terse needle
#

I have to go have go, have a good one.

gentle flint
#
#

ugly ford

mortal burrow
gentle flint
flat sentinel
#

@gentle flint

wise cargoBOT
#

Hey @flat sentinel!

Uh-oh! It looks like your message got zapped by our spam filter. We currently don't allow .txt attachments, so here are some tips to help you travel safely:

• If you attempted to send a message longer than 2000 characters, try shortening your message to fit within the character limit or use a pasting service (see below)

• If you tried to show someone your code, you can use codeblocks
(run !code-blocks in #bot-commands for more information) or use a pasting service like:

https://paste.pythondiscord.com

flat sentinel
gentle flint
#

baby don't hurt me

#

no more

flat sentinel
wild sable
#

hello guys, can someone help me in sqlalchemy queries pls?

uncut meteor
#
class BaseException(Exception):
    __module__ = "Exception"
flat sentinel
#

this is soo cool

uncut meteor
#

!help stream

wise cargoBOT
#
Command Help

!stream <member> [duration]
Can also use: streaming

*Temporarily grant streaming permissions to a member for a given duration.

A unit of time should be appended to the duration.
Units (∗case-sensitive):
y - years
m - months∗
w - weeks
d - days
h - hours
M - minutes∗
s - seconds

Alternatively, an ISO 8601 timestamp can be provided for the duration.*

uncut meteor
#

!stream @terse needle 30M

wise cargoBOT
#

@terse needle

✅ @terse needle can now stream.

stuck furnace
#

What you guys doing?

#

Erm, who was that? 🤨

#

Ah well.

severe pulsar
#
from typing import Optional
def func(param: Optional[str] = None):
  ...
paper tendon
severe pulsar
#

lets go EMOJI COMMITS FOR THE WIN

#

@ Griff's the kind of developer who enjoys writing tests more than the actual source code 😅

severe pulsar
#

🤣

rugged root
#

I really need to buckle down and learn it

uncut meteor
#

@uncut meteor

rugged root
#

It's been on my short list of things to do

uncut meteor
#

@severe pulsar

vivid palm
#

@severe pulsar @severe pulsar @severe pulsar

severe pulsar
#

I love being pinged

#

:)

frigid panther
stuck furnace
#

You're treading a fine line Mina! 😄

severe pulsar
vivid palm
frigid panther
#

!eval

pings = "@severe pulsar"*200
print(pings)```
wise cargoBOT
#

@frigid panther :white_check_mark: Your eval job has completed with return code 0.

<@​481064298932731915><@​481064298932731915><@​481064298932731915><@​481064298932731915><@​481064298932731915><@​481064298932731915><@​481064298932731915><@​481064298932731915><@​481064298932731915><@​481064298932731915><@​481064298932731915><@​481064298932731915><@​481064298932731915><@​481064298932731915><@​481064298932731915><@​481064298932731915><@​481064298932731915><@​481064298932731915><@​481064298932731915><@​481064298932731915><@​481064298932731915><@​481064298932731915><@​481064298932731915><@​481064298932731915><@​481064298932731915><@​481064298932731915><@​481064298932731915><@​481064298932731915><@​481064298932731915><@​481064298932731915><@​481064298932731915><@​481064298932731915><@​481064298932731915><@​481064298932731915><@​481064298932731915><@​481064298932731915><@​481064298932731915><@​481064298932731915><@​481064298932731915><@​481064298932731915><@​481064298932731915><@​481064298932731915><@​481064298932731915><@​481064298932731915><@​481064298932731915><@​4810642
... (truncated - too long)

Full output: https://paste.pythondiscord.com/yibidiyibo.txt?noredirect

stuck furnace
severe pulsar
#

👀

severe pulsar
severe pulsar
#

lmao

severe pulsar
#

until he outright just disagrees

#

its so non-confrontational until he explicitly says the word "disagree"

stuck furnace
severe pulsar
#

mmmkay

#

top 10 messages with threatening auras

frigid panther
#

o/

dense ibex
#

@honest pier

severe pulsar
#

nickname is accurate

honest pier
#

wow