#voice-chat-text-0
1 messages ยท Page 461 of 1
hello
I'm typing.
can anyone help me w a small prob i got w a javascript code
it's the same
The second was no background.
@somber heath can u ?
Also, again, keeping in mind I don't do javascript.
give me a sec
let me get it up
it just holds W and not A
do you know what i need to change?
console.log("Step C: Holding 'W' and 'A' for 109 seconds...");
robot.keyToggle("w", "down");
await sleep(109000);
robot.keyToggle("w", "up");
add a robot.keyToggle for A aswell ig?
I don't know javascript but it looks like u only did it for w
good point
let me try
trying to learn
just trying to code random shit
to try to learn
btw when can i talk?
yes its a robot
!voice
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
it isn't python
not sure
but a freind of mine told me to do that for him
didnt told me what for
and im learning on the way
when i try to run it, it just hold W and not A
i dont know yet lol
he does it
ill try
try it
alr
Probably unoxidized copper.
@unique wyvern Could I borrow you for a moment sir?
tru
Man walks into a bar with a chicken on his gun. Bartender expresses confusion. Man explains, "It's a chicken stock."
Man walks into a bar with a cow on his gun...
"I'll huff and I'll puff..." but in a squeaky voice.
...
pigeons r the best
there arent discord tags anymore
hello im new
guys can someone tell me why i cant use python??? first when i wanna check the version i need to type "py --version" and not "python --version" and i cant somehow isntal pip
py -m ensurepip
can i ask for help with how to read the square root and division symbol in python im following a youtube video and there and showing how they got the calculator
How do you mean?
it says that it already exists site packages. but when i type as example "pip install pytest" it says not rekognized and shit liek that
'pip' is not recognized as an internal or external command,
operable program or batch file.
** is the exponentation/power operator, / is division.
math.sqrt exists.
โ doesn't exist in Python as an operator.
is 20Mib good for memory a 20 sec video?
Looks like something from the Cthulhu mythos
Seems fine enough
depending on the contents & codec that should usually be plenty
do u know how to fix it ???
Im ready for whatever is going down
your mom last night
@rugged root@somber heath Thx
from who
thx for ghostgin me
why r u telling us though
sorry for your loss
can u send it?

and why was there a video of it
whyd he get murdered
he recorded it
hes like bleeding out
but could be a rndm gore vid from wpd
who recorded it
why wouldnt u do anything
its india bro what do u expect
๐
whyd he get shot
still its india
helloworld("print")
best moment for that lmao
That's an achievement
sorry about that @candid spire hope he will rest in peace
well who recorded it
my fucking god...
and how did u get the video
because there's no bond or shared values or.. too little data or unvetted or .. idk?
It does remind me that I have it good. But still sorry for your loss...
I can hear talk
I do think that ppl lack empathy aswell...
but this time its tricky, everyone wants to survive.
you are right. Ignorance does cost things...
@whole bear not the best time...
take care. Know we are not heartless we just dont know how to help.
Linux Subsystem For Windows
i dont know
Huh. I haven't heard of "Pengwin"
Lol
Why do IT guys always tell us to restart the computer whenever there is some issues with the system? @rugged root
Does that help in any way?
Ohhhh
Now I know.
I want to be a IT guy as well.
Yes I do but when its too much frustrating I go to the bathroom and dip my face into the bucket.
Full of water
$300 to amazon?
Gotta hve them shiny tubes!
Who needs food when you can have a tube
TUBES!
TOOOOOBS
I remember the one time I had some good credit card fraud
they bought 2 sights for 7.5k out of an armory half the country away
You don't
You can choose to die
๐คท
You can live without food for a week
humans can go like 30 days or so
And there's grass
No way, you barely work as is, when you're part time?
The partner agreed to it
He can aim
Medical?
Bankruptcy like a normal american
That's what most of us do
savings is a nice to have
not a need
There's enough money, it's just spent before it arrives
If they're paying it off in 6 months it doesn't sound like interest only
I've been paying my mortgage over 15 years, every payment has principal, interest, taxes, and insurance
so you're putting 1250 a month?
question if you had to relearn python how would you go by doing so
One step at a time
A Byte of Python is a popular resource
1 hour a day is part time...
not full time is part time
1 hour a week is part time
lol
can't be bothered to do your own work
especially when most of the money goes to gun sights
260/month 300/month...
that's 560 a month
not 6 months away
for 8 grand
14.2 months
-sighs- God damn it
any tip yall can give on learninng python
๐ง eat code sleep repeat ;
Just need biodigradeable/disgestible RFIDs
The common American is supposed to understand genomes?
I think never, I've met far too manyAmericans
generally, not wise
generally, not informed
can't even understand the current nutrition labels
GMO is such a dumb term
If it's not from the primordial soup, it's been genetically modified
Everything has been modified
It used to be called selective breeding
Oh my god, I'm a moron
Here's your less GMOed watermelon
hey, watch the negative self-talk... you're not a moron, you're a smart fellow and you're only human
โค๏ธ that we need evidence of harm first
let them die
then we'll fix it
The American way
password123
LEGAL BY DEFAULT
until proven deadlty
it's fucking asinine
I much prefer ILLEGAL UNTIL PROVEN SAFE
I much rather PROOF OF SAFETY, not PROOF OF DANGER
I stand by my derp
since corporations have proven time and time again
FUCK THE CONSUMER
only care about next quarter's profit
๐ฎ
Geo political discussion?
I got a meeting, back soon
huh?
Few genuinely care about others.
Society is brutal, no wonder narcissists rise to the top.
Sup
PyAutoGUI can test a GUI
I don't think GUIs are for unit testing, unit tests are supposed to be pretty small
Yo @leaden garden ๐
hello peoples
Hello
https://spelis.r.mrharryw.dev/skolmaten/ school food plan web app i made :P
๐ญ i hate css
damn thats impressive for my slow ass, took me 2 days for most functionality, 4 more days mostly bugfixing and upgrading the backend mostly
@unique wyvern this is what im drawing every .5 seconds lmao
and i just leaked my ip but whatever
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
We're a large, friendly community focused around the Python programming language. Our community is open to those who wish to learn the language, as well as those looking to help others.
im new cant talk yet
from PIL import Image
import argparse
parser = argparse.ArgumentParser(
prog='img2ascii',
description='Converts images into ascii'
)
parser.add_argument('image')
parser.add_argument('-s', '--size', help='changes the size using multiplication', default=1)
args = parser.parse_args()
with Image.open(args.image) as im:
sz = im.size
im = im.resize((round(sz[0]*float(args.size)), round(sz[1]*float(args.size))))
sz = im.size
cols = []
for ii in range(round(sz[1]*0.5)):
rows = []
for i in range(sz[0]):
try:
c1 = im.getpixel((i, ii*2))
except IndexError as e:
c1 = None
try:
c2 = im.getpixel((i, ii*2+1))
except IndexError as e:
c2 = None
rows.append((c1, c2))
cols.append(rows)
for col in range(len(cols)):
rows = cols[col]
for row in range(len(cols[col])):
if not cols[col][row][0] == None:
r, g, b = cols[col][row][0]
if not cols[col][row][1] == None:
r2, g2, b2 = cols[col][row][1]
# โ is used for square symbol
print(f'\x1b[38;2;{r};{g};{b}m\x1b[48;2;{r2};{g2};{b2}mโ\x1b[0m', end='')
print('')
Provided to YouTube by The Orchard Enterprises
Nineteen ยท Buck-O-Nine
Twenty-Eight Teeth
โ 1997 The Orchard
Released on: 1997-04-15
Auto-generated by YouTube.
Experiment: Aluminum and Mercury strange chemical reaction.
When mercury is added to aluminum, it forms an amalgam. Aluminum is normally protected by a thick oxide layer, but the formation of the amalgam disrupts it. It allows fresh aluminum to react with air to form white aluminum oxide. As the oxide grows, it forms as these cool white fibers. ...
Next I am going to make a Neural Network to run on my TI-84 + SE
Have y'all tried arduino creating an RFID system?
Hello
do anyone use proxmox
yes
me and a friend use it i game on a proxmox server vm
my workstation i use as a server for lots of thing
one server for gaming other server for other thing\
2 window server 2 linux and 1 unix
you can say that ......
the more i know how to use the better
whaty
yes
i dont know yet good question
brb
:incoming_envelope: :ok_hand: applied timeout to @junior magnet until <t:1746830313:f> (10 minutes) (reason: duplicates spam - sent 4 duplicate messages).
The <@&831776746206265384> have been alerted for review.
Hey chris
How are you ?
@wind raptor
Chris
Itaadori?!
Good question
I fell off
Around 800-900
Rapid
10 mins
So people with voice infraction can't stream?
Makes sense
Nothing
@quaint geyser ๐
Getting a job soon
FedEx or walmart
Kinda
I worked at chipotle for less than a week
Too much janitor work
Nah the people were great
But I was also moving at that time
You seem to have some experience
Manager?!
Crazy
Bro I got paid like $16/hr working a chipotle
And that too regular employee
I was 1
At that time
Omg 20yrs I was 1
.8ball will I get my voice perms back?
Most likely
!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.
@obsidian iris
!stream 772525588044709928
โ @subtle dawn can now stream until <t:1746839088:f>.
Yo.
Hi @humble idol
Bye Opal :(
UK Ebay store: https://www.ebay.co.uk/usr/sorinelectronics
US Ebay store: https://www.ebay.com/usr/ers_usa
WebSite: https://sorinelectronics.com/
Patreon support: https://www.patreon.com/electronicsrepairschool
YouTube Members: https://www.youtube.com/channel/UCooKQlg-HZ0PFAPc4Ymg3RA/join
Forum: https://forum.sorinelectronics.com/
Discord: https...
Oh! Thanks
!stream 1297071424992841859
โ @humble idol can now stream until <t:1746845452:f>.
๐
how much storage your pc have @humble idol
256 gigs
@humble idol andrew gone to america
Hello!
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
I saw you there alone and came to say hello.
lol
Well, I'm not much of a talker lol
I'm from Brazil, it's 3:00 in the morning here, what time is it there?][
CTRL + SHIFT + Z to redo
!code
@long wedge ๐
hi i can't vc yet because i just joined
Type "help", "copyright", "credits" or "license" for more information.
deprecated
Traceback (most recent call last):
File "<python-input-0>", line 1, in <module>
deprecated
NameError: name 'deprecated' is not defineddeprecated
Traceback (most recent call last):
File "<python-input-1>", line 1, in <module>
deprecated
NameError: name 'deprecated' is not defined
& C:/Users/Lenovo/AppData/Local/Programs/Python/Python313/python.exe "c:/Users/Lenovo/OneDrive/Dokumen/Hello Existence/app.py"
File "<python-input-2>", line 1
& C:/Users/Lenovo/AppData/Local/Programs/Python/Python313/python.exe "c:/Users/Lenovo/OneDrive/Dokumen/Hello Existence/app.py"
^
SyntaxError: invalid syntax
& C:/Users/Lenovo/AppData/Local/Programs/Python/Python313/python.exe "c:/Users/Lenovo/OneDrive/Dokumen/Hello Existence/app.py"
File "<python-input-3>", line 1
& C:/Users/Lenovo/AppData/Local/Programs/Python/Python313/python.exe "c:/Users/Lenovo/OneDrive/Dokumen/Hello Existence/app.py"
^
It looks like you're typing things into the Python REPL (Python command line)
thanks i will try ctrl+z
Things that aren't themselves Python code
I just started learning python 30 min in total I dont even know what REPL means
you can run python code by doing
py -3 my_code.py
Read Evaluate Print Loop
where mycode is the name of the python code file
There are a few different ways Python code can be run. One is by feeding a file to the Python executable.
Another is by writing Python expression by expression.
Line by line.
After each expression is entered, it is run.
PS C:\Users\Lenovo\OneDrive\Dokumen\Hello Existence> py -3 my_code.py
C:\Users\Lenovo\AppData\Local\Programs\Python\Python313\python.exe: can't open file 'C:\Users\Lenovo\OneDrive\Dokumen\Hello Existence\my_code.py': [Errno 2] No such file or directory
am i doing it right?
I understand now
Now you just have to either be in the right directory or feed it the correct file path.
Also have a file to run.
^
I have done up to this much watching youtube tutorial
you're in the interpreter again...
...
CTRL + Z then py -3 app.py
sorry
am i suppose to paste it here?
i thought this was the terminal
that's the file pane
I don't know if this is related since I just joined but it's interesting.
the terminal is this
focus on that pane, then CTRL+Z....then in the same terminal do py app.py
when i type ctrl+z it types ^Z
np ๐

what is 3 for? you also said py app.py
I take my notebook and start writing
-3 means use python version 3
@fathom loom ๐
@upper maple ๐
?
Oki
Oh ๐
๐ Daymm. Thatโs valid. Very interesting. Your cell growth would have slowed down completely, all the cells.
@somber heath omg ๐ญ
Ohh ok thanks dude
Iโm just listening
@chilly wolf 12:03 ๐
I think itโs morning
I tried a Kyu 6 task and I used 2 hours and ended up not completing it.
therefore I need to go back to Kyu 7 and build momentum again
Codewars
๐ซ
@chilly wolf oo yes please
Thatโs so cool man. So how are you calculating the refraction.
since itโs a triangle ? @chilly wolf
Yes
:incoming_envelope: :ok_hand: applied timeout to @chilly wolf until <t:1746873436:f> (10 minutes) (reason: newlines spam - sent 109 newlines).
The <@&831776746206265384> have been alerted for review.
@whole bear @limber abyss could you help? Magey forgot to use paste bin and got a spam timeout
!untimeout 99041425483653120
:incoming_envelope: :ok_hand: pardoned infraction timeout for @chilly wolf.
Thank you! I will remember to use a pastebin in the future lol
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.
@chilly wolf are you really good at maths.
@chilly wolf
@peak depot thatโs true thatโs true
Mama Cat asking for help before Giving Birth
@peak depot is it true that cats have a very large vocal range. For different things
@glossy jay ๐
I was just watching Mr Magorium's Wonder Emporium.
Seen it before, but it's still a lovely film.
A good story for helping children face death.
I pet a dog, today.
The neighbour's dog came up to the fence to say hello to my mother.
Hey, Jik.
@chilly wolf Spiderweb? WELCOME TO MY WORLD.
@peak depot you can come back
I can't walk out the back without running into some spiderweb across the path or another.
We literally carry a stick with us for the spiders.
Like some kind of arachnophobic wizard.
@viscid merlin A very small neural net.
yes
Quite.
i understand
I could just hear your mind breaking.
I'll try to make up the pun differential.
The deficit.
Magey, you sound fine.
Nuclear, the last thing you said came through indistinctly.
Is it me, or is magey lagging hard?
Magey, you are breaking up now.
Okay, so not me.
Me:
yo man thanks so I just noticed it really was just a syntax error. I was blinded by my rage caused by the sudden cluster of the red lines in my code which made me overlook the missing `.
The dreaded red lines
What even is that.
Sleep. What's the worst that could happen?
Sounds like a bad scary movie poster.
Osyra, it worked.
Don't knock.
Ligustrum sinense (Chinese privet; syn. L. villosum; in Mandarin: ๆป; pinyin: chวu) is a species of privet native to China, Taiwan and Vietnam, and naturalized in Rรฉunion, the Andaman Islands, Norfolk Island, Costa Rica, Honduras, Panama and much of the eastern and southern United States (from Texas and Florida north to Kansas, Illinois, New ...
As bricks go, they are reasonably enjoyable.
Lens.
Flugel's image recognition search.
The name sounded familiar, so I think you've mentioned it before by name.
Do they do Numpy?
Breaking the laws of physics is only illegal if you get caught.
Time travel for being a NERD and talking to other programmers.
I'm afeared of the Time police
Oh. I just donโt get how it would enable 2 conversations at the same time. Are you talking time lines ?
Nah, if I exist in this conversation, complete it, then go back to the point at which the other conversation started, have that conversation in the same timeline, I would be able to have two conversations in parallel without dividing my attention.
So what I'd have essentially done is created scenario in which there are two of me at once, thus being able to be in two places at once.
Have fun
very nice
Itโs huge
Nice dude
@formal gulch ๐
Alas.
@upper basin Do you have the neural network environments that you showed me a while back? I have a friend who would like to make use of them.
I'm not sure what you mean.
The tetris one?
Like the breakout environment, tetris, the balancing game
Oh ok. It's in gymnasium iirc.
Awesome, Thank you so much
Who likes cars
BMW's lineup of EV's is pretty impressive
I don't use github as a developer.
But I would be surprised if there wasn't something you could do.
Because you can see the commit diffs.
I know that.
Yo.
You wanna see my car
@primal shadow A beautiful, sunny day with a low chance of habeas corpus into the late afternoon.
Whatโs that?
Itโs a beautiful day here to lol. And Iโm in a different country.
Habeas corpus? The idea that if the state wants to bring a case against you, that you have the right to some kind of trial and to have the state present evidence in a way that can be challenged by you.
I canโt be bothered
Oh ?I hope that doesnโt happen
It's the plan
At least in America
Who needs the constitution, that's like, rules for the government?
psh, not for the godkingemperor
Getting rid of habeas corpus means the state can just say you're guilty of something and punish you and they don't have to have any evidence.
Arbitrary arrests, etc.
Gulps ok I read it wrong the first time ๐
The thought police
it's a good time
America can be great again
Salem Witch Trials great
Milien, lol.
It already has.
Oh?
In practice, if not in the general rules understood to be in place.
You mean you don't cook your chicken in Domestos?
Obligatory warning to not do this, it will kill you.
I was going to say "Who doesn't like bacon?" but then my brain caught up with my brain.
Looks shiny
Not as shiny as you.
Heyo.
Ace, stealing my lines.
Galactic domination.
You missed a funny cat fight, before.
I think he means literally.
A literal cat fight.
Right?
I could have phrased it better lol.
Wha
P was in the favoured spot, and K was on the bed and was like, "You're in my spot" just looking, then M came up and just slid right beside P and started grooming him, and there was some mutual grooming.
Then M bear hugged P and gave bunny kicks right to the face.
Then they both zoomed off.
M = "mochi"
K = "kierpo"
P = "pinkie"
Kirppu
Iโm voting pickle
Broom juice?
proon
Lychi juice mmhm.
Anecdote received.
I don't follow Eurovision.
I was hitherto unaware of anyone known as The Milkshake Man.
@potent vale ๐
yo
@somber heath hi
Very... thrusty.
@somber heath for some reason I canโt understand most of what your saying ๐
Your using some niche language and u love it.
Life has its view points.
@cinder vale Humans are fools, use 'em
@cinder vale you enjoy what your doing right ?
True capitalism doesn't have government and taxes @forest raft
Facts facts facts.
Life needs you to find a way point.
Suffering forces action.
@cinder vale Dude avoid talking about you, talk about the person whom you are speaking to.
Human are selfish, talk about the things which are of his interest
The nature of humans is what builds society.
Nah, nobody cares about you, that's reality
Everyone cares about themselves
@cinder vale Let's talk about your experiences in career and goal?
I'd like to know
It's worth hearing
Suppose there is something new and challenging how do you learn and solve?
Nah it doesn't matter!
i dont have a plan like that
yes
atleast u know what u want
i dunno what i want
Ah, you like to enjoy your life?
I mean, a lot of jobs have SOPs (standard operating procedures).
Yes they feel repetitive..
https://dev.to/vibalijoshi/the-dark-side-of-software-development-441e
This article is pretty good actually
u know it feels like ur describing my job
Do you like philosophy.
Nah
Philosophy involves human connection
Philosophy involves deep thoughts
I believe my brain ๐ง has some limit processing and energy, which I named as Mental Energy.
I'd like to not waste any of this energy of unnecessary thinking ๐
Thatโs reasonable. For me I donโt mind using my mental energy. I find it helps build plasticity.
Cocky
braggadocio
Froggy.
Egotestical new word in dictionary
Thatโs really elaborate.
Egoist would be right ๐
Antiquated. What does this mean?
EQ is bullshit, manipulation is real intelligent
I guess thatโs true.
LOL
@cinder vale I think your trainer has an ego.
Those who are modest do understand they have ego and work on it.
there's always a woman in the story, predictable..
What was this related to. Sorry I wasnโt there.
am reading this currently https://www.commonwealmagazine.org/calvert-work-entrepreneur-ethic-baker-review-job
@wind raptor can i ask you one question
my
idont now way ist not going
i'm good and you
could you help my
oh
i'm new
were do i find the
bye bye
?
@austere tide ๐
๐
@chilly wolf so I guess if you already have the ray tracing system for calculating refraction then I guess you can add another triangle with no problem.
hey @unique wyvern is there a type of one-line input in batgrl?
decided to make an AI assistant and said why not use batgrl for the graphics
oh, nvm i found it ๐
We like potsatzz?
Nop.
The hell did I do ๐๐ค
Fr
Yea but what did I do.
Also nice prediction that scared me.
How tf u did that. ๐ณ
movsar evloev
in what way?
ฮฃE
ฦ ว (turned E or reversed E) is an additional letter of the Latin alphabet used in African languages using the Pan-Nigerian alphabet. The minuscule is based on a rotated e and the capital form majuscule ฦ, based on a reversed (mirrored) majuscule E.
It is not to be confused with U+2203 โ THERE EXISTS, the existential quantifier used in logi...
xXTeatXx
Transportation safety in the United States encompasses safety of transportation in the United States, including automobile crashes, airplane crashes, rail crashes, and other mass transit incidents, although the most fatalities are generated by road incidents annually killing 32,479 people in 2011 to over 42,000 people in 2022.
The number of deat...
Stรผssy S
sorry , just seen the voice rules.
code
#pip install git+https://github.com/tinygrad/tinygrad.git
import time
import numpy as np
from tinygrad.tensor import Tensor
import matplotlib.pyplot as plt
# Define test sizes
sizes = [32, 64, 128, 256, 512, 1024]
batch = 8
cpu_times = []
gpu_times = []
def benchmark(size, device="CPU"):
# Set device backend
Tensor.DEFAULT_DEVICE = device
A = Tensor(np.random.randn(batch, size, size).astype(np.float16))
B = Tensor(np.random.randn(batch, size, size).astype(np.float16))
# Warmup ()
for _ in range(32):
(A @ B).realize()
# Benchmark
start = time.perf_counter()
for _ in range(256):
C = ((A @ B).realize() @ B.transpose(1, 2)).realize() + A
C.realize()
return (time.perf_counter() - start) / 10.0
# Run benchmarks
for size in sizes:
print(f"\nTesting {size}x{size} matmul...")
cpu_time = benchmark(size, device="CPU")
cpu_times.append(cpu_time)
print(f"CPU: {cpu_time:.6f} s")
try:
gpu_time = benchmark(size, device="GPU")
gpu_times.append(gpu_time)
print(f"GPU: {gpu_time:.6f} s")
except Exception as e:
gpu_times.append(None)
print(f"GPU not available: {e}")
# Plot results
plt.figure(figsize=(10,6))
plt.plot(sizes, cpu_times, 'o-', label="CPU")
if any(gpu_times):
plt.plot(sizes, [t if t else 0 for t in gpu_times], 's-', label="GPU")
plt.xlabel("Matrix Size (N x N)")
plt.ylabel("Time per matmul (s)")
plt.title("Tinygrad Benchmark: CPU vs GPU")
plt.grid(True)
plt.legend()
plt.show()
#pip install onnx onnxruntime numpy
import time
import numpy as np
import onnx
import onnxruntime as ort
from onnx import helper, TensorProto
sizes=[32,64,128,256,512]
batch=16
cpu_times=[]
gpu_times=[]
def create_onnx_model(size):
A=helper.make_tensor_value_info("A", TensorProto.FLOAT16, [batch,size,size])
B=helper.make_tensor_value_info("B", TensorProto.FLOAT16, [batch,size,size])
C=helper.make_tensor_value_info("C", TensorProto.FLOAT16, [batch,size,size])
# Nodes:
nodes=[
helper.make_node("MatMul",["A","B"],["AB"]),
helper.make_node("Transpose",["B"],["BT"],perm=[0,2,1]),
helper.make_node("MatMul",["AB","BT"],["ABBt"]),
helper.make_node("Add",["ABBt","A"],["C"]),
]
graph=helper.make_graph(nodes,"MatMulGraph",[A,B],[C])
model=helper.make_model(graph,producer_name="onnx-matmul")
return model
def benchmark(size,device="CPU"):
model=create_onnx_model(size)
model_bytes=model.SerializeToString()
providers=["CPUExecutionProvider"] if device=="CPU"else["CUDAExecutionProvider","CPUExecutionProvider"]
sess=ort.InferenceSession(model_bytes,providers=providers)
A=np.random.randn(batch, size, size).astype(np.float16)
B=np.random.randn(batch, size, size).astype(np.float16)
inputs={"A":A,"B":B}
for _ in range(32):
sess.run(None,inputs)
start=time.perf_counter()
for _ in range(128):
sess.run(None,inputs)
end=time.perf_counter()
return (end-start)/10.0
for size in sizes:
print(f"\nTesting {size}x{size} matmul...")
cpu_time=benchmark(size,device="CPU")
cpu_times.append(cpu_time)
print(f"CPU: {cpu_time:.6f} s")
try:
gpu_time=benchmark(size,device="GPU")
gpu_times.append(gpu_time)
print(f"GPU: {gpu_time:.6f} s")
except Exception as e:
gpu_times.append(None)
print(f"GPU not available:{e}")
IT Works @main comet !!!
@lament skiff ๐
yo
!voice
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
@willow wigeon ๐
Yep
@vivid heart ๐
dbiywibeij0geoisegohsegohsegdbiywibeij0geoisegohsegohsegdbiywibeij0geoisegohsegohsegdbiywibeij0geoisegohsegohsegdbiywibeij0geoisegohsegohsegdbiywibeij0geoisegohsegohsegdbiywibeij0geoisegohsegohsegdbiywibeij0geoisegohsegohsegdbiywibeij0geoisegohsegohsegdbiywibeij0geoisegohsegohsegdbiywibeij0geoisegohsegohsegdbiywibeij0geoisegohsegohsegdbiywibeij0geoisegohsegohsegdbiywibeij0geoisegohsegohsegdbiywibeij0geoisegohsegohsegdbiywibeij0geoisegohsegohsegdbiywibeij0geoisegohsegohseg
๐งญ Agenda
part 1: The Basics of print()
- The World Begins with print()
- Escape Sequences: Speaking the Terminal's Language
- The Many Faces of Hello: Quote Styles & Multiline Strings
- Raw Strings and Why They Matter
- f-Strings, format(), and printf's Revenge
- print() args: sep, end, file, and flush
part 2: regex and String Manipulation
- String Transformation 101
- Pattern Recognition: Intro to Regex with Hello
- Group Therapy: Extracting with re.search, findall, and groups
part 3: Step-by-Step: What Happens When You Use print("Hello, World") in Python
- why python don't have any main() function why programming Language need it ?
- what is the name variable?
- what is the main module?
- where does the print() function come from?
- what is the builtins module?
- what is the globals() function?
- what is the locals() function?
- how debugging works in python?
- what is the doc variable?
- what is the annotations variable?
- what is the package variable?
- what is the spec variable?
- what is the loader variable?
- what is the file variable?
- what is the cached variable?
- what is the path variable?
- what is the dir() function?
- playing with the builtins module and print() function...
- globals() vs locals() vs vars()
- what is dir() function?
- type(), id(), callable(), and hasattr()
part 4: Import System, pycache, and Execution Modes
- The Import System: How Python Finds Your Code
- The pycache Directory: Behind the Scenes of Python Imports
- importlib: The Secret Sauce of Python Imports
part 5. the python execution internals
- Breakdown of the Execution Flow
- source code -> parser -> AST -> bytecode -> interpreter
- The Role of the Python Virtual Machine (PVM)
- Disassembly of Python Bytecode
part 6. Rebuild print() From Scratch (yep we will do it)
- removing builtin print() function
- creating a custom print() function name my_print
- Recreate Python's print with sys.stdout.write() (without using print())
- Use os.write() โ go lower directly to the OS (what C does in write() syscall)
- Pure C (Beyond Python): Writing a Hello World in C and connecting to the .py
- Assembly Inside C (ASM Hardcore Mode) and how to connect to the .py
Vercel
@hoary tapir ๐

@slate narwhal ๐
Hey ๐
@rustic shadow ๐
Sup
@gleaming bobcat ๐
The eastern spinebill (Acanthorhynchus tenuirostris) is a species of honeyeater found in south-eastern Australia in forest and woodland areas, as well as gardens in urban areas of Canberra, Sydney, Melbourne, Adelaide and Hobart. It is around 15 cm long, and has a distinctive black, white and chestnut plumage, a red eye, and a long downcurved bill.
@young echo ๐
@opal pagoda ๐
@velvet lava ๐
Yo
Sorry. ๐
Walking?
Concerning.
Wiggled the cable?
Does it present itself in the device manager?
Well that's something, at least.
Tried different usb ports?
@split island ๐
It'll be something stupid.
Have an IT support person present when you're trying to replicate the problem.
They don't have to do anything.
They just have to stand there.
It will fix itself.
I wish my brain would not see learning as cheating.
...That's weird.
"Well you didn't think of that. Not your idea!"
Hate that.
Love it and hate it.
Love it because it pushes me to be more creative, more hard-working.
Hate it because it makes me not be tactical with resources I have at my disposal, i.e., GitHub.
A logical person would read, learn, and be happy that they learned sth new without feeling like a cheater or fraud.
I guess when you're trying to navigate proprietary code and copyright and licencing...I get that.
I mean it's Apache 2.0 code.
But it's not that.
It's the "I'm reading your code to learn from you and rewrite mine in a way that would be better than yours and mine" that makes me feel like a fraud.
Even if the code randomly was emailed to me, it would feel the same way.
(Not to interrupt you kind gentlement. But. It works!)
I didn't write it. Makes me feel like a fraud for trying to learn from it.
(aaand it stopped working after sending one file)
On the other hand, I'm a better coder than they are. I should learn and fix mine to make it a better experience for the user.
It's the reading their idea that makes me feel like a fraud.
All because they used a different paper than I did, not that I implemented the idea wrong.
And all because of an edge-case.
brb
Would you like us to call you a cheat?
Would you like us to call you a fraud?
"Ace, you're a cheat and a fraud." Does this feel at all fair? I don't think it sounds fair. Shoulders of giants. Suck it up and keep sciencing. ๐
I wouldn't like to be called that, but I feel like that.
You do stuff I'll never understand. That's not fraudulent.
Like it's not even "their" idea. It's a paper written by someone else. But the fact that they used it, makes me feel like "It's theirs. I should just find another way."
Waffle stomp that imposter syndrome down the drain.
I'll try my very best boss.
Suppress your feelings in a great display of emotional intelligence...yeah...that sounds...completely wrong, but you get my general thrust.
(ok it's working again. almost assuredly the cable shorting out.)
Aha. It was the wiggle.
(I wonder if Staples or Office Depot still carries Micro USB?)
Maybe you could shop for a Python calculator while you're there. They'd have a website to check stock.
(No wait, Sorry. Mini USB)
Ohhh yes
I've been wanting one of those Python calcs
Looks like they do have one. But I hate it.
@frozen bobcat ๐
Yup. Cable, confirmed.
As long as I let it sit still, it was fine
The moment I moved the calculator, Nothing
It's so horrendous.
Haa
That'd be four.
But yes.
But do tell that one to Hemlock.
@plush axle ๐
Ok this is even worse than the previous one.
OH NO WAIT IT'S BETTER ๐ข
I should've ordered that one instead. Shucks.
Yeah, they're not bad.
You ordered the three way one?
Cancel asap
Ew.
I enjoy that we're calling it that.
Possible.
That's what happened to my old phone, essentially.
In addition to the battery issues.
The port got wriggly.
wibboly wobbly
Like, not made the plug loose, though also yes, but the port itself was wriggly.
Ooof. You know its bad when the solder comes loose.
Still, a handy cable plus adapters to have at any rate.
This is why I reckon bluetooth would be a good idea. Internal.
True! So still worth the purchase.
A vast assembly of adapters.
Bad for the school-serving business model. Great as a feature.
Could be a module. Like a sim card behind the battery.
Someone put an Arduino in one with a special key combination that reinstalled all of the cheat programs after the calc was factory reset.
Asprin?
Are you dehydrated?
Does it do Numpy too?
I'd be a little surprised if it did.
But you never know.
Yeah, but these aren't your storage technologies of twenty years ago.
1.44MB
Waiting for Cord delivery driver...
I would go pick it up myself, but I haven't a car. Nor a license.
That seemed a little trolly to a minor fractional degree.
@hallow badge ๐
Why can't I turn on the microphone? For some reason I don't have access to it
!voice
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
Outninja'd.
hehe
quick on the draw
I do have a keyboard in front of me, which is a bit faster than typing on a phone.
As for me, I only type at 45 WPM on phone, and 90 on an actual keyboard, so it halves my typing speed
@manic parrot you have aws in your bio, whats your experience with that so far?
even if we dont have maroloccio in here, we still can have those types of questions lmao
Hey, Kashi.
i dont think ive ever measured my phone wpm before
And what are the disadvantages? I think I described everything) By the way, are you Russian?
I do have glide typing, so I'll use that where I can.
i meant more in the "what you did with aws, what parts you used" sense rather than just liking/disliking the experience
AH, gosh, glide typing slows me down. The tactile tapping makes it easier for me to type for some reason.
Though sometimes glide typing can result in some errors.
@dusty hemlock ๐
Osyra, because you don't have a generally objectionable personality.
Superconductor.
Eat it.
I think I have those turned off.
oh no it doesnt have nadp as a word in russian dictionary
this word: ะฝะธะบะพัะธะฝะฐะผะธะดะฐะดะตะฝะธะฝะดะธะฝัะบะปะตะพัะธะดัะพััะฐั
average biology word
ั ัะดะธะฒะปะตะฝ ััะพ ะฒัััะตัะธะป ะฒ ะฑะพะปััะพะผ ะบะพะผััะฝะธัะธ ััััะบัั) ะญัะพ ะฟัะธะบะพะปัะฝะพ
4. Use English to the best of your ability. Be polite if someone speaks English imperfectly.
this might be a biology term thing
@obsidian dragon i was about to suggest that
you need over 10 at once
sometimes
add a phone holder to a proper stenotype
status is leftover from previous pfp
QWERTY Rotary keyboard
I'm training a new Neural Network on my TI-84
I'm training it for ONE whole Epoch
Osyra, are you not into trains?
no
paleovim
ANSI sequences.
Mic sounds reasonable.
Quite clean.
You could also look into batgrl
Which is salt's thing.
This looks very promising.
yeah batgrl is amazing
@narrow token @tawny plover @polar stone ๐
The non-threeway one?
!voice
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
Yeah I haven't been in the server long enough nor have I sent enough messages.
It's here!
@scarlet halo you mean jinja not flask
react and {flask without jinja} dont intersect in a single bit
@obsidian dragon "you assume its not still used?"
:flag_su:
soviet union
@somber heath It was the old Cord not the Port!๐
!d concurrent.futures
Added in version 3.2.
Source code: Lib/concurrent/futures/thread.py and Lib/concurrent/futures/process.py
The concurrent.futures module provides a high-level interface for asynchronously executing callables...
"high-level"
The new cord's Mini-USB end is rather... bulky.
Now training updated Neural Network.
it's a 1-6-2 NN with various other changes to the circle drawing NN
Hello there, someone for doing networking?
I'm looking for someone interested in networking for Data Science. I'm very motivated and would like to meet people who are in tune with me.
what kind of networking?
Troll
no, discord being bad

