#ot1-perplexing-regexing

1 messages · Page 69 of 1

high haven
#

someone was trying to talk on the phone while running

#

like holding up their phone to the side of their face

#

and i was like what are you doing bro

#

youre about to crash into that family of 4 smh

tardy rain
#

Running and calling smh

high haven
#

other person on the line: "uhh are you running bro"

tardy rain
#

Around here theres a group of older ladies and they run and gossip together and it looks hella fun

smoky forge
#

should i go swimming if my muscles are sore?

tardy rain
#

I cant keep up to eavesdrop 💀

high haven
#

join them. where are your shoes

tardy rain
#

Uh

#

I was off yesterday

#

So, next monday

#

Lmao

high haven
#

i expect you to get running shoes this week

#

in preparation

tardy rain
#

I'll see if i can get some cheap ones

#

I dont wanna sink 150+ gbp into shoes

#

Not right now anyway

high haven
#

yeah

#

you just need some kicks

#

so that you wont roll your ankle

#

when you take off

#

smh aboo trying to run in converse

radiant dragon
tardy rain
#

Standard teenager behaviour

smoky forge
tardy rain
#

Thinking they're invincible

radiant dragon
#

Solve some random python problems online with a nice cup of coffee

high haven
smoky forge
tardy rain
#

Fastest way to get rid of DOMS is to go work out again

smoky forge
#

i already missed 4 days

radiant dragon
high haven
#

then they get older and realize they need to stretch. thats the first sign of getting old

smoky forge
#

ig im getting old

high haven
#

correct

radiant dragon
#

Imagine not being able to make a donut one liner

tardy rain
#

Thats not a thing unless you cut the donut at which point its no longer a donut

wanton delta
radiant dragon
#

Pff

radiant dragon
#

Imagine assuming python in a python server

wanton delta
sullen pier
#
  • many enough times
  • much enough times
  • enough times
    which one is correct?
acoustic moss
#

3

young shoal
#

many such cases

devout wasp
#

@rough sapphire so basically this was my thought process, its a lil scribbly and gibberish. basically my thought process is to increment a first, then once a = input value swap a and b and start to increment b. which works fine until you get anything more than input = 2 so the bottom is me trying to workshop what would need to be done to get it to print in order

#

im looking at it and thinking that there is probably a better way to do it which i might try to write out now

#

this is my second thought process

#

theoretically that could work ad infinitum, just not quite sure how the loop would work

#

i have very basic knowledge and the section is currently about learning to use nested loops so im trying to tackle it with the concepts i know

#

im gonna try to whip up a quick code but i have work soon so i might have to work on it again later

#

yeah i mean i dont strictly have to do it that way but im just following along w an online course and its under the nested loops section

#

i keep forgetting for loops exist

#

bc we havent been introduced to them just while loops so far

#

like i said really basic knowledge still

#

i mean i can, itll just be really inefficient and overcomplicated i think

#

my immediate thought is while a < number

#

but then it wouldnt work if i set a back to 1 bc then that would always be true

#

i have to go to work now but im gonna keep thinking about this

rough sapphire
#

meow meow 🐱

solemn tulip
#

!e something like this?

n = 3
for i in range(1, n+1):
  for j in range(1, n+1):
    print(f'{i}*{j} = {i*j}')
royal lakeBOT
#

@solemn tulip :white_check_mark: Your 3.12 eval job has completed with return code 0.

001 | 1*1 = 1
002 | 1*2 = 2
003 | 1*3 = 3
004 | 2*1 = 2
005 | 2*2 = 4
006 | 2*3 = 6
007 | 3*1 = 3
008 | 3*2 = 6
009 | 3*3 = 9
naive igloo
#

YEEEEEESSSSSSS

#

IT PARSES HTTP PACKET

#

<exception str() failed>?

royal lakeBOT
#

Lib/http/client.py lines 1465 to 1468

class HTTPException(Exception):
    # Subclasses that define an __init__ must call Exception.__init__
    # or define self.args.  Otherwise, str() will fail.
    pass```
naive igloo
#

btw, i dont want to rely on http

#

like i want from ground up, from scratch

#

and also i figured

#

that issue comes from the fact that __str__() would have raised an exception (self.is_details_only not defined blah blah blah)

#

quite weird that it just does <exception str() failed> instead of the traceback

gritty zinc
royal lakeBOT
#

Python/errors.c line 1500

if (PyFile_WriteString("<exception str() failed>", file) < 0) {```
gritty zinc
#

but I'm failing to replicate it

gritty zinc
#

but there's supposed (according to that comment) to also be a way to mess up an Exception subclass in such a way that Exception's __str__ fails... can't replicate that.

naive igloo
#

lol

#

cpython already has triple-fault killswitch right?

#

i doubt?

honest star
#

Discord's branding is leaking

high haven
carmine apex
#

.color name blurple

median domeBOT
#
Blurple

Color information for Name blurple.

RGB

(88, 101, 242)

HSV

(235, 64, 95)

HSL

(235, 86, 65)

CMYK

(64, 58, 0, 5)

Hex

#5865F2

Name

Blurple

carmine apex
#

probably that

high haven
#

does that look right?

#

close enough

grave cove
#

seahorse ‼️

civic pasture
#

What do you call a flock of crows @grave cove

#

You have 10 secs

#

Waits

#

You tell us @rough sapphire

#

It’s called murder

edgy crest
#

nah

#

they murder

civic pasture
#

Crows are very clever

#

I love them

#

They have an IQ of 7 year old kid

#

Which is amazing

#

They don’t kill them @rough sapphire

#

It’s just the name given to a flock of crows

#

You don’t say flock of crows

#

You say murder of crows

#

When you see several of them

#

I mean brain size doesn’t have to do with intelligence

soft violet
#

Wrinkles.

civic pasture
soft violet
#

Are you saying you don't?

civic pasture
#

That’s good

#

lol

#

Looooool

high haven
#

his face bongoheart

#

just kill it on the SAT

kind thicket
#

Anyone in here have any advice for someone who sucks at coding but is studying cs?

devout wasp
#

all As will help w scholarship money, but the grades are good, just be sure to get a good SAT/ACT score

high haven
#

junior/senior year

young shoal
#

it's not hard

kind thicket
young shoal
#

you'll need to provide more detail for better advice

high haven
#

surprise. even art history.

#

im jk

young shoal
#

if you're not great at coding, you're going to have a bad time in CS

high haven
#

no

kind thicket
#

Well atm I dont have too much time for out of uni stuff but we have 1 subject where we have to actively do projects and im stuck with two dudes who are just doing everything rly.

#

Im fine with the theory and implementing small tings

#

But i have a hard time understanding my teams code and feel like I can barely contribute.

#

It just feels really poopy

#

I also much prefer theoretical informatics than actual programming

kind thicket
young shoal
kind thicket
#

And I wouldn't know what else to study since initially I wanted to go into music

kind thicket
young shoal
#

what courses are you taking now?

kind thicket
#

And this year (at least this sem) it's just the one

#

Well I have TI, computer networks and systems and software construction

#
  • two other subjects which count toward my bachelor but aren't related to cs
young shoal
#

TI ?

kind thicket
#

Theoretical informatics

#

Like automata stuff

young shoal
#

ah, interesting. well regardless, if you're not getting it in school you should supplement with some personal studying and projects

kind thicket
#

I wouldn't even know where to start

#

I've done some leetcode and exercism stuff

#

But it's mostly either too easy or too hard

#

I've tried getting into the advent of code

#

I usually quit after the first week do to time management issues

#

Idk what project would be a good way for me to practice while still being interesting enough to motivate me

young shoal
#

what sorts of things have you made so far?

kind thicket
#

Literally just school stuff since I didn't do any programming before getting into uni

#

I made a few simple text adventure style things but that's not exactly hard

#

I usually end up spending more time doing other things since I end up giving up on most projects due to lack of interest

#

I've thought about creating a discord bot with a few basic features but I'm not sure I'd have the time for that let alone if I'd be able to find the motivation to actually finish a few solid features

low chasm
#

"it depends", is the answer - different colleges look for different things.

#

if you want to apply for an ivy league university, then you'd want to be pretty strong academically, top of your classes and stuff.

kind thicket
#

I'm just struggling since I much more enjoy the theoretical side of comp sci (not because I'm insanely good at it more cause it's just satisfying when you understand something)

low chasm
#

you've got plenty of time, then.

#

you've got a lot of options, then 👀 although, it still isn't a bad idea to keep your grades up and do well in school.

#

you might end up finding a college that you really want to go to as well

#

I've got apps coming up next year, wish I kept my freshman year grades up better 🥴

#

your final GPA is made up of all your grades throughout your high school career (although this can vary college to college, as some don't consider your freshman grades)

#

you've got time to figure that out. do you have school counselors? they typically offer career advice and such ~ my school has every student sign up to meet with them near the end of the school year.

grave cove
#

bro do not listen to school counselors

low chasm
#

sure. although it's also not like a bad freshman year is going to mess you up. The same thing goes for having a few bad grades in general.

#

my counselor was fairly helpful 🥴

grave cove
#

they are actually the incarnation of the devil

low chasm
#

😩

grave cove
#

fr

low chasm
#

give em a go, if you don't trust them, you can take what they say with a grain of salt.

grave cove
#

do your own research and ask upperclassmen

low chasm
#

that too, I've got friends who're in college who've given me decent advice.

grave cove
#

too many stories where people listen to counselors and get fucked over and graduate a year late

low chasm
#

I guess overall don't stress yourself out, you'll do fine as long as you're somewhat mindful. Have fun while you're at it too ~

grave cove
#

personally I've had more fun in 2 months of college than like all of HS lmao

#

bro why

young shoal
#

you should care. the quality of education is vastly different. the quality of peers is different

grave cove
#

it gets old really fast

#

friends are nice but it's different where you live with them 24/7

#

i like it so far but the on campus living is really hit or miss

#

I got lucky so it's nice

#

I like it. I have a good roommate and we're really chill. Our rooms are also very nice

#

no communal restrooms or anything

#

still would prefer university apartments though

young shoal
#

nah dorms are cringe

proven ermine
#

Nah that happens, just usually only once or twice

grave cove
#

they always do

proven ermine
#

College is fun, but you also have to deal with things like neighbors coming back at 3 am and waking up the whole hallway and laundry rooms being taped off with caution tape because someone dun fucked up all of the machines

young shoal
#

and incredibly unhygienic floor neighbors

grave cove
#

lmfao

proven ermine
#

But usually most of the fun stuff counters it

grave cove
#

relatable

#

only been like 2 months and I already have some wild stories

proven ermine
#

Same here

grave cove
#

also the work is light so I get to spend a lot of time just chilling or hanging with friends

proven ermine
#

For now...

grave cove
#

indeed

#

I'll be getting an apartment next year when things start picking up

proven ermine
#

Just wait until all of your professors make all of your assignments/projects due on the same day

grave cove
#

or a house with a bunch of my friends

young shoal
grave cove
#

We don't talk about that

proven ermine
#

💀

stiff siren
#

why is everyone so mean to me

latent wolf
#

me

#

dict is faster with getting

ruby fox
#

Idk why, i feel like these dialogue paths can be represented like a html-style structure

#

After all, each dialogue path is nested within its previous dialogue

#

It can help you more when you are writing a lot of dialogues

#

Like a flowchart

ruby fox
#

Html can be also visualised as a flow chart, so as dialogues are also a flow chart, we can use similar html structure to store dialogue paths

#

And it saves you time to write whole story inside of a dict

#
<dialogue 1>
    <dialogue choice 1>
        <dialogue path 1-1-1>
    </dialogue choice 1>
    <dialogue choice 2>
        <dialogue path 1-2-1>
    </dialogue choice 2>
</dialogue 1>
#

Dialogue path 1-1-1 mean, they have chosen 1st choice of dialogue

#

And you can write it like a html file to store the dialogues

#

🤔

thick ore
#

Not html god

#

Atleast XML

ruby fox
#

Text align boo spooky

warped sentinel
#

like the band?

#

linking park

wanton delta
#

i found my favorite new animal

#

striking

edgy crest
wanton delta
#

Dracula Parrot they're called

#

i mean that is cool

dusky turret
#

thats cool

hearty violet
#

why is bro using pascal case for python variables

#

my eyes are hurting

unkempt prairie
#

who is the smart programmer that ever lived

hearty violet
eager cliff
#

@hearty violet if you dont want to actually put in the effort to explain, maybe dont say anything at all?

hearty violet
#

ight Im back

hearty violet
eager cliff
#

yes

hearty violet
#

well I assumed people on discord were familiar with the term

#

so I thought there wasn't a need to clarify

#

but the guy was a beginner himself and not familiar with the term

#

after him asking to clarify, I did in fact do so

#

if u scroll down u can see that I also did not "put him down" and was not "reductionist"

eager cliff
#

im not saying you were putting him down, i was saying the word is unhelpful.

hearty violet
eager cliff
#

you didnt in the first place though, and thats the problem im trying to say

#

you should not assume people know what a word that is intended to be used as an insult means.
if i tell someone who is struggling with something to try not to be an idiot, that person might know that it means 'im doing something wrong' but they dont know how to not do that or what exactly theyre doing wrong

#

they just have some vague notion of 'im doing it wrong'

#

it quite literally couldve just cleared up the confusion if you just made a bit of extra effort to say "try to develop an enjoyment of learning, and don't be complacent"

#

thats like 11 words and took me 5 seconds to type

#

instead of just saying "dont be soydev"

hearty violet
#

yeah I worded it wrongly ig

#

my bad

#

but they would've seen my clarification if they were following the thread of u guys contesting me, so hopefully they read that one instead

#

(the one where I said complacency isn't good in general)

eager cliff
#

np, sorry i got a bit heated maybe

hearty violet
#

no worries

sacred cove
#

😒

#

Seriously bio?

#

That's so irrelevant

glossy niche
#

massive skill issue

last mantle
glossy niche
#

Holy shit an f# user

edgy crest
glossy niche
#

f# is definitely interesting I wanna try it some day

sacred cove
#

if you sweat in a sweater, does that make you the sweater?

runic plinth
#

yes

tardy rain
#

Is it sweater weather

jaunty wraith
#

yes

high haven
#

agreed

solemn tulip
#

we need to eliminate tech debt

high haven
jaunty wraith
#

ghosts, ghosts, and more ghosts

#

I just did a web search for ghost-type pokemons and I only recognize Gastly and its evolutions lol

distant hazel
#

apparently knowing this format of memes means you're old

solemn tulip
#

what does gen 2 even have?

#

misdreavus?

#

literally only misdreavus huh?

high haven
#

sad but i think youre right

low chasm
high haven
#

anyway you can just have gastly line as your pokemons

high haven
low chasm
#

peak maturity

high haven
#

give us your wisdom

#

wise one

low chasm
#

I can't do it on the spot

high haven
#

poser

low chasm
#

it needs to come naturally

#

like otns

solemn tulip
low chasm
low chasm
solemn tulip
low chasm
#

good question

solemn tulip
#

I suspect the answer would work for both

low chasm
#

.wa s what do boats do

median domeBOT
high haven
dapper dew
#

"sail" ?

low chasm
#

right right

high haven
low chasm
#

would that really apply to submarines though

solemn tulip
#

sail has windy connotations

low chasm
#

.wa s define sailing

median domeBOT
solemn tulip
#

:/

dapper dew
#

Hmmm

#

Google search says "cruise" or "navigate"

low chasm
gritty zinc
median domeBOT
low chasm
gritty zinc
#

pathetic

low chasm
high haven
low chasm
#

cruising still doesn't fit though, I think

low chasm
dapper dew
#

The sub cruised down the coast

The sub sailed down the coast

runic plinth
#

Propels

solemn tulip
#

cruise is good

low chasm
high haven
#

give me a pokemon go screenshot from your game right here rn. otherwise ill think youre lying

low chasm
#

cruising implies a lack of control imo

#

or rather, giving up control

solemn tulip
low chasm
#

like cruise control in cars

dapper dew
#

That fits my definition of cruising through the day 😎

low chasm
runic plinth
#

They propel with propellors or waterjets

#

Propulsion

dapper dew
#

I think sail works for marine vessels

#

Even without sails

low chasm
#

are people who drive submarines sailors?

dapper dew
#

Submariners

low chasm
#

.wa s define sailor

median domeBOT
solemn tulip
low chasm
#

now we need to define "ship"

solemn tulip
#

so cross

solemn tulip
#

boats cross

dapper dew
#

Is a submarine just a submersible boat, or a submersible vessel

low chasm
#

how are we differentiating between a boat and a vessel

foggy jungle
#

The existence of submarines also implies the existence of dommarines

low chasm
#

.wa s define boat

median domeBOT
low chasm
#

so it's a subset of "vessel"

foggy jungle
solemn tulip
#

does browsers have a SUB?

gritty zinc
#

zeromq has a SUB

jaunty wraith
solemn tulip
#

I only now saw the ChatGPT joke

dapper dew
#

According to the US Navy, submarines are boats:

but as with many things in the Navy, tradition trumped logic, and today, all submarines—even the giant “boomers” (fleet ballistic-missile submarines)—are called boats.

solemn tulip
#

u-boats to borrow partially from german

dapper dew
#

a ship sails
a submarine dives then navigates/cruises and finally surfaces

solemn tulip
#

feels a bit weird to say something like a steamboat sails

low chasm
#

I've got my first debate competition on the 11th 👀

solemn tulip
ionic bane
low chasm
# ionic bane What are the debates about? Arbitrary topics?

we get one topic a few weeks before the competition, and we need to write two cases (both for and against the topic), and on the day of, compete in 4 rounds of debating - for 2 you argue for the topic, and for 2 you argue against the topic.

ionic bane
#

I see nice

#

In my Spanish class we were going to debate soon but it was on random controversial topics

#

Things like Abortions, Morality and other stuff

glossy niche
#

everytime you post more undertale shit it some how gets less canon

#

like, at what point is fanfic not fanfic anymore and just

#

its own thing

#

ship of theseus more like

#

shit of theseus

jovial oriole
#

.candy

median domeBOT
#
Top Candy Records

🥇 @jovial oriole: 11
🥈 @hidden pebble: 8
🥉 @kindred orbit: 6
🏅 @inland cape: 5
🏅 @ornate obsidian: 4

Your Candy Score

@jovial oriole: 11

Candies will randomly appear on messages sent.
Hit the candy when it appears as fast as possible to get the candy!
But beware the ghosts...

jovial oriole
#

Lets go

thick osprey
#

Before:

┌─────────┬─────────┬─────────┬─────────┬─────────┬───────────┬
│ Stat    │ 2.5%    │ 50%     │ 97.5%   │ 99%     │ Avg       │
├─────────┼─────────┼─────────┼─────────┼─────────┼───────────┼
│ Latency │ 2051 ms │ 2219 ms │ 2306 ms │ 2310 ms │ 2208.2 ms │
└─────────┴─────────┴─────────┴─────────┴─────────┴───────────┴

50 requests in 10.02s, 10.1 MB read

After

┌─────────┬───────┬───────┬───────┬───────┬─────────┬
│ Stat    │ 2.5%  │ 50%   │ 97.5% │ 99%   │ Avg     │
├─────────┼───────┼───────┼───────┼───────┼─────────┼
│ Latency │ 49 ms │ 59 ms │ 80 ms │ 80 ms │ 58.5 ms │
└─────────┴───────┴───────┴───────┴───────┴─────────┴

2k requests in 10.01s, 5.87 MB read

I might be getting the hang of this webdev thing. lemon_hyperpleased

rugged owl
#

@high haven Are you sure?
"Yesn't"

young shoal
#

✈️

#

also it's clearly a plane pithink

#

just think about it 😭. if you fix one coordinate, you've got 2 coordinates that can grow and shrink, so 2d, so it's a plane

young shoal
#

😭

rugged owl
#

Plane isn't even the point of the problem Sob

#

It's that a plane doesn't have any extreme rays (or points I guess?)

rugged owl
#

I'm going to put a bunch of graphs on my back side of the cheat sheet we can have.

#

All the graphs deadlya

thick osprey
solemn tulip
#

accidentally terrible time complexity? pithink

young shoal
#

i mean python is slow but surely not that slow

spare oriole
#

maybe the slow part is the db part

young shoal
#

unless they were really chunky rows, 9k sounds really small

thick osprey
#

That's just uvicorn having confidence issues trying to serve up 9k rows from a sqlite3 database while rendering the html view as 100 autocannon requests throw rocks at it.

young shoal
#

o

spare oriole
#

maybe you wrote slow code /j

thick osprey
#

I'm surprised it handled the stress at all.

spare oriole
thick osprey
spare oriole
#

oh you're using fastapi + sync code

#

asyncio might work better here

thick osprey
#

Not even using async functions for FastAPI

spare oriole
#

yes, which means everything justs thrown to a new thread per request

thick osprey
#

The goal is learning htmx and tricks along the way.

#

"Don't render everything on inital page load" is a good trick to have learned I think.

spare oriole
#

yeah, most pages load things after, or on demand

thick osprey
#

Which is where the performance boost came from. Instead of rendering the table directly, there's an htmx trigger that makes the call for data after the view is loaded.

solemn tulip
#

load a spinner to appease the user

young shoal
#

virtualize the table 😔

#

or paginate

solemn tulip
thick osprey
#

Hot take: I can't stand paginated tables in webUIs. If you can't display me all 10k items, what am I even looking at. If I need to interact with something on the bottom of the page; what even is your page layout?

solemn tulip
#

time to first render or time to final render?

spare oriole
#

your projects a bit hard to navigate, forget it

thick osprey
solemn tulip
#

initial load times is an interesting metric

thick osprey
#

It's something I wanted to think about at the moment. "Getting used to webdev" is certainly a stretch. haha

solemn tulip
young shoal
#

seeing a spinner reduces user frustration by 1000%

thick osprey
#

Absolutely agree as a user. I don't care if that table takes a second to load. I get it. But don't make me question my click on a link. Change the view

young shoal
#

but also, do not load 10k rows at once 😭

thick osprey
#

Give me the entire damn database.

young shoal
#

the slow internet users are wallowing in sorrow

wanton delta
#

heres the database download it and parseit urself

young shoal
#

yeah just give people a pg_dump

spare oriole
solemn tulip
#

10k is in the nice region where it actually really starts stressing accidentally quadratic code

thick osprey
#

However, to that point, I have the project set to pull something like 180 days of records? Default would be more sane at "last 3 hours".

#

If someone wanted to see the last 180 days, feel free to click the buttons. When you land on the page initially, a more sane time-range would be used.

wanton delta
young shoal
spare oriole
solemn tulip
young shoal
#

o. i was guessing you ran into some problem that was fine in testing with small n but failed when you ran into n=10k

solemn tulip
#

(10k)^2 ~ 10^8

young shoal
#

so it would seem

solemn tulip
#

for 1k it's only 10^6 which usually isn't noticably slow in any language

thick osprey
#

one of the end goals for my experimentation is to rip out all the ReactJS code that I can't support easily at work and replace it with htmx. A few admin utility pages for viewing the current state of database times. A few filters. Some ✨ s. And done.

#

Then I can get back to my usual task of frowning at people making poor observability choices in life.

solemn tulip
#

is time to final still as slow?

thick osprey
jovial oriole
#

async to sync

#

That shouldnt work

solemn tulip
#

oh it can

jovial oriole
#

Just returns a coroutine right

#

Or nit

solemn tulip
#

just block for a bit

jovial oriole
#

Why async then

young shoal
#

other async things, presumably

spare oriole
#

^

wanton delta
#

can sqlite do async writes

jovial oriole
#

!pypi aiosqlite

royal lakeBOT
spare oriole
#

!pypi aiosqlite3

royal lakeBOT
jovial oriole
#

Which one

solemn tulip
spare oriole
jovial oriole
#

Hmmm

spare oriole
#

oh wait, seems like it's been archived, wth

thick osprey
jovial oriole
#

They seem the same

solemn tulip
#

I'm surprised by 2s to fetch 10k rows though

jovial oriole
#

aiosqlite is dropin replacement

#

Why not use that

thick osprey
jovial oriole
#

If you're doing async calls anyway

thick osprey
solemn tulip
#

but on first load you do no db stuff, no?

thick osprey
#

The 50ms calls were after I moved the calls to post-load.

solemn tulip
#

right, I'm just curious why it's that slow

spare oriole
#

slow db query

thick osprey
#

The question is what was that slow. It wasn't just the database.

#

My guess, without a profile, is that uvicorn couldn't keep up with the DB calls happening where they were.

spare oriole
#

i don't think uvicorn is the issue here

solemn tulip
#

how do long do the db calls take actually?

thick osprey
#

The server was tipping. not quite into error land. but enough that the latency went sky high.

spare oriole
#

it can handle millions of calls

#

you're underestimating uvicorn imo

solemn tulip
#

oh, during low load the latency is more sane?

thick osprey
#

One sec. Let's try something. Let me just make a call to the database on initial load. No rendering still, just the call in the route.

#

!paste

#

Whether the issue is at uvicorn's layer or fastAPI's... meh. I have food in front of me now and have lost the drive to profile deeper.

#

Also, apparently my coverage tests are failing but github actions auto-merged anyway? pithink huh...

young shoal
#

lol

thick osprey
#

technology was a mistake. I shall return to monkey.

thick osprey
#

no thoughts, only bloons

tranquil orchid
wanton delta
#

best i can do 50

thick osprey
young shoal
#

punctuation is crazy

tranquil orchid
spare oriole
#

which test is this

tranquil orchid
#

Quote are okay though

thick osprey
#

Without punctuation it feels odd to me

tranquil orchid
#

Gotta give that one a whirl

young shoal
#

wait that's the old one

#

lmfaoo

#

jack change your theme

tranquil orchid
#

It appears to have had an adverse effect

civic pasture
#

What’s that?

#

An app?

thick osprey
tranquil orchid
#

Okay that was almost sweet until the second half lmao

young shoal
#

😭

civic pasture
#

It’s hard on the phone

#

Lol

#

Are you guys typing on the phone

solemn tulip
civic pasture
#

Try on the phone

young shoal
#

punctuation + words makes me feel so weird

civic pasture
#

It’s messy on the phone

young shoal
civic pasture
#

Wacky

#

Wacky words

young shoal
#

punctuation is relatively natural due to programming i think. but it definitely slows me down

solemn tulip
# solemn tulip how do I even get your benchmarks to run?

do I need to be elsewhere to run this?

> python mock_database.py
Traceback (most recent call last):
  File "/home/algmyr/git/htmx-fastapi/mock_database.py", line 10, in <module>
    from htmx_fastapi.transaction import Transaction
ModuleNotFoundError: No module named 'htmx_fastapi'
tranquil orchid
#

phone feels wrong trying to type fast

thick osprey
spare oriole
#

i had some issues trying to get that repo to run

thick osprey
#

I take that back. looks like I remembered to add python-multipart

solemn tulip
young shoal
#

glide typing goes hard

tranquil orchid
thick osprey
#

nvim .

young shoal
#

point and laugh

thick osprey
#

sigh

tranquil orchid
solemn tulip
#

nvim . is an interesting strategy

young shoal
#

i used to have a script that would drop me into fzf if i didn't provide arguments

thick osprey
#

If only windows were capable of having a monitor removed without reshuffling the entire hecking window stack.

young shoal
#

my monitors take a different amount of time to wake up, so when it wakes up from sleep it dumps all the windows onto one monitor

solemn tulip
#

my peak on phone was 60 and deteriorated with typos

#

granted, my keyboard isn't exactly helpful with typos

#

that + sausage fingers

#

the keyboardiest keyboard

young shoal
#

do you still get the gboard features with that

solemn tulip
#

lol, imagine

young shoal
#

also what's the point of qwerty on phone anyway

solemn tulip
#

code

young shoal
#

yeah but there's no muscle memory from physical keyboards

#

i noticed that i had basically no problems using qwerty on my phone even though i lost all my muscle memory with physical keyboards

solemn tulip
#

special characters though

#

try typing a ` in gboard

#

it's two levels deep

young shoal
#

i think it's 3 presses unfortunately 😔

#

though, with my 65% keyboard it's also 3 presses, so 😩

vale raven
solemn tulip
vale raven
young shoal
#

bloons!

vale raven
#

How far have you gotten?

solemn tulip
#

I only associate bloons with flash

young shoal
#

btd6 is pretty good

#

but it doesn't really have that much replayability unless you're playing with friends

#

which is a problem for me

#

so instead i leak classified documents on the internet 😤

high haven
#

thats what i use for math

vale raven
#

You can replay all you want with no change

young shoal
#

that's not what it means

vale raven
#

That’s what the word means

wanton delta
#

play mhw with me pls

vale raven
#

Maybe you need to go back 2 skool

solemn tulip
vale raven
#

Stupid last medal

#

Hecking HARD

young shoal
#

black borders when?

vale raven
young shoal
#

but uh, that's not really what that word means

solemn tulip
#

replayability ~ are repeated playthroughs still satisfying or does it lose all value?

young shoal
#

so true

solemn tulip
#

oh I'm dumb, it's PR commit and the stuff before it that's part of the PR

solemn tulip
thick osprey
#

Huh. That should have been before I moved the db calls.

#

I dunno ¯_(ツ)_/¯

civic pasture
#

Does anyone know how to install PyTorch

#

On Mac with M2

solemn tulip
thick osprey
#

#WorksOnMyMachine

young shoal
#

incredible

thick osprey
#

I got lost on my way to bloons and I'm in Hyrule now.

young shoal
#

what if the bloons went off the path also, huh?

civic pasture
young shoal
solemn tulip
rugged owl
# vale raven

Follow guide
only works in older update
#@!&
???
Black boarder

young shoal
#

bruh sg

#

this is a new side

rugged owl
young shoal
#

I mean CR was one thing but now this

rugged owl
civic pasture
#

Guys

#

I’m the new mod

#

First things first

carmine apex
civic pasture
#

Everyone needs to have a pet Python

#

In this server

high haven
#

chat

#

did we do netflix rec's yet or

young shoal
#

three body problem

high haven
#

1960s china...

#

mao zedong?

#

pub you havent even watched this

#

how can you rec this

low chasm
#

the library has like a two month hold wait for that

#

I'm thinking of just buying it off for ebay or something

young shoal
high haven
#

yeah

low chasm
#

I did

high haven
#

how can you rec this

low chasm
#

books are expensive 😩

rugged owl
high haven
#

???

young shoal
young shoal
high haven
low chasm
#

manifest is kind of ass

rugged owl
#

Netflix is kind of ....

young shoal
#

then sci fi stuff happens

high haven
rugged owl
#

"I see your searching for <popular movie>. We don't have it, how about: <Not even close garbage movie>?"

high haven
low chasm
#

have you seen money heist

#

I've been meaning to for a while now

young shoal
rugged owl
#

I don't think I made it past episode 2? or 3?

#

Is that the one with the red suits and masks?

wraith hound
#

Blacklist gets bad after like 3 seasons but super especially at like... 8

high haven
low chasm
wraith hound
low chasm
#

lmfaoo

wraith hound
#

big bad is like 30 years older

high haven
#

bummer

rugged owl
#

This one right?

wraith hound
#

sort-of-spoilers: ||like half the plot is speculating whether big bad is her dad||

rugged owl
#

I couldn't get past the actual heist itself

low chasm
wraith hound
#

same braincell woohoo

high haven
#

interesting

rugged owl
#

wait

#

that happened in blacklist?

high haven
#

is that new show lupin any good

#

anybody know

#

speaking of thieves

low chasm
low chasm
wraith hound
low chasm
#

lolol

#

I stopped after season 7

rugged owl
#

I watched it long ago

wraith hound
#

and it's been a while and my memory is awful

low chasm
#

same here lol

rugged owl
#

All I remember was that MAJOR SPOILERS|| Surprise! Instead of him being your dad, it was your mom!||

#

Either that or I really don't remember squat

#

lmao

low chasm
#

I cannot remember at all

#

Russian something something, wasn't it

wraith hound
#

||katarina rostova was her name||

wraith hound
low chasm
wraith hound
#

||i don't know if it was confirmed, 'tis been a while||

rugged owl
#

Yes...but no... but yes

#

but no

low chasm
#

apparently the Blacklist is getting a spinoff

rugged owl
#

but also. yes

low chasm
#

blacklist: redemption or something

#

|| about her husband Tom, it seems ||

wraith hound
#

||is liz going to be alive again or not||

rugged owl
#

||Liz never actually died?||

wraith hound
#

||the only reason the show was half-decent near the end was watching her pathetically fail at so many things (particularly Raymond)||

wraith hound
#

i just remember the end of season 7, never went further

high haven
#

|| spoilers spoilers spoilers spoilers spoilers DoggoKek ||

rugged owl
#

Uh, not sure tbh

#

don't quote me on that

#

OH

#

||Liz does die at the very end of S8 since the actress left||

#

Yea ok, I mean

#

let's be real, the show was kinda shit

low chasm
#

fr

rugged owl
#

I had it on for background noise for a good chunk too

low chasm
#

I tend to get invested easily, even in bad shows

#

that reminds me

#

I watched agents of SHIELD a whiiiile back

high haven
low chasm
rugged owl
#

I dropped that too

#

somewhere

high haven
#

not that i listen to it

#

but that podcast was mentioned on another podcast

#

secondary podcast contact

grave cove
#

y so many black boxes

low chasm
#

get spoiled

rugged owl
#

I don't recall if I finished, or dropped it

high haven
low chasm
#

if not then you didn't finish it

grave cove
#

Rex what's for dinner

low chasm
#

your mother

high haven
#

who are you pub

grave cove
#

bro

high haven
#

i made spaghet

low chasm
#

based

grave cove
#

so based

high haven
#

instead of meatballs, its texas sausage

rugged owl
#

Was agent of shields on prime?

low chasm
high haven
#

instead of spaghet, its fettucini

#

so maybe its not even spaghet

low chasm
#

fitzsimmons is still one of the cutest things ever

high haven
rugged owl
#

Looking for "marvel's agent of shield?" We don't have that, but you might like: flash

low chasm
#

aw it might be gone now

civic pasture
#

Disney+ is increasing their prices

#

To 19.99 I think

rugged owl
#

buddy, listen here. That's the entire different universe

high haven
#

i thought it was interesting

#

the nerds were cool

civic pasture
#

I think streaming market is going to die soon

#

Due to high prices

high haven
civic pasture
#

As of Oct. 12, Disney+ Premium (with no ads) will jump 27%, rising from $10.99 to $13.99/month for U.S. customers. Hulu without ads will increase 20%, from $14.99 to $17.99/month. The price for Disney+ and Hulu standalone ad-supported tiers will remain at $7.99/month each, and with the bundle of the two still $9.99/month.

rugged owl
#

Netflix has like nothing

high haven
#

thats partly why they had to jack up prices

low chasm
#

I can't remember the last thing I watched off of Netflix

rugged owl
#

It's comically bad now

low chasm
#

Last movie I watched was like a month ago too 🥴

#

super good movie though

high haven
rugged owl
civic pasture
#

I have Hulu Netflix Disney+ Paramount+ Amazon Prime BritBox Acorn AMC+ Starz Showtime and Peacock

high haven
civic pasture
#

And Discover+ and Max

high haven
#

this happens with google ads too

#

you place your bid for ad spots

civic pasture
#

So all of them 🤬

high haven
#

and compete with other peeps

civic pasture
#

I don’t care about ads tbh

rugged owl
#

Oh, you including the ad revenue

#

well then yea lol

high haven
#

yeah thats why

#

theyre making more

#

its not the actual subscribers that are bringing in the dough

rugged owl
#

Going full circle be like

high haven
#

i mean they are, but they arent

high haven
#

wheres your plex

civic pasture
high haven
#

plex is a running half joke on the vergecast

civic pasture
#

It’s free tv

#

In return they collect data from you

high haven
#

lel

civic pasture
#

😋

high haven
#

dont you love adtech

civic pasture
#

Lol

solemn tulip
#

seems like a fun hardware hacking project

#

rip out the ad ridden os

spare oriole
rugged owl
#

But also it was basically shown in the later seasons 8/9/10 or w/e it was

spare oriole
#

what about cape may?

wanton delta
#

the secret society is here

rugged owl
#

And tbh, it wasn't a great show to begin with

#

All I remember was the show basically being:

||Is he your dad or is he not? woooo who knows liz WHO KNOWS MAYBE? mAYBe NOT ||

spare oriole
solemn tulip
acoustic moss
#

lmao

wanton delta
#

jesus f christ how hard is it for people to double check addresses on gogole

#

wasted 20 minutes looking for the correct address

#

godamn nuggetr

harsh tundra
harsh tundra
#

The address situation wasn't bad...

The office itself was shit, tho.
I came with forms to submit for my partner's family. Wait in queue, ok. They tell me something is missing. I leave.
I call my partner home, they are like "why tf do they want this, the form was submitted to them, they know whether it was submitted or not without the submission confirmation"
Anyways, I get home, we print this, write it on the forms as attachment, and I go again.
Queue is short this time, another person attends to me... OK, this is here... But something is missing.
Me almost in tears (I have anxiety disorder and hate any confrontation and hate official business stuff, I was supposed to only drop off the forms): what?
The regional office wanted the GDPR information clauses signed. Which is in fact against what GDPR stood for (you don't have to inform about handling information if it's directly related to why this information was provided in the first place - and local gov cannot sell your information, so why???). I tried arguing that a bit, the person told me to just sign and i was like "how am I supposed to sign this if I have more than one form and neither is in my name???". I was also stressed because why the other person didn't say anything before???
I had to go home again. And my partner went because my brain was already too broken.

Note that's around 15 minutes by car one way...

tulip falcon
#

Woah a nickygraph

wanton delta
#

no matter where you are

tulip falcon
#

If the government fucks up its your problem 😔

wanton delta
#

😩

glossy niche
#

sorrows back, nature is healing

#

now we just need keezy

wanton delta
#

dude's not even here and you're murdering em

naive igloo
wanton delta
#

it was excited

onyx mist
#

btw, whats the purpose of const? Why can't you just do let if you want to create an immutable variable

#

in Rust

tulip falcon
glossy niche
#

What counts as a mutation in js? pithink

tulip falcon
#

Myobject.field = newvalue

#

That is to say you can modify its fields

#

In C++, we pass const parameters so that our object is not modified, but we may use it efficiently and directly.

#

To copy reference types passed as parameters would be inefficient

glossy niche
#

Huh, apparently you also cant push to frozen arrays

#

Pretty nice

graceful basin
#

I believe const in rust means compile-time computed, like constexpr in C++

tulip falcon
#

Array basically like List / ArrayList

#

So frozen array would be like a tuple

#

You can annotate a tuple in TypeScript but it's wonky, it only checks that it's valid on initialization/assignment

#

Microsoft said tuples are mutatable because they didn't want to break a lot of code that uses push()

naive igloo
#

however there is a difference how it is treated

#

for example:

const SOMETHING: int = 5;
println!("{}", SOMETHING);
let some_calculations = SOMETHING * SOMETHING;
println!("{some_calculations}");

will be under the hood converted to

// `SOMETHING` doesnt exist at all in memory actually, it gets inlined everywhere
println!("{}", 5);
let some_calculations = 5 * 5;
println!("{some_calculations}");
#

however let will still exist somewhere in the memory

#

also const allows for global variables

#

unlike let, as it is scope-based, if you want a global variable you would have to do static, which has got its own issues (lifetime management mainly)

timid latch
naive igloo
#

(((however with let there would play constant propagation)))

timid latch
#

((((aren't optimizers so cool))))

wanton delta
#

((((((((brackets))))))))

naive igloo
tulip falcon
ruby fox
#

!e

print("("*10 + "brackets huh" + ")"*9)
tulip falcon
#

Return code in python brainmon

royal lakeBOT
#

@ruby fox :white_check_mark: Your 3.12 eval job has completed with return code 0.

((((((((((brackets huh)))))))))
ruby fox
timid latch
tulip falcon
#

I know lol

sullen pier
#

what is the difference between "everyone" and "everybody"?

thick ore
#

what is the difference between "one" and "body"?

tulip falcon
#

Sounds philosophical, the difference between one's consciousness and their body

small coral
#

"everybody" sounds more "rough"

tardy rain
#

y'all >

tulip falcon
#

Everybody dance right now.

sullen pier
#

chatgpt says that there is not difference:
User: what is the difference between "everyone" and "everybody"?
Assistant: There is no significant difference between "everyone" and "everybody." Both terms are used interchangeably to refer to all people or every person. Both are indefinite pronouns that are used to indicate a collective or inclusive group of individuals.
User: are you sure?
Assistant: Yes, I am sure. "Everyone" and "everybody" have the same meaning and can be used interchangeably in most contexts. They both refer to all people or every person without any distinction.

#

"Everyone dance right now" sounds weird

small coral
#

they're interchangeable but there's an internal difference from my years of english speaking that i'm yet to figure out

tulip falcon
#

Real reason: we just need more words linguistically to not get backed into a corner so to speak

sullen pier
#

i also feel like there is some difference, but i cant put it into words

small coral
tulip falcon
#

How they flow with other words under certain situations

small coral
#

actually "everybody" sounds a bit weirder for me in that sentence

tardy rain
#

Somebody, anybody, everybody scream

tulip falcon
#

More synonyms for the same word cuts down on repetition, got to stay DRY

small coral
#

there's "everyone calm down" (beginning to panic) and "everybody calm down" (in the height of panic) for me

#

"everyone stop" is weirder than "everybody stop"

sullen pier
#

i guess everybody usually refers to concrete group of people (if you see them in front of you and you say something about them you use everybody)
everyone is more "abstract", it refers to some unknown groups of people

for example:
everybody in this conversation is very nice
everyone in this server is very nice

tulip falcon
#

If you were writing five sentences sequentially that all started with Everybody, your grammar would be lacking.

#

Same rule goes for any word

#

But yeah if we break down the actual word, "body" referring to a concrete implementation of class human

#

While everyone could include artificial consciousness in the room

naive igloo
#

everyone feels less directed

#

or calling out

#

which leads to being less "giving orders" or rude (in some contextes)

tulip falcon
#

I need to talk programming 😩

small coral
tulip falcon
#

I disagree

tardy rain
#

Beep boop, zorp

#

Programming talk in my offtopic channels? Smh

tulip falcon
#

Boo far

small coral
#

in here i could refer to everyone as "everybody" (direct) but talking from a 3rd person perspective simply viewing the conversation i'd use "everyone" (less direct)

tulip falcon
#

I thought of a real difference

#

You could use everyone to refer to objects

#

Everyone of those jack-o-lanterns is lit

small coral
#

not "everyone"

tulip falcon
#

Lol true

#

Every'ne

sullen pier
#

every'1

#

∀1

small coral
#

sticking "every" to "one"/"body" makes it one whole subject instead of referring to each subject described by the phrase following "every"

#

e.g. "every (body of water)" vs "(everybody) [made] of water"

#

also "everyone"/"everybody" refers to generally people

tulip falcon
#

Well what is "one" and what is a "body"

small coral
#

"everyone"/"everybody" just can't be differentiated by removing "every" and comparing the words

#

because those two words are completely different

sullen pier
#

word "one" is weird
sometimes it means 1, sometimes it means something like this/he/they

small coral
#

"one body" (quantifier "one" used on "body")

#

"one of a body" ("one" meaning any general object, made up/coming from "body")

tulip falcon
#

One is still the same abstract object interface

small coral
#

"one's body" ("one" here mostly meaning a human/a human-like thing with consciousness, "body" referring to the physical organism)

tulip falcon
#

That's my point

#

Therein lies the difference

#

it's philosophical brainmon

sullen pier
#

TIL "therein" is a word 🧐

small coral
#

actually "one" with a possessive 's generally means "one" is a human form

#

but without it, "one" can be anything

#

just like a "body"

tulip falcon
#

One could be abstract and body can't?

#

One ghost , a ghost couldn't be a body

sullen pier
#

"body" means some abstract physical object

small coral
tulip falcon
#

One idea, an idea can't be a body

#

a vessel maybe

small coral
#

actually "one" in those cases is just a quantifier

tulip falcon
#

everyvessel

sullen pier
#

everything

#

😄

small coral
#
_____ in here

everyone - refers to all humans
everybody - refers to all humans
every one - refers to all humans or any other beings i.e. animals
every body - refers to all objects; maybe human corpses
everything - refers to all non-human objects
every thing - refers to all
tulip falcon
#

Everything includes all objects human or not

#

Just weird syntactically to say everything dance right now

small coral
#

"everything" is all, "every thing" is all all

tulip falcon
#

Everything capable, including haunted chairs, let's dance!

small coral
#

it's weird

#

talking about something that is written by instinct

runic plinth
#

refers to all bronies

small coral
brittle void
#

guys, does anyone know how to create a local mongo db with authentication, so that no public user can access it, but only the user who has the credentials?

tulip falcon
#

everypony 🥴

naive igloo
#

which means "refers to all of all"

small coral
naive igloo
#

as we know, everything inherits object 😔

small coral
#

which also may include humans

naive igloo
#

even thing

solemn tulip
#

every object

naive igloo
#

it is

class Thing(object): ...
tulip falcon
#

Do ghosts inherit object?

naive igloo
naive igloo
solemn tulip
#

no, ghosts possess

tulip falcon
#

I guess they inherit before concreteObject comes into play

solemn tulip
#

or haunt maybe

tulip falcon
#

and human has a ghost

solemn tulip
#

only after destruction

#

you override del to make sure the object stays around

#

but in an undead state

tulip falcon
#

human::~human(){
new ghost(this);
}destructor

#

Got to free any allocated memory there RAII

solemn tulip
#

scary leaky allocation

tulip falcon
#

Scary good 😄

#

Loving these festivities

ruby fox
#

Do objects create ghosts when they are destroyed lol

tulip falcon
#

Only in October