#voice-chat-text-0
1 messages · Page 373 of 1
@mellow karma My bad
Not much, 'bout you mnky?
@rugged root was "locked" in the context of "compiled" an intentional pun?
It was indeed
not kuch, too, struglling a little to get back at python
much
Has anyone used mica for everyone here?
just put more effort into copying
copy character by character
now you're ashamed and tired
wdym?
Rat with glasses
I might join in a bit
Slowly making progress after talking about doing this for.... what, half a year?
i actually need money rn
Don't we all
@quartz beacon how much ?
"reminder: you need to do it in person and travel prices are not included"
fine by me
good numbers really
@quartz beacon How tall are you?
We've got a fair number on the server
Are mothers also considered women developers?
Just not a lot that frequent the VC
One can use DeOldify for colonization of old photos or digital image
@whole bear Yo
yo
!stream 266030641382948865
✅ @faint raven can now stream until <t:1732290592:f>.
why is there a horse named VS Code Red
https://highpointperformance.com/portfolio-items/vs-code-red/
Horses also have to have a unique name
xXHorseXx
Bobby "Horseface" Tables.
Bojack Horseman
it was something like -2 degrees Celsius a ~week ago where I am
and now the mosquitos are already back
how
temperature goes slightly above 0 and they instantly defrost
That is.... warmer than I would expect it to be there
It'd be scary if they start sucking your blood and then just freeze there
"if"
I saw this and then looked up what space traders API was, I may play around with this
Should hopefully have it done Soon™
"Wait this isn't real poo... This is a SHAMpoo!"
why not htmx httpx
need to go
I'd assume it's how it's in-browser
you see path-like, you add base
you see url-like, you use as is
can you share-copy a session but change the base?
(share the state in that)
^ this can be done with a wrapper
Oh neat
... but then there's a question whether that's ever needed
Yep
after reading through stuff, aiohttp.Session kind of is that wrapper
Oh, now I remember why I swapped
around a connector
I tell ya, if I don't get voice verification tomorrow, I'm going to have to just sit here a stew and you all will feel my simmering discontent, lol
@rugged root
judging by its use in unix, | is a horizontal pipe, it's just very short
Is that different than |?
@rugged root you're on "diet m*th" as well? lol
I had to make loads of calls to pharmacies during the shortage.
It fucking suuuuuuuuuuuuuuuuuuuucks
illustration with mario pipe
!charinfo {
\u007b : LEFT CURLY BRACKET - {
well at least :: works
Аlisa's explanation:
#voice-chat-text-0 message
fireship
watch the cobol video, it's important
Is it?
key to understanding how much bs is intentionally included in the videos
not just that one
that one just happens to be so obvious to spot
@rugged root "so, an esoteric cult?"
(macos)
JS is single-threaded
you need to engineer multiprocessing into it
e.g. workers
@rugged rootare you staff of python discord
Yep, one of the admins here
one question here should i continue using python for dsa or should i change it ?
getting paid?
DSA?
data structures and algorithms
No, it's volunteer work.
or digital signature algorithm
No we're entirely a volunteer community
I do this because I enjoy it
data structure ...
learn both in Python and in C
@rugged root there's a starman...
once you get familiar enough with higher-level uses in Python and lower-level uses in C,
move on to C++/Rust
Python lets you not think about memory management too much
and C is the opposite in that sense
Yall need to watch Arcane. I need a crying buddy.
ohh actually when i practicing dsa on leetcode some question cant be solved using specific sytax which it was tought on lectures yt and i have spend like 1 hours or so to just solve which was imposible its fustrating
can you show an example?
did not tought *
hugabuga
k wait
this server is hugabuga
Python server has become more like reddit, whole bunch of reddit idiots and loner here
Yep
I'm a loner, and an idiot, but I am not from reddit good sir.
Glove slap.
Go touch a grass
If you touch it with me.
ok found it Merge Intervals (Medium) in this question you have to use max ( syntax ) i know that this is a very basic syntax but they dont teach this on yt leactures its so fustrating
can you recomend some links for lectures for this problemb
click "stay on top"
window goes beneath everything
stays beneath everything
I didn't click stay on bottom goddamnit
bunch of incels in this server
ohhhhhhhh
Welcome to the PyDis podcast. Where everything's made up and the points don't matter
lol
bye no one is helping me 😦
!d heapq
Source code: Lib/heapq.py
This module provides an implementation of the heap queue algorithm, also known as the priority queue algorithm.
Heaps are binary trees for which every parent node has a value less than or equal to any of its children. We refer to this condition as the heap invariant.
This implementation uses arrays for which heap[k] <= heap[2*k+1] and heap[k] <= heap[2*k+2] for all k, counting elements from zero. For the sake of comparison, non-existing elements are considered to be infinite. The interesting property of a heap is that its smallest element is always the root, heap[0].
Do you have a question?
Sorry, didn't see your question. Can you put it here again?
I'm currently writing a few different solutions to find one that's easier to explain
Or, just watch Arcane and lose your will to live. Both are good choices.
Anyone from the third world in VC?
I suppose
o/ just fighting some crashes in the background dont mind meeee
Dumb question: primitive.py is the current name for my main logic file because it was just what I happened to name it when I was trying to do crude examples. But I'm not quite sure what it should be named. Like what would make the most sense given what it is: https://github.com/MrHemlock/aioSpaceTraders/tree/main/src/new_traders
also, in terms of work culture, it also shows whether you're willing to revisit the problem and improve upon the code or whether you just make it pass the tests
primitives (almost always plural) is what you build other things out of
"is the current name for my main logic file..."
errmmm... logic.py?
so, yeah, probably needs to be changed, unless you explain it away with docs
it's a context quite sure
Yeah I know primitive is the wrong name for sure
I need to change it, no question
logic.py feels weird too for some reason
context.py since its main export is a context manager
I guess api.py Or wrapper.py
the first one
It can be a context manager but it's not its main focus
And I'm tempted to remove that, since it'd kill the session object rendering the object itself useless
# Keyword `class` followed by class name, starting with a capital letter
class Human:
# This is your constructor method
# It is how you make an object. You pass in a set of parameters to make an object, and it sets up the properties of the object.
def __init__(self, name) -> None:
# The attribute `name` is set to the value of the parameter `name` that was passed in.
self.name = name # atttributes of the object.
self.num_legs = 2
# This is a method
# It uses your object, and then does sth. Here, we say the guy is walking. I'm walking here!
def walk(self):
print(f"{self.name} is walking.")
# Not all functions within a class are methods.
# Methods start with the `self` keyword, like you see in `walk` and `__init__`
# These "methods" do not need an object, hence they are static methods.
@staticmethod
def talk():
print("I am talking.")
HA
just implement the Talkable protocol :v
Yeah that'd be pretty protocool if you did
You can consider classes like paper forms
Instances filled out paper forms
attributes the individual entries on each form
can you instance me your social security number
(asking for a friend)
((i am the friend))
Blueprints is another way of thinking of them
^
You use those to create something. Car class? Makes a car object
I deserve that 
yes, yes you do
that'd be ``talk <someone/something>''
I can't remember any situation with this grammar except for special cases like ``talk shit''
so we have 2 instances so far
can we go for 3
third
yo! Is anyone able to help me with driver shit on debian?
Maybe?
my terminal isn't very happy 😦
danke!
I leave that to Luna then
one secconnnnddd
no no, get your happy ass back over here
you're my +1
so I have a new intel arc a750 🙂
hoooboy
I also have a debian machine I have plugged it into!
were the VC limits removed or am I just not seeing them?
Oh it's a Debian one, that's going to complicate things even more
it never existed for this channel
the debian machine recognises there is definitely a gpu in the gpu area
Yes it did
mmmm
25 was the cap I set
wasn't that for vc1
And it's still the limit
so now I need to find a way for it to use said gpu
That's weird that it's not showing
yeah, my bad, there wasn't any
*now we can gaslight Hemlock together*
VC0 and 1 are 25, Code/Help is 5, Live-Coding 25
so I tried some stuff and... broke some stuff!
did you follow the mandatory obscure reddit thread?
couldn't really figure out what they were getting at sadly 😦
mmmm
👋 , I have 16 GB ram on my laptop and windows uses around 8 GB. Is there any distro that can be used instead of windows?
okay, well, what did you do?
My new glasses just got here. Fuck yes
Heading to the optometrist's here soon to get them.
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
libegl1 : Depends: libglvnd0 (= 1.7.0-2101~22.04) but 1.6.0-1 is to be installed
Breaks: libegl1:i386 (!= 1.7.0-2101~22.04) but 1.6.0-1 is to be installed
libegl1:i386 : Depends: libglvnd0:i386 (= 1.6.0-1) but 1.7.0-2101~22.04 is to be installed
Breaks: libegl1 (!= 1.6.0-1) but 1.7.0-2101~22.04 is to be installed
libgl-dev : Depends: libgl1 (= 1.7.0-2101~22.04) but 1.6.0-1 is to be installed
libgl1 : Depends: libglx0 (= 1.6.0-1) but 1.7.0-2101~22.04 is to be installed
Breaks: libgl1:i386 (!= 1.6.0-1) but 1.7.0-2101~22.04 is to be installed
libgl1:i386 : Depends: libglx0:i386 (= 1.7.0-2101~22.04) but 1.6.0-1 is to be installed
Breaks: libgl1 (!= 1.7.0-2101~22.04) but 1.6.0-1 is to be installed
libgles1 : Depends: libglvnd0 (= 1.7.0-2101~22.04) but 1.6.0-1 is to be
libgles2 : Depends: libglvnd0 (= 1.7.0-2101~22.04) but 1.6.0-1 is to be installed
libglvnd-dev : Depends: libglvnd0 (= 1.7.0-2101~22.04) but 1.6.0-1 is to be installed
libglvnd0 : Breaks: libglvnd0:i386 (!= 1.6.0-1) but 1.7.0-2101~22.04 is to be installed
libglvnd0:i386 : Breaks: libglvnd0 (!= 1.7.0-2101~22.04) but 1.6.0-1 is to be installed
libglx0 : Depends: libglvnd0 (= 1.7.0-2101~22.04) but 1.6.0-1 is to be installed
Breaks: libglx0:i386 (!= 1.7.0-2101~22.04) but 1.6.0-1 is to be installed
libglx0:i386 : Depends: libglvnd0:i386 (= 1.6.0-1) but 1.7.0-2101~22.04 is to be installed
Breaks: libglx0 (!= 1.6.0-1) but 1.7.0-2101~22.04 is to be installed
libopengl0 : Depends: libglvnd0 (= 1.7.0-2101~22.04) but 1.6.0-1 is to be installed
python3-pip : Depends: python3-distutils but it is not going to be installed
Depends: python3-setuptools but it is not going to be installed
Depends: python3-wheel but it is not going to be installed
Recommends: build-essential but it is not going to be installed
Recommends: python3-dev (>= 3.2) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
I mean I typically fob people off onto ubuntu
it's the most popular and easiest for those new to everything
yay!!!
Linux should run perfectly on anything with 4gb of ram
Lighter distros go smaller but I think that's "plenty" for ubuntu and other full-featured ones
oh lord what did you do
damn dawg
well, I first tried the arch wiki way.... which I gave up on... then I tried https://chsasank.com/intel-arc-gpu-driver-oneapi-installation.html, also to no success
Try 'apt --fix-broken install' with no packages (or specify a solution). Did you do that?
oops
Thanks
several times ;-;
This looks like a script problem
yeah yeah I get it dw XD
big brain plan:
install 20.04 (because its installer has ZFS support),
upgrade to 22.04,
upgrade to 24.04
Some script installed specific package versions designed for a prior system state, and since it forced it, it skewed versions out of compatibility
Sanders
it's finger lickin' FUCKED
ZFS should be there for 24.04 again in the installer
cant see the exact version but 12 latest
Was it skipped in 22.04?
dafuq?
IDK I don't understand canonical they make Decisions™️ I just report them
6.1.0-27-amd64 (64-bit)
I might've not noticed it there
from what I understand, that kernel version is too old and has no support for the arc gpu at all
Sounds right
I probably shouldn't try it in a VM right now given my current RAM usage
welp, that would do it
Thats impressive you sleuthed that, that quickly
6.3+ should do you good
How many gigs do you have?
it's a screenshot of commit memory (including cache and swap) not physical (excluding cache)
because the number is higher, therefore funnier
gooble skillz 
!resources ignore me
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
did
apt-cache search linux-image
but they all seemed like 6.1
What was taht list of common programming problems
it was like
a thousand of them
euclid or something?
!e
print(39+14+24)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
77
imagine:
Human(name="Tom") --> __repr__
"This human is named Tom!" --> __str__
@faint raven @neon shore
I have no clue what the numbers number
~14gb swap
~25gb cache
is it possible the old man distro (debian) doesn't support 6.3
not really
110gb cached was fun while it lasted (on another computer)
!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.
@faint raven https://paste.pythondiscord.com/RWYQ.
@upper basin thank you! ❤️ 
My pleasure!
beep boop kernel not very nice
really should've went with PoE instead of usb c
T-T
eeeeehhhh
i don't
know about that one
so uhhhhhh, please can I have some more help?
#unix should be able to help
gotcha
what's up this time
no no, come back
oh hello
I have been following this guide for updating the kernel but nothing changed
and SFP for transferring data out of the phone
at which point it's just a network card with a screen
I didn't see any big issues when following the guide so I'm not sure what went wrong
currently having a look through it
I mean not much happens here
@mystic river
sorry gotta go
I do really like how many of the various unix commands got equivalent aliases in PowerShell
thanks for the help!
with much more garbage in the output
@south loom
43521
have a good night 😄
it's not just day in the middle of a date, it's year in the middle of datetime
Thank ye!
In 14 hrs, act 3 will drop. Yall better be ready for Dace tomorrow.
Dace: Dace is an urban slang for Depressed Ace, a state which Ace is deeply broken or depressed.
Soggy bread.
With tears and sweat (my emotional side of the brain will be overclocked).
Heh, just imagined shitting myself out of grief HEHERH
"All the blood, sweat, tear, and excrement -"
"I'm sorry, what was that last part?"
"Fuck it, he doesn't need lungs, I just have to change the heart
God, the doctor usually does more harm than good.
"Whoop, his lung fell out of the ambulance."
"Wonder if I can scoop his eye out with a scalpel."
isn't media creation tool dead
oh
I just got trolled by microsoft site last time
it's still downloadable
Yeah it's still the recommended way of making an install or repair media
reality got rebased and media creation tool sunset got removed from history
"the life is git and I'm a HEAD in a detached state"
that's DOM
and photoshop uses it too
always good to have some money set aside for suprise sales
ohhh car tuning - your own interface ? @mystic river
does it plug into ODB port thingy ?
heard of the , Car Hackers Handbook @mystic river
shows CANBUS stuff
did you see the , right to repair stuff in relation to farmers fixing their own tractors @mystic river
importantly has versions
Getting my new glasses and then airing up my tires. Back soon
This sounds like a job for , SUPERMAN !!! , reverse engineer the OS for tractors and cars @mystic river
stay safe 🙏
reverse engineer without seeing the OS , what computer sys did that ?
Maybe if they made good cars and not junk
big page
https://devdocs.io/zig/
(lag warning)
wine?
wine don't allow windows devs to work on it
They are creating a enviroment , where people will NOT buy American products anymore @mystic river
people just buy Kamatsu tractors
@mystic river
These are going to take some getting used to
you can be in movies easy
Hardly
a what
last vid I saw for RTR , a senator also a farmer did the vid @mystic river
mmm heard Ukrain hackers have tools to get into tractor systems
@mystic river
terminator seeds @south loom
same shit different pile @mystic river
there is a additive for diesel that is carcinogenic , and the devices for city transit buses can be turned off/on , its off all the time so drivers get dosed with it , its only turned on when inspectors come @mystic river
ethically constrained ? @mystic river
meant to say "unhonest"
arent a lot of businesses leaving California ? so much beurocracy , ( ya gotta liscence for that ?? ) @mystic river
yeah they are
isnt Elon , packing up leaving @mystic river
your adapting to the matrix , you will be one of us soon @rugged root
Yeah doesn't help that my prescription changed so much
And on my old glasses the pupilary distance was just straight up wrong
So now it's just letting my brain reprogram itself to get used to the new sight
you spin me like a record baby round round - wheee @rugged root
Yeah that's how it feels
it looks weird , because it is weird
For sure
querySelector is universal
# is id
. is class
no prefix -- tag name (normally)
try and run maybe
usually getElementsByTagName can be replaced with querySelectorAll
querySelector[All] uses more or less the same syntax as CSS selectors
const [output0] = document.querySelectorAll("#id0");
const output1 = document.querySelector("#id1");
(querySelectorAll with an id generally doesn't make sense, since the page isn't supposed to have more than one element with the same id)
Hemlock decided to use `bop' as shortening
(even though it's technically `vor')
Voronezhian
I've lived in Russia for almost my entire life
I'm in a privileged region, so I face less of some issues
although it's considered to be less safe here
(because of surveillance that's sometimes more advanced than that of China)
querySelector is useful for complex queries like #someId .container .something.nested
things returned from getElements* functions work mostly like arrays
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.
(I'm assuming the code in question is beyond just a few lines, so use this pastebin)
have you ran it through a debugger/tracer?
I think PyCharm has thread-tracing for Python so you can see whether something crashes
(idk if you have that installed)
mhh il check
I use VS
i do have pycharm installed
what is _update_output_thread for?
seems to just insert empty space over and over
it makes the thread of the output system
so it doesnt clog up the server
it manages _update_output
it's _read_output that seems to be doing actual work with _update_output
do you know about GIL?
no
Python's interpreter doesn't yet have true multithreading by default
ohhhhh
it's running at most one piece of Python code at a time
so _update_output_thread being effectively a busy-loop could be causing issues
so instead of
self.update_thread.start()
threading.Thread(target=self._read_output, daemon=True).start()```
id do
```self.update_thread = threading.Thread(target=self._read_output, daemon=True)
self.update_thread.start()```
I do not need _update_output_thread
_read_output does the same as _update_output_thread but better
YES IT GOT FURTHER THAN THE FIRST!
i think the issue now is the serber file, which is easy to fix
after looking up, turns out the name I chose is based on a very misremembered phrase
Oh wait, its still not working to well... mh
When i clicked stop after it stoped responding it gave this error
i think this is going some where
alright
i fixed it
Tysm! :)
Can Python be compiled?
Yes with a module named pyinstaller
And distributed like an executable?
but it can be a bit wonkey sometimes
yes
thats what pyinstallers for
search a video on it
can be a bit trickey
Alright, thanks
python is always compiled to bytecode
it's just not redistributable
Why is it compiled that way?
it's faster and easier to interpret byte code than text directly
Text as in... source?
yes
Gotcha
if you ever see a __pycache__ directory, you can look inside and see compiled files
Alright
those are often specific to the current machine and cannot be executed somewhere else
I see
so it's just an optimisation as to not recompile each time
What's specific ?
some parts may depend on the current platform, although that's mostly going to be related to conditionally imported modules
as for distributable executables, there exists pyinstaller, yes
it's not very great but works well enough most of the time
requires quite a bit of configuration to get working on larger projects
and what it's effectively doing is just packaging bytecode of all imports used in a program alongside a python interpreter
!voice
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
You are not currently eligible to use voice inside Python Discord for the following reasons:
You have sent less than 50 messages.
Are the new MacBook Pros with M4 CPUs worth the money?
Black Friday is coming
lmaooo, dont spam u might get muted or something
It's a serious question
Nah
For coding i dont think
Why not? Coding doesn't use CPU?
They have the new monitors with "nano" ?!?! tech?
Like iPod nano.
It does itnuses cpu
Mhh i guess
But id prefer imtel or amd
Mac is a bit to advance 💀
Plus some modules may break with macs different things
Like os import isnt all that well with mac
Im yapping to much
Ima go, bye bye
to advance?
Ok, so is Windows or macOS better for Python development. Still thinking about M4
From $1599 or $133.25/mo. for 12 mo.*
I can buy it month by month..
Id prefer windows but if you cant find any good windows laptops with in your price range preferably amd chips, then go for mac, mac chips are still realy good
A hobbist programmer
As in security and all that
why I can´t talk?
Long battery life?
Linux+docker if you want the least troublesome Python development
Right
macbook is trash i switched from windows to macbook adn it was a mistake
Windows gets more viruses?
Mhhh, well you can also work on a mac, so maybe go for mac, but if you want to be more professional, i would personally recommend windows
MacOS has weird Docker support
probably best described as "existent"
YES
So true
Is it though?
hahahhaa
Take a while yes
"windows has viruses, linux has security vulnerabilities"
But the security lack makes it better for programming
M44
Up to 24 hours video streaming
Up to 16 hours wireless web
72.4-watt-hour lithium-polymer battery
70W USB-C Power Adapter
USB-C to MagSafe 3 Cable
Fast-charge capable with 96W USB-C Power Adapter
M4 Pro5
Up to 22 hours video streaming
Up to 14 hours wireless web
72.4-watt-hour lithium-polymer battery
70W USB-C Power Adapter (included with M4 Pro with 12-core CPU)
96W USB-C Power Adapter (included with M4 Pro with 14-core CPU, configurable with M4 Pro with 12-core CPU)
USB-C to MagSafe 3 Cable
Fast-charge capable with 96W USB-C Power Adapter
M4 Max5
Up to 18 hours video streaming
Up to 13 hours wireless web
72.4-watt-hour lithium-polymer battery
96W USB-C Power Adapter
USB-C to MagSafe 3 Cable
Fast-charge capable with 96W USB-C Power Adapter
Seems like the M4 has more battery!
Id love go continue this conversation with you guys but i have to go, cuz jts 23:34 for me, so cya
GHz
But let's say it.. 24 hours sounds AMAZING, no?
24 hours!
How much is your Win laptop?
I asted it. Video streaming
I have pc
under high load it's still not bad
I'd expect 8~12h
Does the M4 get more or less battery than M3?
M4 is arm64 not x86_64
that's why some issues
I am not voice verified
also its apple's weird arm64
how many hours of battery life
hopefully enough to wait for their store page to load for at least one time
looking at MacBooks...
48GB RAM 40-core sounds tempting
there's another take on what a "Chess app" can be: Take Take Take
spectating chess as a sport instead of playing it
@mystic river
uhh

i had a gummi duck in my shower
police raided me
and cut of the ducks head
wierd as it sounds its true
!voice
Elo is approximately exponential logarithmic scale
times <something> in strength translates to plus <something> in rating
@wraith pelican if it was actually open-source, was it Godot?
(I was away, couldn't reply ealier)
UE isn't open-source, but they give access to source code to licensees
@cosmic chasm You are not better yourself
yes i am
also there is no one execpt darwin thats on the toilet
I totally missed the context of the last few minutes
was looking at unity's reference thingy
i just talked about him being hewre when he could join one of his best freinds (darwin
thats not on the mic
and is not talking
well, ur not on the mic right now either
you to ig
nothing
why not
idk i want to make that mod thing
@mystic river ? want to talk
@cosmic chasm start slow and slowy progress
@outer gust 👋
hi
!voice
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
ok, i see now one moment
been in here for longer than 3 days
wth
i cant verifi
and @somber heath u know i been in here longer than 3 days now
lol
how can i speak to admin or someone
ive done all that
messge count and stuf
only thing it says 3 days
but i been in here for longer than 3 day
Voice Gate failed
You are not currently eligible to use voice inside Python Discord for the following reasons:
You have been on the server for less than 3 days.
i jsut said bruh
u know i been in here for longer than 3 days
ahha
thats so dumb and ik i been in here 4 days now
I cant speak hear now , I recently enter here
u know this ur self too bro i been in vc every day this week ahah
other than monday
🥲
look at chats i been here since 19 th
loook in chats
i left on the 20 th and rejoined
thats dumb ahah
yall needa fix that bruh or make it 2 days people prob left this server cause of that
thats why i did XD
here i got yall
public class Ackermann {
public static int ackermann(int m, int n) {
if (m == 0) {
return n + 1;
} else if (m > 0 && n == 0) {
return ackermann(m - 1, 1);
} else if (m > 0 && n > 0) {
return ackermann(m - 1, ackermann(m, n - 1));
}
return -1;
}
public static void main(String[] args) {
System.out.println(ackermann(2, 3)); // output 9
System.out.println(ackermann(3, 2)); // output 29
}
}
public class ArrayRange {
public static int findRange(int[] array) {
return findMax(array, 0, array.length - 1) - findMin(array, 0, array.length - 1);
}
private static int findMax(int[] array, int start, int end) {
if (start == end) {
return array[start];
}
int mid = (start + end) / 2;
int max1 = findMax(array, start, mid);
int max2 = findMax(array, mid + 1, end);
return Math.max(max1, max2);
}
private static int findMin(int[] array, int start, int end) {
if (start == end) {
return array[start];
}
int mid = (start + end) / 2;
int min1 = findMin(array, start, mid);
int min2 = findMin(array, mid + 1, end);
return Math.min(min1, min2);
}
public static void main(String[] args) {
int[] array = {3, 1, 4, 1, 5, 9, 2, 6, 5};
System.out.println(findRange(array)); // Output: 8 (9 - 1)
}
}
public class SubstringSearch {
public static boolean isSubstring(String str, String sub) {
return isSubstringHelper(str, sub, 0);
}
private static boolean isSubstringHelper(String str, String sub, int index) {
if (sub.length() == 0) {
return true;
}
if (str.length() - index < sub.length()) {
return false;
}
if (str.charAt(index) == sub.charAt(0)) {
if (isSubstringHelper(str.substring(index + 1), sub.substring(1), 0)) {
return true;
}
}
return isSubstringHelper(str, sub, index + 1);
}
public static void main(String[] args) {
System.out.println(isSubstring("water", "ate")); // Output: true
System.out.println(isSubstring("water", "war")); // Output: false
}
}
@wintry socket
no worries
I come from Spain and I have a bit of trouble understanding you. I know some English but I have trouble listening. I could ask you about a code that I don't know how to do. It's for a first year physics assignment at university xd
hello
hows it going?
I'm just reading
I'm learning Japanese as well so I've been reading a few books in Japanese
I use to code when I was younger, but i haven't in like 5-6yrs
i didn't realy work with java
when i did code I used C#. Javascript, HTML, CSS, SQL and some python. I forgot a lot of it since i dont use it much if at all anymore
i dont have perms to unmute at the moment
doing good
i'm just reading a book in full japanese
i've been learning it for amost 1.5yrs
I'm taking the JLPT N3 exam this december on the 1st
thanks
i have to travel 2hrs for it
eventually move to japan once I pass N2, n3 is just to guage where I'm at and what to work on most, and what to work towards going into the N2 stuff
not necessarily, they just show me my score and thats what i'm gonna do with the information
yeah exactly
i'm visiting in September 2025. i leave aug 30th, get there aug 31st, and come home september 15th
i'm seeing Hiroshima, Kyoto, Osaka, Tokyo, and Takayama
Then I'm going back in spring 2026 to see Fukuoka, Kanazawa, Nagasaki, Nagoya, and Tokyo
First trip I'm going with 2 childhood friends and 2nd trip i'm going with a work friend
I've wanted to go since i was a kid and thats what inspired the first trip. The second trip was me being invited by my work friend to go
they let me pick where we go my 2nd time(which is their first time) as long as we visit our mutual friend who lives in Tokyo and Akihabara, and see cherry blossoms. So I prioritized places i'm not seeing my first trip
i'm from the USA and my local city in the USA is sister cities with Kanazawa japan
enjoy that
yeah I started reading this Japanese book called "Kafka on the Shore"
its good so far
whats everyone been upto today?
i only need to send a few more messages and then I can speak. yeah
i haven't done programming in a number of years, but i used to
i switched careers mid college
I found this server after my one friend used the emotes in another server and they seemed cool. all the lemons

My freshman year I learned SQL, Python, and some binary
then my second year i learned some Javascript, HTML, and CSS
I haven't coded since like summer 2019
i later switched to business
oh nice
one of my japanese learniong friends interviewed last month for the IT department in the Japanese lang branch of Amazon
they had to answer the Technical questions and the non technical questions all in Japanese
hello
hello
i want apply my new found skill of python what are some good projects that i cacn do
hows it going
good
My friend is decent at Japanese
thats good
!projects
The Kindling projects page on Ned Batchelder's website contains a list of projects and ideas programmers can tackle to build their skills and knowledge.
oh
@turbid parcel check out that link
I also just went to NYC earlier this week on a trip with a friend for 3 days
i went to Tons of places. we went to time sqaure did a lot of Shopping. i got 1 shirt, a figure, and 8 books from the shopping. Then Monday we saw babymetal where I got my 2nd shirt
the books are in full Japanese of course
Babymetal is a Japanese metal band
Its 3 girls who sing in J-pop and J-Rock styles while dancing. They have metal musicians do the instruments behind them
!stream 317279909112446976
✅ @somber heath can now stream until <t:1732324502:f>.
do any know how i can use my flash drive to boot up arch linux
As a liveboot, booting from the flash drive, or installing arch to the flash drive and booting from it?
@hybrid zenith Please don't troll VC with random sounds.
booting from the flash drive
Via liveboot or through having installed to it?
or should i duel boot
I had a geniune question but seemed like you guys were just goofin around so I left
A liveboot typically involves copying the iso in a kind of direct way to the drive or using unetbootin to use an existing filesystem to boot from.
An install is, you create a linux filesystem to the drive, install it as you would to a hard drive and boot from that.
There are polite ways you can interject into a conversation.
What is the question?
@turbid parcel "Booting from a flash drive" isn't specific enough.
So, liveboot from a flash drive, or install to a flash drive?
@shell stratus 👋
hello
hello how are you
nice to meet you
all
Trying to learn this Python stuff and I'm ripping my hair out
I'd love to be able to talk to you invoice because I'd make my life a lot easier and I could show you but basically I have been working on pipe for now for the past three months and I'm trying to develop a piece of software that allows the software to read resources files toward identify bad or malicious code I have worked on the project for quite a while now I've completed a beta version that works perfectly but I was trying to update the gooey because it looked like Windows 95 and ever since I've tried I've just continuously hitting brick walls and it's not working
old and new
I am still very new to Python I did try to remake the gooey but I'm at a point now where I don't know where I've tried to add more files and replace files I've made the code look worse or not work properly
So I'm trying to get verified but it says I haven't typed more than 50 messages is there a way I can see how many messages I have typed so I know how far I am away
can i send you wer i fink i am stuk ?
You can search yourself or you can go into #bot-commands and type !user.
!code
lua.org 5.1 implementation trivia: what is the output of this code?
local u = {}
u[32] = 1
for i = 1, 32 do table.insert(u, 1) end -- for i in range(1, 33)
print(#u)
(# is the length operator)
32 should be the result
69 lol
47
{
[1] = 1, [2] = 1, ..., [32] = 1, [33] = 1, ..., [47] = 1
}
/*
** Try to find a boundary in table `t'. A `boundary' is an integer index
** such that t[i] is non-nil and t[i+1] is nil (and 0 if t[1] is nil).
*/
u[#u + 1] = 1
got form chat google if at help
Key Details:
u[32] = 1
This assigns the value 1 to the table with key 32. However, it does not count toward the "length" of the array because # only considers contiguous integer keys starting from 1.
table.insert(u, 1)
The table.insert function appends elements to the end of the array portion of the table. The array part grows sequentially, starting at 1, even though u[32] is already set.
After 32 iterations of the for loop, the array part now contains indices 1 to 32 (added by table.insert), and the explicit key 32 from u[32] = 1 remains as well.
State of u After the Loop:
Keys 1 to 32: These are created by table.insert.
Key 33 to 47: These are appended due to table.insert continuing to grow the array part of the table past the explicitly set u[32].
Key 32 (explicit assignment): This exists independently of the array-like part.
#u Behavior:
The # operator checks the length of the contiguous sequence of integer keys starting from 1.
It includes the keys added by table.insert, which extends the sequence to 47 (the original 32 from the loop, plus 15 additional insertions after u[32] = 1).
/*
** Try to find a boundary in table `t'. A `boundary' is an integer index
** such that t[i] is non-nil and t[i+1] is nil (and 0 if t[1] is nil).
*/
int luaH_getn (Table *t) {
unsigned int j = t->sizearray;
if (j > 0 && ttisnil(&t->array[j - 1])) {
/* there is a boundary in the array part: (binary) search for it */
unsigned int i = 0;
while (j - i > 1) {
unsigned int m = (i+j)/2;
if (ttisnil(&t->array[m - 1])) j = m;
else i = m;
}
return i;
}
/* else must find a boundary in hash part */
else if (t->node == dummynode) /* hash part is empty? */
return j; /* that is easy... */
else return unbound_search(t, j);
}
[1, 4, 4, 4, 3, nil, nil, nil] on the C side
{1, 4, 4, 4, 3}
When you guys are done, if you guys can/want, I'm starting to learn numpy, pandas, matplotlib/seaborn and kinda have general questions about syntax, package stuff, and IDEs
at seem fun
!stream 928000975933952031
✅ @shell stratus can now stream until <t:1732327978:f>.
Beekeeping honey bees at Barnyard bees is very enjoyable. We love teaching beekeeping.
http://www.barnyardbees.com
Please help our channel grow by subscribing to our beekeeping channel
And please click on thumbs up.
Visit Barnyard Bees store 215B Market Street Chatsworth Ga. We have everything pertaining to beekeeping .We will have 5 frame Nu...
hi guys
what yall watching here'
!e py chance = 100 for _ in range(11): chance /= 2 print(chance)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
0.048828125
hello bro

bro My voice permission is off , That's the reason i don't talk. can you help me ?
you just need to get into the voice permission channel and see if you have completed all 3 goals and then after you just click the button in there and then its off
Voice Gate failed
You are not currently eligible to use voice inside Python Discord for the following reasons:
You have been on the server for less than 3 days.
You have sent less than 50 messages.
/////
Bro this the error 😦
oooo . yea . Thanks 🙂
You have been on the server for less than 3 days.
I'm tried to cover 50 messages 😁
:incoming_envelope: :ok_hand: applied timeout to @indigo raven until <t:1732367469:f> (10 minutes) (reason: duplicates spam - sent 4 duplicate messages).
The <@&831776746206265384> have been alerted for review.

This is so fu** 😂😂
We told you so lmao
yea 😆
This is not google https://www.perplexity.ai
It is a search engine
no idea
claud

yep, thats me
hello 🙂

you need more bites to rap rap :: 😉
i can rap
i am the real duckys
(yeah the real duckys)
will the real duckys Please Stand UP!
"me standing up"
I repeat... will the real duckys please stand UP!
👍😂
Your Land and Sea Randimal Sprinter — Huck! Unleash boundless creativity and embark on an enchanting journey with our hybrid animals cute stuff for girls and stuff for boys, from big stuffed animal plush toys to tiny figurines. These blended zoo animals and farm animals hybrids will unleash the b...
yes 😉
how can i use async event listeners in flask_socketio
as in async def?
@wind pewter
yes
Flask is inherently non-async
so there's no way?
you can asyncio.run whatever you're trying to call
also you can switch to an ASGI framework like Quart
instead of flask, can i use fastapi as well?
yes, that's another option
since it's ASGI
python-socketio (not flask_socketio) has async support
https://python-socketio.readthedocs.io/en/latest/server.html#asyncio-modes
I found a problem in my code . Can you guys solve this problem ?
() => {setCount: (count + 1);}
this is equivalent to () => {count + 1;}
it should not have : in there
Bro it not working:(
Bro look at this youtuber code
Bro i use same | But this is not work for me 😦
OOOOOO no problem . Now this is working 🙂 . Thanks a lot . 🙂
Hello !
Bro's :: (^///^)
Not complex : Easy :: 🙂
Now i'm enjoying this song .
https://www.youtube.com/watch?v=eMKlS2QtNQo&list=RD1PEzmfmRelA&index=13
Halsey - "WITHOUT ME" - (DRILL REMIX) - Prod. 2xZ
.
Prod. by 2xZ
.
Master: @giuliothesecond https://instagram.com/giuliothesecond?utm_medium=cop...
https://www.youtube.com/watch?v=blcSLo3yecs
////////
I ❤️This one also 🙂
I got black, I got white, what you want?
Hop outside a ghost and hop up in a Phantom
I know I'm boutta blow-oh-woah-oh, I ain’t dumb
They try to take my flow, I take they ass for ransom
I know that I'm gone
They see me blowing up, now they say they want a song
I got two twin Glocks, turn you to a dancer
I see two twin opps, leave 'em on the bann...
Good night < coding !
Bro i hate monitor me go fullscreen monitor say its only 60 hz monitor and when i go out fullscreen the monitor is 144 again
It has options menu
The monitor says it
2 bugs in a rug , snug
kittys just happy to be there
@vocal basin Why fast api instead of all this.
, .
Looks like it expires in ~4 days
did you need to ping all these people?
I know I'm extremely handsome, but I'm not a moderator, just so you know. 😁
!voice
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
writing some Go again
and other Forgejo Actions related stuff
https://code.forgejo.org/forgejo/runner/issues/353
I've only now noticed that containerd has nerd in its name
everything docker is mostly go
Forgejo is Go too
with HTMX for front-end
seemingly there's actually very little use of it
I'm trying to figure out where HTMX is used on the page, and it's not that many places
the unformatted go template output is quite horrifying
💥
(token on screenshot has been invalidated, so do not worry about that)
template output isn't passed through any formatting
because why would it
(it's generated per request)
or remove all indentation
the more I use Gitea/Forgejo, the more I appreciate the header part of the UI
an actual useful header for once
why doesn't GitHub have a milestones page
gitlab for comparison
!code
!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.
!stream 912396984231546910
✅ @wicked fox can now stream until <t:1732422700:f>.
!voice
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
Me need
50 messages
And I don’t have
Oh okay 👍
But can I text here and you will like respond but it will count to 50 messages ?
i don't know dude
I’m sitting straight 10 hours learning c++
that's cool. you can upload it to github gists. might be a nice way to see your progress
@somber heath hows it goin mate
fellow aussie
When it comes to exercises I making them by chat gee pee tee but they are to easy and when I ask for little bit challenging it makes me exercises that’s include something I haven’t learned something that’s annoys me
Same with websites with exercises includes something I didn’t learned something
And the videos doesn’t include exercises that would be great if they did
How can I check how many messages I sent?
#bot-commands
#bot-commands
!user
Thanks I appreciate
nope.
do they ever
yet they always do
Hello! Where are you guy's are going ??
@woven pumice 👋
hyy
i dont have permission to chat or turn mic on
i need help can you ?
@somber heath
!voice
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
with pymem
yes but its take too much time to execute
i want to reduce it
approx 74 sec
the same thing can be done in 3 sec in c#
i m searching a mem reg and replaceing it
def pattern_scan_all_(handle, pattern, *, return_multiple=False):
next_region = 0
found = []
while next_region < 0x7FFFFFFF0000:
next_region, page_found = pymem.pattern.scan_pattern_page(
handle,
next_region,
pattern,
return_multiple=return_multiple
)
if not return_multiple and page_found:
return page_found
if page_found:
found += page_found
if not return_multiple:
return None
return found
!code
i was lost sorry
!code
def ChangeMemory(search, replace):
try:
pm = "HD-Player.exe"
scan_and_replace(pm, search, replace)
return True , None
except Exception as e:
print(e)
return False , e
` not '
@terse rose
~

