#voice-chat-text-0
1 messages · Page 353 of 1
I've just realised I have another cursed codebase to shove into the AI
this time with 0 docs to begin with
API documentation for the Rust metatrait crate.
perfection
!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.
what
okay
https://gist.github.com/afeistel/da72d7117305612c04f45285b88ea1d5
will try putting this in weaker models locally
I wonder if those are even up-to-date enough to know what RPITIT is
RAM getting somewhat high usage percentages
(((I know this is not physical RAM and not actual usage)))
it's failing
300 iq comment right there
isn't even correct
or rather entirely irrelevant
on the "example of writing code" level of irrelevant
i uh
accidentally interrupted it
all the output
gone
0 0 0 0 4 4 4 4 4 4 4 4 4 0 0 0 0 0 0
0 0 0 4 1 1 1 1 1 1 1 1 4 0 0 0 0 1 0
0 0 4 1 1 1 4 1 1 1 1 1 4 0 4 2 1 0 0
0 4 1 1 1 4 1 4 1 1 1 1 4 4 4 2 2 1 0
0 0 4 1 1 1 4 1 1 1 1 1 4 0 4 2 1 0 0
0 0 0 4 1 1 1 1 1 1 1 1 4 0 0 0 0 1 0
0 0 0 0 4 4 4 4 4 4 4 4 4 0 0 0 0 0 0
@lavish rover
how about Roy G Biv
There are many theories out there. This is one of those theories.
Inspired by Flatlands.
This is a horrible cover of Pink Floyd's Comfortably Numb. It was performed by a band at a local music store during a breast cancer awareness show. I'm sorry to the guys, whoever they are, but this is awful. And these guys aren't 12 year old music students... they're grown men who ought to know better.
okay i can yap about this
animal experiments are shid
not cool
"here" where
SKULL
in germany they cost 5 euros per package
open it alone
i wanna yap
chromium >
:D
!stream 732291998274420828 1h
✅ @sour imp can now stream until <t:1725766930:f>.
!stream 464388569566281728
✅ @placid kernel can now stream until <t:1725765416:f>.
can i just ask here for code help :D
no worries
im doing my frist git repo, but i am confused what style.css is i figured it out ( i didnt )
lol more cringe i am making a custom theme for vscode
( anime )
im shy im just gonna ask here
but i am lost basically
!stream 464388569566281728 30M
✅ @placid kernel can now stream until <t:1725769232:f>.
yea
but my problem is with the custom image im adding , im confused on where to put it
its in an image folder for now
@placid kernel
ahh but since i wanna make it public it has to be in the folder so the path is the image file
thats sick
🤝
can someone give me feedback on a text-based rpg ive been making? im 14 and need some feedback from some REAL devs :)
hahah thanks ive started python learning using grok
no its an australian thing
ill dm u 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.
wait hold up
use vscode?
its based off d&d
hope u like it :)
Sweet!!!! thats really cool!
are u running the game?
yep
im a dude
gulp
your alright bro!
not really... i watched a yt tut on how to do the battle loop
i didnt copy and paste yeah i just didnt really know how to start lol
yeah i need some more user freindly responses
yeah i appreciate it dude
ahh thats a good idea
yeah the main idea for the random was just in battle you can miss, crit etc
ok. im trying to make the code and the output a lot more readable
yeah i wrote all that down thanks for feedback. in terms of gameplay so far, anything i could add to story/
ill definately work on what you said, i also want to add a inventory to the game. on that shows the amount of gold u have and stat effects. as u said, this is a long term project so i can work towards these goals
as a starter piece of code/recc.:
class Inventory:
def __init__(self):
self.items = {}
self.gold = 0
self.status_effects = []
def add_item(self, item, quantity=1):
if item in self.items:
self.items[item] += quantity
else:
self.items[item] = quantity
def remove_item(self, item, quantity=1):
if item in self.items:
self.items[item] -= quantity
if self.items[item] <= 0:
del self.items[item]
return True
return False
add more logic here but want to give you a starter idea
thanks mate! i have a little idea, but the only thing i have a problem i have is how i would call the inventory without user input
you can init the inv at the beginning something like:
player_name = input("Enter your name: ")
player_inventory = Inventory(player_name)
player_inventory.add_gold(100)
player_inventory.add_item("Sword")
ill try it out
goodnight kastien
haha thanks im a bit nervous some things i cant understand im tryna make it work
what are you working on @placid kernel
👋 @scarlet zenith
obviously what you need is an embedded prolog runtime
(that's what the borrow checker and trait solver have, to some extent)
Neat.
yes it uses pickle
@twin tiger
which is why you shouldn't load arbitrary models
@verbal zenith dtrace
erroring?
in control panel
there's a flag to enable dtrace
yeah it does the same as command most of the time
@twin tiger if you're interested in the basic maths behind neural networks (a good place to start) i wrote a little blog post explaining the basics: https://bergsoe.net/blog/neural-networks
Vilhelm Bergsøe - Blog
nice
WSL+perf
I don't like mixing wsl with vsc
if you need vsc inside wsl, use docker
+nightly
Can i try small lm's on windows from a terminal with python/jupiter
will a 2080 super suffice
Usually I would suggest checking the VRAM requirement for the LM you want to run.
@verbal zenith rustc --version
Can I train small-scale models from scratch?
like 500m params or less?
What would be the type of the params?
brb
Or if it's easier maybe mistral or smth
So, depending on what quantization you're using, it will indicate what amount of VRAM you need.
recently rust also started checking traits for if they're used
You can use lower quantization (smaller parameter range of values, so less accurate) to fit your hardware.
Ok, so you have 8GB.
what types are you referring to?
So, parameter type is usually a float. Look at how many bits are used to represent the float.
More bits means more digits, which provides more accuracy.
For some context, you can also have a look at huggingface to see the conventional sizes.
back
I'm pretty sure it would be float32
I have 8gb vram, and 16gb ram
no ones talking or i cant hear?
No one is speaking at the moment.
I'm doing sth. I'll finish up ASAP and try to help you with it.
This is sort of what I'm trying to say.
https://vitalflux.com/llm-gpu-memory-requirements-examples/#:~:text=Thus%2C overall%2C it would need 16-24 bytes per,to load and train a 1-billion parameter LLM.
I actually have a code that calculates this iirc.
Though mine was for hosting cost, but you can just substitute the hosting hours with the number of hours to train.
I'll try to find it and send it to you.
DId someone imply pytorch outputs the weights only, but then something else is needed to convert it to full LM
Sure no worries
I believe fatty mentioned sth like that.
You would usually just save the weights, and load them into a model when you want to host it.
Weights themselves are just a bunch of floats. You need to put them into the model to perform inference.
Can I not make these comers round?
In Css you can use the property:
border-radius: 10px;
play around with the px vaule (try not to use percent or Em)
@terse rose
Wassup?
I cann't use css that's why I am using the qss because it is PySide6 and tried the border-radius thing not working
@upbeat bobcat hello
good and u?
Great!
be back
https://doc.qt.io/qtforpython-6/overviews/stylesheet-reference.html#border-radius
according to the docs border-radius works. you are probably making a mistake somewhere on your end
skill issue
I know it works
can be
hello
I am fine how are you
@stoic chasm
F no one fell for rage bait
trying this on 3 different servers
I agree about it
js is a pschological SCP hazard
cognitohazard
js made me debug
That i missed parenthesis for a function call
2 hours straight
at least python tells me at runtime
js was like: UNDEFINED
@indigo kindle 👋
my honest reaction after finding out that i was missing () for toArray: 🔪
this was back when I was learning to program stuff
I know the feeling
still I was way better than average starter at that time
I used to code in java 🙂
and since that day I hate JS
bro lets fight 😂
debugger;
Imagine using debugger for a 100 LOC
SIMPLE PROGRAM
just converting form data to json
Use tricks like nullish coalescing etc
bro, but it is my nickname, and my family don't know what is Haki
@river crescent 👋
was not talking about your family
Write modern js not ancient js
all js sucks
== and ===
exists 🤡
only way to fix js
is to rewrite js
and disable legacy support
From ChatJippity
def numbers_up_to(n):
yielding i for i in range(n)
naah but the nick name I got, everyone says its from one piece!
I was focusing more on error catching part rather than what sucks
okay
yield from (i for i in range(n))
btw python has monads now?
what language is your fav?
😂
don't tell me whitespace is your fav lang
IS IT?
Favorite python. Most used js
bro to write Automation. Forced to write garbage(YES JS IS GARBAGE NO ONE CAN CHANGE MY MIND)
bruhh
corporates forces us to use JS
COPE-COPERATES
python is async? since when?
ya
BUT NOT async by default
makes no sense
?
async def main():
print('hello')
await asyncio.sleep(1)
print('world')
fast API FOR MONEY
i saw many job posting with fastAPI
and django
in requirements
?
Btw guys
how do you deal with
product mangers at your job
@quartz beacon we will call you Jikky
the postman
lmao
@stoic chasm just ignore
!paste
@stoic chasm no you are not
usually when people say lib or dem
they usually means
extremist
@somber heath @stoic chasm just ignore it
let it go
No.
time ain't gonna rewind
You don't get to tell me to ignore this.
okay
"It stands for Application Programming Inter- Oh ok."
what did i miss
you missed a person getting offended
is this internet beef?
oh that guy
i purposefully blocked him a long time ago
not bc he offended me
but so that i dont offend him.. bc he gets offended so easily.. or pretends to get offended
no more like dwelling on past
⤴️
you misgenered?
in 15 sec yes and then they leaving before @stoic chasm could clear up things
no
weird world to live in tbh.
cool.
he just watched a few wrong internet videos and now he thinks getting offended easily is the correct way to behave
it's they
and no, it's because you just can't use my prefered pronouns, but sure
@upper basin
Cussing and leaving is not the best way to explain a niche concept to someone who genuinely doesn't know you well enough to respond to you the way you like.
I went through that ocw
i am tired and honestly, sorry for getting mad, but i said i'm not dealing with it repeatedly
I understand, but it's now projecting aggression and inciting discord. It's easier to remember Hanlan's razor, and move on.
i want to move on but people are continuing to misgender me rn
and also saying i'm "easily offended"
People call me AC, but I'm not an air-conditioner. I know they mean no harm, so it's silly to get upset.
-_-
You are tho
I will be 100 percent honest though. I personally just use he/she instinctively.
Yo AC
this
I mean no offense to you, but changing the entire way we speak is quite difficult, especially when we're talking, not typing.
When you're dealing with reasonable people, if you're wrong, they'll just tell you.
And not make a huge deal over it
My A.C needs GAS
You need to know that we are your friends, and don't mean to offend you, so if we say sth like "bro" or "man", it's not to misgender you. It's simply how we've developed a habit to speak.
@still herald that will cost you 1 TRILLION $
Ha ha ha
Hemlock has said this before too. Hanlon's razor is literally for moments like these.
If we say sth you don't like (even when it's as simple as just 49 saying "ahh man") you can just assume ignorance, and move on. It's rarely malice.
There's also the reality that gender is socially attributed based on observed signaling. If you're signaling ambiguously, people will interpret ambiguously. If you're signaling in line with a gender you're not, then people will interpret your gender as consistent with your signals. And if they're nice? They'll adjust when you correct them. However that gender perception is a reflexive property, so you can't expect people to immediately completely recontextualize you mentally, and never get it wrong, after just telling them once.
Once you understand we don't mean malice, you will be much less stressed out, and can actually relax when you join the vc.
abay bsdk chota likh
wrong it's anime and manga
Just to cut you off there (no offense at all), I am not saying ANYTHING regarding gender identity or anything like that. I am simply saying if a trivial term or word is uttered in normal day speech, it is not an attempt at misgendering, but simply just a trivial term we say out of habit.
I will call Jikky they if they wish, but I may slip every now and then and say he, but if you're going to get rude and upset just because someone said he or man or guy, it'll make it very hard for everyone.
you're fine, other than your depression
I'd offer a hug, but that'd be awkward cuz this is the internet. But the sentiment is there.
hi
@still herald a suggestion from me. just pick a damm thing and just do it
@whole bear
Did you really understood?
syllabus?
whats up?
sky
I'm so confused too @still herald
oh grt u r on sky
NO MANS SKY to be specific
problem solving and research skills
having a good core problem solving methodology, then working on your information capture and search skills
is key
know where to look to find the info you want
you don't need to know it all
if you don't like learning things, don't learn things
it's that easy
the world needs walmart workers
It's hard for everyone
they're gonna be replaced by robots soon
You reacted on at msg
everyone in this chat has experienced what you're going through
ik
@still herald what he says is tru @stoic chasm
but idk
what you know but you don't know?
lmao
oof
lma
💔
buying is expensive?
or its cheap
and looting things is crime
do scraping n make money
sell to who?
I have to learn it then
it's the raw material for decisionmaking
buyers
that's excellent
yeah u got too
python has some wonderful web scraping libraries
it sounds like you're more focused on the outcome, than on the capabilities you're gaining
@still herald just make something. a lots of people making at something
if you focus on the capabilities more, you'll be able to pivot to better outcomes
I think motivation is often a challenge
yeah do startup
I am tried of shit at my current company
switch to jobless
@stoic chasm @still herald but it is related to hackers
coding helps you do it better
become mafia and make money
#FightClub
but coding does not gives me nukes
Coding is deadlier than nukes >.>
i mean start service provider companies get work done in less and make more
nukes are chumpshit
1 TRILLION DOLLARS
"one death is a tragedy. one million deaths is a statistic" - stalin
..
thats what my boi andrew tate said @stoic chasm @still herald
ok
@stark river
okay, gotta go make shaw lunch
where do you live?
mmm
man this guy againt went afk @stark river
you existining @still herald
:p
have fun
lol
you living 😂
don't be so sad
u too
you're a nice creature
yes
damm
damn
first tell where u live 🫷
I live on earth
if you cant tell then dont ask anyone else . simple rule
where in earth
surface
hehhehe
in NO MANS SKY
😂
yea so
nothing just ignore
just got curious seeing someone write in hindi
and being a nerd
bye
one of the indian languages
ya
@lavish rover doesn't standard lib ship with symbols by default?
I remember them having to cut those out in some update
oh wait wrong chat
okay nvm it was the opposite
I have no idea where I saw that
its a slant rhyme dont overthink it lolololol
FACTS
it says -2+2=5 which is false
we can prove this because
-2 and 0 have a differential of -2
2 and 0 have a differential of 2
since -2 and +2 are of same value when looked at in modelus, for example |-2| = |2|
we can say that the only difference is the sign (+ and -)
proven by the axiom of
𝒱₁ = -2
𝒱₂ = +2
|𝒱₁| = |𝒱₂|
sooooo
basicly they are equal
further proving it by the axiom of:
∓𝒩+𝒩 = 𝟘
SOOOO
Now we know that -2+2 is 0
now what we are given is ∓𝒩+𝒩≠5
SOOO
Now we can prove that if 𝒩=2 and the result is 5, using the formula we should be able to have a difference of 𝕒𝕟𝕤-0=0 when applying the formula ⨍(𝓃) = ∓𝓃+𝓃, so ⨍(2) should be 0, so if ĵ = ⨍(2) then Δĵ = 0, Δĵ - ĵ should be 0 but instead its 5!!!!
SO THE ANSWER IS WRONG
𝔓𝔯𝔬𝔳𝔦𝔫𝔤 𝔬𝔫𝔠𝔢 𝔞𝔫𝔡 𝔣𝔬𝔯 𝔞𝔩𝔩 𝔱𝔥𝔞𝔱 -2+2 𝔡𝔬𝔢𝔰 𝔦𝔫𝔡𝔢𝔢𝔡, 𝔲𝔫𝔡𝔢𝔯 𝔞𝔫𝔶 𝔠𝔦𝔯𝔠𝔲𝔪𝔰𝔱𝔞𝔫𝔠𝔢𝔰 𝔞𝔫𝔡 𝔬𝔲𝔯 𝔠𝔲𝔯𝔯𝔢𝔫𝔱 𝔲𝔫𝔡𝔢𝔯𝔰𝔱𝔞𝔫𝔡𝔦𝔫𝔤 𝔬𝔣 𝔪𝔞𝔱𝔥𝔢𝔪𝔞𝔱𝔦𝔠𝔰, 𝔡𝔬𝔢𝔰 𝔫𝔬𝔱 𝔢𝔮𝔲𝔞𝔩 5!
@sour imp
its 3
I swear, to our lord and savior, 𝓜𝓞𝓣𝓗𝓔𝓡 𝓕𝓤𝓒𝓚𝓔𝓡
I just spent the last 15 minutes proving that -2+2 is not 5!!
LMFAO
Proving the Falsehood of "-2 + 2 = 5"
The statement “-2 + 2 = 5” is clearly false, and we can easily prove this.
First, consider the absolute values of -2 and +2:
- The absolute value of -2 is 2, and the absolute value of +2 is also 2. In other words, when considering their magnitudes, |-2| = |2|, so the only difference between these numbers is their sign.
Next, based on the well-established axiom that:
- For any real number N, we have -N + N = 0.
Applying this axiom:
- Let N = 2, then -2 + 2 = 0. Therefore, the expression -2 + 2 equals 0, not 5.
Now, we are presented with the false claim that:
-2 + 2 = 5
This contradicts the axiom, as the correct evaluation gives 0, not 5.
Further proving this, consider the function f(n) = -n + n. Substituting n = 2 into this function yields:
f(2) = -2 + 2 = 0
The difference from the expected result is:
Δ(f(2)) = f(2) - 5 = 0 - 5 = -5
This shows a clear discrepancy between the true result (0) and the false claim (5).
Thus, we can conclusively state that:
-2 + 2 ≠ 5
This irrefutably proves that under any circumstances and within the framework of mathematics as we understand it, -2 + 2 does not and cannot equal 5.
@sweet sorrel I haven't hit the requirements to voice verify
Kinda just in here waiting for someone to come by
I am, I'm working on it rn lol
But I also need to be active for "3 10-minute blocks"
Which I assume they mean like 3 periods where I've sent a number of text in 10 minutes
Sucks cause I'd love to talk, it's nice to talk to people. Sucks just typing
@vivid prism 👋
@verbal zenith iter_mut?
@verbal zenith first, remove shrink_to_fit
then try running what you have again
@verbal zenith .push locks an RwLock each time?
that's way worse than reallocation
oh wait
it's vec of locks not a lock of a vec
.iter_mut then .retain
and no shrinking
shrinking is only for when the system is under memory pressure
and not for a frequently modified value
you're rediscovering JS memory leaks
or rather reinventing
(JS closures capture the whole outer scope)
@verbal zenith you can collect when the number of objects exceeds k*(number of objects after last collect) with k being something like 2
so that it's not so frequent
don't capture the scope, capture values
don't go the JS way
pull what you reference from inside the function
!e
a = 123
def f():
print(a)
print(dir(f))
:white_check_mark: Your 3.12 eval job has completed with return code 0.
['__annotations__', '__builtins__', '__call__', '__class__', '__closure__', '__code__', '__defaults__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__get__', '__getattribute__', '__getstate__', '__globals__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__kwdefaults__', '__le__', '__lt__', '__module__', '__name__', '__ne__', '__new__', '__qualname__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__type_params__']
!e
a = 123
def f():
print(a)
print(f.__globals__)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
{'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <_frozen_importlib_external.SourceFileLoader object at 0x7f3a1b1acda0>, '__spec__': None, '__annotations__': {}, '__builtins__': <module 'builtins' (built-in)>, '__file__': '/home/main.py', '__cached__': None, 'a': 123, 'f': <function f at 0x7f3a1b3e6ac0>}
:white_check_mark: Your 3.12 eval job has completed with return code 0.
{'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <_frozen_importlib_external.SourceFileLoader object at 0x7fe14fcc8da0>, '__spec__': None, '__annotations__': {}, '__builtins__': <module 'builtins' (built-in)>, '__file__': '/home/main.py', '__cached__': None, 'a': 123, 'b': 'do not capture', 'f': <function f at 0x7fe14ff02ac0>}
okay so that's just from the module
yeah I know
just checking for what globals shows
traverse all unknown variable accesses from inside the function, yes
(in Rust syntax)
|| {
println!("{a}"); // captures a
let b = 123;
println!("{b}"); // does not capture b
let c = |d| println!("{d}"); // does not capture d
}
I think Python will default to reading from globals
that's why function order definition doesn't matter
although
hmm
for inside the function, it knows all locals
so it can infer
!e
def add():
def inner(y):
return x + y
x = 1
return inner
print(add()(2))
:white_check_mark: Your 3.12 eval job has completed with return code 0.
3
!e
def add():
def inner(y):
return x+y
x = 1
return inner
print(add()(2))
as one of the options:
when parsing a statement/expression, pass in what the outer scopes contain;
after parsing, it returns what variable names it references
I used to work on a project where we did that, yes
with sets
gc is for dealing with cycles
@verbal zenith you know that weak count is always at least 1, right? at least internally
all strong references together are considered as holding a single weak reference
when strong count hits 0, the value is dropped in place
when weak count hits 0, the ArcInner is deallocated
@verbal zenith inside of arc?
mutate
make_mut
but
that won't affect other values
Epoch-based memory reclamation.
!paste
Hello
what kinda noise ?
Ohh im on some third party client rn
streaming is pain in sass in linux so for that.
oscar sounds like a dogs' name.
Does kind of, ye
is he using vim keybindings ?
print("test")```
I thought wayland fixed that
:white_check_mark: Your 3.12 eval job has completed with return code 0.
test
wayland made it worse
why can i still not talk ive been in this discord for like almost a week now???
!voice
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
@wind raptor I added a very cursed feature to that grid I made
so that makes the hovered square bigger
but still keeps everything else's proportions square
@mental cape 👋
i cant speak im sorry
!voice
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
yeah ik
just too lazy
yk
actually you good python?
you good with python???
i mean like advanced databased managment
using sqlite n stuff
oh
ohk
yeah ill try them too
advanced as in having to constantly manage and update employees locations by cross referencng other dbs
wait up ill explain
cherry no speak brotha
just
alive
maybe
woke up?
ive been awake
i didnt WAKE up
4 days straight of cpp and getting static-electrocuted
no sleep
many separate files/hosts?
not just separate tables?
I'm working on a school communication system called CEPA (Computerised Enhanced Public Announcement), which aims to manage teacher announcements and timetables across classrooms. Each classroom has a device 'CEPA Device' connected to a central master (CEPA Master), and announcements are sent based on teacher location data
(Fixed Time Table - FTB, Adjustment Time Table - ADJ, Teacher Presence Table - TPT).
I need help with creating and managing multiple Python-based databases and scripts for-
Creating the Fixed Time Table (FTb)- Input and store weekly schedules for all classrooms.
Handling the Adjustment Time Table (ADJ)- Manage daily changes (teacher absences or replacements).
Managing the Teacher Presence Table (TPT)- Track whether each teacher is present or absent daily via RFID scanning.
Generating the Teacher Location Table (TLT): Combine FTB, ADJ, and TPT to track real-time teacher locations for accurate message delivery.
Automating Announcements- Send period-chamge announcements based on real-world time, and direct teacher-specific messages to the correct classroom based on TLT.
I would appreciate assistance in building the logic for database management, user interfaces, and Python-to-Arduino (ESP8266) communication.
if you're making a de-novo system, you probably need multiple tables not multiple DBs
```text
aaaaaaaaaa
aaaaaaaaaa
aaaaaaaaaa
```
yeah
ooooh ok noted
but what's de novo?
uhm it means new? de-novo = og?
as opposed to continuously maintaining and upgrading an existing system
SQL has JOINs for pulling data from multiple tables in a single SELECT statement
but i also want them to be cross referenced w each other to determine a person's location
noted
@gray grove 👋
(somehow I never did that; not really a SQL programmer)
ohh
!voice @gray grove
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
maybe I just don't like the language
!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.
this is sort of simple low level start up for my own school
that...is not viable
nor is it cost effective
in terms of hardware costs the whole school can be equiped for about 300-350 dolla
us
ok so i just had >2000 word block and just pasted it in smth called the paste bin?
how do i get you guys to check it out
?
The instructions are in the above.
this works?
just for context i live in India
so that why theres rupees
@sour imp wont that require a big, BIG team to do?
!voice
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
@sour imp @somber heath @vocal basin
@dawn sigil 👋
he gon tho
hello
it would be
alien_color = input("What is the color of your alien?\t")
if alien_color == 'Green' or 'green':
print('Great Job, 5 Points')
elif alien_color == 'Yellow' or 'yellow':
print('Good job, 2 Points')
else:
print('Wrong Answer, Try Again Please')
!or gotcha
When checking if something is equal to one thing or another, you might think that this is possible:
# Incorrect...
if favorite_fruit == 'grapefruit' or 'lemon':
print("That's a weird favorite fruit to have.")
While this makes sense in English, it may not behave the way you would expect. In Python, you should have complete instructions on both sides of the logical operator.
So, if you want to check if something is equal to one thing or another, there are two common ways:
# Like this...
if favorite_fruit == 'grapefruit' or favorite_fruit == 'lemon':
print("That's a weird favorite fruit to have.")
# ...or like this.
if favorite_fruit in ('grapefruit', 'lemon'):
print("That's a weird favorite fruit to have.")
hey
have you read the file yet?
No im not asking you to help but give me some opinions on this
because im going ffor it solo
no no need to apologize
i was just a little too optimistic thinking everyone would have the expertise in this specific field
im sorry
@vale salmon 👋
yea , hi
look i have already done the arduino and hardware side of things. AND i also have already made proper planning map FOR this. the first prototypes have already being made and basically everything other than this database handling
i worked w the arduinos and girlfriend made the entire prototype's code in python. the script asked for an input using tkinter as gui and then used the serial library to send them to an arduino which then frwd it to all the CEPA's wirelessly
but she has no experience in this too
i mean the db handling stuff
and she cant help because of her tests so
had to explore other options
welp imma go too bye guys thanks for the help
@storm smelt 👋
@somber heath hello!!!!!
@somber heath are you coming back? 🥺
it is louder than usual
@vocal basin 👋
@grim hatch 👋
https://en.wikipedia.org/wiki/Voronoi_diagram I wonder if there's a relation, here.
In mathematics, a Voronoi diagram is a partition of a plane into regions close to each of a given set of objects. It can be classified also as a tessellation. In the simplest case, these objects are just finitely many points in the plane (called seeds, sites, or generators). For each seed there is a corresponding region, called a Voronoi cell, c...
iirc that's a colour
(вороной)
@sterile pumice👋
for watching YouTube, I use Tor
works well enough
I'm content with 1080p60fps, so not complaining
@tawdry mica 👋
most don't support; most just don't care
hi
alive fish is better for logistic purposes
, quite cynically
average as in mean or median
@quartz beacon "average <human description> is quite mean...
because 'mean' is a synonym for average"
statistical humour
hemlock is in pfp
I, for some time, had pronouns set to AF/AF on some server (before that server got deleted lmao)
so what?
dudes who use linux are in fact more feminine 😂
(i'm the dudes who use linux :3)
Nonchalant
So true babes
!voice @unique holly
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
thankyou mister
!user
You are not allowed to use that command here. Please use the #bot-commands channel instead.
guys, I'm voice verified, but still can't chat in voice chat, any idea why?
Is there any admin online?
@atomic gust 👋
Remembering you're also dealing with things at the hexadeximal level, often, so values from 0-255 inclusive.
^^^
So if you need to pick out things at the bit level, it can get annoying.
Ukulele.
@quartz beacon so this is one register and there is going to be more of them it is 64 bits long and i want to calculate how many bytes the thing is lets say i have 100 of these zells
he fel 😔
Is this a transistor
✅
Voice Gate failed
You are not currently eligible to use voice inside Python Discord for the following reasons:
You have sent less than 50 messages.
You have been active for fewer than 3 ten-minute blocks.
@violet ibex 👋
👋
unfortunately i dont have perms to unmute myself
@rich bison aaj yaha
hum to aae rehte hai
alright
currently i am not eligible (my messages are less than 50)
ok im verified now cool
@torn rain 👋
!voice
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
@jagged herald 👋
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.
I ve been doing automation in Java, API
REST ASSURED framework
i m learning Python, i want to make something cool using maybe OpenAI
i already went through syntax tutorial
i have no experience with AI
only OOP
Im not bad with math, but im not also trying to build AI. I want to use AI APIs to do stuff with my DB maybe using LangChain framework
Oh, i have no issue with that, i have 5 years of OOP experience. I went through the python syntax
it took me 15 minutes to understand differences in Java syntax to python and use the logic i had with Java and c#
im familiar with the basics i mean
my job is to make automation API scripts
but i wanna make something outside of that, some cool little project using openAI
like using the already made APIs instead of me creating the AI if i dont sound confusing
You mentioned a Discord bot, i think i d actually start with making one. That sounds interesting enough
i see i see
thanks
cool, i ll look around and see whats gonna help me
What made me confused is that in py, you dont need to set the int, string etc to a variable
im not sure if that is like advanced or could be confusing from the readability perspective
Like obviously its smart that py recognizes every type, but also when im looking at it, i dont know what is supposed to be
im using intelij ultimate
its pretty good
what did you say?
pywhat?
PyCharm
ah, nah, jsut intelij
!stream 779371565501513759
✅ @azure anvil can now stream until <t:1725980049:f>.
@still herald its bug i think i also face same issue
Snek as a Ssssssssservice
Oh I loooove it
"Wait, why does your compiler have a sound file"
"Don't worry about it"
how do i get the permission to speak in VC?
Check the #voice-verification channel. That'll tell you what you need to know about the voice gate
awesome thank you!
Yo 👋
okay too easy will do!
anyone wanna make a project together that will like look shiny in a resume?
-aaF reminds of AAF (Greek army in ArmA III)
Do you have plans for said project or....
what kind of project?
Gosh, love manjaro :0
nah i need a idea
finally found it
that would be good
still wanting an idea
@rugged root
pip ? python3-pip ?
Performance Improvement Plan
Pretty much your job saying "Get your shit together or get out"
what languages do you know?
ohh corporate keyword.
yes, perfect way to describe
the tech start up I was at just had mass layoffs after telling all of us we were getting bonuses xD
for frontend i know mern but i mainly wanna focus on python
website or just app?
on both cases i have like 5 years of exp
what should be better?
website might be great
I know SQL and python , some c++ and sharp.
honestly dont know, I'm trying to build up my portfolio rn
wanna build together?
@rugged root can you give some ideas that actually will look great?
Money is Passion.
Unfortunately if I knew, I would have been doing it
thanks again @upper basin ❤️
@stark river how about you wait those five years and let him actually do what's important now
For context, Davis is having an issue with toxicity at his work place. We're looking at the situation from different perspectives
Hmm oh
I'd suggest addressing it politely to the manager.
Davis be toxic too
putting "in X years you'll see" as the main point is so cringe ngl
@rugged root "League is still a bit behind from Dota in that regard"
Smaller community to a less approachable game
anyone?
if everyone at work is behaving whatever bad way and you care about noone there, just behave as what makes you feel better;
to some, being toxic is the way to make themselves feel less bad;
but to many it's not
@peak depot We finished
!stream 425552190283972608
✅ @peak depot can now stream until <t:1725987784:f>.
@verbal zenith What is your avatar. I see it's Sonic but I can't quite see it right
cat shark
@plome iirc footnotes generate reverse links by default
might depend on the renderer
I never looked closely at it and assumed it was the skeevy-looking sonic from the film
@gentle flint @peak depot on some renderers it puts this ↩︎ thing
when doing [^footnote] in use and [^footnote]: in definition
I'm literally looking at a markdown file with this
Automatically link across pages in MkDocs.
just had to enable footnotes
markdown_extensions:
- footnotes
okay time to nuke the project and uninstall mkdocs
lmao
@peak depot is this ↩︎ link (blue arrow) the thing you were looking for?
except I don’t since I hate fire
i think the numer would be better
there is the number
1 in that case
hmm
although
ig what you do there is not really footnotes
yeah, then anchors
I was a bit surprised those aren't enabled by default
ig it tries to keep it standard-adjacent
@rugged root what about decremental games
Can I tell a secret
What is said secret?
lets hear it
that sound philosophical
Since I'm busy doing a crazy working hour job from last month, i don't remember crying. As I'm a crybaby I haven't cried from last month properly
I found out the other day that barbers get hair splinters
well dang, I understand that. something that always helps me is watching a sad or overly happy movie.
birb
So pretty
something that helps me, is writing down every thought that passes through my mind. I set aside time to just throw up every thought and feeling regardless of how much it makes sense. Could be words, could be a doodle. Helps with my writers block too.