#voice-chat-text-1

1 messages · Page 51 of 1

dense horizon
#

Yes.

#

rather here to absorb information

#

ahhh

#

I agree. those numbers get quiet intimidating to me though lol

#

black in this case?

#

ahh

#

if the square is not modified then what is the value that it takes? @stuck bluff

#

(0, 0, 0)?

#

well like the ones without a color

delicate wren
#

woohoo someone called my CSS code "great" but, quote, "in general"

dense horizon
#

ah yes. i mean like what is the rrgb pattern of a "uncolored" block

#

is it just unset

#

or is it 0,0,0

#

ah ok

#

graph theory seems fun ill probably pick this up

#

would these arrays be numpy ?

#

ah okay i only see numpy being referenced in some data science implementations but i never quiet grasped when there is a necessity

#

@stuck bluff would we be running these at time same time?'

#

i imagine a random select script could interfere with this adjacent behavior

#

ah okay

#

i love their multi dimensional array

#

i havent found a use case yet because i havent delved into that matter but it looks sweet

#

sweet

#

i was going to do that game of life thing as a beginner-ish project

#

😂

#

the one concept i had a weird time grasping was virtual servers vs physical

#

i kept asking my self how some mad lad designed a virtual server and made it preferrable

#

obviously not in every case but just the whole idea of "virtualizing"

#

i was making some roblox games but i was getting sick of the redundant nature

#

ah okay. i'll try to make it and come back to you and see what i can do

#

@stuck bluff

#

what libraries would you advise @delicate wren

delicate wren
#

I don't remember if I've installed anything other than numpy, PIL and cv2 (or whatever it's called) for that, need to check

delicate wren
#

(imports section)

import abc
import collections
import contextlib
import heapq
import multiprocessing
import pathlib
import pickle
import random
import shutil
import subprocess
import time
from typing import Iterable, MutableSequence, Self

import cv2
import numpy as np
from PIL import Image
dense horizon
#

ah alright

#

to be quiet honest i havent seen a lot of those libs

dense horizon
#

@stuck bluff is manipulating images your favorite thing?

#

or rather primary skill

#

ahh alright i havent quiet laid my eyes upon a specific area

#

i really like math so i guess ill focus on visualizing that sort of thing

#

i had a rough time making that connection throughout my early years. I started to really understand things as of lately and its starting to blow my mind

#

I used to have this undermining thought that if I could not look at any sort of equation and get it quickly, i deemed it too challenging to learn

#

what i find fascinating is probably a lot less complex than you lol

#

it took me like 2 years in high school to really get the hang of algebra and everything clicked after that

#

I get this sense of guilt and ego shattering thoughts that I may not be good enough because of that early adversity

#

it might just be imposter syndrome

#

true.. I guess i never flipped it to be that optimisitc

#

or attempted to

#

😂

#

laters

delicate wren
#

hi

#

the server is fixed I think

#

rotterdam

#

I've just realised VSC defaults to thinking all SQL is MS SQL

#

... so now trying to find an extension for Postgres dialect

#

... and there's also a duplicate
(first and third are the same)

#

I think the maintainer changed

mild flume
#

I'm here but mute

#

Co-worker is back here

#

As is the way of tax season

#

Correct

#

@misty sinew Yo

delicate wren
#

why does installing a PostgreSQL extension add a NoSQL panel pithink

mild flume
#

How intensive is it to migrate from one database engine to another? Say SQL Server to postgres?

delicate wren
#

ah, there's a base extension

mild flume
#

@sick frost Yo

delicate wren
#

(I guess that but, after checking, yes, seems to be the case)

mild flume
#

Fair

#

Will do

#

Yeah I was wondering about the cost savings part. I'm sure postgres is looking more and more appealing now

#

@magic void Yo

magic void
delicate wren
#

whoa
big menu
scary

mild flume
#

Weird. I didn't make an infraction for it

delicate wren
#

oh, there is no per-workspace setting

#

okay, uninstalling

mild flume
delicate wren
#

@sick frost same for Wolfram

#

and a lot of stuff

#

I think RHEL too

#

and whatever IBM OS is

mild flume
#

By core, do you mean like the number of cores on a processor?

delicate wren
#

threadpool size limit

#

kind of

#

@sick frost decades

#

to sort out most bugs

#

it's only realistic to build your own good DB quickly if you limit the scope massively

#

i.e. when you can easily say "No." to most feature requests

#

JSON is a format

#

JSON file can be used as a very, very bad DB

#

@sick frost we're talking about RDBMSes specifically, if that's the question

#

relational databases

sick frost
#

Never had a reason to, just use json

delicate wren
magic void
sick frost
delicate wren
#

I still haven't tried IndexedDB

#

(in-browser)

magic void
delicate wren
#

and MongoDB I just don't want

#

I understand the simplicity premise

#

but even that is subjective

#

SQL offers flexibility of queries at the cost of flexibility of how data is stored

mild flume
delicate wren
#

KV store, for example, has both less flexible

#

@mild flume not your connection

mild flume
#

@summer stag Oh sorry, forgot to say "yo" to you as well

#

I try to be good about it

delicate wren
#

there was some extension of CAP theorem for DBs, can't remember the name, time to look up

summer stag
#

We good

#

Listening to you guys

delicate wren
#

PACELC theorem

#

both Cs stand for consistency

summer stag
#

I Cee

mild flume
#

Lots of folks treat VC like a podcast

#

I love it

summer stag
#

Yup

#

live podcast

delicate wren
# delicate wren both Cs stand for consistency

It states that in case of network partitioning (P) in a distributed computer system, one has to choose between availability (A) and consistency (C) (as per the CAP theorem), but else (E), even when the system is running normally in the absence of partitions, one has to choose between latency (L) and loss of consistency (C).

summer stag
#

i C

delicate wren
mild flume
#

HA

#

PNUTS

#

I love it

#

@coarse bloom @dawn rock Yo to you both

#

@full lichen And another yo

coarse bloom
#

What

full lichen
#

Was up?

dawn rock
#

was up sir

summer stag
#

it just got crowded in here

full lichen
#

nothing

mild flume
#

Not much, 'bout you folks

dawn rock
#

bye sir i want learn again

summer stag
#

Use GIMP

mild flume
#

What kind of stuff are you wanting to learn?

delicate wren
#

PIL it

mild flume
delicate wren
#

depending of if a partition occurs

mild flume
#

Gooootcha

tawny lily
tawny lily
delicate wren
#

I don't think it's correct to call most public models open-source

#

it's like calling a binary checked into Git LFS "open source"

#

it's just "free for download"

summer stag
#

Made in China. Product in questions

mild flume
#

Well played

delicate wren
#

it doesn't connect if you don't explicitly allow it too;
model runners are actual open source

#

model is just data

#

at least it should be

summer stag
#

China are going to do that. The Delta Force game is made by chinese and its a spyware

delicate wren
mild flume
#

I forgot that Delta Force existed

delicate wren
#

(note: it's not actually all, they're moving to safetensors now)

summer stag
#

I dont hate china i hate their crappy prodcuts

mild flume
#

All the AI stuff just goes over my head

summer stag
#

Yes. True tture

#

true*

delicate wren
#

"just pickle it" -- phrase that prompts introducing the term "jupyterbro"

summer stag
#

let me rephrase my previous statement. I hate some stuff.

#

@sick frost excatly

delicate wren
#

@mild flume I've finally found the right way to format SQL

mild flume
delicate wren
#

@sick frost except Fanta?

mild flume
#

Actually that's kind of like the Elm style of formatting...

delicate wren
#

yes

mild flume
#

Hmm

tawny lily
#
total_todays_revenue_cache_for_dashboard = TTLCache(maxsize=1, ttl=30)
#

MY VARIABLE NAMING ET_pika_laugh

delicate wren
#

todays

#

we should allow ' in identifiers

#

actually

#

hmm

mild flume
thin lintel
mild flume
#
@pytest.mark.asyncio
@patch("niquests.AsyncSession.request", new_callable=AsyncMock)
async def test_get_status_successful_with_token(niquests_mock: AsyncMock):
    mock_data = factories.ServerStatusResponseFactory.build()
    mock_response = AsyncMock()
    mock_response.ok = True
    mock_response.json.return_value = mock_data.model_dump()

    niquests_mock.return_value = mock_response

    api = SpaceTraders(token="test_token")
    response = await api.get_status()
    assert response.status == mock_data.status
#

And that's relatively short for a test name

tawny lily
#

not tast name

#

live

mild flume
#

Whyyyyyyyyyyyyyyyyyyyy

#

I mean...

summer stag
#

noticed this in delta force comments

mild flume
#

I guess I can't see a reasonable way to shorten it

tawny lily
#

i know

mild flume
summer stag
delicate wren
tawny lily
#

i am just showing my hallerous naming

summer stag
#

i like to have data privacy

tawny lily
mild flume
#

@misty sinew @vast cliff Hello to you both

tawny lily
#

And have lot of variable

summer stag
#

Hello @misty sinew @vast cliff

tawny lily
#

just to not get conflicted

misty sinew
#

hello guys

tawny lily
#

i get conflicted a lot

tawny lily
delicate wren
#

!e

today_̛s_revenue = 0
print(today_̛s_revenue)
coarse hearthBOT
jagged hawk
#

Whatsup hem

#

Hi af

mild flume
#

Hey Ryan. Not much, you?

mild flume
jagged hawk
#

Wtf did this guy just say

jagged hawk
#

I'm really tryna think about which is better

#

Going through actual documentation and learning a language

#

Or just making projects

mild flume
#

Better between Java and Kotlin you mean?

#

Oh I see

delicate wren
#

@sick frost citizens being alive doesn't mean the leader is not a bad person

#

but, yeah, can't remember anything specific

jagged hawk
#

After 5 years of coding I really can't bring myself to read the rust docs

#

But I feel like I'm kinda missing out on good coding style for rust

mild flume
#

Eh, the Rust Book is pretty digestable

jagged hawk
jagged hawk
#

Im really getting into memory

#

So I'm reading a lot of books about it

#

But man not coding

delicate wren
#

effective not efficient

mild flume
#

Fair. I will say it is a bit tougher to get interested into languages when you don't have a specific use case

jagged hawk
#

No way

delicate wren
#

more about patterns

jagged hawk
delicate wren
#

I don't to get anywhere near JVM/CLR in the next few years

#

still taking a break

jagged hawk
#

Literally how I learned c

tawny lily
#

Best way

jagged hawk
#

Although it really caught to me when I got into embedded a few years ago

tawny lily
#

project based

jagged hawk
#

I got a reality check of my code wasn't good code by any standard

#

But something about OK I know what a vector is

#

But where do you use a vector

#

That's what really made me hate books

mild flume
#

!e

print(1 == 1.0)
coarse hearthBOT
jagged hawk
#

Wassup rabbit

#

Long time I've not seen ya

sick frost
#

!e print(1 === 1.0)

coarse hearthBOT
# sick frost !e print(1 === 1.0)

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

001 |   File "/home/main.py", line 1
002 |     print(1 === 1.0)
003 |               ^
004 | SyntaxError: invalid syntax
spice comet
#

yall be yapppin too muchhh

delicate wren
#

!e

print(3 ** 77 == 3.0 ** 77)
coarse hearthBOT
mild flume
#

!e

print(int("1") == float("1.0"))
coarse hearthBOT
delicate wren
#

!e

print(3 ** 77 == 3.0 ** 77)
print(float(3 ** 77) == 3.0 ** 77)
print(3 ** 77 == int(3.0 ** 77))
coarse hearthBOT
delicate wren
#

uh

mild flume
#

dafuq?

elder wraith
#

Wat

jagged hawk
#

The last one doesn't make sense

#

But the rest do

delicate wren
#

!e

p = 66
print(3 ** p == 3.0 ** p)
print(float(3 ** p) == 3.0 ** p)
print(3 ** p == int(3.0 ** p))
coarse hearthBOT
tawny lily
#

!e

print(3 ** 77 == 3.0 ** 77)
print(float(3 ** 77) == 3.0 ** 77)
print(3 ** 77 == int(3.0) ** 77)
coarse hearthBOT
delicate wren
#

oh, wait, right, it can't int eq

delicate wren
sick frost
#

!e

val = 1
val2 = 3

if val > 2 > val2:
print("True")

jagged hawk
#

Why would anyone ever cast an int to a float?

delicate wren
#

I think in Python it's like

float(a) == float(b)
or
int(a) == int(b)

when {type(a),type(b)}=={int,float}

jagged hawk
#

If you'd ever get to that you most likely have something wrong as well somewhere else

undone hearth
#

Miss talking with you guys

mild flume
undone hearth
#

With study yes

summer stag
#

Get NordVPN for 4.99

delicate wren
#

doesn't work

#

uh

jagged hawk
#

Python always gotta have some bs

mild flume
#

All languages have BS

jagged hawk
#

C# was just bae

tawny lily
jagged hawk
#

You still doing c# hem?

delicate wren
elder wraith
mild flume
summer stag
mild flume
jagged hawk
#

You can dynamically cast types though?

#

Or maybe I just got the definition wrong

delicate wren
#

generics in Java used to be just dynamic typing I think

#

a long long time ago

jagged hawk
#

Ahhh

delicate wren
#

so now Java has broken variance

undone hearth
mild flume
#

Oh sick

elder wraith
#

Java is static typing with implicit typing.

jagged hawk
#

Yeah yeah got my definitions wrong there mb

elder wraith
#

Explicit typing and implicit typing is different from dynamic and static typing.

delicate wren
#

@sick frost that's Fortran typing

mild flume
#

Wait really?

jagged hawk
#

Who does that in c#?

delicate wren
#

in C, you should prefix fields not variables

elder wraith
jagged hawk
sick frost
#

aVariable

array of Variables

a_Variable

Array called this variable

mild flume
delicate wren
proper ridge
delicate wren
proper ridge
#

It would become incredibly confusing real fast.

mild flume
#

You already can do custom types

elder wraith
mild flume
#

Or am I misunderstanding what you mean

elder wraith
#

Classes help with a ton

jagged hawk
proper ridge
#

Like s_name.

#

Then if you have custom types, then it becomes confusing.

delicate wren
#

!e

def f(): ...
print(dir(f.__code__))
coarse hearthBOT
# delicate wren !e ```py def f(): ... print(dir(f.__code__)) ```

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

['__class__', '__delattr__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__getstate__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '_co_code_adaptive', '_varname_from_oparg', 'co_argcount', 'co_cellvars', 'co_code', 'co_consts', 'co_exceptiontable', 'co_filename', 'co_firstlineno', 'co_flags', 'co_freevars', 'co_kwonlyargcount', 'co_lines', 'co_linetable', 'co_lnotab', 'co_name', 'co_names', 'co_nlocals', 'co_positions', 'co_posonlyargcount', 'co_qualname', 'co_stacksize', 'co_varnames', 'replace']
mild flume
#

And that's why we have type hints

delicate wren
#

co_ here comes from the C convention

#

short for code

proper ridge
dense horizon
jagged hawk
#

I don't get what this guy is saying

jagged hawk
#

C# is a camel case lanaguge how did you get away with xx_xx

mild flume
#

AF's saying C

proper ridge
delicate wren
dense horizon
delicate wren
#

also to grep the code

dense horizon
#

dynamic languages usually use type def so its just simpler

mild flume
delicate wren
mild flume
proper ridge
dense horizon
mild flume
#

The only time I really specify the type in the name is when I'm doing any type casting

proper ridge
#

It makes no sense to me to put the type in the variable name, especially when you have custom types.

dense horizon
delicate wren
dense horizon
jagged hawk
#

Doesn't JavaScript so that?

proper ridge
#

If I make a custom class, and instantiate it, then I'd have to come up with a prefix, and ensure no other type uses the same prefix, and it's just a mess.

jagged hawk
#

(_=>{})

#

Istg one language does this

dense horizon
#

i cannot tell you which does lol

delicate wren
#

in python _ is suboptimal for argument names

jagged hawk
#

Oh golang

delicate wren
#

because you can't do _,_,_

proper ridge
#

For when you don't need sth.

delicate wren
#

_arg

mild flume
proper ridge
#
for _ in range(10):
    ... 
mild flume
#

Also yes

dense horizon
#

to use that

jagged hawk
#

Ueah

delicate wren
mild flume
dense horizon
sick frost
#

for _, key in pairs(value)

jagged hawk
mild flume
#

That's my bad, I should have clarified

delicate wren
#

_ is correct for assignment and patterns in general

sick frost
delicate wren
#

not arguments

dense horizon
delicate wren
#

@tawny lily in some contexts it's a keyword

jagged hawk
sick frost
#

!e

def printfalse():
print(
)

printfalse("hello")

delicate wren
#

!e

def f(_, _): ...
dense horizon
#

how long u been using py for @jagged hawk

coarse hearthBOT
coarse hearthBOT
# delicate wren !e ```py def f(_, _): ... ```

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

001 |   File "/home/main.py", line 1
002 |     def f(_, _): ...
003 |              ^
004 | SyntaxError: duplicate argument '_' in function definition
jagged hawk
#

Then what about goland?

delicate wren
#

I'm only referencing Python specifically

jagged hawk
delicate wren
#

in Rust, _ is a keyword

dense horizon
jagged hawk
#

Js skips it lmfao

#

()=>{}

dense horizon
tawny lily
#

helloWorld

delicate wren
dense horizon
#

alisa has this cool friend who was helping me

jagged hawk
#

Ig you could do that in every lang aswell

dense horizon
jagged hawk
#

Oh BTW AF you gave up on the algo for that one game?

#

Ugh I forgot the name

delicate wren
#

minesweeper?

jagged hawk
#

Ye

dense horizon
#

i love the swap assignment in python

dense horizon
delicate wren
#

I've never worked on a solution algorithm

dense horizon
#

can you predict winning in minesweeper?

mild flume
jagged hawk
#

I thought that was your aim

delicate wren
#

I'm only making an engine for running the server code

dense horizon
delicate wren
#

for pvp minesweeper

jagged hawk
#

Damn I forgot

delicate wren
#

no bots yet

mild flume
tawny lily
dense horizon
delicate wren
#

@proper ridge it's a GPU not the motherboard seems like

#

likely dead before the author got the idea

misty sinew
#

He got whole bakery

tawny lily
misty sinew
tawny lily
mild flume
jagged hawk
delicate wren
misty sinew
#

he took all the paste from LA

jagged hawk
#

Not like its conductive

misty sinew
#

I was wondering how come the rapper stop raping !

mild flume
misty sinew
#

70 is normal temp for Laptop CPU?

jagged hawk
#

Not normal

#

But not crazy

mild flume
#

Not abnormal

#

Might just need a dusting

jagged hawk
#

70 isn't warm for most PC components

#

Lol

misty sinew
#

70 is base temp for my PC

#

I mean laptop

#

my bad

mild flume
#

Wait 70 is your idling?

misty sinew
#

yes

mild flume
#

Uhhhhh

jagged hawk
#

That's concerning

mild flume
#

Yeah I'd dust that sucker

jagged hawk
#

60 it would be aight

#

70 is wildin

misty sinew
#

what should be idle temp?

misty sinew
jagged hawk
#

Recently switched to light mode

#

Gosh darn it I love it

#

I just can't get with liking light mode

misty sinew
#

I use light mode

jagged hawk
#

So I go with nord lmfao

misty sinew
#

I don't know why you all use dark mode

mild flume
#

I need a nap

#

Already

jagged hawk
mild flume
#

What model laptop?

delicate wren
#

Forgejo's integrated Swagger is dark themed
I wonder how easy it is to get themed elsewhere

misty sinew
jagged hawk
#

What??

#

There's no way on earth what your saying is right

delicate wren
jagged hawk
#

What's that one standard vscode theme

#

Solarized smth

mild flume
#

God damn it I had purged that from my mind

jagged hawk
#

That's a studied theme and its blue

#

...m

misty sinew
#

I use filter glass, maybe that could be reason for my preference of Light mode over dark mode

delicate wren
#

I'm not sure why Red is available by default

jagged hawk
delicate wren
#

the font is Zapfino

mild flume
delicate wren
#

it breaks terminal I think

#

(the font)

misty sinew
mild flume
misty sinew
#

When I use glasses

jagged hawk
misty sinew
#

Night mode is much more yellow

mild flume
#

I stand by Monokai

misty sinew
#

Damn I liike the theme

#

Your choice is good man!

#

I use defualt dark theme in Vscode

jagged hawk
#

Vscodes monkai is straight up trash

misty sinew
#

but I like intellij theme over vscode

delicate wren
#

Abyss has dimmer colours, so I use that

misty sinew
#

there's something about the intellj theme that make it stand out

jagged hawk
#

Theme*

mild flume
delicate wren
#

might be, not sure

#

there is almost no red in the theme

#

and adjacent colours

thin lintel
#

Hemmy!

misty sinew
#

Your like red?

delicate wren
#

no

misty sinew
#

Maybe that could be reason why you choose red theme

delicate wren
#

not in the editor, no

#

that's why Abyss

misty sinew
#

So why do you use that?

delicate wren
#

no red or orange for non-errors

misty sinew
#

Hmm

delicate wren
#

and I don't understand why it exists in the first place

jagged hawk
mild flume
delicate wren
#

the closest it has to red are pink and yellow

jagged hawk
#

Damn the contrast on that

misty sinew
#

@fluid canopy Why don't you apply in deliotte ?

jagged hawk
#

Its either great or really hard to see

misty sinew
#

somehow I got invitation

mild flume
jagged hawk
#

Thanks

mild flume
#

Specifically the Argon variant

misty sinew
#

Becuase they hire fresher

#

yes

delicate wren
# delicate wren

and now trying to decide whether to switch to trailing whitespace onl

#

y

tawny lily
#

"Consolas" Is more Standard

delicate wren
#

instead of boundary (single space between two non-spaces is without a dot)

mild flume
#

Wait, it may not be this specific one...

jagged hawk
misty sinew
#

I don't know about that

mild flume
#

Trying to track it down

delicate wren
tawny lily
#

Yes

jagged hawk
tawny lily
#

and ubuntu

#

IDK about ubuntu

mild flume
#

Back in a tic

tawny lily
#

i personally use it on ubuntu

misty sinew
#

That's good!

#

@fluid canopy You should try your best, start with what youu got!
Start freelancing, anything that can add value to your portfolio

jagged hawk
#

yoo

wide cloak
#

hello

jagged hawk
#

Magical girl

#

Whatsuppp

wide cloak
#

nm

#

so...

#

how do i get voice suppression removed

#

is it 50 in any chan?

delicate wren
#

non-bot channels

tawny lily
#

and go to #bot-commands

#

to check !user

wide cloak
#

people think i'm crazy, i started to respond back to what i say

delicate wren
jagged hawk
#

Sounds abit like going crazy doesn't it?

wide cloak
#

yeah but then there's a voice that says i'm not crazy

delicate wren
#

crazy
"they locked me in a #bot-commands,
a #bot-commands full of !es,
and !es make me crazy"

jagged hawk
#

That's called coping

#

Lmfao

tawny lily
granite canyon
#

@thin lintel, that is called selective hearing. People want to hear what they want.

wide cloak
#

if you are lazy, then you find simpler ways of solving problems?

granite canyon
#

Because whatever we fail to heed to someone else is going to cover that. Kind of blind spots.

summer stag
#

I am leaving for the moment. Will return later.

granite canyon
#

It reminds me of this test

#

To the eyes, but the same happens to the rest of the sensorial receptors.

#

sight blind spot + -

delicate wren
wide cloak
#

i was thrown into a pool, now i can swim

#

just saying

mortal stone
#

praiseChina = True
hateUSA = True

WWIII = "World War 3"

if praiseChina:
print("100+ social score earned")
elif hateUSA:
print("200+ social score earned")
else:
print(WWIII) praiseChina = True
hateUSA = True

WWIII = "World War 3"

if praiseChina:
print("100+ social score earned")
elif hateUSA:
print("200+ social score earned")
else:
print(WWIII)

wide cloak
#

you can't just baby everyone's tendencies

delicate wren
wide cloak
#

and try to justify it

granite canyon
#

Three of my favorite movies for the Hearing and Perceiving:

12 Angry men 1957: This movie shows how people fail to heed to details.
PI 1998: (Good for the the visuals)
Requiem for a Dream: 2000 (heavy, not good for sensitive public)

wide cloak
#

is there a reboot of 12

#

angry men?

granite canyon
#

The one of 1957.

delicate wren
#

(what we're discussing is not "tendencies" and no one is "justifying" it, but I guess that's already obvious)

granite canyon
delicate wren
#

@true valley
it took me way too long to realise the connection between my pfp and your server nickname lol

granite canyon
mortal stone
# mortal stone praiseChina = True hateUSA = True WWIII = "World War 3" if praiseChina: ...

March of the Volunteers ( traditional Chinese: 義勇軍進行曲; pinyin: Yìyǒngjūn Jìnxíngqǔ) is the national anthem of the People's Republic of China (including the Hong Kong Special Administrative Region since July 1, 1997 and the Macau Special Administrative Region since December 20, 1999), written by the noted poet and playwright Tian Han with music ...

▶ Play video
mild flume
#

!stream 1196203759471165576

coarse hearthBOT
#

✅ @fluid canopy can now stream until <t:1738168775:f>.

wide cloak
#

do you think it's more nurture as opposed to nature?

delicate wren
#

@raven orbit minor version change usually

wide cloak
#

new python?

mild flume
delicate wren
#

version requirement increase is the grey-ish area of semver;
most projects consider it to be a minor update

mild flume
#

Also shows an example of hot it'd look in-situ

delicate wren
#

in Rust, normally,
MSRV bump is minor bump (because normally that's to get a feature anyway),
dependency bump is patch bump (because Rust allows having separate versions of libraries)

thin lintel
#

sorry Fury, my friend is helping me with my internet issues

#

and he just called without warning

true valley
#

no worries.

#

This is discord.

delicate wren
#

@raven orbit strictly speaking all changes are breaking if you misuse the library enough

#

grrr

#

no, that's not enough for a major bump

delicate wren
#

@raven orbit increasing major transitive dependency version is minor version bump when it doesn't appear in the API by the same logic

#

unless it's Rust when it can be patch at times

true valley
proper ridge
#

Fun puzzle if any of you is interested. You are to make a 3 controlled NOT gate using only 2 controlled NOT and 1 controlled NOT. Priority is minimum number of gates.

jagged hawk
#

Hi plome

#

This call is missing 8080 lmfao

mild flume
#

Haven't heard from him for a while

#

I should check in

jagged hawk
#

Yeah I used to read his blog

#

Yeah

#

He also had a YouTube channel

jagged hawk
#

He had somesort of injury I can't recall

#

Maybe cancer?

#

Legendary guy

#

How does this lad talk soo much

mild flume
#

With his mouth I would assume

jagged hawk
#

He sure has a talented mouth

jagged hawk
#

Sounds alot like chatgpt

#

Yall heard about how the guy used chatgpt to do a ddos?

delicate wren
#

to do or write something to do?

mild flume
#

I saw the headline but I didn't read into the article

#

@thin lintel What was the issue?

#

2.4 GHz and 5.2 GHz

jagged hawk
#

Its too late my brain really isn't working

mild flume
#

@sick frost I mean it does mean something, you legit just said it was a standard

delicate wren
#

so it just search-queried a single thing too much?

mild flume
#

Therefore it is a thing

true valley
#
4G

4G is the fourth generation of cellular network technology, succeeding 3G and designed to support all-IP communications and broadband services, enabling a variety of data-intensive applications. A 4G system must meet the performance requirements defined by the International Telecommunication Union (ITU) in IMT Advanced. 4G supports a range of ap...

#

read this

jagged hawk
#

Damn

#

No need to be soo hostile

jagged hawk
mild flume
#

@raven orbit There's different band types, yeah

jagged hawk
#

Reddit you really should chill out

#

When your rapping its really hard to understand what your saying

delicate wren
mild flume
#

It's the opposite, @sick frost

mild flume
#

2.4 has more range

#

Plome is correct.

jagged hawk
#

Do you understand 10th grade science? Higher freq = lower range

delicate wren
#

isn't 5GHz allowed range also wider?

mild flume
#

@raven orbit You're bang on

#

Your mom

#

For IT?

jagged hawk
#

Hem still bangin with the mom jokes

mild flume
#

Yeah, this covers this

delicate wren
#

I remember some explanation that 2.4GHz has more, like, channel conflicts

mild flume
jagged hawk
#

Your microwave is on 2.4ghz as well I think

#

They switch bands either way

#

Its very unlikely for that to ever happen

wide cloak
#

why'd people leave?

jagged hawk
#

I believe the us military has a system that switches a million times a second

wide cloak
#

man how many chats do i have to do?

jagged hawk
#

Bluetooth switches a lot aswell not how much though

wide cloak
#

what are activity blocks?

#

so you're saying 4g is not a different freq?

jagged hawk
wide cloak
#

ah

mild flume
#

I typically just think of it as a half hour conversation

wide cloak
#

lame :*(

jagged hawk
#

Rabbit would know

#

Why not?

mild flume
# wide cloak lame :*(

I promise it's for a good reason. We had what I call hit and run trolls; folks who would join the server, join voice chat, scream at the top of their lungs and then leave.

wide cloak
#

so 3.33 hours before i can use voice

mild flume
#

This was happening a dozen or so times a day

wide cloak
#

yeah true

#

been in those beforfe

jagged hawk
#

Like vrazy

mild flume
#

@raven orbit That just means you haven't been caught

wide cloak
#

i'm here for the porn

mild flume
wide cloak
#

pyorn-thon

#

see what i did there?

mild flume
#

Well played

jagged hawk
#

I don't think weed makes u cut ur toes off

#

Not even fent

mild flume
#

Boredom

jagged hawk
#

Its always the weird drugs that make you really delusional

mild flume
#

Pedicure gone horribly wrong

jagged hawk
#

Plome ur Dutch?

#

Damn you do not have an accent

thin lintel
#

he is

mild flume
#

Saves you having to paint your toenails

#

Or at least makes them easier to reach

raven orbit
mild flume
#

Change your socks periodically through the day

#

@raven orbit Where there's a will there's a way. And also consider that they're doing it every day

raven orbit
#

sure, I'm just trying to figure out how you can hold a spatula with a foot

wide cloak
#

i have a headache

terse sierra
#

mobius strip @raven orbit

#

people vote with their feet

sick frost
terse sierra
#

if i take some acid , maybe read text above

raven orbit
terse sierra
#

NOT cake icing , what happened there ???

raven orbit
terse sierra
#

a case of goop and free time

raven orbit
plain relic
terse sierra
#

just use the guts in a bug zapper it has enough -- ouchie power

#

TV flyback transformer can do 15KV or better

raven orbit
#

same for lego blocks

delicate wren
#

@raven orbit @sick frost pithink

raven orbit
# delicate wren <@473859714162360320> <@765580444615573546> <:pithink:652247559909277706>

For preventing Tay–Sachs disease, three main approaches have been used to prevent or reduce the incidence of Tay–Sachs disease in those who are at high risk:

Prenatal diagnosis. If both parents are identified as carriers, prenatal genetic testing can determine whether the fetus has inherited a defective copy of the gene from both parents. Coupl...

#

Dor Yeshorim (Hebrew: דור ישרים) also called Committee for Prevention of Jewish Genetic Diseases, is a nonprofit organization that offers genetic screening to members of the Jewish community worldwide. Its objective is to minimize, and eventually eliminate, the incidence of genetic disorders common to Jewish people, such as Tay–Sachs disease. Do...

magic wing
#

wassup

#

i need help please

sick frost
#

1 mile per imperial gallon (mpg UK) is equal to 282.481053 liters per 100 km.

delicate wren
#

someone mentioned vaccines
vaccines seem to have been invented in England

quaint cape
serene quail
#

Phoenix os

terse sierra
#

use a mighty drone to dispence with trash @thin lintel

#

or open a window ...

earnest wing
#

helllo

#

thats crazy wow

#

sidjsidsjadiasjd

dense horizon
#

@delicate wren when working with that color pattern sort of thing do we use cv2 to draw grids

delicate wren
#

for images I used PIL

dense horizon
#

what about that color pattern thing you showed me

delicate wren
#

for colour changes I'm just using numpy

#

with 5 dimensions for an image, 10 for a video

misty sinew
#

Hi i am making a Chatbot. For backend i use python and integrate GEMINI GOOGLE API in it. While for front end i use html, css and java script code.
Now i want to deploy it for free to test is it working fine? So can somebody help me in deployment process?

delicate wren
#

but might take quite a bit of rewriting

#

what are you using for the web server?

#

FastAPI?

misty sinew
misty sinew
#

Using as a environment variable

delicate wren
#

no, I mean how you run your python code

#

and how does your website connect to it

#

Django? Flask? Quart?
that thing

misty sinew
#

Flask

#

Maybe you can understand

delicate wren
#

if you're using Flask correctly, it should somewhat easy to rewrite to Lambda-style deployment

misty sinew
delicate wren
#

I'm only suggesting serverless deployment because you want to test it out for free-ish first

#

those tend to be cheaper than VPSes

misty sinew
#

Yes can you do it i can't understand about deployment procrss

#

Can you do it? I will share the code files with you?

delicate wren
#

do you want the app to be publicly accessible?

#

do you want it on a specific domain, or just wherever?

misty sinew
#

Yes it is better.But first i want to test it. Is it working correctly if yes then I'll buy domain and connect it

dense horizon
#

havent heard of such a style

dense horizon
dense horizon
delicate wren
#

i.e. there is no single server continuously running serving your code

delicate wren
dense horizon
#

why a 5d array though

dense horizon
delicate wren
#

5d sphere, when mapped down to 3d space, fills in the insides of a 3d sphere uniformly

dense horizon
#

where you can attach anonymous functions to callbacks

dense horizon
delicate wren
#

probably just geometry

dense horizon
#

when i get home ill dive deep into it

delicate wren
#

I'm thinking about reimplementing the random walks logic using a quad tree

#

to make it representable as an immutable data structure

#

R-Trees are for floating point coordinates

#

not fixed filled-in grids

#

latter being almost a perfect usecase for a quad tree

#

especially when it's a square

delicate wren
#

@stuck bluff I don't think there's a generic way to do that

#

hmm

#

updating neighbours is non-trivial

dense horizon
#

@umbral rose i'd say the windows linux debate is trivial it just has a more developer feel perhaps

#

i love the leisure of windows though

#

@marsh lodge what was this approach?

#

the card approach you mentioned

#

when you say a card sprite class

#

what does "populate" mean in this context i havent heard that word before

misty sinew
#

hi

dense horizon
#

ah okay

#

if in list: add logic

tender wagon
#

sup

stuck bluff
#

7.6 times larger.

stuck bluff
#

@willow reef👋

willow reef
#

hi

#

@stuck bluff What's up!

stuck bluff
#

I am as Nero.

willow reef
#

ya nice

dense horizon
#

@umbral rose Hey, how long have you been using python for

brisk lark
#

mechmoji mark2

stuck bluff
# brisk lark mechmoji mark2

My purpose is to reduce unhappiness. My scans detect that you are unhappy. Please remain stationary while your unhappiness is terminated.

marsh lodge
woeful canopy
#

yo

stuck bluff
#

@coarse hill 👋

woeful canopy
#

i cant really scream

#

i dont want to speak

#

im scared

delicate wren
#

opal knows that the one who can scream obviously won't

woeful canopy
#

alright i gotta go

#

i dropped in because there are a lot of people

#

its almost 12 here

delicate wren
#

I changed something in the internal logic but it doesn't seem to influence anything

#

each pixel has a 50% chance not to be marked as overwriteable

woeful canopy
#

bye

delicate wren
#

also I think I should drop the resolution to 1024x1024

#

I like these pastel colours more

#

idk if I can do that through maths instead of postprocessing

delicate wren
#

I'm not sure how to geometry that correctly within the colour space

#

so that it's still more or less uniform

#

currently it's random colour within r**2 + g**2 + b**2 <= 255**2

brisk lark
brisk lark
delicate wren
#

@tawny lily I'm managing infrastructure across 3~6 hardware servers (count differences depending on how much recent/direct is the minimal requirement for whether one is included)

#

no cloud yet

#

but, yes, a bit of sysadmining

tawny lily
#
app = FastAPI(
    title=ApiInfo.NAME,
    version=ApiInfo.VERSION,
    description=ApiInfo.DESCRIPTION,
    docs_url=None,
    redoc_url=None
)


async def initialize_routes():
    # Add all routers here from ./routes folder
    for file in os.listdir("./routes"):
        if file.endswith(".py"):
            module = file[:-3]
            if module != "__init__": 
                module_router = __import__(f"routes.{module}", fromlist=["router"])
                app.include_router(module_router.router)
                await logger.info(f"Router {module} included ✅")```
#

@delicate wren

#

Any idea to improve

delicate wren
#

!d pathlib

coarse hearthBOT
#

Added in version 3.4.

Source code: Lib/pathlib/

This module offers classes representing filesystem paths with semantics appropriate for different operating systems. Path classes are divided between pure paths, which provide purely computational operations without I/O, and concrete paths, which inherit from pure paths but also provide I/O operations.

Inheritance diagram showing the classes available in pathlib. The most basic class is PurePath, which has three direct subclasses: PurePosixPath, PureWindowsPath, and Path. Further to these four classes, there are two classes that use multiple inheritance: PosixPath subclasses PurePosixPath and Path, and WindowsPath subclasses PureWindowsPath and Path....

delicate wren
#

I'm getting trolled by !d

#

ah, it's purepath

#

!d pathlib.PurePath.stem

coarse hearthBOT
#

The final path component, without its suffix:

>>> PurePosixPath('my/library.tar.gz').stem
'library.tar'
>>> PurePosixPath('my/library.tar').stem
'library'
>>> PurePosixPath('my/library').stem
'library'
delicate wren
#

in any case, that is a bit too much digging into files, imo

#

I would very much prefer importing directly, but that's more of a taste choice

#

!stream 99041425483653120

coarse hearthBOT
#

✅ @marsh lodge can now stream until <t:1738468837:f>.

delicate wren
#

or, to be more specific, any importing inside async def sounds wrong

#

what are you using for logging?

#

if it's background, it shouldn't need await generally

#

just put it onto a queue

#

and let the background task process it

tawny lily
delicate wren
#

if you're willing to ever rewrite that in a couple of years, the other option would be ZeroMQ + PUB socket (instead of WebSocket)

#

also

#

the task can get GC'd

#

and, yes, the async def log is unnecessarily async even right now

#

the only thing you get there is that it cannot be accidentally called from non-async context

tawny lily
#
    def log(self, message, level="INFO"):
        """Asynchronously log messages to the file and send them to WebSocket."""
        timestamp = datetime.datetime.now(dhaka_tz).strftime('%Y-%m-%d %H:%M:%S')
        log_entry = f"[{timestamp}] [{level}] {message}\n"
        if level == "INFO":
            log_color = Fore.LIGHTCYAN_EX
        elif level == "WARNING":
            log_color = Fore.YELLOW
        elif level == "ERROR":
            log_color = Fore.RED
        elif level == "CRITICAL":
            log_color = Fore.MAGENTA
        elif level == "DANGER":
            log_color = Fore.RED
        elif level == "SUCCESS":
            log_color = Fore.GREEN
        elif level == "DEBUG":
            log_color = Fore.GREEN
        else:
            log_color = Fore.WHITE

        print(f"{log_color}{log_entry}{Style.RESET_ALL}", end="")

        self.file.write(log_entry)
        self.file.flush()  # Ensure the log entry is written immediately
        asyncio.create_task(self.log_sender.send_to_log_server(level, message))```
#

So you mean this will also work?

delicate wren
#

it should, yes

#

except the asyncio.create_task part

#

you will almost never see it fail

#

but Python isn't guaranteed to actually eventually run your task there, it can GC it instead

tawny lily
#

Working

delicate wren
#

!d asyncio.Queue.put_nowait

coarse hearthBOT
#

put_nowait(item)```
Put an item into the queue without blocking.

If no free slot is immediately available, raise [`QueueFull`](https://docs.python.org/3/library/asyncio-queue.html#asyncio.QueueFull).
delicate wren
#

I prefer spawning a single task and storing it as a field

delicate wren
#

!d asyncio.Queue.join

coarse hearthBOT
#

coroutine join()```
Block until all items in the queue have been received and processed.

The count of unfinished tasks goes up whenever an item is added to the queue. The count goes down whenever a consumer coroutine calls [`task_done()`](https://docs.python.org/3/library/asyncio-queue.html#asyncio.Queue.task_done) to indicate that the item was retrieved and all work on it is complete. When the count of unfinished tasks drops to zero, [`join()`](https://docs.python.org/3/library/asyncio-queue.html#asyncio.Queue.join) unblocks.
delicate wren
#

and when it's time to cleanup, this to wait for all logs to be processed, and then cancel that one task

#

@stuck bluff without post-processing; keeps all colours out of [-0.15..0.15] cube

tawny lily
main garden
#

@terse sierra here

terse sierra
#

less busy here - wait for the noise to start - many code monkeys yelling

marsh lodge
#

@quaint cape You wanna hop in vc1?

delicate wren
#

@umbral rose stuff advanced a bit since previous attempts:

#

"now it's your turn to do the same in Zig"

delicate wren
#

so it's easier to see how it actually changes

#

... and I accidentally put the wrong directory into the ffmpeg

#

I wonder what that's going to look like

stuck bluff
#

I'll look on desktop.

delicate wren
#

I'm only being able to view it through the app and through VLC

stuck bluff
#

Watching on desktop.

#

Frenetic.

delicate wren
#

it stop just before the behaviour seems to change quite a lot

#

I'll let the process run for a while~~ until it crashes and burns~~

delicate wren
marsh lodge
#

oh lord

#

Fingers crossed!

delicate wren
#

I'm waiting for it to stabilise in some way

#

@glad turtle ed

#

probably the oldest option that many people know

glad turtle
delicate wren
quaint cape
#

!e ```python
list = [1,2,3,0,4,5,6]
for number in list:
if number == 0:
list.remove(number)
list.append(number)
print(list)

coarse hearthBOT
quaint cape
#

!e ```python
list = [1,2,3,0,4,5,6]
for number in list:
if number == 0:
list.remove(number)
list.append(number)
print(list)

coarse hearthBOT
clear sage
stuck bluff
#

!e py my_set = {1, 2, 3} my_list = list(my_set) print(my_list) list = [1, 2, 3] my_list = list(list)

coarse hearthBOT
stuck bluff
#

Avoid shadowing builtin variable names.

#

list is a builtin variable name.

umbral rose
#

!stream 263551503082455050 30M

coarse hearthBOT
#

✅ @brisk lark can now stream until <t:1738551616:f>.

stuck bluff
#

Don't use list as your own variable.

woeful canopy
#

hello

#

im back

#

for a bit

#

damn it

#

i shouldve entered earlier

#

im about to go to sleep

#

i got school tomorrow

#

indeed

#

though i dont like sleeping

#

i prefer being awake and doing things

#

though the feeling after you wake up from sleep is nice

#

its like all cozy

coarse hill
#

What code were you explaining @marsh lodge

woeful canopy
#

lets see it

coarse hill
#

sure

woeful canopy
#

yeah dont

#

gonna take too long

#

thats our boy

#

2d zeld

#

zelda

coarse hill
#

that looks sick

woeful canopy
#

just trying to imagine the code makes me dizzy

#

it wont let me

#

nvm

#

damn all that for collision

#

oh

#

ahh

#

so its defining what point it can be considered a collision

#

just realised youre explaining it

#

ah i se

#

i probably wouldnt be able to comprehend it all either way

#

i thought it would be a lot more

#

but 400 lines for that is quite nice

coarse hill
#

how long did that take you?

#

damn

#

looks pretty good

woeful canopy
#

i thought it took you longer than that

#

damn

#

oh

#

i heard something else

#

"men"

#

oh i know that guy

#

he published his thesis with it right?

#

that was his thesis or something like that

#

yep

clear sage
woeful canopy
#

yes that guy

#

welll i gotta go

#

goodnight yall

#

@coarse hill join our cult

coarse hill
#

bet

#

night guys

woeful canopy
#

@marsh lodge as our god

#

bye

clear sage
earnest wing
#

hello

#

im still on mute for vc

#

i got 7 days

#

i got 4 days left

clear sage
woeful gorge
#

guys, i need help with a school project using python, but I know jack diddly squat about how to code