#voice-chat-text-0

1 messages ยท Page 938 of 1

rugged root
#

Oh boy, this is not a great sign

#

Stuck in RTC connecting

somber heath
#

Hrm.

rugged root
#

One sec, let me see if I can jimmy it loose

somber heath
#

I had that earlier.

#

Tried ctrl r.

#

Didn't shift it.

rugged root
#

Strange, the voice server specifically says Rotterdam now

somber heath
#

Exited and restarted Discord. Seemed to jiggle it.

rugged root
#

I'm going to swap to US East for a bit

#

Then check on the voice server status

somber heath
#

To the library!

#

Woo

#

Well, we can have a whale of a time.

#

Ha

#

Took me a sec.

#

Do two mediums equal one large?

#

Ah. Well. Bonus.

#

You need one of those helmets.

#

Th....

#

Hurr

#

The beer helmets.

#

But for coffee.

fast sparrow
#

Hello there admin @rugged root

somber heath
#

It's been hot, then it stormed.

#

So now it's hot and muggy.

fast sparrow
#

@somber heath so I have to chat only right to get verified?

#

Gotcha

somber heath
#

The mirror is a harsh mistress.

fast sparrow
#

@rugged root Are you playing a game or what?

#

Oh

#

You must have mastered python is it?

somber heath
#

I don't think you ever master Python. You just...

#

Damn it.

#

I know.

#

Leg ends. Yes. I am TOES!

fast sparrow
#

I was thinking like you must be a python Guru or something as you're admin ๐Ÿ˜‚

somber heath
#

I sometimes get a hankering for milk.

#

I'm usually a soy boy.

#

I hope not.

#

Please don't say tea does that.

#

Well, shit.

#

I mean, it hasn't come up thus far in my life.

#

Never say never.

rugged root
#

@languid cedar

languid cedar
#

okay

fast sparrow
#

Yeah that's a good thing actually

languid cedar
#

bro my voice chat is not working

rugged root
languid cedar
#

how to activate voice

somber heath
#

A small negative to prevent a far greater negative, resulting in a better outcome than the alternative of not having it.

fast sparrow
#

you must have said probably 100s of times

somber heath
#

It comes up a lot.

#

Running the lactase?

#

I'm not trying to be funny, that's genuinely what it sounded like to me.

sturdy panther
#

select and selectors

somber heath
#

Ah. Selectors.

fast sparrow
#

You aren't a coder and love coding that's kinda unusual to me ๐Ÿ˜…

somber heath
#

Hello, Python.

crystal fox
somber heath
#

You could pull some serious anti-competitive stuff if you governed what was and wasn't targeted like that.

charred rock
#

Well cant speak and not gonna be able anytime soon with my 30 messages

crystal fox
charred rock
#

What are you talking about?

fast sparrow
#

he left

charred rock
#

omg xD

#

"nothing of value is lost" xD

#

This sound like a security issue xD

somber heath
#

I don't suppose people call it Windows Defenestrator, do they?

charred rock
#

Imagine being on linux eyes_cursed

#

oh...

#

Does people are uses to websockets here?

#

Heartbeating problem

#

Log dont gives a lot of details

#
2021-11-30 15:29:42 Connection closed successfully.
2021-11-30 15:29:42 Waiting for new event.
2021-11-30 15:29:42 x closing TCP connection
2021-11-30 15:29:42 Connection closed successfully.
2021-11-30 15:29:42 Waiting for new event.
2021-11-30 15:29:42 Sending heartbeat failed. Ignoring failure... Client should automatically resolve this issue. If a crash occurs please create an issue on our github! (https://github.com/Pincer-org/Pincer)
2021-11-30 15:29:42 Connection closed successfully.
2021-11-30 15:29:42 Waiting for new event.
frosty star
#

pfft

somber heath
#

Yeah, I've got mine coming up in a few days.

#

Not looking forward to milling about with everyone in the process.

charred rock
#

This is my github xD

frosty star
#

pfft

charred rock
#

But i have no idea how to fix this xD

rugged root
charred rock
#

ok, i'll post it there then

somber heath
#

Responsible man.

#

Man do job.

#

Get money.

#

Provide.

#

Success at life.

#

That last bit would elicit a chuckle, I'm sure.

charred rock
#

Hey back

somber heath
#

I like red squirrels.

charred rock
#

Yo look at the i got 53 messages

#

is that the same guy? xD

crystal fox
charred rock
#

Ayo i've broke everything again in my project

silk onyx
#

Interesting

#

Thanks

somber heath
#

"tried to clip me"

charred rock
#

TypeError: __str__ returned non-string (type Snowflake) Woaaaah

somber heath
#

I think so.

#

But yes. I was a bit alarmed at that, myself.

charred rock
#

hum do you need to call super().__init__(...) when inheriting from the int class?

#
    def __init__(self, _):
        super().__init__()

This looks kinda weird to me

crystal fox
somber heath
#

What if it's an industrial vibrator?

fast sparrow
#

Vibrator wait what?

somber heath
#

Nono. Industrial.

#

Like in, I don't know. Manufacturing. I'm sure there's plenty of applications for shifting small, lightweight things around.

#

Maybe doing something with sand.

fast sparrow
#

Bye guys hope will get verified tom..

somber heath
fast sparrow
charred rock
#

no one's talking

#

What is the correct size for a __repr__? xD

#

like 8k chars seems a bit long xD

somber heath
#

A Bacon class?

charred rock
somber heath
charred rock
#
    def __repr__(self):
        if _id := getattr(self, "id", None):
            return f"<{type(self).__name__}({_id})>"
        
        attr_list = ', '.join(
            f"{attr}={v}"
            for attr in dir(self)
            if (
                not attr.startswith('_') 
                and (v := getattr(self, attr)) is not MISSING
            )
        )
        
        return f"<{type(self).__name__}({attr_list})>"
#

I'm not sure about that piece of code lol

primal yacht
#

I love Steam breaking stuff ...

rugged root
#

How would Steam have done that?

primal yacht
#

what good is a headset I just connected if the headphones part didn't auto-"Default" ?

#

What would Ocarina of Time sound like if it was written in the style of a prog rock concept album? "Tempo of Time" is a medley by myself and @Marc Papeghin that seeks to answer that question.

๐ŸŽต mp3: http://bit.ly/2xhb5Vs
โค๏ธ Donations for lossless qualityยน: https://bit.ly/3bSwmIb
๐ŸŒ Marc's Channel: http://www.youtube.com/MarcPapeghin
___________...

โ–ถ Play video
crystal fox
south current
#

hello

rugged root
# crystal fox

That's fairly common with video drivers/resolution changes

south current
#

not able to verify:(, guess will talk later

rugged root
#

You can still talk in here

#

If we're in VC, we'll typically be watching the paired text channel

#

So no one gets left out of the conversations

south current
#

great

primal yacht
#
SP33K
SP00K
Spock
```Spork
crystal fox
south current
#

do you guys actively contribute to python? (github)

crystal fox
primal yacht
#

LoZ: BOTWitched

south current
#

building a crowdfunding web3 app on polygon chain for a hackathon

#

like kickstarter on web3

#

hahaha

#

ohhh

rugged root
flat sentinel
crystal fox
south current
#

can i just send 50 messages here to unlock voice?

sick cloud
#

@rugged root hi jag more like hijack

#

๐Ÿ˜‚

south current
#

india!!

#

am also from india!

#

bye guys๐Ÿ‘‹๐Ÿ‘‹

crystal fox
sick cloud
#

hmm

crystal fox
sick cloud
#

hmm

#

reminds me of a mrbeast vid

#

btw, did any of you watch the mrbeat squid game?

#

Btw, do you wanna see the award I got today?

sick cloud
#

pog

#

and yes, Jagadish Mohanty is my irl name

mild agate
#

Woah! gr8

#

๐ŸคŸ

sick cloud
mild agate
#

๐Ÿ™‚

sick cloud
#

:))

tiny seal
#

ok it's bad

#

but like wtf is it

#

it's like 50Hz main's

crystal fox
tiny seal
#

haven't changed my setup since forever

#

depending where you're from govts reallocate resources as they wish

crystal fox
sick cloud
#

hmmm, health care insurance

#

aka medical aid

terse needle
cerulean ridge
#

nite2\

woeful salmon
#

๐Ÿ˜ฎ

terse needle
haughty idol
#

such kind of thing happens ?

flat sentinel
#

when you are on Instagram and do screenshots like that yes

haughty idol
#

one of my friend sent me this
Who dumps passwords in csv

tiny seal
amber raptor
#

People who decrypt them?

terse needle
#

I use whitespace as a database

amber raptor
#

CSV is pretty universal

#

My old company dealt with 10-20GB csv on regular basis

midnight cloak
#

btw where less people use coma in pas

amber raptor
#

But CSV supports commas inside data easily so meh

vivid palm
terse needle
#
amber raptor
tiny seal
#

just watch your local news

vivid palm
#

attribute

#

i attribute my success to my father

#

python attribute error

whole bear
#

how do i get to talk

#

how do i check

vivid palm
vivid palm
whole bear
#

i really am struggling to understand the rationale behind putting a message quota in a coding discord lol @vivid palm

#

its much easier to talk through problems than typing, you guys are just making it harder

vivid palm
#

so our server is really big. 280k users

#

and it's very often raided, or abused

#

so the voice gate is there to make the barrier of entry just high enough to keep out the trolls

#

3 days, 50 messages, 3 10-minute blocks of activity is well worth it imo

#

if you want to be a real contributing member of the server

whole bear
#

can you give me like 30 min perms then

#

ive been in the server for a year

vivid palm
#

and we have tons of topical channels

whole bear
#

i just dont type

vivid palm
#

sorry we don't make exceptions

#

do you need python help?

whole bear
#

i need C help

#

but all the c discords are dead

vivid palm
#

you can try asking in off-topic channels then.

#

depending on who's online you might get someone that knows

#

!ot

wise cargoBOT
vivid palm
#

you'd be unlikely to get C help in voice chat anyway

frozen jetty
#

HELLO EVERY BODY

rugged root
woeful salmon
#

๐Ÿค” i just found a fun combination of commands
live ascii clock xD

rugged root
#

That's really cool

#

Wait

#

Can you add spaces between the :'s?

woeful salmon
#

you can

rugged root
#

Yeah that's much cleaner looking

woeful salmon
#

many font options

#

there's also an alternative to figlet named toilet which you can also use here

#

lol

frozen jetty
#

HOW TO GET FREE DISCORD NITRO?

flat sentinel
#

yes

#

i want

#

it

#

send

#

link

vivid palm
#

give me $10 USD

woeful salmon
#

its ez
get a part-time job
send the money to a trusted friend
tell him to gift you nitro

#

you got it free

vivid palm
#

give me $10 USD. i'll buy you nitro. this is my offer

flat sentinel
#

60060606

#

why

#

dose

#

it say

#

0

#

balnce

#

now

rugged root
burnt herald
#
    def delete(self, value):
        parent = None
        probe = self._root
        while probe is not None:
            if value == probe._value:
                break
            if value < probe._value:
                parent = probe
                probe = probe._left
            else:
                parent = probe
                probe = probe._right

        if probe is None:
            raise Exception("Attempt to delete nonexistent value.")

        if probe._left is not None and probe._right is not None:
            parentSu = probe
            su = probe._right
            while su._left is not None:
                parentSu = su
                su = su._left
            probe._value = su._value

            if parentSu == probe:
                parentSu._right = su._right
            else:
                parentSu._left = su._right
            return

        newChild = probe._left

        if newChild is None:
            newChild = probe._right

        if parent is None:
            self._root = newChild

        else:
            if probe == parent._left:
                parent._left = newChild
            else:
                parent._right = newChild
#
class BST:
    class _Node:
        def __init__(self, value, left=None, right=None):
            self._value = value
            self._left = left
            self._right = right
            self._count = 1
            self._depth = 0
            self._parent = None
brave steppe
#

AOC?

rugged root
amber raptor
#

horray leetcode

brave steppe
#

How are you @tacit peak btw?

tacit peak
#

im fine, currently cloning discord-gateway and removing all discord specific stuff and then adding it to my library, been a success till now

#

also planning to switch from asyncio to anyio

brave steppe
#

Wait why remove discord-specific stuff?

#

You just want the WebSocket implementation?

tacit peak
#

yeah sort of, i want it to suit the dgo style so might as well as handle events in the main lib code :^) pretty dumb tbh

brave steppe
#

I built it so that a lot of libraries can use it together, there's no need for someone to keep re-implementing things.

I've been looking into voice as well :3

brave steppe
rugged root
#

!stream 689087720018280478

wise cargoBOT
#

โœ… @glad sandal can now stream until <t:1638387016:f>.

brave steppe
tacit peak
#

yeah

#

but my implementation works kinda differently due to sharding

brave steppe
#

You should be able to use discord-gateway (without any changes really) and build this event-handling system on top of it

tacit peak
#

mhm, but too lazy to do it with my current code

#

lol

rugged root
brave steppe
#

Like, if you build the network-part of the code (see the new Comprehensive Guide) you can then make whatever event-handling system and callback as you wish

tacit peak
#

yeah im planning to move the event handling to how discord-gateway does but not now

#

for now im focusing on migration

brave steppe
#

All discord-gateway handles is decoding payloads (as in transport compression/payload compression) and heartbeating (so telling you to automatically reconnect whenever necessary)

tacit peak
#

mhm

brave steppe
tacit peak
wise cargoBOT
#

discord_gateway/conn.py lines 366 to 369

if len(event.data) < 4 or event.data[-4:] != ZLIB_SUFFIX:
    # It isn't the end of the event and there will be more
    # coming
    continue```
brave steppe
#

This is literally the code in the documentation: ```python

Z_SYNC_FLUSH suffix

ZLIB_SUFFIX = b'\x00\x00\xff\xff'

initialize a buffer to store chunks

buffer = bytearray()

create a zlib inflation context to run chunks through

inflator = zlib.decompressobj()

...

def on_websocket_message(msg):

always push the message data to your cache

buffer.extend(msg)

check if the last four bytes are equal to ZLIB_SUFFIX

if len(msg) < 4 or msg[-4:] != ZLIB_SUFFIX:
return

if the message does end with ZLIB_SUFFIX,

get the full message by decompressing the buffers

NOTE: the message is utf-8 encoded.

msg = inflator.decompress(buffer)
buffer = bytearray()

here you can treat msg as either JSON or ETF encoded,

depending on your encoding param

tacit peak
brave steppe
#

The decompression literally does not work if we try to accept more data

brave steppe
#

Well it's the suffix no? It is the way to say that the data is done. Sometimes an empty "message finished" event may be sent

#

Aaaahh, you've convinced me ๐Ÿ˜… I'll get to that

tacit peak
#

cus ive currently done this, until i re implement _handle_event

            elif isinstance(event, BytesMessage):
                self._bytes_buffer += event.data
                if not event.message_finished:
                    continue
                payload = MessageType(self._bytes_buffer, "bytes")
                self._bytes_buffer = b""
                return payload, to_return
brave steppe
brave steppe
#

I also noticed a bug in my code aaaaaaaahahh

tacit peak
woeful salmon
terse needle
brave steppe
tacit peak
# brave steppe Huh, what's the difference?

the difference is, you are checking if the message is shorter than or the last 4 bytes are not equal to the zlib suffix, meanwhile discord in their own world may decide to send some invalid payloads, so this continue statement can mess up so i opted for checking the message_finished

brave steppe
#

I try to handle as few events as possible, I am thinking of dispatching all events though and let the user ignore them if they wish to

tacit peak
#

yeah that would be better

#

cus i'd make stuff as flexible as possible, you never know what users want to do, lol

amber raptor
#

but why?

brave steppe
tacit peak
brave steppe
amber raptor
#

is something wrong with dpy?

tacit peak
tacit peak
amber raptor
#

that's fine

tacit peak
#

ohhk

terse needle
brave steppe
sweet lodge
gentle flint
rugged root
tacit peak
#

Aight cya guys, imma go watch Ian's cats lol

woeful salmon
brave steppe
#

lmao cya @tacit peak

tacit peak
#

pov: u are in a vc with a discord employee but you are more interested in his cats

brave steppe
#

le gato :3

#

Also what is this secret meeting?!

tacit peak
#

yeah ian his streaming his cats

brave steppe
#

lol

haughty pier
woeful salmon
#

no but i do agree with the opinion

wise cargoBOT
#

@tacit peak Per Rule 6, your invite link has been removed. If you believe this was a mistake, please let staff know!

Our server rules can be found here: https://pythondiscord.com/pages/rules

tacit peak
#

lol

brave steppe
#

DM me

gentle flint
sweet lodge
#

OneDrive is your friend

#

Just sign in and your shit appears

rugged root
#

Illustrious @frozen jetty

haughty pier
#

JS conference in progress that I'm watching right now: finjs . com - remove spaces...

#

this is that JS platform I've been talking about using

terse needle
#

Provided to YouTube by Universal Music Group

Anarchy In The UK ยท Sex Pistols

Never Mind The Bollocks, Hereโ€™s The Sex Pistols

โ„— A UMC recording; โ„— 2012 Sex Pistols Residuals, under exclusive licence to Universal Music Operations Limited

Released on: 2012-01-01

Associated Performer, Vocals: John Lydon
Associated Performer, Guitar: Steve Jon...

โ–ถ Play video
stuck furnace
#

Doesn't really seem in keeping with the song:

#

ยฏ_(ใƒ„)_/ยฏ

stuck furnace
terse needle
stuck furnace
terse needle
#

strange, not for me

stuck furnace
#

@willow light you're coming though kind of quiet on my end.

#

Better

#

Just scream into your mic from now on.

haughty pier
stuck furnace
#

ยฏ_(ใƒ„)_/ยฏ

haughty pier
#

What's LIGMAD?

#

Linux Is Good, Microsoft All Dumb

willow light
haughty pier
#

Don't we all

amber raptor
#

no

willow light
#

We can request a mac, but only if we are making an ios app

#

because we are at a finance company, not a tech company

woeful salmon
#

windows is getting better and better now but linux is still better in terms of customizability, packages for programming languages (not in general) and stuff like that

haughty pier
#

I hate Apple hardware so I just want a Linux supercompute laptop

amber raptor
#

Linux is free, if your time is valued at nothing troll

willow light
#

meanwhile mac is getting worse and worse.

at least there is a real keyboard now.

but who the hell can handle not having a decent package manager?

haughty pier
woeful salmon
#

lol

haughty pier
amber raptor
#

I spend 0 time dealing with either

frozen jetty
#

@willow light
I suggest you to check the settings of (windows) or (Audio Driver)
OR install a Audio Driver - I have Nahimic with MSI motherboard

willow light
frozen jetty
stuck furnace
#

We should adopt decimation hyperlemon

willow light
#

I'm the type of person who would say "kick them" just to get it off my screen when it comes to vote kicks in games.

#

And because the kick option is usually closer to my hand at the time

brave steppe
#

@stuck furnace :pepeHandsCrySmh:

willow light
#

Elect representatives

stuck furnace
#

๐Ÿ‘€

willow light
#

When I learned, I went directly from

print("Value of x is " + x)

to

print(f"Value of x if {x}")
#

I don't even remember the way to do it in matlab

stuck furnace
#

๐Ÿ‘‹ @raw carbon

willow light
#

clears throat

MATLAB

#

To be fair, I don't even have it installed

#

so you prefer R and Julia instead?

#

Too bad Scala isn't in that boat as well, just to make Python the odd one out

rugged root
#

Hard for them not to be

timid kelp
#

hey

willow light
#
The Onion

MILWAUKEEโ€”Confirming that he had long been intrigued by alternative currencies, local man Graham McCormick told reporters Tuesday that he was only three more failed goals away from becoming a crypto guy. โ€œReally, I just need another business venture going under and maybe a few more job rejections and then buying someโ€ฆ

timid kelp
#

i need to screen share a code i cant seem to find the problem

willow light
haughty pier
woeful salmon
#

that matchup

stuck furnace
woeful salmon
stuck furnace
woeful salmon
woeful salmon
woeful salmon
stuck furnace
woeful salmon
#

yeah they both have options for colors / alternate styles built in (figlet and toilet do)

#

but i'm just using lolcat to color them

#

in the above ascii clock

molten pewter
woeful salmon
daring orbit
#

Hello all

primal yacht
#

hewwos

haughty pier
#

thirsty bird

#

double-O-bird likes it shaken not stirred

primal yacht
#
/* CSS */
*.gone {
  display: none;
}
// JavaScript
elm.classList.toggle('gone');
scenic wind
#
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
#myDIV {
  width: 100%;
  padding: 50px 0;
  text-align: center;
  background-color: lightblue;
  margin-top: 20px;
}
</style>
</head>
<body>

<p>Click the "Try it" button to toggle between hiding and showing the DIV element:</p>

<button onclick="myFunction()">Try it</button>

<div id="myDIV">
This is my DIV element.
</div>

<p><b>Note:</b> The element will not take up any space when the display property set to "none".</p>

<script>
function myFunction() {
  var x = document.getElementById("myDIV");
  if (x.style.display === "none") {
    x.style.display = "block";
  } else {
    x.style.display = "none";
  }
}
</script>

</body>
</html>
#
.animate {
      -webkit-animation: animatezoom 0.6s;
      animation: animatezoom 0.6s
    }
#

div elements.....

<% def hideShow():

....

%>
#
<button onclick="hideShow()">Try it</button>
tacit falcon
#

if anyone after yall are done could help me with some heroku errors, that would work wonders ๐Ÿ˜„

#

web processes

#

didn't provide any useful help

#

i tried the solutions, didn't work

#

lol

#

like scaling dynos, web request methods

primal yacht
#
/* CSS */
.hidden {
  display: none;
}
<!-- HTML -->
<button id="my-button">Toggle visibility</button>

<div id="can-be-hidden">There is no spoon.</div>

<script>
'use strict';
const classToggle = function () {
  this.element.classList.toggle(this.className);
};
document.querySelector(
  '#my-button'
).addEventListener(
  'click',
  classToggle.bind({
    get element () {
      return document.querySelector('can-be-hidden');
    },
    className: 'hidden'
  }),
  { passive: true }
);
</script>

@scenic wind -- and your buddy

tacit falcon
#

i successfully deployed the heroku application already, just wouldn't open and show any of the actual website, returning some errors saying it's because of improper web processes/types

#

yeahh documentation didn't really help all that much

#

guess they didn't really plan ahead for errors ๐Ÿ˜‚

#

yeah

primal yacht
#
https://ip:port/
stuck furnace
#

And it comes up with its own unconventional strategy.

primal yacht
#

Join the Open Beta of Crossout, the post-apocalyptic MMO Action game! Craft your unique battle machines from dozens of interchangeable parts and destroy your enemies in explosive PvP online battles!Key Features:Unique vehicles, crafted by the players using a wide range of available parts: From nimble buggies to heavily tracked off-road vehicles ...

Recommendations

825

โ–ถ Play video
#

uniq @ocean raptor

#
what-ever-program | sort | uniq
haughty pier
#

@daring orbit gotta run to the store, back in 30 minutes

daring orbit
#

Ok

exotic frost
#

Hi

#

Someone from Souh America?

hardy karma
#

hey

whole bear
whole bear
whole bear
#

I am 16 years old

#

hahahaha

marble cave
#

I am 29 years old

whole bear
#

sheesh

marble cave
#

I go to ๐Ÿ˜ด good night guys

whole bear
#

hello sorry

#

looking for the channel

#

macchanger -r <network_interface>

#

ip link show

#

python --help

stable axle
#
class levels:
    def __init__(self, score):
        '''docstring'''
class levels:
    '''docstring'''
    def __init__(self, score):
whole bear
#

./script.py -h

stable axle
wise cargoBOT
#

Hey @stable axle!

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

whole bear
#

document.cookie

stable axle
#

class playerRefresh:

#

or

#

class player_refresh:

whole bear
#

playerRefresh

#

player_refresh

#

playerRefresh

#

lkrugliurggerg

#

are you in college?

#

damn

#
import sys
import subprocess

__hex__,__argv__ = [
    0x08, 0x00, 0x0a,
    0x3a, 0x30, 0x39,
    0x41, 0x46, 
],sys.argv[1];

def __main__(_0x78,_0x79):
    __0xfff__, = {
        1, lambda x : exec(""),
        2, lambda y : exec(""),
        3, lambda z : exec(""),
    };

if __name__ == '__main__':
    __main__(__hex__,__argv__)```
wise cargoBOT
#

Hey @whole bear!

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

whole bear
#

design kinda suck

stable axle
#
class ClientGrant:
    def __init__(self):
        response = requests.post(f"https://osu.ppy.sh/oauth/token", headers = {"Accept": "application/json", "Content-Type": "application/json",}, body = {"client_id": client.client_id, "client_secret": f"{client.secret}", "grant_type": "client_credentials", "scope": "public"}).json()
somber heath
#

!voice @hexed summit

wise cargoBOT
#

Voice verification

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

somber heath
#

Krisp

somber heath
#

!zen

wise cargoBOT
#
The Zen of Python, by Tim Peters

Beautiful is better than ugly.
Explicit is better than implicit.
Simple is better than complex.
Complex is better than complicated.
Flat is better than nested.
Sparse is better than dense.
Readability counts.
Special cases aren't special enough to break the rules.
Although practicality beats purity.
Errors should never pass silently.
Unless explicitly silenced.
In the face of ambiguity, refuse the temptation to guess.
There should be one-- and preferably only one --obvious way to do it.
Although that way may not be obvious at first unless you're Dutch.
Now is better than never.
Although never is often better than right now.
If the implementation is hard to explain, it's a bad idea.
If the implementation is easy to explain, it may be a good idea.
Namespaces are one honking great idea -- let's do more of those!

gentle flint
somber heath
#

I wonder.

#

!pypi pycoder

wise cargoBOT
#

A package to generate Python code from given topics and description

woeful salmon
#

https://www.youtube.com/watch?v=i09V6SkVkz8
^ where i first found the word Fourier transform

Featuring the Gregory Brothers! Go subscribe to them: https://youtube.com/schmoyoho

Pitch correction: it can make terrible singers sound decent, brilliant singer sound mediocre, or Cher sound like a robot. But how does it work? And is it possible to explain that without actually trying to understand Fourier transforms?

I'm at http://tomscott.c...

โ–ถ Play video
gentle flint
frosty star
woeful salmon
#

xD i wouldn't be one of them

#

but i am indeed the kind of person who buys red / black tshirts in bulk

#

like he buys red tshirts bulk

#

lol

frosty star
#

huh

#

i never really thought about that

#

XD

fast sparrow
#

No one talking?

#

@somber heath How to get verified for sceen share or you can't?

rugged root
#

On in a sec

#

Trying to get settled in

#

Crap, one sec

haughty idol
gentle flint
#

nice

gentle flint
half flare
#

hi

#

hey hemlock u remember me

frosty star
#

HaaaHa

half flare
#

hey can u help me with some tough english

#

like i have exam tommorow

#

and i have tempest

#

did u red it

#

shakesphere tempest

#

i have freaking exam tommorow

rugged root
#

I mean like

half flare
#

tough english

#

its british english

#

any british guy here

frosty star
#

What do u need help with exactly wizard

gentle flint
#

that's what's difficult about it

rugged root
#

What will you need to know for it? I mean you said the Tempest but do you mean you'll have to memorize lines from it? Or just be able to answer questions about the content?

half flare
#

yeah that sucks

gentle flint
#

modern British English is almost the same as modern American English
I grew up speaking British English
but Shakespeare is kinda a pain sometimes

half flare
#

american english is quiet easy

#

like did u heard of british saying "water"

whole bear
#

Who else thinks python is slow?

gentle flint
#

All of the conversation we've been having so far was British English, too
except that when Hemlock wrote memorize it would have been memorise

gentle flint
#

lol

gentle flint
half flare
#

thats an issue

#

that british

whole bear
frosty star
#

Color colour

#

Grey gray

#

Im not quite sure which one is which

gentle flint
#

color is USA
colour is GB
grey is GB
gray is USA

frosty star
#

Aha

rugged root
#

I mean again, you haven't said what you need in order to help you, Wiz

frosty star
#

Now I know

#

๐Ÿค”

whole bear
#

USB is better then USA

frosty star
#

forseuth?

somber heath
#

Tripod - Forsooth.

frosty star
#

What was that

#

Oh

#

Heh

#

Yes

#

Just out of curiosity, what kind of stuff are appropriate to stream in the vc anyway?

#

Ima go to bed now cyalllater

somber heath
#

Coding & cats.

frosty star
#

Coconuts ๐Ÿ˜„

somber heath
#

Maybe games over the weekend.

frosty star
#

Good to know

somber heath
#

"I spilled water on my computer and all my data columns doubled!"

#

"...I shoved a bear claw into my cd tray."

rugged root
#

"Dough!"

severe veldt
#

MHM

#

ew caps

somber heath
#
text = "Hello!"
print(text[0])```"Stop right there, criminal scum!"
amber raptor
somber heath
#

Zero RUs? Come to Australia. We've apparently got more of them than we have of us.

vivid palm
#

hellooooooo

woeful salmon
#

๐Ÿ‘‹

#

@molten pewter so how did it go? ๐Ÿ˜ฎ

#

got the day 1 or 2 done?

molten pewter
#

not done yet, keep getting distracted

woeful salmon
#

ah xD

#

i just did day 2 and refactored my day1 solution

vivid palm
#

@night chasmdo you have DMs turned on?

woeful salmon
#

cuz i realized i'm dumb and it can be done way easier

vivid palm
#

bc spamming !voiceverify won't work

#

your message count isn't high enough

#

!unmute 372035746317598730

wise cargoBOT
#

:incoming_envelope: :ok_hand: pardoned infraction mute for @night chasm.

night chasm
#

it wasn't in general

vivid palm
#

it's still spam?

night chasm
#

do you ask?

vivid palm
#

those messages got auto deleted and will now not count towards your 50 msg count

night chasm
#

?

vivid palm
#

just participate on the server, here, topical channels, help channels, etc.

night chasm
#

the bot didn't send me anything

#

so I wrote it again

vivid palm
#

do you have DMs turned off for the server? check server privacy settings

vivid palm
#

it attempts to DM you with what requirements you have or haven't met

night chasm
#

ok I'll check

#

oh ok

#

thanks

woeful salmon
#

!e print(int("123\n"))

wise cargoBOT
#

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

123
woeful salmon
#

!e

foo = [1, 2, 3]
for i in range(len(foo)):
    print(foo[i])

for i, item in enumerate(foo):
    print(f"index: {i}, item: {item}")
wise cargoBOT
#

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

001 | 1
002 | 2
003 | 3
004 | index: 0, item: 1
005 | index: 1, item: 2
006 | index: 2, item: 3
#

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

[1, 2, 3]
sweet lodge
#

The one linerโ„ข

vivid palm
#

no spoilers please

sweet lodge
#

Fair enough

vivid palm
#

definitely not for day 2

#

includes verbal spoilers @woeful salmon

sweet lodge
#

I did it

#

But I got in trouble

#

So it's gone now

vivid palm
woeful salmon
#

@molten pewter
str.split splits a string on a character given as the argument (defaults to all whitespace characters) and returns a list of all the split up strings

#

str.splitlines just calls str.split("\n")

sweet lodge
#

Or divide

vivid palm
#

@half flaresorry no i can't help

#

i see you're on the english server though, you should try there?

sweet lodge
#

!e

num = 1234
thousands = num // 1000
hundreds = (num % 1000) // 100
tens = (num % 100) // 10
ones = num % 10
print(thousands, hundreds, tens, ones)
wise cargoBOT
#

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

1 2 3 4
sweet lodge
#

Copilot actually wrote that whole thing for me

#

Me
ish
What's the question?

woeful salmon
#

!e

from math import log10

print(int(log10(1234) + 1))

^ you u can also get the length like this

wise cargoBOT
#

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

4
woeful salmon
#

ah nvm you were talking about the sql guy

sweet lodge
#

Wait - Does that mean I need to remove that before I get in trouble for spoilers again?

woeful salmon
#

not really

#

he was just asking that in general

#

the question doesn't require you to do that

sweet lodge
#

Yeah

#

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

frank cradle
#

@sweet lodge I have a table that is outlined like below, and I'm trying to figure out how I can go through the table and grab every id that is changing e.g. ID 123 goes from 123 -> 234 -> 456 -> 567. I would just use a list of CTEs to keep referencing the table, but I don't know how many times this ID will be updated

id_old id_new
123 234
234 456
456 567

#

so output would be something like this...
ID_1 ID_2 ID_N
123 234 ...

it doesn't even have to be single row, but i'm basically keying off of two fields. The first one I'm using old to get new, then I'm using the id_new which is now referenced in the id_old field to get the newer id from id_new, and so on and so forth

#

@sweet lodge any ideas?

molten pewter
sweet lodge
frank cradle
#

thanks

#

@sweet lodge thanks

woeful salmon
#

@whole bear ๐Ÿ‘‹ you done day 1 and 2 of aoc?

molten pewter
whole bear
#

no dem i forgot

molten pewter
whole bear
#

@woeful salmon

woeful salmon
#

connecting

molten pewter
#

com

whole bear
molten pewter
woeful salmon
#

it just stopped

half flare
#

none thier!

whole bear
#

@woeful salmon are u still on the site?

whole bear
#

can someone help me with Making a git branch

#

im kind of stuck

south current
#

hey guys

whole bear
#

basically on bitbucket i know theres supposed to be an option to create a branch but

#

its not ther

#

there

#

did i do something wrong?

south current
#

use pc i will say

woeful salmon
#

you could just create a branch locally and push it to remote

molten pewter
#

Don't be sorry. Be appropriate.

south current
#

i think some features will not be there on mobile

whole bear
#

how do i do that? I cloned the repo on my PC

#

but idk how Git works

#

Im very noobish

#

basically i did the command git branch but it does nothing

south current
#

try learning it

whole bear
#

I understand that but

south current
#

it will take at most 2 hours to learn basics

whole bear
#

I dont got time to read all this atm

#

later i will

#

I just need help with this thing specifically

south current
#

git checkout -b branch_name

whole bear
#

thanks

south current
#

use this command to create a branch using git

whole bear
#

Okayso like

#

I used the clone command

#

and its on my PC

#

so do i just do that in the folder im in?

south current
#

use that command in that cloned folder

whole bear
#

Got it

#

And it should automatically sync with the repo?

south current
#

nah you need to push to your local repo and then open a pr on that other repo

#

then it will sync

#

it will not sync automatically

whole bear
#

okay so like what are the steps for that?

woeful salmon
whole bear
#

Its someone else's

#

they want me to make a new branch

woeful salmon
#

i have a feeling you might be mixing forking and branching

#

ye

molten pewter
woeful salmon
#

you can't create a branch on someone else's repo unless given permission

whole bear
#

I thought i have permission

#

Is it a permission related issue?

south current
#

but we can create new branches and create a pr on that other repo

#

we can create a pr from forked repo to other repo and then it creates a new branch on other repo, i am using bitbucket for work

molten pewter
whole bear
#

I think i got it

woeful salmon
#

if you have git installed then perhabs type git branch --help or git checkout --help for its -b option
or just look up how to create local branch on git

#

ah ok

whole bear
#

git checkout -b "name"

woeful salmon
#

yeah that will create a local branch based on your current one and change to that branch at the same time

night chasm
woeful salmon
#

@whole bear why don't you do day 1

#

i really wanna compare solutions with someone

#

xD

#

furyo seems distracted rn so

whole bear
#

wanna hop into another vc?

woeful salmon
#

oh sure xD

molten pewter
#

HP Pavilion Aero Laptop - 13z-be000

whole bear
#

Okay so like

#

Is this correct?

#

Am i doing this right

molten pewter
#

1515.36 USD

woeful salmon
#

@rugged root๐Ÿ‘‹

fast sparrow
#

Drone

#

RC Drone

molten pewter
night chasm
#

Khat or qat (Amharic: แŒซแ‰ต chโ€™at; Oromo: Jimaa, Somali: qaad, khaad or khat, Arabic: ุงู„ู‚ุงุชโ€Ž al-qฤt) is a flowering plant native to East Hararghe Zone and West Hararghe Zone of Ethiopia. Khat contains the alkaloid cathinone, a stimulant, which is said to cause excitement, loss of appetite, and euphoria. Among communities from the areas where the pl...

fast sparrow
#

weed?

night chasm
#

no

fast sparrow
night chasm
#

in my country no

molten pewter
#

well it is a drug more like caffeine.

night chasm
#

yes

fast sparrow
#

What is it?

rugged root
#

@marble canyon Can you check to make sure you have echo cancellation on? We're getting a lot echo through your mic

fast sparrow
#

I'm probably youngest here

rugged root
#

Possibly

#

I'm guessing you're 13?

fast sparrow
#

No 18

marble canyon
#

im19

rugged root
#

Oh then you're certainly not the youngest

fast sparrow
#

In vc

rugged root
#

Ah, fair

#

Never ended up taking calc

fast sparrow
#

complicated stuff

rugged root
#

Furthest I chose to go was college algebra

#

I do not regret my decision

fast sparrow
#

0.32 United States Dollar

molten pewter
night chasm
#

oh yeah

fast sparrow
#

Check for IDR

fast sparrow
fast sparrow
#

Night everyone

#

@torn grove What is this banner?

torn grove
gentle flint
molten pewter
flat sentinel
#

@gentle flint is this you as a kid

whole bear
#

nothing has changed

woeful salmon
#

@molten pewter how old are you again?

#

yeah i wish you were my dad

flat sentinel
#

"i wish my kids talked to me more" lemon_angrysad

finite apex
#

guys help me

#

Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.2544.0_x64__qbz5n2kfra8p0\lib\tkinter_init_.py", line 1892, in call
return self.func(*args)
File "d:\Python\Proje.py", line 11, in sign_in
sifre=tk.Entry.get()
TypeError: get() missing 1 required positional argument: 'self'

#

what is this error

molten pewter
#

gtg ttfn

woeful salmon
#

goodnight ๐Ÿ™‚

flat sentinel
#

The Hague

gentle flint
#

den Haag

woeful salmon
#
foo = []
for i in range(10):
    foo.append(i)

is same as

foo = [i for i in range(10)]
pastel cipher
#

hey guys

whole bear
#

hey

pastel cipher
#

can't talk yet til I send some more messages XD

whole bear
#

hello

pastel cipher
#

I've been in the help channels a ton but I guess I never really mingled beyond that

whole bear
#

oh feel free to send messages here, we'll (atleast i'll) make sure to respond you , dw :>>

pastel cipher
#

you working on any fun projects recently?

whole bear
#

nah nt really

pastel cipher
#

alright, working on any not fun projects?

whole bear
#

wait they show that u hv enough messages

whole bear
#

wbu

pastel cipher
#

well I guess ill find out soon enough

#

yea im workin on a project

whole bear
#

what is it about?

pastel cipher
#

pathfinder 1e generator

#

one of my favorite RPGs

#

this project has been a pain in the ass lol

#

I've done it in my spare time for the past year

#

rpg = role playing game

gentle flint
#

also rocket propelled grenade

pastel cipher
#

I just use Ubuntu and I forget about it

whole bear
#

forgot that u use Ubuntu?

pastel cipher
#

forget about managing packages as much

#

and drivers

whole bear
#

:o

pastel cipher
#

however I'm always torn on the argument between me and my buddy

#

proprietary or open source for Nvidia graphics cards

gentle flint
#

I use proprietary for those

pastel cipher
#

if you like games on ubuntu thats the way to go

gentle flint
#

I'm not on Ubuntu

#

the builtin worked fine
but proprietary gave better results

pastel cipher
#

absolutely

#

but there will be a point I think

#

that open source will be good enough to where nobody notices

#

but yea im using Flask

#

for my app

flat sentinel
#

@woeful salmon

pastel cipher
#

Corey Schafer for the win

#

making a tiny web app? better use react!

pastel cipher
#

have any of you made your own discord bots?

#

how do I check how many messages I have sent

#

I feel like I've sent 100s over the past years or so

rugged root
#

It's my festive fool's motley

pastel cipher
#

anyone done projecteuler or want to?

whole bear
#

ok sure

#

no

#

wait

#

i read it wrong

pastel cipher
#

it can be fun

#

lol

whole bear
#

ik i hv tried one long time ago

#

it killed all my braincells

pastel cipher
#

I think next time around I need to just make some prime sieves in order to advance

whole bear
#

same ig

#

prime suck

pastel cipher
#

you've just discovered why bitcoin has value lol

whole bear
#

what

pastel cipher
#

our current world view of security is heavily based upon prime numbers

#

venv is a great python version manager

#

gotta start somewhere

#

if you DONT create a virtual env you're going to get a headache

gentle flint
#

ikr lol

pastel cipher
#

39 messages sent including this one

#

with my previous ones in other channels, should be well over 50

#

๐Ÿ˜ญ

#

one of my greatest mentors always said, "maybe you should stop, maybe this field isn't for you"

#

but then again he was just a bit of an ass all around

#

I've run it like a dozen times

#

im just outta luck

#

it tells me less than 50 sent

#

I've been in this channel for a long time

#

or discord, rather

#

a built in reset???

#

and my social security is...

gentle flint
#

my CPU is shitting itself

dapper pendant
#

can you guys

#

stop

#

unmute me?

#

how can i speek?

#

pls

whole bear
#

check out the voice-verification channel

dapper pendant
whole bear
#

no probs :>

woeful salmon
#

@gentle flinthttps://docs.conda.io/projects/conda/en/latest/commands/install.html#Channel%20Customization

flat sentinel
#

@gentle flint hi verboof

#

Your cpu

#

You can get of marktplass

#

For free

pastel cipher
#
import sys
import math

# Auto-generated code below aims at helping you parse
# the standard input according to the problem statement.

n = int(input())
mylist = []
for i in input().split():
    mylist.append(int(i))
    x = int(i)
print(min(mylist) + max(mylist))

# Write an answer using print
# To debug: print("Debug messages...", file=sys.stderr, flush=True)

print()```
gentle flint
flat sentinel
#

Not now

#

You can

#

When it was 2018

#

But now

#

ME MUST MINE BITCOIN

#

BRRRR

gentle flint
#

๐Ÿฆฆ

whole bear
#

order

woeful salmon
#

i'm going to sleep after this so this is where you guys can start a new one

#

on the home page

#

me when i was 12

frosty star
#

Thats adorable

woeful salmon
#

thanks ๐Ÿ™‚

woeful salmon
#

how to start a new one

gentle flint
molten pewter
#

low-code

frosty star
#

Why

molten pewter
#

Z4

hardy karma
#

hi

karmic comet
#

Why can't we talk in here lol

#

Fair enough

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.

hardy karma
#

Im wondering if I could possibly get help from the professionals from a rookie

#

I have a project im working on

#

Its a text adventure game, im pretty sure alot of it is debugging but I cant get it to work

#

I stayed up all night trying to get it done

#

couldnt

somber heath
#

Oh goodo.

hardy karma
#

yeah ):

#

is there a way I could get help from you Opal?

#

Traceback (most recent call last):
File "C:\Users\Ezra\CS-1400\cs1400-sneks-project-text-adventure-game\game.py", line 137, in <module>
main()
File "C:\Users\Ezra\CS-1400\cs1400-sneks-project-text-adventure-game\game.py", line 132, in main
command = choose(options)
File "C:\Users\Ezra\CS-1400\cs1400-sneks-project-text-adventure-game\game.py", line 110, in choose
for option in options:
TypeError: 'NoneType' object is not iterable

#

thats my error

#

yes

#

dude

#

im desperate

#

im still here to im listening

somber heath
#

!e py my_list = [45,2,4] print(my_list.sort()) print(my_list)

wise cargoBOT
#

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

001 | None
002 | [2, 4, 45]
hardy karma
#

hmnmmmm okay

somber heath
#

!e py for each in None: ...

wise cargoBOT
#

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

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

would you want to see my whole code, ive been trying to debug it but I cant find the culprit

#

yes definelty

#

the for each in none makes sense

#

Would you be cool if i sent you a copy of the code to see what it might be

#

dude, Ive been breathing speaking python these last few days

#

the amount of youtube videos I have consumed ...

somber heath
#

!code

wise cargoBOT
#

Here's how to format Python code on Discord:

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

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

somber heath
#

!paste

wise cargoBOT
#

Pasting large amounts of code

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

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

hardy karma
#

Im a hobbyist but also studying lol

#

Think that link should work

#

please dont judge my terrible code haha

#

yeah just embarrased it must seem messy

#

the car is cool though yes

somber heath
#

!e py a = ("Apples" " and" " grapes") print(a)

wise cargoBOT
#

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

Apples and grapes
hardy karma
#

gotcha thank you

somber heath
#

!voice @gusty birch

wise cargoBOT
#

Voice verification

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

gusty birch
#

!voice

somber heath
#

An if stanza consists of exactly one if, zero or more elif, zero or one else.

#

In that order.

#

!e py text = "Hello." try: for i in range(100): print(text[i]) except IndexError: pass print("Goodbye!")

wise cargoBOT
#

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

001 | H
002 | e
003 | l
004 | l
005 | o
006 | .
007 | Goodbye!
somber heath
#

...

karmic comet
torn raven
karmic comet
#

A minimalistic, customisable typing website. Test yourself in various modes, track your progress and improve your typing speed.

somber heath
#

I think I need to see this.

#

@karmic comet

#

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

karmic comet
#
void to_phone(string s) {
     cout << "(" << s[0] << s[1] << s[2] << ") " << s[3] << s[4] << s[5] << "-" << s[6] << s[7] << s[8] << s[9];
 }```
somber heath
#

...Never touch a keyboard ever again.

karmic comet
#

LMFAO

#
#include <iostream>
#include <string>
using namespace std;
int main() {
    string s;
    getline(cin, s);
    cout << '(' << s[0] << s[1] << s[2] << ")" << " " << s[3] << s[4] << s[5] << "-" << s[6] << s[7] << s[8] << s[9] << endl;
}```
torn raven
#
for (int i = 0; i < s.length(); ++i) {
  if (i == 0) {
    cout << "(";
  if (i == 7) {
    cout << "-"
  }
  cout << s[i];
.....

}
#

``

spring zenith
#

print(f"({s1} ) {s2} - {s3})")

frozen jetty
#

Cannot activate the 'Pylance' extension because it depends on the 'Python' extension, which is not loaded. Would you like to reload the window to load the extension?

karmic comet
#

code --version

half flare
#

hi opal mist

remote jacinth
#

@somber heath hi

#

guess we aren't voice verified lol

#

what's everyone up to ?

#

hmm

#

what are you making? @somber heath

#

i think i've never heard of it, sounds cool

#

ooh nice

#

i am kinda afraid to touch ML

#

must be a deep topic

#

i've been messing around with GUIs and scripts

#

automation kinda stuff

#

tkinter / qt / pysimplegui

#

I like qt a lot

#

Yeah, but i tried setting it up for c++ and gave up halfway through

#

such a pain

#

gotta love that you can just pip install it for python