#voice-chat-text-0
1 messages · Page 224 of 1
repeat
?
11
downloaded it
the Python (>=3.8) thing no work
ah
louie viton
a
so i did the pip
what now
?
not being able to talk is turture
torture
where run button
hm
so
it got rid of 2 issues
just need to fix 2
mr.louie
we go dms?
ya
||boo||
anyone ever played SHENZEN I/O
Sorry
my girl is asleep
lol
she will kill me
shes the lightest fucking sleeper
im in another room with the door closed
lol
1
@analog cove 👋
!voice 👇
!voice
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
!voice
Have messages from three different ten-minute blocks ---- what does it mean?
1
thganks
okay will do that
print("Hello world")
!e print(123)
@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.
123
!e
def test(x):
print(x)
test("this is a test")
@pine depot :white_check_mark: Your 3.12 eval job has completed with return code 0.
this is a test
def destroy(x):
No TV tmrw
are you guys into deep learning?
you are not data scientists?
are you software engeneers?
kk
@wind raptor https://github.com/ChrisTitusTech/winutil
Karma webpack Middleware. Contribute to codymikol/karma-webpack development by creating an account on GitHub.
!stream 224021428926676995
✅ @rapid flame can now stream until <t:1701308290:f>.
we had some Anthrax outbreaks recently
I wonder if that will get worse soon
well, yeah, it's also a thing that a lot of countries tried to use as a bioweapon
hellohello

wat advent ?
this is definitely a post
I'll be back. Gotta record some stuff for a project
Mar 8, 2022 last atom release

what are the criteria for what you're looking for? didn't hear
how easy is it to isolate programs from each other in gpu memory? e.g. say user1 runs a program, user2 tries to steal data from user1 running on the same gpu
yeah it looks interesting
Each Volta MPS client owns its own GPU address space instead of sharing GPU address space with all other MPS clients.
sorry i broke conversation flow
hardware?
so the OS clouds lift the hyper visor weight, which is attached to a very hard ware
progress on slime mold simulation
yo @wise loom
get me some voice perms
in dis hoe
i been here for a century
i mean i tried
!voice
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
we could skip some steps
and u just give it to me
🙂
dammit
ok what do i do i dont understand
!stream 745015733238497330
✅ @terse garden can now stream until <t:1701325846:f>.
✅ @random falcon can now stream until <t:1701327658:f>.
!stream 745015733238497330
✅ @terse garden can now stream until <t:1701327869:f>.
double N(const double z) {
if (z > 6.0) { return 1.0; }; // this guards against overflow
if (z < -6.0) { return 0.0; };
double b1 = 0.31938153;
double b2 = -0.356563782;
double b3 = 1.781477937;
double b4 = -1.821255978;
double b5 = 1.330274429;
double p = 0.2316419;
double c2 = 0.3989423;
double a = fabs(z);
double t = 1.0 / (1.0 + a * p);
double b = c2 * exp((-z) * (z / 2.0));
double n = ((((b5 * t + b4) * t + b3) * t + b2) * t + b1) * t;
n = 1.0 - b * n;
if (z < 0.0) n = 1.0 - n;
return n;
}
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
!voiceverify
!voice
!voiceverify
can you accept my fr?
@somber heath
I need some help with my code
I opened a thread but no-one is replying
mhm but doesn't fix the problem
kinda sucks
uh oh ohk
sorry to disturb
I did
see the other screenshot
lemme try that
lol ok
hahahaha
true facing the same rn
although I have a nice build
but ig the ram is lower
I have 8 gigs of ram
gotta extend it to 16
soon
Yeah lol
yeah fr like if you are into code and game development 32 is what you need
like well for the amount of knowledge I have makes 16 gigs fine for my work
like overall and it's economical too
I'll
yeah
@cinder bay
?messages
alr
wait
60
less goo
mhm just gotta wait for 3 days
yeah
mhm
Got it
I have not permission to speak.
!voice 👇
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
@severe lintel 👋
@somber heath Hi 😄
from tkinter import *
from tkinter import messagebox
top = Tk()
top.geometry("100x100")
while True:
messagebox.showerror(":D","I LOVE YOU :D")
top.mainloop()
@spark compass 👋
hey @somber heath
@spark compass Hi
hey @severe lintel
@spark compassHow are You?
still going through my voice verification 😅
I am good, wbu?
im fine thanks 😄
where are you from ?
@fluid flax 👋
Hello
are you using opencv from encryption and decryption? @junior wing
@limpid ginkgo Yo
hi i am sv mute
Yeah, #voice-verification will tell you what you need to know about the voice gate
oh tnx
😂 no worries take ur time man
It has been longer than 5 minutes 🫤
Figures
@spark ferry If you're wondering why you can't talk, check out the #voice-verification channel. That'll tell you what you need to know about the voice gate. If you've heard this before, my bad
It was mainly because of how involved I've been in policy here
I thought it was cause of the fire sacrifice : (
@uncut meteor https://unqlite.org/
UnQLite - An Embeddable Database Engine - http://unqlite.org/
Contribute to GDWR/adventofcode development by creating an account on GitHub.
Input ← &i "../common.ua" "Input"
&p ⊂"Part 1: " ⍘parse/+×=,↻1.[/parse]Input
&p ⊂"Part 2: " ⍘parse/+×=,↻÷2⊢△..[/parse]Input
Common ← &i "../common.ua"
Input ← Common "Input"
¦ ← Common "Split"
∵(parse⊔) ≡(¦@\t⊔)¦@\n Input
&p ⊂"Part 1: " ⍘parse/+⌵-≡(/↥⊔)∶≡(/↧⊔).
A stack-based array programming language
:incoming_envelope: :ok_hand: applied timeout to @nimble thorn until <t:1701360925:f> (10 minutes) (reason: emoji spam - sent 56 emojis).
The <@&831776746206265384> have been alerted for review.
tsoding
Andrej Karpathy
@thorn wharf Suuuuup
suuuuup brah
there's a python client for it too 💀
How've you been, dude? It's been a while
yeah it has, been good same shit different hole
just work work and work. i hate ramping up jr's and aws training even more. how about you?
Same. Work, home, rinse, repeat
wrap it in a while (True) loop
day !== "saturday" && day !== "sunday" ? work() : golf()
@rugged root I can't join VC right now but I think I mentioned my AOC language yesterday, well I stayed up until around 4:30am creating it, took around 7 hours total, and I have day 1 of last year's AOC challenges working in it 👀 https://github.com/vcokltfre/aocl/blob/master/example/aoc2022-01.aocl
😎 i got a socket connection sending http from a client to server in the same network using windows sockets in cpp
for about 1 seconds until my antivirus deleted my server exe again
nah i added an exception and it work snow
Oh cool cool
goodluck!
any vscode python debugger users in the chat
now should i delete the server and make a wsgi-compatible webserver
you mean javascript?
nah i didnt mean to reply to myself
ah ok
been having a problem with the vscode debug launcher every god damn day for the past year and a half
@obsidian dragon We could hear you talking in the background, wasn't sure if it was private or not
@rugged tundra
{
"name": "Python Fastapi"
"type": "python"
"request": "launch"
"module": "uvicorn"
"args": ["main:app"]
"console": "integratedTerminal"
}
Hard to find sites with notification sounds that aren't obviously just viruses
this code won't run btw
can't have both values for day at the same time
use ||
@stark river it would work, its a not check
it does work...
😄 let me give you my version
haveWork ? work() : golf()
definitely more readable hahahaha
omg no sundays off is pain
i can take them off but
i'd much rather finish more work in the day on sunday and have more time free in evening / night
makes sense, being a football fan makes it hard to do anything else on sundays from september to february
i don't really watcha ny sport or esport just because if i'm watching i'd much rather do the thing myself atleast
i don't have much fun watching others do fun stuff rather than doing it myself
i will be back in a bit
oh yeah.. 1 AND 0 = 0
@mild quartz https://www.aivosaatio.fi/ajankohtaista/vesa-kiviniemen-aivopesuri-voi-mullistaa-alzheimer-hoidon/
def is_empty(self):
"""
Check if the linked list is empty.
Returns:
- True if the linked list is empty, False otherwise.
"""
return self.head is None```
can someone explain this?
return self.head is None?
python is operator
is operator returns True or False only
so if self.head is None it will return True
yes
is an instance of None to be exact
@stark river is this the same thing? def is_empty(): if self.head == None: return True else: return False
this is very cool! better controlling brain barrier would be super useful
== checks for similar values
is checks for same references for the object in memory
oh ok interesting
it will return True but is is a different operator than ==
yeah I understand the point you are making
it would still work but it is just not the right thing to do...
correct me if I am wrong
depends on what you want to do.. r u checking for value or r u checking for reference
it is safer to use ==
def __init__(self):
self.head = None
def is_empty():
if self.head == None:
return True
else:
return False
and before that a node is defined ```
def init(self, data=None):
self.data = data_value
self.next_node = None
btw you don't need else. you can use Early Return Pattern
but you can if you want to.. nothing wrong with it
so I'm rewriting this for my classmates to use to understand
!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.
man i miss python... javascript this giving me trauma... python so clean
I want to make it as readable as possible
import sounddevice as sd
import speech_recognition as sr
def audio_callback(indata, frames, time, status):
if status:
print(status, flush=True)
audio_data.append(indata.copy())
def recognize_audio(audio_data):
recognizer = sr.Recognizer()
audio_data = b''.join(audio_data)
with sr.AudioFile(audio_data) as source:
audio_text = recognizer.record(source)
try:
text = recognizer.recognize_google(audio_text)
print(f"Распознанный текст: {text}")
except sr.UnknownValueError:
print("Не удалось распознать речь")
except sr.RequestError as e:
print(f"Ошибка запроса к API распознавания речи: {e}")
duration = 100
samplerate = 44100
channels = 2
audio_data = []
with sd.InputStream(callback=audio_callback, channels=channels, samplerate=samplerate):
sd.sleep(int(duration * 1000))
recognize_audio(audio_data)
guys I don't understand why I have python 3.10.0
I think I downloaded pip install SpeechRecognition
and still I get an error that he doesn’t see it:
Traceback (most recent call last):
File "D:\soft\teech to speech\AudioToTextConverter.py", line 2, in <module>
import speech_recognition as sr
ModuleNotFoundError: No module named 'speech_recognition'
This is actually a major thing around here
lac de guerlédan
Lake Guerlédan (French pronunciation: [ɡɛʁledɑ̃]; Breton: Lenn Gwerledan) is an artificial lake in the centre of Brittany, France. It extends across the borders of the departments of Morbihan and Côtes-d'Armor, within the communes of Saint-Aignan, Morbihan and Mûr-de-Bretagne. At an elevation of 121 m, its surface area is 4 km². Lake Guerlédan i...
Was drunk while implementing it I reckon
cython
I wonder how up to date that is
What about Django vs Flask?
That actually helped, thanks! I used Flask already and was wondering about Django. Much appreciated!
I do not know if this is allowed but to help I followed a few of these videos and it gave me some ideas.
https://www.youtube.com/@matthew_berman
I actually started a bit of Dart, null-safe code was a shift from Python. Not sure if I like it.
(Alright I need to be on here for 3 days and messages to be verified. Text chat really sucks)
Python has null-safety at type system level too
the only problem is that this type system exists only in static checking tools
(so the root of it is not None specifically but dynamic typing in general, i.e. value may be not just None but also anything else that you might not have expected it to be)
@verbal zenith
i got a few PDF on Linux kernel and OS last night , im now wondering about compilers
im trying to fill in the missing pieces of OS bla bla
I don't find it feels as natural as Python. I think 3.12 will have more tools so I might drop Dart and do C# (or C++++)
does 3.12 have a real proclaimed speed up ?
Ah right Python is a runtime and Dart is on compile. Sorry took me a moment to remember.
I haven't used Python eough to know if 3.12 will be faster.
C# before 8.0 suffered more from nullability compared to Python since it had no way at all to denote values as nullable/non-nullable
Hmmm interesting. Didn't really think of that.
so that makes it ~4 years (September 2015 for Python 3.5 (where typing was added) to September 2019 C# 8.0) where, out of those two, only Python had it in any form
on CLR there's also F#
which is way earlier than py 3.5
it's possible to use F#'s Option in C# but that doesn't really do much to fix the issue of "it might be null anyway", I think
unless memory representation of its None is same as null
Wait let me google some more of this. I wrote this but didn't really think about it since I was doing Python for work. Now I am curious how C# does this. You have gotten me down the rabbit hole!
This presentation was recorded at GOTO Copenhagen 2019. #GOTOcon #GOTOcph
http://gotocph.com
Jon Skeet - +34,000 answers on Stack Overflow
ABSTRACT
The biggest feature of C# 8.0 is undoubtedly nullable reference types. Rather than trying to rush through all the new features, in this talk I'll just talk about this one. What's the point? W...
is this you @whole bear
https://youtube.com/watch?v=kXF3VYYa5TI
NOT VR THIS TIME LOL
soundcloud: https://soundcloud.com/louie-zong/ghost-choir
I wish
Louie Zong is so good
@wise loom Hey Bro
Ye sup
def func(param) -> str:
return param
def func(param: str) -> str:
return param
!e ```py
def func(parameter: str) -> int:
return 123
print(func.annotations)
@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.
{'parameter': <class 'str'>, 'return': <class 'int'>}
@unreal otter 👋
!voice 👇
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
ohhh got it
i need to send more than 50 messages
I can still hear you so hello
how proficient are you in python
like
lol
what do you day to day
do
oooo thats interesting
what up
thats funny i try to make bootcamps for html, css and js for my college club and the only thing that motivates them is to show cool websites you can make
hello
im new to python
im currently working with wxpython to make a GUI for windows and linux
there already is one
Hi @lavish ferry please refrain from writing messages exclusively for the purpose of passing our voice gate.
oh i think that was me trying to do that, but i was still having a proper conversation while trying to reach 50
@whole bear 👋
👋
This chat is for people in the VCs already who need to send text as well (maybe to share code).
oh okay
Was there an issue outside this channel?
yes we are in the call
⚠️ DO NOT SPAM to meet these requirements, or you will be banned from verifying! ⚠️
The rule is very clear in #voice-verification. Do not spam to meet our voice verification requirements.
bro all the rules on a new person to python kind of makes me want quit if the community is this gate keeping lmao
chat is this real
lol
chat is this fake 😲
They exist to disencourage abuse of our VCs. The fact they exist doesn't mean we assume you're up to no good. It's just our rules.
hey waterlily is there a way to check how many messages ive sent or notified if ive reached 50
Y'all are fine. I did not address you if that wasn't clear.
no
Discord search works sometimes, but I'm sure you'll reach the requirements naturally in due time!
should i do it chat
why
okay ty
bro ill do it for the lulz
we purposefully set the voice gate to be easy to pass, but it still does a great job at preventing VC abuse
dont go by the "the more you f around the more you find out rule" it aint gonna end well
ples dont say it lmao
i just kinda joined this sever hoping i would be able to talk to people who new stuff on python but all ive been meet with are road blocks
this aint doing non
ben
!warn 598607835047133193 Saying the "hard r" even as a joke is never acceptable. Please review our #rules and #code-of-conduct.
we here
:incoming_envelope: :ok_hand: applied warning to @whole bear.
im new to the server as well
lmao
Yeah, I get that. I'm sorry that our voice gate is causing issue for you, but it's just that we need to balance convenience and our server security. I hope you understand :)
they were giving the microphone a blowjob 💀
why do people do it to this sever that so weird
i dont evan know how to check my time on this sever
done by ppl who hate on coding but want to learn it just for high paying jobs
!user
!user
You are not allowed to use that command here. Please use the #bot-commands channel instead.
!user
You are not allowed to use that command here. Please use the #bot-commands channel instead.
i just wanna learn more about python
its time from time i do
there is but i dont know how to format it
my first thing i learnt to do in python was discordpy making bots and it was pretty fun if you wanna try it
im freed from the slavehouse
!tempban 598607835047133193 14d Said the "hard r" again despite being warned to not do so. This conduct cannot continue. Please review our rules and code of conduct before you return to our community.
:incoming_envelope: :ok_hand: applied ban to @visual girder until <t:1702615176:f> (14 days).
@snow trout 👋
Hi @somber heath
what do you mean by "real"? what do you mean by "this"?
reminded of "what do you mean 'do'? what do you mean 'you'? what do you mean..."
@ashen silo 👋
!d datetime
Source code: Lib/datetime.py
The datetime module supplies classes for manipulating dates and times.
While date and time arithmetic is supported, the focus of the implementation is on efficient attribute extraction for output formatting and manipulation.
Tip
Skip to the format codes.
oops, sorry. yeah you'll need to run it in #bot-commands as the bot said
I forgot to mention that to you
discord.py, at the time I started, seemed simpler than now (because it did some things wrong)
but also I had already been using Python for ~15 months
i am makeing a text based game and i use if statemant to figure out what happens next like for example i might write loc = input("which way would you wanna go (w)(e)(n)(s)")
if loc == w:
print("there a forrest of at the distance")
if loc == s:
print("there a house of a the distance")
if loc == n:
print("there a hill in the distance")
if loc == e:
print("tehre nothing at all")
but
i dont know how to countuine this game after this
beaucse i would have to write four more if statment each time based of the prevouis answer
is there a fix
@proud ferry #media-processing message
you can also create a simple DSL that may look something like this
location
choice -> location
choice -> location
choice -> location
location
choice -> location
choice -> location
domain-specific language, but it's not as difficult as the name suggests
If someone's new to programming I don't think writing a DSL is a great suggestion lol
yes
You can probably just make separate functions for each scenario you have planned, and then call them from the if statements
To avoid having a lot of nested conditions
game = {
"location1": {
"choice1": "location2",
"choice2": "location3",
},
"location2": {
"choice1": "location1",
},
}
idk what a function is
Not a bad time to learn
Story story story. Sword from the stone, but, oh no, thousands of geese attack. Do you...?
<Decision>
<1>Attack
<goto> ref4346
<2>Flee
<goto> ref4347```
Any real project you will ever write will have functions
i dont expect to make a game till along time later
One of the most fundamental things in python
visaul stuido code
Even if it's for a fun project you should spend some time to learn about them
thats what i use
@noble rose 👋
i like vs code but i hate the color sceme
hi
how
i personally use vs code
I've seen this leading to unrestricted recursion way too often; and it would especially cause issues with locations;
so, yeah, functions, but probably not call them nestedly too much, instead return the next state
@proud ferry
it might filter out keyboard and mouse noises
and whatever else
@somber heath ok
@ebon cave 👋
makes development faster
(for some people)
and prevents some issues
@austere linden depends
FastAPI uses type annotations
to parse data and provide dependency injection
(this pun was not intended)
simplifies reading code (though not for everyone) -- less time spent figuring out how to use it (including code you yourself wrote)
same goes for writing tests
reasons for both of those speeding up the process are hard to explain, very hard
!code
"just don't sleep"
advent of code day 1 part 2 ||```py
from aocd import get_data, submit
data = get_data()
print(data)
res = 0
words = [
"one", "two", "three", "four", "five", "six", "seven", "eight", "nine"
]
lines = data.splitlines()
tracked = {}
for num, line in enumerate(lines):
for i, word in enumerate(words):
if word in line:
line = line.replace(word, str(i + 1))
line = "".join(char for char in line if char.isdigit())
to_add = int(line[0] + line[-1])
tracked[lines[num]] = line, to_add
print(res)
||```py
print(5)
```||
what does ||fiveight|| count as?
~~strikethrough~~
(if that's what -thing- was about)
tilde not -
@vocal basin if you don't mind, do add me as friend on here 🙂
Until we meet again then😉
Thanks a lot for the help!
Also @somber heath and @verbal zenith🙂
See y'all later 👋🏾
@vocal basin could you look at this js and explain why when my friend downloads a file the I refreash my browser it stops his download
https://paste.pythondiscord.com/G3JA
how is the program started? just node script.js?
this part is very suspicious performance-wise
https://paste.pythondiscord.com/G3JA#1L25-L43
basically anything Sync done not before app.listen is bad
that whole operation looks too expensive to do on each request
Hello
yes
so if I have:
node = (0, 0)
for node in nodes:
# process node
node will never be updated, it will still be (0, 0)?
(wrong chat)
not guaranteed in Python because it has function/module scope, not block scope
(unless nodes is empty)
@dim gazelle 👋
hello there
aren't you the guy
the programmatically made graphics photos guy
nice to meet
why are you always in the voice chat
hm?
perhaps
hey why would you use a "_" for a variable name
@whole bear 👋
hey
@fathom jolt 👋
👋
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
The voice gate is a regrettable but effective measure against voice griefers.
That's not how things usually work.
ok thanks, just thought I'd ask anyways no biggie
bbl
brazilian butt lift?
Yes. I am getting a Brazilian butt lift.
lol what
@lusty pawn 👋
Yeah
🤨
@north vigil 👋
hi ✋
from datetime import datetime, timedelta
def evaluate_account_age(accounts):
current_date = datetime.now()
for account, registration_date in accounts.items():
age = current_date - registration_date
if age.days > 30:
accounts[account] = 'blue'
else:
accounts[account] = 'yellow'
return accounts
# Example usage
account_registration_dates = {
'user1': datetime(2023, 1, 1), # Replace with actual registration dates
'user2': datetime(2023, 2, 15),
'user3': datetime(2023, 3, 10),
}
result = evaluate_account_age(account_registration_dates)
# Print the result
for account, team in result.items():
print(f"Account: {account}, Team: {team}")
raid_joins = []
if account_age.days >= 30:
raid_joins.append((member, 'yellow'))
else:
raid_joins.append((member, 'blue'))
yellow_users = sum(1 for _, user_type in raid_joins if user_type == 'blue')
if yellow_users >= 5:
# Kick only yellow users
for member, user_type in raid_joins:
if user_type == 'blue':
await member.kick(reason="Goodbye")```
Any idea how you might handle disconnects?
!voice 👇
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
hello
You are not currently eligible to use voice inside Python Discord for the following reasons:
You have sent less than 50 messages.
Do i send 50 messages here?
if send 50 messages here, wiil it work?
yes i know i dont have 50 messages
yes
7
@keen briar 👋
8
bro this is spam
:/
I am doing some fastapi stuffs lately
what are your intentions with python
@stuck knot 👋
🤨 _ what are your intentions with my python_
i am building some apis and stuffs
C++ ❤️
yesterday i used scipy for anova test lol
some stats too
what is the end goal of the related projects
where are u from guys?
oh it is exposing api where you send prompt , text and it extracts some entity from text and returns as response
4chan USA
I can't hear you
@hushed kettle 👋
@obsidian dragon what do you do with python?
mars
@somber heath
@obsidian dragon
hmm?
if raid_joins or new_users:
total_user_count = len(raid_joins) + len(new_users)
if total_user_count >= 5:
for member in raid_joins:
await member.kick(reason="Goodbye.")
@obsidian dragon ?
@somber heath i have some good progress on slime mold simulation
why not || and &&
if raid_joins or new_users:
the top level if statement, is it necessary?
🛏️
also python ::1
does python use bitwise operators >>
yes
and they are the same
its also | for bitwise or xD
foo = 1 | 0 is bitwise or
foo: int | float = 0 is a typehint xD
fun stuff
can't have type hinting without mypy
How do they tell whether someone else kicked them by accident?
Does the message matter? If they want to rejoin, they will regardless of the message.
You've been kicked out of the Python Discord server because of some questionable actions. The suspicion is that you might be using a user bot. If this isn't accurate, please come back to the server.
<div class="container">
<header class="major">
<h2>Welcome back, osyra42!</h2>
<p>Please see below for all of your orders.</p>
</header>
<!-- Content -->
<section id="content">
<?php
$directories = [
"191201A",
"230402A",
"230914A",
"230914B",
"230914C",
"230914D",
"230914F"
];
foreach ($directories as $directory) {
$path = "../\$DATABASE/ORDERS/$directory/index.php";
include($path);
}
?>
</section>
</div>
@simple skiff 👋
i'm trying to go to http://localhost:1337 but i get "unable to connect" @obsidian dragon
fix your site
oh what browser is that?
yes sir
osyra got a HUGE head
@obsidian dragon thats great
hi @waxen aspen
@waxen aspen Turkey
@dry jasper hi
@obsidian dragon he is dont like pool
i mean a local server with smart bots as "players" and make some youtube video in the style of the television serie big brothers
She has no idea how water works
who knows when to unlock gpt 4?
how are you animmo?
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
!voice
once you unlock all the other earlier gpts, you gotta go to the truck near the ss anne. it should be under there if you did everything right
oh shit i've been here 6 months too wtf
oh shit i gotta do aoc
people's favor of christmas music is how you know who's been in retail
there is
going snowboarding tmrw 😎
There's also this
bro i've been installing tex live for 1.5h
I'm so tiredd
What is that?
@pure token instagram is a webapp
they actually use django (their own fork of it)
yeah usually written in react and react native for ezpz porting
well your backend can be whatever you want
like you can make a android or iphone app with django
but the front needs to be able to interface with the device you want to port it to
oh idk much about next js
@leaden comet Haaaaaaaaaiiiii omgomgomg I'm your biggest fan!!~~~
lol
also, you don't gotta worry too much about speed when it comes to simple web apps anyway
everything is sufficiently fast until you have to worry about scaling
For sho
because most of the time sink comes from requests being sent anyway
(i hate that mentality but it's true)
I/O is time expensive
people say this, I bet there is a ton of "Not Django" code in there as well
absolutely
Hi
it's stil HELLA python, but like it's not entirely django obviously
they're 100% using their own fork of it and stuff without it as well
I bet there is a ton of Not Python as well
hi
I'd look at their programming jobs but nothing is posted so I can't
lol i love when people argue framework vs library for react
surprised we didn't get a "it's a library" opinion outta the question
latex thingy ||kinky||
a framework is when you fit the code according to the framework
a library is when the module fits according to the code
in that sense react is a framework
i kinda wanna get into fucking around with laravel and vue
and react is overrated
Javascript frameworks are always so 
@rugged root How can I prevent duplicates? By using set() instead of list?
raid_joins = []
@client.event
async def on_member_join(member):
raid_joins.append(member)
@tasks.loop(seconds=60)
async def check_raid():
# Count the total number of users
total_user_count = len(raid_joins)
if total_user_count >= 5:
# Kick users from raid_joins list
for member in raid_joins:
# Kick the member
await member.kick(reason="[Auto] Anti-Join Raid.")
# Clear list
raid_joins.clear()```
so @pure token react js is a library for js
it abstracts how the front-end of a site is built
rather than writing raw js in your html or raw scripts that do things, you can write jsx and that gets transformed into a script that does what you hoped when you wrote
javascipt devs aren't the brightest
they're trying to be php... but pretending not to be
Could yeah. Like I said, I can't really help at the moment
they fear you, for you speak the truth
the backend is what runs on the server
so the front will communicate with the server anyway
anyway, react is dope
like the main problem i have with it is that many devs end up only learning how to use react and not how to program
You need some coffe dude 
More just that I'm taking care of some things here at work
anyway here's good django tutorial that covers hella stuff
it's old but iirc it's still not outdated
https://youtube.com/playlist?list=PL-osiE80TeTtoQCKZ03TU5fNfx2UY6U4p
I will say in 2023, Python is fine......... but there is plenty of other languages that will performant kill it
i heard this one a while back and it resonates quite well with me
python is the second best tool for basically every job
2024 is coming!
also ye the speed up is getting nice
still not there yet, but so much better
development time and effort and updating and security
my company is also a shit ton of python
which was cool for our webapps
but it's not cool when the development tools were custom written in it
it's so fucking slow for that
actually stupid ass idea for that
idk why that was ever brought up as an idea
wdym?
like we have a ton of in-house windows applications built entirely with python 3.9
@amber raptor i'm remembering the dude angry at toml files lol
like imagine a shitty version of pycharm
takes 2 minutes to start up, and is not as well made as pycharm
we have a ton of apps like that we use that are shit and slow
where tools already exist for it but we can't interface with it because the system has now become so dependent on itself
https://github.com/asottile this dude
i mean what is this 50 messages requirement for new members ??
It's to prevent what I call hit and run trolls
can you just get in a conversation with me ? :)))
I think the complaints about TOML is lack of being able to transmit it over the wire
like people use JSON/XML/YAML for config files because they probably already need those libraries for their app
what are most of discussions in here about ?
yeah but like, that's not why people are even using toml lmao
it's so good for config and so many people have adapted it
the hate for it is silly
hate for it is always "Why do we need this vs JSON?"
Which I get as SRE, there is always people like "We need to be able to use vim to edit our config file" and it's always "why?"
bro i don't have any information about TOML, but what is your problem with its alternatives like JSON ?
or YAML
Like if you need to edit your config file outside of IDE is likely good indication that you have ops problem
i would agree
but pre-commit uses yaml lmfao
YAML is the worst
Go team being like "We love YAML" was worst idea
but like they're already using yaml
might as well use something better
i mean i didn't have problem with it for not long config files
since Kubernetes started using it and since everything revolves around Kubernetes, YAML became the thing
YAML has some inherent issues with how it converts types. The Norway problem - yeah, Rab's got it
decent tutorial
they got decent tutorials on hella things
https://www.w3schools.com/sql/
but as far as i know
kubernetes configs can be written or shown easily with json
That and the whole Monty Python Spam sketch
That's why you see those used in the Python docs for example
geeksforgeeks also got some nice stuff
i'm not a fan of reading it but they have a ton of content
here's nlp stuff
https://www.geeksforgeeks.org/natural-language-processing-nlp-tutorial/
Nigh Little Pony
Hi I am new with coding
Xup Guys Just started on Python here hope to get help here ..!
Same
Me too Python to be specific
Yup same
Hi there
you probably need to do some tutorial on that, there some websites that are really decent for that purpose
I know something just not very good
what is the problem ?
i get consistently wrong info
maybe my problems are too complex 🤷
Python Enhancement Proposals (PEPs)
have you tried asking it why the SELECT 1?
it's pretty nice at explaining some of its stuff
True dat
reading ftw
@rapid chasm if order doesn't matter for you and if you're using a lot more data
@rapid chasm it's ok for iterating but you lose the order of it, the order is not garaunteed
afk real quick
raid_joins = []
@client.event
async def on_member_join(member):
raid_joins.append(member)
@tasks.loop(seconds=60)
async def check_raid():
# Count the total number of users
total_user_count = len(raid_joins)
if total_user_count >= 5:
# Kick users from raid_joins list
for member in raid_joins:
# Kick the member
await member.kick(reason="[Auto] Anti-Join Raid.")
# Clear list
raid_joins.clear()
@rapid chasm if you want to use set, you should provide __hash__, __eq__ for member class
@rapid chasm you can also boost the speed by using asyncio.gather to implement the for loop
Can you show me an example?
oldman hemlock
I think it will be something like:
await asyncio.gather(member.kick(reason="[Auto] Anti-Join Raid.") for member in members)
In fairness, the pain started back when I was like... 25?
check if that works
can you use redis?
it's likely overkill but i imagine a cached system like this would be perfect for join periods
❤️
yup
it's likely overkill af
but if you're already using it and for other stuff it's nice
yeah, you'd have to run a redis server
not worth it
though check out cacheing in python
feels perfect for this
@pine depot it's not benefit, it's a necessity to be able to throw our class objects into a set. Our class needs to be hashable and comparable to be able to perform correctly in a set or a dictionary
you're welcome
bro i just mistyped
i meant "raid_joins"
oh broo
you're so pessimist
i don't know about your situation
i assume that you're like at most 20
it's your responsibility to check the correctness
you don't copy any text into your codebase
this is what i said:
"I think it will be something like"
so it says that i'm not sure
oh man people
@rapid chasm i mean you even don't have any members variable in your code :)))))) that's really funny which you making me the guilty one
really funny
lol i think this is unwarranted
people make mistakes
at least from what i'm hearing
!stream 854646371230285854
✅ @random falcon can now stream until <t:1701447973:f>.
agreed
I wish that wrong personal reports would have penalty too so that people like this guy just get out of places like this where people are gathered to help each other
bro what's your problem ? @random falcon maybe i can help
why i cant spech😭
Check out the #voice-verification channel. That'll tell you what you need to know about the voice gate
only took me >2 hourse to install tex live 😎
!voiceverify
Gotta do it in #voice-verification
i did it
Still working on improving the system...
i am qualified
Messages in #bot-commands don't count towards the total
Say one more thing
one more
Okay now try
!voiceverify
All good!
@rugged root it's a bad time complexity
but it's also in C and not python
so it still happens to be stupid fast for smaller numbers
and if you're iterating, might as well do a set and check it
best move is to benchmark it
Hello This is ghost of christmas past
i doubt if iterating on set and list does have any meaningful difference, the builtin set may have proper implementation to do iterations as good as arrays
Troubleshooting guides no matter what!
hemcock 😩
@sharp idol
lol @rapid chasm either one or the other way can be a symptom of it
it's not a requirement
anecdotal evidence is ass af anyway
@pine depot do it anyway
it's great for resume then dip cause the job's ass

kafka and zookeeper ig
java so ig it makes sense
how sets work is they hash the value you wanna add
then that gets put into the set
you can't have dupes
List of 10: 69,900 ns
List of 1,000: 2,328,800 ns
List of 100,000: 2,613,900 ns
Set of 10: 26,000 ns
Set of 1,000: 26,400 ns
Set of 100,000: 29,400 ns
looks like sets are the way to go af
it's fast for even size 10
reiki
List of 1: 28,300 ns
btw forgot to mention 1000 iterations of checking something in the thingy
=> [worker builder 6/7] RUN mkdir __pypackages__ && pdm sync --prod --no-editable 168.6s
168.6s
oh i thought you were talking about ракија
like the serb drink
rakija
it is cyrillic
this hemlock
croatian making rakija
it's basically serbian moonshine
but tastes more like cognac iirc
you know what else tastes like christmas?
fireball whiskey
:)
people hate on fireball
but like, great way to start the night
2 shots of that then you're good to drink whatever else you want
TIL they make jack and coke 0 cans
seems a little coke heavy though
i would imagine like 10% would be more like an actual jack and coke
the having no income sucks but the having no work is great
i totally get it
also iirc in just check contains dunder and for a list, that just iterates over the list since it doesn't expect them to be in order
sets don't gaf about order cause it just hashes then jumps to that address and then would have to iterate in the case of a collision
it's not crazy but i do avoid my computer at home after working
yeah i apply a filter on my pcs and i have my lamp can go from cool white to warm
i keep it cool while working from home then warm end of day
the end of year, it's even number
12*
this was a toughie for me
but i'm also trash
lmfao hemlock
hell yeah
fireball is the shit
wym it's delicious
it's HELLA sugar
lemme go down a mountain on my snowboard and pop like 2-3 shooters on the lift
yeah i quit drinking @alpine moon
yeungling ftw @pine depot
no
it's american af
the japanese beer i loved was sapporo
don't think i've had chinese beer
nah
yeah thankfully i haven't drank alone since like college
but even for a while recently now, i've only ever had a few drinks ever few months
e

