#voice-chat-text-0
1 messages ยท Page 344 of 1
!e
print("hi")
:white_check_mark: Your 3.12 eval job has completed with return code 0.
hi
```py
!code
py
```py
code here
```
print("You are nice @MTR")
Thanks
!e
print("I !don't regret my life choises")
:white_check_mark: Your 3.12 eval job has completed with return code 0.
I !don't regret my life choises
lol
@wind raptor this commit tree is getting a bit scary
(still that subtrees+tag thing)
!stream 1028671867785068574
โ @whole bear can now stream until <t:1724000937:f>.
I want to learn docker. Does anyone know any good resources?
most stuff I know about Docker is from their own docs/tutorials
(in terms of usage, not inner workings)
Also, you will be googling, if you find Python docker articles that use Alpine, those articles are bad
Okay, thanks.
Okay!
@upper basin Echo from you
Is Laguna lagging or is it me?
you ig
Because he talk and then you mic take that voice and say lets say it again๐
You do see I'm muted right?
Yep It was echoing when your mic was open
He is not lagging
For me he is every now and then.
anyone trynna vc in dms
must be good with python
he is not lagging I think your ping is high
Nah, it's not ping.
Then idk
because he is not lagging for me
@frozen owl Is laguna voice lagging for u?
!stream 1028671867785068574
โ @whole bear can now stream until <t:1724002291:f>.
wat is this guys ?
The stream?
i mean why you talk about ? i didnt get ur main consern
Dev, any idea why a CPU would be running below base speed under stress when plugged?
This can't be normal. Can it? 2009?
Uhh, Yeah, not sure how the driver is older than the CPU haha
Guess they have been using the same driver for a long time and just renaming it??
The issue is new Dev.
Usually I run from 2.7 to 3.0 Ghz.
My base speed is 2.3, and I am running 1.4Ghz now.
It's so slow discord and basically everything is lagging (even as I am typing this).
Oh wow. Did you just update this?
No, I haven't touched anything.
ยฏ_(ใ)_/ยฏ
So, I went to get the laptop cleaned. The integrated GPU was showing up as Iris Xe which felt weird to me since I could recall it being shown as Intel UHD. To prove a point, the guy uninstalled iris xe, and reinstalled it.
Could the issue be that when he uninstalled and reinstalled somehow the CPU driver got messed up?
It's possible
Hii. Can anyone join or nah?
Everyone is welcome ๐
https://www.python.org/downloads/operating-systems/ @upper basin
are you here ?
Hello
Zeki this code seems interesting what inspired you to build it?
Are you working on something?
yea its apart of a bigger project if youd like the link
I learned print(โโ) a month ago I donโt think Iโll understand much of your code
๐
I thought you were here to โchatโ
every youtube video in 2015:
Welcome back to a brand new video!
I hope you are having a wonderful day
to day we are going to be playing the new game called minecraft
lol
Help!
https://github.com/hooradv/visual-calendar
This is my visual calendar I want my code to extract the time entry as number1 & number2 then calculate the hours in the day and divide that days assigned column (in calendar view) into that many boxes that would can be individually accessed later as hour one two three etc.
I canโt do neither of the thing I said I wanted to do
Where can I ask questions like these
What are you trying to do, what do you need help with?
filezilla or smartFTP?
?
dob: 6/9/420
How do I make a programming cult/religion?
Why no git install?
neinnn
Something something TempleIS.
Welcome to the Temple, desu!
All your code is now owned by TempleISCommittee!
You are lvl 1.
Earn money to level up!
so much documentation...
que bonito
bye <3
Cause you look bonita
bye :3
me siento bonita
no tan bonita como yo
Confรญo en ti toda mi vida
Call secuwuty
la verdad
U-U
el compilador es mi amigo
Go filtered me with types U-U
[1:3]
que????
filtered by arrays U-U
UwU
filtered by lists U-U
senior state of mind
@undone frost
dementia code lel
x = three trillion million billion
sketti
hola
buenas
https://temporal.io/ this seems pretty neat
every software product website leaves me confused what the product is
whats this?
huh
now i wait 3 days ๐ง
midnight for me ๐ฎ๐ช
ohh
ok
@wintry osprey
in tal caso buonanotte, dormi bene e spero di vederti domani
๐
no entiendo portugues, pero debo aprender
that was italian
ffff
Are you not italian
LUL, ireland
maith ansin leithscรฉal faoi sin agus oรญche mhaith!
MOTHER FUCKEr
go raibh maith agat
I know all these languages just to talk in freaking inglish
What's this?
What is it about?
youtube
Oh it show what is playing
My school is started 1 week ago๐ข
oh no ๐ข
Which Grade?
Okay.
my school starts up again in a couple weeks ๐ญ
youre lucky its not literally tomorrow
i delayed college as long as i could without getting dropped
but this way i will finally finish my degree by the end of the year lol
added memory usage too
added some info :)
P = number of processes
C = cpu usage
M = memory usage
oh no
explorer.exe froze!
A common risk in colder climes.
Though satellite photography and good cartography has generally removed much of the use of exploration for that purpose.
hi MTR
Brb ๐
It is close to india if you don't know
How you know?
I didn't know that people know Pakistan
You did? How about that.
A woman who knows her geography.
The chances!
Chances of getting the kitten have...?
@final laurel Up here
I'm...as I am.
Could that be because I'm muted?
I will leave.
Because I refuse to be pestered.
@ebon valve ๐
Of course.
๐
See, for me, if I need to get up, the animal in question gets some grace time, but after that it's a gentle petting awake and a bit of body signalling indicating intent.
@gilded sky ๐
Raaabitparty.
@sharp jetty ๐
added icons
An ace in the hole is like an ace up the sleeve. I think.
ace in the deck
ace the deck (i)
im making a filemanager
that might be my home directory
who dat
._.
share point is better
you literally told me it was you
nej, jar heter nerd bear
inte super dev

windows defender quarantines my own programs ๐
When I create my OWN exe it says it is a virus
i know you deleted the dms..
thats exactly what i was saying you could just say "same"
i am so done with this guy ๐
๐๐๐
same
.
why would you call out just me?
deleting messages?
i dont understand why youre deleting ๐ค
kinda sus ngl
shhh
๐คซ
im so done with this shit ๐
I knew you from the other server
what other server
I was just saying hi
there is no "other server"
I've heard someone describe public pools as "human soup".
yeah it's gross
I mean, that's what the chlorine is for.
iirc i watched a vid where it checks the amount of piss inside of pools
remember if the pool seems greenish, dont go inside
if the pool has some floating things inside that aren't pool noodles, dont go inside
these are fun https://www.youtube.com/watch?v=xaLWKxxuKqQ
In this video I'm going to restore an antique german electric door bell.
I've bought this door bell from an online auction for $45. It was in pretty rough condition, but it was still working, kind of. What I first saw as a quick and easy project turned out to be a really tough and time consuming challenge. Remaking the broken copper part needed ...
i mean there can be many floating things, like leafs, twigs carried over by wind and that seems normal
but if that thing "starts moving" then it gets creepy
If nobody knows what the procedure should be at any given moment, you can't plan anything nefarious accounting for known patterns.
yeah twigs floating around isnt good vibes
you could bump in it/get into your mouth etc
yea, the most you can do is go indoor pools to avoid it
but indoor pools doesnt set the vibe
how about beaches
haha, its good until some salt water gets inside your mouth
imagine if tax evasion wasnt illegal
help why is my cpu so high
also doesnt he say hes 16
(super)
no
yeah i thought so
tax evasion is illegal. tax avoidance is not and encouraged. it's one of the first things taught to me during my taxation course in uni. unfortunately, when i interviewed for P&G, the interviewer was from marketing and didn't understand the difference when i told him how i helped my previous employer in tax avoidance and rejected me ๐ฆ . being able to avoid taxes is literally what makes a good accountant.
yea, a accountant is rich, cuz he earns commissions from saving other ppl money and also helps himself by saving his own money as well
this thingy
not every one. just like a mediocre software developer makes software but a good software developer makes software that is fast and uses less resources, a mediocre accountant is one that only reports income and expenses but a good accountant is one that can help avoid taxes.
super dev?
his nodes were offline
you blocked him too ๐คฃ
lol i didnt
i lost my video perms once
idk
thats kind of a weird way to go
"poor pokemon"
he says "ur mom" too often
what if we all just stay quiet
that one time when i was like between the age of 9-12 and i got hacked on steam. i was bawling my eyes out
dud
e
apps should have like a 4 digit pin code thingy to get access to the account and you need to put that in every session but the 2fa and normal passwords are only like once per login
wahts your star sign?????
Should I hear him out?
He might be a graphical artist who knows
I wear a pair of these headphones
https://www.fostexinternational.com/docs/products/T50RPmk4_RP.shtml#content-3-tab-tabI
I wear the razer Barracuda x
I guess even brainrot exists in the coding space hahah
was working on Ever Diamond
almost done
it was not finished and it 's old I'm not fixing anything
it is a base point for writting the perspective of Layla in Osyra's Tale
.
.
.-- .. -.-. .... / .. / -.-. --- ..- .-.. -.. / ... .--. . .- -.-.
```
anyone have any experience with graphapi? microsofts docs are some of the worst
thats a her
RIP you
@ebon valve #voice-verification
yeah everytime i have to work with it its a pain in the ass
๐
Just finished a half marathon ๐ฆต๐จ
fuckin nice lets go man
im proud to jog 1/26th a marathon
why is EVERY EXAMPLE IN JAVA
i'm guessing tomorrow will not go so great for me
Because it's Enterprise and Enterprise uses Java or .Net
makes sense. feel like working with graph in C# might actually be more straight forward since thats actually documented
@rugged root Could I use your expertise?
how can i become smarter?
@spare galleon It depends on your definition of being smart ?
through learning ๐
hey @upper basin
i can't utter a word for some reason
Folks.
New floof?
Ah.
Well, I don't think I heard or otherwise registered about the Swedish thing.
"I like brands."
"I got you, fam. *heats up branding iron*"
ENV LIBTORCH_USE_PYTORCH=1
RUN PYTORCH_PATH=$(python3 -c "import torch; print(torch.__path__[0])")
ENV LD_LIBRARY_PATH="$PYTORCH_PATH/lib:$LD_LIBRARY_PATH"
@craggy ridge @hazy osprey ๐
@somber heath how are you so cool
Is 36.5ยฐC cool?
nah thats hot
wait is it actually 37 where you are at?
ahhh yes, i figured you meant that, but was asking about temp outside
I'm seeing 13ยฐC reported.
nice, thats a gud temp
hey man
a prefer temps under 0C
whats happening here
im yapping
Opal, is python's builtin stack faster than list?
yeh
cool stuff to do
๐
yessir
You mean one of the things from collections?
I actually never used stack from python's stdlib, so maybe?
hahaha
I'm not sure.
Which stack are we talking?
Stack as in DS.
Opal should i continue my 3d pygame endeavour
i have cubes, and levels rendering, just no physics
but the math is breaking my head
A stack implemented how?
There is no builtin stack class.
YouTube, Python's downloadable pdf documentation.
nice
Here.
I thought python had a builtin library for common DS.
One sec...
There's the builtins, some stuff of which kind of overlaps with the standard library, then there's the standard library stuff which isn't used as builtins.
@upper basin why do you have so many tabs open
bro is a chad
relatabl;e
hmmmmm
Stack vs list, my answer would be the question of how it's coded. Is it well coded, is it compiled or just native Python?
Secondly, I'd examine the appropriateness of it to the problem you're applying it to.
Or how you're using a list.
Removing or adding from anywhere other than the end of a list means an operation for every element after that position, I believe.
Some problems may have linked or doubly linked lists as a more appropriate solution.
To me, a stack is just a list used in a particular way.
Only ever appended to and popped from its right.
Never inserted into.
like why ive to send more than 50 messages to get mic access
Because people are arseholes. This is the regrettable result.
I've had my ears screamed into too many times.
i need weeks in order to send that amount
Incorrect.
ive done that once probably
It's a system designed to require a relatively minimal amount of social investment before you can talk. This weeds out the people who are here just to do voice trolling, as they're not typically willing to do that.
true
I don't like that it is a thing at all. I would prefer people to be able to come in here and talk right away.
But...
We've been there, done that.
people who break the rules , ruin it for everyone
Well, for me, it isn't even about the rules.
It's just the physical and emotional/mental awfulness of it all.
It took me twenty minutes to calm down after each incident, and it tended to happen every ten.
@proud grove ๐
It's Wednesday for me.
Someone's been focused.
Use whichever it appropriate. if elif has the potential to be faster if you end up running if and not the second if.
If it's if if, you evaluate both conditions.
if elif, maybe only elif, maybe both.
What's wrong with Cromium?
(Not defending it.)
You could order your checks such that the more common reasons for rejection are at the top.
Insomuch as any order dependant checking allows.
Google disabled MV2 extensions including uBlock Origin.
I use it, and it's a lot faster than Chrome on my PC (because my PC is a potato).
Yeah, no shit.
I think YouTube deliberately slowed down its player on Firefox and some other browsers for a while.
what about forks of firefox ? floorp librewolf etc ?
Hey, don't be mean. Mine is 8 gigs too.
I get to call my PC a potato, not you guys.
I think I have too much self respect to permit myself the use of something called floorp.
why ?
I don't, brb gonna install it now
Okay, it's a Japanese Firefox.
Looks good to me
hello
hello
dont ask me why i decided to make an interpreted programming language thats just json
why did you decide to make an interpreted language thats just json?
because i thought of it and then i though "oh yeah thats totally a good idea"
What's the E in Esharp stand for
what does* because I'm sure Opal will correct my grammar unless I do it first
Rabbit.
first letter in my name
Jiktastic.
yes
oh yeah thats totally a good idea
:)
gate_mapping = {
"X": cirq.ControlledGate(sub_gate=X, num_controls=len(control_indices)),
"Y": cirq.ControlledGate(sub_gate=Y, num_controls=len(control_indices)),
"Z": cirq.ControlledGate(sub_gate=Z, num_controls=len(control_indices)),
"H": cirq.ControlledGate(sub_gate=H, num_controls=len(control_indices)),
"S": cirq.ControlledGate(sub_gate=S, num_controls=len(control_indices)),
"Sdg": cirq.ControlledGate(sub_gate=S**-1, num_controls=len(control_indices)),
"T": cirq.ControlledGate(sub_gate=T, num_controls=len(control_indices)),
"Tdg": cirq.ControlledGate(sub_gate=T**-1, num_controls=len(control_indices)),
"RX": cirq.ControlledGate(sub_gate=Rx(rads=angle), num_controls=len(control_indices)),
"RY": cirq.ControlledGate(sub_gate=Ry(rads=angle), num_controls=len(control_indices)),
"RZ": cirq.ControlledGate(sub_gate=Rz(rads=angle), num_controls=len(control_indices))
}
match gate:
case "X":
cx = cirq.ControlledGate(sub_gate=X, num_controls=len(control_indices))
for target_index in target_indices:
self.circuit.append(
cx(*map(self.qr.__getitem__, control_indices), self.qr[target_index])
)
case "Y":
cy = cirq.ControlledGate(sub_gate=Y, num_controls=len(control_indices))
for target_index in target_indices:
self.circuit.append(
cy(*map(self.qr.__getitem__, control_indices), self.qr[target_index])
)
@whole bear ๐
Hey everyone, Python programmers have no excuse for their bad jokes. Do you know why?
Because all their jokes are open to interpretation.
Opal have you considered a career as a stand up dev?
There's no punchline, that's a regular question
So this VC is like a 24x7 nightclub for miscellaneous topics?
I try to join whenever I can, except I have little to contribute.
So you run as a state machine
Cool
try: to join
except: I have little to contribute
finally: that joke fell flat
Your opinion doesn't matter unless you're Dutch, I believe
Because we write classes.
My original joke was "because they're all indented" and you've hammered that down with multiple better ones
This VC is beautiful
@supple oasis ๐
They do say that flat is better than nested.
Now is better than never.
Goddamn it opal
@neon depot ๐
!voice
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
I'm an error in judgement, someone please explicitly silence me
๐ฆ
o
I came here to show you a music that I spent 15 minutes finding
however the music happens to be very sus lyrics
another TLW thing
NOT MINE, made by Theo Bouvier, twt is @voubi1 - found on the toughsf discord server
theo/l5resident if you have an issue with this just email me and ill take it down
it came from this video
it looks normal till you find the original music
Canciรณn Original: https://www.youtube.com/watch?v=kFZKgf5WG0g
Despuรฉs de los millones de problemas que tuve, porfin lo acabe, y me encanto el resultado.
Puedes ver mas de mis trabajos aquรญ:
https://www.facebook.com/TeamCER0
https://twitter.com/lover_of_bread
http://teamcer0.deviantart.com/
Letra:
She's got a fetish for fine art
A pair of kne...
I present to you:
print('''a beautiful python script''')
import sys
def newPrint(*arg, **kwarg):
sys.stdout.write(''.join(arg) + '\n');
exec("print = newPrint")
print("Hey rambunctious discord");
@whole bear ๐
nice bugatti
nice bugatti
does anyone want the lyrics
what y'all doing ?
how many of these do you have?
do you know the youtube link in your pronouns is invalid?
why would you do that ?
I got bored
okay
@whole bear
I came from a math discord
one of my equations
its small
compared to the 3D version
any error printed or is it a logic error?
You didn't define row before using it
!code
if the todos is empty, then row is never created
try reading the value of todos after creating it
Also, the token row is highlighted, which means you should probably read the warning or error being shown there
That points you in the right direction
What do you mean it's not working?
What text appears when you hover over it?
Oh
Do what zeptofailure said
Add print(todos) before the loop
Yeah
@desert nimbus ๐
btw, whats 'Opalmist' ?
@peak depot which scooter were you driving ?
is there any repo / site with most commonly used db schemas examples?
Dรฉcouvrez cette recette facile de crรชpes, trรจs rapide ร prรฉparer. Une recette simple qui, grรขce ร sa quantitรฉ d'ลufs, ne nรฉcessite aucun repos de la pรขte (vous pouvez adapter le volume des ingrรฉdients selon le nombre d'ลufs que vous avez, les crรชpes seront aussi parfaites avec 1ย ลuf, ou 2ย ลufs). ร prรฉparer ร la Chandeleur, pour un brunch ou ร to...
this is the recipe I use
you guys know each other ?
๐
im learning flutter ๐ค
an expense tracker
yea, will try that
so, what you all do ? job? study ?
Bayes, k-NN, k-Means, Linear Regression, Hill Climb, Gradient Descent, Logistic Regression @wind raptor
Studying
ML stuff rigth ?
Are you learning ML?
yes, Iยดm in university
i completed my electrical engineering
Oh
are you guys cinephiles ?
i didnt watch rick n morty yet
i recently saw a netflix documentary "antisocial newtwork"
it was about 4chan
based and redpilled network
yep it was good, mainly about 4chan, anonymous hacker group and stuff
have you seen northern lights @peak depot
Back
you took this pic ?
ok
i need to remove them cos i dont own them
finland is on my travel wishlist
Be back after my lunch
its rainy season here
๐ง๏ธโ๏ธ
he was speaking about astronomy
milien was saying about Astrology
translation is
"cool shit! a 3D printer!"
!rule 6
I had to delete your server invite. It fell under rule 6. If everyone just posted invites to their server, with 350,000 people in this server, that's all there would be in every channel and it would slip into chaos. If something comes up organically, it's generally ok, but that's not what it looks like happened.
!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.
hey @stark river
i disagree
bruh i only got 1mbps wifi rn
and .07 upload
thats just cause they are designed to be left
:incoming_envelope: :ok_hand: applied timeout to @whole bear until <t:1724232785:f> (10 minutes) (reason: duplicates spam - sent 4 duplicate messages).
The <@&831776746206265384> have been alerted for review.
๐
@peak depot hi
I'm thinking of formatting my PC's operating system because of I'm getting a lot of blue screens and a lot of glitchy weird problems during pc usage, somebody told me that's probably happening because the windows operating system hasn't set properly
And then they were asking me to format the pc
Actual format, like completely
Reset the operating system
This requires that iso file, right?
Do I actually need to use that usb method if I'm using the pc which is the actual format target?
I need a complete format
hi opal and mindful
@finite leaf ๐
sadge
!voice
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
Can the 50 messages be just sent in this channel? I don't know what to talk about.
Any channel other than the bot channels.
It feels spammy to contrive a stream of messages to gain permissions, but understood
i will answer u
Engage in conversation.
Spamming is specifically warned against.
@waxen tinsel ๐
@hallow elk ๐
@hollow root ๐
Someone is talking over me
Where do I get permission to share a screen?
!voice
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
Screen sharing permissions are available upon request of voice-regular moderator-level and above users by voice-verified users.
oh okey
At their discretion.
Ask one when you see them in voice chat.
@crimson wraith ๐
@serene kayak ๐
hi
!voice
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
Got it ...
https://gunslingergirl.fandom.com/wiki/Beatrice @still herald
How are you guys ๐
fine u
I am sahil from India ๐ฎ๐ณ๐ณ๐ป
Absolutely f9
R u frm ?
uk
R u working on some python project?
they sucks, i hate pawns, why wont they move
doing a computer degree
I am looking for partners to work on python ml projects
i can help
One plus point we are working with Azure Services
cool
:incoming_envelope: :ok_hand: applied timeout to @whole bear until <t:1724254069:f> (10 minutes) (reason: duplicates spam - sent 4 duplicate messages).
The <@&831776746206265384> have been alerted for review.
Yes 911 bruh
i can make games
With which engine ?
python
@somber heath
Python is language but engine let to make render graphics
i give up on the chess program, it is to complex for my puny brain
Coool bruh ๐
i could help you
def handle_pawn_move(self, piece, start, end, delta_row, delta_col):
piece_color = self.get_color(piece)
direction = 1 if piece_color == 'white' else -1
print(f"Pawn move from {start} to {end} with delta_row={delta_row} and delta_col={delta_col}")
print("Current Board State:")
for row in range(8):
row_pieces = []
for col in range(8):
pos = (row, col)
row_pieces.append(self.positions.get(pos, '.'))
print(' '.join(row_pieces))
# Single step move
if delta_col == 0 and delta_row == direction:
if not self.positions.get(end):
print("Valid single step move")
return True
else:
print("Blocked single step move")
# Double step move (initial move)
if delta_col == 0 and delta_row == 2 * direction:
initial_row = 1 if piece_color == 'white' else 6
if start[0] == initial_row:
intermediate_pos = (start[0] + direction, start[1])
if not self.positions.get(intermediate_pos) and not self.positions.get(end):
print("Valid double step move")
return True
else:
print("Blocked double step move")
else:
print("Not an initial move, double step not allowed")
# Capture move
if delta_col == 1 and delta_row == direction:
if self.positions.get(end):
print("Valid capture move")
return True
else:
print("Invalid capture, no piece to capture")
print("Move failed for other reasons")
return False```
i wrote all this code today and it still no worky
Great ๐๐ปโ
new generative model just dropped !!!
I headed about flux.1
It's dmnnn crazy
๐๐๐ Influencer are magician
yep, mate.
this can't be from 2024.
What is this Who is this Why is this
today's progress
getting my engine to work with cutechess-gui
this looks quite pro without context
thats cool
Is there e dev position still now?
https://www.reddit.com/r/mapswithtoomuchNZ/
Then there's also https://www.reddit.com/r/MapsWithoutNZ/
Noooce ma men
hey\
no replit and terminal
@main sparrow
I am telling you that you can msg here don't dm
no need to say sir
With what?
!code
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.
give your code
You have to install requests module
using pip install requests
@main sparrow
idk what is that
Go to cmd.
then copy paste this
Reinstall python
and send me screen shot as you go so I can tell you what options to select
select add local
@dense ibex i can hear you
@dense ibex can you help me
can you come in private
so i can share screen
please
@tidal salmon can you give @main sparrow screenshare perms trying to help them setup a virtual env.
!stream 1008039254393376900
โ @main sparrow can now stream until <t:1724333922:f>.
!extending
wher
@wind raptor do we have a tag/command for this?
https://docs.python.org/3/extending/extending.html
!d extending
!tag extending
I have no clue what else it'd be referred as
!tag
wait I forgot
what was the command
.tag
oh
no not that
I have short brain today
@upper basin programming by its nature forces multi-language usage in many practical cases
imo you can't master a language without learning other languages
@upper basin
no. skill in one language and skill in many languages are correlated, not at odds.
I agree.
just release the GIL at C level ยฏ_(ใ)_/ยฏ
@upper basin have heard of the author of LSP for Zig?
he dropped out of university
he's 16
(was at the time of the talk mentioning that)
"speedrunning life"
just like C
and C#
why not in itself
what else is there better to use than language itself
also
increases test surface for the language
correctness of the compiler is more tied to correctness of the language
Python needs a runtime
Rust and C don't (mostly)
interpreted
without JIT and AOT
C# is interpreted but it has some level of JIT and AOT that lets it be self-hosted, at least to some point
whereas Java doesn't do this
ahead-of-time
though idk
maybe they do use Java at some point
(of compilation)
main part of C# compiler is in C#; some parts of runtime are in C++
nvm, I looked up, Java has self-hosted parts too
C# compiles to bytecode, which still needs to be interpreted
compiling it straight to machine code is non-trivial
afaik AOT isn't default for it
this does that step
extra tool is used for native compilation
depends
some parts are compiled at runtime
(JIT)
C# and Java JIT things more aggressively than JS/PyPy/others
you can (or rather could, in early stages of development) interpret both of those directly
interpretability of Java was stated as one of initial goals
C#->CIL -- this is done with C#
CIL->machine code -- this is done with JIT or ngen
you can't run JIT implemented in C# if that JIT relies on JIT itself
you need something pre-compiled
bytecode->machine code -- JIT
normally
in case of C#/Java
in case of Python, there is no bytecode->machine code
@upper basin either JIT or something that does AOT
JIT has an interface of an interpreter, but is a compiler in its implementation
you can interpret Java directly; you just wouldn't do it because it's slow
CPython is getting JIT, but it's still experimental
@upper basin Python has no that rightmost branch
@upper basin speed
optimisation
@amber raptor this
Java used to have interpreter as default; they just moved on to compilation very early because performance
this can happen either at runtime or preemptively
latter being very, very rare
is this w3schools?
Geeks for geeks Java course.
surprisingly wrong header above those points
3~4 is execution
1~2 is not
@whole bear
https://www.sqlite.org/fts5.html
Just a quick fact check, "compiled at runtime" means JIT, not interpreted?
for searching notes
yes
So, the difference between interpreting and JIT is that in interpreting we run each line directly, whereas in JIT we first compile it and then run it?
Official website: https://softwareyoucan.love
Vancouver Conference Website: https://softwareyoucanlove.ca
Abstract:
Three years ago, Alex Naskos and I gave a Zig SHOWTIME talk about the Zig Language Server (ZLS). Today, with ten times as many users, a team more than twice the size, and a codebase so large it's practically bootstrapped, it's...
And the reason JIT is different is because compilation is done as we are running the code in constart to compilation?
Thank you very much!
.bm
.bm
JIT vs pure interpreter difference: JIT generates machine code
JIT vs AOT: JIT is done at runtime
Is AOT the default case when we're talking about a compiled language?
depends on definiton of compiled
for C/C++/Rust/Zig, AOT is default
everything that compiles/transpiles to those, too
and everything that compiles to LLVM
Yes
So, I guess I am wording it inappropriately? Compiling is just conversion to machine code.
Java and .Net do AOT as well
I see. Thank you very much Rabbit!
.
(idk what Java's version of it is)
.bm
just curious ๐๐ผ what is AOT you are describing ?
Let me back up, some people donโt see .Net AOT as real AOT
ahead of time compilation
Ok, so just to confirm my understanding, we have two manners which we execute a code. We either directly run a code line by line at runtime which is defined as interpreted, or we first convert it to machine code and then run it which is defined as compiled.
Now, if we compile before we run the machine code, it's AOT (Ahead of time compilation), and if we do it at runtime it's JIT (Just in time compilation).
Did I understand correctly?
the difference is growing further and further
What are you doing?
Hehe.
For hardware-intensive use-cases, would AOT be more suitable?
Doesnโt matter depending
I see.
for CPU-intense tasks, JIT can achieve okay results
Speed difference between C and Java isnโt that big
because it compiles anyway
(not because of performance)
If itโs long running program, the compile time is minor
if by hardware-intensive you mean GPU-intensive or whatever else,
your program is just an orchestrator anyway, you're not running your code most of the time
Most speed tests compare include JIT time and most people donโt care about JIT time.
I forgot to finish the sentence
I'm having way too mixed feelings about the idea of asynchronous disk access, in part because of this
caching turned out to be better than I expected
fixed
I see.
Quick question, and please please be lenient with me if it's utterly stupid. In here, the intermediate optimization they're doing with trace, is that sth you would/could do with MLIR?
oh, I can read that one in original language)
(the main thing, not /hpc/)
isn't {*items} slower than set(items) a bit?
I don't remember
might be faster
idk
it's not passing O(1) extra memory either way ยฏ_(ใ)_/ยฏ
def missing_odds(arr):
min_ = min(arr)
max_ = max(arr)
odds = {*range(min_ + 1 + min_ % 2, max_, 2)}
return sum(odds.difference(arr))
for arr in [(1, 2), (1, 3), (1, 4), (4, 1), (4, 1, 8, 5)]:
result = missing_odds(arr)
print(result)
Rust has several different name origin stories
"Some legends say, it gives your CPU an incurable rust."
- r
obust - rust, the fungus, for its resilience and whatever else
- analogy to IRL systems which are so stable mechanically that their only concern is oxidation
- system built on old technology and ideas, as much as possible (initially, at least), so those parts have "rusted" already
Nicee!
Third one goes hard.
I can imagine Clint Eastwood saying "My manly body is so resilient, only rust will take me down, and buddy, I just put on a layer of paint."
weirdly, I am liking Dil as a language.
I even know how I would bait Hemlock into learning it.
I'd just make a cute pickle as the logo.
upcoming uv features look awesome: https://astral.sh/blog/uv-unified-python-packaging
.bm
I'm back, what did I miss
In Java, is this
Color arr[]
same as
Color[] arr
```?
does Java even allow the first one?
seems like yes
Weirdly so, yes.
it's C-style
I was almost certain it would raise an error.
int[] num[]
cursed