#voice-chat-text-0

1 messages · Page 855 of 1

whole bear
#

How do you write this in a box like this

copper stream
gentle flint
glad sandal
whole bear
flat sentinel
#

me only knowing c#

#

brb

whole bear
#

@gentle flint can you show me how to do this way in a box idk i am allowed to ping you or not but you were the first person i met soo i am pinging you

gentle flint
#

you're allowed to ping me, but I'm not gonna show you, 'cuz I'm busy rn with smth else

whole bear
#

Hmm ok np

candid venture
tawny heron
candid venture
#
import importlib.util
spec = importlib.util.spec_from_file_location("module.name", "/path/to/file.py")
foo = importlib.util.module_from_spec(spec)
spec.loader.exec_module(foo)
foo.MyClass()
gentle flint
#

@pseudo idol please stop

#

either join or leave

pseudo idol
knotty flare
#

@ionic ferry which one?

ionic ferry
uncut meteor
#

Redis

upbeat leaf
crimson copper
#

kotlin is great

#

kotlin is strongly typed

#

statically typed

#

type inference

#

right

#

it's much better than java

#

ah yes, the language is defined by how if statements look

gloomy vigil
#

val = const?

crimson copper
#

yes

#

well

#

not a C const

#

like a java final

#

anything that supports java can support kotlin

#

yes it is

gloomy vigil
crimson copper
#

have you used it? have you used kotlin?

#

@glad sandal

gloomy vigil
#

and that is good

crimson copper
#

no, kotlin is literally a straight upgrade compared to java

#

everything in kotlin is better

gloomy vigil
crimson copper
#

huh?

gloomy vigil
#

yes

crimson copper
#

ok?

gloomy vigil
#

and hashmaps are also defined like cpp

crimson copper
#

what's your point

gloomy vigil
#

nothing i was just looking at the docs

crimson copper
#

converting from c# to java?? yikes

#

95

#

but c# is better

#

oracle bad

#

microsoft good

#

type inference

#

no, that would be terrible

#

iirc pydantic can help you with that

#

statically typed languages can ensure what you get in json

#

yes you do

#

that's the point, it has 1 type

#

in a statically typed language, you need to declare the structure of the thing you're trying to parse

#

if you can't parse the json into that type it fails

#

json module can only deal with a subset of the builtin types. to serialize other stuff you need to make your own json serializer thing

amber raptor
#

!e python import json json_string = '{"string": "Hello World","number":12345}' json_values = json.loads(json_string) print(type(json_values['string'])) print(type(json_values['number']))

crimson copper
#

you'll need to print those too

wise cargoBOT
#

@amber raptor :white_check_mark: Your eval job has completed with return code 0.

001 | <class 'str'>
002 | <class 'int'>
vivid palm
#

@upbeat leafdo you design pcbs? 👀 see you're in the ai03 server

upbeat leaf
#

Ya, as a hobby

vivid palm
#

only for yourself?

crimson copper
#

java is pretty bad

upbeat leaf
#

For now, yes. Don't think I can design professionally for others yet

amber raptor
crimson copper
#

yeah, definitely agree

uncut meteor
#

!e

from dataclasses import dataclass


@dataclass
class Person:
    first_name: str
    last_name: str


griff = Person("Gri", "ff")

print(griff)

print(vars(griff))


example = {
    "first_name": "The",
    "last_name": "Gambler"
}

gambler = Person(**example)
print(gambler)
wise cargoBOT
#

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

001 | Person(first_name='Gri', last_name='ff')
002 | {'first_name': 'Gri', 'last_name': 'ff'}
003 | Person(first_name='The', last_name='Gambler')
uncut meteor
#

!e```py
from dataclasses import dataclass

@dataclass
class Person:
first_name: str
last_name: str

def __init__(self, *args, **kwargs):
    super().__init__(**{k: v for k, v in kwargs if k in Person.__slots__})

griff = Person("Gri", "ff")

print(griff)

print(vars(griff))

example = {
"first_name": "The",
"last_name": "Gambler",
"Something": "Weird"
}

gambler = Person(**example)
print(gambler)

#

!ping

crimson copper
#

!e print("e")

wise cargoBOT
#

@crimson copper :white_check_mark: Your eval job has completed with return code 0.

e
crimson copper
#

lul

uncut meteor
#

!e

from dataclasses import dataclass


@dataclass
class Person:
    first_name: str
    last_name: str

    def __init__(self, *args, **kwargs):
        super().__init__(**{k: v for k, v in kwargs if k in Person.__slots__})


griff = Person("Gri", "ff")

print(griff)

print(vars(griff))


example = {
    "first_name": "The",
    "last_name": "Gambler",
    "Something": "Weird"
}

gambler = Person(**example)
print(gambler)
wise cargoBOT
#

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

001 | Traceback (most recent call last):
002 |   File "<string>", line 15, in <module>
003 |   File "/usr/local/lib/python3.9/dataclasses.py", line 370, in wrapper
004 |     result = user_function(self)
005 |   File "<string>", line 3, in __repr__
006 | AttributeError: 'Person' object has no attribute 'first_name'
crimson copper
#

probably timed out

hushed dragon
uncut meteor
#

!e

from dataclasses import dataclass


@dataclass
class Person:
    first_name: str
    last_name: str

    def __init__(self, **kwargs):
        for k, v in kwargs.items():
            if k in self.__dataclass_fields__:
                setattr(self, k, v)



example = {
    "first_name": "The",
    "last_name": "Gambler",
    "Something": "Weird"
}

gambler = Person(**example)
print(gambler)
wise cargoBOT
#

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

Person(first_name='The', last_name='Gambler')
crimson copper
#

wsl

#

does that even support wsl lol

#

oh you're not arst neio anymore

vivid palm
#

wdym

upbeat leaf
vivid palm
#

i am asdf jk;l

crimson copper
#

wow

vivid palm
#

jkl;

crimson copper
#

electron

#

all versions

uncut meteor
#

!e

class Dataclass:
    def __init__(self, **kwargs) -> None:
        for k, v in kwargs.items():
            if k in self.__annotations__:
                type = self.__annotations__[k]
                if issubclass(type, Dataclass):
                    setattr(self, k, type(**v))
                else:
                    setattr(self, k, type(v))

    def __repr__(self) -> str:
        return f"{self.__class__.__name__}({', '.join(f'{k}={getattr(self, k)}' for k in self.__annotations__)})"


class Name(Dataclass):
    first: str
    last: str


class Person(Dataclass):
    name: Name
    eye_colour: str


example = {
    "name": {
        "first": "The",
        "last": "Gambler"
    },
    "eye_colour": "Blue",
    "Something": "Weird"
}

gambler = Person(**example)
print(gambler)
wise cargoBOT
#

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

Person(name=Name(first=The, last=Gambler), eye_colour=Blue)
wise cargoBOT
#

flightplandb/datatypes.py line 537

sunrise: datetime```
uncut meteor
#

!e

from dataclasses import dataclass


@dataclass
class Name:
    first: str
    last: str

@dataclass
class Person:
    name: Name
    eye_colour: str


example = {
    "name": {
        "first": "The",
        "last": "Gambler"
    },
    "eye_colour": "Blue",
    "Something": 123
}

gambler = Person(**example)
print(gambler)
wise cargoBOT
#

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

001 | Traceback (most recent call last):
002 |   File "<string>", line 24, in <module>
003 | TypeError: __init__() got an unexpected keyword argument 'Something'
uncut meteor
#

!source

wise cargoBOT
crimson copper
#

check out snekbox

#
          +-------------+           +-----------+
 input -> |             |---------->|           | >----------+
          |  HTTP POST  |           |  SNEKBOX  |  execution |
result <- |             |<----------|           | <----------+
          +-------------+           +-----------+
             ^                         ^
             |                         |- Executes python code
             |                         |- Returns result
             |                         +-----------------------
             |
             |- HTTP POST Endpoint receives request and returns result
             +---------------------------------------------------------
#

yeah

#

new docker thing

#

it runs inside nsjail

strong arch
#

@uncut meteor im getting @ ed a whole bunch of times

uncut meteor
#

ED?

strong arch
#

i meant @ ed

crimson copper
#

holy shit

#

WAYTOODANK

#

and rabbit somehow sounds worse

#

it's so bad

amber raptor
crimson copper
#

they don't actually use this

#

geno's was really bad

#

ehhh

#

it's ok

#

"you're an old man, kid"

gentle flint
#

ancient wizened nineteen-year-old

crimson copper
#

windows terminal is awesome

#

except for one thing

strong arch
#

and other hilarious jokes u can tell urself

crimson copper
#

have you used it?

#

it's actually great

gentle flint
#

I have used it

#

I fled

crimson copper
#

it's amazing

#

not cmd

#

it's like tmux, kinda

strong arch
#

sees cmd
runs like hell

crimson copper
#

it's great ¯_(ツ)_/¯

#

except you can't see the character under the cursor if the text is a bright color

strong arch
#

ok but like urxvt exists

crimson copper
#

not on windows lol

strong arch
#

are u sure about that

crimson copper
#

🤔

#

pfft, 20 year olds don't exist

tacit fog
#

@old otter can you check how many messages have i send?

crimson copper
#

just use the search bar

tacit fog
crimson copper
#

it still exists

tacit fog
#

@crimson copper can you check and tell me

crimson copper
#

just use the search function

old otter
tacit fog
strong arch
#

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

tacit fog
#

!voice

gentle flint
#

read the embed

#

@tacit fog

tacit fog
wise cargoBOT
#

Voice verification

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

gentle flint
#

^there

crimson copper
#

it's 36 degrees outside :/

tacit fog
#

@gentle flint i am not able to find

crimson copper
#

follow the arrow in his message

tacit fog
crimson copper
#

😢

#

i don't exist

#

xd

#

the other vc seems populated

tacit fog
#

@crimson copper what is activity block

crimson copper
#

a time when you're active

tacit fog
#

@old otter how many activity block do i need?

crimson copper
#

3 iirc

tacit fog
crimson copper
#

3

tacit fog
#

@crimson copper i have 6

crimson copper
#

ok

tacit fog
#

@crimson copper but why aren't they verifying my voice

gentle flint
#

doesn't it say why in the channel when you type !verify there

crimson copper
#

have you tried to verify in the channel

#

stop pinging people and read the instructions

tacit fog
crimson copper
#

did you read the instructions

gentle flint
#

@crimson copper he's already verified

hollow cape
crimson copper
#

i got that from the phrase "now i can"

gloomy vigil
#

File "F:/PyCharm/tkinter_0/main.py", line 17, in <module>
buttons[Button(gui, f"{button_name}", command=lambda: on_click(button_name))] = (math.ceil(button_name / 3), button_name % 3)
ValueError: dictionary update sequence element #0 has length 1; 2 is required

buttons = {}
for button_name in range(10):
    buttons[Button(gui, f"{button_name}", command=lambda: on_click(button_name))] = (math.ceil(button_name / 3), button_name % 3)
crimson copper
#

ok, and

#

1560 is not good enough for those colleges

#

no

#

i have friends who got in this year

gentle flint
gloomy vigil
crimson copper
gentle flint
#

o

crimson copper
#

rabbit's right. you know you want to go to harvard when you're like 10

#

cmu

gentle flint
crimson copper
#

same

gloomy vigil
gentle flint
crimson copper
#

@amber raptor you're cutting out

gloomy vigil
#

@gentle flint

#

wdym

gentle flint
#

wdym with a random dot

crimson copper
#

idk about your chances for harvard..

gloomy vigil
#

File "F:/PyCharm/tkinter_0/main.py", line 17, in <module>
buttons[Button(gui, f"{button_name}", command=lambda: on_click(button_name))] = (math.ceil(button_name / 3), button_name % 3)
ValueError: dictionary update sequence element #0 has length 1; 2 is required

buttons = {}
for button_name in range(10):
    buttons[Button(gui, f"{button_name}", command=lambda: on_click(button_name))] = (math.ceil(button_name / 3), button_name % 3)
#

help me with this

#

not that .

#

@gentle flint

gentle flint
#

ah

#

maybe if you split it up into multiple lines it would be a tad easier to debug
that line is at least 125 characters

hushed dragon
#

CODE:

from flask import Flask
app = Flask('app')

@app.route('/')
def index():
  return app.send_static_file('./index.html')

app.run(host='0.0.0.0', port=8080)

File System:

#

Send help

gloomy vigil
hushed dragon
#

Error:

crimson copper
#

try just ...static_file("index.html")

hushed dragon
#

same error

gloomy vigil
#
button = Button(gui, f"{button_name}", command=lambda: on_click(button_name))
buttons[button] = (math.ceil(button_name / 3), button_name % 3)

@gentle flint

gentle flint
#

so what error does it give then

gloomy vigil
#

File "F:/PyCharm/tkinter_0/main.py", line 17, in <module>
buttons[Button(gui, f"{button_name}", command=lambda: on_click(button_name))] = (math.ceil(button_name / 3), button_name % 3)
ValueError: dictionary update sequence element #0 has length 1; 2 is required

#

this

gentle flint
#

that's the old error

#

what's the error with the new code

gloomy vigil
gentle flint
#

the full error

gloomy vigil
#

ValueError: dictionary update sequence element #0 has length 1; 2 is required

#

Traceback (most recent call last):
File "F:/PyCharm/tkinter_0/main.py", line 17, in <module>
button = Button(gui, f"{button_name}", command=lambda: on_click(button_name))
File "C:\Users\Ibrahim\AppData\Local\Programs\Python\Python38\lib\tkinter_init_.py", line 2645, in init
Widget.init(self, master, 'button', cnf, kw)
File "C:\Users\Ibrahim\AppData\Local\Programs\Python\Python38\lib\tkinter_init_.py", line 2559, in init
cnf = cnfmerge((cnf, kw))
File "C:\Users\Ibrahim\AppData\Local\Programs\Python\Python38\lib\tkinter_init
.py", line 111, in _cnfmerge
cnf.update(c)
ValueError: dictionary update sequence element #0 has length 1; 2 is required

gentle flint
#

thanks

gloomy vigil
#

any idea?

gentle flint
#

I'm looking

crimson copper
#

argument to update needs a structure something like this, list[tuple[Any, Any]]

#

yours is not, so it errors

gloomy vigil
#

how to resolve

#

it then

crimson copper
#

read the docs for the Button class

gentle flint
#

what if you replace it with

button = Button(gui, text=str(button_name), command=lambda: on_click(button_name))
#

and what does that lambda do

crimson copper
#

isn't that the exact same

gentle flint
#

nope

#

because there are other optional arguments in between

gloomy vigil
#
def on_click(button_arg):
   visible_tui.insert(0, button_arg)
gentle flint
#

I replaced the f-string with str because it was just plain confusing

gentle flint
#

what's the lambda for in this case

gloomy vigil
#

i have also tried using partial

#

instead of lambda

gentle flint
#

what are you trying to do when you click the button?

crimson copper
#

where do they get money from

#

LOL 7000

gentle flint
#

generally you just put in command= a normal python command to be run when the button is clicked

gloomy vigil
#

this

gentle flint
#

is visible_tui global?

#

you haven't defined it in there

amber raptor
#

@vivid palm got a link to State Sponsor Canada Universities

crimson copper
#

oh you're gonna run into the late binding lambda gotcha @drowsy summit

vivid palm
#

so did i.. but wikipedia says

#

public

#

idk if that's the same thing

amber raptor
#

State Sponsor is public

gloomy vigil
#

but then it should give local_variable assigned before assignment and not that ValueError

gentle flint
#

I know

#

it's a separate error, I think

#

which it never reaches

crimson copper
#

what's the current code and error?

gentle flint
#

his code is

#
button = Button(gui, text=str(button_name), command=lambda: on_click(button_name))
crimson copper
#

the for loop?

#

that's not it right

gentle flint
#

For the life of me I do not understand the point of his lambda

crimson copper
#

what would you do instead?

gentle flint
#

the error is then

ValueError: dictionary update sequence element #0 has length 1; 2 is required
[22:26]
Traceback (most recent call last):
  File "F:/PyCharm/tkinter_0/main.py", line 17, in <module>
    button = Button(gui, text=str(button_name), command=lambda: on_click(button_name))
  File "C:\Users\Ibrahim\AppData\Local\Programs\Python\Python38\lib\tkinter__init.py", line 2645, in init
    Widget.init(self, master, 'button', cnf, kw)
  File "C:\Users\Ibrahim\AppData\Local\Programs\Python\Python38\lib\tkinter__init.py", line 2559, in init
    cnf = _cnfmerge((cnf, kw))
  File "C:\Users\Ibrahim\AppData\Local\Programs\Python\Python38\lib\tkinter__init__.py", line 111, in _cnfmerge
    cnf.update(c)
ValueError: dictionary update sequence element #0 has length 1; 2 is required
crimson copper
#

it needs a callable to store and call later

amber raptor
#

The province of Ontario has 24 publicly funded colleges, known as Colleges of Applied Arts and Technology (CAATs). In 2003, five CAATs (Humber, Sheridan, Conestoga, Seneca, and George Brown) were designated as Institutes of Technology and Advanced Learning.
Most Ontario colleges were founded between 1965 and 1967, after the passage of Minister o...

crimson copper
#

K bec

gentle flint
gloomy vigil
#

it gives same error

gentle flint
#

what does it say then

#

wait wut

crimson copper
gloomy vigil
#
Traceback (most recent call last):
  File "F:/PyCharm/tkinter_0/main.py", line 17, in <module>
    button = Button(gui, str(button_name), command=visible_tui.insert(0, button_name))
gentle flint
#

and the rest is identical?

#

like

#

completely?

gloomy vigil
#

yes pure

gentle flint
#

I'm intrigued

#

but

#

you now have str(button_name)

#

try doing text=str(button_name)

gloomy vigil
#

you could have said that before

crimson copper
#

he did

gloomy vigil
#

instead of prolonging this

gentle flint
#

I said it right from the start

gloomy vigil
#

for like 30 min

crimson copper
#

he did

gentle flint
#

you just didn't look

gloomy vigil
#

where he just said to do str(button_name)

gentle flint
#

see here

crimson copper
#

virginia tech?

gentle flint
#

it has text=

amber raptor
#

I'm on the east coast

gentle flint
#

now go see if that fixes it instead of blaming me for trying to help you

amber raptor
#

just saying, many states have very decent universities

crimson copper
#

is florida east coast?

gloomy vigil
#

i just can't see

amber raptor
#

yes

gentle flint
#

yeah

crimson copper
#

i guess it is but like, it doesn't have the same vibe

#

you know?

amber raptor
#

East Coast has different vibes

crimson copper
#

brython is interesting

amber raptor
#

you have Boston, NYC, Philly, DC, Charleston and Florida that all have different cultures

hushed dragon
crimson copper
#

python in browser, like js

amber raptor
#

If you want to experience some of that culture difference, attend Red Sox and Yankee game

crimson copper
#

i don't really listen to music

wise cargoBOT
#

Hey @versed island!

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

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

amber raptor
crimson copper
#

you were there for that!

vivid palm
#

do you remember subway series DogeKek

amber raptor
#

Yep

vivid palm
#

i'm ancient

amber raptor
#

I'm not a big baseball fan

#

but I enjoy occasional game

wise cargoBOT
#

Hey @versed island!

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

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

crimson copper
#

third time's the charm

vivid palm
#

i chose to be a mets fan simply bc everyone else was a yankees fan

crimson copper
#

the bot won't catch you this time

#

lol, trueee

amber raptor
#

:grenade: thrown

versed island
#

Github Copilot

crimson copper
versed island
#

@hushed dragon try browser sync

crimson copper
#

i don't agree @strong arch , there's no reason you can't learn about types in python

versed island
amber raptor
crimson copper
#

it will force you though 🤔, it's strongly typed, it won't coerce things, so you'll get type errors

amber raptor
#

!e python a = 1 b = "Hello World" print(a+b)

strong arch
#

!e

def f(x: int):
  print(x)
f("yes")
wise cargoBOT
#

@amber raptor :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 3, in <module>
003 | TypeError: unsupported operand type(s) for +: 'int' and 'str'
crimson copper
#

geno has a loud keyboard 😔

wise cargoBOT
#

@strong arch :white_check_mark: Your eval job has completed with return code 0.

yes
crimson copper
#

that's not what i meant

#

uh, that's not what matters

#

not in teaching a beginner what a type is

hushed dragon
#

!e

print("UwU")```
crimson copper
#

rust forces you to use string formatting

#

println!("{}", 5)

#

it can only print &str

#

owned strings

#

rust is awesome because the compiler fixes everything for you

#

and the docs are even more amazing

#

not rote mem though, you just know it because you've practiced

hushed dragon
#
print("aaa");


crimson copper
#

it'll never pass code review so who cares

strong arch
#

code review? what's that

#

/s

crimson copper
#

no, code review is your colleagues after you make a PR

#

static analysis should be run before that

#

yeah, flake8 probably flags that

#

black probably removes them

#

yeah, black removes them

hushed dragon
amber raptor
#

!e python a = 0; print("Hello world");

wise cargoBOT
#

@amber raptor :white_check_mark: Your eval job has completed with return code 0.

Hello world
amber raptor
#

!e python a = 0;print("hello World");

wise cargoBOT
#

@amber raptor :white_check_mark: Your eval job has completed with return code 0.

hello World
amber raptor
#
a = "This is a really long string that is longer then 80 char. Hello World, the quick brown fox jumped over the lazy dog"```
hushed dragon
#
a = "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum."```
amber raptor
#
if a ==0 and b == 5 and c == 6 and d == "The quick brown fox jumped over the lazy dog"```
#
ervice_bus_message ={
        'type': 'reactionadd',
        'channel_id': reaction.message.channel.id,
        'guild_id': reaction.message.guild.id,
        'message_id': reaction.message.id,
        'emoji_id': reaction.emoji.id,
        'emoji_name': reaction.emoji.name,
        'message_author_id': reaction.message.author.id,
        'reaction_author_id': user.id,
        'message_author_name': reaction.message.author.display_name
    }```
hushed dragon
#

!e

print("Hi User, ");
print("How are you?");
wise cargoBOT
#

@hushed dragon :white_check_mark: Your eval job has completed with return code 0.

001 | Hi User, 
002 | How are you?
hushed dragon
#

!e

print("Hi User, ");print("How are you?");
wise cargoBOT
#

@hushed dragon :white_check_mark: Your eval job has completed with return code 0.

001 | Hi User, 
002 | How are you?
amber raptor
#

!e powershell Write-Host "Hello World"

wise cargoBOT
#

@amber raptor :x: Your eval job has completed with return code 1.

001 |   File "<string>", line 1
002 |     Write-Host "Hello World"
003 |                ^
004 | SyntaxError: invalid syntax
hushed dragon
jaunty pendant
#

Hwlo there

gentle flint
#

@jaunty pendant hi

jaunty pendant
#

E

gentle flint
#

have a pic of a weird-looking dog

jaunty pendant
#

Eh?

#

That dont look weird

gentle flint
#

no tail

jaunty pendant
#

Oh

#

Shit

#

LMAO

gentle flint
#

same dog

jaunty pendant
#

Oh god..

hushed dragon
#

Python 3.8.2

gentle flint
jaunty pendant
#

Why are we looking at pics of dogs with no tails

gentle flint
#

idk

#

there's also a cat breed with no tail

jaunty pendant
#

...

gentle flint
jaunty pendant
#

There is also a monkey breed with nk tale

gentle flint
#

it frankly looks ridiculous

jaunty pendant
#

Lol

jaunty pendant
gentle flint
#

cats can get anywhere

jaunty pendant
#

Dont make the joke

#

Just

#

Dont

strong arch
#

/r/thecatdimension

jaunty pendant
#

no

gentle flint
#

k

jaunty pendant
#

Bad PH

#

Also i have been thinking of making a render engine in python

gentle flint
#

that doesn't seem like a very good idea

#

it would probably be quite slow

jaunty pendant
#

Yes no shit lmao

hushed dragon
jaunty pendant
gentle flint
#

I hope you're not being serious

jaunty pendant
#

I

#

Was

#

And thats the funny part

#

Brb

hushed dragon
#

@faint ermine How do you find that header?

faint ermine
#

devtools?

#

how do you find any header

hushed dragon
amber raptor
#
Invoke-webrequest google.com | select -expandproperty header```
vivid palm
#

@soft kelpplease read the instructions in the voice verification channel

#

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

vivid palm
#

there are requirements you have to meet. once met, type the command that is listed there

soft kelp
#

@vivid palm ok thank you btw I understand the blocked me

vivid palm
#

i didn't block you, just blocked all DMs :P

#

i only open them temporarily as needed

soft kelp
#

@vivid palm no problem have a great day

amber raptor
#

statistics are clear, native apps do a ton better then cross platform

#

or browser only

dense ibex
#

Hey

#

It’s terrible

#

People are such assholes

vivid palm
#

statistics are clear, NY is superior to all states

dense ibex
#

Did you ask only newyorkers for that survey

#

And no

#

Right now I am in Minola

amber raptor
dense ibex
#

Yeah lol

#

Yep

#

Yep

#

We were just at the hospital

gentle flint
dense ibex
#

Moms

#

She’s ok though

#

She’s coming home tomorrow

vivid palm
#

that's good

dense ibex
#

They are terrible at driving smh

vivid palm
#

wdym

#

which highway are you on

dense ibex
#

Idfk

#

I am a virginiaer

#

It’s ok, she just had to get surgery

#

But she should be fine

#

Also @gentle flint I saw that lol

#

I should not be staff lol

#

I am a literal child

#

LOL

#

I’m gonna text him that

#

Just to piss him off

#

He’s a walking meme

#

Ppl are gonna be thinking I’m talking to myself lol

#

Also what does @vivid palm mean?

vivid palm
#

it's the homerow on the colemak layout

dense ibex
#

Oh

vivid palm
dense ibex
#

They should call it the qwfpgj layout

#

To stay consistent

#

Alright am I cool now?

#

Yeah

#

Yeah

#

Lol

#

Yeah I promise

#

No I am original

#

Lmao

vivid palm
#

@crimson copper join

dense ibex
#

I would appreciate if you would call me asdf jkl; and not jake

#

Just out of respect

#

.catify

viscid lagoonBOT
#

Your catified nickname is: asdf jkl; | ᘣᘏᗢ

gentle flint
noble copper
#

👀

#

.catify

viscid lagoonBOT
#

Your catified nickname is: schoolman_kv | ᓕᘏᗢ

dense ibex
#

Lol

#

Sure

#

When I get home

gentle flint
#

thanks

noble copper
#

this server is full of surprises

dense ibex
#

I will be back later if you guys are still here

#

Byeee

vivid palm
#

bb

gentle flint
plucky vessel
#

!voiceverify

crimson copper
#

i see

#

asdf jkj; isn't quirky though

gentle flint
#

yep.

please don’t find this disturbing

one day, i accidentally caught a mosquito unharmed… i decided not to kill it for some reason, i put it in my desktop, it kept staring at me, i was kind of scared… but after a few time, he went away.

Out of all my cute horrors, the next day. i saw the same mosquito in my desk, i knew it was him because he had the leg injury i gave him (accidentally)

i felt a very weird feeling of cuteness on his eyes.. it’s when he jumped at me, a very unmutual friendship was about to begin…

Seriously, i fed him, i would call him with a high pitch noise.. he would come right at me !!!

it was that day, when he did not reply to my whistle..i became crazy. i cried for a mosquito.

SORRY FOR AN ANSWER LIKE THIS, BUT IT’S TRUE.

terse sigil
#

@glad sandal

#

i dont have permission

#

to talk

#

sup @whole bear

whole bear
#

hlo

#

@terse sigil

terse sigil
#

so you working on sublime plugin?

#

tell more?

#

the features of your plugin

#

ah got it

#

i saw a PR request from a dev on VS code for the same feature

#

how long you working with python?

#

do u know ML or TF

#

machine learning

#

tensorflow

#

@glad sandal random cat image bot? 😂

whole bear
#

@glad sandal i am in 12th standard

#

did u got ur answer

#

what about u \

low basin
#

day 1 million of waiting to get verified

whole bear
#

haha

whole bear
wise glade
#

@sturdy dirge here

sturdy dirge
#

@client.command(aliases = ['банк','bank'])
async def __bank(ctx, arg1, member: discord.Member = None, amount: int = None):
if arg1 is None:
await ctx.send(embed = discord.Embed(description = "{}{}".format(ctx.author.mention,config.BANK)))

terse needle
#

yeah, ill see if i can fix my mic after I build dwm-status

rugged root
#

@sturdy dirge Is it giving you errors?

#

And if so, what errors are you getting?

sturdy dirge
#

code

#

@client.command(aliases = ['банк','bank'])
async def __bank(ctx, arg1, member: discord.Member = None, amount: int = None):
if arg1 is None:
await ctx.send(embed = discord.Embed(description = "{}{}".format(ctx.author.mention,config.BANK)))

wise glade
#

@rugged root I thought you were going to freshen up 😕
feels like you could really use some hot coco or something, some hot drink

#

maybe some steam 😕 ?

rugged root
#

Food first

carmine shale
#

why dont have the permission to speak in the channel

sturdy dirge
#

Ignoring exception in command __bank:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/discord/ext/commands/bot.py", line 939, in invoke
await ctx.command.invoke(ctx)
File "/usr/local/lib/python3.9/site-packages/discord/ext/commands/core.py", line 855, in invoke
await self.prepare(ctx)
File "/usr/local/lib/python3.9/site-packages/discord/ext/commands/core.py", line 789, in prepare
await self._parse_arguments(ctx)
File "/usr/local/lib/python3.9/site-packages/discord/ext/commands/core.py", line 697, in _parse_arguments
transformed = await self.transform(ctx, param)
File "/usr/local/lib/python3.9/site-packages/discord/ext/commands/core.py", line 542, in transform
raise MissingRequiredArgument(param)
discord.ext.commands.errors.MissingRequiredArgument: arg1 is a required argument that is missing.

rugged root
#

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

sturdy dirge
#

.банк

#

@client.command(aliases = ['банк','bank'])

#

client = commands.Bot(command_prefix = settings['PREFIX'])

cyan quartz
#

@rugged root what is the contributors tag? Is that for the python language itself? monkass

rugged root
#

.bank ham @rugged root 4

sturdy dirge
#

.bank

#

Вы зашли в банк.
перед всеми командами пишите .банк
откыть - открыть счёт баланс - посмотреть ваш баланс или баланс человека с помощью упоминания перекинуть упомянуть сколько - перекинуть деньги человеку

#

.bank balance

#

.bank balance @sturdy dirge

rugged root
#
@client.command(aliases = ['банк','bank'])
async def __bank(ctx, arg1 = None, member: discord.Member = None, amount: int = None):
  if arg1 is None:
    await ctx.send(embed = discord.Embed(description = "{}{}".format(ctx.author.mention,config.BANK)))
sturdy dirge
#

.банк

rugged root
#

!voice @whole bear

wise cargoBOT
#

Voice verification

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

sturdy dirge
#

elif arg1 is open_balance:
if cursor.execute(f"SELECT id FROM users WHERE id = {ctx.author.id}").fetchone() is None:
cursor.execute(f"INSERT INTO users VALUES ('{ctx.author}', {ctx.author.id}, 0, 0)")
connection.commit
await ctx.send(embed = discord.Embed(description ="Вы {} создали счёт. Номер счёта {}".format(ctx.author.mention,ctx.author.id)))
else:
await ctx.send(embed = discord.Embed(description ="Вы {} уже создали счёт. Номер счёта {}".format(ctx.author.mention,ctx.author.id)))

#

.bank open

rugged root
#
elif arg1 in open_balance:
sturdy dirge
#

open_balance = ['откыть','open']

wintry beacon
#

if arg1 in open_balance:

rugged root
#

!code

wise cargoBOT
#

Here's how to format Python code on Discord:

```py
print('Hello world!')
```

These are backticks, not quotes. Check this out if you can't find the backtick key.

wintry beacon
#

if not arg1 in open_balance:

sturdy dirge
#

if arg1 in open_balance::

wise cargoBOT
sturdy dirge
rugged root
#

()

#

connection.commit()

sturdy dirge
#

Ignoring exception in command __bank:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/discord/ext/commands/core.py", line 85, in wrapped
ret = await coro(*args, **kwargs)
File "/home/bot/bot.py", line 35, in __bank
description = f'''Баланс пользователя {ctx.author} составляет **{cursor.execute("SELECT cash FROM users WHERE id = {}".format(ctx.author.id)).fetchone()[0]} **'''
TypeError: 'NoneType' object is not subscriptable

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/discord/ext/commands/bot.py", line 939, in invoke
await ctx.command.invoke(ctx)
File "/usr/local/lib/python3.9/site-packages/discord/ext/commands/core.py", line 863, in invoke
await injected(*ctx.args, **ctx.kwargs)
File "/usr/local/lib/python3.9/site-packages/discord/ext/commands/core.py", line 94, in wrapped
raise CommandInvokeError(exc) from exc
discord.ext.commands.errors.CommandInvokeError: Command raised an exception: TypeError: 'NoneType' object is not subscriptable

rugged root
#

I'll look in a second

whole bear
#
import sublime_plugin
import os


# plugin mainly revolves around the plugin idea of file_navigationusing via input_handlers.



class file_system_inputhandler(sublime_plugin.ListInputHandler):
    def __init__(self, files_to_be_listed):
        self.files_to_be_listed = files_to_be_listed

    def name(self):
        return 'name'

    def preview(self, arg):
return f'you selected: {arg}'

    def list_items(self):
        return ['~~'] + self.files_to_be_listed

    def next_input(self, args):
        global file_path




        if args['name'] == '~~':
            if file_path != reverting:
                file_path = file_path.split('//')
                file_path.pop(len(file_path) - 1)
                file_path = '//'.join(file_path)
                return file_system_inputhandler(os.listdir(file_path))

            else:
                return file_system_inputhandler(os.listdir(file_path))

        else:
            try:
                file_path = file_path + '//' + args['name']
                iterated_list = os.listdir(file_path)
                return file_system_inputhandler(iterated_list)

            except NotADirectoryError:
                return None

class file_handlerCommand(sublime_plugin.WindowCommand):
    def run(self, name, directory):
        global file_path, reverting
        reverting = directory
        if name != '~~':
            file_opened = str(file_path).replace('//', '/')
            print(file_opened)
            self.window().run_command('open_file', {'file': file_opened})

    def input(self, args):

        global file_path, reverting
        file_path = reverting
        print(file_path)
        begin_list = os.listdir(file_path)
        return file_system_inputhandler(begin_list)```
#
  File "C:\Program Files\Sublime Text\Lib\python38\sublime_plugin.py", line 1443, in create_input_handler_
    return self.input(args)
  File "C:\Users\Ayoush\AppData\Roaming\Sublime Text\Packages\User\new_file_handler.py", line 87, in input
    file_path = reverting
NameError: name 'reverting' is not defined
Traceback (most recent call last):
  File "C:\Program Files\Sublime Text\Lib\python38\sublime_plugin.py", line 1480, in run_
    return self.run(**args)
TypeError: run() missing 1 required positional argument: 'name'```
rugged root
#

Hey Maro. Back in a moment

sturdy dirge
#

File "/home/bot/bot.py", line 35
description = f"Баланс пользователя {ctx.author} составляет **{cursor.execute("SELECT cash FROM users WHERE id = {}".format(ctx.author.id)).fetchone()[0]} **"))
^
SyntaxError: f-string: unmatched '('
root@rpprojectred:/home/bot# python3.9 bot.py
File "/home/bot/bot.py", line 34
await ctx.send(embed = discord.Embed(description = f"Баланс пользователя {ctx.author} составляет **{cursor.execute("SELECT cash FROM users WHERE id = {}".format(ctx.author.id)).fetchone()[0]} **"))
^
SyntaxError: f-string: unmatched '('

#

bash: SyntaxError:: command not found
root@rpprojectred:/home/bot# python3.9 bot.py
File "/home/bot/bot.py", line 34
await ctx.send(embed = discord.Embed(description = f"Баланс пользователя {ctx.author} составляет {cursor.execute("SELECT cash FROM users WHERE id = {}".format(ctx.author.id)).fetchone()[0]} 💵")
^
SyntaxError: f-string: unmatched '('

wise glade
whole bear
#

can some one help me? With .py to .exe

wise glade
#

👋 later, pushed my code, and now I'm done for the day 🥱

#

drink lots of fluids @rugged root , and get well soon

rugged root
#

Thanks. Catch you later

mystic kernel
#

hey

#

do you know about heroku?

whole bear
rotund scaffold
#

@rugged root Look whos here, hadn't seen you around 2 3 days, where have you been ?

#

@zenith radish Did you say 90 degree ?

zenith radish
#

ye

#

fahr

#

30celsius

rotund scaffold
#

Oh thats a relief, couldnt believe 90 degree, people would be boiling if that was the case

#

Not that 30 degrees is good

undone idol
#

not that good its not even haze 😏

#

its hot as f

gentle flint
rotund scaffold
#

@dense ibex Right now

rugged root
rotund scaffold
#

@dense ibex You wot mate ?

#

Apparently certain Jellyfish are immortal

stuck furnace
#

What have I walked into? 😄

rugged root
#

Jake is terrified of crabs

#

And it's hilarious

rotund scaffold
#

@stuck furnace We are going over jake's phobia of crabs

gentle flint
#

disgusted, rather

#

not really terrified

cobalt fractal
#

bonk Hemlock

gentle flint
stuck furnace
#

Tylenol is actually a really dangerous drug tbh.

#

It has a low therapeutic index.

#

Ratio of damaging dose to effective dose.

#

Now you sound like you're talking through a kazoo...

gentle flint
#

@stuck furnace is that really you?

zenith radish
#

Imagine using your picture as your picture

#

Couldn't be me

stuck furnace
#

Imagine 😄

gentle flint
#

of course you'd respond with either eyes or "erm"

stuck furnace
#

Erm, 👀

gentle flint
#

"actually..."

cobalt fractal
#

Tweet sent from samsung fridge

stuck furnace
gentle flint
cobalt fractal
#

There it is lol

gentle flint
#

reminded me of that tweet

dense ibex
#

@stuck furnace is that you in your pfp or some random guy

cobalt fractal
dense ibex
#

lol yeah why not

gentle flint
#

this server has many Swedes

#

we have Vester

#

and Catrina

gentle flint
#

and fatycaty

rugged root
#

The perfect dice bags

cobalt fractal
#

that's a lot of whiskey

gentle flint
#

whisky hotel yankee
november oscar tango
?

cobalt fractal
#

If you're not puncturing your desk, are you even playing dnd?

rugged root
#

Well

#

Yes

gentle flint
cobalt fractal
#

dnd with more than 8 is just sooo long

rugged root
#

I like systems that simplify combat more

cobalt fractal
#

I've always used a chalk bag for my dice lol

whole bear
rugged root
#

Wait what?

#

Chalk bag?

cobalt fractal
#

rock climbing bag for chalk

rugged root
#

Oh dope

cobalt fractal
#

I've been active for 2 weeks

#

pls give helper

#

ty

gentle flint
#

chris, you madlad

#

we know you roles

rotund scaffold
rotund scaffold
gentle flint
#

Cry
cry
cry
st's sake, what the fuck did I get myself into

was probably what chris was thinking

rotund scaffold
#

@cobalt fractal The second session which Kutiekat took was really informative she went through the whole workflow that was really cool

#

Pinnacle of comedy

rugged root
#

So good

stuck furnace
#

A 5 year old unusually knowledgeable in Powershell.

gentle flint
glad sandal
#

Imagine if jvm would work lmao

rugged root
#

It does though

rotund scaffold
#

What age are you guys stuck in ? If someone asks you what year you are in what year comes first to your mind ? For some reason Im still stuck in 2007 2008

stuck furnace
glad sandal
#

Hellooooo

#

Im not at home rn

rotund scaffold
#

Yeah like if I hear "hey Soul sister" Im like yeah golden age of songs just came out, this is awesome

glad sandal
#

Ima go bye

gentle flint
#

bye

cobalt fractal
#

So angwerwy

gentle flint
zenith radish
gentle flint
cobalt fractal
#

Arnold Schwarzenegger likes finding bugs too

#

he is an ex-terminator after all

rugged root
#

God

#

Damn

#

it

rotund scaffold
#

Madlad @cobalt fractal

gentle flint
stuck furnace
#

There was a linkedin leak?

rugged root
#

leakedin

cobalt fractal
stuck furnace
#

Interested to see what my "inferred salary" is 😄

#

If it's anything above 0 they're way off.

rotund scaffold
#

I mean I wasnt too bummed about the breach

#

Like everything we put there was for display for everyone right ?

gentle flint
#

well someone got pissed

cobalt fractal
#

waow

#
Required

Python
Selenium
Postgres
Web Scraping
ML
AI
Big Data
My SQL
rotund scaffold
#

"This is a Full-time Position so we expect you to be available to work 40 hours per week between the hours of 7am PST and 9pm PST."

cobalt fractal
#
Preferred Skills
Coding Competition Automation
Hackathon
rotund scaffold
amber raptor
rugged root
#

Jesus all the stickers on that poor computer...

rugged root
#

Huh, learn something new every day

gentle flint
#

gotta go eat

#

cya

rugged root
#

See you

#

Hey Kat

hollow haven
#

hi hi!

cobalt fractal
#

huh, slack have added Discord-like voice channels

#

called huddles

rugged root
#

That's smart

#

Wonder why it took them that long, actually

cobalt fractal
#

Slack has actually half decent audio too

#

no built-in noise cancellation though

rugged root
#

Easy enough thing to fix, technically

cobalt fractal
#

Yea

rugged root
#

Plenty of plug in tech for that

alpine path
cobalt fractal
#

300mg of caffine 👀

#

wtf

alpine path
#

seems about right

#

just enough for a heart attack

cobalt fractal
#

that's like too much

rugged root
#

!stream 82578210453192704

wise cargoBOT
#

@zenith radish

✅ @zenith radish can now stream.

rotund scaffold
#

You eat the seeds ???? What

hollow haven
#

21 hours left for the qualifier lemonshake

frigid panther
#

o/

knotty flare
#

anyway to access linkedin leaks?

hollow haven
rotund scaffold
hollow haven
knotty flare
#

@ionic ferry can you unmute me?

rotund scaffold
#

@hollow haven So how are teams going to be made, you mentioned something about the age what else were the parameters going to be

#

@hollow haven Btw the second session for Github bootcamp was a blast learnt a lot

hollow haven
hollow haven
#

It's actually what I'm working on now while I wait for someone to get back to me

frigid panther
#

did you see dms @hollow haven :/

hollow haven
rotund scaffold
frigid panther
#

😞

hollow haven
#

(I have so many DMs)

vivid palm
dense ibex
#

Ms. Popular over here

hollow haven
lusty prawn
#

Hello

rotund scaffold
frigid panther
rotund scaffold
#

@frigid panther whats the lovefest role stand for ? someone said "freelove" but couldnt understand what they meant

frigid panther
#

its for valentines event

#

to receive love letters 💌

#

.help bemyvalentine

viscid lagoonBOT
#
Command Help

.bemyvalentine <user> [valentine_type]
*Send a valentine to a specified user with the lovefest role.

syntax: .bemyvalentine [user] [p/poem/c/compliment/or you can type your own valentine message]
(optional)

example: .bemyvalentine Iceman#6508 p (sends a poem to Iceman)
example: .bemyvalentine Iceman Hey I love you, wanna hang around ? (sends the custom message to Iceman)
NOTE : AVOID TAGGING THE USER MOST OF THE TIMES.JUST TRIM THE '@' when using this command.*

Subcommands:
secret <user> [valentine_type]
Send an anonymous Valentine via DM to to a specified user with the lovefest role.

zealous wave
#

Except there was a bug this year

#

so I got like 20 in one day

frigid panther
#

not bad

#

lol

zealous wave
#

Like I know im just so lovely but really?

rotund scaffold
#

Huh joined the channel a bit late I guess

frigid panther
#

I believe the bug is now fixed

rotund scaffold
#

Dont take this seriously @frigid panther

#

.bemyvalentine @frigid panther p

#

Can you send me what poem you received ?

frigid panther
#

did hemlock just say

rugged root
frigid panther
#

I think it we did not change it when we decided to allow @viscid lagoon commands to be used everywhere

#

or in voice channels

rotund scaffold
#

Thats a neat poem, better than anything I could've thought of, is it just a API which picks out random poems ?

frigid panther
#

I don't actually remember, I wrote that command 2 years ago, lol

#

I think it uses a json file

rotund scaffold
#

Can you point in the direction of the code ? where this is ?

frigid panther
#

kinda tired and feeling low today, will go to bed now (prolly my earliest this year, lol), cya o/

stuck furnace
gloomy vigil
#

_tkinter.TclError: bad columnspan value "0.6666666666666666": must be a positive integer

tiny seal
#

int(whatever_you_tryin_to_pass)

gloomy vigil
#

import _tkinter # If this fails your Python may not be configured for Tk
ImportError: DLL load failed while importing _tkinter: The specified module could not be found.

zenith peak
tiny seal
copper stream
#

switch is coming in python?

tiny seal
paper tendon
#

value_if_true if condition else value_if_false

tiny seal
#
print(some_bool ? "this was true" : "this was false")
paper tendon
#

!e ```py
print(True ? "this was true" : "this was false")

wise cargoBOT
#

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

001 |   File "<string>", line 1
002 |     print(True ? "this was true" : "this was false")
003 |                ^
004 | SyntaxError: invalid syntax
paper tendon
#

!e ```py
print(6 if 1<2 else 7)

wise cargoBOT
#

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

6
copper stream
#

!e

print("True" if True else "False")
paper tendon
#

!e ```py
i = 1
print("True" if (i:= 2) < 2 else "False")

wise cargoBOT
#

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

001 |   File "<string>", line 2
002 |     print("True" if i:= 2 < 2 else "False")
003 |                      ^
004 | SyntaxError: invalid syntax
paper tendon
#

!e ```py
i = 1
print("True" if (i:= 2) < 2 else "False")

wise cargoBOT
#

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

False
gloomy vigil
#

below 0 kelvin is not reachable

paper tendon
#

Suggestion

#

Watch brian greene

#

and Lawrence Krauss

#

videos and movies

copper stream
#

bye boys have fun

gloomy vigil
#

hello

scenic wind
#
function main_evaluation(pos) {
  var mg = middle_game_evaluation(pos);
  var eg = end_game_evaluation(pos);
  var p = phase(pos), rule50 = rule50(pos);
  eg = eg * scale_factor(pos, eg) / 64;
  var v = (((mg * p + ((eg * (128 - p)) << 0)) / 128) << 0);
  if (arguments.length == 1) v = ((v / 16) << 0) * 16;
  v += tempo(pos);
  v = (v * (100 - rule50) / 100) << 0;
  return v;
}
#
function middle_game_evaluation(pos, nowinnable) {
  var v = 0;
  v += piece_value_mg(pos) - piece_value_mg(colorflip(pos));
  v += psqt_mg(pos) - psqt_mg(colorflip(pos));
  v += imbalance_total(pos);
  v += pawns_mg(pos) - pawns_mg(colorflip(pos));
  v += pieces_mg(pos) - pieces_mg(colorflip(pos));
  v += mobility_mg(pos) - mobility_mg(colorflip(pos));
  v += threats_mg(pos) - threats_mg(colorflip(pos));
  v += passed_mg(pos) - passed_mg(colorflip(pos));
  v += space(pos) - space(colorflip(pos));
  v += king_mg(pos) - king_mg(colorflip(pos));
  if (!nowinnable) v += winnable_total_mg(pos, v);
  return v;
}
#
function end_game_evaluation(pos, nowinnable) {
  var v = 0;
  v += piece_value_eg(pos) - piece_value_eg(colorflip(pos));
  v += psqt_eg(pos) - psqt_eg(colorflip(pos));
  v += imbalance_total(pos);
  v += pawns_eg(pos) - pawns_eg(colorflip(pos));
  v += pieces_eg(pos) - pieces_eg(colorflip(pos));
  v += mobility_eg(pos) - mobility_eg(colorflip(pos));
  v += threats_eg(pos) - threats_eg(colorflip(pos));
  v += passed_eg(pos) - passed_eg(colorflip(pos));
  v += king_eg(pos) - king_eg(colorflip(pos));
  if (!nowinnable) v += winnable_total_eg(pos, v);
  return v;
}
gloomy vigil
#
paper tendon
#

!e ```py
print(bin(5))
print(bin(5<<0))

wise cargoBOT
#

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

001 | 0b101
002 | 0b101
paper tendon
#

!e ```py
print(bin(5))
print(bin(5<<1))

wise cargoBOT
#

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

001 | 0b101
002 | 0b1010
gloomy vigil
#

!e```py
int(1010, 2)

#

!e

int(1010, 2)
wise cargoBOT
#

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

001 | Traceback (most recent call last):
002 |   File "<string>", line 1, in <module>
003 | TypeError: int() can't convert non-string with explicit base
#

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

001 | 0b101
002 | 0b101
003 | Traceback (most recent call last):
004 |   File "<string>", line 3, in <module>
005 | TypeError: int() can't convert non-string with explicit base
gloomy vigil
#

!e

a = bin(5)
print(int(a, 2))
wise cargoBOT
#

@gloomy vigil :white_check_mark: Your eval job has completed with return code 0.

5
paper tendon
#

!e ```py
print(bin(5), int(5))
print(bin(5 << 1), int(5 << 1))

wise cargoBOT
#

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

001 | 0b101 5
002 | 0b1010 10
solid mango
#

What's your rating ? Are you FIDE rated ?

gentle flint
strong arch
#

@glad sandal use text then

glad sandal
#

heLlo

#

ok

strong arch
#

let me get this straight, your basic programs (built with pyinstaller) report back as viruses for some of the virustotal scanners?

glad sandal
#

Is there something wrong with pyinstaller

strong arch
#

im suspecting that

glad sandal
#

yes

strong arch
#

and why did u bold ur message

glad sandal
#

idk

#

it looks cool

#

Hehe

#

Now im benddy yay

#

and now im normal

#

nvm

#

pip install pyinstaller

strong arch
#

@glad sandal pip list --outdated --format=freeze | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 pip install -U

#

pip install pip-review

flat sentinel
#

gold

glad sandal
gentle flint
flat sentinel
gentle flint
flat sentinel
gentle flint
flat sentinel
#

@whole bear

#

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

gentle flint
whole bear
#

ok

glad sandal
gentle flint
flat sentinel
gentle flint
#

my cat being Dutch

glad sandal
#

OMG SO CUTE

gentle flint
glad sandal
#

ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ

flat sentinel
gentle flint
#

ÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅ

flat sentinel
#

gtg

flat sentinel
#

sad

gentle flint
#

when pycharm finishes generating skeletons

#

alright I'll stop

crimson copper
#

hi

#

what's happening

#

yes

#

was typing in another channel

#

like for font colors? campbell i think, which is default

crimson copper
#

wow

#

i didn't really bother customizing too much yet. i'm waiting for 1.9 when they fix a bug

vivid palm
#

big bug?

#

interestingly you can't just set the theme in the ui... have to write a line in the json file

crimson copper
#

you can if you go into the profiles > appearance

vivid palm
#

are you suuuuuuuuuuure?

#

settings>color schemes..

crimson copper
#

isn't it this

#

eh?

vivid palm
#

yours looks vaguely different

crimson copper
#

yeah, go down into the profiles thing, middle left

vivid palm
#

and then had to add that one line lol

crimson copper
#

wow!

#

probably

#

my only issue with windows terminal is that in vim, you can't see what char is under your cursor if it's a light color

#

the character

#

let me get a screenshot

#

and you can't see it if it's white, lol

#

lmao

#

if it's offwhite, it's still just incredibly hard to read

#

vim

#

yes, it's normal mode

#

😔

olive hedge
crimson copper
#

wsl 🎉

#

no, you can't touch defaults

#

hi rabbit

olive hedge
crimson copper
#

should have had a party

#

we need more obscure keyboard layout names

olive hedge
#

make your own

crimson copper
#

but muh powerline

#

iirc monokai pro uses italics for built-in classes?

vivid palm
#

various things, comments too

crimson copper
#

the color of comments in monokai pro is impossible to read since i have bad eyesight, so i changed them to green

#

medium rare chicken

vivid palm
#

how how

#

is it simple to edit basic things in themes like colors?

crimson copper
#

yeah

faint ermine
#

in vsc i know for sure it is easy ye

crimson copper
#

too bad only nerds use vsc

#

let me find the path to the setting

#

@vivid palm do you have the waifu of the day plugin

vivid palm
#

lmaoo no

#

i only know 1 guy that had that

crimson copper
#

oh i made them pink, not green

#

editor > color scheme > python

vivid palm
#

pink is good heart0

crimson copper
olive hedge
#

cat as an ide

vivid palm
#

are you saying that's 'pink'

#

that is

#

PURPLE

#

look at pfp for reference

olive hedge
#

cat file.py | nano

crimson copper
#

it's supposed to concatenate files

crimson copper
#

cat a.txt b.txt will just slap them together

strong arch
#

cat a.txt |grep whatever

crimson copper
#

me

strong arch
#

grep whatever a.txt

crimson copper
#

that's why you use fish!

vagrant spire
#

open a file in python and use regex

vivid palm
crimson copper
#

wtf is that font

#

oh? what flavor

#

no

#

i've seen it 1000s of times

#

it's the default of windows terminal, no?

amber raptor
#

Here we go

faint ermine
crimson copper
#

it's missing powerline glyphs though

#

is that cursive monospace? @vivid palm

amber raptor
#

Socket programming

vivid palm
#

yes def monospaced

crimson copper
#

ligatures?