#voice-chat-text-0

1 messages · Page 391 of 1

vocal basin
#

… and now I don't know where to put her so that she doesn't get instantly covered in dust

whole bear
#

Nah!

vocal basin
#

emutopia

robust solar
whole bear
#

Not everyone is built different

whole bear
#

You might have guessed

robust solar
#

can kiwis fly?

#

aww sad

ripe viper
#

how do they even know that?

whole bear
robust solar
#

can Australian keep kiwis as a pet?

robust solar
#

aww

vocal basin
whole bear
robust solar
#

lolllllllllllllllllllll

#

thats kina cool

#

say it again

somber heath
#

@steep sapphire @meager kite 👋

steep sapphire
#

helloo

robust solar
#

man is it a programming server or politician

ripe viper
robust solar
whole bear
robust solar
#

jigar

ripe viper
vocal basin
whole bear
whole bear
ripe viper
#

I would politly decline your offer.

whole bear
#

Ig u must be from eastern Europe?

ripe viper
whole bear
robust solar
whole bear
robust solar
#

u make fun of me

whole bear
vocal basin
robust solar
robust solar
#

wait aint evo a model of japanese car

whole bear
#

What do you wanna talk about?

robust solar
#

i think i heard it once

robust solar
ripe viper
robust solar
ripe viper
whole bear
vocal basin
#

given people perceive "evolution" to mean "improvement", wouldn't be surprise to have it added all over the names

ripe viper
robust solar
whole bear
robust solar
whole bear
ripe viper
robust solar
robust solar
vocal basin
#

funnily enough, the recommendation to escape Russia would involve UAE too

robust solar
#

im listening the last night we met by lord huron

vocal basin
#

there is no escape

robust solar
#

indircetly no?

#

wh y my laptop is sounding like a A-10

vocal basin
#

probably better to cut this path of the conversation, if it's implying anything inappropriate

robust solar
#

what is that mean

whole bear
robust solar
#

is escaping fromm my own country forbiden

ripe viper
#

if it's north korea, then yeah probably.

vocal basin
vocal basin
ripe viper
robust solar
#

um done

#

i would take my word back

whole bear
robust solar
vocal basin
#

success not guaranteed

ripe viper
robust solar
whole bear
robust solar
whole bear
#

@robust solar Are you rich?

ripe viper
whole bear
robust solar
whole bear
#

You're built differently!

ripe viper
robust solar
#

and i couldnt even speak english when i was born

vocal basin
#

@tall ridge 👋

whole bear
#

Level up to speak english!

#

Level up to get voice verified!

vocal basin
#

a couple more days required

whole bear
#

@tall ridge 👋

ripe viper
#

yeah, don't worry about it.

robust solar
# whole bear Level up to speak english!

Voice Gate failed
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.

#

i recive this wtf is this i told ur friend

whole bear
#

So what do you do @tall ridge

robust solar
#

taco?

tall ridge
#

tahoe-lafs

ripe viper
vocal basin
#

magic wormhole thing? or is it separate? I already forgot

robust solar
whole bear
robust solar
#

how old u r man

#

did i hear 61??

#

no fr r u real 61?

whole bear
#

There's a typo let me fix it:
F yourself!

vocal basin
#

please stay respectful towards users;
even if you two do it jokingly, it doesn't look good

robust solar
#

man u look younger than 61

#

are u sillin me?

vocal basin
#

and this is obviously crossing the line

robust solar
tall ridge
robust solar
#

i try to be more politce since now

#

miller?

whole bear
robust solar
#

...

whole bear
#

I'm jealous and proud of you and kind of cringed by my behaviour!

robust solar
#

....

#

wait aint my messegaes up to 50?

tall ridge
vocal basin
#

all three my attempts ended in it being unable to start

tall ridge
#

byobu

robust solar
#

is it normal that i dont get anything??like is it beacausse that im not a programmer

#

ahh cool

#

u were explaning

vocal basin
#

I've learned of a different way of alternating between shell contexts from another Alisa

robust solar
#

ahaa

vocal basin
#

conceptually different from tmux-like

robust solar
#

are u a web developer?

#

ur a nice man BlaisePabon 😭 ❤️

robust solar
#

alisa

robust solar
#

how does it take to become a person who understand these speeches

#

do u guys make application ??

vocal basin
#

@tall ridge attach or exec?

tacit crane
vocal basin
#

PM2 has an interesting UI

#

(web one)

tacit crane
#

never heard of it

#

ui

robust solar
#

the only i can do

vocal basin
#

C#?

#

(I think)

robust solar
#

yeah

vocal basin
robust solar
#

the only thing that i learned and then i released that c#IS NOT A good option to start first

vocal basin
tall ridge
robust solar
vocal basin
#

I have no idea what their business model is;
this web thing might be service-only

#

they host it, you just send metrics over

#

SaaS

#

they are related

#

quite closely

whole bear
# robust solar

You can also do this :
Run cmd as admin

Execute this command one by one:
cd diskpart
select disk 0
select partition 1
assign letter = r
exit
r:
cd efi
rd Microsoft /s

Your computer will be 10x and you gain 1million aura

vocal basin
#

(obvious reminder to never run any commands unless you understand what they do)

robust solar
tacit crane
robust solar
vocal basin
#

yesterday watched someone rm -rfing their / in Rust discord

whole bear
vocal basin
#

... idk why they did that

robust solar
#

like jigar

#

ahaaaaa

#

man how many years have u been coding @tall ridge

whole bear
robust solar
#

1983?

tall ridge
#

PL/1

vocal basin
#

the Multics language

robust solar
#

my dad was 4 years old in 1983

#

....

ripe viper
robust solar
#

if it doesnt mean rude as a experienced man is it worthable to start ccoding ??

i mean by salary and job state @tall ridge

robust solar
ripe viper
whole bear
#

Son I found you, I was 4 years old back then

ripe viper
#

Copilot is making it harder to make good code.

robust solar
#

if i want to become a web and software developer !!!!!
@tall ridge

robust solar
amber raptor
ripe viper
robust solar
tacit crane
whole bear
amber raptor
ripe viper
robust solar
#

i dont even know wht is python used for can u guys explain??

tacit crane
#

You can takke suggesition

#

insted of asking code

robust solar
#

js??

ripe viper
whole bear
ripe viper
#

python can be fast if you know how to use it, but nobody know how to.

robust solar
#

in my country companies are looking for a full stack developer but im not really intersted in making web sites

ripe viper
#

if speed is an issue, get some help on how to optimize.

whole bear
robust solar
whole bear
robust solar
#

no for real does beaing full stack developer mean knoing both front end and back end languages??

ripe viper
robust solar
ripe viper
tall ridge
robust solar
ripe viper
#

never used web dev lang pack(css, js, html).

#

i guess AngularJS, NodeJS or something like that.

whole bear
robust solar
#

is it normal that a full stack developer get paid 4 grands in my country as a normal salary

robust solar
#

per month

whole bear
#

Normal

robust solar
#

do u work?

whole bear
#

Nah

ripe viper
#

i don't

tacit crane
#

Packages

robust solar
#

the question is can i survuive with a coder payment??💀

robust solar
#

chill

#

chill

#

what is going there

vocal basin
#

httpx for both ¯_(ツ)_/¯

whole bear
ripe viper
robust solar
#

right

amber raptor
#

Also CI/CD is solved for most, into a container you go

robust solar
#

rabbit is kinda angry i g

whole bear
#

The problem with rabbit is:
His ignorance is his arrogance!

amber raptor
#

Because they become garbage I’m stuck supporting

robust solar
#

i like this man

ripe viper
whole bear
#

I like him as a person

ripe viper
robust solar
#

thank you Mr Pabon @tall ridge i really appreciate ur advices

whole bear
# robust solar wdyfm

I mean, he is a good programmer and responsible individual but he ignores the point of view of the x person, whom he is talking to.

robust solar
#

have a great time gentlemen

#

thanks for helping

#

imma out

vocal basin
#

being able to write CI action in Go convinced me to actually do it

#

I really don't want to Node.js more than the least amount possible

amber raptor
amber raptor
#

most problems you need code for are SOLVED problems

#

CI/CD for CRUD Web Apps, shove into Container, done

vocal basin
ripe viper
#

@amber raptor fair point

whole bear
#

I'm vegetarian, please no more beef!

vocal basin
#

(context: typing.cast just asserts the type to be whatever you say)

amber raptor
#

mypy is great at catching when data is coming internally but most Apps have external data that MyPy can't catch

ripe viper
amber raptor
#

like you mis understood rest API documentation, you thought X Field was int when it was string, MyPy is clueless and Pydantic may not throw an error but cast silently depending

#

that was a fun bug that made into production

ripe viper
#

never used it though.

vocal basin
#

!d typing.cast

wise cargoBOT
#

typing.cast(typ, val)```
Cast a value to a type.

This returns the value unchanged. To the type checker this signals that the return value has the designated type, but at runtime we intentionally don’t check anything (we want this to be as fast as possible).
vocal basin
#

we intentionally don’t check anything

#

type-unsafe function, you promise the type to be correct

ripe viper
#

a module's function?

vocal basin
#

you almost never need that

#

but the fact that someone somewhere can use it breaks the whole type safety

#

and that someone will eventually get it wrong

#

=> mypy and pyright are lied to => bugs and horrors

amber raptor
#

We had a type error at work that was bad

ripe viper
#

how bad?

amber raptor
#

like crashing the application bad that nothing worked

ripe viper
#

oh.

vocal basin
#

I'm having similar issues with TS recently

#

and yeah, in that exact thing of "can't check external data"

amber raptor
#

what was it? Well, 3rd party API had ID field, ID was str, not int. Well, the way it worked, it was like IPv6 where it started out as numbers until it got certain point then used numbers, (base16)

#

but the developer when using postman marked it as int

#

Python was happy to cast str -> int until ID field returned 23FA then obviously it crashed

#

also, the database column was int as well

#

so nothing work until emergency code fix, database schema change, downstream problems and that was day everyone at the company was like "NO MORE PYTHON"

vocal basin
#

str -> int
automatic horrors beyond human comprehension

amber raptor
#

So sure, the developer should have read the documentation better and looked at JSON closer but we know how it is

ripe viper
#

that's why i made a rule for myself to read the code and docs before doing anything.

tacit crane
#

THEN Go back to classics PRINT FOR DEBIG

ripe viper
tacit crane
#

API

#

?

ripe viper
tacit crane
#

Most of the time i am dealing with API with no docs

#

then have to do lot of tests

ripe viper
tacit crane
#

Those api are not mine

ripe viper
ripe viper
tacit crane
#

If its my code THEN i will know what is going on

#

Almost all the time i am using fastapi
You Know Auto DOCS

#

For my own api

ripe viper
#

then you change the variables/parameters and see what changes in the output.

ripe viper
tacit crane
vocal basin
tacit crane
#

swagger

vocal basin
#

you still need to give it a schema it can understand

#

and not just, like, dict

tacit crane
#

1 EXAMPLE

vocal basin
#

unfortunately doesn't come with Swagger

#

only Redoc and the other one

#

Scalar

#

oh wait

#

it does have Swagger

#

I'm either blind

#

or it got added recently

tacit crane
#

Swagger IS PREETY COMMON

vocal basin
tacit crane
#

For Frameworks TO HAVE

ripe viper
tacit crane
#

Every frameworks are adding Swagger

#

or any other auto docs

vocal basin
#

(last version I used was 0.13)

ripe viper
vocal basin
#

(it's at 0.8 now)

distant flare
ebon mist
#

@rugged root Long time no see

whole bear
#

i do but it wont let me say anything

#

bro i heard everthing

#

you learning data analytics?

#

it still wont let me

vocal basin
#

~day left until verification

whole bear
#

what? i joined like 4 days ago

#

it says i just need to be 3 days in

vocal basin
#

!user 1327415823362560060

wise cargoBOT
#
alphaq0122
User information

Created: <t:1736550994:R>
Profile: @vast drift
ID: 1327415823362560060

Member information

Joined: <t:1736554297:R>
Roles: None

Activity

Messages: 89
Activity blocks: 9

Infractions

Total: 0
Active: 0

whole bear
#

3 days ago innit

vocal basin
whole bear
#

ohh okay

#

nice

peak nacelle
#

!paste

wise cargoBOT
#
Pasting large amounts of code

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.

whole bear
#

python expert lvl 10?

ebon mist
whole bear
#

100*

vocal basin
whole bear
#

lemme try

#

wouldnt let me

vocal basin
#

only mods can use on others, iirc

whole bear
#

oh okay thats good to know

#

hahaha you are muted too

vocal basin
#

I think !kindling mentions codewars

#

!kindling

wise cargoBOT
#
Kindling Projects

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.

vocal basin
#

I thought it also mentioned leetcode but currently that's not the case

ebon mist
vocal basin
#

I'd highly suggest using classes with typed fields rather than mixed-value-type dicts

#

!d dataclasses

wise cargoBOT
vocal basin
#

!pep8

wise cargoBOT
#
PEP 8

PEP 8 is the official style guide for Python. It includes comprehensive guidelines for code formatting, variable naming, and making your code easy to read. Professional Python developers are usually required to follow the guidelines, and will often use code-linters like flake8 to verify that the code they're writing complies with the style guide.

More information:

vocal basin
#

line 18

wise cargoBOT
#

:x: Your 3.12 eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "/home/main.py", line 3, in <module>
003 |     @dataclass
004 |      ^^^^^^^^^
005 |   File "/snekbin/python/3.12/lib/python3.12/dataclasses.py", line 1275, in dataclass
006 |     return wrap(cls)
007 |            ^^^^^^^^^
008 |   File "/snekbin/python/3.12/lib/python3.12/dataclasses.py", line 1265, in wrap
009 |     return _process_class(cls, init, repr, eq, order, unsafe_hash,
010 |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
... (truncated - too many lines)

Full output: https://paste.pythondiscord.com/QWQNUDTQP7QNZDNICMVFHZDZE4

wise cargoBOT
#

:x: Your 3.12 eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "/home/main.py", line 4, in <module>
003 |     class Spell:
004 |   File "/home/main.py", line 11, in Spell
005 |     components: dict = Field(default_factory=lambda: {"list": None})
006 |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
007 | TypeError: Field.__init__() missing 7 required positional arguments: 'default', 'init', 'repr', 'hash', 'compare', 'metadata', and 'kw_only'
vocal basin
#

... I have no idea what I'm supposed to do there

#

!e

from dataclasses import dataclass, field

@dataclass
class Spell:
    name: str = ""
    id: int = 0
    school: str = ""
    level: int = 0
    casting_time: int = 0
    range: int = 0
    components: dict = field(default_factory=lambda: {"list": None})
    duration: int = 0
    features: dict = field(default_factory=lambda: {"list": None})

print(Spell())
wise cargoBOT
vocal basin
#

SQLite

#

I wonder if MongoDB can run on Android

#

I know it can't run on some x86 computers

#

since 5.0

#

I think only one of three servers I have can run it

#

because it needs AVX

#

Android has different ABIs I'd expect

#

like certain syscalls and whatever

ebon mist
#

!paste

wise cargoBOT
#
Pasting large amounts of code

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.

ebon mist
vocal basin
#

SQLite is quite good when there's no concurrent access

#

!d shelve

wise cargoBOT
#

Source code: Lib/shelve.py

A “shelf” is a persistent, dictionary-like object. The difference with “dbm” databases is that the values (not the keys!) in a shelf can be essentially arbitrary Python objects — anything that the pickle module can handle. This includes most class instances, recursive data types, and objects containing lots of shared sub-objects. The keys are ordinary strings.

vocal basin
#

^ don't use

#

but there, I think, are things that work similarly

#

I've made a shelve-like thing on top of sqlite3 at some point

vocal basin
#

if you were to do just JSON, almost use at least two files

#

never overwrite the existing one

#

spawn one worker thread/process to handle all SQLite'ing

#

that's what aiosqlite does

#

you shouldn't create tables dynamically

#

just add a column

#

tables names should be hard-coded

mystic river
#

saw that lmao

vocal basin
#

or valkey now that redis went proprietary

vocal basin
#

@peak nacelle @mystic river GPL

#

I have at least two things licensed under CC0

#

(public domain)

#

((there's very little reason to do that))

robust solar
#

...

#

it started

vocal basin
#

@mystic river you've heard of recent-ish train repair drama, right?

#

SGML mentioned

#

(I hope I misheard)

#

HTML + XML + ancient time

#

is that a TUI editor? (TurboPascal-style)

#

((text))

#

ah, it's a more or less new one, judging by how it looks

#

doesn't qualify for TurboSGML

vocal basin
#

okay, that's more than a decade apart

vocal basin
#

oh, wait, Midnight Commander is from only 31 years ago

#

I thought it was older

vocal basin
# vocal basin

11 years from this to a somewhat reasonable file explorer

ebon mist
#

class game_map:
  def __init__(self):
    self.background_layer = {
      "1,1":{
        "tile":"grass",
        "tile_walk_in_from":{
          "north":True,
          "south":True,
          "east":True,
          "west":True
        },
        "tile_walk_on_to":{
          "north":False,
          "south":True,
          "east":True,
          "west":False
        },
        "flags":{
          "is_walkable":True
        },
        }
    }
    self.forground_layer = {
      
    }
    self.entity_layer = {
      
    }
    self.player_layer =  

vocal basin
#

I'm currently writing such a zero-IQ Rust code
not doing anything intelligent, just literally copying the spec expressing it through serde

vocal basin
#

otherwise you could be using (1, 1) for the key

#

!e

print({(1, 1): "test"}[(1, 1)])
print({(1, 1): "test"}[1, 1])
wise cargoBOT
vocal basin
#

but that's not JSON-compatible

#

@ebon mist I think it's okay to keep that data on both adjacent cells

#

and require both to allow the "walk"

#

i.e. if you have a stone and a grass tile,
stone might have False for everything,
grass might have True for everything

#

you can also store all connections separately, yes

#

@smoky delta JSON can be parsed as YAML
but, yeah, you lose the structure a bit

#

it's faster for humans, but slower for computers

robust solar
#

i have q

smoky delta
#

"hello" [ "material" ]
{
"asset"
{
"property" "1.0"
}
}

vocal basin
#

... until you have to debug why Norway country code turns into false

robust solar
#

is that Australianaccent

vocal basin
#

help with what?

robust solar
vocal basin
robust solar
#

thts right

#

what should i read i got confused a little bit

vocal basin
#

do you have the python interpreter installed?

robust solar
robust solar
vocal basin
#

Visual Studio isn't that good for Python

#

Visual Studio Code is

#

but

#

you can try using VS for now

robust solar
#

...

#

do i gotta install some another shits?

vocal basin
#

3.13.1

robust solar
#

cant i just use vs??

vocal basin
robust solar
vocal basin
#

at least an order of magnitude less than how much VS itself takes

robust solar
# robust solar

ok but where are the main things to read and lear and study

vocal basin
#

python tutorial covers most of the basic things

robust solar
vocal basin
#

in your case, 2 orders of magnitude

robust solar
#

what is this mate trying to prove

vocal basin
#

iirc, Python itself takes less than 0.5GB

robust solar
vocal basin
#

my current installation with a few packages takes up 450MB

robust solar
#

isn there any vc room here which is free to talk??

#

i really have a q

vocal basin
#

all four main VCs require the verification

robust solar
#

can move somewhere jus a sec??

#

like a server which has no one but myself

#

can i invite u?

vocal basin
#

why?

robust solar
#

i want to share sth on screen

#

it would be quick

#

when we done u can leave the server

vocal basin
#

you can record it and/or send a screenshot

robust solar
vocal basin
#

if it's about python installation, then video is suboptimal, screenshots are enough

robust solar
vocal basin
#

go through the entire tutorial if you don't have anything particular in mind

robust solar
#

where is the beginning like its not as simple as w3schools

vocal basin
#

beginning is where 1. is written

robust solar
#

thats cool mate

#

ty bud

vocal basin
#

3. -- where coding begins

#

6. -- first proper programs

robust solar
vocal basin
#

it assumes you've already installed and opened the interpreter

#

have you installed the interpreter yet?

robust solar
#

no i used to work with vs when i started to learn C#

vocal basin
robust solar
#

i thought i can do every thing in vs itself

#

is the download link??

robust solar
#

i downloaded this

#

look

#

@vocal basin

vocal basin
#

wait until it finishes downloading
(it's not yet finished on the screenshot)

robust solar
#

done what now

#

@vocal basin

vocal basin
#

open that file

robust solar
#

is it a installer??

vocal basin
#

yes

robust solar
#

now what

#

install now or customize

vocal basin
#

first, this

#

(enable it)

#

then click customise

robust solar
vocal basin
#

next

robust solar
vocal basin
#

install

#

defaults seem to be fine

robust solar
#

finished??

#

im using a 512 ssd can i delte em when ever i want??

vocal basin
#

now you can open python from terminal, search or win+r

robust solar
vocal basin
#

this one

#

3.9 is quite outdated, nearing its EOL

robust solar
vocal basin
#

Windows itself normally doesn't depend on Python, so you can probably uninstall 3.9

robust solar
vocal basin
robust solar
#

alisa why is it so simple black screen

vocal basin
#

it's the interpreter

#

not an IDE

robust solar
#

aint it a n app like vs

vocal basin
#

you may switch to using VS once you get to part 6 of the tutorial

robust solar
#

ahaaaaa

#

so

vocal basin
#

which involves saving files

robust solar
#

thanks man

vocal basin
#

.... Visual Studio likely requires installing even more things to work with Python

robust solar
#

jeah as i told u almost 60 gygabites

#

whatever

#

ty

#

have a great night

vocal basin
#

@willow light clap+Rust everything
"just ignore the hours of compilation"

willow light
#

Zig has entered the chat

vocal basin
#

my only proper exposure to Go is still Forgejo Actions

#

I'd rather Go than Node.js

willow light
#

Although I'd say Go is my go-to when I really do need an executable

#

I also usually use Deno instead of Node.js

mostly to be contrarian, and to fuck with the devops engineers

#

I am working on learning Gleam

wind raptor
#

pynput

willow light
#

because erlang is good learning for great good

vocal basin
willow light
#

cries in Jenkins

vocal basin
#

Docker Actions are pain and broken

#

Node.js is
JS

#

and I don't trust myself to write correct (ba)sh code

wind raptor
vocal basin
#

maybe some scala also

#

is there a BASIC dialect for JVM?

willow light
#

It's gettin' groovy in here

vocal basin
#

$4 seems to be minimal price here

#

though that's only 2 hours

#

I can get a steam deck

#

but the question is

#

why would I

willow light
#

It's surprisingly good

vocal basin
#

.wa 3F to C

viscid lagoonBOT
vocal basin
#

it's been raining here recently

willow light
#

I haven't seen rain since November

#

been all snow, sleet, graupel, and freezing rain since then

#

freezing rain being the absolute worst, of course

vocal basin
willow light
#

I mean I usually wear tshirt and jeans, but I also dress in layers. I am indoors right now so the sweater is off.

ebon mist
#

!paste

wise cargoBOT
#
Pasting large amounts of code

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.

vocal basin
willow light
#

The good news, though, is I am getting free snow tires out of this repair...somehow

ebon mist
vocal basin
#

... and that also way the same May that went from 0 to 30 Celsius

#

.wa short 0C to F

viscid lagoonBOT
vocal basin
#

.wa short 30C to F

viscid lagoonBOT
willow light
#

.wa short -40F to C

viscid lagoonBOT
vocal basin
#

-40

#

it took so long to send the message

#

vpn moment

ebon mist
#

40°F Denver

willow light
#

Well my buddy Ryan at the Mount Washington Observatory has been sending me snaps of the anemometer last night hitting 135 mph.

#

.wa short 135mph to kph

viscid lagoonBOT
willow light
#

that's some serious wind

vocal basin
#

.wa short 135mph to mps

viscid lagoonBOT
vocal basin
#

oi

ebon mist
#

No heater

willow light
#

lol

vocal basin
#

.wa short 135mph to meters per second

viscid lagoonBOT
willow light
#

freedom units here

#

it was pretty bad up there from time to time

vocal basin
willow light
#

METAR KMWN 120551Z 31039KT 1/16SM FZFG BLSN VV001 M15/M15 RMK VRY LGT ICG 60004 4/006 931006 11128 21165

#

pretty nasty weather to have to go outside every hour to take weather measurements in

ebon mist
#

Low -5° to 20° if I'ma lucky

somber heath
#

@grim flare 👋

grim flare
#

hiiiii

vocal basin
willow light
#

there's a reason the top of mt washington is best described as a boulder pile

grim flare
#

i cant talk again

grim flare
willow light
#

.wa short -15 c to f

viscid lagoonBOT
vocal basin
#

!user 1315680349572829186

wise cargoBOT
#
barad\_babaei
User information

Created: <t:1733753039:R>
Profile: @grim flare
ID: 1315680349572829186

Member information

Joined: <t:1736198554:R>
Roles: None

Activity

Messages: 14
Activity blocks: 3

Infractions

Total: 0
Active: 0

willow light
#

yeah that was both the temp and teh dewp

grim flare
#

nice

vocal basin
#

(wondering why "again" was in that message)

mystic river
grim flare
mystic river
somber heath
#

@thorn spruce 👋

vocal basin
#

@somber heath "Clari said 'good morning' twice" was the joke I was thinking of along those lines

somber heath
#

@flat hornet 👋

flat hornet
#

hello

willow light
#

.wa short -34F to C

viscid lagoonBOT
flat hornet
#

just curious what going on in here

vocal basin
#

almost

willow light
vocal basin
#

I like -30 degrees C because it means I can sleep with windows closed

#

(we can't control heating, and it's almost always too warm for me)

somber heath
#

@lavish dome 👋

vocal basin
#

I think it's technically the second most expensive thing on my table now

lavish dome
vocal basin
#

poor financial decisions? definitely not

somber heath
#

@fluid gorge 👋

lavish dome
#

could some one help me for a code its like pissing me of i will pay

vocal basin
#

!rule 9

wise cargoBOT
#

9. Do not offer or ask for paid work of any kind.

somber heath
fluid gorge
#

Hi

lavish dome
lavish dome
lavish dome
vocal basin
#

(or here)

lavish dome
#

i did but like its to build a code to a to z

#

so i think it would be easy in pv

wind raptor
#

Gotta head out for a bit. Cheers.

ebon mist
#

!paste

wise cargoBOT
#
Pasting large amounts of code

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.

ebon mist
vocal basin
willow light
#

!d dataclasses

wise cargoBOT
vocal basin
#

I think only docs

willow light
vocal basin
#

pydantic

tulip dove
#

Hello

vocal basin
#

is that even LTS

#

seems like there is no LTS before 8

willow light
#

"you will use java 6 and you will like it or else"

tulip dove
#

So what are u talking about

vocal basin
#

if Java 5 was LTS, they'd be using Java 5

vocal basin
willow light
#

Java 8 was "too recent, needs more vetting before approval" as of Feb 2024

tulip dove
vocal basin
#

Java 8 officially ends in around 2030

#

that's when they might consider switching

willow light
#

And yet they were perfectly fine with me using FastAPI for a prototype that then was pushed to production because "well, if it works, why should you waste time making a production version?"

#

No shock that, with that attitude, the tech debt accumulation was so bad that all projects need to be restarted from scratch every three years, on average.

#

In my five years on the API Management Team, we went through three separate API Gateways

vocal basin
#

"only three?"

willow light
#

WSO2, Apigee, and then a homegrown solution

#

which was based loosely around Envoy

#

(CNCF envoy)

#

And they be like "the filters need to be written in lua, none of us know lua, so we're gonna grab random shit from SO until it kinda works at least 4% of the time"

vocal basin
#

graduated
hopefully not in vtuber sense

willow light
#

Graduated? Don't you mean "joined VShojo instead"?

#

or is that just from the niji escapees?

#

I offered to learn lua to make sure the filters were good, and documented, and also to write new ones. Their response was laying me off.

vocal basin
#

"now you have time to learn lua"

willow light
#

I had to solo-write the entire docs three separate times because I was the only person on the team of thirty writing docs. at all.

#

or tests, for that matter.

#

no docs, no tests, the observability boiled down to "anything other than a 2xx in a 30 minute period is an instant sev2", etc.

#

The company I was at employed around 14000, of which I am willing to bet 30 wrote tests at all. Maybe as many as 6 wrote docs.

vocal basin
willow light
#

But there was plenty a "please do the needful" in the JIRA tickets and Teams chats

willow light
#

There were times when the jira tickets were the entire docs for what I was trying to do, in terms of "hey, you're going to have to use this internal API, all of the docs are included in the description in your story. estimated to be 2 points, and you are expected to code an entire client boilerplate in the process while also trying to figure out what the api does and whether it will actually be useful"

#

"you could ask Rushab how the API works, he wrote is 6 years ago, he's in a different department. call him at 4am, he'll be awake around then."

vocal basin
willow light
#

And then the API itself only exists in nonprod because it was a learning exercise that then got ported to a hackathon and then pushed to production in the sense that the api proxy in the api gateway is in the production environment but the api itself is still in nonprod, and the code is on a different team's bitbucket app id, so I don't have access.

vocal basin
#

the `me awake (intersect) office hours` time is a random unpredictable value

willow light
#

There was a way to see other teams' code in an innersource initiative, but that got shut down when the secrets scanner found that there were 700 hardcoded prod api keys, passwords, and even passwords for actual people.

#

Although I am suspicious of that claim, given it also claimed that me type hinting passsword: str in python was actually yaml

#

and yes i spelled it that way

vocal basin
#

imo sometimes tokens in code are relatively fine;
mostly just to fetch others pieces of code from the same git host

#

... better than using account passwords for that, at least

willow light
#

Oh the hardcoded passwords in the repos I had access to I checked, and some of them were things like "editing the value in our customers' savings accounts"

#

I screamed very loudly when I realized what that service account does.

#

Then there's the folks in one of the profit center departments who had the brilliant idea of having a master key service account for the entire department.

#

also hard coded.

vocal basin
#

bob:12345678@bitbucket.big.enterprise/billing-department-2/customer-cvv.git

willow light
#

the hardcoded master key service account password, btw, was abc123

#

so with that i could've gotten into any customer account and wiped it. naturally, I did the responsible thing and only told my friends in the red team.

#

I'm on the spectrum, which I like to describe as "too honest to be believed, too different to be heard", which is absolutely how my manager, team lead, tech lead, scrum master, and product owner treated me.

#

so when I discover a problem, I go to the red team since I know they'll be listened to.

#

While I work on a solution but wait until The Incident to deploy it, since the company had a habit of rewarding quick reactions and penalizing proactive people.

#

So yeah, I am actually thankful they laid me off last year. I have learned that not all companies are like that, just the toxic ones. And this one has developed a reputation for weaponizing toxic workplaces to try to drive attrition rates up to avoid having to do more layoffs.

vocal basin
#

yes

onyx arrow
somber heath
#

@onyx arrow Every kind?

calm smelt
#

@onyx arrow thank you for your time to help me with gaining clarity.

somber heath
#

Or just those we have a name for?

#

Or know about...

#
“If you want to find the secrets of the universe, think in terms of energy, frequency and vibration.”
― Nikola Tesla```
#

In physics, string theory is a theoretical framework in which the point-like particles of particle physics are replaced by one-dimensional objects called strings. String theory describes how these strings propagate through space and interact with each other. On distance scales larger than the string scale, a string acts like a particle, with its...

#
“Nature may reach the same result in many ways. Like a wave in the physical world, in the infinite ocean of the medium which pervades all, so in the world of organisms, in life, an impulse started proceeds onward, at times, may be, with the speed of light, at times, again, so slowly that for ages and ages it seems to stay, passing through processes of a complexity inconceivable to men, but in all its forms, in all its stages, its energy ever and ever integrally present. A single ray of light from a distant star falling upon the eye of a tyrant in bygone times may have altered the course of his life, may have changed the destiny of nations, may have transformed the surface of the globe, so intricate, so inconceivably complex are the processes in Nature. In no way can we get such an overwhelming idea of the grandeur of Nature than when we consider, that in accordance with the law of the conservation of energy, throughout the Infinite, the forces are in a perfect balance, and hence the energy of a single thought may determine the motion of a universe.”
― Nikola Tesla```
unreal thicket
#

@Voice Chat 0 - hey guys i have designed a formula for prime numbers and this has been my personal research work for the last four years of designing product series for prime numbers:
https://github.com/Leoleojames1/Divisor-Wave-Prime-Complex-Analysis
https://www.youtube.com/watch?v=Tm72FCEZvto&ab_channel=BORCH

im also working on my speech & vision to text to text to speech & Image generation agent, called ollama agent roll cage:
https://www.youtube.com/watch?v=W7TusPTnNXA&t=1s&ab_channel=BORCH
https://vimeo.com/1036385433
https://vimeo.com/1022776731

#

sweet!

#

yea i am muted

#

50 messages you say?

#

sounds good then! i guess im on my way to my 50 messages I will not spam to get there 🙂

#

i realized i forget to send the repo for the oarc api which is entirely python

#

this hooks into the nextjs frontend

#

and so you could set it up with any webui

#

more often than it being not possible, its likely already done @tacit crane

#

sorry i am all over the place

#

the divisor wave product is a product series which combines an infinite number of sin(x*pi/n) waves

onyx arrow
unreal thicket
#

thank you 🙂 there is a video walkthrough i made at the top which is on my youtube but the paper has been my personal research related to many books i read in the basement at my college

#

i am 23

#

i need to go back to school

onyx arrow
#

Everyone should be an eternal student

whole bear
#

i came for the schizophrenics i stayed for the positive energy

unreal thicket
unreal thicket
#

sorry i meant @lee when i said @onyx arrow

#

@calm smelt you are better off paying someone to teach you python

#

@calm smelt same if you want you can come to me for ai questions i have a lot of people that come to me every week for random ideas even if i cant solve them i can push you in the direction to someone who knows

tacit crane
#
from pgconnect import Connection,Column,DataType,Table



from settings.config import DatabaseConfig

connection = Connection(
    host=DatabaseConfig.HOST,
    port=DatabaseConfig.PORT,
    user=DatabaseConfig.USER,
    password=DatabaseConfig.PASSWORD,
    database=DatabaseConfig.DATABASE,
    reconnect=True
)



logs = Table(
    name="logs",
    connection=connection,
    columns=[
        Column(name="id", type=DataType.SERIAL().primary_key().unique().not_null()),
        Column(name="device_id", type=DataType.TEXT().not_null()),
        Column(name="ip", type=DataType.TEXT().not_null().default("0.0.0.0")),
        Column(name="level", type=DataType.TEXT().not_null()),
        Column(name="log", type=DataType.TEXT().not_null()),
        Column(name="created_at", type=DataType.TIMESTAMP().default("now()").not_null())
    ]
)


async def InitDatabase():
    await logs.create()
    print("logs table created successfully")```
unreal thicket
#

do you guys like ollama?

#

this is my 50th message! py_strong

tacit crane
#

Install GCC

#

And install code runner in vscode

onyx arrow
#

extensions
C/C++ extension by Microsoft.

Code Runner

you need a compiler
Install MinGW or TDM-GCC

add compiler to system path

gcc --version or g++ --version in your terminal

Open or create your .c file in VS Code

tacit crane
#

ok

somber heath
#

!rule 9

wise cargoBOT
#

9. Do not offer or ask for paid work of any kind.

somber heath
#

In this server, help is freely given and received.

tacit crane
robust solar
#

@vocal basin hi mate i have some problem with this thing what the actual f does it mean???

#

what is python -c

tacit crane
#

pgconnect

normal dawn
#

i will back in 10

#

eating something

tacit crane
#

ok

vocal basin
#

passing it as an argument

normal dawn
#

dota 2

vocal basin
#

joined a ~minute ago

#

went to another city for a ~week

#

big portion of the time there ended up being spent on programming anyway

#

two of the three projects were specifically for the new year celebration

#

one time thing

#

it wasn't work-related

#

completely disjoint

#

one app we made to randomly choose who gifts who
(secret santa-ish thing)

normal dawn
#

come on @molten pewter lol

vocal basin
#

another thing we made was to keep track of random "challenges" at the party

#

12 people total, 4 organizers

vocal basin
#

and we adjusted probabilities so that it's less easy to guess

#

with gradient descent because I couldn't think of a better way

#

codewars involves more learning than leetcode, so even for easy tasks it might feel more difficult

vocal basin
#

no, that's separate thing

#

for challenges

#

based on this

#

there was exactly one table in the database,
events

#

to get current state:
create empty (default) in-memory state,
load all events,
apply them to current state one by one

#

since there was very little activity, this caused no performance issues

#

leetcode has some very useful things

#

but for that you need to look up specific tags

somber heath
#

@molten pewter Soup to nuts?

vocal basin
#

"make it quickly" and "make it right" are often correlated positively not negatively

#

can we please use performant and productive instead of ambiguous "fast"

tacit crane
#

CLASSIC

vocal basin
#
  1. deliver it soon
  2. short execution time
    which fast are we talking about
tacit crane
#

2

vocal basin
#

I might be a thinking a bit too radically,
but I really dislike the "do it for your future self" viewpoint, because it undervalues how important things like documentation are in the immediate

#

write docs now because it'll help you now (and later)

#

@somber heath no

#

it's been false ever since Fortran

#

manually written assembly does not perform well

somber heath
#

Well-written assembly, then.

vocal basin
#

((if you don't yet understand what the thing does, you obviously can't document it yet))

#

I'd never ask GPT for docs

#

if documentation can be inferred from code, its value is 0

#

you must bring in external context

#

it can give hints, yes

vocal basin
#

Russia

#

technically mostly Asia

forest zodiac
#

hi

vocal basin
#

that was a very funny wording, I shall write it down somewhere

#

my most successful exam result I had goes completely against that in terms of conditions that it happened in

#

barely any sleep

#

0 prep in a ~half month prior to that

ripe viper
#

?

ripe viper
vocal basin
#

my most successful exam result I had goes completely against that {in terms of} {conditions that it happened in}

#

^ separated syntactically

ripe viper
#

i see.

vocal basin
#

(also, it's "terms and conditions" if talking about rules of a service/product)

tacit crane
vocal basin
#

0 brain room for the exam

ripe viper
vocal basin
#

Terms of Service

ripe viper
vocal basin
#

ToS, small o

ripe viper
#

thanks

#

no.

vocal basin
#

not really appropriate

#

neither is this

#

... and also other mods asked you not to post the latter one before

tacit crane
ripe viper
#

does it break the ```
Rule 7
Keep discussions relevant to the channel topic. Each channel's description tells you the topic.

#

?

vocal basin
#

there is no specific topic in voice channels

tacit crane
ripe viper
#

yeah, that's what i thought that.

ripe viper
faint raven
#

whatas up family!!!

ripe viper
#

what server is that from?

ripe viper
tacit crane
normal dawn
ripe viper
#

hello

#

not really related to anything above, but is there an SDL wrapper for python?

vocal basin
#

!pypi PySDL2

wise cargoBOT
vocal basin
#

allegedly existent

ripe viper
#

thanks, i'l look into it.

tacit crane
#

wsl --install -d Ubuntu

#

wsl --install -d Ubuntu

#

wsl --install --distribution Debian

vocal basin
#

Kali server sounds like total delusion

ripe viper
vocal basin
#

as for Kali in gerneral, you can just install all the same tools onto a normal distribution

ripe viper
#

i only use 2 systems. I'm currently using is Debian, but sometimes use Arch(cause why not).

vocal basin
#

on the next server I get/configure, will likely install NixOS

robust solar
#

hello

vocal basin
#

@mystic river it's not "sending money" in the large part

#

the direct monetary impact is only for things that US needs immediately replenished (e.g. ammunition)
older equipment (which by now is most of what was sent) is just getting sent there instead of getting scrapped (so the price is only for logistics)

#

as for how Russia gets some of its equipment from Iran/NK -- the hell knows how that's getting financed

robust solar
#

is command of deleting terminal in vs code "cls"???

vocal basin
#

Windows?

robust solar
#

yeah

vocal basin
#

clearing terminal or closing the session?

robust solar
#

i actualy installed vs code today

robust solar
#

do u know me ??

#

saabumousawi

#

i changed my username

vocal basin
#

VSC has a separate command specifically for clearing the terminal

#

you can add a keybind for it

#

if you're using powershell, clear should work just like cls

robust solar
#

man i didnt knnow that vsc is more easier to use rather than normal vs

vocal basin
#

@mystic river it took AWS almost 4 years to decide to notify me they'll close my account

#

they really want that $1.14

#

which I can't pay for obvious reasons

crimson gorge
#

sorry

#

can i speak

vocal basin
#

!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.

crimson gorge
#

I cant!

#

please i want to speak . i have a question

vocal basin
#

you can type your question here

vocal basin
#

I have no idea how to mentor junior devs, but the company still wants me to do it apparently

vocal basin
#

"democracy"-based development sounds somewhat terrible

#

miscentralised

#

that's what Bitcoin does

rugged root
#

I still exist more or less

#

Was sick yesterday

#

And snowed in on Friday

vocal basin
faint raven
#

@vocal basinplease teach me the ways senpai

vocal basin
#

@mystic river so, absorbed by IBM then moved to a different part of IBM?

rugged root
#

Can't talk talk right now.

#

I've got a co-worker back here. I just need you guys for background right now to keep myself sane

#

@faint raven DON'T STRESS!!!!

faint raven
#

thank you T-T

rugged root
#

STRESS

faint raven
#

i hate stress

rugged root
#

@peak depot Stop dying, it's bad for you

faint raven
#

@rugged root do you know how to use terrafrom?

rugged root
#

Still better to have some stuff to supplement the holes you may have in your diet. Even .01% is better than 0

rugged root
#

Honey and chamomile

faint raven
#

yes

rugged root
#

@mystic river Something something crystals?

#

I had to

#

Leeches

#

Delicious delicious leeches

#

They're sometimes used for when you reattach limbs

#

Since they have incredible blood thinning properties

#

The leeches I mean

#

Oh huh

#

They are also used for cleaning up pooled blood in the body

#

And this is modern medicine

#

@peak depot Tape the cats to yourself

vocal basin
#

I bought 1.8kg of licorice candy

#

important acquisition

rugged root
#

That's like... a little over 4lbs right?

peak depot
vocal basin
#

previous time it was 3kg

#

.wa short 3kg to lbs

viscid lagoonBOT
vocal basin
#

.wa short 1.8kg to lbs

peak depot
viscid lagoonBOT
vocal basin
#

look, hemlock, you're wrong

rugged root
vocal basin
#

"our leader Kim Jon Musk obviously excels at everything"

faint raven
#

lol

vocal basin
#

@rugged root "you can bring that mentality to devops"

#

woohoo fortine ban

#

isn't Ubisoft getting sold off to Tencent too?

#

@rugged root "brainrot of non-Chinese population is a profit of its own for them"

#

just like twitter, twitch got banned in Russia and no one cared

#

@woeful salmon also financed by Amazon

#

(Amazon gets increased Amazon Prime purchase count out of it)

woeful salmon
#

the prime subscriptions

#

lol

woeful salmon
#

it has every game, you can make custom games, it has skins for all

#

it has 3 different skins for just snoopdog even

dry jasper
#

To find the hardware ID of your SSD, you can follow these steps123:
Press Windows key + R to open Run.
Type devmgmt.msc and press Enter.
Expand Disk drives and check out the model name of your SSD.
Double-click on it to open its Properties and go to the Details type.
Set the Property to Hardware Ids. If your SSD is an NVMe drive, you will find NVMe on the Ids. Otherwise, it’s a SATA drive.

marble vapor
#

so I wouldn't say it's just roblox for teenagers

woeful salmon
#

outside of battle royale it prettymuch is xD