#voice-chat-text-0
1 messages · Page 401 of 1
because its saef
safe
and more upportunities
basically the same reason im going to the netherlands
Make sense
im gonna get an education and gain more upportunities
depends on the city
abt safety
no
because some of these have family but the family did not come along
im keep that informatin then
So it will become child to parent migration?
ok
Bye tc
damn everybody leaving
@whole bear 👋 How did you end up going with the problem?
im procrastinating
i havent fixed it
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
@rugged root
So good
1 sec, ill send what ive done so far
well ill look for information about it
i ask this almost every time i enter this call. What interesting hobbies do yall have
okay
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
I like to read horror
the goal?
yes
oh
Novel and Books
oh nice
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
@whole bear i think imma call you airpods
by a diff member
airpods, play me some fetty wap
!e
meats = ["pork", "beef", "eggs", "ham"]
for meat in meats[:]:
print(meat)
if meat == "eggs":
meats.remove("eggs")
print(meats)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | pork
002 | beef
003 | eggs
004 | ham
005 | ['pork', 'beef', 'ham']
alright
random.shuffle?
first time hearing about random.shuffle
!d random
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...
Read through the different things you can do.
alright
See if any have applicability.
@lime fractal https://www.bignox.com/
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
Ruh Rohblox.
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
@toxic tide Yo
bro is giving lockheed martin ideas
UA is using AI-guided drones already
ho
normally mentioned as "донаведение" (final guidance/guidance correction)
@dry jasper if it's standing still, you just artillery it
ohno
I cannot have modules and enums with the same name
unfortunate
#DCL25 #mode2monday #dronelife #dronepilot #DroneRacing #FPV
@cerulean oar Yo
Well they were doing this since beijing olympics
yo yo
struct Colour(u8, u8, u8);
this defines both a function and a type
its going aight @rugged root
Colour implements Fn(u8, u8, u8)
the value
not the type
you can Colour as fn(u8, u8, u8)
tuple structs are constructed through a function rather than a specialised syntax
and that function has a #[must_use] on it
Bye
struct Foo(u32);
macro_rules! Foo {
() => {};
}
fn example<'Foo>(f: Foo) {
let ctor = Foo;
Foo!{}
'Foo: loop {
let x: &'Foo Foo;
break 'Foo;
}
}
im gonna dip as well, catch ya guys later
@twin oasis Yo
@rugged root - have you ever seen a front-end browser-based OS: https://dustinbrett.com
Afternoon muted folks
This guy has been making this for 4 years
Very cool, I am browsing through this now
That's news to me
It's so impressive!
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
Bro's got Doom installed
hell yeah
I popped on doom just for a soundtrack to look around this website
Quake is on there too
thats funny
i just san sudo rm -f
allias sudo please
@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
Possibly
how can i talk
Check the #voice-verification channel
That'll tell you what you need to know about the voice gate
probably something awesome
it looks so difficult
his projects are super cool
can i see them anywhere?
I'd have to dig through the chat to find a video
@rugged root reboot the config file
maybe try running it on a printer, maybe it'll work there
dayum
@haughty pier
@shrewd timber here is one of my recent projects that I am super proud of
how long did it take for you to make that?
about a week
dang
I've been coding for 19 years though
i just started a day ago
i havent even lived that long😂
you'll get there! With time and patience I am confident you can learn
what is a good beginners project
Now I can say "I've been coding since before you were alive!" like the grandpa that I am
(not actually a grandpa, I'm 33)
@rugged root i'm making a shitty galaga rip off -> #voice-chat-text-0 message, outshined by Magey tho 😆
so you have been coding since you were 14
@chilly wolf that's awesome man
only thing was the music was so loud on open i almost did a shit
Oh that's sick
Awww thanks guys! I'm sure yours will get there soon @urban abyss :)
you didn't mention earlier that you had actually made a galaga-like
what did you make it with?
Although it's more Asteroids
I used pygame
OG galaga was like that, just left to right
hope she gets well!
and pygbag to convert it into a javascript container uploadable as a webpage
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
what did you use for the art?
How could I learn fluent english?
Some free asset packs on itch.io!
por qué no python?
Yup! started with Liberty BASIC
that's awsome
then i used TI-BASIC on my graphing calculator
im taking classes right now but it's taking too much time
i wanna learn coding now
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
😂😂
you have all the time in your life to learn, might as well get it right the first time
do you have any recommended youtube tutorials
unfortunately, i don't, i learned python by doing the tutorials and then googling commands
and stack exchange
there's some recommended ones on this server I think @rugged root ?
this was my first project from 5 years ago:
https://pastebin.com/qE0q5jn4
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
!resources
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
thanks!
@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
are you allowed to ask stuff about income
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
there's #career-advice
But faster than I could google it and see if other people are having the same issue?
thanks!
I just don't think it's faster than basic troubleshooting
about how fast nixpkgs update packages for fixes and stuff
not about anything else
Sure, I'm just comparing the concepts
better than apt in that regard
or whatever else
in Nix updating deps for one package doesn't break other ones
i'm borkin and jorkin
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
Yeah that's my beef
@vocal basin ccms?
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 -_-
You also need to include an init.py in the directory that contains the import you need
very true
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
yeah but you need that .py in the directory that contains the .py that you need to import
mhm
it can be empty
that I knew
you just need one
@unique wyvern , that's sick !!
Man, you got my hopes up
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...
true
free range ROM collection, grass fed
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
Magey and Milien ( Million ) you both have catzz @chilly wolf @peak depot
didnt see Jasons cat pics , did see Hems cat
they are my precious bbs
@haughty pier "welcome to Nix"
you can get it really small
just like Rust
but you probably won't
ah, the 1700s solution
truly a classic
@rugged root gc
might work once or twice ....
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])]```
10-4
@dusk raven haven't read through the links yet
Where are you getting the .isin() method?
Actually crap, I'll be back later
it is a Pandas method
@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
most SQL is similar
@soft axle SQL differs a lot by dialect in its specifics, but core concepts are same
Access for production is just inappropriate
to my understanding it can also utilise docdb instead of postgres with the kaviat that docdb is also postgres 😂
it's more like you can use postgres syntax to do mongo stuff
while also still working on top of real postgres
only marginally better than Excel
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
@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
I wonder if DocumentDB can be interacted with through sqlx
yea i mean ferretDB seams to use docuemntdb as backend? https://github.com/FerretDB/FerretDB
A truly Open Source MongoDB alternative. Contribute to FerretDB/FerretDB development by creating an account on GitHub.
ah
absolutly no idea
omg i have a ferret
then makes sense
sry
didnt realize
Im starting with my programming for analytics class to study today
I'll try during the weekend
Prop head that's a familiar name can't recall who it is though
I think sqlx should not care since it offloads the checking to the database anyway
In college?
any mods active atm?
yah
(the Rust sqlx not Go sqlx)
Good luck bruv
thx
It'll hurt in the first term
sqlx is way too good, I don't even see a reason to do any ORM stuff
As far as I can see
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
did everyone die?
I did, maybe
allegedly in Node.js world they're kind of okay
since "you get new X every day" does not make ORMs special there
node.js is an IDE, right?
No
@vocal basin why do many people in VC
It just adds complexity for the same bs
many people just join to listen in, like a podcast
Ah
but currently not much is happening
and none speaking lol
JS/TS devs want to write JS/TS and not learn another language
im not saying anything cause I think people think im talkative or annoying af 😭
Nah
at most they will learn how to tailwind
I always have so many dumb questions
I've seen way more annoying people here
Again something extra and clueless
that still puts me on some sort of annoying 😭
Im stressed with all the classes Im taking, most in Python, and idk where to start
I feel like programmers are the type of people that love to rant, or either deeply hate it
Here specially I feel like more people are the first type so they answer any question with a lot of unnecessary but helpful answets
think this a type a type b thing lol
I love coding, I just suck at it and have a lot to learn
Nah even the older lads don't mind talkin if they are interested
and Im having cross-multidisplinary entry barriers here and there
that was a NL reference, my bad lol
Heck rabbit was straight up teaching me law for a solid 2 hours
And I for some reason remember it after two years lmfao
You start somewhere mightaswell ask the old guys for some tips
Worst case they straight up ignore you which I've never seen that happen
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.
ss key double typing?
yup
wassat
it hass been doing it for about a week now
mechanical keyboard?
yup
logitech?
corsair thanfully
my previous keyboard was wireless logitech g something
all letters ended up zero/double-typing
I might have been able to fix it, reset the polling rate and increased its debouce by 9ms
seems to be holding for now
man that blows
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?
tbh its a keyboard
i've just gotten so accustomed to it? idk if switching to mechanical would be better or worse
it do click clack, when i put my fingers on them
everyone swears by them
I have a half-height mechanical keyboard
not as low as laptop one
MX Mechanical
it's Logitech but not from the gaming set
makes sense
nah its still double pressing, just not as often
must be a hardware issue then
I'm fairly certain on my previous one it was software
like
hardware is causing a press not to register
mhm
then software is misbuffering events
oh its you
: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.
?
you told me in vc that i couldnt learn intro probability or something
no recollection dont know who u r
like self teach
oh yeh i probbaly owuldve said something like that
shouldnt self teach calculus based probability
wont learn it properly
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
yeah but i disagree that you cant learn it by yourself
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
yeah it's evidence
just treat stats and maths the same way as programming libraries:
something you consume for a particular usecase
but it doesn't change my opinion
=> will accelerate learning process whether or not you're doing it on your own or as part of a course
do not expect others to guide you with everything, obviously
theres a famous saying about opinions id refer to here
opinions are like buttholes
every1s got one
and they all stink
- Landbus 2025
indeed
@soft axle https://cs50.harvard.edu/python/2022/
@soft axle https://www.kaggle.com/learn/python
Learn the most important language for data science.
@soft axle https://futurecoder.io
So many free resources out there
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...
yup, need clang
Kinesin protein walking on a microtubule in a cell
whats this
what is this
LOL
-------- LINKS--------x
GAME DEV ROCKET (use coupon code ROCKETHORROR for a 25% discount): https://www.gamedevrocket.com/
Interview with horror dev Miziziziz: https://www.gamedevrocket.com/miziziziz-interview
-------- PLAY--------x
Methuselah: https://blackthornprod-games.itch.io/methuselah
-------- CREDITS--------x
Miziziziz: https://www.you...
It was a funny little reference
Idk why it replied to that.??
cuz u replied to it? 🤷♂️
I didn't mean to touch it* .-.
what the heck?
🤝🏻
💀
🤨
u heard me
🤨
🤝🏻
no go wash them, don't make mine icky
now i have to wash them too
🙂↔️
🚿
there take a whole shower lil bro
🏃🏃
!voice
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
is the AI playing if yes that is very cool else: print("there is no else ") haha
mandelbort or somthing
use pyqt
too late
but i wanted to design it by hand to learn
don't forget about pyqt
and i also didnt know how to how connect the buttons and things to a function
i should put this is live coding
PySide
(PyQt isn't by Qt, PySide is; though idk which one's better)
@summer owl 👋
!voice 🙂
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
whats the proib lem with this
!
what's x?
input
A call to input returns an object of type str.
i was about to say, you're getting a string
how do i make itg int
int(x)
When you print it, you'll see it's in quotes
You can't perform an exponentation operation on a str, text.
or float
that might be better
it says int isnt callable
apparently only in REPL
😦
It is, you must have shadowed the int variable or are trying to call an instance of int. (1)()
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
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```
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
You are not allowed to use that command here. Please use the #bot-commands channel instead.
Not really. You kind of provoked that, yourself.
yeah ur right
lol
i dont got the time to grind 50 messages 
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
@somber heath 👋
@mystic hatch 👋
does anyone know what is the problem wiht my code ?
!code
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()
do you want some bat code
@eager mist 👋
!code
@peak depot https://eveready.com/wp-content/uploads/2022/06/Gold.webp Kitty batteries.
@round folio 👋
hi
Lmao!
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
@storm nacelle👋
that's always a sad state of affairs
That cat is on meth
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 😔
hi
@granite mantle👋
https://wildambience.com/wildlife-sounds/common-brushtail-possum/ There are some audio clips below the youtube videos.
Common Brushtail Possums make growling calls and other harsh sounds including loud shrieks & rasping calls. Listen to examples...
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
"Why are you Magey?"
"Who says I'm Magey?"
"You are Magey."
"Look what you did to Mr. Biggums!"
@gentle flint
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
@chilly wolfConfirmation not offered.
@simple flume👋
@chilly wolf You don't need to go through Steam.
oh?
It's Open Source Freeware Downloadable.
Very nice!
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.
There's something about French with the nasal pronunciation combined with the top of the throat utterations that make it particularaly difficult
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"
Japanese feels the cleanest.
i would type in Japanese here but non-english characters seem to be disallowed
Nice, simple, easily accessible sounds.
Italian is just...the language of good food.
nothing like a nice espresso in the morning
At least, for my taste, although yours may differ
Yes, as opposed to an expresso.
I die a little bit every time.
The misrendering of espresso.
My phone seems to have died
And I seem to have accidentally hidden the voice channels on pc?
I accidentally hit a hotkey
this also sometimes happens as a bug
@high totem 👋
@full echo 👋
the most important question: is there a D1 support
SQL or python @chilly wolf
SQL for databases + Python
Yeah so what do u prefer?
I like both
Okay
Do u have more than 6 years experience in Python?
about 5 years
I wonder if there's a way to do this as a query builder instead of an ORM:
https://ponyorm.org/
Hmm well not that experience but I guess maybe u can help me with a question I am struggling in Python
sure thing
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")
plz use code blocks
How to do
three back ticks as a prefix and a suffix
'''py
print+test)
'''
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")
thank you
what is the intent of that elif?
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
both guessed_number<=100 and guessed_number>=1 is guaranteed to be True by the time of check
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
you already have a log off all guesses, so shouldn't be hard
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
most likely will need to use: guessed_numbers[-1], abs
Yeah j want to understand how to do it
"Warm"/"Cold" should only be printed for the first guess, right?
Right
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
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')
start with this
Not only this
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
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
I was thinking about append 'w' , 'c' with the list too
that's going to be too many lists
Wait I will show u how I was trying to solve it , I will open my laptop
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
Warm is when the user guess number closer 10 positions -10 or +10 than the actual number
warm = abs(guess - actual) <= 10
but, once again, I'm not sure of this
and what if it's just as far away?
answer: 20
guess: 15 -> Warm
guess: 25 -> ?
Warm
answer: 20
guess: 14 -> Warm
guess: 15 -> Warmer
guess: 25 -> ?
(it's measured by distance from answer not value itself)
!e
empty_list = []
if empty_list:
print("not empty")
else:
print("empty")
:white_check_mark: Your 3.12 eval job has completed with return code 0.
empty
@sacred lake that array already exists, yes
guess_count += 1
14 is =6 difference positions
25 is = 5 difference so it's warmer too
guess_count = len(guessed_numbers)
no, 25 compared to 15
that one
5 and 5
@obsidian dragon why count when there's already a list
just len it
!code
print('Hello, world.')```
Look at the Excute : 84 is the actual number
The list under that 84 is 10+ positions and -10 positions
@proven ruin @bronze tapir 👋
howdy
Grenade launcher is a very viable support weopon on all front and more people should use it, let's see why.
No one ever reads descriptions anymore, but if you cared enough to look, let me know what you’d like to see. Lore. Tips. Straight facts. Hell, I’d even theorize.
The Illuminate are collecting oil or E710. Some outposts are on oil ri...
@void canyon 👋
Not much, 'bout you?
same here
Been working on anything fun?
@upper basin https://en.wikipedia.org/wiki/Flex_Mentallo
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...
@woeful kettle How do I pronounce your name
I feel bad that I'm probably saying it wrong
@upper basin https://dc.fandom.com/wiki/Dogwelder_(New_Earth)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
<class 'int'>
1001
!e
ham = 42
pork = format(ham, 'b')
print(pork)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
101010
jeopardy_df['value_float'] = jeopardy_df['Value'].apply(convert_float).convert_dtypes(convert_floating=True)```
WHY YOU NO CONVERT TO FLOAT :KLMDF:LDKM
!code
@balmy flare Yo
lgtm = lets get this merged
lgtm = looks good to me
This will unironically be my new definition.
Makes the all caps more logical.
@urban abyss It's weird when people call me by my last name. "Hey Brown, can you do this?"
Just doesn't feel right
in Russian culture we have two forms of most given names, and the default polite way is to use the given name, not the surname
call-by-surname is not a workplace thing
was I actually right? 
@rugged root
not me
!rule 6 please don't promote discord servers here without prior approval
..... maybe
we all only use python don't need other server
All good, thanks for understanding
coughs...ocen.
spicy python
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
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
@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
the cause of git railways' existence
I'll prefer this over submodules every single time
👋
the thing above are not branches
it's multiple repos merged together
oh god
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
the hardest thing i have to do with git is resolve conflicts - i think i'm pretty lucky
once configured correctly, it just works
i suppose that avoids the need for release -> import cycle
you just have direct dependencies ?
the goal there is to avoid submodules
or any other cross-repo dependency
single checkout only
all merges here are automated
gotcha. and a cross-repo dependency could require the need for that release / import process is what i'm getting at
doing subtrees correctly manually is nearly impossible
we have so much cross-repo dependency we end up using super old versions of our own code
good lord, we have strictly linear history
all source repos have strict linear history
no branches and merges i mean, only rebasing
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
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
and git pull --rebase when conflicts
i wish we had the resources to do that, would make reverts much simpler
- 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)
yeah the tooling at $job is so top notch, i don't have to worry about this sort of stuff and is nice
I don't know how the code currently operates
(and right now will take to much time to compare)
what role do you have seg?
Context manager creates a hierarchichal logging.
role as in? work as an ML systems engineer
title, yeah - nice
If a gate method uses a bunch of other gate methods, then we would add the other ones in the definition.
It recursively goes down until it reaches gates with no definition.
So S would point to Phase to U3.
I only now realised that description is somewhat similar to
https://docs.rs/cqrs-es
cqrs
command
metadata
event
metadata
event
metadata
event
metadata
except in this case it's a primitive gate and not an event
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.
the hierarchical context is metadata
By hierarchical context you mean what points to what?
which command caused the gate to be added
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.
Yo 👀
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.
Now I wanna watch hangover again.
If it carries someone inside it then it consitutues as a vehicle.
What was his name...I didn’t quite catch it
bus
@dry jasper "for civilian purposes or not?"
A/B testing
also known as
gaslighting
@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)
yep
i don't think this is right
the machines have learned
SaaS offering when
Soy as a Soup?
Soup as a Service
blame deepseek
this is so funny
game dev is my passion
Mine too!
make it in ocen
I think that mostly happens to people using steroids
!rule 6
oh sorry
you should've argued with yourself for longer so it'd be rule 3 also
easy fix: just don't have standards
rm -rf /ocen-lang/ocen/std
Ocen Core
@urban abyss "high frequency donation to Wall Street"
this was a good line
Alisa always has the zingers
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
yup
I am currently helping a friend in the states move up here for likely similar reasons
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
Austral is a systems programming language designed for simplicity, maintability and security.
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
so far the only just-for-the-name package I published is
https://docs.rs/feistel
Generic implementation of a Feistel Cipher.
"if anyone wants to have their data collected, feel free to play pvp minesweeper, we collect all games"
LOL
I can make a stream of the data without any identifying information I think
!stream 99041425483653120 1h
✅ @chilly wolf can now stream until <t:1738352092:f>.

