#voice-chat-text-0
1 messages ยท Page 494 of 1
please see #voice-verification
cool
@sleek otter can you hear me
Dear everyone I've 7 years experienced in web product. is there anything what i can help you?
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
web product
what set of tech?
another discord editor bug found: clicking this area does nothing when cursor is on the second line
(it should move the cursor to the tend of the first line)
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
@coarse gale ๐
?
@coarse gale I'm assuming you can hear me, yes?
I think in Rust it's technically possible to do indexing with tuples
@somber heath can you say in your voice?
but also there tuples aren't sequences
@somber heath I can hear you!
from what I understand, Rust is free to arrange tuple times in memory however it likes
because there what tuple means is different
in Python it's acceptable to use it as sequence
even though semantically tuples usually aren't really sequences
more like records where index is symbolic/generally effectively hard-coded
(in how they're normally used)
as like a struct with unnamed fields
normally you wouldn't index into a tuple
for most of the usecases where tuples are appropriate
in Python tuples have an extra overloaded meaning of immutable lists
since Python doesn't have mutability semantics
so the concept gets reused for that
I am currently enrolled in the Introduction to Computer Science and Programming Using Python course on edX. I discovered it through the server's shared resources and found it to be an excellent way to start learning data structures and algorithms. The course has been incredibly helpful and engaging.
alright
funny how most of the recent mentions of edX are by the same helper
Their problem sets are very challenging
@rotund fjord ๐
I changed my username my old one was I_like_forge_of_empires
I was the guy talking about the quadratics challenge yesterday
remember opal?
I asked my teacher
and he said that I need complex number
I included and submitted the assingment
got a 92/100
thanks for the help
as in why it's 92/100
I don't know we never got a rubric
we just sent him the our coding file
he looks at it
then the next day posts the grade
not really "next day" but after a while
what I'm used to is something like 963/1000 tests translating to 30/100 score
Our only source is the assinment instructions
or just 0
normally 0
for school and university, 0
ok? weird question?
for olympiads, some checkpoints existed
ok?
anyway, @somber heath He said it was good that I included the try and excpet and that I used the complex numbers
turns out he deducted points because my function was too long
like messy
he said I could have simplified it
yes you are correct
like those had batches of tests, some batches were skipped entirely if some earlier required batch wasn't 100%s
and for messy code, we just got a fully rejection until we rewrote code
Let me elaborate further on why he deducted
yea I know
he showed me an example of how it was short in one function
did you keep the if?
and turned out to use an entirely different library from the ones I was using
<0 / ==0 / >0 cases
!d cmath
This module provides access to mathematical functions for complex numbers. The functions in this module accept integers, floating-point numbers or complex numbers as arguments. They will also accept any Python object that has either a __complex__() or a __float__() method: these methods are used to convert the object to a complex or floating-point number, respectively, and the function is then applied to the result of the conversion.
just a sec will be back
or, the way I'd write it, I wouldn't even deduplicate it preemptively
I still prefer this over some random scoring
either accepted or not
@dense ibex membrane keyboard or mechanical?
if mechanical, you can probably just remove the switch
"put a soldering iron though keys, destroy them forever"
lol
@somber heath some happen to be just uncleanable
e.g. my current mouse
I cannot disassemble it safely
it would be a destructive action
at which point cleaning turns into a restoration activity
specifically the mouse wheel
@somber heath and good enemies too
@somber heath if you combine it with enumerate, it becomes an ordinal sin
Moscow to the other end of Russia is only a week
but that is using proper means of transportation
not a car
@somber heath in Russia centre is in the west
this famous map
west centre west north north north
south north east
yes, centre is between west and west
Prussia
nukeland
hi @somber heath
We are supposed to set our goal to always get a 100 or accepted in your case
so train ๐ ?
we only had 0 and 100, if phrased like that
no intermediate
getting less than that means we have mistakes in our code
oh
I understand what you mean
that is a smart idea
iterate until it's accepted
since in jobs you can't have any problems with your code or they will replace you
ok
@wise loom with the difference that America had more population nearby
which is what I usually do when he tells me what I got wrong
what was that place where allegedly Israel tested nukes
in cooperation with I forgot who
probably South Africa
allegedly
you guys are talking about politics?
some, like, random island
interesting
Prince Edward Islands
If you want to categorise nuclear explosions as politics.
I guess I could
why is the main Wikipedia page this weird render
@somber heath I can hear you you don't have to type I am in the voice channel
also that's quite a mountain
more than half Australia's <unpronounceable> mountain
I looked it up in google maps
@whole bear what you been up to?
@thick hamlet there is only a satellite observation, involvement of Israel is purely alleged currently
@untold python ๐
Yo
likely inferred from them cooperating with South Africa
i don't have permession to speak
yo
!voice
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
I somehow don't actually remember if I've ever been above that altitude
you have
in a plane
just kidding
@somber heath
can you do me a favor
I made this cool video looper
where it works like youtube
but you can select a specific part of yhe video to loop
I made a code for it
I want you test it
want to know if it works across other devices
trust me it has no malware
isn't that built into youtube already?
you can look att he file
with clips
youtube only allows to repeat the whole video
roughly this route
somewhat simplified
it seems to be over 1km altitude at times
ayyy Georgia represent
I have no idea of where actually we went through
can anyone test my video looper pls
we were actually quite close to Georgian border at some point
the Russia/Georgia-occupied-by-Russia border
@vocal basin can you test my video looper?
pls
I can send the file
or just the 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.
or link to GitHub repository
but there is one thing
In my code it has directories to the images
that decorate the video looper
actually
I will jsut send the file and you can open the code from there
is it a browser extension or a standalone program?
if it's standalone, how does it interact with YouTube?
if it uses undocumented APIs, then that is likely ToS-breaking, therefore against rule 5
it is a python code that uses selenium to open chrome and run your desired youtube video. you can choose the speed and which part of the video you want to loop
what is ToS-breakign mean?
you could try out your app in one of these i guess.
i wish there were some free sandboxes that had internet access inside of them..
maybe some of the ones below do have that.
https://instantworkstation.com/ - different arches and distros, no login
https://distrosea.com/ - sandbox for VMs, no login
https://neverinstall.com/ - allows selecting apps to pre-provision the VM with, multiple distros, requires login
https://copy.sh/v86/ - more sandboxes, no login, obscure os-es, directly emulated in browser, somewhat slow
https://www.bellard.org/jslinux/ - alpine, win2k, freedos, fedora 33, buildroot
if you were downloading the video instead of doing what you're doing, that would break certain very specific clauses in the Terms of Service of YouTube
I tried the app on my device already
just wanted to know if it works on any device
it did not work on my phone
no it does not download the video
you could spin up emulators for any device you'd like and try it that way
it just opens the video in youtube and automatically repeats the desired segment of the desired video.
in an emulator?
how
with an emulator of course
ok
I will just paste the code here
wait how do I go to that website where I post the code
the paste box thing
i'll return to my reading and problem solving, i have a lot to do.
good luck with your testing and everything else.
Click here to see this code in our pastebin.
ChatGPT went down and people couldn't function. But the real problem goes much deeper than a service outage. From hikers getting lost after relying on ChatGPT to people uploading their entire closets for AI fashion advice, we are outsourcing every single thought to the LLM. Recent studies suggest we are losing our critical thinking and our abili...
wassup guys!
Not much, you?
@somber heath rejoined. you see me now?
its morning here and getting back to studying.
๐
aiml
can't hear you well
currently working on llms..im trying to build it from scratch
let me adjust my sound setting
try talking
ok I can ehar you well now
Chris
can you do me a favor and test my code
hv a gr8 one guys
I have this video looper code and I wanted to know if it works across devices
Thanks, you too!
This is the way
so if it is successful there it will work if I test it on the other device itself?
ok
I wouldn't reveal that if I were you
it basically reveals location
from timezones
ยฏ_(ใ)_/ยฏ
ok
Can soemone point out the problems in this code I have
it is a bank account simulator game
python and run in VS code
Please react with โ
to upload your file(s) to our paste bin, which is more accessible for some users.
funny code my friend made
but it had some problems
@somber heath can you check it
Here are the problems I found so far:
too long
no try an except in case user inputs letters instead of numbers
weird humor
I'd like to reserve my mental energy for the problem I'm currently working on.
ok
may I have screenshare
!stream 1318626588560199692
โ @woeful blaze can now stream until <t:1752376600:f>.
!stream 1373512872688222208
โ @midnight river can now stream until <t:1752376677:f>.
Hey
FOV: 360ยฐ ร 90ยฐ Non-duplicate scan: Yes Scanning method: non-contact brushless mirror scanning Scanning distance: 30m Sampling frequency: 43200 points/second Effective frequency: 21600 points/second Circumferential scanning frequency: 11Hz Vertical scanning frequency: 180Hz Communication interfac...
This project how to create Hospital Management System using Tkinter in Python with MySQL database connectivity in Hindi
Like video๐ & subscribe my channel ๐
Follow Me On Instagram:
https://www.instagram.com/codewithkiran/
Follow me on LinkedIn
https://www.linkedin.com/in/kiran-kamble-947aa2213
Hospital Management Source Code Download:
...
@wind raptor got it finished also i cant get the photo to show
Click here to see this code in our pastebin.
CNBCโs Deirdre Bosa joins 'Money Movers' to discuss AI's newest battlefront internet browsers.
OpenAI is set to release a New AI-powered browser. OpenAI wants to replace Chrome with their own browser.
can't wait
The only thing OpenAI is missing is actual expertise writing a browser engine..
hey how are u?
good
what are u doing ?
okay
I don't really understand what you're saying I really suck at English but I understand a minimum
hi @somber heath
how are u ?
!e py import numpy as np result = np.divmod(np.arange(9), 3) print(result)
:white_check_mark: Your 3.13 eval job has completed with return code 0.
(array([0, 0, 0, 1, 1, 1, 2, 2, 2]), array([0, 1, 2, 0, 1, 2, 0, 1, 2]))
!e py import numpy as np arr = np.zeros((9, 9), dtype=int) arr[:3, :3] = 1 print(arr)
:white_check_mark: Your 3.13 eval job has completed with return code 0.
001 | [[1 1 1 0 0 0 0 0 0]
002 | [1 1 1 0 0 0 0 0 0]
003 | [1 1 1 0 0 0 0 0 0]
004 | [0 0 0 0 0 0 0 0 0]
005 | [0 0 0 0 0 0 0 0 0]
006 | [0 0 0 0 0 0 0 0 0]
007 | [0 0 0 0 0 0 0 0 0]
008 | [0 0 0 0 0 0 0 0 0]
009 | [0 0 0 0 0 0 0 0 0]]
!e py import numpy as np arr = np.zeros((9, 9), dtype=int) idx = np.divmod(np.arange(9), 3) arr[idx] = 1 print(arr)
:white_check_mark: Your 3.13 eval job has completed with return code 0.
001 | [[1 1 1 0 0 0 0 0 0]
002 | [1 1 1 0 0 0 0 0 0]
003 | [1 1 1 0 0 0 0 0 0]
004 | [0 0 0 0 0 0 0 0 0]
005 | [0 0 0 0 0 0 0 0 0]
006 | [0 0 0 0 0 0 0 0 0]
007 | [0 0 0 0 0 0 0 0 0]
008 | [0 0 0 0 0 0 0 0 0]
009 | [0 0 0 0 0 0 0 0 0]]
!e py import numpy as np arr = np.arange(10) print(arr) print(arr * 2) print(arr + 1)
:white_check_mark: Your 3.13 eval job has completed with return code 0.
001 | [0 1 2 3 4 5 6 7 8 9]
002 | [ 0 2 4 6 8 10 12 14 16 18]
003 | [ 1 2 3 4 5 6 7 8 9 10]
!e py import numpy as np arr = np.arange(9) print(arr) arr = arr.reshape(3, 3) print(arr)
:white_check_mark: Your 3.13 eval job has completed with return code 0.
001 | [0 1 2 3 4 5 6 7 8]
002 | [[0 1 2]
003 | [3 4 5]
004 | [6 7 8]]
bruh i didnt send it right ๐ญ
!e py import numpy as np arr = np.arange(9) arr[arr < 5] *= 2 print(arr)
:white_check_mark: Your 3.13 eval job has completed with return code 0.
[0 2 4 6 8 5 6 7 8]
@somber heath i got a question
it might sound a lil dumb
im new to all of this, and i always see experince people saying 'go the simple way' im gonna use iterating through a dict for example, when people say theyd rather do it simple they mean with classes or other things or just smiply iterating through a dict with no classes or nothing extra?
pythonic code.. i remember reading ab that in a book but thought it was useless lmao... i always told my self "if the code works the code works"
is there some things in python u simply cant make because of the language?
hi
@woven notch๐
!voice
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
@unreal magnet๐
yo
guys
i am
sending msg
to get
verified
so
i hope
you guys
wont
mind these chats
th
ank
yo
u
We generally do, when you do it like that.
It's supposed to be about social interaction, not gaming the system.
make a game with pygame
idk pygame
001 | [0 1 2 3 4 5 6 7 8]
002 | [[0 1 2]
003 | [3 4 5]
004 | [6 7 8]]
helllo
How to make it as an editor
!code
are these markdown based?
cool
so it is same as github one?
in discord
oh ok
cool
what do you guys do(jobs)?
Want to inject some flavor into your everyday text chat? You're in luck! Discord uses Markdown, a simple plain text formatting system that'll help you make your sentences stand out. Here's how to d...
'''gsdf'''
File "c:\Users\casti\Desktop\ \pet registration program.py", line 13, in <module>
img = Image.open("humanpet.png")
File "C:\Users\casti\AppData\Local\Programs\Python\Python313\Lib\site-packages\PIL\Image.py", line 3513, in open
fp = builtins.open(filename, "rb")
FileNotFoundError: [Errno 2] No such file or directory: 'humanpet.png'
!projects
The Kindling projects page contains a list of projects and ideas programmers can tackle to build their skills and knowledge.
k
@dry jasper bro its hard
i just tried before a while
u should have so huge dataset
it depends
performance wise yes
it is Turing complete tough, it should compute anything a Turing machine can
damn there is a minimum amount of messages to send before to be allowed to speak in a voice channel
yes I'm been sending messages like forever and still am unable to voice chat lol
how can you count it?
do you think you have already done it before ?
a don't know, look in the channel just over this one
ok then let's speak
!user
You are not allowed to use that command here. Please use the #bot-commands channel instead.
yep
lol
why that ?
godot?
accent
yes
not bad only accent lol
I never used it too
no voice for me
๐ฆ
time to boot up slime rancher
@hearty stream stereotype?
being tall is more of a Netherlands stereotype
i hear either hispanic or arabic
Hello
I was wondering when will I be allowed to talk in the server?
I needed some advice on getting started in python
@sleek otter where you from bro
brb
brazil
Iรธ how are you doing today?
just applying to jobs
a lot of people whom i tell i apply to jobs ask me constantly "how's the job search going? did you find a job? how's the job search going?!"
Literally my parents every time they call me literally every six hours
That and then family dinners: "No, still didn't find a job. No, still single. No, still no roommates."
random.shuffle(stuff)
yeah it's almost like a tv series or even a real-time football match, anything can change at any minute
meanwhile job boards filled with ghost/fake jobs, cranky recruiters, etc
I keep asking them "why do you keep asking after I tell you that when I actually get something I'll let you know?"
oh it devolves into arguments over here..
I have about eight recruiters searching on my behalf, called in every favor owed to me, and all I got out of it was a single interview in the past year and a half.
Guilt trips over here.
@pseudo sleet @whole bear ๐
heyy
do you want my jod im working with few young engineers who find testing "not necessary" ...
ok
So basically every senior position ever? Sure
give me details, we can talk in dms
... and "managers" play "hot patatoes" with theirs tasks ...
Sounds like enterprise
lol
Let me guess, new projects are still being done with a SpringBoot Java 8 backend and Oracle SQL as the DB.
Whereas the frontend is the manager's choose your own adventure novel that might be WordPress if you are lucky.
GraphQL is far too rational for enterprise. Guarantee they'll be using SOAP.
why not both
GraphQL over SOAP
Oh and also somehow death by a thousand microservices.
Including that one microservice I found when I was admin of the API Gateway: F-to-C microservice.
thousand monoliths
"we're doing microservices, but each one is importing this 10M line library"
Oh and they say they're doing Scrum, but it's really just waterfall with a kanban board.
18-months-long sprints
User stories where the points are determined by throwing darts blindfolded, and the SLAs are wishful thinking at best.
That and MTTR gets treated as a goal instead of a metric.
okay sound works apparently despite discord looking half-crashed for me
@wind raptor are you able to verify me by chance?
we dont scum or even white boards .... some managers come early and whips them clean, no problems to report is good for their wednesday meeting with Boss ...
post-enterprise scrum disorder
lol
@wind raptor what are requirements for mod/staff in this server?
We had whiteboards, but were disciplined harshly if anyone lower than VP ever touched them. Not that the VPs were ever in the same timezone as us.
๐
@willow light I dont kno0w what my next project should be, have any ideas? I know C++ and Python.
Ok
Somebody already has that on GitHub probably
!resources
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
!kindling
The Kindling projects page contains a list of projects and ideas programmers can tackle to build their skills and knowledge.
... i need a graph sturcture / package ...
not that
Strawberry GraphQL is a powerful and modern GraphQL framework for Python that allows developers to easily create robust and scalable APIs. With its intuitive and developer-friendly API, Strawberry makes it easy to define and query GraphQL schemas, while also providing advanced features such as type safety, code generation, and more.
!pypi strawberry-graphql
pyproject.toml line 38
[project.optional-dependencies]```
`pyproject.toml` line 59
```toml
fastapi = ["fastapi>=0.65.2", "python-multipart>=0.0.7"]```
integratable seems like
optional
not sure how optional
axum and FastAPI are similar
seems too complex ...
axum is a web application framework that focuses on ergonomics and modularity.
Rocket - Core API Documentation
with https://docs.rs/aide to generate OpenAPI
Aide
DHH had a funny description of Java
language written with distrust towards humanity
David Heinemeier Hansson (aka DHH) is a legendary programmer, creator of Ruby on Rails, co-owner & CTO of 37signals that created Basecamp, HEY, & ONCE, and is a NYT-best-selling author (with Jason Fried) of 4 books: REWORK, REMOTE, Getting Real, and It Doesn't Have To Be Crazy At Work. He is also a race car driver, including a class-winning perf...
the only Lex Fridman podcast I ever watched
(I did skip some sections)
DHH is quite a capable speaker, turns out
The issue with DHH is the same issue with Brendan Eich. He did good, but he needs to learn when to pipe down.
But then again you cannot be a software engineer without strong opinions.
or you can become a vibe ...
the first half of this is quite a good explanation of general ideas around Ruby and Ruby on Rails
Let me guess: Clean Code
Patterns of Enterprise Application Architecture
an actual allegedly good book
(Martin Fowler)
2002 Enterprise
so much of his stuff was written back then and is still useful
on prem cloud
same toys but cheaper and with less autoscaling
sentence that is self-contradicting
should be building for windows and testing on windows, not developing on windows
but ig they assume you cannot develop anything on one system while the final product is another
-from Smalltalk to CORBA to Java to .NET ... I miss doing Smalltalk and CORBA
thank you AI this is not what I meant
aaaaaaaaaaaaaaa
why do I need this information
google AI being excessively detached from context
they're actively harmful at times
those are real functions but they're half-deprecated half-broken
so instead of using Google at all, I went the simple route and just read the source code
This is the way
being able to read is generally useful
quick, quick, buy
... iworked with Richar Helm .... for a while ...
I'm buying it more as a reference book, just like with GoF patterns book
the closest thing I have to an allergy is how my skin reacts to water
everything past that point Martin just wrote on the website for free access
with Event Sourcing stuff being stuck in around 2005~2006
and still being too advanced and novel for basically all enterprise, except for the ones religiously misusing Kafka
how do I copy link from google
aaa
why is google so terrible
https://www.youtube.com/watch?v=shOLHtyUaFg
I wonder what would happen if engineers were mandated/forced to write at least 70% of their code with AI.
you have to use AI, it is absolutely essential
AI slows devs by 19%
https://www.youtube.com/watch?v=WP4Ird7jZoA
it's all about faster devs at the end of the day..
there's nothing slower and more costly in a Software company than the devs, that is the bottleneck.
nothing much, what about you
hru
The world turns and it burns.
@tight bane @tulip gyro After you've finished writing that, you can go for a nap nap. Here's your binky!
๐
@tulip gyro How are you?
@tulip gyro Do you ever work with C++?
Its so damm hard to add support for good error handleing for my lang
caues LLVM makes it own shit
but my lexer/parser other stuff
@tulip gyro you don't have to use it
@tight bane data
@tight bane you would've been cooked if you went through any of the interviews I had to do
hahaha
I have so much to say about this subject!!! freak I don't have my vc verification yet!
The history of artificial intelligence (AI) began in antiquity, with myths, stories, and rumors of artificial beings endowed with intelligence or consciousness by master craftsmen. The study of logic and formal reasoning from antiquity to the present led directly to the invention of the programmable digital computer in the 1940s, a machine based...
huh.... indi......... ask my code base how well it's doing after 7 years of it
!e ```py
import numpy as np
def func(*arrays):
arrays = np.array([np.zeros(arrays[0].shape, arrays[0].dtype), *arrays])
idx = np.diagflat(np.arange(1, len(arrays)))
arr = arrays[idx]
return np.hstack(np.hstack(arr))
a = np.arange(4, dtype=int).reshape(2, 2)
b = a + 4
c = b + 4
print(a)
result = func(a, b, c)
print(result)```A bit of smell and jank, but as a proof of concept prototype... @upper basin
:white_check_mark: Your 3.13 eval job has completed with return code 0.
001 | [[0 1]
002 | [2 3]]
003 | [[ 0 1 0 0 0 0]
004 | [ 2 3 0 0 0 0]
005 | [ 0 0 4 5 0 0]
006 | [ 0 0 6 7 0 0]
007 | [ 0 0 0 0 8 9]
008 | [ 0 0 0 0 10 11]]
!e ```py
import numpy as np
def func(*arrays):
arrays = np.array([np.zeros(arrays[0].shape, arrays[0].dtype), *arrays])
idx = np.diagflat(np.arange(1, len(arrays)))
arr = arrays[idx]
return np.hstack(np.hstack(arr))
a = np.arange(9, dtype=int).reshape(3, 3)
b = a + 9
c = b + 9
print(func(a, b, c))```
:white_check_mark: Your 3.13 eval job has completed with return code 0.
001 | [[ 0 1 2 0 0 0 0 0 0]
002 | [ 3 4 5 0 0 0 0 0 0]
003 | [ 6 7 8 0 0 0 0 0 0]
004 | [ 0 0 0 9 10 11 0 0 0]
005 | [ 0 0 0 12 13 14 0 0 0]
006 | [ 0 0 0 15 16 17 0 0 0]
007 | [ 0 0 0 0 0 0 18 19 20]
008 | [ 0 0 0 0 0 0 21 22 23]
009 | [ 0 0 0 0 0 0 24 25 26]]
I feel as though there ought to be a better way of doing this. This isn't exactly readable.
(To anyone else, yes, I could just use a for loop to index things into a zero array, I know.)
(Also, the goal is to reduce reliance on scipy)
Also, damnit...
!e py import numpy as np arr = np.arange(27).reshape(3, 3, 3) print(arr)
:white_check_mark: Your 3.13 eval job has completed with return code 0.
001 | [[[ 0 1 2]
002 | [ 3 4 5]
003 | [ 6 7 8]]
004 |
005 | [[ 9 10 11]
006 | [12 13 14]
007 | [15 16 17]]
008 |
009 | [[18 19 20]
... (truncated - too many lines)
Full output: https://paste.pythondiscord.com/EZFQILNJL3ZAS2SLSTW4INC4PU
Hm. Not keen.
@native finch ๐
@somber heath ๐
@left cave๐
!voice ๐
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
Phaps chalcoptera, female.
ooo nice
!e ```py
import numpy as np
def func(*arrays):
arrays = np.array([np.zeros(arrays[0].shape, arrays[0].dtype), *arrays])
idx = np.diagflat(np.arange(1, len(arrays)))
print(idx)
arr = arrays[idx]
print(arr)
return np.hstack(np.hstack(arr))
arrays = np.arange(27, dtype=int).reshape(3, 3, 3)
func(*arrays)```
:white_check_mark: Your 3.13 eval job has completed with return code 0.
001 | [[1 0 0]
002 | [0 2 0]
003 | [0 0 3]]
004 | [[[[ 0 1 2]
005 | [ 3 4 5]
006 | [ 6 7 8]]
007 |
008 | [[ 0 0 0]
009 | [ 0 0 0]
010 | [ 0 0 0]]
... (truncated - too many lines)
Full output: https://paste.pythondiscord.com/BEBNKWSQYMFBZGHQJZVS6QWIEM
@wind raptor @somber heath How are you guys dong
!e ```py
import numpy as np
def func(*arrays):
arrays = np.array([np.zeros(arrays[0].shape, arrays[0].dtype), *arrays])
idx = np.diagflat(np.arange(1, len(arrays)))
arr = arrays[idx]
print(arr.shape)
return np.hstack(np.hstack(arr))
arrays = np.arange(27, dtype=int).reshape(3, 3, 3)
print(arrays)
func(*arrays)```
:white_check_mark: Your 3.13 eval job has completed with return code 0.
001 | [[[ 0 1 2]
002 | [ 3 4 5]
003 | [ 6 7 8]]
004 |
005 | [[ 9 10 11]
006 | [12 13 14]
007 | [15 16 17]]
008 |
009 | [[18 19 20]
010 | [21 22 23]
... (truncated - too many lines)
Full output: https://paste.pythondiscord.com/ES7QY6L6EIQASVW7TJC7NRGBNQ
hi
you there chris?
@wind raptor
i guess not
im probably going to leave now
have a nice day
๐
hia
huh
wasap
btw, opal how good are you at c++
@alpine quiver ๐
discord is interesting
no
its just discord shows this
the help channel is quite hard to assist in, mainly because there are language barriers, and some people cant send screenshots or explain their issue, so it can get a bit tough when i wanna help a person but its quite difficult
alright, i need to go tend to my bf, he is needing some help in the other room
ill be back
maybe
๐
nothing can be fixed from what has been cremated
@slim mulch ๐
!voice
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
We have a voice gate to help keep the trolls down.
admin help me
hello
Did you visit the #voice-verification channel @slim mulch
thank you
i help code bot discord python vscode
I need the bot code when using the / command it will display other commands of that bot
I tried but failed
may I have stream permissions?
!stream 1318626588560199692
โ @woeful blaze can now stream until <t:1752470921:f>.
yes
you join my server please guide me i am vietnamese @woeful blaze
@vivid palm
@vivid palm
It is running
You just aren't drawing anything to the screen
๐โโก๏ธ
@brisk marsh ๐
Hi
How you doing?
Damn, ๐คฃ
toodleloo
Great seeing you!
@somber heath are you into data science?
Are you working actively on any projects? I am kinda curious.
Man, can't wait until I get speaking perms.
Not actively, no.
Oh, alright.
It's been a while since I've done the art stuff.
On a break?
My brain stopped working.
๐คฃ
#voice-chat-text-0 message I cobbled this monstrosity together today, though.
Monstrosity?
Stinky garbage.
Are we talking about javascript here?
Lol just a joke
@novel sleet hi
Sounds complicated ๐คฃ
I need to spend more time on this server to earn speaking perms ๐ญ
@somber heath are you into a tech job or studying?
Alright cool.
๐
Is he talking to himself
No actually I am listening.
Also, waiting for getting speaking perms.
I wish I could do that
Don't have perms?
I talk to myself all the time but I mostly do so silently.
lol
No for real self talk heals
negative self talk is extremely dangerous agreed.
I have a funny story.
I am from a place where English is not widely spoken
I use to talk without an audience on random topics
I did it as a habit and that's how I learned to speak in public in English
Once my sister heard that and was worried about my sanity.
Anyways gtg. It was very nice talking to you guys. I'll try to acquire the perms so that next time we can really talk.
hmmmm no
E
@whole bear ๐
I'm going to go get some cheese brb
I don't have anything python related so here is a video of the CNC plasma cutter at a makerspace
both
@weary jewel ๐
lol
@scarlet crow ๐
lol i forgot that was python i moved my project over to c++
sup
so what going on in here ?
@somber heath
He was telling us that he was a secret agent
ohh was he
bruh
yess
can we see the interface
lol
hmmm
stop bragging and be humble >:(
what your doing is cool but...
BE HUMBLE
playing wt
3 month pregnent with cpp
then there dumb
???
@bleak copper This reminds me of the e-learning platform you seem to be working on
https://github.com/story-squad
Also this is a great tool for learning just about anything https://www.perplexity.ai/
huh?
hmmmm
i get it
"you thik you the shit but your just shit"?
@bleak copper like this?
I dont know shit about coding but I code every day :)
@elder scarab ๐
Hello
How is everyone doing today?
@lost prism we are here
i need help,
Ask @wind raptor your question
No worries. You'll get there. Just use text until then.
@wind raptor bro can you give me voice access?
its weird to text alone
No.. I ment the render question...
Sorry, but we don't allow exceptions to the voice gate
oh okay
but i want help
i made my discord mode with py
a music bot
and i want to host
Ok
!ytdl
Per Python Discord's Rule 5, we are unable to assist with questions related to youtube-dl, pytube, or other YouTube video downloaders, as their usage violates YouTube's Terms of Service.
For reference, this usage is covered by the following clauses in YouTube's TOS, as of 2021-03-17:
The following restrictions apply to your use of the Service. You are not allowed to:
1. access, reproduce, download, distribute, transmit, broadcast, display, sell, license, alter, modify or otherwise use any part of the Service or any Content except: (a) as specifically permitted by the Service; (b) with prior written permission from YouTube and, if applicable, the respective rights holders; or (c) as permitted by applicable law;
3. access the Service using any automated means (such as robots, botnets or scrapers) except: (a) in the case of public search engines, in accordance with YouTubeโs robots.txt file; (b) with YouTubeโs prior written permission; or (c) as permitted by applicable law;
9. use the Service to view or listen to Content other than for personal, non-commercial use (for example, you may not publicly screen videos or stream music from the Service)
actually im not asking about yt dlp
ok ill delete and add spotify
but i need help in docking ffmpeg file
@wind raptor leave my current project but imagine imagine if i make any moderation bot and i
try to host that,
then can you tell me how to properly use use dock for external file
healthbar = HealthBar(250,200,300,40,100)
healthbar.hp = 20
healthbar.Health_Bar_Draw(screen)
im not using ytdlp
im asking about something like dis mod bot
like see in my bot i want to use custom voice then i need file like ffmpedg, and it 200mb size files so i cannot actually upload it on my github account
so i use dock method for hosting right
but
how to use that, i dont know
no, i asked about custom voice
import pygame
class HealthBar ():
def __init__(self,x,y,w,h,max_hp):
self.x = x
self.y = y
self.w = w
self.h = h
self.hp = max_hp
self.max_hp = max_hp
def Health_Bar_Draw (self,surface):
#calculates health ratio
ratio = self.hp /self.max_hp
# draws health bar
pygame.draw.rect(surface,"red", (self.x, self.y,self.w,self.h))
pygame.draw.rect(surface,"green", (self.x, self.y,self.w,self.h))
healthbar = HealthBar(250,
200,
300,
40,
100)```
bro as you said ytdlp i cannot use, but i can i add custom audios myself right?
its hard to explain i chat
when ill have vc access i will explain you what im tryng to say
Were you asking something about this?
no
yes because it wont show any hp change
yes
No thanks, I didn't think my reasoning on why I cannot help was unclear.
ok
Are you drawing the health bar in your main loop?
yes
as that one famous image says
say no to yes
say drugs to pizza
oh wait it was worse
I thought it was usual vertical vs horizontal
but the issue is that they flipped
wait no
say pizza either way
that is so much off
currently watching this keynote
https://youtu.be/pdHvC8fDC5E
CppNorth Twitter: https://twitter.com/cppnorth
CppNorth Website: https://cppnorth.ca/
Keynote: "Am I A Good Programmer?" - Kate Gregory - CppNorth 2022
Slides: https://github.com/CppNorth/CppNorth_2022_Slides
CppNorth 2022 video sponsors:
think-cell: https://www.think-cell.com/en/
Adobe: https://cppatadobe.splashthat.com/
Am I a Good Prog...
@wind raptor ๐จ๐ฆ mentioned
very N๐จ๐ฆrth
the server crashed
where the tunnel is hosted
typical ubuntu behaviour
very recently debian:buster (2019) finally got its official package repos shut down
seems like
waiting for ubuntu 20.04 to die next
or some happy funny outage is happening
it's old
1 year past EOL
why is nixos/nix image whole 70 layers
doesn't fit in the terminal when pulling
most of the data is in the second-to-last layer
Hello, support me : https://www.youtube.com/shorts/fC5XTVmQKIs
โ๏ธ๐ Dark/Light Rolling Theme Switch | HTML CSS
This is a sleek dark-light theme toggle button that allows users to seamlessly switch between light and dark modes. Perfectly suited for personal websites, portfolios, and modern web applications.
/* User - Friendly Design /
/ Pure CSS styling /
/ Animated Toggle Button */
Instagram ...
Hey, so we don't allow for unapproved advertising on the server. Can you take this down please?
!rule 6
isn't it the opposite with melatonin?
iirc OD of melatonin has lasting effects that are basically just the same as melatonin effect itself
I don't remember if withdrawal has the opposite effect
If the subject of your video comes up naturally in a chat, feel free to share it with someone that wants to see it. But other than that case, we don't ever allow self-promo.
!voice
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
It's been 4 days I've joined
Ah.
What is the message it gives you when you press the button?
Did you hit the verify button?
Yes
Did you leave and then rejoin vc??
The voice channel? Yes
needs to be 72 hours
do !user in #bot-commands
or have Chris do it on you here
53 minutes
I'll do him before he does me
52 minutes
Bruhh
what do you mean by that?
was it staff or mods that can !user <someone else>?
Soo close
I don't actually remember
Why does she have to use a line above tht text ๐
Nope...
Guess I have to wait 52 mins
I am very excited to talk actually
AFK
Back
Is there anyone interested in astronomy and space here?
me
Space is cool!
@amber raptor SAFE like Holy Roman Empire, not Holy not Roman not Empire:
not Scaled not Agile not Framework
Check out my latest video - 5 Reasons Bezos by Bo Burnham is so catchy: https://www.youtube.com/watch?v=kpiRdHP3PyQ
I DO NOT own the rights to Bezos I or Bezos II by Bo Burnham, or the images of Jeff Bezos and Bo Burnham. I simply loved the music from Bo's latest special, INSIDE, and wanted a longer mix of the Bezos tracks for my own listening ...
How can i actually talk or chatr
!voice
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
oh okay, I need to be a bit active.
Got it
I am 23, am i too old for this. I feel like a boomer๐ญ
I'm 35 haha
I wonder if you can implement Y combinator there
I got cursor for a year on my student id.
USA: leaders in exporting financial crises
Of course!
I'm reading a book called astrophysics for people in a hurry by neil degrasse tyson
IM VOICE VERIFIED
i am building cursor for excel
mountaiN_goaT_casE
word__wordWord__word
camel eaten by a snake case
mountainGOATcase
@wind raptor man, i just helped so many people and now i got like 3000 dms of people wanting extra help, paid work, some are scam links and even more random stuff like a guy was telling me that "just die u are a Fslur"
hat case
as less informed ones call it
Yikes. Yeah, that is the joy.
++
++
im making C--
Objective C: C+
Java: C+++
C#: C++++
(it not called that)
Java is a successor to C++ so therefore that
Python: C+++++
yo
yes i am
Python is older than both Java and C#
yeah getting from AST to IR
it was working before
then i went and added support for functions
and it all colapsed
i hope so
but man im glad to be back in this server
Yo
have u ever used complicated math like cos and sin in Programming @anyone
Trignometry ? or differentiation or intigration ? @vocal basin @wind raptor @obsidian dragon
in code no, in school yes
#[autodiff]
Yes, the main one is linear algebra, cause i need them matricies and vectors
matrices and vectors are used in game dev and ai so yeah they are exeptions
Clari does GIS and Earth surface is non-Euclidean so that counts
but using differentiation and integration I never saw it
i was actually working on my project to calculate multi variable complex variable for a complex function display
also weather, therefore diffeq likely involved too
fortran is older than python and fortran is used for fortran is a powerful tool if you're doing hardcore scientific computing
probably indirectly
was just about to mention fortran
literally same second you sent that
!d numpy.f2py
Copyright 1999 โ 2011 Pearu Peterson all rights reserved. Copyright 2011 โ present NumPy Developers. Permission to use, modify, and distribute this software is given under the terms of the NumPy License.
NO WARRANTY IS EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK.
that joke reminder me of the "I like my fish fishy" thing
okay dude
but in this context
not with relation to Python or whatever
@wooden pewter 300 left until the meme count
40% there
bro My course have things like newton raphson, laplace transform, reugla falsi the heck am i supposed to do with those
its just feel stupid that I dont want to study
200 cigarettes?
vapes?
lol i smoke only 10 and i feel like ah man i can't anymore
@wind raptor "natural" selection
what you do?
Python program to find real root of non-linear equation using Newton Raphson (NR) method.
famously dangerous chemical
https://en.wikipedia.org/wiki/Dihydrogen_monoxide_parody
The dihydrogen monoxide parody is a parody that involves referring to water by its unfamiliar chemical systematic name "dihydrogen monoxide" (DHMO, or the chemical formula H2O) and describing some properties of water in a particularly concerning manner โ such as the ability to accelerate corrosion (rust) and cause suffocation (drowning) โ fo...
did i get recorded?
