#voice-chat-text-0

1 messages ยท Page 852 of 1

uncut meteor
#

amen

dense ibex
#

A tarp

#

And this hat

stuck furnace
#

Fetching ๐Ÿ˜„

uncut meteor
#

The BBQ Gremlin

stuck furnace
#

You would just get severe burns tbh.

#

And maybe super-powers.

#

Yeah, I think the sphere represents like a confidence interval ๐Ÿค”

dense ibex
#

We safe!

vivid palm
#

looks pretty nice

#

let it rest and let's see the insides

zealous wave
#

wait

#

what temp

#

if its not rare or medium rare ima be disappointed jake.

stuck furnace
#

You might want to season them again as I think the rain will have washed any off ๐Ÿ˜„

#

You can estimate how far away the strike was by counting the time between the flash and the thunder. (5 seconds is about 1 mile.)

vivid palm
#

chili you have echo

uncut meteor
#

@zealous wave, chill with the echo

dense ibex
#

@zealous wave you have an echo

#

oop

zealous wave
#

Sorry I wasnt at my pc

stuck furnace
#

That's actually what space-craft do ๐Ÿ˜„

#

Fall and miss the ground.

uncut meteor
stuck furnace
#

Ohh, did you see that slo-mo guys video?

#

Yeah, the lightning will take the path of least resistance. But the sound may burst your eardrums.

vivid palm
stuck furnace
#

Guys, no doxing please ๐Ÿ˜‘

#

@willow drift Would you like to stream something?

#

Yeah, I don't really know tbh ๐Ÿ˜„

round tundra
#

@faint ermine what does mean each point that flashes on the map? also really impressive

dense ibex
#

!server

wise cargoBOT
#
Server Information

Created: 4 years, 5 months and 13 days ago
Voice region: europe
Roles: 83
Member status: status_online 43526 status_offline 173594

Members: 217120

Helpers: 117
Moderators: 28
Admins: 15
Owners: 3
Contributors: 39

Channels: 235

Category: 29
News: 12
Staff: 68
Stage_Voice: 1
Text: 117
Voice: 8

dense ibex
#

@vivid palm ^^

vivid palm
brave steppe
dense ibex
#

!helpdm on

wise cargoBOT
#

โŒ @dense ibex Help DMs are already ON

faint ermine
#

!helpdm on

wise cargoBOT
#

:ok_hand: @faint ermine Help DMs ON!

brave steppe
#

console.log(![])

#

false

faint ermine
brave steppe
#

Sorry guys, there's lightning really close ๐Ÿ˜ฌ

#

Trying not to wreck my PSU

#

I don't think I have one of those lightning-safety things haha

zealous wave
#

!helpdm on

wise cargoBOT
#

:ok_hand: @zealous wave Help DMs ON!

severe pulsar
#

!helpdm on

wise cargoBOT
#

:ok_hand: @severe pulsar Help DMs ON!

severe pulsar
#

awesome!

whole bear
#

hii

opaque beacon
#

!helpdm on

wise cargoBOT
#

:ok_hand: @opaque beacon Help DMs ON!

opaque beacon
#

cool

lusty prawn
#

Hello

severe pulsar
#

damn everybodys muted in vc

lusty prawn
#

haha nope

pliant atlas
#

everyone's on mute :D

low basin
#

any mac users

#

especially m1 because i have some problems

#

any help is appreciated

lusty prawn
#

i have m1 mac

lusty prawn
low basin
#

i cant download most python libraries nor homebrew when i tried to download pygame it had a compiling error

vivid palm
#

@uncut meteor bongowave

frigid panther
#

brb, dinner

whole bear
#

yes

#

no

#

yes

#

yup

#

wht no

#

yes

crimson copper
#

you remembered!

steep grove
#

me with no 50 messages ๐Ÿ˜ญ

whole bear
#

i changed my username

steep grove
#

lol

#

so

#

i want to talk

#

but ugh

#

wat

#

are u reading my messages

#

waaaaaaaaaaaa

#

nice ๐Ÿ˜…

#

im like really bad with py

#

my friends flex with their code

whole bear
#

metoo

steep grove
#

and hate me cuz im indian =[

#

ikr

#

can u guys help me make my code better?

short gate
#

Hello

steep grove
#

ayy thanks man

short gate
#

How's the Code Jam?

steep grove
#

code jam out of my league

short gate
steep grove
short gate
#

I have no intention of participating in this year's Code Jam.

steep grove
#

colored module is like soooo dam goodddddddddd

short gate
#

I can at least help participants.

steep grove
#

i can use colorama but for me colored is kinda hard but colored is like really cool

#

whats ur fav module guys?

steep grove
short gate
steep grove
#

i love py but c++,c#,go and rust are faster

#

whyyyyyyy

short gate
#

@uncut meteor Why?

uncut meteor
#

why what?

steep grove
#

i wantttttttttt py armourrrrrrrrr premium

crimson copper
#

why?

steep grove
#

rust like really hard af

crimson copper
#

it's not that bad

steep grove
crimson copper
#

why do you need to obfuscate

steep grove
#

cuz i gotta sell my shit

#

lol

#

dont ban me pls

#

yus

crimson copper
#

just do SaaS

steep grove
#

i use my friends auth

#

well idk hes famous

crimson copper
#

aren't those unhealthy

steep grove
#
import sys
import os
import time
import colorama
import colored
import ctypes
from colorama import Fore, Style, init
from colored import fore, back, style, fg, bg, attr
os.system("cls")   

logo = f'''{Fore.CYAN}
LOGIN
                                        '''
print(logo)                                        
print(f"[{Fore.MAGENTA}1{Fore.CYAN}] {Fore.WHITE}Login\n{Fore.CYAN}[{Fore.MAGENTA}2{Fore.CYAN}] {Fore.WHITE}Register\n{Fore.CYAN}[{Fore.MAGENTA}3{Fore.CYAN}] {Fore.WHITE}Exit\n  ")
login = input(f"{Fore.MAGENTA} >> {Fore.WHITE}")
if login == "1":
    os.system("cls")
    print(logo)
    username = input(f"{Fore.LIGHTCYAN_EX}[{Fore.MAGENTA}1{Fore.LIGHTCYAN_EX}] Username:{Fore.WHITE} ")
    password = input(f"{Fore.LIGHTCYAN_EX}[{Fore.MAGENTA}2{Fore.LIGHTCYAN_EX}] Password:{Fore.WHITE} ")
    os.system("cls")
    print(f"{Fore.WHITE} Thanks For Logging In!! | Would You Like To Go To The Menu y/n")
    gotomenu = input(f"{Fore.MAGENTA} >> {Fore.WHITE}")
if gotomenu == "y":
    import menu
if gotomenu == "n":
    print("BYE!!")
    time.sleep(2)
    exit()
else:
    if login == "2":
        os.system("cls")
        print(logo)
        username = input(f"{Fore.LIGHTCYAN_EX}[{Fore.MAGENTA}1{Fore.LIGHTCYAN_EX}] Username:{Fore.WHITE} ")
        password = input(f"{Fore.LIGHTCYAN_EX}[{Fore.MAGENTA}2{Fore.LIGHTCYAN_EX}] Password:{Fore.WHITE} ")
        license = input(f"{Fore.LIGHTCYAN_EX}[{Fore.MAGENTA}2{Fore.LIGHTCYAN_EX}] License:{Fore.WHITE} ")
        os.system("cls")
        print(f"{Fore.WHITE} Thanks For Logging In!! | Would You Like To Go To The Menu y/n")
gotomenu = input(f"{Fore.MAGENTA} >> {Fore.WHITE}")
if gotomenu == "y":
    import menu
else:
    if gotomenu == "n":
        print("BYE!!")
    time.sleep(2)
    exit() 
if login == "3":
    exit()
else:
    print("TF DID U CHOOSE A OPTION THAT DOES NOT EXIST")
    time.sleep(2)
    print("FUCK OFF!!")
    time.sleep(1)
    exit()
    ```bad code ๐Ÿ˜ฆ
crimson copper
#

you're using import to run code?

crimson copper
#

@steep grove you're using import to run code?

steep grove
crimson copper
#

yes, but you're using it to just, run the file?

crimson copper
#

what

steep grove
#

wdym

crimson copper
#

you're using an import statement to just run code from another file

steep grove
#

im like really dumb

crimson copper
#

hm

steep grove
#

is there any other way>

rugged root
#

You're not dumb, you're learning

steep grove
rugged root
#

There's a big difference

steep grove
#

im like a beginner

crimson copper
#

it's just strange

#

better to import a function and call that

steep grove
#

thanks for understanding @rugged root

crimson copper
#

rabbits don't really congregate though right?

#

i've got one for my monitor

vivid palm
#

morning

#

wdym "oh no"

hollow haven
#

hi hi!

#

... I am suspicious

#

what is it?

#

NOPE

vivid palm
#

kit kat

crimson copper
#

๐Ÿค” doesn't really flow

#

also someone is already kj

hollow haven
#

too close to kk_ <-- insert last letter

short gate
#

Hey.

#

Do you know what other programming languages support f-strings?

crimson copper
#

and not hte same syntax

#

even bash has them lul

hollow haven
#

amegablobsweats 115 unique submission for the qualifier so far amegablobsweats

crimson copper
#

like bash

#

and all the other shells

#

@uncut meteor you mean basically all the C-style langs lol

#

@amber raptor it doesn't coerce for you, unless you're using raw pointers. if yuo try let x: String = 'e'; you'll get a compiler error for not using the right type

#

i realize he's driving so if someone coudl read it out? lol

#

coercing for types means like in java, String x = 4 + "e";, i think that will work

#

it'll just make the 4 a string

vivid palm
#

my coworker uses a usb touchpad

#

idk how

crimson copper
#

do they put it in the same spot relative to the keyboard?

vivid palm
#

idk she says she's used to macbook

#

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

crimson copper
#

@uncut meteor ice?

paper tendon
#

@cerulean basinNice song ๐Ÿ™‚

crimson copper
#

only a little bit

#

crunchy water xd

#

wait no, not crunchy, clicky

#

nah, crunchy is lower pitched

#

yeah, click sounds like click, when crunch sounds like crunch

#

great way to burn yourself

vivid palm
#

"that sounds good" ๐Ÿค”

#

what's that thing from arrested development?

#

the fryer

#

cornballer

#

the tv show

#

l o l

#

griff i think you'd like this show..

#

griff does a southern us accent

crimson copper
#

just speak correctly and you'll have an american accent

vivid palm
#

???????? jake?

#

lol

crimson copper
#

i've never read harry potter

frigid panther
#

o/ @icy axle

crimson copper
#

i've never even touched a harry potter book

hollow haven
#

Code Jam Participants are below Helper

#

Showcasing that someone is a helper is still a bit more important in my eyes than showing they are participating in the code jam

frigid panther
#

o/ hem

#

and o/ mina

hollow haven
#

The Code Jam Management System is not something that'll be ready for this Jam

frigid panther
#

oh

hollow haven
#

it's meant as a way to manage across code jams, it's not specifically useful for an individual jam

#

!mute @rugged root

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied mute to @rugged root until 2021-06-22 14:47 (59 minutes and 59 seconds).

crimson copper
#

lmao

hollow haven
#

:3c

vivid palm
#

:O

crimson copper
#

_>

hollow haven
#

But I want the work started on it now so it can be ready for December when I do want to try to automate some stuff between jams

#

Nah, forms wasn't quite ready in time and thoroughly tested to support it

#

That was the goal, but we hit a few last minute snags with it

#

So that's the plan for December!

#

Although I may still hold off on the results for the first 2-3 days of submissions. The submitted solutions almost always require us to adjust our test suite.

latent summit
#

lol why cant i use my mic

dense ibex
#

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

dense ibex
#

So we have a voice verification system check out that channel.

vivid palm
#

99

#

ah

latent summit
#

and whats the bandstand ? lol this update

hollow haven
#

People seem to be really enjoying the Qualifier, I'm quite happy with it

crimson copper
#

it's neat

hollow haven
#

The Bandstand is our public Stage Channel that we'll be using for 2 more events

#

mhm, salt suggested "make a table!"

latent summit
#

aha cool

crimson copper
#

banned

hollow haven
#

!mute @rugged root

wise cargoBOT
#

:x: According to my records, this user already has a mute infraction. See infraction #40195.

hollow haven
#

noooooooooooo

frigid panther
#

you always have the disconnect option

dense ibex
#

!user 98195144192331776

wise cargoBOT
#

You may not use this command on users other than yourself.

rugged root
#

God damn it

hollow haven
#

:3c

amber raptor
crimson copper
#

of course, little bobby tables

dense ibex
#

!e

DROP TABLE python_discord
wise cargoBOT
#

@dense ibex :x: Your eval job has completed with return code 1.

001 |   File "<string>", line 1
002 |     DROP TABLE python_discord
003 |          ^
004 | SyntaxError: invalid syntax
frigid panther
#

bruh

dense ibex
crimson copper
#

!e import sqlite3

wise cargoBOT
#

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

[No output]
crimson copper
#

oh hey

hollow haven
#

I specifically recruited salt both for their incredible knowledge on TUIs and also to make sure they couldn't participate >_>

rugged root
#

That's fair

#

Dude is a monster

#

In the best possible way

hollow haven
#

just... just look at the examples

#

Salt is on GitHub but isn't part of our github org

#

Yeah

#

Like I said, TUI god

rugged root
dense ibex
vivid palm
#

yeah march for me

hollow haven
#

That is salt getting the Advent of Code bug and developing nurses for it

uncut meteor
vivid palm
#

around my birthday lol

hollow haven
#

Yup! Salt is an Advent of Code Visualizer demon

crimson copper
#

@uncut meteor he didn't make it for aoc, he just used it for it

hollow haven
#

Salt is very good at what he does

icy axle
#

My connection doesn't seem to wanna work too well today

frigid panther
#

wait until we see salt make terminal based minecraft

hollow haven
#

The hardest part to believe: salt does this in windows, not linux

rugged root
#

Why is that hard to believe

hollow haven
#

Because TUIs in windows generally don't go well together, especially considering they're using curses and not something like rich

rugged root
#

Fair

#

Yeah okay, that's fair

crimson copper
#

but wsl

dense ibex
#
import (
    "bytes"
    "container/heap"
    "context"
    "fmt"
    "math"
    "reflect"
    "regexp"
    "runtime"
    "sort"
    "strconv"
    "sync"
    "time"

    "github.com/go-kit/log"
    "github.com/go-kit/log/level"
    "github.com/opentracing/opentracing-go"
    "github.com/pkg/errors"
    "github.com/prometheus/client_golang/prometheus"
    "github.com/prometheus/common/model"
    "github.com/uber/jaeger-client-go"

    "github.com/prometheus/prometheus/pkg/labels"
    "github.com/prometheus/prometheus/pkg/timestamp"
    "github.com/prometheus/prometheus/pkg/value"
    "github.com/prometheus/prometheus/promql/parser"
    "github.com/prometheus/prometheus/storage"
    "github.com/prometheus/prometheus/util/stats"
)
rocky kiln
dense ibex
#

lol

rocky kiln
#

runs my loki instance and some other shit

#

logging

#

pretty amazing

#

you can ingest basically everything

#

nah sentry is error reporting

#

loki is log aggregation

#

ie i have all my journal messages

#

or bot logs

#

yeah but logstash is more suited towards anaytics

#

or elastic is

#

loki is way more slim

#

you can run metrics and shit but no analytics

hollow haven
#

119 unique code jam submissions.... oooooh boy

rocky kiln
#

did you see mine KEKW

hollow haven
#

... nope. We're going to have slightly larger team sizes, no more than 8 total

rocky kiln
hollow haven
#

Regardless of how many teams there are we're still only code reviewing 10 projects

rocky kiln
#

its a beautiful oneliner

hollow haven
#

and the qualifier is a tad bit harder this year and there's less time for it

#

But I wasn't expecting this much server growth over the past 6 months.... so we may end up with uhhh.... a lot of teams

rocky kiln
#

corona goes brrr

#

@strong arch whatcha using nowadays?

#

@rugged root what did you kill

rugged root
#

Legacy machine we use for old versions of QuickBooks and Lacerte Tax suite

strong arch
rocky kiln
#

neat

rugged root
#

Well we have teams

#

Which is fine

rocky kiln
#

using it aint too bad, developing for it is

whole bear
#

vc dead?

#

oh ok

rugged root
strong arch
rugged root
#

@dense ibex Found another great logo

whole bear
#

i joined like 2 mins ago but couldn't understand what the discussion is about.

rugged root
#

@hollow haven I"M FREEEEEEEE

strong arch
icy axle
#

It's kind of working

crimson copper
#

@rugged root the capacitor is still dangerous after being unplugged, that will kill you

rugged root
#

Oh absolutely

crimson copper
#

tons of stuff in a microwave will kill you if you're not careful

rugged root
#

But I would figure that most of the ones in microwaves would properly dissipate over time

#

CRTs don't

#

I'm good

crimson copper
#

not dead ๐ŸŽ‰

rugged root
#

Have this crappy old extension cord

#

It just does not let go of plugs

dense ibex
hollow haven
#

numpy tries to match matlab too much imo

#

Yeah, a lot of numpy's syntax is informed by matlab

strong arch
clear shadow
#

!e

import numpy as pandas
print(pandas.zeros((8, 10)))
wise cargoBOT
#

@clear shadow :white_check_mark: Your eval job has completed with return code 0.

001 | [[0. 0. 0. 0. 0. 0. 0. 0. 0. 0.]
002 |  [0. 0. 0. 0. 0. 0. 0. 0. 0. 0.]
003 |  [0. 0. 0. 0. 0. 0. 0. 0. 0. 0.]
004 |  [0. 0. 0. 0. 0. 0. 0. 0. 0. 0.]
005 |  [0. 0. 0. 0. 0. 0. 0. 0. 0. 0.]
006 |  [0. 0. 0. 0. 0. 0. 0. 0. 0. 0.]
007 |  [0. 0. 0. 0. 0. 0. 0. 0. 0. 0.]
008 |  [0. 0. 0. 0. 0. 0. 0. 0. 0. 0.]]
somber heath
#

"Sir Cat! Sir Cat! The Mice King's army is at the gates!"

"...Prepare the catapaults."

strong arch
hollow haven
#

Like numpy's basic type being ndim array is because matlab's basic type is an ndim array. It's default for performing elemeny-by-element is also based off of Matlab

dense ibex
vivid palm
#

@fair pewter

rugged root
#

Right?

#

Spite

dense ibex
#

oooh mina did you just @ a random person

vivid palm
#

no my fren :3

dense ibex
#

Banned

#

oh lol

vivid palm
#

he's the keyboard guy i told you abt

dense ibex
#

Oh cool

strong arch
rugged root
#

I now remember why your sensitivity was jacked so high up, @strong arch

faint ermine
fair pewter
vivid palm
#

hi ming

dense ibex
#

Hi ming can you take my switches off my prebuilt keyboard

hollow haven
#

I think numpy's design for accessing certain rows/elements could be improved

clear shadow
#

While working with axis in numpy is impressive

dense ibex
clear shadow
#

Storing a class object in numpy arrays will possible?

strong arch
#

yes but dont

rugged root
faint ermine
peak copper
#

here is a project

#

We have chosen not to use that because it cost so much

#

Well were not charging currently so

#

we have a command prefix

dense ibex
#

!user

wise cargoBOT
#
jake (_jake#0002)

hypesquad_bravery

User information

Created: 1 year, 4 months and 27 days ago
Profile: @dense ibex
ID: 670802831678373908

Member information

Joined: 5 months, 18 days and 10 minutes ago
Roles: <@&463658397560995840>, <@&764802720779337729>, <@&854107452243968040>, <@&585529568383860737>, <@&267630620367257601>, <@&787816728474288181>

Infractions

Total: 2
Active: 0

dense ibex
#

!ping

wise cargoBOT
#
Pong!
Command processing time

117.726 ms

Python Discord website latency

3.838 ms

Discord API latency

128.620 ms

fair pewter
#

costs like 10 dollars for 110 switches

dense ibex
#

Yeah lol I was more or less joking since mina told me that you do that kind of stuff

fair pewter
#

@vivid palm

vivid palm
#

@fair pewter

#

why can't i @ mention you unless i use right click>mention?

paper tendon
#

39C

fair pewter
#

because I'm holy

vivid palm
fair pewter
#

lol

vivid palm
#

oh @fallen geyser when

#

did you join

dense ibex
#

@fair pewter @vivid palm

vivid palm
#

it's a minamina party

fair pewter
#

wait mr teemo is also in this server?

#

lmao

#

I spend a whole freakin day

#

implementing a weight optimization method for keras

#

and found out that it doesn't converge

#

lol

vivid palm
#

yeah he apparently made some rss reader or smth in like middle school and sold it for $$$

fair pewter
#

woah

vivid palm
#

i forget if it was python or not

fair pewter
#

man got some skills

#

if I join

#

are u gonna talk

vivid palm
#

@fallen geyser what was the company you sold the RSS thing to?

rugged root
#

Unsigned integers are not part of the SQL standard

vivid palm
fallen geyser
rugged root
#

Hey choi, good to see you

fallen geyser
#

Hi Mr Hemlock

vivid palm
#

i see you're playing poker again

#

addict

dense ibex
#

Wait is teemo the streamer you were telling me about @vivid palm

vivid palm
#

oh no no

dense ibex
#

oh

#

smh

vivid palm
#

that's taehatypes

dense ibex
#

ohh

vivid palm
#

he big

fallen geyser
#

Steamer?

vivid palm
#

streamer

#

twitch, youtube, etc.

fallen geyser
#

Thank you for correction!

crimson copper
#

well yes, but 8 times the space lol

limpid umbra
#

scala ?

dense ibex
#

scylladb

rugged root
#

I think something in JS just clicked. It's all objects yes, but you're affecting the very core of what they are

#

Like

#

Actively

dense ibex
#

@tiny socket do you think it's worth removing the guild from the db if they remove the bot from the server?

tiny socket
#

wanna go to vc1 to discuss

dense ibex
#

sure

gloomy vigil
#

nah ig

rugged root
#
gloomy vigil
#

bye guys i am going

mild lake
#

What about JSON?

icy axle
#

@dense ibex that's a really cool navbar with the rain

limpid umbra
#

the monster

dense ibex
rotund scaffold
#

@limpid umbra when you say CVS you mean CSV right, or is there CVS file extension I'm not aware about

rugged root
#

No he's meaning CSV

#

Unless the pharmacy is more involved with coding than I thought.

limpid umbra
#

servo( 0 , 90 )

warped saffron
#

@rugged root Hey man, do you know if learning arduino knowledge is compatible with a raspberry Pi. Do you think so?

rugged root
#

Honestly not sure. Raspberry Pi should be thought of as a Linux computer, rather than a specific kind of microcontroller

warped saffron
#

Linux computer?

#

I have a Pi motherboard

rotund scaffold
#

If Ready Player One ever becomes reality then that

rugged root
#

Voice chat convo

warped saffron
#

ah

rotund scaffold
warped saffron
#

Don't get ya there Maxy

rotund scaffold
#

The conversation was going what would require tremendous computing power, I mentioned that if Ready player One, a movie where you can enter a virtual reality where theres no difference between reality and virtual world, it would be an example of that

rugged root
#

Which would be absolutely dope

#

CrossCode also comes to mind with that kind of virtual/augmented reality

crimson copper
#

you can do that tho

mild lake
#

Remote desktop?

rugged root
rotund scaffold
#

Message Passing Interface (MPI) is a communication protocol for parallel programming. MPI is specifically used to allow applications to run in parallel across a number of separate computers connected by a network

rugged root
#

The more you know

crimson copper
#

@limpid umbra have you made such a program before?

rugged root
#

Ah HA

#

Found it

#

"Alright hereโ€™s a metaphor.

Declarative Programming is like asking your friend to draw a landscape. You donโ€™t care how they draw it, thatโ€™s up to them.

Imperative Programming is like your friend listening to Bob Ross tell them how to paint a landscape. While good ole Bob Ross isnโ€™t exactly commanding, he is giving them step by step directions to get the desired result."

rotund scaffold
#

Ive gotta drop off, had a really good time

rugged root
#

Yep, nice talking to you! Hope to see you around

rotund scaffold
#

I found the podcast which explains in detail what you were talking about

limpid umbra
#

ok cool

terse needle
#

I thought for the longest time that lisp was part emacs. Like to extend the functionality of emacs

#

emacs specific is what im trying to say

rugged root
#

Sure sure

crimson copper
#

lmao

vivid palm
#

@limpid umbra are you from the midwest by any chance?

#

yes indeed

#

type .catify

#

oooooooooooooooooooooooooooooooooh

#

that makes sense

crimson copper
#

.catify

viscid lagoonBOT
#

Your catified nickname is: aoeu htns | แ“•แ˜แ—ข

crimson copper
#

that line is terrible

vivid palm
#

ia

crimson copper
#

hm

warped saffron
#

@limpid umbra You could literally make your own podcast and put people to sleep with it while giving them fun stories

vivid palm
#

what is this story telling lol

#

Lol i

#

lol

warped saffron
#

@limpid umbra Do you also get the sense of fearing to make mistakes in math exclusively? Have any idea how to get rid of it?

#

I've grown around the culture of math being more important than other subjects and therefore math feels naturally more pressuring even when it's easy

terse needle
warped saffron
#

@limpid umbra See you guys in the near future, nice talking to you!

rugged root
#

@amber raptor Hey bud

#

@icy axle And hey bud

strong arch
vivid palm
#

@amber raptor hey bud

amber raptor
rugged root
#

Hey to all of you

#

@amber raptor That's how I've felt for the last hour

amber raptor
#

Sounds like IoT talk

rugged root
#

Sort of

#

Old style love of microcontrollers and what not

icy axle
amber raptor
rugged root
#

@vivid palm Hey bud

#

Yeah I don't know, I just work here

icy axle
#

@rugged root Light bud

rugged root
#

Not any more

#

I need to work out

vivid palm
#

@rugged root hey bud

amber raptor
#

Is this going to lead about Bitcoin is superior exchange of value?

rugged root
#

No

#

Please no

#

Don't jinx it I swear to christ

vivid palm
#

undo undo

rugged root
#

I will end you, Rabbit

icy axle
amber raptor
#

Control Z, Control Z

rugged root
vivid palm
#

undo undo!

#

rabbit laughing makes my day

amber raptor
#

Sorry Krisp got turned off

rugged root
#

All good

rugged root
#

And I'm okay with that

#

It's what a good friendship is based on

vivid palm
#

or anyone's suffering really, no?

icy axle
amber raptor
#

Someone sell me why we should care?

rugged root
amber raptor
rugged root
#

I for sure am

amber raptor
#

Linux isnโ€™t RTOS

#

Period

strong arch
#

its not rtos but 95% of the time u dont need it to be

amber raptor
#

Some coworkers showed up

icy axle
#

That's (open)sus

rugged root
#

Well played

#

@hollow haven Hey bud

hollow haven
#

hullo~

#

Yeah, a pi3b can do OpenCV no problem, just won't be very fast

#

In fact the new Pi Camera works really well with opencv

amber raptor
hollow haven
#

If you need 30 fps or less and images that aren't too big, you're golden

#

The one I have at home struggles at 60 fps, but 30 or lower and it's gucci and realtime

#

We do it for car detection and what not, but it also works for facial

amber raptor
#

Car detection

#

I had an idea for system that would detect unusual license plates by learning normal plates

brazen hare
#

please answer

peak pike
rugged root
#

What're we talking about now?

#

Just came back

hollow haven
#

uhhhhhhhh, no Rust is gaining popularity a lot

#

Like Discord itself uses it in its backend

#

Like to stay it's not used in software is NOT accurate

#

It's even being incorporated into a linux kernal

#

Rust is popular now, not in 5 years

#

Rust is amazing for cryptography and memory safety

dense ibex
#

Have you done any rust @hollow haven?

hollow haven
#

nah, I don't have time. But I like to keep up with some of fun languages and especially any language that may get rid of the absolute reliance some stuff have on C/C++

strong arch
#

imo its also really good for graphics stuff with wgpu

hollow haven
#

If your algorithm/architecture design sucks, linting isn't gonna fix your glaring security holes

peak pike
#

webassembly also one the big selling points

#

^^ huge really

dense ibex
#

yeah but it's not too popular yet

#

hopefully soon people will use it more

strong arch
#

its mainly not popular cuz wasm cant directly interact with dom

#

it has to call js for that

peak pike
#

right

#

thats a browser problem tho

amber raptor
#

Programmers like Low Level because itโ€™s like baking, you get to experiment but businesses donโ€™t like it and would prefer to just grab premade cookie dough

#

Wasm has security issues as well

#

Like web proxies canโ€™t easily view it

#

Security agents at host level canโ€™t scan it easily

rugged root
#

Actually regarding WASM, do you have to explicitly tell the browser that you want it to run whatever WASM thing it has?

amber raptor
#

Havenโ€™t come across WASM yet or didnโ€™t know

rugged root
#

Fair

amber raptor
#

At work, we looked at WASM but we donโ€™t have good use case for it

rugged root
#

Yeah that seems to be what I'm seeing

#

It just isn't bringing a lot more to the table than we can already do

#

Or even if it can, there isn't a lot of need

amber raptor
#

Some really large SPA might be able to benefit from it.

#

Like Google Workspace/Gmail/Sheets

rugged root
#

True

#

And I guess the audit software we have could benefit...

#

Especially since I had to expand the amount of memory it used

amber raptor
#

Iโ€™m so confused

rugged root
#

Same, honestly

hollow haven
#

micropython and circuitpython are minified separate versions of python

rugged root
#

I have even less idea of what's going on than I did a few minutes ago

#

I'm very tired

peak copper
#

This man is reinventing the whole wheel

rugged root
#

With toothpicks

#

Back in a sec, I'm going to be joining on my phone when I get to the car

ivory matrix
#

anyone got tips on how to get unsupressed?

#

bc it says to have at least 50 messages but i dont want to spam

limpid umbra
ivory matrix
#

@rugged root How can i color words in python without using some GUI

limpid umbra
glad sandal
#

!resources

wise cargoBOT
#
Resources

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

limpid umbra
#

monter

tough panther
#

this is how these things are supposed to look. Use solid copper wires

uncut meteor
#

never happens tho

tough panther
#

You just need to have the proper tools and enough patiens

#

it's much easier to work if your autism can flow freely

buoyant topaz
#

@rugged root can u help me in ml?

#

am kind a stuck

dense ibex
#

@severe pulsar i neeed help with my code

severe pulsar
#

yo

dense ibex
#

lol jk

#

but quick response

severe pulsar
#

aah cool cool

#

๐Ÿ˜Ž

dense ibex
limpid umbra
#

jake - noist mic

severe pulsar
#

jake isnt in the vc?

limpid umbra
#

ok

dense ibex
limpid umbra
#

noisy mic

dense ibex
#

I'm not in vc?

limpid umbra
#

ok

whole bear
#

can we talk

#

@wet hamlet

#

@limpid umbra can we talk

leaden comet
uncut meteor
#

brb getting coffee

dense ibex
#

!server

wise cargoBOT
#
Server Information

Created: 4 years, 5 months and 14 days ago
Voice region: europe
Roles: 84
Member status: status_online 41455 status_offline 176330

Members: 217786

Helpers: 117
Moderators: 31
Admins: 15
Owners: 3
Contributors: 39

Channels: 235

Category: 29
News: 12
Staff: 68
Stage_Voice: 1
Text: 117
Voice: 8

leaden comet
leaden comet
verbal mesa
#

yo yo

#

gentlemen

#

I cant talk

#

is there any one

#

who knows SELENIUM?

#

and wants to give a hand to a young fellow

#

ok

dense ibex
#

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

dense ibex
#

btw

#

for why you can't talk

verbal mesa
#

@dense ibex i have less than 50 msgs

#

ok so

#

the question is

#

๐Ÿฅ

#

can I use selenium requests to make POST msgs to the server, than capturing the response, changing it and running it with selenium webdriver?

#

feature *

#

No it's not, it is their own website and I can't send you a link... ๐Ÿ˜ฆ

#

Senior Hemlock

verbal mesa
#

@dense ibex turn on ac

#

but how ๐Ÿ˜ฆ

#

you want a snip of code of what I did ?

#

okay just give me a second

rigid linden
#

hey

verbal mesa
#

yes?

#

how will I do it than?

#

I am using selenium to later on open the website on webdriver selenium

tidal salmon
#

I can't hear, just watching

verbal mesa
#

What do you mean?

#

oh you think im hacking ?

tidal salmon
#

I'm watching the stream

#

what is Jake making?

rugged root
#

Art submission bot

verbal mesa
#

well i don't because they agree to me

#

how can i prove it

#

xd

#

hmmmm

#

I have a presentation where they wrote bug bounty

#

lol

#

want a screen shot ๐Ÿ˜‚

#

ill msg u in dm

short gate
#

Hello ๐Ÿ™‚

#

@dense ibex What's that?

#

So when will you guys add the #user-creations channel?

dense ibex
#

No, this is for my own use

rugged root
#

We're unlikely to bring it back

dense ibex
#

Ohh

short gate
rugged root
#

For showing off projects it's better to talk about them in channels or toss them into reddit

short gate
rugged root
short gate
#

@dense ibex You're really good at singing

rugged root
#

@wraith marsh

wraith marsh
#

oh ok

#

thanks

#

are u talking to me? lol im sorry my first time in a group chat

short gate
rugged root
wraith marsh
#

!voiceverify

#

lol omg im nervous

short gate
# wraith marsh !voiceverify

It is the only command that I can't type because there was one time I pissed up @rugged root by using text-to-speech, so he voice-banned me.

rugged root
#

@wraith marsh There's no reason to worry. What's the question you had about dataframes?

wraith marsh
#

oh i cant do the verification now cause i just joined the server

rugged root
#

Yeah

wraith marsh
#

i have a dataframe with the first column as 'date' and the second one with values. I have to normalize the values and when i do that it just messes with my date cause i cant do operations with it, obvs. but when i separate the values, do the operations and concat with "date' it doesnt work

#

oh yes its statistics. basically what u said

#

i have 25, 26, and i have to get like 0.5 0.7

#

lmao u guys are funny

#

this is my data normalized

rigid linden
#

do you want to change the scale?

rugged root
#

Hmm, you should be able to do it and it stays linked with the date...

wraith marsh
#

this is my dataframe. the plot i sent it's from another code but it's what i mean with normalizing, it's between 0 and 1

#

when i normalize in this code i loose the data

rugged root
wraith marsh
#

i know it should ๐Ÿ˜ญ

#

actually thats not even the problem, its too hard to describe lol

#

but thanks tho

#

thankss @rugged root @rigid linden

#

loll

rugged root
#

We'll be here as you try to figure out how to ask about it. It's one of those tricky things sometimes. Asking questions is a learned skill

rigid linden
#

correct me if I'm wrong but it seems that you want to change the range and the mean of data

wraith marsh
#

how old are u guys

#

like are u in college

rugged root
#

31, and I'm long out of college.... that I dropped out of for mental health reasons

#

I work at an Accounting Firm as Administrative Support, so I'm not a programmer by trade

whole bear
#

hemlock

wraith marsh
#

nicee

whole bear
#

unmute ;))

rugged root
#

I don't bend the rules

whole bear
#

bruh

#

it doesn't state anywhere that exiting accidentaly resets the bot

rugged root
#

It's just based it on last join date

whole bear
#

so what has it do w rules kek

#

just unmute ;))

rugged root
#

You're a big boy, you can wait the day and a half

#

It's not that long if you plan on being on the server for a long time

#

Just a drop in the bucket

whole bear
#

okay

rigid linden
#

The range should be different for your case

wraith marsh
#

lmao

wraith marsh
dense ibex
rugged root
#

@wraith marsh I'm pretty much here every weekday while I'm at work

#

I tend to not get on during the weekends

wraith marsh
#

where are u from?

#

lmao

#

nice

rugged root
#

!otn a jake doesn't need more ots

wise cargoBOT
#

:ok_hand: Added jake-doesnโ€™t-need-more-ots to the names list.

rugged root
#

!otn d jake-doesnโ€™t-need-more-ots

wise cargoBOT
#
Bad argument

Channel name must only consist of alphanumeric characters, minus signs or apostrophes.

#
Command Help

!otname delete <name>
Can also use: otname d, otname del, otname remove, otname rm

Removes a off-topic name from the rotation.

crimson copper
#

just copy from the bot message

tiny socket
tiny socket
#
 from os import abort class RecreationalMcNuke  "Making an instance will do nothing. deleting an instance will bomb your device. exit the interpreter or use execute to bomb immediately.
#

!e print((62)**len(RArjha56bGXgzUENXtS8nJ))

wise cargoBOT
#

@tiny socket :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 1, in <module>
003 | NameError: name 'RArjha56bGXgzUENXtS8nJ' is not defined
tiny socket
#

!e print((62)**len('RArjha56bGXgzUENXtS8nJ'))

wise cargoBOT
#

@tiny socket :white_check_mark: Your eval job has completed with return code 0.

2707803647802660400290261537185326956544
tiny socket
#

!e print(f"{2707803647802660400290261537185326956544:,}")

wise cargoBOT
#

@tiny socket :white_check_mark: Your eval job has completed with return code 0.

2,707,803,647,802,660,400,290,261,537,185,326,956,544
faint ermine
#

.wa short 2707803647802660400290261537185326956544

viscid lagoonBOT
faint ermine
#

.wa 2707803647802660400290261537185326956544

viscid lagoonBOT
tiny socket
#

!e print(f"{1.234567:.3f}")

wise cargoBOT
#

@tiny socket :white_check_mark: Your eval job has completed with return code 0.

1.235
faint ermine
#

Sign up on Patreon to get your donor role and early access to videos!
https://patreon.com/mCoding

Feeling generous but don't have a Patreon? Donate via PayPal! (No sign up needed.)
https://www.paypal.com/donate/?hosted_button_id=VJY5SLZ8BJHEE

Top patrons and donors:
John M, Laura M, Pieter G, Vahnekie, Sigmanificient

IN THIS VIDEO...
--------...

โ–ถ Play video
rugged root
#

!e

bacon = "ham"
print(f"{bacon=}")
wise cargoBOT
#

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

bacon='ham'
tiny socket
#

!e

class LOL:
  def __format__(self, spec):
    return "a"*__import__("random").randrange(1,16)

print(f"{LOL():h}")
wise cargoBOT
#

@tiny socket :white_check_mark: Your eval job has completed with return code 0.

aaaaaaaaaaaaaaa
tiny seal
rugged root
brave steppe
#

Gonna walk my dawg..

rugged root
rugged root
#

@haughty niche Your typing is coming through your mic

whole bear
#
import sublime
import sublime_plugin
import os
import re

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 != 'C://Users//Ayoush//AppData//Roaming//Sublime Text//Packages':
                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:
                print(file_path,'file is opened')
        

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

    def input(self, args):
        global file_path
        file_path='C://Users//Ayoush//AppData//Roaming//Sublime Text//Packages'
        begin_list=os.listdir(file_path)
        return file_system_inputhandler(begin_list)

stuck furnace
#

Hello ๐Ÿ˜„

#

I've been hiding in the mod channels...

dense ibex
#

Gotcha lol

brave steppe
#

There's also the issue of closed source and fixing stuff

#

Like, companies won't do stuff unless it gives them profit

#

That's been a bit of an issue with Unity

#

Where instead of someone fixing the bug themselves, you'll have to wait for the team to fix it and it's up to them of prioritising it.

keen wave
#

Ah sublime person sounds like someone I know irl

gloomy vigil
#

hemlock are you also contributing in the code jam?

#

ok

brave steppe
gloomy vigil
#

who did that

#

?

#

i have also used a lot of list comprehensions and map with lambda

brave steppe
gloomy vigil
#

hello opal

#

manage server ig

#

@brave steppe

#

are you participating in the code jam @somber heath

#

oh ok

brave steppe
amber raptor
#

Update on bike ride, was successful ended up chick fil a

#

Didnโ€™t get run over

gloomy vigil
#

bye everyone, i am also going to eat

neon sleet
#

8 teams? that sounds like a lot of people in a team

hollow yacht
#
  if not reason:
    await ctx.send("Please provide a reason")
    return
  reason = ' '.join(reason)
  await ctx.send(f":warning:{user} has been warned for {reason}.:warning:")
  for current_user in report['users']:
    if current_user['name'] == user.name:
      current_user['reasons'].append(reason)
      break
  else:
    report['users'].append({
      'name':user.name,
      'reasons': [reason,]
    })
  with open('reports.json','w+') as f:
    json.dump(report,f)```
rugged root
#

It might be more or less, I can't remember now

hushed dragon
#

` PY

dense ibex
#

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

hollow yacht
#
async def warncl(ctx, member: discord.Member):
  with open('reports.json', 'r') as f:
    records = json.load(f)
  if member.name in records['users']:
    index = [record['name'] for record in records['users']].index(member.name)
    records.pop(index)
    await ctx.send('removed all warns')
  else:
    await ctx.send('member has no warns')```
somber heath
#

What do I know?

#

Who is saying I know things?

hollow yacht
#

{"users": [{"name": "DanielIsHot", "reasons": ["Spamming"]}]}

rugged root
#

Hey Chris, hey Fred

cobalt fractal
#

๐Ÿ‘‹

amber raptor
#

Hey Chris

cobalt fractal
#

yo

hollow yacht
#
async def warn(ctx, user:discord., *reason:str):
  if not reason:
    await ctx.send("Please provide a reason")
    return
  reason = ' '.join(reason)
  await ctx.send(f":warning:{user} has been warned for {reason}.:warning:")
  for current_user in report['users']:
    if current_user['name'] == user.name:
      current_user['reasons'].append(reason)
      break
  else:
    report['users'].append({
      'name':user.name,
      'reasons': [reason,]
    })
  with open('reports.json','w+') as f:
    json.dump(report,f)```
cobalt fractal
#

I hear you were cycling

amber raptor
cobalt fractal
#

Nice

amber raptor
#

Will have to ride back to work

rugged root
#

What'd you end up getting?

amber raptor
#

Chick fil a

cobalt fractal
#

everything else will be wiped out

#

wait...is report a global?

amber raptor
#

Good excuse to learn sql as well

rugged root
#

True dat

cobalt fractal
#

it's not defined in this func

hushed dragon
cobalt fractal
#
amber raptor
dense ibex
hushed dragon
hollow yacht
#

WOW! Another cool discord.py video :D

Read description for links!

----------------------------------------ยญยญ---------------------------------------ยญ-ยญ--

Need Help?
Require help with your code? Why not head on over to our dedicated support discord where you can receive only the best support: https://menudocs.link/discord

Our Partner:
Thanks t...

โ–ถ Play video
rugged root
#

Huh, I'd never heard of aiosqlite

cobalt fractal
#

yea

#

there's aiomysql too

#

does what it says on the tin lol

#

just async bindings

rugged root
#

I figured

amber raptor
#

Or SQLite built in library

rugged root
#

I just didn't realize there was one

#

Yeah honestly, most times the async part isn't really needed

#

Queries really don't take that long

hushed dragon
cobalt fractal
#

Dpends on the query and where the db is

rugged root
#

Looking

amber raptor
#

Esp SQLite, unless storage is godawful slow, it will be really quick

cobalt fractal
#

sqlite is just on disk storage, so limited blocking

amber raptor
cobalt fractal
#

true

#

there's probably a sqwlite cache lib too

hollow yacht
#
async def warncl(ctx, member: discord.Member):
  with open('reports.json', 'r') as f:
    records = json.load(f)
  if member.name in records['users']:
    index = [record['name'] for record in records['users']].index(member.name)
    records.pop(index)
    await ctx.send('removed all warns')
  else:
    await ctx.send('member has no warns')```
cobalt fractal
#

for in memory caching

dense ibex
#

I've never used Sqlite for caching

amber raptor
cobalt fractal
amber raptor
#

Also, SQLite has in memory

rugged root
#

!projects

wise cargoBOT
#

Kindling Projects

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

amber raptor
#

Sure but remember most OSes keep recently used files in memory so very likely SQLite db is in memory

hushed dragon
#

Yeeeeeeee

hollow yacht
#
async def warncl(ctx, member: discord.Member):
  with open('reports.json', 'r') as f:
    records = json.load(f)
  if member.name in records['users']:
    index = [record['name'] for record in records['users']].index(member.name)
    records.pop(index)
    await ctx.send('removed all warns')```
#

{"users": [{"name": "DanielIsHot", "reasons": ["Spamming"]}]}

amber raptor
#

So it will be soft page fault vs hard page fault

cobalt fractal
#

records['users']

#

[{"name": "DanielIsHot", "reasons": ["Spamming"]}]

#

DanielIsHot in [{"name": "DanielIsHot", "reasons": ["Spamming"]}]

hollow yacht
#

{"users": [{"name": "DanielIsHot", "reasons": ["Spamming"]}, {"name": "\ud83d\udc16Kinar\ud83e\udd53", "reasons": ["test"]}]}

cobalt fractal
#
{
   "users":[
      {
         "name":"DanielIsHot",
         "reasons":[
            "Spamming"
         ]
      },
      {
         "name":"\ud83d\udc16Kinar\ud83e\udd53",
         "reasons":[
            "test"
         ]
      }
   ]
}
rugged root
#

!e

bacon = {
  "Steve": {
    "warns": {
      "12-12-12": "Was being a prat"
    }
  },
  "Jimmy": {
    "warns": {
      "10-10-21": "Was rude"
    }
  }
}

print(bacon)
bacon.pop("Steve")
print(bacon)
hushed dragon
#

Hemlock? Would a youtube dowloader be TOS?

wise cargoBOT
#

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

001 | {'Steve': {'warns': {'12-12-12': 'Was being a prat'}}, 'Jimmy': {'warns': {'10-10-21': 'Was rude'}}}
002 | {'Jimmy': {'warns': {'10-10-21': 'Was rude'}}}
wise glade
#

later guys ๐Ÿ‘‹

amber raptor
hushed dragon
#

kk

amber raptor
#

Like itโ€™s against the TOS so canโ€™t discuss

rugged root
#

!ytdl

wise cargoBOT
#

Per Python Discord's Rule 5, we are unable to assist with questions related to youtube-dl, pytube, or other YouTube video downloaders as their usage violates YouTube's Terms of Service.

For reference, this usage is covered by the following clauses in YouTube's TOS, as of 2021-03-17:

The following restrictions apply to your use of the Service. You are not allowed to:

1. access, reproduce, download, distribute, transmit, broadcast, display, sell, license, alter, modify or otherwise use any part of the Service or any Content except: (a) as specifically permitted by the Service;  (b) with prior written permission from YouTube and, if applicable, the respective rights holders; or (c) as permitted by applicable law;

3. access the Service using any automated means (such as robots, botnets or scrapers) except: (a) in the case of public search engines, in accordance with YouTubeโ€™s robots.txt file; (b) with YouTubeโ€™s prior written permission; or (c) as permitted by applicable law;

9. use the Service to view or listen to Content other than for personal, non-commercial use (for example, you may not publicly screen videos or stream music from the Service)
amber raptor
#

Back on the bike

#

Time to play chicken

wise glade
#

lemme find it

hollow yacht
#

{"users": [{"name": "DanielIsHot", "reasons": ["Spamming"]}, {"name": "\ud83d\udc16Kinar\ud83e\udd53", "reasons": ["test"]}]}

cobalt fractal
#
async def warncl(ctx, member: discord.Member):
  with open('reports.json', 'r') as f:
      records = json.load(f)
  for index, record in enumerate(records['users']):
      if record["name"] == member.name:
          break
  else:
      await ctx.send('No users')
      return
  records.pop(index)
  await ctx.send('removed all warns')
hushed dragon
wise glade
hushed dragon
#

Youtube Downloader

#

But lets drop the topic.

hollow yacht
#
async def on_command_error(ctx, error):
    if isinstance(error, MissingPermissions):
        await ctx.channel.send(f'You dont have permissions to use this command.')```
cobalt fractal
#
@client.event
async def on_command_error(ctx, error):
    if isinstance(error, MissingPermissions):
        await ctx.channel.send(f'You dont have permissions to use this command.')
    else:
        print(f'Ignoring exception in command {ctx.command}:', file=sys.stderr)
        traceback.print_exception(type(error), error, error.__traceback__, file=sys.stderr)
brave steppe
#
    async def on_command_error(self, context, exception):
        """|coro|

        The default command error handler provided by the bot.

        By default this prints to :data:`sys.stderr` however it could be
        overridden to have a different implementation.

        This only fires if you do not specify any listeners for command error.
        """
        if self.extra_events.get('on_command_error', None):
            return

        command = context.command
        if command and command.has_error_handler():
            return

        cog = context.cog
        if cog and cog.has_error_handler():
            return

        print(f'Ignoring exception in command {context.command}:', file=sys.stderr)
        traceback.print_exception(type(exception), exception, exception.__traceback__, file=sys.stderr)
#
import traceback
import sys
hollow yacht
#

discord.ext.commands.errors.CommandInvokeError: Command raised an exception: KeyError: 0

#
Traceback (most recent call last):
  File "C:\Users\Admin\AppData\Roaming\Python\Python39\site-packages\discord\ext\commands\core.py", line 85, in wrapped
    ret = await coro(*args, **kwargs)
  File "C:\Users\Admin\Desktop\New bot acc\warn.py", line 53, in warncl
    records.pop(index)
KeyError: 0

The above exception was the direct cause of the following exception:```
brave steppe
#
async def warncl(ctx, member: discord.Member):
  with open('reports.json', 'r') as f:
      records = json.load(f)
      print(records)
  for index, record in enumerate(records['users']):
      if record["name"] == member.name:
          break
  else:
      await ctx.send('No users')
      return
  records.pop(index)
  await ctx.send('removed all warns')
hollow yacht
#

{'users': [{'name': 'DanielIsHot', 'reasons': ['Spamming']}, {'name': ':pig2:Kinar:bacon:', 'reasons': ['test']}]}

dense ibex
#

oop sorry about posting right in the middle of that

hollow yacht
#
@commands.command()
async def warncl(ctx, member: discord.Member):
  with open('reports.json', 'r') as f:
      records = json.load(f)
      print(records)
  for index, record in enumerate(records['users']):
      if record["name"] == member.name:
          break
  else:
      await ctx.send('No users')
      return
  records.pop(index)
  await ctx.send('removed all warns')```
hushed dragon
#

Hemlock?

brave steppe
#

!e ```py
for item in []:
print(item)
else:
print('nothing')

wise cargoBOT
#

@brave steppe :white_check_mark: Your eval job has completed with return code 0.

nothing
whole bear
#

mr hemlock these tab color

hushed dragon
#

Which of these would be the easyst for a script to login?

brave steppe
#

!e ```py
for item in enumerate([]):
print(item)
else:
print('nothing')

wise cargoBOT
#

@brave steppe :white_check_mark: Your eval job has completed with return code 0.

nothing
whole bear
rugged root
#

Man that's clean

whole bear
brave steppe
#

@hollow yacht: ```py
@commands.command()
async def warncl(ctx, member: discord.Member):
with open('reports.json', 'r') as f:
users = json.load(f)['users']

for index, record in enumerate(users):
if record["name"] == member.name:
break
else:
await ctx.send('No users')
return
users.pop(index)
await ctx.send('removed all warns')

#

You never use records as a whole, so best to just pick users from the get-go

cobalt fractal
#

we need to keep a reference to records

#

since we need to write back to the file

sleek niche
#

Can anybody recomend any video tutorials to build a shopping cart website using Django?

cobalt fractal
#
with open('file.json', '+') as f:
    json_dict = json.load(f)
    
    ... do stuff to json_dict ...
    f.seek(0)
    json.dump(json_dict, f) 
#

this is how you'd keep the file open and write back to it

amber raptor
#

@rugged root

rugged root
#

Well worth the time

cobalt fractal
rugged root
#

Debatable

#

Depends on how hard I'm working

cobalt fractal
#

!warn @rugged root work softer

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied warning to @rugged root.

cobalt fractal
hushed dragon
dense ibex
#

perfect ty

cobalt fractal
#
print(*[r.url for r in message.attachements], sep="\n")
dense ibex
#

Wait so what would be the type hint for this?

cobalt fractal
#

it'll be ctx.message.attachements

#

it wouldn't be an extra param

dense ibex
#

Ok

#

๐Ÿ‘

#

oh yeah

#

that makes sense

hushed dragon
cobalt fractal
#

not using ORM sadge

wise cargoBOT
#

starlette/datastructures.py line 479

class Headers(typing.Mapping[str, str]):```
cobalt fractal
#

yea representing headers is hard

#

because cookies need to appear multiple times

#

so a normal dict won't work

#

@dense ibex can you call fetchval directly on a connection pool?

#

I'm assuming bot.pool is one

cobalt fractal
#

or do you need to do ```py
with self.bot.pool.acquire() as conn:
conn.fetchval( ... )

hushed dragon
#

ScriptKitty

mild lake
#

lol

brave steppe
dense ibex
brave steppe
#

You can do self.bot.pool.fetchval

dense ibex
#

so all I need to do to access it is self.bot.pool

cobalt fractal
#

oh cool

#

TIL

brave steppe
#

It will grab a connection, execute, and then release it

dense ibex
#

Yeah soo if you look at this

cobalt fractal
#

Yea that's why i was asking lol, since I wasn't sure

dense ibex
#

(on screenshare)

hushed dragon
hexed parrot
#

i downloaded ram on my pc and now it wont turn on someone help @dense ibex

dense ibex
#

That's what I do in the function

candid venture
cobalt fractal
#

ahh cool

hushed dragon
#

Deltarune

hexed parrot
#

i downloaded ram on my pc and now it wont turn on someone help ASAP

cobalt fractal
#

oh god pls no jake

dense ibex
#

lolll

#

wut about this

cobalt fractal
#

getting that msdos feels

dense ibex
#

how about this?

cobalt fractal
#

really useful for dev

cobalt fractal
rapid beacon
dense ibex
#

How dare you unfriend me ๐Ÿ˜ฆ

hexed parrot
#

i need 50 message

rugged root
#

You'll get there