#voice-chat-text-0
1 messages · Page 330 of 1
idk if this applies to multi-field structs
https://mcarton.github.io/rust-derivative/latest/Debug.html#hiding-newtypes
misping
sorry
@verbal zenith is it supposed to allow 0 b 101?
unless I misunderstood what tokens you have there
literals in Rust are singular token
idk what Python's opinion on that is
!e
"a" "b" # how many tokens? how many literals?
:warning: Your 3.12 eval job has completed with return code 0.
[No output]
So there is no such thing as a dict literal?
Rust has neither map nor vec literals
well yes... for some reason I was thinking python even though I read rust
!d ast.literal_eval
ast.literal_eval(node_or_string)```
Evaluate an expression node or a string containing only a Python literal or container display. The string or node provided may only consist of the following Python literal structures: strings, bytes, numbers, tuples, lists, dicts, sets, booleans, `None` and `Ellipsis`.
This can be used for evaluating strings containing Python values without the need to parse the values oneself. It is not capable of evaluating arbitrarily complex expressions, for example involving operators or indexing.
!e
import ast
ast.literal_eval('f""')
:x: Your 3.12 eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "/home/main.py", line 2, in <module>
003 | ast.literal_eval('f""')
004 | File "/lang/python/default/lib/python3.12/ast.py", line 112, in literal_eval
005 | return _convert(node_or_string)
006 | ^^^^^^^^^^^^^^^^^^^^^^^^
007 | File "/lang/python/default/lib/python3.12/ast.py", line 111, in _convert
008 | return _convert_signed_num(node)
009 | ^^^^^^^^^^^^^^^^^^^^^^^^^
010 | File "/lang/python/default/lib/python3.12/ast.py", line 85, in _convert_signed_num
... (truncated - too many lines)
Full output: https://paste.pythondiscord.com/4ZA4IUCU6JA4IFIXHDLHYLPYXU
hmm
not the best error
@cedar mason can't you set up to use a different DNS on the computer you're running client on?
or do you need it to work on mobile also or whatever?
I retract the last question given Android supports private DNS
some random guide online suggests iOS does too
@hard hatch hi
yeah today is my active learning day so I am making a project
which project?
Oh.. I am making a word guessing game
You have an active voice infraction. whats this
I am new to the sever so i don't have permission
nice
why are you learning python?
for which field?
i mean
I tried a lot of things lke I learnt c/c++ also tried to learn web-dev but none of them seem as exciting like python and also python has a usecase in almost every field .....further down I look forward to entering AI/ML field
@upbeat bobcat are you a pro or new to python?
we have same goals
new
nice.... we can be accountability buddies because its really easy to get lost while learning
so we can work together ig
yes
i am lost
sure thing
hmmm ...how so ?
how much you know python?
Not really much like the basic syntax and concepts like list,dictionaries and sets and importing ..that's it
now I am just grinding on projects and questions because I figured I always get stuck in tutorial hell otherwise
so you know the basics like me
yeah 🙂
I work in IST i.e Indian Standard Time.. I am from india : )
I am from Pakistan so we have 30 min gap
Yeah np..its manageable
@naive harbor hi
hi
@subtle canyon @whole bear 👋
hello
what u guys working on
haha
everyone is working on themselves
great answer tho
@somber heath are you german?
ahhhh
i thought maybe because of your name you're german
it sounds pretty german
mist is a word for shit in german
@stoic jay 👋
hello 👋
i gotta go >< gnight
anyone write webapps with Django?
@lavish rover https://www.youtube.com/shorts/Ph_ZXHewc4c
i made a discord bot....
yo yo
Does anybody have keyring authentication working with pip? I'm using the default recommendation and pip is simply not pulling in credentials for the index name:
$ pip install keyring --index-url https://pypi.org/simple
$ echo "your-password" | keyring set pypi.company.com your-username
$ pip install your-package --keyring-provider import --index-url https://pypi.company.com/
hello
@humble halo 👋
im so frustrated
my left airpods died
cant fucking charge????????????????????
yeah
i really do hope it's like dust
got to go, will join later
will rejoin
going fine just bored
@night sundial 👋
oh ok
exept i dont wanna talk cuz i dint have a mic
soo
whos got mc?
mhm
oh nice
i have mc on my laptop
yeah its like movies, everyone just wants to go for max realism, but simple stuff can work as well
ur taking about paying a subscribtion just to play online?
yeah idk why they force poeple to make and account
but optical media is inpractical cuz its fragile and the disc can just break or get scratches
get well soon Milien
@grand latch 👋
well you dint need the installer anymore, snince there are services like steam that remembers what games you downloaded berfore so if you like change pcs you can log into ur account and redownload then games for free since you oayed for them berfore
@somber heath well not everyone can just "make"?? a server
yeah ik but like some poeple dont know how to manage it
and stuff
worrysome
i dont believe in meditation, but i heard it helped poeple, should i try it??
everyone can make a server.
they just don't try it
i guess
how does that even work 💀
coasplaying is underated just because of furrys
@somber heath gold is too expensive
lol
!lol
@frozen owl what are you working on?
@grizzled escarp 👋
hi
I cant speak there
Me to
Need to spend more time here and 50+ messages
Then I think we can maybe 🤔
👍
this is a project dumbass
i am learning and you are a naysayer annoying me for my learning
i have to finish the book
i have my objective for this year to learn C++
jan 1
nice
i started rust on 1st july lol
(more like my alphazero project)
and i learnt rust and read a research paper in a month
kek
SAME
it's only been 4 days since july 1st.. either you're lying or you're bad at maths.. caught..
Wyd if I identified as a homosexual cow?
Wie cool is das denn ㅋㅋㅋ
Guckt mal Chris Ray Gun rein - der hat noch mehr cooles Zeug
https://www.youtube.com/channel/UCctjGdm2NlMNzIlxz02IsXA
Und immer im Hirn behalten: SJW is the cancer that is killing modern civilizations.
?
Explain wym
stop talking to me
No.
mods this man is harassing me
"BAN HIM HE IS SAYING HOMOPHOBIC STUFF (just posted a link to a website for gay people) RACISTTTTTT (Did absolutely nothing)"
show me where i posted a link
you didn't
you must like trains
no
this guy is str8 hater
?
"You are not there yet"
Or as we say in norway
dove sei
lol
in italia
HAHAHAHAHAHAHAHAHAHAHAHAAHAHAHAHAHAHA
FATTY
yup @round stratus
guys
@whole bear
this guy is a really bad guy
ok
A Concise Introduction to Logic Hurley Watson
no one cares @jovial ermine
No rights?
it's ok it's best i dont speak
Im scared shitless
im literally not talking to u
go away
bye
wtf
are you coming texas
acnhio sono italiano
LOOOL
I humbly come before you, seeking your grace and favor. I kindly request voice permissions to enhance my participation in our wonderful community. May you consider my plea with kindness and grant me the ability to join voice channels, contributing to discussions and learning.
<@&831776746206265384>
vivi negli US per 3 msi e sarai come me
please only ping moderators for urgent moderation requests
!voice
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
se the above for getting voice verified
sorry, my bad
lol
As a friend of 5 sailors, I disagree LOOL
he is 19 if that explains anything
" The film is set in a dystopian United States between 2017 and 2019, featuring a television show where convicted criminal "runners" must escape death at the hands of professional killers."
guy need help with a part of my code here, i need to make it only a 5 liner code but this is as far as i could get
def filter_datum(fields: List[str],
redaction: str,
message: str, separator: str) -> str:
"""Redacts specified fields in a message using regex."""
pattern = r'(\w+)=([^;]+)(.)'
return re.sub(pattern,
lambda match:
f"{match.group(1)}={redaction}{separator}"
if match.group(1) in fields
else f"{
match.group(0).replace(
match.group(0)[-1], separator
)
}",
message
)
comment is required
where??
okey
def filter_datum(fields: List[str], redaction: str, message: str, separator: str) -> str:
pattern = r'(\w+)=([^;]+)(.)'
return re.sub(pattern, lambda match: f"{match.group(1)}={redaction}{separator}" if match.group(1) in fields else f"{match.group(0)[:-1]}{separator}", message)
yo
there is a minor on the house!!
jaja. jeg liker ordspill. det er ikke bare bare å preke slike ord
just educate me man
you sound like some doing a pack of cocaine right now
En vis vis person på narkotika, kan aldri like stoff mer
🧠
du er gået helt fra forstanden mand
Yeah, the first one is more readable.... Just why?
did you translate that
du har mange skrivefeil
du har gått* helt fra forstanden mann*
and NO I am completely sane
no, there are no spelling mistakes
it is danish
ohhh
ja, opfør dig lige
danish is basically norwegian with spelling mistakes
opposite but yeah
is it even gonna work
nah
denmark is actually shit
they onced ruled our country
BEFORE EIDSVOLL
YEAH FUCK YOU DENMARK
EIDSVOLL ON TOP
EIDSVOLL ON TOP
EIDSVOLL ON TOP
EIDSVOLL 1814
EIDSVOLL 1814
VI KAN KJØPE HELE DANMARK OM VI VILL
VI KAN KJØPE HELE SVERIGE OM VI VILL
VI KAN KJØPE BEGGE TO
VI KAN KJØPE BEGGE TO
VI KAN KJØPE BEGGE TO OM VI VILL
VI HAR OILE OG GASS
MORRA DI LIKER JAZZ
VI HAR MINERALER OG KU
HERRIGU
OG VIS VI VILL
OG VIS VI VILL
VI KAN SELGE DISSE NÅ TIL USA OG FÅ ALLE PENGA WOAH (slow down in beat)
wallah brur
17 trillioner nok er wild
1
2
3
4
VI KAN KJØPE HELE DANMARK OM VI VILL
VI KAN KJØPE HELE SVERIGE OM VI VILL
VI KAN KJØPE BEGGE TO
VI KAN KJØPE BEGGE TO
VI KAN KJØPE BEGGE TO OM VI VILL
rate my new song?
That's slow
I once had 150 wpm on typemonkey
show me the results from monkey type
where is it
Nice
this is crazy
so less finger movement
i am using all my 10 fingers could that be a factor that might be slowing me down
okey
NO lol
shoot that's so fast sounds like you'r smashing all keys at once
that is the only good part
don't pointerfingertype
PLEASE
it is like max 80 wpm
all fingers I have seen 250
brooooo!!!
But I have one problem
I am typing wrong
want me to show how shit I type typing normally?
WHAT THE HELL
WTF
Im so good
I want to become better the normal way
but my muscle memory
is at the shit one
slowing down for you is the best option for now
Since I have been coding for like 2-5 years
might just make neuralink 2.0
then make a program to translate brainwaves to text
then I can write 800 wpm +
Hi everyone
hi
Company need you. Yes!
Company cant pay you. No 😦
@viral violet
A person who says who he/she is only dims that attributed character.
@frozen owl in rust you use a BufWriter to fix that
yo @somber heath isnt it super late for you
hay there
hi
i really need an advice to improve
my key typing
my keyboard is a 70% idk if that really helps or not
Are you looking for speed, accuracy or ergonomics ?
Spaccurnomics.
In that case, change the layout to colemak-dh
this is pretty hilarious https://youtu.be/HWed9QOKTMM
Activists concoct wild, meritless accusations of "Transphobia" and "Human Slavery".
Read the article:
https://lunduke.locals.com/post/5823666/ladybird-web-browser-developer-attacked-by-unhinged-dishonest-activists
More from The Lunduke Journal:
https://lunduke.com/
@hybrid storm @humble mountain 👋
hello
SerenityOS maintainer's handling of the situation was way more political than the suggested grammar fix
but does it matter now? hopefully not
i was just more interested in the ladybird browser
we need something that isnt google based
yes
@Circuit.gatemethod
def MCRX(self,
angle: float,
control_indices: int | Collection[int],
target_indices: int | Collection[int]) -> None:
# Ensure control_indices and target_indices are always treated as lists
control_indices = [control_indices] if isinstance(control_indices, int) else control_indices
target_indices = [target_indices] if isinstance(target_indices, int) else target_indices
# Create a Multi-Controlled RX gate with the number of control qubits equal to
# the length of control_indices with the specified angle
rx = Op.create(OpType.Rx, angle/np.pi)
mcrx = QControlBox(rx, len(control_indices))
# Apply the MCRX gate to the circuit at the control and target qubits
for target_index in target_indices:
self.circuit.add_qcontrolbox(mcrx, control_indices[:] + [target_index])
@Circuit.gatemethod
def MCRY(self,
angle: float,
control_indices: int | Collection[int],
target_indices: int | Collection[int]) -> None:
control_indices = [control_indices] if isinstance(control_indices, int) else control_indices
target_indices = [target_indices] if isinstance(target_indices, int) else target_indices
ry = Op.create(OpType.Ry, angle/np.pi)
mcry = QControlBox(ry, len(control_indices))
# Apply the MCRY gate to the circuit at the control and target qubits
for target_index in target_indices:
self.circuit.add_qcontrolbox(mcry, control_indices[:] + [target_index])
trepang2
a 70%?
hi, what you making btw?
had a good time @peak depot ? 👍
Veikkaus Oy is the Finnish government-owned betting agency which holds a monopoly in the country. It was formed in 2017 as a merger of three previously existing betting and gambling agencies of Veikkaus, Fintoto and Finland's Slot Machine Association.
hi @lapis trail and @stark river
what game are you making @stark river
hi @fickle plaza
do you have a mic?
yes
hangman
cool
where u from
from netherlands
oh nice i love netherlands
thx ig
how long have u been coding in python for
4 years
dam, you're very experienced
you?
i've been working on a project since december 2022 but i still haven't really gotten the hang of coding yet
ah, i don't have any money
oh sure, my project is kinda part of a private organization but i don't mind if you just want to help
can someone tell me how to use git for group coding?(mostly how to update a code each individuals have changed on the Git project?)
@vestal copper @stark river
@grave frigate how can I help u
@vestal copper
hello @somber heath
You don't know how to use git right ?
technically indeed yes
@somber heath can you please help me on how to use Git?(for group project purposes)
okay no problem
@mystic oriole 👋
@snow trellis 👋
@app.route("/update" , methods=["Post"])
def update():
# [[to update],[index]]
global p2
data = request.get_json()
message = data.get("post")
global info
info[message[1]] = message[0]
return info
i = 0
def Loop(x):
for y in range(x,1000000):
i += x
i = 0
def Loop(x):
global i
for y in range(x,1000000):
i += x
global info is redundant, since you're not assigning to info directly
... unless you're bypassing some function-scoped non-local variable
(which would be shadowing)
@app.route("/update" , methods=["Post"])
def update():
# [[to update],[index]]
data = request.get_json()
message = data.get("post")
info[message[1]] = message[0]
return info
!e
x = "global"
def outer():
x = "non-local" # don't do this: shadowing
def inner():
global x # don't do this: non-assignment global
print(x)
inner()
outer()
:white_check_mark: Your 3.12 eval job has completed with return code 0.
global
what framework are you using?
if any
(Flask/Django/others)
Flask is very unfriendly to almost any form of in-memory state
in deployment setting, it'll have several separate python worker processes with their own state (that's what most WSGI runners do)
@atomic gust 👋
Flask dev server is limited in concurrency, so that might provide a false sense of being able to have some in-memory state
usually data would be stored in some external database
^ only valid within a specific request
@marble oracle 👋
Hi
git fetch
sometimes it takes closing the app entirely to get it to work
yeah, overlay thing is confusing
on some phone it makes discord disappear from active app list
so you need to tap it to get it fullscreened again
you don't see the app in the list?
it's the overlay thing, right?
hmm
(I'm still not sure what's actually happening)
likely system failure, at least in part
need to transfer the clip off a security cam system - need to clip it before its wiped
looked like he had fun , avoided my garden so its good
had hail beat up my little sugarpea seedlings
now they are recovering - squirrels love to dig in fresh dirt , but its muddy
sugar peas , red beets and experimental cucumbers
last year carrots and green onions not grow
fluffy kitty looks pampered - hooman servant @peak depot
@kind storm 👋
you can make a temp greenhouse with a frame and platic sheet , may last 2 - 3 seasons
a good experimental start
mm plants love rain water , they bloom better
Welcome to AgriMoon.Com – a website helps student to Knowledge about Agriculture, Books, News related to Agriculture sector
complete free courses on ariculture , from greenhouse design to soil ecology
actual free PDF books on courses
greenhouse design and automation is cool
but need to know how to do basic growing
ohh you have W11 ???
10 has random lock screen imagery with text description
i have i3wm.. complete blank screen
they used to do it more often, like daily; but now, seems like, 10 mostly defaults to some specific one
i3wm 🫶
... this might be regional
This is related to the other days discussion about the Innovators dilemma:
https://youtube.com/shorts/InkJ8_aJzOo
Yes, a very big dog
they love swimming
They love just about everything
capis would look cool in sun glasses
Doesn't everyone?
They are common in Argentina
In Australia, there is the wombat, spiritual sibling of the capybara
Wommy & Cappy
coffee cup sized MUG
used for flashbang/smoke too, but looks very differently
@quartz beacon you know what KS-23 is, right?
I have a question about the "Livestream" option:
I'm going to fix some things in
https://github.com/python/cpython/pull/119445
Should I Livestream?
probably when Hemlock, Mindful or LX are around you can ask for video role
Okay!
"Nothing lasts forever. The Αα and the Ωω are not distant. There's only so much between them. The beginning and the end. "
How i fix?
I guess for today, I can stream from my jitsi server.
I rewrote it
there a BIG bird , eagles
but then i get json it's about Json, compiler i think GCC
I can install it on Linux, it's about system variables on windows
do you have VS Build Tools installed?
are you using CMake for the project?
have you configured the project?
if not, are you using WSL/mingw?
WSL is installing
the easiest way I've seen to get VSC work with C++ was to use the CMake extension directly
no launch.json
Installed
any1 here worked w/ tkinter b4?
Oh, another question re video streaming:
Is it ok if I do NOT need help and I stream just for public info?
C needs a compiler/GCC/GNU because you can bash script with it i believe
Tried that
ctrl+shift+p
cmake: quick start
(enter name)
C++ project
executable
skip options
add new preset
create from compilers
pick
ctrl+shift+p
cmake: run without debugging
Some people just stream themselves programming
for hours and hours on end
so it's perfectly OK to know what you are doing, I believe
<@&831776746206265384> VC0 please
fine grained , type of coral , its a abrasive
mm that foam thing is good to clean as dry eraser for white board
We are the Romans
Hehehe
Thanks for help Alisa, quite not getting it to work yet
It's okay, i wanted to build some C, for video program, i'm piss bored
It's a GCC/Compiler something
!code
Respect, majority dont know what it is, had they printed it back of their head
keep the F attitude
Pumice is actually not coral, but volcanic lava with bubbles in it.
something changed in the cmake quick start
𝗙𝗢𝗟𝗘 𝗣𝗨𝗕𝗟𝗜𝗦𝗛𝗜𝗡𝗚 - https://www.smarturl.it/FolePublishing
𝗠𝗜𝗔𝗠𝗠𝗔 - 𝗣𝗔𝗣𝗜 (𝗽𝗿𝗼𝗱 𝗯𝘆. 𝗗𝗼𝗽𝗲𝘀)
✔️ Did you subscribe to 𝗠𝗜𝗔𝗠𝗠𝗔's Official channel? 👇🏼
► http://smarturl.it/SubscribeMIAMMA
👉🏼 Turn on the 🔔 to be notified for all the new songs.
🎧 Listen on Spotify / Download on iTunes 👇🏼
► ht...
ya , sounds better
Geeks acting dominant on internet
very fine grit
This is New World, thanks again
previously it didn't, like, save the preset sometimes
Yes i dont know, it's fine, thanks for trying
Not that important i do something else
But i want to learn C fluently for video games later, you make it in C#
cmake quick start should be fine for most projects
Usually that's it
or just default setup CLion uses, if you have the license
No i want Studio code
Then i might as well write in Linux bin files wouldn't i?
Not sure
It's okay thanks for trying i find out, i have 2 years more
Just piss bored with HTML, web-development wanted something different
Appologise all i said was he was disrespectful all true what he said
Because he constantly talk in people's mouth & talk down to people
Can't even let the lady talk first
There you go
Not even the lady
For me (being from Puerto Rico) it's so strange to hear reggaeton in a different language.
What is it portogise?
I don't think so
Oh you speak french there?
Python?
I'm assuming that's already been tried
(so just listing stuff for "something different")
Oh i tried uploading PDF file a book, free book C book
Puerto Rico is Spanish and English
I like to do assignments &^read books, so i wanted to read C book, i can't compile in microsoft visual studio code, i wanted to ask about it in discord i jump discords to listen to " " make fun of my english & talk in my mouth
You a good girl Alisa
Thanks for helping
Forgive me, we all have things to learn, but you know i'm from the hood & slum
When people try to dominate you
Let me know if you need a good book or anything
free as in public domain?
No no just PDF files
Probably security reasons related to that, i wanted to give you a book
So, free "as in beer"
No my name is Jack Jaconelli and i drink F Scotch
Lol, it's a figure of speech.
I don't think scotch is gratis.
Why would it be free?
And why you write it in Danish?
At-least why would it be free?
😅 +
Danish?
A Great Dane
for public domain and actual free books, it's enough to just share the name
@quartz beacon similar thing in Japanese with s/sh and others
> what do you think is philosophy
damn, that's quite philosophical
cout<<"Hello, New World"\n;
Senatus Populusque Romanus
Caledonians
Hibernians
Albinos
Know Thyself
We are the Scandinavians
We are the Romans
Ich Bin Eine Scandinavian
Eine, because we all sit down and shit
Puto
1 King
3 Queens
Alicia
Sofia
Vittoria
& I'll Mio Alba ❤I
I'll cuore per LÍtalia
3-Smorre-Brod
Obligation to Family
Family First
Family Forever
MillEye's.
A Million Eyes.
Giai Ma one se qi all nanen
Erling
Heir of Clan-Chief.
United Kingdoms of Scandinavia
We Make Americans JellyFish
SixthGen
SixthSense
Never Forget - Two Families
Blood makes you related, loyalty makes you family.
Wo Ai Ni
God's will
Seljuks
Alhamdulillah
There is only one god
Red & Blue
3rd colour to you
Because 3 is an important number.
2 is the balance.
Balance between me and you.
Balance between man and women.
Balance between negative&positive.
But it all comes down to one.
"V" For Victorious.
La Fucking Liberta
@quartz beacon there's a specific accent you need to do to sound philosophical
what is this
Slavoj Zizek
idk why but I chose to put the French flag on game profiles
minesweeper too
top 14 minesweeper player representing France
I had wbw flag for a while on lichess
now it's wrw
white blue white
white red white
wlw flag 🥰
there is almost no consistency across social profiles, generally
GitLab
... codeberg is funniest in terms of what I have in the profile, imo (see web archive)
.uwu
gimme my 30 uwu
idk what I was expecting to change there
lmao
anyone have any ideas on turning HTML 1.0 into python ideas. Check it: cfb.unh.edu/phycokey
trying to turn it into something new.
html is a markup language, to display text
python is a programming language to execute instructions
not sure how or why you would convert one to the other @elder knot
Plome: trying to figure out that fine point between Markup Language and Dynamic Text
surely neither of those are in any way related to python
@earnest quartz Hi
@whole bear hi
@earnest quartz Plz turn off you mic
You have background noise
raining in khi... what's the situation in your city? 🌧️
@earnest quartz @upbeat bobcat ?
finally some cold weather
Barish dor dor tak nahi ha
not here
mulk bhar mein barish ki peshin goi hui hai.. it will rain
iidar to lag bi nahi raha
Aj zada garmi ha kal sa
isloo mein raat ko barish ki forecast hai
Allah kary ho jai
!rule 4
4. Use English to the best of your ability. Be polite if someone speaks English imperfectly.
But we can communicate better in this language
I get that, but the rules are the rules, always free to private chat
dekhtay hain bro
bilkul
What's the point of having rules if they're not to be followed?
choro.. maa chudaye randi gora ... khud toh hai nahi chat mein toh hum kyun english mein baat karein.. yeh europeans ko sirf colonialism soojta hai
What are you on about now?
I know how to use a translator.
Oh my gosh 😮
No, ir'a moderation and rules
Are you a moderator??
Really simple actually, <@&831776746206265384> moderate in English, they don't want to have to translate all your personal insults.
be present in chat or take your colonial attitude elsewhere
this is wrong translation
I would have commented on the weather being unbearable here as well had y'all followed rule 4
Hard to be present when I'm being excluded 😦
no you wouldn't have.. since you are not present in chat.. you just want to dictate
I am present though, as evidenced by the sending messages in chatr
Discord on the side screen, you know how it is
we will talk in english out of courtesy if someone is present in chat.. otherwise we will talk in whatever way is easier for us..
you slavs do the same thing so don't try to dictate to us
So you like to break the rules?
"you slavs" thanks for bundling me into a group, I pretty exclusively speak English
You are on a tear this morning, really friendly
Why break only 1 rule, that's my motto
it is ok for you slavs to do it? but when we do it you conveniently "remember" the rules
You have some serious dislike for the slavic people, not sure what happened to you, but you really shouldn't be bundling people
we're not one person
typical european racist attitude
and again, I speak English
pretty fucking exclusively on this server
unless someone requests I drop a word or two, or asks for a specific translation, but I don't carry on conversations in violation of the rules
I respect the rules
You don't need to respect me, but you should respect the rules of the place you're at
point is your fellow slavs speak in their language when among their own kind so why should there be double standards
Ask the moderators, if I see people speaking not English, I generally remind them of Rule 4
Any other rule violations i see, I generally point out as well
Sorry the rule offends you, #community-meta is a great place to complain about the rules
if others are around, we will speak in english.. simple as that
There are others around
see that big list?
goes for days it feels like
32k unlabeled users online
and climbing!
now the slav is purposefully lying.. this is the real list present in the chat
el oh el, the muted voice chat?
either he's stupid asf or thinks all non-europeans are stupid asf
Funny how I'm here, but not htere
so therefore, I am not here?
🧠
How about, I'm in the text channel
where I pointed out that english is required
and not in voice chat
so I am here, part of this conversation
that's being had, here
typical european 19th century mentality.. everybody chatting peacefully .. euro comes in to disturb everyone's peace.. demanding they must abide by "his rules"
4. Use English to the best of your ability. Be polite if someone speaks English imperfectly.
you think I wrote the bot?
if you are not in chat, why are you disturbing us?
I am in the chat
see
this is a public forum
with rules
why do you not abide by them
I'm the bad one
in a public place, listening to the posted rules
you're here blatantly ignoring them, justifying the ignoring of the rules, and hitting me with personal insults
since you seem to really dislike the rules
This isn't your house
not your rules
that's how it works, the moderators and admins make the rules, we are expected to follow them
And if one rule doesn't matter, why do any matter? So let's remove them all! spam for all!
No, I think the rules were put in place for good reason, and I'm a fan.
(not that it matters, not my server, not my call what the rules are)
either he's a wannabe moderator
or he just wants to disturb our peace
They just happen to be what they are, and neither you or I will change them in this conversation
Or I like rules.
Not a wannabe moderator, not trying to disturb your peace
just enjoy reading the conversations in chat, and rule violations that complicate that I'll call out
i don't see why an european polish immigrant to the US would want to create mischief and discomfort for others for no other reason
I don't see why wherever you're from as a human person in their place of being would want to violate the lovely rules of the great server
Maybe I should do one of those, "you must be this or that" things you keep doing to me
you must be incapable of reading and understanding the rules or just not give a shit about the rules
why don't you start by heckling your own slavs when they don't follow the rules
I hafve
Hi, please follow rule 4 and speak English to the best your ability in the server
@candid panther he is heckling us
And please stop engaging with each other, this conversation has devolved
indeed . if he is not present in chat then what is his problem? ask anybody, we always speak in english whenever somebody is present in chat
We would prefer messages in the server to be in English
A group DM would be a good alternative for speaking in another language with a small group
just be ready.. next time eastern europeans converse in their own language i expect you to deliver the same message to them
all i'm saying is there should not be double standards
If I am made aware of it, I will
i'm going to tag you and make you aware every time this happens
Tagging the moderator team would be more effective, as I am not always available
Just curious if we're going to cover the personal attack?
Or is that cool in foreign languages
i just want you to be aware of these double standards
Where was the personal attack?
as he has already stated that is an incorrect translation
Which is why we speak English, to avoid things being lost in translation
What was the meaning then?
blind reliance on poorly written software is a bad thing.. i expected members in python discord would be aware of this
another goodo ne
Seems to be a consensus
What does it mean?
guess it wasn't motherless
this is a latin-based western script.. it doesn't translate properly into latin based languages
So how would you translate it
since you said it in ione language, share the sentiment in English
try a million other online translators, each would give a different result anyway
we know this.. you don't know
Hey guys, please drop this topic. You aren't engaging in a meaningful exchange anymore, and if it continues I will mute you both. We always expect members to follow the #code-of-conduct and #rules . When there are other moderators who know the language they can review.
i was talking to @upbeat bobcat in the first place... i don't know why he keeps heckling us
This is a public chat, and I wasn't heckling, I was pointing to a rule because I enjoy reading the chat
And now we have addressed it, and I am asking both of you to move on
the personal insult is fair game i assume? I'm done with the rest of it, the horse is a pulp, but that was not addressed as far as I know.
we are all moving on.. i doubt he can
I don't know the language and will wait for other moderators to review
Mid 90s and humid
we got winds.. cooler weather now
Hotter than Satan's ass, with a bit of evaporated sweat to make it all the worse
monsoon season has started
not here
I get the tail end of a hurricane later this week too
what a strange path for this one
hello dearr friend
hey yall
i'm never gonna be able to speak in this server cos i'm not active enough

3 14 down, max of 36 to go!
@willow ember hi
hi
hi
hru?
hru means
how are you
fine what about u
All good
how do i share my screen
ask a moderator
NPCs behaviours = Enabled
soja
hi
@stark riverIt was raining today
@humble vector 👋
Because there is a voice gating system designed to discourage voice trolls. See #voice-verification for information on how you can pass the voice gate. 🙂
It is a bit of a sorry thing to have to have it, but it's better with it than without it, I'm afraid.
@frosty holly 👋
its ok im an introvert, i cant talk
pls i really need python help
it is urgent, can u help @somber heath
I'm entirely uncertain. With what do you need help, specifically?
Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Users\noozha\AppData\Local\Programs\Python\Python312\Lib\tkinter_init_.py", line 1968, in call
return self.func(*args)
^^^^^^^^^^^^^^^^
File "d:\Face Recognition Management Attendance System FYP\face_recognition.py", line 111, in face_recog
img=recognize(img,clf,faceCascade)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "d:\Face Recognition Management Attendance System FYP\face_recognition.py", line 100, in recognize
coord=draw_boundary(img,faceCascade,1.1,10,(255,25,255),"Face",clf)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "d:\Face Recognition Management Attendance System FYP\face_recognition.py", line 79, in draw_boundary
n = "+".join(n)
^^^^^^^^^^^
TypeError: can only join an iterable
see this error
I keep on getting the error
Yes. It means that n needs to be iterable for that specific part of the code to execute.
So you either need to make n iterable or do something different.
Let me look for a bit more.
Can't do much without seeing that part of the code at the very least. What is n?
you can print n just before joining to see what it actually is
wait see my full code ,,, the n is specifically the student name, it should be prtinted on the screen when my cam is on
WAIT I SEND THE FULL 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.
^ use this
n = "+".join(n) is complaining because n on the right side isn't something like a list;
sadly the type error doesn't tell exactly what it is, so you need to find it out yourself;
the simplest way would be to just print it
I know what n is
!e
"".join(None)
: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 | "".join(None)
004 | TypeError: can only join an iterable
it is the the student name
not always
Okay, what type is n?
print it anyway
string
actually, can i explain the whole scenario?
You've been requested to use the pastebin link above to show your code to us.
Please do so.
i alr did it
they sent already
...
u dont have to be rude tho
just print it right after getting from the database
from what I understand about fetchone, it can return None
if there is nothing in the database matching your query
I'll leave you in the capable hands of Alisa Feistel. 🙂
my_cursor.execute("select StudName from student where StudID="+str(stud_id))
n = my_cursor.fetchone()
n = "+".join(n)
print(n)
my_cursor.execute("select rollNo from student where StudID="+str(stud_id))
r = my_cursor.fetchone()
r = "+".join(r)
here u mean?
one line higher
ok
n = my_cursor.fetchone()
print(n)
n = "+".join(n)
like this
I'd expect fetchnone for mysql do more or less the same as the one for sqlite3 does
which is to return tuple | None
Heck.
actually my face is suppsed to be seen on the screen when my cam is on, this is not appearing on the screen due to a certain error
None
Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Users\noozha\AppData\Local\Programs\Python\Python312\Lib\tkinter_init_.py", line 1968, in call
return self.func(*args)
^^^^^^^^^^^^^^^^
File "d:\Face Recognition Management Attendance System FYP\face_recognition.py", line 113, in face_recog
img=recognize(img,clf,faceCascade)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "d:\Face Recognition Management Attendance System FYP\face_recognition.py", line 102, in recognize
coord=draw_boundary(img,faceCascade,1.1,10,(255,25,255),"Face",clf)
i keep getting this
Leaky boat.
I can't
Ah, must be rolling it out gradually. I'm not sure where I'd use this to be honest 🤔
maybe like we currently copy message links, to refer to a message previously sent
It's your ain't
Not quite here, not quite there.
if (!aunt) aunt
Maybe because of the fault, Singapore is picking up the slack?
@dense pike Yo
> rewriting the whole project
"so finally moving off the Jupyter Notebooks?"
wouldn't be that suprising given it's ML
Yo ok
Heres whats got me stuck
Online Python - IDE, Editor, Compiler, Interpreter
import random
party = open("party.txt").readlines()
murderer = random.choice(party)
guesses = 3
print("Welcome to the Caveat Mansion!")
def mansion():
while guesses > 0:
print("You are all enjoying dinner.")
print("The lights go out.")
killing
print (party, " are still alive")
print ("Who do you think is the murderer? (case sensitive")
choice = input()
if choice == murderer:
combat
if choice != murder and choice in party:
guesses = guesses - 1
print("Wrong person. You have", guesses, "guesses left.")
mansion
else:
print ("ERROR WITH INPUT, PLEASE ONLY TYPE A VALID MEMBER OF THE PARTY. BACK TO MANSION SEQUENCE.")
mansion
def combat():
chance = randint(1, 20)
print (murderer, "REVEALS A PISTOL. ")
print ("QUICK. YOU DRAW YOUR CONCEALED CARRY")
print ("IF THIS NUMBER IS ABOVE 10 YOU HIT THE SHOT")
print (chance)
if chance > 10:
winner
if chance < 11:
failure
def killing():
dead = random.choice(party)
print ("When the lights come on, ", dead, "is dead." )
party.remove(dead)
mansion
failure
mansion
def failure():
print ("YOU LOSE. PLEASE RESTART PROGRAM TO PLAY AGAIN")
def winner():
print ("YOU WIN. PLEASE RESTART PROGRAM TO PLAY AGAIN")
i tried asking chatgpt about my portfolio website but it can't scrape it coz of React 🚫
It won't run def mansion automatically
!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.
using pre-SSR React for the fight against AI
just add () after mansion, failure and killing
yes you SSR
on lines 11, 16, 20, 31, 33, 39, 40 ,41
rather on, after you get it working, refactor to use loops instead of recursion
I see
I have added them
Now it says UnboundLocalError: cannot access local variable 'guesses' where it is not associated with a value
was it Ruby where you can call a method without parentheses?
can i share screen?
!stream 248957011662864384
✅ @dense pike can now stream until <t:1720706701:f>.
well now its talking about the guesses variable
i fixed the yellow stuff
Well if anyone wants to help out of the kindness of their hart
:3
Not entirely awful.
@dense pike In the event you don't get help here, check out #❓|how-to-get-help if you haven't already.
@rugged root yes, one of those is mkdocs
another is mdbook
there are more
Rust book is made with mdbook
this what VMware use after the merger
Gitea too
again, after change of corporate structure
so like
wait until the company gets acquired
then switch to docusaurus
Everyone has an accent.
Wait that was another name for Istanbul?
Probs
Sounds like an element
@dense pike send here ig
this formatting scares me a bit
you don't need the choice argument in the function