#voice-chat-text-0
1 messages ยท Page 243 of 1
@chilly anvil can you please change your name?
view-source:https://trust-fire.com/
This source code
This picture dont appear on mobile device& this square
Why is that?
These BR dont show up either
๐
This bugged as F
might as well redirect things
HTML is broken
I try higher index value
but why its only on phone
And the BR...
inline style that Fucking BR
Give it a media query as well
Got the <br> think its related to body
I put them outside of </p>
Makes great sense
Now why there is no picture...
& The CEO part
It makes sense...
@sleek dawn @whole bear ๐
definitely not Portuguese neither Spanish lol
Square above does appear same style
A little better than before
Completled mind boggled about it
sup man, good and you?
@whole bear๐
!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.
but it dont work on me
here
theres no code problem problem is when i open the file its intantly close
i watch some tutorial vids they say edit the code put input()
but it didint work
import os
os.system("pause")
yes
but you can see
line have problem
red line
is that fine?
okay i save but still didint work
@wise loom @whole bear @somber heath can you help me
theres no code problem , problem is when i open the file its intantly close
yes
nevermind the proggam ๐
can you just help me to fix this problem
theres no code problem
problem is when click cmd opening and instant close
my friend opened it and it works
you're developing a #NoCode solution?
what
exactly
looks like an empty terminal to me..
.....
for a no-code solution.. your code works pretty well
but i cant open the filee
Agile
cmd opening and instantly closing
maybe it's not necessary to open any file
maybe it doesn't need to work
are u idiot?
what do you think?
look like idiot yeah
well.. you decide if I'm an idiot or not so.. I suppose it's up to you
@whole bear https://lichess.org/YUdN7tOd
Join the challenge or watch the game here.
caching issue ig
knightmare 2|0
https://lichess.org/ZngUVyAa
Join the challenge or watch the game here.
it's odds (you have better starting position)
I'll add 1 minute (to 3|0)
Join the challenge or watch the game here.
knightmare 3|0
iirc it's -16 eval at the start
and I don't remember any theory
ok
(latest link)
it was winning for black all the way until capturing the queen
-12.9
solving puzzles too
(my puzzle rating rn is somehow lower than the actual rating)
are you guys and girls and they watching ASMR
its so quiet in here
hello
alright cya
i am new to python can anyone help me
@whole bear i am from india can you help me
i am new
๐ฎ
@median cipher what is the issue
ะะ
Asian Highway 1 (AH1) is the longest route of the Asian Highway Network, running 20,557 km (12,774 mi) from Tokyo, Japan via Korea, China, Southeast Asia, Bangladesh, India, Pakistan, and Iran to the border between Turkey and Bulgaria west of Istanbul where it joins end-on with European route E80, running all the way to Lisbon, Portugal.
..
hi can anyone help with python code pls?
How did bro know I was Indian?
2^(16-5) = 2^11
Your linked Spotify account shows your real name I think?
Joseph Carl Robnett Licklider (; March 11, 1915 โ June 26, 1990), known simply as J. C. R. or "Lick", was an American psychologist and computer scientist who is considered to be among the most prominent figures in computer science development and general computing history.
He is particularly remembered for being one of the first to foresee moder...
insteresant
@tulip gyro ๐
@hollow chasm ๐
๐
!d print
print(*objects, sep=' ', end='\n', file=None, flush=False)```
Print *objects* to the text stream *file*, separated by *sep* and followed by *end*. *sep*, *end*, *file*, and *flush*, if present, must be given as keyword arguments.
All non-keyword arguments are converted to strings like [`str()`](https://docs.python.org/3/library/stdtypes.html#str) does and written to the stream, separated by *sep* and followed by *end*. Both *sep* and *end* must be strings; they can also be `None`, which means to use the default values. If no *objects* are given, [`print()`](https://docs.python.org/3/library/functions.html#print) will just write *end*.
The *file* argument must be an object with a `write(string)` method; if it is not present or `None`, [`sys.stdout`](https://docs.python.org/3/library/sys.html#sys.stdout) will be used. Since printed arguments are converted to text strings, [`print()`](https://docs.python.org/3/library/functions.html#print) cannot be used with binary mode file objects. For these, use `file.write(...)` instead.
@gloomy ravine ๐
You can still hang out and join in via text. It's what this room is for
oh great, thanks
@rotund nexus ๐
lol as soon as i come back
@uncut ferry ๐
hi
@somber heath I don't feel like speaking
I have machine learning project on my head.
But I don't know any of it
Not able to hear you
It's not something I've properly dabbled in, myself.
hello
@opaque scroll ๐
don't have voice perms
You have sent less than 50 messages.
I will do that
that is true sometimes
Was explaining the two things I got Nitro for
Furina
i thought it was quite funny
๐คฃ
5.4.3.2.1
a friend of mine also fell into the trap when i posted this on my social media
english lorem ipsum translation
loves or pursues or desires to obtain pain of itself, because it is pain, but [...]
circumstances occur in which toil and pain can procure him some great [...]
To take a trivial example, which of us ever [..] laborious physical exercise, except to obtain some advantage from it? But who [...] find fault [...] chooses to enjoy a pleasure [...] one [...] avoids a pain [...] produces no.
[...] blinded by desire, that they cannot foresee [...] blame belongs to those who fail in their duty through weakness of will, which is the same as saying through shrinking from toil
Huh, that's really cool
Thanks
railway.app
๐
What thiing?
@rugged root I can't pop in currently sadly but I felt I must grace you with this beautiful piece of war crimes that I wrote at 1am this morning :)
https://gist.github.com/vcokltfre/38c484fb4000836536e77ce806c27b6b
Is it useful? Not really, we have context managers for this
Is the decorator typehint glorious and terrifying? Damn right
oh HI ALEC
DAD JOKE
known him for a loong time, so yknow
MAD joke more like
Dude the returns
The returns hurt so much

ARENT THEY PERFECT
How are you doin?
nogal
oh they hurt me while I was writing it too, but it had to be done
well, it didn't but I'm me, so it did
now i'm actually curious who is longer
you
@sly briar Did you know that in terms of male humans?
fair
met mad through moderation stuff, met moderation stuff through you
ah yeah makes sense
Hey @peak depot
@raw carbon blame me i'm the reason you know him
tbf cactus can take half the blame 
ehhh give her all of it she can deal
@rugged root I need to talk to you about something
maybe a small amount goes to SF4 too lol
Cactus?
a person
very wacky person tho, from what i remember
its been a while tho
oh yes
wacky is quite the carefully choosen word
Cactus "Java Subprocess RCE Inducer" Duper
Taken from a BBC doc about the South Pacific. Benedict Cumberbatch struggles to say the word "Penguin".
Also, David Attenborough only has one shirt- https://www.youtube.com/watch?v=-LX85aiYXsM&feature=youtu.be
@whole bear Asking questions like "how do I get a girlfriend" really isn't appropriate here. Makes a lot of people feel uncomfortable
Everyone, feel free to post cat pics here. I have been sick for 3 weeks and need a pick me up..
I Understand
I am sorry
A web app that works out how many seconds ago something happened. How hard can coding that be? Tom Scott explains how time twists and turns like a twisty-turny thing. It's not to be trifled with!
A Universe of Triangles: http://www.youtube.com/watch?v=KdyvizaygyY
LZ Compression in Text: http://www.youtube.com/watch?v=goOa3DGezUA
Characters, Sym...

Compared to a sober driver the crash rate of a driver with a BAC of 0.8 g/l (still the legal limit in 3 of 25 EU-member states) is 2.7 times that of sober drivers
@idle vector
With a BAC of 1.5 g/l the crash rate for fatal crashes is about 200 times that of sober drivers.
gee thanks blud๐
Pug
He's Melty Chihuahua
:incoming_envelope: :ok_hand: applied timeout to @idle vector until <t:1705341562:f> (10 minutes) (reason: attachments spam - sent 10 attachments).
The <@&831776746206265384> have been alerted for review.
lol
:incoming_envelope: :ok_hand: pardoned infraction timeout for @idle vector.
Like 7 or something?
bot/exts/filtering/_filters/antispam/attachments.py line 21
threshold: int = 6```
so the first cat is tootsie
2nd is pic is of my first ever cat ginger
and the last cat is my youngest cat dora
the dog is jacky, hes a 13yo goofball
@peak depot
yep!
lil longboi
he alwaYS sleeps like that
if i require (import) a module repeatedly in lua, is it slower? because it is interpreted?
I suppose, if this group is your main social outlet, it may be ok to say something like "I'm looking for help making friends, please DM me if you're willing to offer suggestions."
plugging the loose ide power cable into the top hdd would be a good start
Piuku
pikachu*
ร land (Swedish: [หวหland] ; Finnish: Ahvenanmaa) is an autonomous and demilitarised region of Finland. Receiving its autonomy by a 1920 decision of the League of Nations, it is the smallest region of Finland by both area (1,580 km2) and population (30,129), constituting 0.51% of Finland's land area and 0.54% of its population. Its only official...
Ostrobothnia (Swedish: รsterbotten; Finnish: Pohjanmaa) is a region in western Finland. It borders the regions of Central Ostrobothnia, South Ostrobothnia, and Satakunta. It is one of four regions considered modern-day Ostrobothnia, hence it is also referred to as Coastal Ostrobothnia to avoid confusion.
Ostrobothnia is one of two Finnish region...
yo can someone help me out on this NVIDIA deep learning course
I'm new to this stuff and there's a massive error
something about kernels
link to a pastebin?
you mentioned an error.... can we see it?
@rugged root I would appreciate if you'd voice verify me
if possible
I'm in desperate need of help
โ @vapid sierra can now stream until <t:1705344705:f>.
My boss told me to have a good day. So I went home...
this seems like a jupyter issue
!stream 785540651298717726
โ @vapid sierra can now stream until <t:1705345896:f>.
@thick pulsar i was coding 1 hour more than you ๐
# the API only takes "true" or "false", not True or False
# additionally, aiohttp refuses to pass in a boolean or nonetype in the params
_null_keys = []
for _key, _value in params.items():
if _value in (True, False):
params[_key] = json.dumps(_value)
elif _value is None:
_null_keys.append(_key)
# popping null keys directly when iterating over the dictionary would cause
# the dictionary to change size while iterating, which would crash
for _key in _null_keys:
params.pop(_key)
lambda x: x*2
x => x*2
What's the issue?
@pine depot I'm here, I just didn't realise I was muted.
here !
for ?!
@slim kiln ๐
hi
i need help, i was gunna ask you @somber heath but the voice chat said i failed a verification ๐ข
so what do i do?
What's up?
Help with...?
ok i was creating a snake game and this is my code changing the head graphics of the head when changing head direction: def draw_snake(self):
self.User_iamar_Downloads_Personal_Project_GIGAHEAD_PICS()
for index,block in enumerate(self.body):
x_pos = int(block.x * cell_size)
y_pos = int(block.y * cell_size)
block_rect = pygame.Rect(x_pos,y_pos,cell_size,cell_size)
if index == 0:
screen.blit(self.head_right,block_rect)
else:
pygame.draw.rect(screen,(255,255,0),block_rect)
def User_iamar_Downloads_Personal_Project_GIGAHEAD_PICS(self):
head_relation = self.body[1] - self.body[0]
if head_relation == Vector2(1,0):
self.head = self.head_left
elif head_relation == Vector2(-1,0):
self.head = self.head_right
elif head_relation == Vector2(0,1):
self.head = self.head_up
elif head_relation == Vector2(0,-1):
self.head = self.head_down
and i dunoo whats wrong
!code
do you want me to paste the whole code?
@somber heath who you talkin to?
moi i think..
@somber heath help me send 50 msg LOL i can't
mah fault
Hello hru
i tried to use vectors to identify the other block in relation to the head
so it can change graphics
asian you?
i does happen but not what i want to happen
for some reason i already gussed that
we are all indianโ ๏ธ
Indian ppl have some kind of trend of having gamer in there name
rly
ill check
alr
@somber heath why aren't you mod yet
๐
real
OPAL do you use CONDA?
I'm encountering an error
btw im new at coding and my goal is to train an AI to completely destroy this snake game
how do i train the ai?
i can send picturessss
i poured my soul into this thing
TY BUT I"LL WAIT FOR MY MOM TO GO OUT
oh yee
btw do you know how to train an ai?
and how can i check how many messeges i have sent
!user in #bot-commands
Could not convert "user_or_message" into Member, User, or Message.
Message "in" not found.
Nice to meet you
ima scam yo aaaa
@arctic vessel ๐
hi
hey i cant remember if you told me how to train an ai?
i think my fellow Indians had bad time with RACIEST ๐ in vcs
yep cuz here are educated ppl
i mean all we gotta do is import the libarys in our brains and we gud to go
letrally born with it
wow you sound like that one kid in english classโ ๏ธ
@somber heath sometimes your voice is unclear
8 more messeges
then you finna be japan cuz ima bomb you like hirosima
with question
s
ye
ur col
SPEAKING FAX OLNY
OK I HAVE 50 MESSEGES NOW WHAT
@tulip gale ๐
FEMALE WHEREE
i was working on some automation, i need help in building a model which could detect the text present in the captcha
mah fault play it cool
oi
like i'm problem with importing my custom MODULES. i mean in relative importing
do you have any resources for that?
so there are the captcha imgs
ok thanks
!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.
ะฒ
Hi everyone,
This sure seems like advertising on the server
ok then I would delete it
but anw it's open source
!rule 6
It had nothing to do with any conversation going on, please do delete it
If it came up naturally, it wouldn't break that rule
Thanks @karmic obsidian
done @wind raptor
are you mad?
ITS -3C TODAY AT MY PLACE
Why?
I was reading this book called clean architecture by Robert C. Martin and it says
"The fact that OO languages provide safe and convenient polymorphism means
that any source code dependency, no matter where it is, can be inverted."
Can anyone explain this ?
he lost sanity
Lol I guess so
does anyone has any suggestions to contribute to open source python projects?
Apparently it's Gujarati
๐ downside of having such large population is that lot of dickheads born too with geniuses
FAX
That's just statistics.
Sorry, I haven't looked in a fair bit
there's a lot on ground state
lmao
discord jus not famous yet in india
I don't agree with that
mb idk
@quasi sand @whole bear ๐
it is 17C .. wondering if i should wear a hoodie while jogging 
one punch man workout in -5C outside hits diff
don't
you are from southern part of asia Ig
lol
it's always between 17c and 27c
close.. i am in a desert
i get sweaty even at <15 degrees
im ina counrty shit on by hitler
which one?
i think my history is weak
rj
poland
uh great
@slim kiln like how did you learn
whole python in
2 months
lol
not all em
basic python is relatively easy as compared to other languages
fax trna start c recommed?
ALL MUSLIMS ARE NOT TERRORIST
hi
tf bro im muslim
yo
Whoa
ya C gives alot of experience
What is going on in chat
i don't think i said anything outrageous
rly cuz i heard its the mother of code
and its shit hard
Why sail the Sea when the Ocean lies dormant
The horizon won't chase itself.
WEMEN!! IT HAS BEEN DECAEDES
Really? That's your reaction?
mah fault bro
@somber heath my bad, i didnt see your message lol
I unmuted and started to say hi half a moment before you left.
I went to bed 
Fair.
Tiny "nope"
Watt is love?
Baby don't hertz me.
Don't hertz me.
N-ohm-ore.
N-ohm-ore.
hemlock does focus not sound like KJ to you?
for some reason to me he does
I could see it a bit with the pacing a little
I disagree
I guess if you pitch it up a bit
maybe its just me
๐
getting stressed :/
Why's that?
on a project
i'm starting to think i won't meet the deadline
@shell zinc @flat sigil Yo to you both
You got this!
i wrote a chunk of code
haven't tested yet
either works or doesn't :p
why are you pinging me
As a greeting.
schrodinger's code
ok.
Since people were already speaking
thanks!
hope so
๐
!e print("1.2.3" < "1.2.3.4")
@rugged root :white_check_mark: Your 3.12 eval job has completed with return code 0.
True
that better be evaluating on length
!e print("1.2.4" < "1.2.3.4")
@rugged root :white_check_mark: Your 3.12 eval job has completed with return code 0.
False
!e python print("2.3.4" < "1.2.3.4")
@amber raptor :white_check_mark: Your 3.12 eval job has completed with return code 0.
False
javascript is bad
jquery came out and fixes most issues with javascript
javascript fixed itself, now jquery is useless
Templating languages and html preprocessors like pug are popular
noone uses those anymore javascript was too simple so now we have React and its Reactive! (we definitely didn't already have event listeners and local storage)
oh no react has really shit performance now we either use solidjs or compile react on serverside with a meta framework
htmx and plain js is better.
It's evaluating char values
Dynamic language strikes again
htmx gives you access to AJAX, CSS Transitions, WebSockets and Server Sent Events directly in HTML, using attributes, so you can build modern user interfaces with the simplicity and power of hypertext
htmx is small (~14k min.gzโd), dependency-free, extendable, IE11 compatible & has reduced code base sizes by 67% when compared with react
It's dope
vue.js shouldn't be bad
!e print("22.12.1" < "22.1.22")
@rugged root :white_check_mark: Your 3.12 eval job has completed with return code 0.
False
hey buddy
.wa s -1 f to c
about -18.3 degrees Celsius
That. It's about that here
Get the always up to date information about how many days have passed since a JavaScript framework has been published
or elixir
the big zero got me ๐
An event is the specification of a significant occurrence that has a location in time and space. A signal is a kind of event that represents the specification of an asynchronous stimulus between two instances.
@stark river
At its core, Signals is an event-driven programming paradigm that enables developers to create custom events and event listeners within their JavaScript code. This means that they can trigger callbacks or functions when certain events occur within their application, such as user input or data changes.
py -3.10
Back in a moment or 5. Quickbooks rears its ugly head again
problem with making chart of accounts?
@misty vigil
yo
i need help
yk there would be some moving icons in website can someone tell me what is it called
like it maybe showcasing our skills so the icons of python html css moving left to right
does anyone know what is it called
hope this will help in learning shaders "Nik Lever" GLSL
https://codepen.io/collection/ngRMbq?cursor=eyJwYWdlIjoxM30=
All the shaders from my Udemy course. Get the course at a great discount using this link https://niklever.com/courses
that's not it
can i share a portfolio link of my friend so that you might get an idea of it
in this
I love when people ask if they can then just do it anyway
I mean it's fine, just cracks me up
Can I share my chess game?
mr hemlock sir can I take a crack at posting an egg joke?
always my philosophy ask for forgiveness not permission
Sure, I could use a good yolk
eggcelent
mr hemlock can you pls help
.
have you tried percussive maintenance
maybe i can help (i am an accountant)
can i share a portfolio link of my friend so that you might get an idea of it
https://minhpham.design/
:p
here is more bad thing than economy cors error ๐ข
@knotty flint @misty vigil Same person, two accounts?
@dry jasper mamma mia
@rugged root I have once again poisoned myself with solder fumes
seriously considering getting a small fan with an activated carbon filter
because this is becoming ridiculous
Like.... yeah, no shit. Why are you surprised by this
@rugged root https://en.wikipedia.org/wiki/Berlin_Blockade
The Berlin Blockade (24 June 1948 โ 12 May 1949) was one of the first major international crises of the Cold War. During the multinational occupation of postโWorld War II Germany, the Soviet Union blocked the Western Allies' railway, road, and canal access to the sectors of Berlin under Western control. The Soviets offered to drop the blockade i...
I need a spelling recommendation. Senpirate or Senpairate
unity also on browser
True, and has been for a while
use this
https://github.com/catppuccin/nvim
this is Arch
no UI
Fuuuu, of course
Stupid flash drive is doing a long format
That's what I get for trying to be clever to fix it
which window manager is that?
@woeful salmon
okhe
ohh AppData
i saw but i was confused
i feel that convo.
haha used for 3 months
Pacman๐
@stark river just want to make sure you know but i do agree linux is better for development in general i just think windows isn't that much worse anymore as people who have previously done dev in old versions of windows think
w> not promoting windows just trying to clear missconception that windows will forever be bad
I do all my dev stuff (admittedly I'm a hobbyist so take my experience with a grain of salt) on Windows
use promo code "Noodles" to get 10% off windows 11 keys
Earlier this week, George Hotz, founder and former CEO of comma.ai, became the Head of Research Team and promoted me, Riccardo Biasiniโฆ
George Hotz
we know you have shares in microsoft ๐ช
which type of projects?
any
web, desktop, mobile apps, games,
plugins / mods for games
i start with 2-3 people -> by day 3 its me and 1 other person working on it and by 2-3 months i'm the only one
for game jams its just common for people to quit tho
just because of real life crap and not having time
Pair Programming be like -> U missed a semicolon , BRAH
love to
but i can't give whole day
sure consistent
haha Merge conflicts in end
hehe yeah vscode is good to show everything in everyfile
like merge conflicts
husky
๐ข server limit discord
grpc ?
have you tried
haha your voice also stream through c
@stark river food
most random tag i've ever gotten
you always say you know you're in pydis when you see food
so I posted some food for you
very funny
.
let me see the timestamp on that
like i'd remember that
it was an off the cuff comment.. i'm not always saying that
2 phase of life
Hello I have written a code for the backend and want to make sure everything works well. However I cant test it so Im looking for someone to just read it over. The code is 320 lines so i do not want to post it here. if anyone is willing to help please let me know, it would be greatly appreciated
yo
@junior gull๐
!voice
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
ikik i just have no enough messages and time on server to talk lol
@small meteor Join here
just finished php project for uni and pushed on git lol
not really
im just getting started
ik python
its my main language lol
dunno if u have any question u can hmu ig
its okay my hands are used to pressing enter every sentense
u need to self learn it
i dont think anyone is able to straightup teach you
@junior gull Join
@jovial salmon ๐
!voice
Vc*
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
Ik
I just joined today
IK I DONT SOAM
SPAM*
I am going to go I am joking a speedcubing comp
Competition
Sorry auto correct
I am leaving
I am going to a speed cubing competition
Bye
Cool, what's your PB?
Yo sorry for being mean earlier
Hi
whatever you want it to be
Within reasonable bounds.
Hot take.
somebady round here gotta take a stand
Hm?
which framework is good Django or Flask
its beautiful
What stand?
Why?
am begining backend with pyhton what is your advice ?
WHY?!!?
WHYYYY!?!??!
life will be more fun that why
also i am the only black guy in my school (even though im indian) i normalized the n word so everbody says WAZ GUD N- everytime the see me
i would be glad if u tell me some roadmap to it ...
what about django or flask ind of things ......am just a beginner
thanks @whole bear
Hey
@whole bear u there?
Join millions of players playing numerous chess games every day on Chess.com. Choose from blitz and daily games, play vs. computer, solve puzzles, and more.
you'd never get a job then
not so convinced about it being more fun
@obsidian dragon yes i saw
extention
*s
@obsidian dragonhaha lol cant hear pc volume
thanks but i just asked ๐
ok boss
@young solstice @ember dew ๐
wyd in voice chat alone @somber heath?
daym. keep going.
African Bush Viper.
Blue Racer Snake.
Gonna be busy for a bit, sorry folks
Damn it
I upgraded to Win 11 and now all my context menu things are gone (even after reverting back to the classic one)
Time to start reinstalling things I guess
Nevermind, it's all there.
All is right with the world
!stream 243117556729249792
โ @echo tartan can now stream until <t:1705506857:f>.
Hello guys
!kindling
The Kindling projects page on Ned Batchelder's website contains a list of projects and ideas programmers can tackle to build their skills and knowledge.
do you guys know where can i host php/mysql project for free?
000webhost is not working for some reason
im making a text only game engine with pygame as a backend
so you write in python
and it does the pygame stuff in the background
and has some cool functions
like single function text rendering with anchors
and background, border and corner radius
DUDE
I BET THERES ONE WORSE SWEDE
THAN ME
im pretty chill
except for when i dont want to
Honeywell's Ceramic Compact Tower Heater is an increasingly easy to access portable heater that features an abundance of user-friendly additions. Digital controls and a large LCD display allow for easy navigation and a pain free approach to adjusting and modifying your unit's heat output.
gentoos
class UserEntityRoleMaterializedView(Base):
__tablename__ = 'user_roles_materialized_view'
name: Mapped[str] = mapped_column(nullable=False)
aws_role_name: Mapped[str] = mapped_column(nullable=False)
role_type: Mapped[str] = mapped_column(nullable=False)
role_id: Mapped[UUID] = mapped_column(nullable=False)
user_id: Mapped[UUID] = mapped_column(nullable=False)
entity_id: Mapped[UUID] = mapped_column(nullable=True)
__table_args__ = (
PrimaryKeyConstraint(role_type, role_id, user_id, entity_id),
{},
)
def __repr__(self):
return (f'<UserEntityRolePivotTable(name: {self.name}, role_name: {self.aws_role_name}, '
f'user_id: {self.user_id}, role_type:{self.role_type})>')
class SQLModelRoleRepository(RoleRepositoryI):
def __init__(self, username: str, password: str, host: str, port: int, name: str):
self.engine = new_engine(username, password, host, port, name)
def get_roles_by_id(self, user_id: UUID) -> list[RoleEntity]:
pass
with Session(self.engine) as session:
statement = select(UserEntityRoleMaterializedView).where(UserEntityRoleMaterializedView.user_id == user_id)
return session.execute(statement).all()
[(<UserEntityRolePivotTable(name: admin_role, role_name: admin_admin, user_id: c4162d62-91b1-4c6b-8bc9-4c204aefc5c6, role_type:admin_role)>,), (<UserEntityRolePivotTable(name: entity_admin, role_name: entity_admin, user_id: c4162d62-91b1-4c6b-8bc9-4c204aefc5c6, role_type:entity_role)>,), (<UserEntityRolePivotTable(name: platform_admin, role_name: platform_admin, user_id: c4162d62-91b1-4c6b-8bc9-4c204aefc5c6, role_type:platform_role)>,)]
@rugged root heyooo
Springfield is a famously common place-name in the English-speaking world, especially in the United States. According to the U.S. Geological Survey there are currently 67 populated places named Springfield in the U.S.A. Database studies reveal that there are several more common U.S. place-names than Springfield, including Fairview and Midway. T...
noodle is sticking her head out
Artist: Yukihide Takekawa, Kazz Tomaya
Publisher: Quintet, Enix
literally the most true thing ever
!stream 243117556729249792
โ @echo tartan can now stream until <t:1705516687:f>.
!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 does it mean for an OS to be 32 or 64 bit
interesting
so like ive heard of the linux kernel and NT kernel and those things but what really are they
so like for example if i have windows 10 and i move my mouse does my windows installation talk to the kernel > firmware > hardware?
im actually using linux rn
Learn the basics of computer science from Harvard University. This is CS50, an introduction to the intellectual enterprises of computer science and the art of programming. The course is taught live every year and this is the 2023 version.
๐ป Slides, source code, and more at https://cs50.harvard.edu/x.
โญ๏ธ Course Contents โญ๏ธ
โจ๏ธ (00:00:00) Lectur...
where is harvard located
oh shes not home yet
also what happened to discord's clyde ai?
@whole bear #1035199133436354600
Curses
:incoming_envelope: :ok_hand: applied timeout to @terse tendon until <t:1705525725:f> (10 minutes) (reason: burst spam - sent 8 messages).
The <@&831776746206265384> have been alerted for review.
Please don't spam messages for verification or you will be banned from verifying.
If you participate meaningfully in the text channels, it won't take long to meet the message requirement.
Yo @ivory stump

I need help
Currently working, if it's simple I can help but I can't get involved in anything serious
Food
(Just sitting in to supervise since no other staff are here)
If you want to stream vscode I can give you perms rq
!stream 717749310518722691 1h
โ @whole bear can now stream until <t:1705534739:f>.

Not in a quiet environment, talking to people irl
Looks like you need to unindent line 77 by a space, it should be far left
Also need a space between if and __name__ (Python is currently treating if__name__ as one variable name)
@whole bear 
unindent
As in delete the space on the left of line 77
if should become if
!stream 816885647125905418 1h
โ @hardy summit can now stream until <t:1705535318:f>.

It hit the end of the file while trying to understand your code
So this usually means it was looking for something and we couldn't find it. Here it's a closing brace
yes
Notice that on line 9 you start two pairs of brackets ( and only close one )
for i in listofnum:
listofnum[i]
You're mixing two things up here
Yeah the floor div is fine
Your problem is here
you're using i as if it is an index you can access the list with
When it isn't an index, it's a number from the list
# get index
for i in range(len(listofnum)):
print(listofnum[i]) # use index to get num
``` This is a way to use the original indexing, but you've mixed it in with:
```py
# get num straight away
for i in listofnum:
print(i)
Ctrl+S
You can tell if a file is unsaved by a white dot next to its name
DivisionAlgo returns nothing
but yet you print the return value
so just remove the print from line 9
!e
x = print("I don't return anything interesting")
print(x)
@ivory stump :white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | I don't return anything interesting
002 | None
(As an example of what's happening)
By using return on line 7 you end the function's execution
If you want all the values either always print or accumulate the results into a list
@ivory stump Thanks bro
good = []
for num in nums:
if blah(nums):
good.append(num)
return good
``` This is the kind of structure you'd want if you intend on returning a list of results (idk if you actually want to but...)
replace print statements with answer = .... and then return answer
In this form it can be shortened with a "list comprehension" but that could be for later
I have watched some anime, including all of jjk + movie :)
Yeah, although on bootleg yt channels so I missed a lot of episodes along the way
As in they'd get taken down every few days on copyright claim
pretty much
Was hardly the best way of going about it but I didn't know better at the time
hi opal
Of course
uh maybe 8 or so months ago?
I don't tend to count the days
@eternal monolith ๐
I store a timestamp and check up on it every once in a while, nanosecond accurate
Took about 5 months from joining?
But I spent an unhealthy amount of time helping during that period
IIRC 10k messages a month
๐

Woow
why don't you make your own server.. then you can be mod of it
to opal's point
I just like helping people learn and this is a nice side effect that helps me do that more effectively
Does it help you code better
So your goal is bragging rights and a power trip... 
Sure
Teaching something (well) forces you to fully understand the thing you teach so yes. Also watching other help sessions, and reading #esoteric-python / #internals-and-peps all teach me new things
@crimson girder ๐
it's a common name
tbh clicked this channel by mistake and discord is discord so it instantly joined
the lunas are getting out of hand (had to check the profile roles in case mod luna changed their pfp lol)
!voice
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
๐ค ๐ง
clicked the voice channel and discord was happy to insta join
It should require a double click imo
Wack
What's worse is discord's dragging on mobile. If you have perms to move channels around and try to scroll you can mess up and reorder the channels for everyone instead
Which some of us have done on multiple occasions (cough Mina)
That's a fair point
It's not a huge issue just gets a laugh once in a while as people try and find screenshots of what the order used to be
wrt what?
Yes during staff meetings, but they haven't aligned well with my schedule recently
Absolutely
She is more involved with things than I am
She absolutely deserves it
I had one from 2015 but deleted it, then I had one from 2018 but deleted it, I have a problem with deleting accounts for some reason
oh Cheeki
I'm happy where I am, I don't have enough spare time anymore to be super involved rn so I dont think anything's changing soon
do you want to see something cursed and programing related?
hit me with it
Damn
I'd say I did a double take but that setup took about 4 or 5
Lol
Cursed with an adapter for a mouse and keyboard
How do you do that๐ฟ
Way too much overthinking
@crystal ridge ๐
They already did their worst ( banned me from using nintendo online )
which I didn't use anyways
So you play on emulator now?
No
That switch has 700GB of switch games on it
I just play singleplayer games, that's always been my style
I do, just locally
It has so many games on it lol
@bronze brook ๐
:)
oh btw
this was put on a wall at my campus
such nerds smg
smh*
Yep
not sure what you mean
are list comprehensions lazy evaluated?
yeah

