#voice-chat-text-0

1 messages · Page 485 of 1

wise cargoBOT
#

✅ @primal shadow can now stream until <t:1750606801:f>.

eager thorn
#

currently here it feels like 88f at almost 11am 🥵

#

@wind raptor

primal shadow
#

stable 410194 (9c7437b) Host 1.0.9195 x64 (64638) Build Override: N/A Windows 10 64-bit (10.0.19045)

vocal basin
#

@jovial merlin the other Chris

#

Primeagen complained about GitHub's OTP dialogue being misdesigned

#

and seems like now it's changed

#

@shy elk noise is coming through your mic

#

@wise loom DP is one of the least varied topics, yes

#

it's more about spotting how to apply it

#

"dynamic" is a bit misleading in the name

#

because it's actually about limiting the mutability a lot

#

close to persistent data structures

#

and pure functions

#

in a very simple form, within leetcode-ish contexts, DP is just @functools.cache

#

but usually modelled explicitly without a call stack

#

I don't know any specific books about algorithms

#

Wikipedia is often good enough for general information of algorithms/data structures

wise loom
#

A book that describes this idea of converting recursive to iterative but in more depth and with exercises

#

Preferably Python and not exotic Scheme/Lisp/Haskell or functional stuff

#

but it’s arcane Perl and lacks exercises

#

I never agreed with the author’s complete lack of exercises.

wise loom
#

Would be nice if HoP were ported to modern-day Python and exercises were added. Would be worth reading, I think.

jovial merlin
wind raptor
#

!stream 1319370380078743584

wise cargoBOT
#

✅ @jovial merlin can now stream until <t:1750614083:f>.

astral coral
#

What does draw() do? Show the code?

wind raptor
#

!stream 1285668914092572682 20M

wise cargoBOT
#

✅ @manic spear can now stream until <t:1750616855:f>.

wind raptor
#

!stream 1319370380078743584 1h

wise cargoBOT
#

✅ @jovial merlin can now stream until <t:1750632989:f>.

somber heath
#

@timid gale @twilit hull @raven galleon 👋

#

@brisk violet 👋

twilit hull
#

Hi @somber heath !!

wind raptor
#

Back in a bit

craggy vale
#

@jovial merlin

kindred otter
#

As well as background and character

somber heath
#

@marble flicker 👋

marble flicker
#

hi

somber heath
#

@tiny ermine 👋

#

!voice

wise cargoBOT
#
Voice verification

Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.

tiny ermine
#

do not want to type sorry

somber heath
#

@vivid spade 👋

vivid spade
#

Hello

#

I can't speak

#

I don't have permission to speak in the channel

somber heath
#

!voice

wise cargoBOT
#
Voice verification

Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.

vivid spade
#

Oh, tks!

somber heath
#

@granite jay 👋

#

@gritty elbow 👋

#

@languid briar 👋

languid briar
#

hi

granite jay
#

Oii

languid briar
#

i dont have a miv permision

#

why?

somber heath
#

!voice

wise cargoBOT
#
Voice verification

Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.

languid briar
#

!voice

#

You are not currently eligible to use voice inside Python Discord for the following reasons:

You have been on the server for less than 3 days.
You have sent less than 50 messages.
You have been active for fewer than 3 ten-minute blocks.

granite jay
#

Im from Brasil

#

O dont understand english

languid briar
#

i actualy loking for an advice with fast API and JWT

#

do u guys familiar with it ?

hidden breach
#

whats your actual question about it? pithink are you struggling with a specific piece of code?

languid briar
#

kinda with a concept

manic spear
#

@granite jay No momento, você não está qualificado para usar voz no Discord em Python pelos seguintes motivos:

Você está no servidor há menos de 3 dias.
Você enviou menos de 50 mensagens.
Você esteve ativo por menos de 3 blocos de dez minutos.

languid briar
#

im basicly just start making my first FAST api app and cant understand JWT

#

how does client get refreshed token after old is expired

#

should I send him new token as soon as he login with expired one?

#

or I need and refresh_token endpoin?

torn yarrow
#

We need a "meow" tag

languid briar
#

hey

hidden breach
hidden breach
#

i think the general idea (i am not an expert in this) is you send both, the access token that expires in a short period of time and the refresh token that u send for a long period of time.

and if your access token expires and your refresh token has not, you can get a new access token (probably by the refresh token endpoint you mentioned!)

languid briar
#

im trying to understand how does client handle it
for instance, once he trying to get smth and receive 401 because his token is expired. Thus, he have to handle that case and just immediately call refresh end point with his second long-term token?

lavish rover
hidden breach
#

imo the client doesnt even need to know he is sending the second long-term token or the access token

this is because the server sent both as cookies when first creating the token, and browsers will send both cookies back on each request to the server automatically so the client just hits your /refresh-token endpoint and the server figures it out (401? token refresh?)

something reasonable might look like, from the client side

refresh token hasnt expired -> server returns 200 OK + updates cookies -> client proceed as normal
refresh token expired -> server returns 401 Unauthorized -> then client redirects to login

languid briar
#

oh i see

#

so server just update cokies when short token is expired

#

am right?

manic spear
#

@astral coral can you help @summer birch

hidden breach
#

sounds like it will work

languid briar
#

thx

hidden breach
languid briar
#

glad to join this server )

hidden breach
#

i just set up my netflix account

#

any show recommendations

languid briar
#

have u ever watch love death and robots?

hidden breach
#

no

#

whats it about

languid briar
#

each serie has it unique style and idea

#

they totaly independent

#

like a black mirror

#

but animated

hidden breach
#

ohh black mirror is another i might want to try watching

#

so animated black mirror

languid briar
#

i personaly like first two seasons

#

do u now red hot chilii peppers?

hidden breach
#

also no

languid briar
#

oh thats fine, its my dad generation rock band )

#

they just have a collaboration at the last season

#

btw recommend to watch first season

#

do u like anime?

hidden breach
#

i recently watched frieren: beyond journey's end and now i keep rewatching the boss fight

languid briar
#

love it)

#

mine wallpaper _

hidden breach
#

thanks!!

languid briar
#

@wind raptor sry guys, which position are u talking about?

#

like at the factory?

#

im 22 just about to gradute from college

#

wow how can land this position join?

#

do u mean engenering?

pine depot
#

yeah

#

electrical engineering / controls engineering

languid briar
#

@wind raptor bachelor?

wind raptor
#

advanced diploma

#

Canada works different haha

languid briar
#

I was in micro electronics in my home country, but than switched it programing here

languid briar
#

are u in Toronto?

wind raptor
languid briar
#

@pine depot worked hard to make matched

#

@pine depot damn right

#

@pine depot I guess its not non experience friendly area

#

@somber heath ahahahahhaha

#

LOL XD

#

hahahahah

somber heath
#

@burnt dove 👋

burnt dove
languid briar
#

lol dude
I dust pay 30k for college diploma

#

*for immigration price is higher

#

Canada thing

#

2-3 diploma

languid briar
#

just give u skiils to enter job

burnt dove
#

its kind of crash course for full time degree

languid briar
#

but be honest is way weaker than university

#

in general

#

most colleges here just taking money

#

@pine depot its how edication system work )

#

i kinda agree and disagree
Ive been at university and college

#

and as a kid i would defenetly go to university

#

damn i wish i can speak with u )

wind raptor
languid briar
#

yes

#

@pine depot

wind raptor
#

!stream 373121697957543946 30M

wise cargoBOT
#

✅ @wind raptor can now stream until <t:1750649211:f>.

wind raptor
#

!stream 85175317991268352 30M

wise cargoBOT
#

✅ @pine depot can now stream until <t:1750649236:f>.

languid briar
#

@wind raptor any way i can get mic perms faster?

#

((((

wind raptor
#

Sorry, no dice

languid briar
#

be honest, if not u guys i will leave and never come back

wind raptor
#

Even if I could grant them (which I cannot, only admins can add roles) I still would not make exceptions or everyone would want an exception

languid briar
#

the guy just help me at the chat, so i like the channel alredy

#

friendly community

#

i now, i just work on my resume projects and was needed some help

#

@wind raptor no problem)

#

thx for explanation

#

@pine depot true

#

100%

wise loom
#

I just made a $27 ebook using AI. Watch how I did it so you can do it too.
Here I am in designer and the first thing you'll notice is this clean user-interface.
All I have to do is pick a topic. Hit enter and boom, designer has [..]
It's that simple. And just like that, we have a complete ebook.
Let's choose a template [..] I like this one.
[..]
Now I can sell this, use it as a leads magnet [..]
-- ads youtube is serving me

languid briar
#

@pine depot hahahhahah lol \

#

@pine depot do u have to pay extra tax for horse power in USA?

#

i mean in my country u pay fee each year by horse power and liters in your engine

somber heath
#

@alpine quiver 👋

#

@severe saffron 👋

pine depot
wind raptor
#

!stream 85175317991268352 1h

wise cargoBOT
#

✅ @pine depot can now stream until <t:1750653441:f>.

languid briar
#

im here for while

#

take care

#

see ua

#

ahhahahahha

#

sound like so many problems there ))))

#

@wind raptor are u planing work as a software?

#

he jsut said that he graduated

#

am I mixed smth?

pine depot
languid briar
#

is it for conveyors?

#

like a manufacture software?

#

@wind raptor

#

see u

#

yes

#

@pine depot so basicly your job is the create a logic for manufacture machines?

#

dont u have to be super familiar

#

because there so many different machines

#

i see, i have some expirince with gcode and CNC machines at window manufacture

#

yes i do

#

))))

#

its ok, im done soon

#

have a work toomorow

#

of course

#

im an imigrant in Canada

#

gotta pay my college

#

instaling roof hazard protection tommrow

#

I noticed

#

im from Russia

#

)))))

pine depot
#

tandoori

#

or vindaloo

craggy vale
#

My food is 🍚 rice

#

Fish

#

Nice

#

Yeah know

#

My microphone

#

Hold on when I go to home 🏠 I come back I am in road

pine depot
languid briar
#

do u bild small vercsion of machine to test logic somoteimes? Or is there a program simulators?

#

wow

#

but if smth go wrong

#

it could cost mil

#

))))

#

i see

#

thats why u hired )

#

damn

#

thats f cool

#

i see

woeful blaze
#

👋

languid briar
#

sup

woeful blaze
#

nothing much exept finding a invalid syn

languid briar
#

whats there?

#

oh that for new guy

woeful blaze
languid briar
#

same no ideas

#

@pine depot but how stop is not phisical?

woeful blaze
languid briar
#

@pine depot cant you keep it in one row?

#

i see

#

@pine depot its gonna make scheme super huge )

#

oh hahahha

woeful blaze
#

i was shortening syntax it to syn as Im tpying in the dark

languid briar
#

@pine depot wait, but u didnt turn it off

#

when stop presed its make STOP_ALL true

#

so it is not gonna off motors

#

so thislogic continusly looping?

#

i see

#

i was thinking one time exection

indigo quest
#

Aight,

languid briar
#

@pine depot can u code stop motor when check_status fails?

indigo quest
#

Ill be back in just a sec.

languid briar
#

@pine depot is there standarts that u have to follow to make sequence readble for other programmers

#

like systaxis

#

logicly clear

#

its masive topic

#

i like engeniring actualy

#

will do some research on this area

#

@pine depot u like a college proff at the zoom class)))

#

prof Zak )

#

@pine depot MELSOFT GX LogViewer

#

gcode?

craggy vale
#

oh

languid briar
#

GX works 3

#

yes

#

i familiar with windows forms

#

i see

#

so there is main sequence logic that have many many sub sequences?

#

and its looping

#

hahahhahaha

#

i see

#

make sence

#

pure logic

craggy vale
#

yeah

languid briar
#

is it like passing value?

#

oh i see

#

define it

#

sure

#

any languge

#

c as well if it is easier for ua

#

i like the way how u use python to translate it

#

its like google translate for programmers XD

#

why 0 (false)???

#

oh i see

#

got it

#

Ok, thaks for this nice lectur, unfortinatly i need to sleep

#

will defently learn some more

craggy vale
#

I know -----

python
asm
C#
C++ and C++ modified arduino programming
and basic html, css,
that's it @pine depot

languid briar
#

1:20 am )

#

bryce automation

pine depot
languid briar
#

alredy there )

craggy vale
languid briar
#

XD

#

still young and looking for profesion

#

Thnk you prffesor

#

have a nice day)

#

ahahahhahahah

#

see u next time when ill have a mic )

#

for whome?

pine depot
#

google integrator

languid briar
#

oh isee

#

sounds like a dream

craggy vale
languid briar
#

700hp BMW waiting for u tommrow

#

of course

#

il love the sound

pine depot
languid briar
#

thats make it special

pine depot
craggy vale
pine depot
languid briar
#

thats the reason why lambo not mess woth u

#

they afraid

#

hahahahha

craggy vale
pine depot
languid briar
#

ok good night

languid briar
#

thanks again

#

for sharing

pine depot
craggy vale
#

oh okay

winged heart
#

test

craggy vale
wise loom
#

Section 174 is going strong 💪
https://www.youtube.com/watch?v=ZSbiV5gM4mc

In 2025, major tech companies like Google, Amazon, Microsoft, and SAP are increasingly using voluntary exit programs instead of traditional layoffs to reduce headcount.

These buyouts offer generous severance packages, such as 14 weeks of base pay plus bonuses, to employees considered misaligned with new AI-focused strategies. Because these exi...

▶ Play video
#

Section 174 is going strong 💪

somber heath
#

@keen rivet 👋

#

@blazing monolith 👋

blazing monolith
#

yo hello guys

wise loom
#

Full corporate efficiency, let's go!

hot drum
#

hi @somber heath

jovial merlin
#
prices = [10, 25, 5]
items = ["apple", "banana", "carrot"]
budget = 15

can_buy = []
cant = total = 0

for item, price in zip(items, prices):
    if price <= budget:
        can_buy.append(item)
        total += price
    else:
        cant += 1

print(can_buy, total, cant)
somber heath
#

!e ```py
data = [[1, 2, 3],
[4, 5, 6],
[7, 8, 9]]

for each in zip(*data):
print(each)```

wise cargoBOT
wise loom
#

I’ll show you how to survive the collapse of white-collar jobs and build a real plan for freedom, before your industry disappears. Start here: https://www.econethan.com/all-links-3

Tech and finance jobs are vanishing. The middle is collapsing. Companies are replacing entire teams with AI or outsourcing to cheaper labor. Entry-level roles are ...

▶ Play video
#

Tech and Finance are going away. Let's go!

exotic loom
#

Helllo

#

👋

somber heath
#

@dire mortar 👋

#

@acoustic trellis 👋

acoustic trellis
#

yeah :')

woeful blaze
#
dt = self.globalClock.getDt()```
hhhurrggg
#

why wont that work

somber heath
#

@mint shale 👋

vocal basin
#

@peak depot it's a meta-dox: by saying it's doxing it becomes doxing

whole bear
#

my iems broke

#

like straight for 6 months?

vocal basin
#

my IAMs broke
-- average AWS dev

whole bear
#

whats an IAM

vocal basin
#

something access management

#

identity and access management

whole bear
#

does it cure adhd

vocal basin
#

IAM?

whole bear
#

airbnb

vocal basin
#

"agility and innovation"

whole bear
#

snow balls

#

hetzner

#

is the cheapest

#

software as a liability

vocal basin
#

I have never built anything other than static-hosting/simple tunnelling which is cloud-based

whole bear
#

@raven gale i want to get one

vocal basin
#

cloud would be very uneconomical for me

#

not enough scale, not enough of architecture requirements

#

DynamoDB is fun[ to steal ideas from]

whole bear
#

hetzner is cheaper

vocal basin
#

requires more engineering to get analytics done

whole bear
#

use a library

vocal basin
#

you can shove a DynamoDB changes stream down some other analytical thing

#

DynamoDB aims to reduce any sort of cross-item dependency whereas analytics often involve some big reduce phase which, at worst, serialises (in parallel computing sense) everything

#

DynamoDB without transactions and GSIs (i.e. without cross-server sync) is relatively easy to re-implement

vocal basin
#

I do however research a lot about databases

#

and cloud

#

especially the use of tech that's starting to be viewed as cloud-native/"serverless" outside the cloud

#

VMless

#

recently started looking more into using either Lua or WASM

#

even if abandoned

vocal basin
#

Erlang-style

#

though doesn't yet support hot-reloading code

#

(unlike Erlang which does support it)

winged heart
#

test

manic spear
#

@wind raptor 👋

#

@spark torrent 👋

whole bear
#

hdlo

#

htp

#

@manic spear

manic spear
#

wdym

whole bear
#

irk

#

orsm

manic spear
#

hey @wind raptor can you help me learn python

opaque locust
urban summit
tulip gyro
#
print("hello")
urban summit
#

'''

opaque locust
#

~

somber heath
#

@opaque locust You're silent, but your mic is hanging open. Mentioning it in case you were unaware.

#

@obtuse trellis 👋

obtuse trellis
#

hi

somber heath
#

!voice

wise cargoBOT
#
Voice verification

Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.

urban summit
tulip gyro
opaque locust
urban summit
#

Previous video: https://youtube.com/shorts/Zq2evBU4OJ4

Did I just settle the debate? In this video, I compare marshmallow cream and marshmallow fluff side by side—and even put them to the test in a vacuum chamber. Spoiler: they expand, collapse, and make the same sticky mess. Are they really the same thing? Watch and decide for yourself!

Do...

▶ Play video
tulip gyro
#
import numpy as np
from manim import * 
from utility import *
from square_utility import *
import os

class Pokemon(Scene):
    def construct(self):
        Pokemon = ImageMobject("Weavile.jpg")
        Pokemon.scale(1.5)  # Optional: scale the image
        self.add(Pokemon)
        self.wait(.5)
        self.play(Pokemon.animate.move_to(LEFT*4))
        text1 = Text("Pokemon: Weavile", font="Pokemon Generation 1")
        text1.move_to(np.array([2.7,3,0]))
        self.play(Write(text1))


if __name__ == "__main__":
    config.media_width = "50%"
    scene = Pokemon()
    scene.render()```
somber heath
#

@naive geyser 👋

#

!voice

wise cargoBOT
#
Voice verification

Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.

naive geyser
#

😭

#

rip

#

yeah... idrk why i left it

#

do you think ppl will want to help me?

#

im not sure bc I think it would be alot of work

#

are you fine if i post the link here?

#

to the help post

#

yeah i learned that using chatgpt is not a thing yall like to hear... 😭

#

i feel like there has to be a way simpler way of doing things, but idk how to do the discord vc thing...

#

this is what cat said in the main chat

Both. Not just the stigma and general treatment of everyone who goes "Ai will replace you" but the code itself is frequently overcomplicated, confusing, overly verbose, and nonsensical in places.

More importantly, and why I won't generally offer assistance with AI-generated code, frequently the AI code does nothing to solve the actual problem (and smokescreens with a dozen magically-solve named functions) and trying to convince someone else of that who is invested in the AI working is a fools errand and a one-way ticket to a frustrating conversation--so I don't just bother.

#

sry to interupt

#

ok

#

oh ok

#

ok

#

yeah

#

do you think that the code is like overly complex?

#

like do you think i could make the same bot in half the code if i did it myself?

#

ok

#

ok

#

yeah

#

do you know of any good resources to help you with a specific thing to do in python? like for example if i want to make a cooldown on something a resource where i could easily search up how to do that?... im guessing YouTube is probably the best, right?

#

mhm

#

ok... well i guess im going to go and start from scratch now and try to code it myself... 😭

#

ok , thank you for your help! ❤️

#

oh ok will do!

#

ok

#

oh lol sounds chaotic

#

rip

#

or got eaten...

#

yeah... hopefully it recovered or if it did pass on hopefully if was swift and painless

#

it was taking a nap lol

#

yeah

#

yeah, a bit risky

#

nice!

#

yep

#

yeah

#

yeah, just let it take its course

#

yeah me too

#

dang

#

thats good

#

yeah

#

ight... ima go work on my code... thank you for the help lol! ❤️

somber heath
#

@light sierra 👋

light sierra
somber heath
#

@visual minnow 👋

somber heath
whole bear
#

hello

#

what does the snek server tag mean?

#

ohh yess

#

looks like geometry dash

#

@somber heath apparently programming jobs are bad

#

is that true.......

#

yes but i mean in making money haha

somber heath
#

@haughty tiger 👋

haughty tiger
#

hi

#

why cant i unmute?

somber heath
#

@edgy heron 👋

somber heath
wise cargoBOT
#
Voice verification

Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.

haughty tiger
#

oh

#

well i didnt do it

craggy vale
#

ok

astral coral
somber heath
astral coral
#

more focused on the shit rizz project atm

#

will have a deeper look later

slow turtle
#

hii

modest shale
#

am i not audible?

somber heath
#

@topaz wadi 👋

slow turtle
modest shale
topaz wadi
#

hello

slow turtle
#

depends on the country and the companies i think

topaz wadi
slow turtle
#

i am investing more time making projects

#

lol

modest shale
#

lmao be mute @craggy vale

craggy vale
#

@modest shale u are indian?

modest shale
#

check this prb in youtube

craggy vale
modest shale
#

delete this img btw

somber heath
#

This one.

plain mantle
#

HELOO

#

is this good

#

just make a glance

modest shale
#

just pick one course bro

#

@craggy vale bhai mic mt on kar

craggy vale
#

okay

somber heath
#

@craggy vale Your microphone audio is BAD. Please fix the problem before using it here.

somber heath
#

On your OS settings, put the microphone sensitivity in the middle of the slider.

somber heath
#

Then, using Discord, use the Mic Test feature to listen to how you sound.

#

Adjust accordingly.

static tree
#

noob qustion
how to actually contribute to open source
like every one wants to see open source contribution on profile of fresher and (me a noob ) what should i do

slow turtle
#

make open source projects.

modest shale
#

first be good at programing

slow turtle
#

get contribution on your repo

static tree
modest shale
#

i mean thats obivous if ur code bad nobody will accept it anyway

static tree
#

ik but PPL still expacts this

slow turtle
#
#include <stdio.h>

int isPrime(int num);

int main(){
  int nums[10] = {1,2,3,4,5,6,7,8};
  int n = 8;
  printf("Prime numz are");
  for(int i=0; i < n; i++){
    if (isPrime(nums[i])){
      printf("\n%d",nums[i]);   
    }
  }
}
int isPrime(int num){
  if (num < 2){
    return -1;
  }
  for (int i=2; i < num; i++){
    if (num % i == 0){
      return 0;
    }
  }
  return 1;
}```
#

i got exams tmrw

dull sluice
#

in my school if the teacher doest grade the tests in 2 weeks or idk how many you dont hae to take the grade

#

i cant complain of the cold
here its 28.4°C in my room

somber heath
#

@lone fiber @quick hazel 👋

lone fiber
#

I don't have permission to speak yet

peak depot
somber heath
#

!voice

wise cargoBOT
#
Voice verification

Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.

dull sluice
sharp merlin
#

hlo guys

peak depot
dull sluice
#

i have played on one but i dont think we ever had one

somber heath
#

@valid linden 👋

valid linden
#

Hi

somber heath
#

@woeful olive 👋

#

@leaden shard 👋

somber heath
#

@fleet coral 👋

peak depot
fleet coral
#

Hello

somber heath
#

Toxoplasmosis is a parasitic disease caused by Toxoplasma gondii, an apicomplexan. Infections with toxoplasmosis are associated with a variety of neuropsychiatric and behavioral conditions. Occasionally, people may have a few weeks or months of mild, flu-like illness such as muscle aches and tender lymph nodes. In a small number of people, eye p...

#

@dusk violet 👋

#

@flat wadi 👋

flat wadi
dusk violet
somber heath
#

@whole bear 👋

languid briar
#

sup guys

craggy vale
#

hello

languid briar
#

yep

#

i use when he wasnt crazy

#

)))))0

#

oh hahahahah

#

any of u ever made train AI models?

craggy vale
somber heath
#

@strange osprey 👋

#

@echo latch 👋

echo latch
#

could u possibly help me with setting up

#

Im trying to get python through vscode

craggy vale
#

see @somber heath

somber heath
#

@minor mesa 👋

minor mesa
#

o/

#

kkkkkkkkkk

minor mesa
#

bye, see you later

craggy vale
dull sluice
#

hi

#

hi

somber heath
slow turtle
#

hii again

somber heath
nimble lagoon
#

Hello

#

All good thanks, and you?

#

Just trying to get my messages up

#

Nice!

#

Just learning the basics. I'd like to change career

iron geyser
#

Hey ^^

woeful blaze
#

hello

iron geyser
#

Yeah :p

woeful blaze
#

how is every one?

nimble lagoon
#

construction and civil engineering

jovial merlin
nimble lagoon
#

yeah if possible

iron geyser
#

😂

placid kernel
cursive niche
#

hi where to start like i know 0.9/100 python , how much progress can i make in 30 days before joining engineering , want to learn some before joining

#

all day i spent playing so

#

i can give most of time

#

spend*

jovial merlin
#

they have a python course aswell

#

basically like duolingo but coding

cursive niche
#

and should i use vs code or its for pros

woeful blaze
hidden flower
#

o/

vocal basin
#

I'm practising vocals again

dull sluice
#

is typing: strict a bad idea in vsc or what do i do in this case bc it seems i need 2 if statements per thing just to make the errors go away

#

sorry i mean type warnings idk why its red

#

yes but to make sure its the correct type i need 2 whole if statements to check it has get attr and the get attr value is str
which is 4 extra lines per field

whole bear
#

hemlock

dull sluice
#

type hints are not enough tho

dull sluice
dull sluice
#

not enought for typing strict

#

_OneElement: TypeAlias = Union["PageElement", "Tag", "NavigableString"]
_AtMostOneElement: TypeAlias = Optional[_OneElement]
the second is the soup.find result

whole bear
#
def unwrap[T](value: T|None) -> T:
  assert value is not None
  return value

use this

zinc siren
#

Hello 👋

vocal basin
#

this looks more than just scraping

whole bear
#

hllo

#

everyone

#
rvt = unwrap(soup.find("input", {"name": "__RequestVerificationToken"}))["value"]
dull sluice
#

yes so i need to know its a Tag bc only that has getattr and than i need to tell that the result of the get attr is a string or not

whole bear
dull sluice
vocal basin
#

this is not just scraping if you're messing with tokens

#

so "ok to scrape" is irrelevant

dull sluice
#

its the school system or whatever
this code is to get a jwt that i can use to get my grades and ect

jovial merlin
vocal basin
#

if it's a CSRF token, that means it guards state mutation

#

if you're directly changing the thing you're scraping, you're not scraping

#

(if it's CSRF)

#

also given how it's an input, that seems to be the case

#

so the only excuse is that someone seriously misengineered the website

dull sluice
vocal basin
#

@wind raptor it seems to be just CSRF

#

hidden field in the form

#

typical stuff

#

well, look at its id

dull sluice
#

its no 2 author it ends in a Oauth

vocal basin
#

also it's an input

dull sluice
vocal basin
#

well that sounds even more suspicious

#

remember kids: use PKCE

#

OAuth2 is actually surprisingly easy to implement well enough (as in not as a total security hole)

dull sluice
#

ok ill stop the project
but let me tell you things the devs messed up
the code verifier and secret dont change and
theres a nonce that doesnt change

#

ill check that

vocal basin
#

@wind raptor "use your knowledge for goof" -- probably Hemlock

#

uh

#

mostly death metal and stuff alike

#

clean vocals aren't that easy either

#

try speaking for a long time continuously => approximately same effect

#

it's important to avoid overstressing vocal cords and other stuff

#

including decoupling voice volume from the perceived loudness of the environment

#

(need to speak over something/someone => do it in the same way as if the room was quiet)

#

the instinctive raising of voice puts more stress on the vocal cords rather than the lungs

#

in my case most of the stress comes from transitions between different techniques

#

took a very long time to learn to switch between clean and extreme vocals safely

#

I think it's been 6~7 years since I started so far

#

only got to somewhere meaningful in 2022

whole bear
#

@wind raptor can i streaam reading a book

dull sluice
vocal basin
#

the very high notes are still deafeningly loud

vocal basin
#

I often react to that loudness by restraining the voice too much

#

@wind raptor make an "Incomplete, Incorporated" org on GitHub and move everything there

#

UML is actually not that bad, so you can try learning how to express design stuff using it

#

the spec is relatively short (<1000 pages iirc) for an enterprise thing

wise loom
vocal basin
#

@wind raptor do universities wherever you are require providing stuff like IDEF0

#

for final projects

#

stuff like that

#

nonono

#

flowcharts are separate

vocal basin
#

that

misty breach
#

Hi guys

#

Yo I'm new to here what do u guys up to

vocal basin
#

imagine having state

#

🌉

#

imagine having any intelligence, artificial or not

whole bear
#

my linkedin about section is not written by AI but still cringe

#

its the same as my discord about section

vocal basin
#

I should probably slightly alter these lists

#

specifically bring back cryptography

whole bear
#

category theory 😭

vocal basin
#

arrows drawing

#

@wind raptor 30/32 is 100% in Russian maths exams
so okay

#

(32/32 is 100% too)

#

((would be surprising otherwise))

dull sluice
#

its nice when its rounded up but it does feel very bad sometimes when its rounding down
like missing 5 by .5 points

vocal basin
#

both times 30, i.e. did not improve

#

(all other exams were kind of failed)

#

((relatively))

#

90 instead of 100 for IT

#

catastrophe

#

when are we getting TeX scams

whole bear
#

@vocal basin do you hate haskell

vocal basin
vocal basin
whole bear
#

im stereotyping

vocal basin
#

the person or the language

whole bear
#

who is haskell

vocal basin
#

Haskell Curry

dull sluice
whole bear
#

bruh

#

the language

whole bear
dull sluice
vocal basin
#

also I might've made that joke multiple times

#

10! seconds is 6 weeks

wise cargoBOT
#

:white_check_mark: Your 3.13 eval job has completed with return code 0.

001 | 3628800
002 | 3628800.0
003 | 3628800.0
vocal basin
#

where

#

!e

wise cargoBOT
#
Missing required argument

code

vocal basin
#

!e

from math import gamma, factorial
print(factorial(10))
from datetime import timedelta
print(timedelta(weeks=6).total_seconds())
wise cargoBOT
vocal basin
#

why did it not run the first time

#

anyway

vocal basin
vocal basin
#

there are, like, multiple signs that would indicate otherwise

#

e.g. CT

whole bear
#

what is ct

vocal basin
#

Category Theory

whole bear
#

yea thats why

#

you must like some other language i dont even know of

vocal basin
#

Haskell is largely based on Category Theory, although its implementation of it is limited by such annoying thing as reality

vocal basin
#

I've just updated the link too

#

so it matches my new usernames

#

I changed it to just surname

#

I also recently updated GitHub/GitLab/Codeberg accounts

#

what if all those times they were off-by-one'ing when writing your URL on linkedin and ended up hiring someone else

#

something on the main page calls itself just "Python"

#

content warning: brainrot

whole bear
vocal basin
#

"not even correct" does not even capture just how incorrect it is

whole bear
#

god i hate linkedin

vocal basin
#

the what

#

aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

vocal basin
#

Python has bytecode too

#

this was published after both Java 21 and Python 3.13

#

not listing Rider in the C# IDEs is a crime

#

they seem to assume there's only one answer

whole bear
#

concurrency and parallelism have a difference

vocal basin
#

(__iter__ is a valid answer too)

whole bear
#

that doesn't return a list

vocal basin
#

neither does .keys()

whole bear
#

fair

whole bear
#

you have to call iter() on it

vocal basin
#

both return an iterable whose items are keys

#

you almost never need to use .keys()

hot drum
#

OK idk so much in coding but I think he can use collections. Count and pass to it keys()

whole bear
#
>>> x = {"a": 1}.__iter__()
>>> "a" in x
True
>>> "a" in x
False
hot drum
#

And since the key is unique

#

Will get a dict with key:1

whole bear
hot drum
#

I think 🤔 this might work

vocal basin
whole bear
vocal basin
#

however what __iter__ returns isn't a collection

vocal basin
whole bear
#

yea but keys isn't

#
>>> x = {"a": 1}.keys()
>>> "a" in x
True
>>> "a" in x

you can keep the value returned by keys in memory

vocal basin
#

d.keys(), with respect to for key in and in behaves like d

whole bear
#

but its more readable

vocal basin
#

subjectively

#

when switching from Rust, it might be more familiar

whole bear
#

i keep forgetting wether for ... in d behaaves like .items() or .keys()

#

having learnt rust has made this confusion more prominant

vocal basin
#

whereas Rust doesn't have in

dusty musk
#

hi

woeful blaze
#

How everyone doing?

vocal basin
whole bear
vocal basin
#

completely different context

#

(also not an operator)

whole bear
#

im digressing

vocal basin
#

I think I remember recently using some weird macro thing that used in for something

#

not entirely sure what

whole bear
#

in rust?

#

sqlx perhaps

vocal basin
#

sqlx doesn't seem to have that

whole bear
#

some other sql thing maybe

vocal basin
#

maud uses in but that's for in so doesn't count

woeful blaze
#

98°F 36.6667°C

vocal basin
#

I think it was some sort of constructor macro (vec!-/pin!-like)

#

or an attribute

#

wait no that was as

#

(as in the attribute one)

dusty musk
#

how long have you guys been coding?

vocal basin
#

depends on how it's measured

#

I started using Python in 2017

dusty musk
#

consistently?

vocal basin
#

at least monthly

#

at least weekly in 2017~2023 until conversion to Rust happened

dusty musk
#

cool, i wish i started learning earlier

vocal basin
#

(with some short pauses for hiking and stuff)

vocal basin
#

funny timing

vocal basin
#

not entirely sure when exactly

vocal basin
#

maybe as early as 2006~2008

dusty musk
#

i just started learning python last month

#

are you self taught or you took courses?

woeful blaze
#

@wind raptor how are you doing today?

vocal basin
#

8~11 grades had Python as mandatory

dusty musk
vocal basin
#

mathematics-centric

dusty musk
#

cool

#

hello @jovial merlin @wind raptor

jovial merlin
dusty musk
jovial merlin
#

good

dusty musk
#

yeah unfortunately

#

there were people here a few weeks ago... it was really interesting to learn how they code

vocal basin
#

@wind raptor why are you spreading dangerous information

#

the only answer is no

#

do not global the variables

dusty musk
vocal basin
#

ah

#

as in moving to the instance

#

not the class itself

#

okay

woeful blaze
vocal basin
#

non-type-hinted code requires other sorts of checks to balance that out

#

strict by design, otherwise catastrophe

dusty musk
#

yes but i'm just a beginner @wind raptor

#

it's only been a month

#

i'm taking a devops engineer course

#

no

#

it's hybrid

#

i took an exam for free, didn't think i'd pass it so here i am

#

yes... and we were given a project to pass and also an interview

#

the course is free to those who pass it

#

not yettt

#

hopefully

#

it's sooo broaddd

#

we're learning so many things

#

it's pretty intense

#

yes

#

yep it's so broad and overwhelming

vocal basin
#

at work I'm the only one who really does devops

#

(as in both development and operations of the product)

gleaming locust
#

wow pascal

vocal basin
dusty musk
vocal basin
#

yes

dusty musk
#

oh that makes sense

#

do you guys have a degree?

vocal basin
#

I dropped out after 4 months of university

dusty musk
#

what made you drop out?

vocal basin
#

health

dusty musk
vocal basin
#

I got some random offer for a job with 2x the salary

#

but

#

seems like in the end it was a scam that I did not fall for

#

@wind raptor Matlab

dusty musk
#

true... everything mostly on social medias are ai's

#

that's scary....

vocal basin
#

AI everywhere

#

@jovial merlin

applied advanced principles of object-oriented software engineering to encapsulate application state through code rearrangement

#

should be good enough

#

@wind raptor this is the type of commit log that you can just copy to linkedin

dusty musk
#

they're so brightttt

vocal basin
#

I was 14 when I started using Git, too late too

dusty musk
#

that's life -frank sinatra

vocal basin
#

well, there is some excitement in finance

#

Knight Capital, as an example

dusty musk
#

fintech?

vocal basin
#

winning

#

@wind raptor @jovial merlin I'd normally just write:

unglobal

#

with formatting

gleaming locust
vocal basin
gleaming locust
#

ooof

vocal basin
#

aaaaaaa

#

it could've two 8s in one game

#

@winged heart after you're familiar enough with raw venvs, consider switching to using uv for managing them

#

it's a project management tool

#

it also adds everything you install as dependencies to pyproject.toml

#

(so you can track it)

winged heart
#

is this like the cmake equivalent for python?

#

you can write a script to auto set up an environment

vocal basin
#

not really

#

it complements pip such that it has features like npm has

#

npm being the Node[.js] Package Manager

vocal basin
#

however the split of responsibilities is different

#

C/C++ have very different code composition methods compared to languages with more isolated packages

#

@gleaming locust world's most popular functional language

#

Excel now has lambdas

#

(I might've misheard what you said)

winged heart
#

What lives inside these 'scripts' that uv runs

#

package setup?

vocal basin
#

Python code + list of dependencies

winged heart
#

interesting

vocal basin
#

I forgot that ufw is even a real thing

#

if ufw building on top of iptables or nftables?

#

allegedly it's based on iptables

#

which in turn is implemented, for compatibility, as a wrapper around nftables

#

fail2ban uses nftables afaik

#

wasn't 2014 around when Ubuntu finally gave up and started using systemd

#

(2014 is when nftables got integrated, approximately)

#

weird time

#

I've interacted with Ubuntu 14.04 before I think

#

managed to upgrade it to 16.04 okay-ish-ly

#

then it all broke at 18.04

#

I'd rather not run anything pre-2019

#

since that introduced some important things in the kernel

#

I haven't yet done anything serious with direct-ish RHEL descendants

#

maybe I should try

#

(CentOS and what replaced it)

#

I somehow worked more with Fedora than with that

#

(for CI that was eventually responsible for production software getting delivered)

#

replaced it with Alpine

#

because of package registry issues

#

one of the servers I have is running Alpine

#

how many servers do I even have

#

I think, limiting to only what I have at home that I own, it's 4

#

I currently have 145 containers on two main servers

#

many separate compose files

#

some of those are dev containers (manually managed)

#

containers are cheap to run

#

Docker with Docker Swarm used for networking only

#

fun fact: Docker Swarm does not work with Snap version of Docker

#

there is also microOS and whatever Oxide are making

#

also TritonDataCenter

#

(slightly abandoned)

vocal basin
#

with containers being based on Zones

#

time to combine Visual Programming and Assembly

#

No Code Firmware

#

Vibe Interrupt Tables

#

that's the intended meaning:
two things get coded (however), pick the one that you "vibe with" more

#

however that got transformed into "never look at the code" thing

#

obvious corollary: do not make other people depend in any way on this code

#

should be able to throw that code away at any point

#

which is sometimes a useful quality even without AI involved

gleaming locust
vocal basin
#

I can't definitively name a single thing using Laravel somehow

#

I know it's a very popular thing

#

like the main PHP framework

#

(public-perception-wise)

vocal basin
#

but Rails was quite media-centric

vocal basin
#

I have some suspicions that either rust-analyzer got fixed or having .sqlx cached affects it in weird ways

#

as in I no longer see errors due to having two different types of databases in the same workspace

vocal basin
#

I wonder if Python has something similar without involving pickle

#

learn to work with FFI, specifically involving C++, so that you would never want to do that again

#

@wind raptor "but what about ✨Serverless✨"

#

cloud-end

#

but what about R

vocal basin
#

my only creation for mobile was a PWA

#

back when those were popular

#

Angular has changed so much more since then than React did

#

like actually unrecognisable

#

no more RxJS all over the docs and guides

#

💥

whole bear
#

Hello

jovial merlin
#

hello

whole bear
#

Why you guys didn't say Hello to me!?

#

Guys that is rude

#

Guys say hello to me