#voice-chat-text-1
1 messages · Page 50 of 1
I am talking. So...
another attempt
They were still on about making money.
seems to work right now
I'm temporarily unable to access Windows
happy time
I'm too scared to open the user view on mobile so having to deal with different volumes
ugh
@rocky yoke have you tried installing the specific python version using uv?
dtrace it
I don't remember how well dtrace works on Linux, on Windows it's quite okay
"what would be the reason why bios can't detect an nvme drive?"
if you're interested in guessing random soon-to-be-antique IT failures
it is an m.2 but...
(hint: there is in fact no nvme drive)
answer: ||m.2 sata||
I have some suspicions the voice got broken again
Talking now.
I have not heard anything since sending this
now works
would be funny if time check is client-side
sometimes it is
doubt that tbh since it's a UK government website
(common issue with SPAs)
yeah, government is more likely to use something dumber and less breakable, just because ssr is older
good practices of php
we should teach them btrfs
live backup
okay, given they might be using windows, then zfs
I don't entirely believe in long-term vs short-term trade-offs in software being an actual meaningful thing
some statistics might be derived and some commonalities may be found, but on practice short-term and long-term value is too aligned
and if something requires long time to achieve, you have to actually spell out what you want
it's long or never, not long or short
@tardy spire 👋
... and to get there you need quite a lot of short-term-first choices anyway
idk what was just said then
@edgy thistle 👋
hello
im looking to pay someone for a boost tool where is a place i can buy one hypothetically!
A what tool?
🚀
@astral arch 👋
what won't you give up @tame leaf ?
lol
i'm continuously suppressed in this life
!voice
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
yeah i got like half a day left
feel free to leave lol, I'm just hanging around
playing some league on a break from coding lol
data regulation
general data protection regulation, I guess?
I don't remember
yeah, that
I haven't heard even a single claim of it affecting users negatively
clearer understanding of what data is collected
iirc it allows data removal too, but that one's somewhat limited
I'm not sure if, for example, Discord is following it properly
(you can't fully remove messages, only personal identifying information)
I think, in terms of data export, VK does it somewhat correctly, at least from users' perspective
(can never be sure how much data they actually have)
I have an archive I can look through
ah, I thought the whole Discord
as in GPU issues
data export archive should be easy for the user to explore
in VK's case, it's a bunch of HTML files
in "ads":
and geo-points has:
location during last update
home
work/study place
last approximate location
@gritty tiger they're almost falling asleep too, but they're just always like that
#voice-chat-text-0 message
and, having relocated one of the servers, now it's the most most expensive thing left
profile picture
a very weird acronym
I guess just using two first letters would sound wrong
the main concern in my case is dust
there's a lot of it where I live
(near highway)
two previous days I was cleaning the dust out of the PC
didn't remove, like, 100% of it because that'd take way longer
my screens are in the middle of the room
I can theoretically put them on, like, some mount
but that'd be even harder to clean
some do
I don't remember ever hearing that
only obviously outdated ones
the one I'm using, I think, is targeted at Russia
if you aren't financially isolated, it's better to host your own
(paid, obviously)
Heyyoo
Guyzzzz
Just lemme know is python the best?
The Best to Start with?
Aur c / c++ , java etc?
Thanksss
But i wanted to know from professionals like you
So I'm here...
Thanks Milien
Funny..
Guyzzz - what would be trending after 5 yrs, I'm a 19 right now, too late to start ik, so what should be my end goal through coding/ programming...?
Can u please answer?
...
@supple gust This chat 😄
hi guys
It's a pretty solid language to start with
Oh okay
@marsh lodge
Easily human readable is the main upside to python
I can't say what might be best to go for, be because it depends on what you'd like to do. But python will probably always be used
it worked
In India we have lot of programers and i need to stand out and focus on the topics that are trending or worth it for future...
there fore I was thinking about cybersecurity
lol im gonna go watch some python tutorials BYE!
Later!
Stray is available now on PS5, PS4, and Steam: https://store.steampowered.com/app/1332010?utm_source=youtube&utm_campaign=071922&utm_medium=web
Lost, alone and separated from family, a stray cat must untangle an ancient mystery to escape a long-forgotten cybercity and find their way home.
Developed by BLUETWELVE. Published by Annapurna Intera...
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.
What's up?
!paste
If your code is too long to fit in a codeblock in Discord, you can paste your code here:
https://paste.pythondiscord.com/
After pasting your code, save it by clicking the Paste! button in the bottom left, or by pressing CTRL + S. After doing that, you will be navigated to the new paste's page. Copy the URL and post it here so others can see it.
magey
@marsh lodge
do you know what's wrong with it?
after all this is my first progect
fixed that
false = False```
other than that any thing
try running it magey
hey @marsh lodge
so magey do you know how to fix the password generator
I'm workin' on it, just took a slight break to work on my tetris ai
It'll be easier for me to help if you hop back in voice @supple gust
!stream 266030641382948865
✅ @quaint cape can now stream until <t:1737313042:f>.
hey chris
magey
what's his name
its giving halloween
yo @umbral rose can i stream so me and magey can debug my password generator
i dont even have a 3d printer 
yo @quaint cape you should give it a cool pair of sunglasses!
would PLA work?
Full story: http://bit.ly/1VkuZpI
A new way to support 3D-printed structures as they are being made is helping to create delicate biological structures and eventually organs
maget
Molding technology: Liquid deposition modeling LDM. Model: Moore 1. Material: Clay + ceramics slurry + red porcelain + various liquid flowing materials. Detachable Print Head & Stable Operation: The detachable print head of 3D Printer allows for easy cleaning and maintenance, and XYZ axis uses an external dual-axis roller guide, ensuring stable ...
pip install [package name]
@umbral rose static read only
non-executable
@umbral rose -5..255 iirc
interned ones
many of numbers in Python are heap allocated
I don't know where interned numbers are stored
all dynamically created ones are allocated
interned numbers might be static
@split imp @umbral rose interned are stored separately
Ahh gotcha
-5 is interned, -6 isn't
wdym stored separately
-6 on the heap
-5 with code
why do they have the same id
thx
what if its stack allocated @delicate wren
yeah, actually could be on stack
hmm
need to test it somehow
it's in the same place as None, type and other builtins
I’m still in disbelief that this even flew let alone multiple fully controlled flights. Thanks to everyone for their support
Updated easy to fly version available for download. Visit my store here
pip install [ pkg_resources]
File "<python-input-0>", line 1
pip install [ pkg_resources]
^^^^^^^
SyntaxError: invalid syntax this is what it says
well, replace the brackets with the pip you want to install
i did
don't include brackets
do i need these ]
no
bro i dont know what brackets is
these are square brackets. []
wait can u come private call
I can't, sorry
wait come privat cuz i cant talk
We can type here
ok
so do i need to go in cmd as admin and then type python and then pip install pkg_resources
yes
pip install pkg_resources
File "<python-input-0>", line 1
pip install pkg_resources
^^^^^^^
SyntaxError: invalid syntax
still says the same
let me put on stream but i cant here
https://huggingface.co/BauerHartmut/yolov8_Computer_Vision_1.5.3/blob/main/test_image_2.PNG
https://github.com/bauerhartmut/yolov8-Computervision
do you have pip installed?
no
You have to install pip, which should usually automatically be installed alongside python
come private so i can talk and stream
Sorry, I don't usually add friends until I get to know people better, and I am participating in a conversation right now.
you dont need to add me
how do i install pip
hey can i show yall my password generator?
go to cmd, type pip install (whatever you are trying to install)
our password generator, comrade
Not until you have voice perms
mongo db compass example for the minecraft agent
@marsh lodge
just runned the command
pip download pkg_resources
File "<python-input-1>", line 1
pip download pkg_resources
IndentationError: unexpected indent
now if i want to download this happen
s
at 12:00AM i will be able to talk
you must have put a space or something at the beginning
nah cuz if trump bans discord im crashing out
It's broken
fish.
imagine GTAVI on nintendo switch
nah switch 2
put the meta quest 3s chip in there BAM!
nah my vr cant run roblox
There's nothing special about switch 2
exactly.
just put it on there for no reasomn at all
whoever gets this question wrong gets Le Fishe Au Chocolated!
what was nintendo's least selling console
or least SUCESSFUL
magey is safe
the awnser.....3
LA WII YOU
get le fishe au chocolat
Please don't shitpost on here.
ok sorryy
No worries
😄
can i say a quote rq?
like a genuine one
if there is anything i have learned, it would be you cant force someone to love you, what you can do is strive to be someone worthy of loving. -Dipper Pines Wierdmaggedon 3.
!stream 99041425483653120
✅ @marsh lodge can now stream until <t:1737317348:f>.
PRESS THE SPACEBAR!!!!!!!!!!!!1
:incoming_envelope: :ok_hand: applied timeout to @supple gust until <t:1737317766:f> (10 minutes) (reason: burst spam - sent 8 messages).
The <@&831776746206265384> have been alerted for review.
This is an example of how to create a a finetuned llm with unsloth:
https://github.com/unslothai/unsloth
https://huggingface.co/Borcherding/OARC_Commander_v001_beta
https://huggingface.co/datasets/Borcherding/OARC_Commander_v001
i cant download tkinter
tkinter comes with python
Nice!
Let me know when you've got it working.
I'd need to see your code
ok dms
bot.run(TOKEN)
@marsh lodge i need help
what's your problem?
i typed this in:
#import all the required libraries first
import sys
from tkinter import *
#import time library to obtain current time
import time
#create a function timing and variable current_time
def timing():
#display current hour,minute,seconds
current_time = time.strftime("%H : %M : %S")
#configure the clock
clock.config(text=current_time)
#clock will change after every 200 microseconds
clock.after(200,timing)
#create a variable that will store our tkinter window
root=Tk()
#define size of the window
root.geometry("600x300")
i got this error:
Traceback (most recent call last):
File "<pyshell#19>", line 1, in <module>
root.geometry("600x300")
File "C:\Users\sunsh\AppData\Local\Programs\Python\Python313\Lib\tkinter_init_.py", line 2233, in wm_geometry
return self.tk.call('wm', 'geometry', self._w, newGeometry)
_tkinter.TclError: can't invoke "wm" command: application has been destroyed
imma try to fix it
That particular error usually means that the Tk() window has already been closed (destroyed) by the time you try to run root.geometry(...).
If you typed root = Tk() in one line (which opens a new window), and then closed that window, Tkinter destroys root.
When you then type root.geometry("600x300") in the next line, Python complains that _tkinter.TclError: can't invoke "wm" command: application has been destroyed.
If you call root.destroy() or something similar before root.mainloop() has started, the window is gone.
Also, root = tk.Tk() is the correct assignment for root
You should read the Documentation. @supple gust
Let's see it!
Now, try making it a 12 hour clock instead of 24. Explain to me how you might go about doing that please
🤷♂️
@marsh lodge The universe is everything, so there is nothing external to it for it to expand into. The universe is infinitely big and has no edge, so there's no outside to even talk about. There is an outside to our observable patch of the universe, but it is still part of the universe.
Try subtracting the hour variable by 12 if the time is post-12 pm.
i have an entire folder with python stuff im done
for today
bye yall
yall can hear my voice tommoroe
bey
@elder wraith https://code.visualstudio.com/docs/copilot/copilot-vscode-features
https://code.visualstudio.com/api/extension-guides/chat
https://code.visualstudio.com/api/extension-guides/chat-tutorial
Get a quick overview of the GitHub Copilot features in Visual Studio Code. GitHub Copilot provides AI-powered features to help you write code faster and with less effort.
gotta go. cheers!
Laters!
hi mage
I thought you were off to bed?
hello
im just too scared to talk on voice chat so i didnt even try to get voice permission
granny from spiderman
if u were spidermna, whats the first thing your going?
im going or doing?
zendaya 😈
nah
not my type
i fear a ban
from speaking
i just think shes too skinny
like
going into unhealthy weight
nah i dont like obese woman
shes too skinny bro
what is happening here??
if you were spiderman, what's the first thing you're doing?
bruh
bro's last image of zendaya was from 2019
someone said aunt may
wait
Living my life as if I weren't cuz, I'm lazy
bro's hair supports life forms 💀
esteemed gentlewoman
looking like she runs an underground gang in Londen
Dicky Mint
bro acting like he got a hand up its ass
imagine seeing this at 3:00 AM +
Curse you "Circuit_Board"
fuck you connor
the double reversal
reverse cycology 😄
psychology
fuck you eggo waffle
i made a clock and a password generator
i did the replit 100 days of pythong and got to day 28 with it
now im doing a project for school with it
as well as racism?
uh
an AI that can recognise deer
i live on an island and we have a certain species of deer and so we are working on a AI that can recognise deer saving the researchers time from having to go through terabytes of images
bro won that one mr beast challenge
perfect
That is actually really cool
maybe that is what we should have built
thanks
magnificent
i remember watching this when it came out
what highly communication is this
you know
when they say that the gaming and coding industry is run by furries
the more time that passes the more i think its true
brother what
we saw the sephiroth meme the first time
well i gotta go guys
1st one...
its speed
i aint giving shit
yes
mature
do you like retro gaming and emulators @woeful canopy?
hopefully we dont get banned
uh not really but there like nostalgic 360 games i like
other psp games
Ah, I made a manager for emulators and roms/isos/etc, to keep track of all your files and launch your games from the app
Here is the code for ya
https://pastebin.com/gwR7Vk7J
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.
thanks man
a gif of it in actions
You're welcome!
nah @main garden explain your status: 8ft tall voluptuous fluffy fox women!
so does that mean i need to have the emulator and games downloaded and then add them to the manager?
Indeed
i see
The emulators are and free legal but you will have to supply your own roms via ripping them
Hmm
she emulates this world
mGBA, pcsx2, DeSMuME, ePSXe, Dolphin, and many others
i remember hoarding like 3000-5000 memes on my phone
@main garden likes 8ft tall voluptuous fluffy fox women!
let me write them down
gtg bye
You're quite welcome! Hope you have a good evening!
my brother saved a innapropriate gif can i do it?
thanks man
hopefully i get some time to play around with it in the vacation
uh
the retro emulator manager
nah
NO
you only read the later half
No
He has perfectly legimate means of ripping ROMs and ISOs and a large library
leave this man alone
indeed
keeping retro games alive
actually
you could even make this like an os
kind
kinda
if you get a raspberry pi
and make it so the code downloads the emulators first run
getting the games might be more tricky though
set it to 1E+12
Someone already has! It's called Retroarch. It's a bajillion times better than what I made, but also kind of annoying to set up and navigate the settings, and there are a lot of settings
ah i see
maybe i should check it out as well
i should actually get going now
Mine's just a quick plug-and-play deal if you don't wanna fiddle with all that
Alrighty
maybe once i finish my project i can let you guys take a look at it so i can feedback
I'd love to give it a once-over
indeed does look like that
circuit, don has filed divorce papers
who was i married to?
circuit, you didnt know it
im holding magey hostage 😄
i'd stick with it
i'd stick with it
i'd stick with it
help, i just inhaled strawberrry jello
i married magey
squid games! #squidgame #mingle #minglegame #cat #uai #oiiaoiia
I can't find . right now so I rerecorded from HBO Max
Xavier Renegade Angel S01E10 - Shakashuri Blowdown
Cell phone dials and rings
XAVIER 1
“Hello? Hello?”
XAVIER 2
“Hello?”
XAVIER...
@visual python 👋
Gibbons () are apes in the family Hylobatidae (). The family historically contained one genus, but now is split into four extant genera and 20 species. Gibbons live in subtropical and tropical forests from eastern Bangladesh to Northeast India to southern China and Indonesia (including the islands of Sumatra, Borneo and Java).
Also called the le...
Steganography ( STEG-ə-NOG-rə-fee) is the practice of representing information within another message or physical object, in such a manner that the presence of the concealed information would not be evident to an unsuspecting person's examination. In computing/electronic contexts, a computer file, message, image, or video is concealed within an...
class BraytonCycleEngine:
def init(self):
self.atm_pressure = 101325
self.atm_temperature = 288.15
self.compression_ratio = 8.5
self.mass_flow_rate = 10.0
self.efficiency_compressor = 0.85
self.efficiency_turbine = 0.75
self.fuel_energy_density = 43.0e6
self.air_specific_heat = 1005
self.gamma = 1.4
self.fuel_air_ratio = 0.005
self.gas_constant = 287.05
self.drag_coefficient = 0.75
self.air_density = 1.225
self.cross_sectional_area = 5.0
self.k_velocity_scale = 0.01
self.rotor_inertia = 100
self.rotor_static_drag = 100.0
self.EngineRpm = 1
self.THROTTLE = 0.0
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.
@inner wyvern This was my first foray into PyQT, using PyQT5 and QT Designer
looks clean and nicely made! I would have made slightly different choices on the color scheme
What colors might you suggest?
in this case my opinion doesn't matter, yours does! but Id suggest using color theory to pick your color schemes
Back in ~30
Of course
Why wouldn't it be fractal based
Well, then the entire cs field uses the term fractal wrong lol
By those standards
In mathematics, a fractal dimension is a term invoked in the science of geometry to provide a rational statistical index of complexity detail in a pattern. A fractal pattern changes with the scale at which it is measured.
It is also a measure of the space-filling capacity of a pattern, and it tells how a fractal scales differently, in a fractal...
IM WORKING ON IT
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.
def conv1d(input, window):
input_len = len(input)
window_len = len(window)
output = []
for i in range(input_len):
output.append(0)
for j in range(window_len):
if i - j >= 0:
output[i] += input[i - j] * window[j]
return output
I remember recently using that (convolution) for some random leetcode problem or whatever
but I completely forgot what it was about
now that I've spoiled the a solution,
https://leetcode.com/problems/partition-equal-subset-sum/
not sure how you'd use convolution for that? feels more like a dynamic-programming one
that's interesting
elements are quite small
||represent each element x as an array of length x+1 and form [1,0,0,...,0,1]||
Yeah ok I believe you i cbf to sit down and figure out how that works
also calculates how many ways you can partition it
bob
print("do it fart?")
quit()
!code
def get_reward_and_next_state(agent, grid, lines_cleared, total_lines_cleared, game_over, rotations=0, moved_horizontally=False, moved_down=False, locked=False, tetrimino_shape=None, x=0, y=0, device=None):
reward = 0
# Adjusted reward for clearing lines
line_clear_reward = {1: 1000, 2: 3000, 3: 7000, 4: 14000} # Reduced rewards
reward += line_clear_reward.get(lines_cleared, 0)
if lines_cleared > 0:
print(f"Final reward for lines cleared: {reward}")
if locked: # Only apply penalties when the piece has locked into place
# Create a copy of the grid without the current tetrimino
grid_without_tetrimino = [row[:] for row in grid]
if tetrimino_shape:
for i, row in enumerate(tetrimino_shape):
for j, block in enumerate(row):
if block and 0 <= y + i < GRID_HEIGHT and 0 <= x + j < GRID_WIDTH:
grid_without_tetrimino[y + i][x + j] = 0
# Penalize for maximum column height
max_height = max((GRID_HEIGHT - row for col in range(GRID_WIDTH) for row in range(GRID_HEIGHT) if grid_without_tetrimino[row][col]), default=0)
reward -= max_height * 2.0 # Increased penalty
# Penalize for holes in the grid
holes = sum(1 for col in range(GRID_WIDTH) for row in range(1, GRID_HEIGHT) if grid_without_tetrimino[row][col] == 0 and grid_without_tetrimino[row - 1][col] != 0)
reward -= holes * 20 # Increased penalty
# Penalize for bumpiness (difference in height between adjacent columns)
column_heights = [GRID_HEIGHT - next((row for row in range(GRID_HEIGHT) if grid_without_tetrimino[row][col]), GRID_HEIGHT) for col in range(GRID_WIDTH)]
bumpiness = sum(abs(column_heights[col] - column_heights[col + 1]) for col in range(GRID_WIDTH - 1))
reward -= bumpiness * 10 # Increased penalty
# Penalize for an uneven surface
surface_area = sum(
abs(
max((grid_without_tetrimino[row][col] for row in range(GRID_HEIGHT)), default=0) -
max((grid_without_tetrimino[row + 1][col] if row + 1 < GRID_HEIGHT else 0 for row in range(GRID_HEIGHT)), default=0)
)
for col in range(GRID_WIDTH - 1)
)
reward -= surface_area * 10 # Increased penalty
print(f"Final reward for locked piece: {reward}")
# Penalize for excessive rotations
if rotations > 3:
reward -= (rotations - 3 ) * 5 # Adjust the penalty per rotation to balance the behavior
rotations = 0
# Check if the tetrimino can still move down
# still_moving_down = tetrimino_shape and is_valid_move(grid, tetrimino_shape, x, y + 1)
# Penalize for moving down without locking and not moving down any longer
# if moved_down and not locked and not still_moving_down:
# reward -= 50
# Penalize heavily for game over
if game_over:
reward -= 1000
# **No exploration bonus or adjust it**: Remove or adjust this to avoid early negative rewards
# exploration_bonus = random.uniform(-2, 2)
# reward += exploration_bonus
# Create the next state based on the current grid
next_state_dict = {"board": grid}
try:
next_state = get_state_feature_vector(next_state_dict, agent.cpu_device)
next_state = next_state.clone().detach().cpu() # Ensure it stays on CPU
except Exception as e:
raise e
# Reset lines_cleared to avoid lingering
lines_cleared = 0
return reward, next_state```
@umbral rose iirc error types there are like sets of symbols
symbols in abstract sense
(I've read the whole reference; haven't tried doing ziglings yet)
you can compare it to C and C++
C++ equivalent of rustlings:
pick a random repo
there is guaranteed to be UB
fix it
@umbral rose Zig is parsed line by line
or tokenised rather
@umbral rose it's for errors only
!user
You are not allowed to use that command here. Please use the #bot-commands channel instead.
hi
i join vc
Nice
event @supple gust join_vc True.
yo chris
i joined 2 days ago (soon to be 3) but it says i have been here for 1 day
oh
hmmmmmmmmmm 🤔
ok 😄
event @supple gust working_on_calculator True
ye
e-ethanol?
Ethanol (also called ethyl alcohol, grain alcohol, drinking alcohol, or simply alcohol) is an organic compound with the chemical formula CH3CH2OH. It is an alcohol, with its formula also written as C2H5OH, C2H6O or EtOH, where Et stands for ethyl. Ethanol is a volatile, flammable, colorless liquid with a characteristic wine-like odor and pungent taste.[13][14] As a psychoactive depressant, it is the active ingredient in alcoholic beverages, and the second most consumed drug globally behind caffeine.[15]
ethanol is fine, methanol would be problematic
a what
If your code is too long to fit in a codeblock in Discord, you can paste your code here:
https://paste.pythondiscord.com/
After pasting your code, save it by clicking the Paste! button in the bottom left, or by pressing CTRL + S. After doing that, you will be navigated to the new paste's page. Copy the URL and post it here so others can see it.
under print(number1, "+"
when i run it it says Invalid syntax, perhaps you forgot a comma
it highlights the quotation
that needs to be there
ohhhh
it isvery silent
@marsh lodge
oh
chris can you try my calculator
alisa
i sent the .py to you
ok+
how is it
i havent figured that out yet
oh, wow, I pip installed something as root to system python and didn't seee even a single complaint in the output
surely not concerning
gtg
match?
@sudden canyon 👋
@half idol 👋
nice
@umbral rose 128MB? that's quite a lot
or did I misread
in OpenComputers (Minecraft mod) it was closer to 128KB
yo
@umbral rose
@umbral rose
do u wanna be friends
huh
ok
how r urrr
im borrd+
especially because i cant talk and share
i mean you would break the rules but you could unmute me
not saying you have to
sup yalll
am bored me
im sad
my gf broke up with me just now
i m?
?
what
no
i miss
oh
im gonna need a break from pythin
python*
my brain is already on hyperdrive and i dont want it to be more
any tips
impossible.
make the arm move and close and make the tire move with the arm while the clamp is closef
@umbral rose
yo chris
chrissss
@lapis sail 👋
If your code is too long to fit in a codeblock in Discord, you can paste your code here:
https://paste.pythondiscord.com/
After pasting your code, save it by clicking the Paste! button in the bottom left, or by pressing CTRL + S. After doing that, you will be navigated to the new paste's page. Copy the URL and post it here so others can see it.
@slender haven 👋
yeah
even if they typed "i love Opal" it would continue
not you opal
the stone
sure
i would like to see it
yeah
wdym?
are yall gonna try it out?
!e py print('abc', end='') print('def') print('ghi')
you start in an IDLE and then paste the code and run it
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | abcdef
002 | ghi
next_calculation = input("Would you like to do another calculation? (yes/no): ")
if next_calculation == "no":
print("Ok Goodbye!")
break
elif next_calculation == "yes:
print("Ok, Continue your calculations.")
!paste
If your code is too long to fit in a codeblock in Discord, you can paste your code here:
https://paste.pythondiscord.com/
After pasting your code, save it by clicking the Paste! button in the bottom left, or by pressing CTRL + S. After doing that, you will be navigated to the new paste's page. Copy the URL and post it here so others can see it.
it runs though 🤷♂️
try it
run it
@clear sage are we good now? https://paste.pythondiscord.com/73ZQ
YIPEEE
definitely didnt take 4 versions for it to run correctly
started on 1/18/24
25*
im looking it up but im learning from it
i use askpython and geeksforgeeks
also RealPython
almunds i think you and chris could be my python teachers
im in 5th grade and im doing python
@clear sage
almunds i think you could be my python teacher
do yall know what scratch is?
python is the only one i know
at least the error messages are good
the 3.13.1 error messages are good
I WANNA TALKKK
pygame wowrks
@clear sage
yasss
!user
You are not allowed to use that command here. Please use the #bot-commands channel instead.
connor_rk800_cyberlife
:hypesquad_brilliance:
User information
Created: 8 months ago
Profile: @Connor (RK800)
ID: 1247381369785421844
Member information
Joined: a day ago
Roles: None
Activity
Messages: 482
Activity blocks: 58
Infractions
Total: 1
Active: 0
Image
yay
me myself and i dont like the day limit
i want to learn python, i am a newbie
/unmute
awww
it is sleepytime for me bye guys
Talk to yall tommorow
@clear sage bye
https://m33t.google.com/azm-qjzn-dut the 3's are e's
if yall want to join
gtg bye
that looks like the coolest ball collector game I've seen lol
!rule 9
tkinter gui liberary @oak pewter
Contribute to Aatman1/pyCALC development by creating an account on GitHub.
Hello my microphone is muted
go to voice verification and click "Voice Verify"
@proper ridge can u hop in here for a moment. I have a question
Here is the reward function for my TetrisNN
:incoming_envelope: :ok_hand: applied timeout to @frozen osprey until <t:1737400414:f> (10 minutes) (reason: burst spam - sent 8 messages).
The <@&831776746206265384> have been alerted for review.
Hello Everyone
more scripts n stuff
we got scalars now
thank god
Ok some of messages been deleted
Got unbanned after 12 hours
I think I figured out how to get my Tetris NN to work better without having to improve the code any further
I changed my BFS heuristic Tetris AI to create datasets to train the NN on
I have dubbed them Hermes and Ezekiel
nums = [[1,2], [2,3,4], [3,4], [5,6]]
for i in range(len(nums)):
for j in range(i + 1, len(nums)):
for k in range(j + 1, len(nums)):
print(nums[j])
!e
nums = [[1,2], [2,3,4], [3,4], [5,6]]
for i in range(len(nums)):
for j in range(i + 1, len(nums)):
for k in range(j + 1, len(nums)):
print(nums[j])
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | [2, 3, 4]
002 | [2, 3, 4]
003 | [3, 4]
004 | [3, 4]
noice noice
!e ```py
nums = [[1,2], [2,3,4], [3,4], [5,6]]
for i in range(len(nums)):
print(f'{i=}')
for j in range(i + 1, len(nums)):
print(f'{j=}')
for k in range(j + 1, len(nums)):
print(f'{k=}')
print(nums[j])
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | i=0
002 | j=1
003 | k=2
004 | [2, 3, 4]
005 | k=3
006 | [2, 3, 4]
007 | j=2
008 | k=3
009 | [3, 4]
010 | j=3
... (truncated - too many lines)
Full output: https://paste.pythondiscord.com/SKRZZJHBK4GR3UZ3LPCACBRMB4
Yo

!e
nums = [[1,2], [2,3,4], [3,4], [5,6]]
for i in range(len(nums)):
print(f'{i=}')
for j in range(i + 1, len(nums)):
print(f'{j=}')
for k in range(j + 1, len(nums)):
print(f'{k=}')
print(nums[j])
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | i=0
002 | j=1
003 | k=2
004 | [2, 3, 4]
005 | k=3
006 | [2, 3, 4]
007 | j=2
008 | k=3
009 | [3, 4]
010 | j=3
... (truncated - too many lines)
Full output: https://paste.pythondiscord.com/CDSQWGCAKAN7UOYN6V2H2C347U
@tawny juniper 👋
how can i conver [2] to 2
what's the context?
do you just need the first value of the list?
!e
items = [100, 101, 102]
print(items[0])
print(items[1])
print(items[2])
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | 100
002 | 101
003 | 102
first item is at index 0
yeah but i don't know where is it
def stray(arr):
return [x for x in arr if x%2==0]
[x for x in arr if x % 2 == 0] constructs a list
you can index that expression directly, though that'd inefficient
can u show it to me
items[0] gets the fist item of a list items
[x for x in arr if x%2==0] is a list
therefore you can use [x for x in arr if x%2==0][0]
yeah but what if there is more
what does the function stray need to do?
You are given an odd-length array of integers, in which all of them are the same, except for one single number.
Complete the method which accepts such an array, and returns that single different number.
The input array will always be valid! (odd-length >= 3)
this has nothing to do with numbers being odd
im doing x%2==0 just to try somthing out
yeah im just asking how can i conver list to int [2] to 2
i know what the method need
(once again, this)
it's the length of the array that's odd
oh, wait, it's even simpler in there
[1, 1, 4, 1, 1] # answer is 4
[1, 1, 3, 1, 1] # answer is 3
this is what the problem text describes
hmm
why would it be odd then
are you given any input-answer samples?
bro im not doing that i just want to know how to convert right away
i want to convert list to int when i don't know the index
sorry
you have two items here
you're expected to count how many times they appear
two distinct items that is
in second case it's 1 and 3
1 appears 4 times
3 appears 1 times => it's the answer
are you allowed to use a dict?
if not, you'll have to track that with separate variables
leave the challenge im asking for my knowledge how can i convert a list to int when i don't know the index
Hello
hello brother
Magpie Call | Magpie Sounds | Magpie Song 🥰🎶🐦 #magpie #birdsounds #shortss
eurasian magpie call
magpie calls
common magpie call
Magpie call
bird sounds
eurasian magpie sound
Magpie sound
australian magpie singing
Magpie singing
magpie song
magpie sounds
magpies
australian birds
birds singing
eurasian magpie song
the magpie whispe...
@willow girder 👋
@stuck bluff hello friend how are you doing
@stuck bluff I dont have permission to talk because I was banned how can I get the access
As in you did something you were infracted for?
I insult someome 😂
if it's something you have to wait out, then that's what I suggest you do.
If there is no expiry, then I would suggest living your life for a while. Growth can be good.
If you wish to negotiate/argue the matter, talk to @crisp hazel.
ok thanks for suggestion
@toxic dust 👋
Not allowed to talk yet)
!voice
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
thank you, I know, I'm still under 50 messages.
When OpalMist speaks, he sounds so calm.
As if he had no stress what so ever!
Opal is chill, isn't it?
@toxic dust Hello ?
How you doing?
Let's have a talk?
❌
hi! fine, thank you, I need a bit more messages to talk)
Yeah
@toxic dust What do you do?
What kind of skills do you, if any?
Ig you are from mars?
Python backend, currently working with backend for loyalty mobile app
Paid work?
a bit of a data cleaning and swe
sure, fulltime
What kind of app is it?
loyalty app for Mcdonalds 🙂
Does it pay well?
Or it's just a side hustle?
enough to fit the bills, no, fulltime as I've said
Russia
hi guys hope you all are doing well , somone can help me i need a little project using graphical interface to my presentation for tmrw at the university ,somone can send me the code and i will try to run it and understand it ,thank you !
Why?
I mean why?
What language and what type of project is it?
using python , and u can say like a web dev
sryy
Okay check your DM
i still cant
Yo
yo
𝓗𝓲
𝓘𝓽𝓼 𝓼𝓸 𝓼𝓲𝓵𝓮𝓷𝓽-
Hey, I use the Facemoji app for 𝘾𝙪𝙨𝙩𝙤𝙢𝙞𝙯𝙚𝙙 𝙆𝙚𝙮𝙗𝙤𝙖𝙧𝙙𝙨 and 𝓯𝓸𝓷𝓽𝓼. You should try it too! 🧸ིྀ
https://facemojikeyboard.com/app/link?s=FontsShare&d=2
Hey, I use the Facemoji app for 𝘾𝙪𝙨𝙩𝙤𝙢𝙞𝙯𝙚𝙙 𝙆𝙚𝙮𝙗𝙤𝙖𝙧𝙙𝙨 and 𝓯𝓸𝓷𝓽𝓼. You should try it too! 🧸ིྀ
https://facemojikeyboard.com/app/link?s=FontsShare&d=2
Is dis safe?
who is the exe signed by?
Random GitHub person
Is there way to check
I want it but this is only one i found
so, not signed in a verifiable way, right?
do you have access to the source code?
@mild wasp 👋
@stuck bluff Hello!
I'm a new member
@meager dirge👋
@quaint cape https://bruno-simon.com check out this site
@split furnace 👋
The voice channels are designated offtopic locations. So, Python, not Python, which whatever.
Well, the Voice Chat 0 and 1.
yoo whats up guys
Hey!
chris are u strong at python?
I have an issue that Im actually stumped on
can u help?
okay okay
it has to do with subprocesses and spawning linux terminal sessions
for automating a lab setup
or tmux windows/panes if ur familiar
wait Im putting together the question so its easy to understand
haha ty ty
taskgroup = asyncio.TaskGroup
@app.route(f"/{version}/user/get_guest_token")
async def get_guest_token() -> tuple[dict, int]:
token: str = token_urlsafe(32)
active_tokens.add(token)
taskgroup.create_task(delay_execute(3, revoke_guest_token, token))
return {"Token":token}
AttributeError: module 'asyncio' has no attribute 'TaskGroup'
@umbral rose ^^
when u get the chance
curses the yellow swiggle
@umbral rose u see my question?
LOL
this is for hackthebox
I do this professionally
also is why I redacted the other stuff cmon bruh
dude
on the scale of harmful things from like 0 being harmless and 100 being malware dropper generator that bypasses AV, this is like a 5 maybe
still its on the scale 
!stream 1057521181470752768 1h
✅ @jagged depot can now stream until <t:1738041761:f>.
yay!
@umbral rose https://ollama.com/library/deepseek-r1 :D
!venv
Virtual environments are isolated Python environments, which make it easier to keep your system clean and manage dependencies. By default, when activated, only libraries and scripts installed in the virtual environment are accessible, preventing cross-project dependency conflicts, and allowing easy isolation of requirements.
To create a new virtual environment, you can use the standard library venv module: python3 -m venv .venv (replace python3 with python or py on Windows)
Then, to activate the new virtual environment:
Windows (PowerShell): .venv\Scripts\Activate.ps1
or (Command Prompt): .venv\Scripts\activate.bat
MacOS / Linux (Bash): source .venv/bin/activate
Packages can then be installed to the virtual environment using pip, as normal.
For more information, take a read of the documentation. If you run code through your editor, check its documentation on how to make it use your virtual environment. For example, see the VSCode or PyCharm docs.
Tools such as poetry and pipenv can manage the creation of virtual environments as well as project dependencies, making packaging and installing your project easier.
Note: When using PowerShell in Windows, you may need to change the execution policy first. This is only required once per user:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser

thing from the official docker website?
@stuck bluff I've just realised I never tried just picking a random point from already visited ones and going from there
like a big set
or at least I think I never did that
all I did was either stack or queue
it did sometimes poke around in the queue to check if it got too far from the rest
in which case it'd swap current and an older one and go from there
