#voice-chat-text-0

1 messages · Page 401 of 1

whole bear
#

I have a genuine question:
Why do only developed country has to deal with refugee?
And why do these refugee choose a country which are thousand of miles away and rich nation?

flat hornet
#

safe

#

and more upportunities

#

basically the same reason im going to the netherlands

whole bear
#

Make sense

flat hornet
#

im gonna get an education and gain more upportunities

whole bear
#

abt safety

flat hornet
#

can i say what city on here? or would that be giving out personal information

#

i see

gentle flint
#

no
because some of these have family but the family did not come along

flat hornet
#

im keep that informatin then

whole bear
flat hornet
#

ok

whole bear
#

Bye tc

flat hornet
#

damn everybody leaving

somber heath
#

@whole bear 👋 How did you end up going with the problem?

whole bear
#

i havent fixed it

flat hornet
#

ok @rugged root weird question but now how do i make this toplevelwindow open up in the middel of the main window. Like how other professional applications do it

timid marten
#

@rugged root

rugged root
whole bear
#

1 sec, ill send what ive done so far

flat hornet
#

well ill look for information about it

#

i ask this almost every time i enter this call. What interesting hobbies do yall have

#

okay

whole bear
#
for member in list_members:
        index = randint(0, len(list_members))
        chosen_one= list_members[index]
        if member == chosen_one:
            pass
        else:
            print(f"{member} got {chosen_one}")
            list_members - member
#

indeed

whole bear
#

the goal?

#

yes

#

oh

flat hornet
#

like literature?

#

i llike anime and manga

whole bear
#

Novel and Books

flat hornet
#

oh nice

whole bear
#

Currently I'm reading The Manipulated Man by esther

#

i see

#

the goal is to prevent the chosen one of being chosen again

#

everyone has to be chosen once

flat hornet
#

@whole bear i think imma call you airpods

whole bear
#

by a diff member

whole bear
#

lol

flat hornet
#

airpods, play me some fetty wap

rugged root
#

!e

meats = ["pork", "beef", "eggs", "ham"]

for meat in meats[:]:
  print(meat)
  if meat == "eggs":
    meats.remove("eggs")
print(meats)
wise cargoBOT
whole bear
#

alright

somber heath
whole bear
somber heath
#

!d random

wise cargoBOT
#

Source code: Lib/random.py

This module implements pseudo-random number generators for various distributions.

For integers, there is uniform selection from a range. For sequences, there is uniform selection of a random element, a function to generate a random permutation of a list in-place, and a function for random sampling without replacement...

somber heath
#

Read through the different things you can do.

whole bear
#

alright

somber heath
#

See if any have applicability.

flat hornet
#

@rugged root what is the difference between a moderator and an admin?

#

ah alright

rugged root
flat hornet
#

so is this like an official discord of python?

#

oh okay nice

#

crazy

#

imma make sure to ask them questions haha

#

oh

#

that mustve felt nice seeing that

somber heath
#

Ruh Rohblox.

flat hornet
#

wait youre having problems with roblox?

#

how

#

what error are you getting

#

uh

#

well

#

you can use a fps unlocker

#

i tried once or twice worked

#

but be careful where you download it

#

and i think it wont work that well with heavier games

#

pants down?

#

alrigh

#

@lime fractal maybe try deleting roblox and downloading it again

#

jafari from microsoft called him

#

hahaha

rugged root
#

@toxic tide Yo

flat hornet
#

bro is giving lockheed martin ideas

vocal basin
#

UA is using AI-guided drones already

flat hornet
#

ho

vocal basin
#

normally mentioned as "донаведение" (final guidance/guidance correction)

flat hornet
#

what

#

imma go eat

#

maybe ill enter later in the day

vocal basin
#

@dry jasper if it's standing still, you just artillery it

#

ohno
I cannot have modules and enums with the same name

#

unfortunate

vocal basin
#

it's because of associated items

#

which both can have

vocal basin
#

functions and modules can have same names

#

Rust

rugged root
#

@cerulean oar Yo

whole bear
#

Well they were doing this since beijing olympics

cerulean oar
#

yo yo

vocal basin
#
struct Colour(u8, u8, u8);

this defines both a function and a type

cerulean oar
#

its going aight @rugged root

vocal basin
#

Colour implements Fn(u8, u8, u8)

#

the value

#

not the type

#

you can Colour as fn(u8, u8, u8)

cerulean oar
#

i wasn't aware python had struct 😂

#

ah

vocal basin
#

tuple structs are constructed through a function rather than a specialised syntax

#

and that function has a #[must_use] on it

whole bear
#

Bye

vocal basin
#
struct Foo(u32);
macro_rules! Foo {
    () => {};
}
fn example<'Foo>(f: Foo) {
    let ctor = Foo;
    Foo!{}
    'Foo: loop {
        let x: &'Foo Foo;
        break 'Foo;
    }
}
cerulean oar
#

im gonna dip as well, catch ya guys later

rugged root
#

@twin oasis Yo

wind raptor
woeful kettle
#

Afternoon muted folks

wind raptor
woeful kettle
wind raptor
#

It's so impressive!

rugged root
#

Wait actually

#

I feel like I've seen something like that, but it was more a novelty

#

This is certainly more interesting and looks like it has had more TLC

wind raptor
#

Yeah

#

It's wild how much detail is in there

mystic river
#

hell yeah

woeful kettle
#

I popped on doom just for a soundtrack to look around this website

rugged root
#

HA

#

That's awesome

wind raptor
#

Quake is on there too

woeful kettle
#

thats funny

mystic river
#

i just san sudo rm -f

obsidian dragon
#

allias sudo please

woeful kettle
#

I am poking around the system files

#

seems like a passion project for sure

vocal basin
#

@rugged root
I'd assume IPython provides it just because it itself already needs async

#

otherwise why would an interpreter do the async setup when not asked to

rugged root
#

Possibly

shrewd timber
#

how can i talk

rugged root
#

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

shrewd timber
#

alright thanks

#

im new to programming what is salt doing?

chilly wolf
#

probably something awesome

shrewd timber
chilly wolf
#

his projects are super cool

shrewd timber
#

can i see them anywhere?

chilly wolf
#

I'd have to dig through the chat to find a video

vocal basin
#

@rugged root reboot the config file

unique wyvern
vocal basin
shrewd timber
rugged root
chilly wolf
shrewd timber
#

how long did it take for you to make that?

chilly wolf
#

about a week

shrewd timber
#

dang

chilly wolf
#

I've been coding for 19 years though

shrewd timber
#

i just started a day ago

shrewd timber
chilly wolf
#

you'll get there! With time and patience I am confident you can learn

shrewd timber
#

what is a good beginners project

chilly wolf
#

(not actually a grandpa, I'm 33)

urban abyss
shrewd timber
#

so you have been coding since you were 14

urban abyss
#

@chilly wolf that's awesome man

#

only thing was the music was so loud on open i almost did a shit

rugged root
#

Oh that's sick

chilly wolf
#

Awww thanks guys! I'm sure yours will get there soon @urban abyss :)

urban abyss
#

you didn't mention earlier that you had actually made a galaga-like

#

what did you make it with?

chilly wolf
#

I was meaning to mention it, I just got distracted

#

wife is sick atm

rugged root
#

Although it's more Asteroids

chilly wolf
#

I used pygame

urban abyss
#

OG galaga was like that, just left to right

shrewd timber
chilly wolf
#

and pygbag to convert it into a javascript container uploadable as a webpage

urban abyss
#

hope things get better soon, bud

#

awesome work

chilly wolf
#

you have to make sure all blocking commands are converted to asynchronous function definitions to get it to work

#

was a pain in the keester

#

thank you so much, y'all are awesome

urban abyss
#

what did you use for the art?

whole bear
#

How could I learn fluent english?

chilly wolf
urban abyss
#

por qué no python?

chilly wolf
shrewd timber
#

that's awsome

chilly wolf
#

then i used TI-BASIC on my graphing calculator

shrewd timber
#

im taking classes right now but it's taking too much time

#

i wanna learn coding now

chilly wolf
#

every time we learned a new math equation I would program my calculator to solve it and then use that to cheat on my math tests

urban abyss
shrewd timber
#

i started yesterday

#

and i tried making something

#

its pretty useless

chilly wolf
#

try making a clock

#

or a calculator

shrewd timber
#

do you have any recommended youtube tutorials

chilly wolf
#

unfortunately, i don't, i learned python by doing the tutorials and then googling commands

#

and stack exchange

shrewd timber
#

alright

#

ill try to find a youtube tutorial

urban abyss
#

there's some recommended ones on this server I think @rugged root ?

chilly wolf
rugged root
#

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

shrewd timber
#

thanks!

vocal basin
#

@rugged root the idea of Nix is to do it once and then replicate

#

for one system, yes, doesn't make as much sense

#

@rugged root by hash

#

@rugged root like Cargo.lock, yes

#

no, you don't pick latest

#

dependencies are per dependent

#

@rugged root you don't link libraries by version, you link them by hash

shrewd timber
#

are you allowed to ask stuff about income

vocal basin
#

it's not /usr/lib/libstuff.1 or /usr/lib/libstuff.1.0.0

#

it's /nix/whatever/hash/libstuff

#

yes, that means you share less across versions

#

therefore increased space usage

vocal basin
#

@rugged root fastest

#

faster than any other distro

#

statistically

rugged root
#

But faster than I could google it and see if other people are having the same issue?

shrewd timber
rugged root
#

I just don't think it's faster than basic troubleshooting

vocal basin
#

not about anything else

rugged root
#

Sure, I'm just comparing the concepts

vocal basin
#

better than apt in that regard

#

or whatever else

#

in Nix updating deps for one package doesn't break other ones

urban abyss
#

i'm borkin and jorkin

vocal basin
#

you can't update dependencies of a package, you need to update the whole package

#

@rugged root Nix lacks ways to adequately update not through nixpkgs

#

like self-hosted registry

rugged root
#

Yeah that's my beef

last wigeon
#

@vocal basin ccms?

chilly wolf
woeful kettle
#

The single ha

#

a nose exhale maybe @chilly wolf

#

me losing my mind trying to import a method built into another program, trying to figure out why it isnt working for 30+ mins only to discover that VCS hadn't made my original program a .py -_-

chilly wolf
#

You also need to include an init.py in the directory that contains the import you need

woeful kettle
#

very true

chilly wolf
#

like that

woeful kettle
#

I did have a Init object method for one of the objects

#

are you saying for the actual program itself?

#

sorry, fairly new to all this

chilly wolf
#

yeah but you need that .py in the directory that contains the .py that you need to import

woeful kettle
#

mhm

chilly wolf
#

it can be empty

woeful kettle
#

that I knew

chilly wolf
#

you just need one

signal comet
#

@unique wyvern , that's sick !!

woeful kettle
#

Man, you got my hopes up

rugged root
#

Sixel, short for "six pixels", is a bitmap graphics format supported by terminals and printers from DEC. It consists of a pattern six pixels high and one wide, resulting in 64 possible patterns. Each possible pattern is assigned an ASCII character, making the sixels easy to transmit on 7-bit serial links.
Sixel was first introduced as a way of s...

quaint basin
#

true

chilly wolf
woeful kettle
#

free range ROM collection, grass fed

chilly wolf
#

home grown

#

harvested 'em myself

woeful kettle
#

It is always really interesting to see those programs go, your brain tells you there must be some order behind the noise

#

there is by merit of its creation, just not one you can immediately recognize

#

@peak depot I had two of thosse

#

man what a silly little game

#

@unique wyvern keep staring at the slime, you might see the ghost in the machine

short owl
#

Magey and Milien ( Million ) you both have catzz @chilly wolf @peak depot

peak depot
#

Jason has a cat/cats too

#

and Hemlock

short owl
#

didnt see Jasons cat pics , did see Hems cat

chilly wolf
#

they are my precious bbs

short owl
#

ok pic time @chilly wolf

#

if you have a window - can solve trash issue @peak depot

vocal basin
#

@haughty pier "welcome to Nix"

#

you can get it really small

#

just like Rust

#

but you probably won't

woeful kettle
#

truly a classic

vocal basin
#

@rugged root gc

short owl
#

might work once or twice ....

vocal basin
#

I wonder if there's a GC for cargo

#

so that it only partially cleans target/

woeful kettle
#

Having a key error on a isin pd method. I can't figure out why because it is definitely a key in the DF

#
       return jeopardy_df.loc[jeopardy_df['Question'].isin([list_of_words])]```
rugged root
#

I would break that out

#

There's no real benefit to having that as a one-liner

woeful kettle
#

10-4

vocal basin
#

@dusk raven haven't read through the links yet

rugged root
#

Where are you getting the .isin() method?

vocal basin
#

keyerror not attributeerror

#

allegedly

rugged root
#

Actually crap, I'll be back later

woeful kettle
rugged root
#

Oohhhhhh

#

Yeah you did say pd, my bad

#

Brain didn't process that

woeful kettle
#

all good

#

I barely process the day to day

vocal basin
#

@dusk raven so FerretDB but by Microsoft

#

?

#

FerretDB is on top of postgres too

#

if I understand correctly, both are mongo wire and postgres internal

#

with DocumentDB also supporting postgres wire

woeful kettle
#

needed .loc

#

fixed it

vocal basin
#

@soft axle Excel+SQL+pain

#

that's what Access is

woeful kettle
#

most SQL is similar

vocal basin
#

@soft axle SQL differs a lot by dialect in its specifics, but core concepts are same

#

Access for production is just inappropriate

dusk raven
vocal basin
#

while also still working on top of real postgres

vocal basin
#

yes, there are $billion companies that never figure out how to work properly with data

#

but that doesn't mean such "solutions" come anywhere close to okay in general

woeful kettle
#

@soft axle I aint a expert, but I am a big all a then all b kinda guy

#

as long as you are just consistent in your learning, any style works

vocal basin
#

I wonder if DocumentDB can be interacted with through sqlx

dusk raven
soft axle
#

oh im just seeing all this now!

#

oops

vocal basin
#

ah

dusk raven
vocal basin
#

then makes sense

soft axle
#

sry

#

didnt realize

#

Im starting with my programming for analytics class to study today

vocal basin
#

I'll try during the weekend

sour willow
#

Prop head that's a familiar name can't recall who it is though

vocal basin
#

I think sqlx should not care since it offloads the checking to the database anyway

soft axle
#

any mods active atm?

soft axle
vocal basin
#

(the Rust sqlx not Go sqlx)

sour willow
soft axle
#

thx

sour willow
#

It'll hurt in the first term

vocal basin
#

sqlx is way too good, I don't even see a reason to do any ORM stuff

sour willow
#

As far as I can see

vocal basin
#

ORM would only give genericity over different SQL providers

#

compared to that

sour willow
#

In no large scale project would you ever use orms

#

Even JavaScript has passed that

#

You get a new orm everyday yet people are slowly realizing the restrictions after doing actual sql

#

AF is a mod? Congrats

soft axle
#

did everyone die?

vocal basin
#

I did, maybe

vocal basin
#

since "you get new X every day" does not make ORMs special there

soft axle
#

node.js is an IDE, right?

sour willow
terse garden
#

@vocal basin why do many people in VC

sour willow
vocal basin
#

many people just join to listen in, like a podcast

terse garden
#

Ah

vocal basin
#

but currently not much is happening

sour willow
#

Java really got outta it

#

Spring devs weren't having none of that jda crap

soft axle
vocal basin
soft axle
#

im not saying anything cause I think people think im talkative or annoying af 😭

vocal basin
#

at most they will learn how to tailwind

soft axle
#

I always have so many dumb questions

sour willow
#

I've seen way more annoying people here

sour willow
soft axle
#

Im stressed with all the classes Im taking, most in Python, and idk where to start

sour willow
#

Here specially I feel like more people are the first type so they answer any question with a lot of unnecessary but helpful answets

woeful kettle
soft axle
#

I love coding, I just suck at it and have a lot to learn

sour willow
soft axle
#

and Im having cross-multidisplinary entry barriers here and there

woeful kettle
sour willow
#

Heck rabbit was straight up teaching me law for a solid 2 hours

#

And I for some reason remember it after two years lmfao

sour willow
#

Worst case they straight up ignore you which I've never seen that happen

woeful kettle
#

Indeed

#

you gotta love when the biggest obsstacle from you grinding out some work iss your ss key double typing. not backssspacing them on thiss messsage to show how bad it isss.

woeful kettle
#

yup

soft axle
#

wassat

woeful kettle
#

it hass been doing it for about a week now

vocal basin
#

mechanical keyboard?

woeful kettle
#

yup

vocal basin
#

logitech?

woeful kettle
#

corsair thanfully

vocal basin
#

my previous keyboard was wireless logitech g something

#

all letters ended up zero/double-typing

woeful kettle
#

I might have been able to fix it, reset the polling rate and increased its debouce by 9ms

#

seems to be holding for now

woeful kettle
soft axle
#

is a mechanical keyboard better for coding?

#

i've only ever used like the ones that are super thin and no click, idk what they're called

#

membrane?

woeful kettle
#

tbh its a keyboard

soft axle
#

i've just gotten so accustomed to it? idk if switching to mechanical would be better or worse

woeful kettle
#

it do click clack, when i put my fingers on them

soft axle
#

everyone swears by them

vocal basin
#

I have a half-height mechanical keyboard

#

not as low as laptop one

#

MX Mechanical

#

it's Logitech but not from the gaming set

woeful kettle
#

makes sense

#

nah its still double pressing, just not as often

#

must be a hardware issue then

vocal basin
#

I'm fairly certain on my previous one it was software

vocal basin
#

like
hardware is causing a press not to register

vocal basin
#

then software is misbuffering events

last wigeon
wise cargoBOT
#

:incoming_envelope: :ok_hand: applied timeout to @kindred lichen until <t:1738263812:f> (10 minutes) (reason: duplicates spam - sent 4 duplicate messages).

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

terse garden
last wigeon
# terse garden ?

you told me in vc that i couldnt learn intro probability or something

terse garden
last wigeon
#

like self teach

terse garden
#

oh yeh i probbaly owuldve said something like that

#

shouldnt self teach calculus based probability

#

wont learn it properly

last wigeon
#

yea

#

i still think thats nonsense

#

but yeah i didnt get past the first 10 pages

terse garden
#

ok i mean its not impossible if i guided u and told u exactly wht to do

#

but then im teaching u

#

which was my point

last wigeon
#

yeah but i disagree that you cant learn it by yourself

terse garden
#

and to that i woudl say, attend UIUC and sign up for my course i teach XD

#

well i mean u just said u failed to which is kind of lvl 1 evidence to urself

vocal basin
#

just treat stats and maths the same way as programming libraries:
something you consume for a particular usecase

last wigeon
#

but it doesn't change my opinion

vocal basin
#

do not expect others to guide you with everything, obviously

terse garden
#

opinions are like buttholes

#

every1s got one

#

and they all stink

#
  • Landbus 2025
last wigeon
wind raptor
#

So many free resources out there

tall ridge
#

hey I have a quick question (but not a simple one) ... I'm getting a CLANG build failure (https://paste.pythondiscord.com/Q6JQ) when I try to uv sync into a fresh install (git clone ... etc)

#

I might neeed to install the c compiler...

tall ridge
gentle flint
woeful kettle
gentle flint
soft axle
woeful kettle
gentle flint
#

a chainsaw

#

/s

woeful kettle
#

LOL

chilly wolf
unique wyvern
gleaming locust
chilly wolf
#

Market is the title

gleaming locust
#

Pantheon is 10/10

#

They even put gamers in there lol

gleaming locust
#

Idk why it replied to that.??

cerulean oar
gleaming locust
#

I didn't mean to touch it* .-.

cerulean oar
#

but u did

#

now ur hands are icky

normal geyser
#

what the heck?

gleaming locust
#

🤝🏻

normal geyser
#

💀

cerulean oar
#

oh hey its the agi

#

hello

normal geyser
cerulean oar
normal geyser
gleaming locust
cerulean oar
#

now i have to wash them too

gleaming locust
cerulean oar
#

🚿

cerulean oar
gleaming locust
#

🏃🏃

cerulean oar
gleaming locust
#

🏃💨

#

Gtg 👋

chilly wolf
#

later!

unique wyvern
chilly wolf
#

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

unique wyvern
scarlet marsh
# chilly wolf

is the AI playing if yes that is very cool else: print("there is no else ") haha

chilly wolf
#

mhmm! it's a BFS algorithm

#

not perfect by any means, but pretty neato

chilly wolf
main comet
#

mandelbort or somthing

chilly wolf
vocal basin
primal shadow
flat hornet
#

i need help

#

;-;

#

anybody used to working with customtkinter?

chilly wolf
#

use pyqt

flat hornet
#

too late

chilly wolf
#

and qt designer

#

well, for the future

flat hornet
#

but i wanted to design it by hand to learn

chilly wolf
#

don't forget about pyqt

flat hornet
#

and i also didnt know how to how connect the buttons and things to a function

#

i should put this is live coding

vocal basin
#

(PyQt isn't by Qt, PySide is; though idk which one's better)

main comet
somber heath
#

@summer owl 👋

summer owl
#

can’t talk apparently

somber heath
wise cargoBOT
#
Voice verification

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

summer owl
#

whats the proib lem with this

summer owl
primal shadow
#

what's x?

summer owl
#

input

somber heath
#

A call to input returns an object of type str.

chilly wolf
#

i was about to say, you're getting a string

summer owl
#

how do i make itg int

chilly wolf
#

int(x)

primal shadow
#

When you print it, you'll see it's in quotes

somber heath
#

You can't perform an exponentation operation on a str, text.

somber heath
chilly wolf
#

that might be better

summer owl
#

it says int isnt callable

primal shadow
#

😦

somber heath
summer owl
primal shadow
#

int is a function you want to use, but it returns an int, does not transform the variable

#

you can reassign x, or pass the returned value into a new variable and use that thereafter

somber heath
# summer owl

input() Becomes an object of type str, text.
x = input() thus assigns the variable x, which is a kind of reference/signpost, to that object.
int(...) takes whatever you put inside the parentheses and attempts to become an object of type int
float(...) takes whatever you put inside the parentheses and attempts to become an object of type float

x = input('Enter a number:') # x points to a string made from what you type in
x = float(x) # x points to a float made from the string```
primal shadow
mellow sail
#

hello hello mango mango mnago

#

i need 50 messages

#

to get voice

#

@somber heath remember linky sponge

#

its me

#

im just not on that pc

#

rn

#

i need 50 more messages

#

and then i can

#

talk i thinkl

#

im just saying it again

#

so its more

#

apparently my audio doesnt wana work on the disccord app

#

so i have to use browser

#

!user

wise cargoBOT
#

You are not allowed to use that command here. Please use the #bot-commands channel instead.

mellow sail
#

brohhhhahadhadusdh

#

i cant talk

#

i got the role tho

#

nah those are some weird mods ducky_concerned

somber heath
#

Not really. You kind of provoked that, yourself.

mellow sail
#

lol

#

i dont got the time to grind 50 messages ducky_skull

#

bc i have 2 pc and im not this pc today

#

this is my shit pc

#

its what im learning

#

loops

#

im doing that today

#

you have to understand im only a teenager im not as smart as you so if i make mistakes or do something wrong its because i havent been in the real world yet im just tryna learn python so i can switch to other coding stuff and then go into cyber security or smt

#

like im not 30 to 20 bro

winged field
#

@somber heath 👋

somber heath
#

@mystic hatch 👋

mystic hatch
#

hiii\

#

teach me your ways master

#

lol

#

everything

#

everything

meager mango
#

does anyone know what is the problem wiht my code ?

somber heath
#

!code

wise cargoBOT
#
Formatting code on Discord

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.

For long code samples, you can use our pastebin.

meager mango
#
from customtkinter import *
from PIL import Image 
#colors
white = "#ffffff"
lgrey = "#b3b1b1" #light grey
mgrey="#807d7d"   #medium grey
dgrey = "#525050" #dark grey
black = "#000000"

#load images
gear = Image.open("./icons/gear.png")

app = CTk()
app.geometry("1100x900")
app.title("Multi-Board")
app.resizable(False, False)

side_frame = CTkFrame(app,width=300,height=600,fg_color=dgrey,border_color=black,border_width=2,corner_radius=0)
side_frame.pack(side=LEFT, fill=Y)

main_frame = CTkFrame(app,width=900,height=600,fg_color=dgrey,corner_radius=0,border_color=black,border_width=2)
main_frame.pack(side=RIGHT, fill=Y)

app.mainloop()

mystic hatch
#

do you want some bat code

somber heath
#

@eager mist 👋

mystic hatch
#

!code

wise cargoBOT
#
Formatting code on Discord

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.

For long code samples, you can use our pastebin.

mystic hatch
#

i might give me a min

mystic hatch
#

i made it a while ago

meager mango
#

@somber heath I made it work !

#

now it is working

mystic hatch
#

yea

#

so like bios settings

#

grub 2?

#

i dont have permissions

#

im suppressed

meager mango
#

bro

#

why you left ? XDDDDD

#

@agile yacht Hi

somber heath
#

@round folio 👋

round folio
#

hi

whole bear
#

I saw magey, I came in

chilly wolf
#

Lmao!

peak depot
whole bear
#

I had a family of cats, mommy cat died.
So we were left with Kittys, we had no other choice but to sell them or hand them free

#

Hope they are in good hands

somber heath
#

@storm nacelle👋

chilly wolf
#

that's always a sad state of affairs

whole bear
#

He is in another dimension

#

I used to have a cat, but now I own a white aggressive dog

#

My bad

#

I like my dog 🐶

#

@somber heath My bad 😔

peak depot
fringe glacier
#

hi

somber heath
#

@granite mantle👋

#

The phascogales (members of the eponymous genus Phascogale), also known as wambengers or mousesacks, are carnivorous Australian marsupials of the family Dasyuridae. There are three species: the brush-tailed phascogale (Phascogale tapoatafa), the red-tailed phascogale (P. calura), and the northern brush-tailed phascogale (P. pirata). As with a nu...

chilly wolf
somber heath
#

@chilly wolf
"Why are you Magey?"
"Who says I'm Magey?"
"You are Magey."

#

"Look what you did to Mr. Biggums!"

peak depot
chilly wolf
somber heath
#

"Why am I blue?"

#

"What does blue mean?"

chilly wolf
#

Another thing my bot can do

#

it uses a database of different die faces and imagemagick to compose a single image on the fly to circumvent discords single image ember limitation

somber heath
#

@chilly wolfConfirmation not offered.

#

@simple flume👋

#

@chilly wolf You don't need to go through Steam.

chilly wolf
#

oh?

somber heath
#

It's Open Source Freeware Downloadable.

chilly wolf
#

Very nice!

somber heath
#

So whenever I boot it up I do a git pull and compile if I need to.

#

Like, prior.

#

They update fairly regularly.

#

Content, tweaks, patches, etc.

#

Once it's set up, it's trivial.

#

Easy to set up.

#

Oh, diluted, not deluded.

#

Mhm.

#

Beep.

#

I came from BASIC, originally. I was never as proficient at it to the degree I am with Python, for however much the term applies.

#

Classes in Italian, Japanese, French and German, but I'm not proficient in any of them.

chilly wolf
#

French, Japanese, and Spanish here

#

And I cannot understand a lick of them

somber heath
#

Of them all, I disliked speaking French the most.

#

Too much tongue to wrangle.

chilly wolf
#

There's something about French with the nasal pronunciation combined with the top of the throat utterations that make it particularaly difficult

somber heath
#

Lovely to listen to.

#

German has fun sounds.

#

Nice and gruff.

chilly wolf
#

I once got an 86 on a French test and proclaimed that I was doing well, my French teacher shot me down and said "You could be doing much better"

somber heath
#

Japanese feels the cleanest.

chilly wolf
#

i would type in Japanese here but non-english characters seem to be disallowed

somber heath
#

Nice, simple, easily accessible sounds.

#

Italian is just...the language of good food.

chilly wolf
#

nothing like a nice espresso in the morning

#

At least, for my taste, although yours may differ

somber heath
#

I die a little bit every time.

chilly wolf
#

The Donkey Kong character?

#

:p

somber heath
#

The misrendering of espresso.

chilly wolf
#

My phone seems to have died

#

And I seem to have accidentally hidden the voice channels on pc?

#

I accidentally hit a hotkey

vocal basin
#

ah, collapsed the category

#

not actually hidden

vocal basin
somber heath
#

@high totem 👋

chilly wolf
#

What is the hotkey to correct this unfortunate mishap

#

Ah, I've got it

somber heath
#

@full echo 👋

whole bear
#

Bro

#

What's the topic

chilly wolf
vocal basin
#

the most important question: is there a D1 support

whole bear
#

SQL or python @chilly wolf

chilly wolf
chilly wolf
whole bear
chilly wolf
#

I like both

whole bear
#

Okay

chilly wolf
whole bear
#

Do u have more than 6 years experience in Python?

chilly wolf
#

about 5 years

vocal basin
whole bear
#

Hmm well not that experience but I guess maybe u can help me with a question I am struggling in Python

chilly wolf
#

sure thing

whole bear
#

import random
actual_number=random.randint(1,100)
guessed_numbers=[]
warm_list=[w for w in range(actual_number-10,actual_number+11)]
print(actual_number)
print(warm_list)
guessed_number=None
while actual_number not in guessed_numbers:
guessed_number=int(input("Guess number from 1 to 100: "))
if guessed_number > 100 or guessed_number<1:
print("OUT OF BOUNDS")
continue
elif guessed_number<=100 or guessed_number>=1:
guessed_numbers.append(guessed_number)
print(guessed_numbers)
if guessed_number in warm_list:
print('Warm')
if guessed_number not in warm_list:
print('Cold')
else:
print("Congratulations that's right")

chilly wolf
#

plz use code blocks

whole bear
#

How to do

chilly wolf
#

i think this is the command to teach you

#

!code

wise cargoBOT
#
Formatting code on Discord

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.

For long code samples, you can use our pastebin.

chilly wolf
#

three back ticks as a prefix and a suffix

whole bear
#

'''py
print+test)
'''

chilly wolf
#

and py on the first line

#

the character in the top left corner

#

under the ~

whole bear
#
import random 
actual_number=random.randint(1,100)
guessed_numbers=[]
warm_list=[w for w in range(actual_number-10,actual_number+11)]
print(actual_number)
print(warm_list)
guessed_number=None
while actual_number not in guessed_numbers:
    guessed_number=int(input("Guess number from 1 to 100: "))
    if guessed_number > 100 or guessed_number<1:
        print("OUT OF BOUNDS")
        continue
    elif guessed_number<=100 or guessed_number>=1:
        guessed_numbers.append(guessed_number)
        print(guessed_numbers)
    if guessed_number in warm_list:
        print('Warm')
    if guessed_number not in warm_list:
        print('Cold')
else:
    print("Congratulations that's right")
chilly wolf
#

thank you

vocal basin
#

what is the intent of that elif?

whole bear
#

No errors , this is code that enables the user to pick or guess number if the number guessed is closer to a number picked automatically by the program message says warm if it's further it says cold

vocal basin
whole bear
#

I want to develop the program further so when the user for the second time guess number more closer to the number picked by the program than the previous number , message should printed says warmer

vocal basin
#

you already have a log off all guesses, so shouldn't be hard

whole bear
vocal basin
#

@chilly wolf that seems completely fine actually

#

@chilly wolf as it should be

vocal basin
# whole bear i should use if Instead, right ?
if guessed_number > 100 or guessed_number<1:
    print("OUT OF BOUNDS")
    continue
elif guessed_number<=100 or guessed_number>=1:
    guessed_numbers.append(guessed_number)
    print(guessed_numbers)

is same as

if guessed_number > 100 or guessed_number<1:
    print("OUT OF BOUNDS")
    continue
guessed_numbers.append(guessed_number)
print(guessed_numbers)
#

at least seems to be the case

vocal basin
whole bear
vocal basin
#

"Warm"/"Cold" should only be printed for the first guess, right?

whole bear
#

Right

vocal basin
#

how would you check if it's the first guess?

#

(using guessed_numbers)

whole bear
#

For the second time if the number closer it's "warmer" if further it's "colder"

#

It's a course and this is an exercise for if statements

#

I was thinking more than 2 hours how to develop it more than that and still I am stuck

vocal basin
#

you should also probably simplify these lines too:

if guessed_number in warm_list:
    print('Warm')
if guessed_number not in warm_list:
    print('Cold')
vocal basin
whole bear
#

It should be the first guess for warm or cold

#

If it's warm and then the second guess is more closer then should print warmer

vocal basin
#

do you know hot to reimplement Warm/Cold logic without warm_list?

#

by just calculating the distance from the number

#

same distance will need to be used for comparing the current guess to the previous guess

whole bear
vocal basin
#

that's going to be too many lists

whole bear
#

Wait I will show u how I was trying to solve it , I will open my laptop

vocal basin
#

the canonical way to get the distance between numbers a and b is abs(a - b)

#

idk if the course expects you to know that

whole bear
#

Warm is when the user guess number closer 10 positions -10 or +10 than the actual number

vocal basin
#
warm = abs(guess - actual) <= 10
vocal basin
vocal basin
#
answer: 20
guess:  15 -> Warm
guess:  25 -> ?
sacred lake
#

Warm

vocal basin
#
answer: 20
guess:  14 -> Warm
guess:  15 -> Warmer
guess:  25 -> ?
obsidian dragon
#

Burning

#

Warmest?

#

Wormiest

vocal basin
#

(it's measured by distance from answer not value itself)

vocal basin
wise cargoBOT
whole bear
#

Everything is cool for me till warmer and colder thing

#

What

#

Sry can u repeat

vocal basin
#

@sacred lake that array already exists, yes

obsidian dragon
#

guess_count += 1

whole bear
vocal basin
vocal basin
#

that one

#

5 and 5

#

@obsidian dragon why count when there's already a list

#

just len it

whole bear
somber heath
#

!code

wise cargoBOT
#
Formatting code on Discord

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.

For long code samples, you can use our pastebin.

somber heath
#
print('Hello, world.')```
whole bear
#

Look at the Excute : 84 is the actual number
The list under that 84 is 10+ positions and -10 positions

somber heath
#

@proven ruin @bronze tapir 👋

proven ruin
#

howdy

somber heath
#

@near vigil 👋

#

@shrewd edge @whole bear 👋

whole bear
#

sup

dry jasper
rugged root
#

Yeah yeah yeah, that's a good combo

somber heath
#

@void canyon 👋

rugged root
#

@woven lichen Yo

#

@south mica Also yo

woven lichen
#

supp!!

#

@rugged root

rugged root
#

Not much, 'bout you?

woven lichen
#

same here

rugged root
#

Been working on anything fun?

#

Flex Mentallo is a fictional character appearing in American comic books published by DC Comics. Created by writer Grant Morrison and artist Richard Case in 1990, during their run on Doom Patrol, Flex is in part a parody of Charles Atlas' long-running "The Insult that made a Man out of Mac" advertisements seen in American comics from the past.
I...

peak depot
rugged root
#

@woeful kettle How do I pronounce your name

#

I feel bad that I'm probably saying it wrong

upper basin
#

"00011001"

#

!e

a = 0b100101
print(type(a))
wise cargoBOT
upper basin
#

1001

rugged root
#

!e

ham = 42
pork = format(ham, 'b')
print(pork)
wise cargoBOT
woeful kettle
#

jeopardy_df['value_float'] = jeopardy_df['Value'].apply(convert_float).convert_dtypes(convert_floating=True)```

WHY YOU NO CONVERT TO FLOAT :KLMDF:LDKM
upper basin
#

!code

wise cargoBOT
#
Formatting code on Discord

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.

For long code samples, you can use our pastebin.

rugged root
#

@balmy flare Yo

lavish rover
#

lgtm = lets get this merged

urban abyss
#

lgtm = looks good to me

upper basin
#

Makes the all caps more logical.

rugged root
#

@urban abyss It's weird when people call me by my last name. "Hey Brown, can you do this?"

#

Just doesn't feel right

urban abyss
#

Same

#

"Mr <Redacted> was my father's name"

vocal basin
#

call-by-surname is not a workplace thing

#

was I actually right? pithink

#

@rugged root

urban abyss
#

not me

vocal basin
#

!rule 6 please don't promote discord servers here without prior approval

wise cargoBOT
#

6. Do not post unapproved advertising.

rugged root
lavish rover
#

we all only use python don't need other server

visual salmon
#

oh my bad

#

sorry

rugged root
#

All good, thanks for understanding

upper basin
lavish rover
#

spicy python

vocal basin
#

it has def doesn't it

#

so python enough

#

or was it fn

#

I don't remember

lavish rover
#

def

#

it also has yield

#
import pandas as pd

# Define the cleaning function
convert_float = lambda x: x[1:].replace(',', '') if isinstance(x, str) else x

# Apply the cleaning function and convert to numeric, coercing errors to NaN
jeopardy_df['value_float'] = pd.to_numeric(
    jeopardy_df['Value'].apply(convert_float),
    errors='coerce'
).fillna(0)
#
def foo():
  x = ... some int
  return f'{x}'
#
def foo():
  x = ... some int
  return x
vocal basin
#

postgres is trolling me

#

why does adding 1 to the limit increase the time >20x

#

(I know how it happens but that's clearly not a sane situation)

#

@lavish rover as it should

#

we're finally reducing repo count at work, I might've caused parts of that

urban abyss
#

we have a monorepo and also a load of separate repos

#

worst of both worlds

vocal basin
#

@lavish rover subtree?

#

though if that's into non-Git maybe not

#

for vendoring non-registry-uploaded deps (e.g. repos from GitHub) I'm using git subtrees

#

and internal tooling for that

#

@urban abyss submodules are not appropriate for vendoring deps

#

that's just not what they do

#

I had to write my own utility to work with subtrees

#

submodules are just links

#

and subtree includes the whole history

vocal basin
urban abyss
#

oof

#

makes me glad we have a policy of short lived short scale branches

vocal basin
stuck furnace
#

👋

vocal basin
#

it's multiple repos merged together

urban abyss
#

oh god

vocal basin
#

in a way that cannot have conflicts

#

which is quite important

#

all merges there are subtrees only

#

just fully replacing contents of a subdirectory with contents of another repo

urban abyss
#

the hardest thing i have to do with git is resolve conflicts - i think i'm pretty lucky

vocal basin
#

once configured correctly, it just works

urban abyss
#

you just have direct dependencies ?

vocal basin
#

the goal there is to avoid submodules

#

or any other cross-repo dependency

#

single checkout only

vocal basin
urban abyss
#

gotcha. and a cross-repo dependency could require the need for that release / import process is what i'm getting at

vocal basin
#

doing subtrees correctly manually is nearly impossible

urban abyss
#

we have so much cross-repo dependency we end up using super old versions of our own code

lavish rover
vocal basin
lavish rover
#

no branches and merges i mean, only rebasing

vocal basin
#

there is only one other person at work with whom we often alternate commits to repos;
I made him enable --ff-only on pull by default

lavish rover
#

even at the tooling level we don't have the concept of a "pull request" with separate commits. Each commit needs to be submitted individually and needs to pass all tests, makes bisecting etc so much better

vocal basin
urban abyss
upper basin
#
- you can also store it in a separate structure each gate has an id, and that structure would just be a big mapping from ids to metadata so it can be easily disabled/dropped. (AF's proposal for handling the mapping from the original gate to U3 for future use in translation)
lavish rover
#

yeah the tooling at $job is so top notch, i don't have to worry about this sort of stuff and is nice

vocal basin
#

I don't know how the code currently operates
(and right now will take to much time to compare)

urban abyss
#

what role do you have seg?

upper basin
lavish rover
urban abyss
#

title, yeah - nice

upper basin
#

If a gate method uses a bunch of other gate methods, then we would add the other ones in the definition.

upper basin
#

So S would point to Phase to U3.

vocal basin
#
command
  metadata
event
  metadata
event
  metadata
event
  metadata
#

except in this case it's a primitive gate and not an event

upper basin
#

So right now what I have is

command
  command
    command
    command
      command
        metadata
      metadata
  command
    metadata
  command
    command
      metadata
#

Where metadata is gates with no definition.

vocal basin
#

the hierarchical context is metadata

upper basin
#

By hierarchical context you mean what points to what?

vocal basin
#

which command caused the gate to be added

upper basin
#

Right.

#

Ohh so you mean all primitive gates would be events, and their definition would be the metadata and then the commands would be comprised of events and other commands?

#

I apologize if I am misunderstanding.

stuck furnace
#

Yo 👀

upper basin
#

You need to make up for the time you were gone. You owe me 10 hugs and 5 high fives.

#

And no, I don't take IOUs.

upper basin
#

Now I wanna watch hangover again.

stuck furnace
#

I wonder if a Roman shield formation would register as a car

upper basin
dry jasper
vocal basin
#

@dry jasper "for civilian purposes or not?"

wind raptor
vocal basin
#

A/B testing
also known as
gaslighting

urban abyss
vocal basin
#

@dry jasper low volatility

#

"spread" in finance has a specific different meaning so that sounds a bit confusing

#

("diversify" I'm assuming was the intended word)

sweet inlet
#

yep

urban abyss
vocal basin
#

the machines have learned

lavish rover
vocal basin
#

SaaS offering when

lavish rover
vocal basin
#

Soup as a Service

lavish rover
#

blame deepseek

chilly wolf
urban abyss
chilly wolf
#

Mine too!

lavish rover
#

make it in ocen

stuck furnace
#

I think that mostly happens to people using steroids

lavish rover
wise cargoBOT
#

6. Do not post unapproved advertising.

lavish rover
vocal basin
#

you should've argued with yourself for longer so it'd be rule 3 also

#

easy fix: just don't have standards

lavish rover
#
rm -rf /ocen-lang/ocen/std
vocal basin
#

Ocen Core

lavish rover
#

ocean bed

#

bed::

vocal basin
#

@urban abyss "high frequency donation to Wall Street"

woeful kettle
urban abyss
#

Alisa always has the zingers

vocal basin
#

de facto I'm perceived as the owner of the apartment I live in, but we're not transferring it to me for legal reasons
I would own property if not... stuff

#

also the probability of me having to leave the country increased for same reasons

woeful kettle
#

yup

#

I am currently helping a friend in the states move up here for likely similar reasons

vocal basin
#

time to patent the word

#

(nothing found)

#
aws deploy -c 'lambda request: (200, "hello") if request.headers["Authorization"] == "Bearer ABCDEF" else (401, "access issue")'
#

@rugged root ügh

#

"be glad it's not TeX"

#

@rugged root fun fact: some latinisation methods translate "ю" (Cyrillic) into "y" (Latin)
so now I can't stop thinking how "pyx" is pronounced like "püh"

#

what was that another language called

#

Austral?

#

something like that

#

if we extrapolate the logic by which types work in C, long long being 128 bits would make sense on 128 bit architecture

#

@rugged root just hash any number

#

it's a write-only storage

chilly wolf
vocal basin
#

"if anyone wants to have their data collected, feel free to play pvp minesweeper, we collect all games"

woeful kettle
#

LOL

vocal basin
#

I can make a stream of the data without any identifying information I think

wind raptor
#

!stream 99041425483653120 1h

wise cargoBOT
#

✅ @chilly wolf can now stream until <t:1738352092:f>.

vocal basin
#

@rugged root I already forgot what the ES equivalent to Steve is

#

Esteban

#

"Steve is such a high roller"