#voice-chat-text-0
1 messages · Page 214 of 1
!voice 👇
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
it failed
Voice Gate failed
You are not currently eligible to use voice inside Python Discord for the following reasons:
• You have been on the server for less than 3 days.
• You have sent less than 50 messages.
• You have been active for fewer than 3 ten-minute blocks.
see
Not my area.
What is your area?
3x2
What is this
I make images that people find interesting to look at.
@gritty flower 👋
Hy
To pursue the web development area, I start studying js or html and css
@river mulch @median geode 👋
Hey! I'm glad you still haven't stopped with your habit of personal greetings for everyone joining.
It's not everyone.
Hello, just checking things around I am a python dev do permission is given here for speaking in the call?
And what is the topic of the today's meeting
There's some steps to take before you can speak, there should be a channel for that, hold on...
I have no idea, would be grateful for guidance
Ah, I don't have access to that channel any more because I'm verified already.
Can you see the description above this chat? At the top it says which channel to go to to get verified.
Thanks, verified now
Great, then you can join in! Although there's not that much of a proper conversation going on, as you can probably see.
yeah, will join in some day later
!voice
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
These bot is not working I am from last 2 year these channel and I am able to speak and access of voice
Please check ✅ these kind of bugs
See these image
Hi
!voice
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
hey chris
whats up?
damn
i just completed making my ytpmv
first ever
it was better than i thought ngl
YTPMV = Youtube poop music video
its not like a trend
but its type of media i like?
idk how to explain this
wanna take a listen to it?
sometimes they are god like with jokes aside
FL studio
theres another roblox ytpmv
its on youtube
no bgm
this is a big step up from my last ytpmv, and for 9 days in the making i'm finally finished with it. the visuals were pretty time consuming to edit because i'm not a veteran or anything, and there are places i could improve in. but i'm happy with what i did.
source: roblox and possibly weird stock sound effects they yoinked back in th...
this isnt mine
but it made me inspired
i beg your pardon?
i dont remember the exact time i took
but less than a day
but finding source is hard than you think
yeah, if you're doing a new source then it might gonna take you some days
!paste @rough meadow
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.
hello Bavis!
No worries
i pasted in. what now?
hello OddRabbit!
what do i do
@wind raptor
oh wow
4???
i have 1 question
what do i do after i paste in my code to the website
did you get a link?
this explains
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.
repetition can be reduced using a list
Creating a Python string with your variables using the + operator can be difficult to write and read. F-strings (format-strings) make it easy to insert values into a string. If you put an f in front of the first quote, you can then put Python expressions between curly braces in the string.
>>> snake = "pythons"
>>> number = 21
>>> f"There are {number * 2} {snake} on the plane."
"There are 42 pythons on the plane."
Note that even when you include an expression that isn't a string, like number * 2, Python will convert it to a string for you.
its an all about me quiz
!e
score = 4
total = 5
print(f"{score / total:.0%}")
@vocal basin :white_check_mark: Your 3.12 eval job has completed with return code 0.
80%
(mostly trying to remember myself how to do it)
most popular, but not run by PSF
oh
(python software foundation)
Nice
webhook usually is for events
and "serverless" covers both that and RPC, and more
odd term, but not sure if there's a better alternative
y is everyone so smart 
"on-demand" is more general than "serverless", as far as I've seen it used
im not smart though wdym?
lol
I don't what "smart" means anymore
the world is too complex for such labels
very well knowing
hey does anyone know where i can learn audio and video stuff? (C++)
Sorry about that. Ive muted myself.
I just thought you'd want to know haha
i guess not :(
Hey
I need study this
Html CSS can be good start
Then Javascript
Then dive into official documentation of one of popular frameworks (react, vue.js for example)
And start making projects
👍
Give me advice on where to study
Ty
No problem 😄
depends if @wind raptor wants to flex his degree in yapology
I'm doing an assignment.
Okay, jeez
Have fun >.>
do you guys uh
Thanks
know any website that lets you learn audio stuff in C++
"audio stuff" is very vague
Ah yes, I remember this conversation
are you familiar with using C++ at all though
I thought you were doing that in Python?
I remember you're using Python because it's the only language you're familiar with
Do you?
That's a pretty complex project for just starting C++
I believe in you though
thanks :D
If you're not sure, then you shouldn't do it yet
focus on understanding what you're writing in first
I don't know C++ so I am of 0 help unfortunately
what does that mean?
Don't work on a project that's out of your range of skill
You won't learn; just be frustrated with a lot of new terms at once
Focus on learning C++; get to know what you're developing in
Then orient yourself to your project
There's this YouTube channel called javidx9 (OneLoneCoder) that has done some audio stuff in C++ I guess, but once again it's not simple if you're new
thanks, let me see their channel.
you don't get to say that, canadian
i guess i can say i know
If there's hesitation behind it, you shouldn't
"I guess", "maybe", and the sort means you're not ready
You've been learning C++ for what... a week?
That's not nearly enough time for something of this scale
There's a LOT that's going to go into this project
which is...?
There's just a lot of prerequisite knowledge you need first before attempting this
By all means, learn as you go, especially with DSP, but it's not efficient to go in without knowing the language you're writing in
I'm not your mom, but
I would just recommend holding off for a while
at least until you get a little more time with C++ under your belt
can you like at least test my skills or something

I'm speaking mostly from experience here
It's not fun walking into something you don't understand
If you've spent less than say 4-6 months programming in C++ you likely don't have enough familiarity with most of the core features to jump into a big project like this.
Obviously this also depends on how many other languages you know. If it's your first/second one then probably longer than that. If you are already familiar with say C/rust/Go etc then much shorter
👋
hola
almost done with my personal website
That's awesome!
i can show
tho it's basic
if you don't mind throwing up a development server on your localhost
I'll give you stream perms
!stream 999482770957021204
✅ @golden sonnet can now stream until <t:1699720074:f>.
Yeah, let's see it
aw man
does it show?
nah, you've got a black screen
Being good at programming takes time; you can't do a marathon when you don't know how to run properly
watch me
also, didn't notice you won code jam mu, good job
does Lua and python count about what you're saying? the "how many other languages you know" part?
Twas a while back, but thanks!
yeah we can see it @golden sonnet
still gotta show love regardless 
Unfortunately that's a question you need to answer for yourself. in my opinion they help with programming fundamentals, not with details of a low level programming language, but I have no idea what you've done with them
looks nice so far @golden sonnet
You just need some small graphical adjustments imo
i'll take recommendations 🙂
i'm a front newby
i guess i did OOP thats all i can say
I believe it was your projects page;
the horizontal bar was hugging directly on the bounding boxes for your github frames
you might want to add border to the bottom of that bar
yeah
i'll probably move the whole page
having api in the landing page slows dows stuff
and the line is annoying, yes
django-debug-toolbar is such a nice tool
@ebon mist Did you say Ren'Py?
yes
What about it?
Oh, there's a tutorial on the main page
Hold on
Oh, that's all you really need actually
Ren'Py is rather simple all things considered
'ello 'ello
where do i learn about DAWs
digital audio workstations ?
i wanna cry
some fit on a raspi , there is another one , need to find it
this is for video - audio editing the whole OS is directed to it
plugins are the cornerstone of any DAW
they extend what effects are possible with your audio
whats a DAW
!voice
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
yeah, we have a voice gate
well uh i might just get started from plugins then
@wind raptor don't you have a project to be finishing
where can i start?
are you
go get Audacity , its a mini DAWS
this is just making me frustrated
@short owl this is not about finding a DAW, it's about building one
ohhh , well Audacity is open source can look at the innards as a guide
@wind raptor you couldn't make a AAA game even if you had the skill though
you have no team
no funding
_>
I'm just being petty
(and pretty)
hardware is easier than software
hardware has set in/out pins , software is forever expanding all that math and logic nightmares
years to learn math and programming , and when you get caught up can be obsolete
imma go ask chatgpt
how do i do real time stuff with audio?
usually need a powerful DSP
audacity cant do that right?
digital signal processor
most sound cards have a DSP to do effects like echo , or sound like a concert hall
thats new
there are modules for audio in python and FORUMS that chat about messing with them
but you want to build a DAWS from the ground up ?
yesh
are you a musician ?
kind of
what instrument
a bit of music ability kinda helps
but if you love music - play lots all the time that also helps
what
did you ever make a custom CD had to edit it
math is a nightmare
what do you do with math ?
like bro how tf do i calculate a progress bar
i draw stuff in pygame
ooo
Tkinter progress bar ......
how tf is that implemented
we have our reasons @tepid mantle
did you draw on paper what you want your BAR to do , how its animated , what color
nah
bro how did i even get a zero division error
use a scale widget to control progress bar and experiment
QT ?
im using plain text
i use free stuff
======------ like this
ncurses is a text thing
thats my progress bar
did you look at that
its not for the command line
the thing im making
its a polybar script
for spotify
it originally just showed the current playing artist and song
ohhhhh , i wondered how that worked , just a script
but i edited it to display playback and a progress bar
also i didnt make the original script
go look through the rooms - look at profiles - many have the spot thing , just ask them
they likely have link to page they used
most programmers are copy and paste artists
when you find out let me know - i want try something like that
gotta mess it up - look busy
@whole bear a tad busy
numpy has some stuff for that - but scratch coding is good also
merge_arrays --- need to try that one day
hi
I need a group of 5 people, id prefer people ive already talked to in here via voice chat to stress test my simulation and give recommendations / feedback on what needs to be improved, as of yesterday the code / idea is copyrighted through my LLC. You will be sent a link via DM to a private repsitory on github with the download link to the code. INQUIRE FOR MORE DETAILS. THANKS -IAN
!e
class Car:
def __init__(self, brand):
self.brand = brand
my_honda = Car("Honda")
my_ford = Car("Ford")
my_hyundai = Car("Hyundai")
for car in [my_honda, my_ford, my_hyundai]:
print(car.brand)
@wind raptor :white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | Honda
002 | Ford
003 | Hyundai
!e
class Car:
def __init__(self, brand, honk):
self.brand = brand
self.honk = honk
def honk_horn(self):
print(f"My {self.brand} goes {self.honk} {self.honk}")
my_honda = Car("Honda", "beep")
my_ford = Car("Ford", "boop")
my_hyundai = Car("Hyundai", "AHHHHH!!")
for car in [my_honda, my_ford, my_hyundai]:
car.honk_horn()
@wind raptor :white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | My Honda goes beep beep
002 | My Ford goes boop boop
003 | My Hyundai goes AHHHHH!! AHHHHH!!
hey guys
what are you guys doing
hey Chris how should i implement portaudio
uhh
Open-Source Cross-Platform Audio API
welp im screwed
i have seen that before
i have no idea how to compile it
well the thing is
im using Qt Creator not Visual Studio
Qt Creator
yeah
da hecc is MinGW
im on windows
i dont know
i have ran it before
oh i have MinGW
it was downloaded with my Qt Creator
@cyan wigeon 👋
!stream 239917638656983040
✅ @willow light can now stream until <t:1699757415:f>.
"BIKF 120200Z 08014KT 9999 SCT034 BKN160 03/M00 Q1006"
Keflavik International, 12th day of the month at 2am UTC, 80 degrees wind direction at 14 nautical miles per hour, perfectly clear air, scattered clouds at 3400 feet, somewhat more clouds at 16000 feet, temperature is 3 C dewpoint is 0 C.
!voiceverify
Had to go due to a call. But I would talk more on this
bruh highschool teachers were the same I had a teacher that knew nothing about html or css but was still teaching it for a Graphic Design class and all he taught for the whole thing was the basics of how fetching a website works and that was it and for the whole rest of the lesson he told us to teach ourselves and directed us to the w3 website and said we had to make a website based off of a shop in less than a week
yea .... that sucks. At least in HS it can make more sense. But also very annoying when they give teachers those classes
I ragequit the C Programming for Non-CS Majors Course because the teacher kept taking off points for me not using Windows.
and html and css was my first intro to coding in general and I hated it returned to learn python, java, and SQL and I had so much of an easier time teaching myself
I hated highschool no joke teaching yourself is so much better
Yea. HTML is a strange language to learn.
I learned most of what I know from teaching myself
And I code circles around a lot of people I know. Not becuase I am that good. But because only doing school work will not prepare you well
I find school fine for basics but going out in the world and teaching yourself is so much better than paying god knows how much for a very strict curriculum
So, yes but also no. Experience is king. Nothing beats it.
However, school has its pros as well. For one, it opens a lot of doors and you can meet a lot of people. It also makes sure you learn some of the boring but important things
tr tr
You need a good mix
plus it actually gives you the paper to do most things
Not going to school is fine. But it means you will need to do a lot more work to get a job.
Nah if you need to learn math https://www.youtube.com/@ProfessorLeonard
This Channel is dedicated to quality mathematics education. It is absolutely FREE so Enjoy! Videos are organized in playlists and are course specific. If they have helped you, consider Support:
You may find and support me at Patreon.com/Professorleonard
Please consider "Whitelisting" this Channel on your AdBlock if it is enabled.
Your su...
I didn't go to a single class for calc 3 and just watched him and get an A in the class 😄
alright; night night :zzzz:
hi arrowsquid
I wouldn't be where I am today without Salman Khan's original 240p videos from 2007
yeah no, learning on your own is fine if you have your own guided way of learning the topics, but learning on your own also doesnt work as well when it comes to really broad topics
its way easier to take an introductory class on something you don't know than to make up whatever the hell it is that you're going to pick and choose
if you're aware of how short-term storage and long-term storage of your brain, then you'll pick up why classes really help with the long-term storage
and not the short term
if you just google everything and don't actually practice or hold yourself up to a standard
you won't retain any useful information
you may fool yourself into thinking you have, but after years of doing it the way I'm advising against, I have to say a hard no
again, if you can have a self-paced curriculum
then its all good
but majority of the people who approach learning have no idea how to do that
i'd argue that programming and other topics is hell trying to establish a routine for
I usually try and contribute at least 1 thing to git hub everyday either that be in the morning or after work
that's good
plus the graph on github is good data that I can reference upon if need be (or possible jobs can reference)
!pep 8
!pep 20
!e
import this
@willow light :white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | The Zen of Python, by Tim Peters
002 |
003 | Beautiful is better than ugly.
004 | Explicit is better than implicit.
005 | Simple is better than complex.
006 | Complex is better than complicated.
007 | Flat is better than nested.
008 | Sparse is better than dense.
009 | Readability counts.
010 | Special cases aren't special enough to break the rules.
011 | Although practicality beats purity.
... (truncated - too many lines)
Full output: https://paste.pythondiscord.com/PBXGJTDLXI5AVQVE6VLFNSE3XQ
!e
import gravity
@cosmic bison :x: Your 3.12 eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "/home/main.py", line 1, in <module>
003 | import gravity
004 | ModuleNotFoundError: No module named 'gravity'
!e
from future import braces
@willow light :x: Your 3.12 eval job has completed with return code 1.
001 | File "/home/main.py", line 1
002 | from __future__ import braces
003 | ^
004 | SyntaxError: not a chance
!e
import antigravity
@cosmic bison :warning: Your 3.12 eval job has completed with return code 0.
[No output]
!voice 👇
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
@somber heath got it, i'll get on with it
i mean
@somber heath again? i didn't understand a thing haha
I need Have 50 messages in the server
ummm, what brings me here, good question
boredom?
idk
not just boredom, but yeah no I like programming so I guess that's also part of the reason why I'm here
you're fine no worries :)
don't worry for me, I can understand you loud and clear now
i was having trouble before
yeah, very unusual in general i guess
I CANT speak ,I dont have permission
!voice
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
hello guys~ I'm here to learn python
that sounds great
do you have an understanding about programming at a basic level?
@trim willow
um
i know python ofc
a bit of js
a bit of c++
and i guess that's about it
I’m a data engineer
i recently got into batch files so idk if that counts as well
often use pandas
i can make a quadratic formula calculator with c++
maths
it's easy as f-
look
hahahah
interesting
let me see if i understood
you're using dimensions as blocks to store data?
yes
of course
okok u surely can
use Two-dimensional array to store
like SQL stucture data
that's cool
yep
so a 2d structure would look like
list = [[]]
??
@somber heath
sorry my english is a little weak ,my native language is not english . i here also can learn english .lol hhhhhh
yes array
so the more lists inside a list more dimensions?
list = [ [1,2] ,[2,3]]
crazy
u can put more ,like list = [[[]]]
yes of couse, i already assumed that
btw, am I allowed to send C++ code here? I don't want to break any rules so if I need to I'll just DM anybody who wants it.
but I only deal with 1 or 2 dimensions
the quadratic formula program
beyond 4 dimensions it gets more complex
@somber heath
yes u r right .
it's hard to imagine the limits of that haha
hahah aight
just making sure
ok!
How to make a quadratic formula calculator using C++:
#include <iostream>
#include <cmath>
using namespace std;
int main(){
int a, b, c;
float x1, x2;
/*You can also ask for the values of the a, b and c factors all in 1 line, just that I forgot how to do it (without a loop) haha*/
cout<<"Value of a: "<<endl; cin>>a;
cout<<"Value of b: "<<endl; cin>>b;
cout<<"Value of c: "<<endl; cin>>c;
x1 = (-b + sqrt(pow(b,2) - (4 * a * c))) / (2 * a);
x2 = (-b - sqrt(pow(b,2) - (4 * a * c))) / (2 * a);
cout << "Solutions are " << x1 << "and" << x2 <<endl;
return 0;
}
all made by me btw :)
cout is your python print
int and float define integer and float variables
<<
yeah but one thing i have not figured out how to do in C++ yet is how to add variables inside ""
like in Python you can do this:
x = 1
print(f"This is {x}") #Output: This is 1
i wanna replicate that in C++
because the last line looks ugly
cause the << is like parenthesis and commas at the same time
weird
yep
nope
lol python is beatiful and consise
hhhh
but I am making a game with a friend using C++ though
*concise
cool i only use pygame to make games
for the GUI we're using SFML
this year on school we're gonna use pygame as well
yo
very good , r u student majoring in computer science
ok i see
hi spelis
lol ,continue
cool spotify plugin for polybar
use terminal?
?
Hello
hi luffy
Static website?
i know all those except vue
vue is a frame
yea framework
Yeah
yes framework
No problem
chris and hemlock are super cool
!code
ai is really stupid sometimes
asked if it was possible to render images to polybar and it just made me render a nerd font symbol
like just say no?
print('Hello world!')
bye
Bye
bye
@azure sparrow 👋
ok cya!
Hello hello
code
!eval [python_version] <code, ...>
Can also use: e
Run Python code and get the results.
This command supports multiple lines of code, including formatted code blocks. Code can be re-evaluated by editing the original message within 10 seconds and clicking the reaction that subsequently appears.
The starting working directory /home, is a writeable temporary file system. Files created, excluding names with leading underscores, will be uploaded in the response.
If multiple codeblocks are in a message, all of them will be joined and evaluated, ignoring the text outside them.
Currently only 3.12 version is supported.
We've done our best to make this sandboxed, but do let us know if you manage to find an issue with it!
@frosty marlin 👋
Yo does anyone know if i can see how many messages i sent atm?
Provided to YouTube by Universal Music Group
One Way Or Another · Blondie
Parallel Lines
℗ 1978 Blondie Music, Inc.
Released on: 1978-09-23
Producer: Mike Chapman
Associated Performer, Vocals: Deborah Harry
Associated Performer, Guitar: Chris Stein
Associated Performer, Drums: Clem Burke
Associated Performer, Keyboards: Jimmy Destri
Ass...
Provided to YouTube by Aegean/Epic
Wake Me Up Before You Go-Go (Remastered) · Wham!
Twenty Five
℗ 2006 Sony Music Entertainment UK Limited
Released on: 2008-06-17
Arranger, Composer, Lyricist, Producer: George Michael
Auto-generated by YouTube.
damn plome knows me
why haha?
well it's 35 now
Yeah found it
ty ❤️
Opal am i good to send like 5 more msgs
I so close
Amsterdam kinda fire i was there like 2 months ago
get
me
in
please
@tribal mulch 👋
It's publicly accessible information.
warme schokomel
warme chocomel
ik ben sechsten joahr alt
hallo, ich bin MD
ik ben zestien jaar oud
@sour geyser 👋
Jij wordt een heuse masterchef met deze multifunctionele grill. Je maakt van een simpel broodje kaas een heerlijke tosti. Of wat dacht je van een afbakbroodje met mozzarella, tomaat en pesto? Na een paar minuutjes tussen de grillplaten heb je een panini om je vingers bij af te likken. Maar deze grill kan meer dan alleen brood toasten. Zo bereid ...
@somber heath cya!
Hi
hi
I have one question
go on
I study this and now?
Print
Variable
Input
Int
Float
If
Else
Elif
Functions
modules
What is this
you're welcome
@gentle flint i think that's a bad sign (the graphics card I was talking about earlier has that)
And that as well
(On the other side)
I read on the internet, one said that with 1 it was fine
Ok
hi
Cats everywhere are promising big changes for a taste of wet cat
food. What will your cat do? Tell us: http://www.IfYouFeedMe.com
Subscribe to Friskies YouTube channel: https://www.youtube.com/user/PurinaFriskies
epistemology
@normal siren 👋
good morning guys
Heyo 😄
!voice 👇
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
👋
Hey @woeful salmon
@forest barn 👋
Not too much. Just studying some linear algebra.
oh
nice! 😮 tell me if you need any help with that :3 that's one field of math i basically use everyday lol
I've never used that. If you find value in it, you should use it.
ah btw how's the django project going?
Nice! Will do.
Slow and steady. My student just implemented two forms.
Gonna work on some more today in ~ 6 hours
@mental plank 👋
the guy i was teaching django just made 1 project and then said he wants to try out javascript now to see which he likes better 🤣
Hello @somber heath
@somber heath The first person to get my username pronounciation right lol
Yeah, my guy wants to specialize in Django so this is where I live now haha
Cool vid imo
i think its more about which language you like better really
as for any really big scale project backend isn't going to be either
We're going to do a few projects in it and hopefully he gets that muscle memory
javascript or python (mostly.....)
'jondgya' in my native language means cockroach
z just to make it sound cool
i speak 'kannada'
kannada?
needs to be a good balance between staying consistent but adapting to newer things as well
i'm still using next.js 12 on most my projects
13 is better but i tend to copy from my old template which uses 12
habit
@uncut ferry 👋
Building on more than 50 years of lock engineering innovation and offering the highest level of protection against physical attack and unauthorized key duplication, patented Medeco 4 (M4) cylinders are UL 437 Listed with solid brass construction and hardened-steel inserts to thwart drilling attacks.
Medeco 4 cylinders are designed to help give ...
hi
Where are you from ?
iran
me too
how you doin'?
qom
im from tabriz tho
mine tabriz
oo
21
i'm 15
hmm
the midle of teenage
yeah
15 was good for me
@snow dune thanks to CSGO this is now international vocabulary
@golden sonnet may you dm to talk together ?
sorry i don't do dms
k
the most non-technical interaction in DMs (with people I don't know) I had is probably when someone asked about where pfp was from
I don't even remember who asked me this
if you're inviting to a public/discoverable server, you can just send the name instead
invites get auto-removed
(except those whitelisted)
does it show up here?
are there other websites pointing to it?
I should probably learn about Concepts in C++
@wet scroll
and generally their templating system
I've made a polynomial solver in C and it's slightly cursed
@golden sonnet have you learned python ?
a bit
I might have that code in one of game mods I took part in making
but not obfuscated
I recently had LVM crash because of a power surge
one more reason to switch to ZFS
what you can do with python (hardest thing you know) ?
interesting
i know a bit of django
for web development
Seems like you want to become web developer, Right ?
I somehow still haven't tried using Django
and flask is bad
django gives me slight java feels when i use it xD its more strict than any javascript / go framework i've ever used
it's a framework
its nice to have the safety and everything already provided
django has so many tools ready
i have a hard time beliving it
FastAPI tries to be more like a minimal tool/library which you can combine with other tools/libraries
and so does aiohttp
but aiohttp for server-side is cursed somewhat
it sure does allow doing something you shouldn't do
it prefers declarative over imperative
🤣 welcome to typescript
but not really
type hints over manually figuring out data
yeah but i haven't even gotten to making web yet
... and if you need lower-level control, you can just interact with FastAPI's underlying web server, starlette
https://www.youtube.com/watch?v=PjKlMXhxtTM @wet scroll
introductory guide to pitch shifting algorithms
#SoME3
code: github.com/JentGent/pitch-shift
===possibly helpful papers===
SOLA: doi.org/10.1109/ICASSP.1985.1168381
WSOLA: doi.org/10.1109/ICASSP.1993.319366
Phase vocoder: doi.org/10.1002/j.1538-7305.1966.tb01706.x
Phase vocoder: doi.org/10.1109/89.759041
===attributions===
auto-tuned music da...
i'm taking it slow tho
looking at django and fastAPI at the same time is brain melting
you dont know how much i wanna thank you
the most fun thing I did with FFT was probably a program to repeat the same sound N times
(complexity of which doesn't depend on N)
I've watched a few minutes of it and it looks like really good content
are you familiar with caching?
almost 2 hours of a talk about caching
https://www.youtube.com/watch?v=F8sZRBdmqc0
i don't know if i should use redis or just go with normal database
it's just one page
A bit.
abstract it away, provide a choice when deploying
like how Nextcloud allows to choose between:
redis
memcached
no cache
how heavy is redis to deploy?
i wanna keep it minimal
I have two instances running rn (will check resource usage)
https://www.youtube.com/watch?v=i_Iq4_Kd7Rc
idk if this is even related but i remembered having seen this from fcc
In this tutorial you will learn modern C++ by building an audio plugin with the JUCE Framework.
✏️ This course was developed by Matkat Music. Check him out on YouTube and Instagram:
🔗 https://www.youtube.com/matkatmusic
🔗 https://www.instagram.com/matkatmusic
💻 Code: https://github.com/matkatmusic/SimpleEQ
💻 Download the completed plugin: http...
okay, that was a lie, one is not running
Nextcloud's redis takes 6 MB and 0.3% CPU core on my server
that sounds cheap
it of course depends on the size of data you're dealing with
for redis, there may be multiple ways to do the same thing
just a few apis in a a page
especially if you can sacrifice correctness
sharelatex -- 5.5MB/0.25%
i should check if database dumps the old data :
@snow dune PIC16F84
quite a good talk to get overview of caching, mostly historical
i saved it
not directly related to caching, but related to Redis (if you're willing to adapt it as a core dependency of the project)
https://www.youtube.com/watch?v=2SpYbEfp4vA
that one has a fancy title
i should see what it is
ah
i should've gone for frontend dev :p
I only remember watching one JS-adjacent course
about Node specifically
but I did that mostly for how meme-y it was
because it avoided npm
(but I didn't watch it in full because I wasn't interested enough)
it was an overview on node itself
showing how to build stuff without bringing in extra dependencies
"The Node.js Master Class - No Frameworks, No NPM, No Dependencies"
I have no clue whether it's a good course or not
it doesn't sound practical, so I don't recommend it
now that there's so much definitions of backend/frontend
and next.js is both
then browser js sometimes falls in both
separating server-side rendering and API is probably a good idea
yeah, Django is basically same
I've stopped really doing web dev in around 2020/2021
and whatever I did back then was quite broken
terrible framework in backend
terrible framework in frontend
(those frameworks being Flask and Angular)
at least not Angular.js
it officially died, like, only recently
1.5 years ago
Well, what do you guys suggest for app dev ?
There's so much to learn and I'm stuck like there's java, kotlin , flutter , react-native and stuff like even electron exists . I just want it to be lightweight .
lightweight in what sense?
development cost? app speed? app size?
App size
for android apps, Kotlin, as preferred by Google
(for up-to-date API support/code examples)
Which is easier for someone from a python background
Kotlin syntax is odd, yes
iirc, it has also some dependency injection supported by syntax natively or something of similar cursed-ness
👍🏼
and then Java errors in Kotlin code
Java/Kotlin/C# are close enough to Python because it's more or less the same OOP model
there is no principal functionality difference between them, as far as I've seen
out of common stuff I've seen that differs, may be dynamical creation of fields
which is bad in Python but allowed
yeah, Python takes work to translate to those
(mostly about common OOP patterns working for both)
if you apply OOP patterns to Rust, there will be pain
yo
if you apply OOP patterns (common in C#/Java code) to Python, it will work normally, but there may be better options
now you do that in javascript and some clean code people would say that's amazing meanwhile everyone who just has alot of experience with javascript will cry
does JS now support stricter classes or is it still a hack?
its a hack but it now supports private properties....
the way you make a property private is prefixing property names with #....
class MyClass {
constructor() {
this.#foo = "foo";
}
}
same for private methods
are they isolated per each prototype the object "inherits" from?
never tested it as i just avoid classes in js at all at all costs
but i would guess they've probably found a way to do it
JS has, like, three object models now, apparently
closures as methods
prototypes
classes
classes are syntactic sugar for prototypes
yeah
closure-based approach seems strictest but costly
though going through the prototype chain is costly too
idk what would perform better overall
creating many objects -- optimised for prototypes
accessing the same object often -- idk
i just don't use classes or closures until i absolutely need them
like if i'm making a canvas based background effect or something with particles following your mouse i'd probably make a particle class
o- o
both achieve what OOP is often about which is abstraction (of specific implementation/behaviour/etc.)
(in case of Java/Python/JS, that abstraction persists in runtime, unlike most Rust code)
if that's unneeded, it might be better to just call some named function which knows the structure of data
contrast to that, Rust's abstractions via traits/generics/etc., often aren't kept in runtime and allow for simplification of codebase without performance cost
- Rust sometimes forces (strongly suggests) to generalise
in a multi paradigm language the paradigms are just tools so you can use the one that makes more sense for a particular usecase
because borrow checker and type system are both righteously dumb
rust is good but it comes at the cost of writing alot of match statements or dealing with ugly unwraps as well so tradeoffs everywhere 😦
it provides tools to simplify matches/unwraps/etc. if those are repetitive
including extension traits
you mean like except andunwrap_or and stuff?
yes, and beyond that
(Rust doesn't have a notion of an extension trait, it's just a natural consequence that arises from the type system)
i guess so 
altho rust for web development is still not that good i feel
i remember using https://yew.rs/ back when WASM was the hype
not a great experience
the only reason i'm thinking about wether its good for web dev or not is because that's what i do for my job tho 🙂 for other usecases it is indeed an amazing language
can't wait until someone makes a good game engine with rust
that's one i would want to contribute to
in one of my projects, have to work with this nested result pattern often;
so for combining the functions, I have something similar to and_then_nested like in the example:
fn example0() -> Result<Result<Value, Inner>, Outer> { /* ... */ }
fn example1(value: Value) -> Result<Result<Value, Inner>, Outer> { /* ... */ }
fn example2() -> Result<Result<Value, Inner>, Outer> {
let result = example0()?.and_then_nested(example1)?;
Ok(result)
}
(removed map_inner because that was the wrong place to use it)
the code would also normally not have Result<Result<...>, ...>
and instead use a type alias
context where this makes sense:
parsing something but either continuing when errors occur, or breaking on first error
the 1 thing i don't like about enums in rust is the same reason i don't like the python walrus operator
asignments magically happen inside of other statements
not on a separate like which just makes me uncomfortable
match-assign generally not enums specifically?
Rust very rarely uses statements, compared to Python
almost everything is an expression, so nesting something inside of values is frequent
i mean the syntax specifically not the concept
the inside-out-ness of it? (having new identifier nested in the pattern)
n = 999
if (r := (n % 2)) != 0:
print(r)
if let Some(...) - someFunc() {...}
yeah, for Python it's more normal to have variants as subclasses, so even match looks differently
match thing:
case Variant() as variant:
...
...
i just prefer having an explicit assignment happen even for unwraping something out of an enum
rather than doing it inline in a match or if let
this does lose some strictness, but if you want strictness, you can go with a derivative of the Visitor pattern (but that will end up in Java-like hell of one-use classes)
there's also now let else which didn't have a style guide for 6 versions thus breaking rustfmt
... or 7 versions
1.65~1.71, iirc
ye just tradeoffs
i mean if i'm working on a rust project i'd probably just use the conventional ways of doing things just to make my own development experience lesser of a hassle and be easily able to get help if i need to
so people don't hae to decrypt my code to read it
💀
i gotta go now tho since its diwali (indian festival), happy diwali and see you guys later 🙂
Is there any food you like for Diwali?
nothing special just going to eat food i generally love + some sweets
that's all
Sure but what is it called
cya
why no talk
heheehha
@whole bear PyCharm
<class 'bool'>
Nerds

@wind raptor what business do you have here, canadian
Why would you want to check?
You can just context manage it and guarantee its closure anyway.
its because i dont want to close it if its opened
Again, you can just context manage the file and do whatever you need to in that with block
I was summoned by our amazing television shows.
You dare moon me, the person named after the moon?
I'll have your moon for that, Chris
Mark my words
Toon's gotta moon

Moon's gotta end you soon
@somber heath I wanna show you something
these are reverse dependencies for Python modules
I like checking what projects use a specific library
guys check out my
custom rich presence
haha it works!
fuck no
it doesnt
same @somber heath that shit is ass
i always juse use view as desktop
This one goes out to you @desert vector
!stream 317279909112446976
✅ @somber heath can now stream until <t:1699832555:f>.
!stream 372380672641335296
✅ @minor sage can now stream until <t:1699833788:f>.
[16, 0, 48, 1, 16, 0, 48, 1, 16, 0, 48, 1, 16, 0, 48, 1, 16, 0, 48, 1, 16, 0, 48, 1, 16, 0, 48, 1, 16, 0, 48, 1, 16, 0, 48, 1, 16, 0, 48, 1, 16, 0, 48, 1, 16, 0, 48, 1, 16, 0, 48, 1, 16, 0, 48, 1, 16, 0, 48, 1, 16, 0, 48, 1, 16, 0, 48, 1, 16, 0, 48, 1, 16, 0, 48, 1, 16, 0, 48, 1, 16, 0, 48, 1, 16, 0, 48, 1, 16, 0, 48, 1, 16, 0, 48, 1, 16, 0, 48, 1, 16, 0, 48, 1, 16, 0, 48, 1, 16, 0, 48, 1, 16, 0, 48, 1, 16, 0, 48, 1, 16, 0, 48, 1, 16, 0, 48, 1, 16, 0, 48, 1, 16, 0, 48, 1, 16, 0, 48, 1, 16, 0, 48, 1, 16, 0, 48, 1, 19
!stream 696634651875213322
✅ @unborn storm can now stream until <t:1699837035:f>.
@tardy prairie 👋
What is skl?
How old do I have to be to join this group chat
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
3 days on the server, plus other requirements.
If you're referring to your actual age, I believe there are resources on Discord's website that may be relevant.
@dull pumice 👋
Looks a lot like Calibre
Java assignment
!stream 717749310518722691
✅ @whole bear can now stream until <t:1699845444:f>.
!warn 698194230929129563 Please do not use soundboards in our voice chat.
:incoming_envelope: :ok_hand: applied warning to @final quail.
!e
code
!eval [python_version] <code, ...>
Can also use: e
Run Python code and get the results.
This command supports multiple lines of code, including formatted code blocks. Code can be re-evaluated by editing the original message within 10 seconds and clicking the reaction that subsequently appears.
The starting working directory /home, is a writeable temporary file system. Files created, excluding names with leading underscores, will be uploaded in the response.
If multiple codeblocks are in a message, all of them will be joined and evaluated, ignoring the text outside them.
Currently only 3.12 version is supported.
We've done our best to make this sandboxed, but do let us know if you manage to find an issue with it!
!e
class Chessboard:
def init(self):
# Initialize an 8x8 chessboard with pieces represented by their initials
self.board = [
['r', 'n', 'b', 'q', 'k', 'b', 'n', 'r'],
['p', 'p', 'p', 'p', 'p', 'p', 'p', 'p'],
[' ', ' ', ' ', ' ', ' ', ' ', ' ', ' '],
[' ', ' ', ' ', ' ', ' ', ' ', ' ', ' '],
[' ', ' ', ' ', ' ', ' ', ' ', ' ', ' '],
[' ', ' ', ' ', ' ', ' ', ' ', ' ', ' '],
['P', 'P', 'P', 'P', 'P', 'P', 'P', 'P'],
['R', 'N', 'B', 'Q', 'K', 'B', 'N', 'R']
]
def print_board(self):
# Display the current state of the chessboard
for row in self.board:
print(' '.join(str(piece) for piece in row))
Example usage
chess_game = Chessboard()
chess_game.print_board()
!stream 717749310518722691
✅ @whole bear can now stream until <t:1699847856:f>.
Join the challenge or watch the game here.
@terse garden 👋
server for less than 3 days ig






