#voice-chat-text-0

1 messages Β· Page 322 of 1

vocal basin
#

discordwtf

#

why embed

#

it's :

rugged root
#

Wait.... I've never seen it embed before

#

That's so weird

vocal basin
#

: misparses

rugged root
#

That's such a weird parsing issue

vocal basin
#

one parser catches : as URL therefore doesn't filter it out

#

which is why embed

#

the other parser consumes the message URL

#

(successfuly)

#

they stopped

#

finally

rugged root
#

Nice

vocal basin
#

no more unwanted Hawaiian Banana Nut Bread repices

rugged root
#

Project MKUltra was an illegal human experiments program designed and undertaken by the U.S. Central Intelligence Agency (CIA) to develop procedures and identify drugs that could be used during interrogations to weaken people and force confessions through brainwashing and psychological torture. It began in 1953 and was halted in 1973. MKUltra us...

vocal basin
#

huh
short description doesn't even sound that concerning for that time

#

20 years, no good enough results, skill issue

#

"me, in wherever I am, hearing people complain about freedom:"

#

@primal shadow just a reminder that Chechnya exists

#

"thank all gods and not gods that I don't live there"

#

@primal shadow any of what you said about US doesn't even remotely come close to what I'm witnessing around me where I live, have some decency

primal shadow
#

it's bad elsewhere so I can't complain about here, sorry

amber raptor
#

when you run out of RAM/CPU

primal shadow
#

next topic was

#

mongoDBN

vocal basin
#

or disk space

primal shadow
#

πŸ™‚

deep forge
primal shadow
rugged root
#

Oh huh, didn't realize that

primal shadow
#

heard good things

deep forge
#

It's very good

vocal basin
primal shadow
#

I might wathc it one day

vocal basin
#

I've never used MongoDB myself

primal shadow
#

I ❀️ me some SQL

vocal basin
#

but had it running in the background on windows for quite some time because I frequently debugged mongo-related code for others

#

there are services (e.g. docker containers) that auto-call certbot when new subdomain requires a certificate

amber raptor
deep forge
#

Trump just got found guilty on all 34 counts

primal shadow
#

no

vocal basin
#

openssl may be quite a pain to figure out the first time

#

and second time and third time

#

yeah, I mead all that

#

not just openssl itself but actually figuring out what and why tf

#

@verbal zenith via DNS records?

verbal zenith
vocal basin
#

manual or automated?

verbal zenith
#

It wanted a txt record

deep forge
#

Why can't you run binary executables on all operating systems?

vocal basin
#

I don't yet want to dig into the API of where I have the domain registered at

#

@deep forge MiTM mitigation

#

also

#

in Russia, for example, MITM is proven to happen

#

it's not a potential threat

#

and I don't mean spying

amber raptor
vocal basin
amber raptor
vocal basin
#

yes, and the thing I have to deal with is non-govermental

knotty inlet
vocal basin
#

TLS is what SSL is called now

#

now as in for almost two decades

vocal basin
amber raptor
vocal basin
#

yes

#

I mead HTTP

#

specifically

amber raptor
#

Oh yea, they can read HTTP which is primary reason to enable HTTPS everywhere

vocal basin
#

TLS for protocol, SSL for library -- as far as I see it used

#

as a non-nerd yet a programmer most interaction with SSL you'll get is linking issues

#

"libssl is always broken and never works"

#

ftps -- tls
sftp -- ssh

rugged root
#

My head hurts now

vocal basin
#

have you tried turning it off and on again

rugged root
#

Back later

vocal basin
#

In 2021, FTP support was dropped by Google Chrome and Firefox, two major web browser vendors, due to it being superseded by the more secure SFTP and FTPS; although neither of them have implemented the newer protocols.
amazing

#

I'd be surprised if they weren't sending it

#

Rust doesn't

#

(but that's, like, almost "C doesn't support something" type of statement)

#

okay so Docker support lied

#

@novel moon blockchain assumes transactions can't be cancelled which is very far from reality

novel moon
#

F

vocal basin
#

cancelling a transaction in a blockchain is either a "rebase" or appending "<that> was cancelled"
and lookup costs and latencies there are high

novel moon
#

damn true

vocal basin
whole bear
#

revilement?

primal shadow
whole bear
somber heath
#

Asylum seekers to a Australia in descending order of population: Malaysia, China, "Other", India, everyone else.

whole bear
#

bbl

somber heath
#

@north cliff πŸ‘‹

chilly helm
#

hope everyones day is going pretty good where ever you are in the world.

primal shadow
#

Oh, the world is burning, but we're still alive, so there's that

#

come on down to the voice chat

chilly helm
#

haha yeah i feel that.

#

im supressed unfortunately

#

I thought they already created their own currency

#

?

#

Just like the US

#

ITS NOT SUNNYYYY

#

SONNE

#

SONNY

#

YES

#

lol

#

he got convicted for suspended license while driving

#

what if he had an appointment for the doc but couldnt be late but also had to answer the call for court bc it would be considered failure to appear

#

?

#

The Judge didnt have that same idealism

#

He did not care

#

He was given no bond. if he were rich i dont think the reaction he gave was accounted for that

#

our childen of the future are screwed until 3 or maybe the 4th generation after us. just how it is,

#

.

#

when you say super extremely heavy vehicle?

#

what do you mean?

somber heath
#

@sullen hare @charred lance πŸ‘‹

primal shadow
deep forge
#

Question, if I deleted some directories from my remote git repo as I added them to my gitignore, when I pull the remote repo back to my local repo, how do I make it so that it doesn't remove the directories from my local repo?

#

Merge, rebase, fast-forward?

willow light
somber heath
#

A wax tablet is a tablet made of wood and covered with a layer of wax, often linked loosely to a cover tablet, as a "double-leaved" diptych. It was used as a reusable and portable writing surface in antiquity and throughout the Middle Ages. Cicero's letters make passing reference to the use of cerae, and some examples of wax-tablets have been ...

primal shadow
chilly helm
#

KnOwLeDge iN mY GarAge

primal shadow
willow light
exotic moss
#

hola hemlocka

deep forge
#

!if-gotcha

#

!gotcha-if

#

!or-gotcha

wise cargoBOT
#
The or-gotcha

When checking if something is equal to one thing or another, you might think that this is possible:

# Incorrect...
if favorite_fruit == 'grapefruit' or 'lemon':
    print("That's a weird favorite fruit to have.")

While this makes sense in English, it may not behave the way you would expect. In Python, you should have complete instructions on both sides of the logical operator.

So, if you want to check if something is equal to one thing or another, there are two common ways:

# Like this...
if favorite_fruit == 'grapefruit' or favorite_fruit == 'lemon':
    print("That's a weird favorite fruit to have.")

# ...or like this.
if favorite_fruit in ('grapefruit', 'lemon'):
    print("That's a weird favorite fruit to have.")
deep forge
#

!true

wise cargoBOT
#
Comparisons to `True` and `False`

It's tempting to think that if statements always need a comparison operator like == or !=, but this isn't true.
If you're just checking if a value is truthy or falsey, you don't need == True or == False.

# instead of this...
if user_input.startswith('y') == True:
    my_func(user_input)

# ...write this
if user_input.startswith('y'):
    my_func(user_input)

# for false conditions, instead of this...
if user_input.startswith('y') == False:
    my_func(user_input)

# ...just use `not`
if not user_input.startswith('y'):
    my_func(user_input)

This also applies to expressions that use is True or is False.

chilly helm
#

lol

#

what are you testing on?

#

oh nvm lol

#

geezzzzzz

amber raptor
#

hiring sucks

#

being hired sucks

somber heath
#

I'm not disagreeing.

#

@shy gazelle πŸ‘‹

shy gazelle
#

Ill see you guys

stable sparrow
#

!counter

#

!collections

#

!false

#

!close

somber heath
#

!d collections.Counter

wise cargoBOT
#

class collections.Counter([iterable-or-mapping])```
A [`Counter`](https://docs.python.org/3/library/collections.html#collections.Counter) is a [`dict`](https://docs.python.org/3/library/stdtypes.html#dict) subclass for counting [hashable](https://docs.python.org/3/glossary.html#term-hashable) objects. It is a collection where elements are stored as dictionary keys and their counts are stored as dictionary values. Counts are allowed to be any integer value including zero or negative counts. The [`Counter`](https://docs.python.org/3/library/collections.html#collections.Counter) class is similar to bags or multisets in other languages.

Elements are counted from an *iterable* or initialized from another *mapping* (or counter):

```py
>>> c = Counter()                           # a new, empty counter
>>> c = Counter('gallahad')                 # a new counter from an iterable
>>> c = Counter({'red': 4, 'blue': 2})      # a new counter from a mapping
>>> c = Counter(cats=4, dogs=8)             # a new counter from keyword args
open mica
#

@somber heath hello! ill be right back

somber heath
#

@stable sparrow

stable sparrow
#

ty :)

somber heath
#

@rigid brook πŸ‘‹

rigid brook
#

hi

chilly helm
#

Hope everyone has a great night!

open mica
somber heath
#

"A handsome devil dressed as a nurse playing guitar while playing music while running outside."

open mica
open mica
somber heath
#

Not what I was aiming for, but nice.

open mica
open mica
somber heath
#

@still hinge πŸ‘‹

still hinge
#

HELLO

open mica
#

hello

still hinge
#

where you from?

#

no speak english

somber heath
#

Australia. 🦘

still hinge
#

tamo junto otario BR

#

YES

#

brazil>australia

#

5 world cup

somber heath
#

Hot take.

still hinge
#

kkkkk

#

yes

open mica
#

hablas espanol?

still hinge
#

ss

somber heath
#

I don't follow soccer, so I honestly don't care. πŸ˜‹

still hinge
#

which sport do you prefer? kangaroo boxing

#

kkkkkkk

somber heath
#

Kangaroo boxing was an exploitative abuse of the animals in question.

open mica
#

just like cock fights

somber heath
#

Not as bad, but...not great.

still hinge
#

ok

somber heath
#

I used to ski.

#

Cross country.

open mica
#

how many world cups does brazil have on league of legends

somber heath
#

So, up the hills as well as down.

still hinge
#

We don't like games, but rather vaquejadas

#

northeast at the top

#

Thanks, long live the koalas

#

what is the best way to learn English?

somber heath
#

Necessity driven by cultural immersion.

still hinge
#

Do you know other languages?

open mica
somber heath
#

@polar kraken πŸ‘‹

verbal radish
#

Is there any way to stream in a channel?

somber heath
#

Streaming permissions are available upon request of voice-regular moderator-and-above level users at their discretion.

verbal radish
#

Ah

#

Thank you

somber heath
#

The best time to ask is when you see them in the voice chat.

whole bear
#

3 min I'll be back

open mica
dusty jolt
#

@somber heath

#

join vc bro

somber heath
#

@atomic heron πŸ‘‹

atomic heron
#

hi

#

ee?

#

idk

#

i cant speak on vc lmao

somber heath
#

@versed barn πŸ‘‹

versed barn
#

lol I couldn’t change the settings

#

Sorry about that

whole bear
#

hello

stark oxide
#

hello

whole bear
#

idk how to cod

#

code

#

do u know how?

stark oxide
#

which language do you want to code?

whole bear
#

python

stark oxide
#

do you want 100% free thnigns only as source or also paid things?

whole bear
#

free things

#

like i wanna learn

#

i wanna make projects on my own

stark oxide
#

as a course or as projects to self-learn?

whole bear
stark oxide
#

here are some free things

#

I self use projects to create my skills, but the problem I have now is that I don't have a project idea to make

whole bear
#

i already know that

stark oxide
#

!resource

#

!resources

wise cargoBOT
#
Resources

The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.

whole bear
#

i wanna program like make something

stark oxide
#

a todo list, snake etc?

whole bear
#

whats that?

#

a bank???????????

#

whats a bank

stark oxide
#

to sit on? with turtle?

upbeat bobcat
#

I am talking to @stark oxide

whole bear
#

k

stark oxide
whole bear
#

i wanna make like a project that can make shapes on a printer using turtle

#

Hello

stark oxide
#

hello @somber heath

stark oxide
whole bear
#

like designs

upbeat bobcat
whole bear
#

stars or something

#

using import turtle

#

yea

#

its for school project

stark oxide
#

try to make some basic shapes

whole bear
#

like for school i need to use vscode to make the code using python

stark oxide
#

are the requirements for the project?

#

or is it just make some things to show your skills?

whole bear
#

yea

upbeat bobcat
#

@whole bear hi

whole bear
#

hello guys

somber heath
#
import turtle
...  #  Drawing takes place
screen = turtle.Screen()
canvas = screen.getcanvas()
postscript = canvas.postscript()
print(postscript)```
stark oxide
#

is programing in minecraft a good way to learn proraming?

brazen gazelle
#

I mean I made a bunch of automation programs using python and C++

#

what you do with programming doesn't really matter

#

the important thing is to somthing that you enjoy and stick with

#

make a program that builds platforms or something along the lines

stark oxide
#

cause I'm still at school and want to learn programming in a fun way and tought maybe minecraft java is a good way to learn it, you can program in many different language like python

brazen gazelle
#

wait you want to recreate minecraft?

stark oxide
#

no but you can make add-ons/mods for mc

brazen gazelle
#

yeah fair enough then

stark oxide
#

that's why the question to learn it

brazen gazelle
#

do anything you enjoy

stark oxide
#

I like to do fun projects and I start after the summer break softwarde dev on school and want to learn things now cuase I have a lot of free time now

#

does someone here nows how to do it, or can help ig I encounter a problem

upbeat bobcat
#

What is ultimate goal?

stark oxide
#

I want to leanr programming in a way I like now and do stuff with it already cuase i like it to do and it feels good to me to do it

primal shadow
#

A great use of the summer IMO

stark oxide
#

what's that?

primal shadow
#

learning programming when still in school

stark oxide
#

I go to some freelancer stuff but they go with gamemkaer etc for my age

primal shadow
#

I used to waste mine on videogames, but programming videogames, there's a life skill that'll add value

upbeat bobcat
#

@dense meadow hi

stark oxide
hushed wing
#

hey @calm snow sry mate my voice is supressed

calm snow
obsidian dragon
#

it's python related

whole bear
obsidian dragon
#

yes, tesching my discord bot things

slender sierra
#

Hi @somber heath 😊

undone idol
#

merry go round

wind raptor
#

!stream 425552190283972608

wise cargoBOT
#

βœ… @peak depot can now stream until <t:1717161635:f>.

vocal basin
#

curl/wget aren't pre-installed often

#

@deep forge many API docs provide examples of using curl with them

#

I think the thing that FastAPI generates has that too

#

nvm it doesn't

#

wait it does

#

I'm bad at reading and looking

#

this thingy

vocal basin
rugged root
#

I'm thinking of the get web request thing

vocal basin
#

curl has a higher chance of being installed because it's also a library

vocal basin
#

by default

#

/docs and /redoc

rugged root
#

Oh derp, it's Invoke-WebRequest

#

!stream 217691138696413187

wise cargoBOT
#

βœ… @near niche can now stream until <t:1717163390:f>.

near niche
amber raptor
somber heath
rugged root
somber heath
rugged root
#

You got me there

somber heath
#

@topaz coral @distant gyro πŸ‘‹

topaz coral
#

πŸ‘‹

near niche
topaz coral
#

ok so could any one tell me how can i promote my work here?

#

??

somber heath
#

@autumn valve πŸ‘‹

autumn valve
#

Hi

topaz coral
autumn valve
#

How to verify

somber heath
topaz coral
#

do you want me to do one for you

#

?

#

wait

somber heath
topaz coral
vocal basin
#

!rule 9 ?

wise cargoBOT
#

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

somber heath
#

You were asking about promoting your work. I was suggesting you could ask for one in lieu of promotion/advertisement.

topaz coral
#

sorry i didn't read the rules

upbeat bobcat
#

The vc is still in indian server?

whole bear
#

sup guys

whole bear
#

why cant i turn on my mic

somber heath
topaz coral
#

ok

somber heath
#

@quartz hedge πŸ‘‹

somber heath
rugged root
#

!stream 217691138696413187

wise cargoBOT
#

βœ… @near niche can now stream until <t:1717164795:f>.

quartz hedge
chrome flax
#

Hii

somber heath
upbeat bobcat
chrome flax
#

I joined the meeting But I have not heared any sound's

quartz hedge
#

oh it doesnt let me because i wasnt active yet

somber heath
rugged root
#

You need to hit the headphones icon to undeafen

somber heath
#

That would qualify.

chrome flax
rugged root
#

All good! No reason to apologize

chrome flax
#

ok @rugged root

#

Hello guy's I'm currently learning in python, If anyone have interacted in work with me.

rugged root
somber heath
#

@onyx surge @limpid fossil πŸ‘‹

rugged root
#

Best example of English being bullshit: Though, tough, and through

chrome flax
# rugged root As in you're looking for resources?

yes, And then I need a some people in python developer, Becoz know I'm currently do some python project and I have face some errors, And i need to discussion with them and then I have improved my programming skill also.

rugged root
#

You can always ask for help with your errors here in the server. We have a help system that's designed to help with stuff like that. See the #β“ο½œhow-to-get-help channel for more details on that

onyx surge
#

just a noob question, like we write code in English, can every other language speakers can write code in there language, or they have to learn english?

somber heath
#

Only insofar as the relevant keywords are concerned and the documentation.

somber heath
#

Because learning the language without the documentation to refer to would be miserable.

#

There are some languages that are in languages other than English.

chrome flax
#

Hello guys, If anyone please explain me what is REST API.

willow light
#

Happy Pride Eve

#

Looking forward to watching a bunch of people lose their minds when the icon changes.

obsidian dragon
rugged root
stark river
#

texas, ny

deep forge
#
func _devDatabase() {
    devQuery := `
    INSERT INTO users(server_id, identity_id) values(?, ?)
    `
    var err error
    _, err = db.Exec(devQuery)
    if err != nil {
        log.Fatal(err)
        return
    }
}
lavish rover
#

Back to meeting

deep forge
#
kieran@MSI:~/repos/rw-api-go$ curl -X POST http://localhost:8080/check-whitelist \
-H "Content-Type: application/json" \
-d '{
    "server_id": "1cdfa108-0ba6-45fc-9756-22e76304e8fa",
    "identity_id": "465c3a56-743b-4755-bad0-2c60c625a779",
    "player_id": 123,
    "player_name": "playername"
}'
{"whitelisted":true}
#

@rugged root Could I get permission to stream please?

rugged root
#

Give me a bit

molten pewter
#

safg.site
ONE PER CUSTOMER
More info

rugged root
#

I've never seen a captcha like this

#

!stream 609675647203409942

wise cargoBOT
#

βœ… @deep forge can now stream until <t:1717171646:f>.

rugged root
molten pewter
#

infor.mom = 1.80$

rugged root
untold jacinth
#

someone able to help me set up TLS Client

graceful minnow
#
wge0wkrgkw0rg("sus",uwrg0we9k0rhr0wh("c++ Is A Programming Language"))
tr3g04gkrjgej(4)
paegwrh5eth(lrgkwk9rgwoko("TEST TEST TEST"))
paegwrh5eth(rgrjg39rtg3g3("sus"))

c++

molten pewter
light nebula
#

Hello there,
sorry to interrupt,
I'm kinda overwhelmed and confused by where to start from,
can somebody suggest me a channel to go and get started with python, i wish to learn,
if I make a mistake, do guide me.ducky_concerned pycon_us_2024

rugged root
#

Oh sure, we can point you in the right direction

#

!resources So we have a bunch of resources linked on our site. I typically recommend "A Byte of Python", which is free on its respective site. There's also a couple YouTube channels linked in there if you prefer videos.

wise cargoBOT
#
Resources

The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.

rugged root
#

And we're always happy to answer questions or clarify concepts and the like

light nebula
#

thank you for the guidance, will proceed to that now.

rugged root
#

Happy to help! But most importantly, don't hesitate to ask questions. Programming can be intimidating with all the various terms and it's hard to know what to search for when you start out

lavish rover
#

!e

print("My band name is", "stripper"[::-1])
wise cargoBOT
lavish rover
chilly parcel
#

Hello

rugged root
#

How goes it

chilly parcel
#

I am ok

#

How are you

rugged root
#

Hanging in there. Just life stuff

vocal basin
#

I prefer not using that extension, even though I know it exists

#

for tests too, I dislike having in-IDE display of errors

#

idk why

#

(annoys me for some reason)

#

yes

#

in-terminal

#

@rugged root I see it as : notation without : rather than flipped order

#

no character between makes it difficult if you remove a type/name

#

which makes it all shift?

#

(idk if go is free form or whatever that's called)

#

free-form

terse needle
#

so is a slice like a reference to part of an array in c terms

vocal basin
#

okay I tried looking up if go is free-form

#

that wasn't effective

vocal basin
#

go docs feel a bit weird to me

#

language being too simple takes some time to take in

terse needle
vocal basin
#

no

#

slice is pointer+length

vocal basin
vocal basin
#

I can't write

#

or, rather, &slice is pointer+length

#

slice itself is a dynamically-sized type

#

in that sense each array's memory is a slice

vocal basin
rugged root
#

I mean

#

You fixed it

#

Making it right eventually

#

I wasn't wrong, just slowly correct

vocal basin
#

"no, you predicted the future"

rugged root
vocal basin
#

okay so I mirrored 26GB of docker images

#

python:2 mirroring failed

rugged root
#

That's a lot

vocal basin
#

no it's not

#

that's docker

#

it takes a lot of space

rugged root
#

Fair

vocal basin
#

AI would slow me down

#

just as looking up everything on stackoverflow would

#

google is using AI to sort results, you use google, you use AI

vocal basin
#

or other LLMs

#

(used directly by me by querying it)

#

@rugged root eh, for intellisense both microsoft and intellij try to do it

#

like a very reduced LLM

#

little language model

rugged root
#

Oh god no

#

Not the same letters

#

Don't curse me like this, AF

vocal basin
#

little large medium

whole bear
brazen gazelle
vocal basin
#

hmm

#

markov chains?

#

@rugged root
"eniac running those gpt 0.1 pre-releases"

#

I wonder how loud it was

#

"Sun created Java
Oracle created Java 8"

rugged root
vocal basin
#

idk what mf after tex stands for there but reading this in obviously-not-intended way is funny

rapid chasm
#

ICQ was the shit man

vocal basin
#

Russia bought it

#

it was quite popular in Russia in late 00s

#

gradually

#

so technically now mail.ru/vk messagers are ICQ descendants

#

share your favourite memes with friends and KGB

stark river
#

i 🫢 vk

vocal basin
#

garbage company

silk dust
vocal basin
#

imagine facebook with its power on what people see, but state-run

#

also owning a lot of services all across the runet

rugged root
#

I'm sad that it's not roonet and it's run by kangaroos

vocal basin
#

@rugged root @peak depot that talk about random ads reminded me of this:
"Interested in a nitrogen generator?"

rugged root
#

I'm not NOT interested

vocal basin
#

I wonder what it generates from

#

if water, then it's also a hydrogen generator
ed.: ignore this, it's incorrect

upper basin
#

Long britches.

vocal basin
#

or, called other way, water electrocution machine

rugged root
#

Air?

upper basin
#

"I'm not your pal, buddy!"

vocal basin
#

wait I can't chemistry

rugged root
#

Just gnomes in there sorting the molecules

upper basin
#

"I'm not your buddy, guy!"

silk dust
#

Dude

upper basin
#

"I'm not your guy, friend!"

peak depot
#

legsleeves

vocal basin
#

yeah, water doesn't contain nitrogen, my brain is dying

whole bear
#

Okay BUD.

vocal basin
#

water electrocution generates hydrogen+oxygen

#

yeah, should be air

peak depot
#

BRUH

upper basin
#

It's good.

upper basin
#

Though, we usually have it with lemon in it, so not sweet.

whole bear
#

Can anyone help me make a script to rescue things in epic games

#

plis

stark river
rugged root
#

"Rescue things"?

#

Can you elaborate?

upper basin
#

You can represent any color using a linear combination of RGB channels.

vocal basin
#

cyan majenta yellow black

whole bear
#

@silk dust look at your private

vocal basin
#

pigments intersect

#

light adds

sour willow
#

yo af wsg

#

sup hem

vocal basin
#

red pigment mixed with green migment will get anything from black to dark yellow/brown

#

depending on specifics

sour willow
#

pretty good, switched back to linux after sometime. its great just having printing/bt problems

#

i suppose thats a mint thing

vocal basin
#

rewrite the driver in Rust

#

that's what I did for the touchpad

vocal basin
sour willow
#

what?

#

yo hem tbh tho mint on my 6 year old laptop was great

#

i never had a single issue

#

seems to be with newer electronics for me atleast

rugged root
#

The older the device the better it will be

#

All the drivers get ironed out

vocal basin
sour willow
#

i mean i loved win11 and im still dual booting

#

but common ~170 vscode extensions with intelijj and 20 youtube tabs with 8% cpu is crazy

vocal basin
#

@deep forge linux provides better isolation mechanisms so that viruses can't affect anything

#

app isolation:
windows < non-android linux < android < ios

sour willow
#

i mean isnt andriod vague ?

vocal basin
#

if windows tries to isolate apps, everything breaks, likely
and microsoft don't like when things break

#

@thorn wharf macos is unix and linux isn't unix

#

that's why some want it for unix features

sour willow
#

dude who makes viruses for osx

#

besides most people on osx arent gonna be downloading alot of shady stuff like cheat labs

stark river
sour willow
#

yo wassup rabbit

#

steam deck is based on linux aint it?

amber raptor
vocal basin
#

> three or four
if only...

sour willow
#

didnt vanilla linux kinda want to fix that

#

but it failed

vocal basin
#

Alt Linux uses a hybrid of apt and rpm, iirc

sour willow
#

imo go language design is crap

#

their docs are awesome though

vocal basin
#

channel axioms are broken

#

specifically send to closed causing a panic

#

that's inexcusably bad

sour willow
stark river
#

C++ 🫢

sour willow
#

i kinda do regret it , i wish i just used java but i mean its pretty good

vocal basin
#

C++ has its own problems or suboptimal decisions, but those are footguns not fundamental incorrectness like close-send-panic

sour willow
#

have you guys seen that 5 words with no repetitive letter?

vocal basin
#

scale up: throw more hardware
scale down: throw more hardware out the window

#

for genericity over architectures/systems there is also WASI

#

whenever it becomes stable enough

sour willow
#

i mean its bad code primarly anyways but still

sour willow
#

besides this isnt even the fastest version

#

its like microseconds now lmfao

thorn wharf
sour willow
#

even javapackager

whole bear
#

@deep forge

#

look at your private

vocal basin
#

@whole bear Python is compiled

sour willow
#

python is compiled?

vocal basin
#

yes, to bytecode

sour willow
#

then whats cython

#

or cpython or whatever

#

i thought that was supposed to do that

vocal basin
#

CPython is the main implementation of Python written in C

#

Cython makes binding C code to Python easier

#

there's a way to write Python modules directly in C

#

Cython is basically the same but with less boilerplate

sour willow
#

boilerplate crap

vocal basin
#

nowadays even some C compilers themselves don't output machine code, but instead an intermediate representation in LLVM

#

difference between LLVM and other VMs being that it's a compile-time abstraction not an interpreter

sour willow
#

alisa you used vscode for c++ didnt you?

#

did you use clang or no?

vocal basin
#

I use clang, gcc, msvc or zig cc depending on the situation

sour willow
#

no i wanted to know about the vscode ext

vocal basin
#

ah, you mean which extension I used?

sour willow
#

yeah

#

cause theres a c++ (including clang) and a clang ext

vocal basin
#

not the extension pack

sour willow
#

and they interfere , but for embedded i found the c++ one to way be easier , i was wondering if it would be worth swithing and just working with clang

vocal basin
#

python since 3.13: compiled, interpreted and jitted
java since (idk when): compiled, interpreted and jitted
but there are so many nuances

amber raptor
vocal basin
#

I mostly use C++ for Rust interop nowadays, and C++ extension has been quite good so far

sour willow
#

i cant stand rust

#

same thing more complicated

vocal basin
#

C++ now has concepts, basically Rust's traits

vocal basin
#

otherwise it will consume so much CPU

vocal basin
#

allows for more localised control of correctness

#

templates in C++ do almost no checks at their definition
generics in Rust ensure they're actually correct

sour willow
#

tbh i only use c++ for embedded

#

i wouldnt even bother trying to learn something else for virtually the same thing

vocal basin
#

Rust is quite powerful for embedded too
but if you need to link a lot of big-interface C/C++ libraries, might as well use C/C++ directly

sour willow
#

never seen anyone use rust for embedded myself tbh

rugged root
vocal basin
rugged root
#

Or no wait

vocal basin
#

their entire stack is Rust

#

C++ has an issue for being embedded which is the standard library

#

and stuff like new/delete

#

a lot of C++ assumes there's an allocator

#

afaik there are dialects of C++ that don't assume it

#

(whatever Arduino uses?)

#

((as in their IDE/whatever))

#

Rust core doesn't have a notion of a memory allocator

sour willow
#

ino?

#

the arduino standard libary is quite good tbh

vocal basin
#

yeah, I said specifically that, whatever they chopped C++ into, is better for embedded than C++ proper

sour willow
#

on my ARMs i pretty much always use it, but ARMs are quite expensive, so i'd rather work with stms

vocal basin
#

are you running on top of an OS?

sour willow
#

no

#

i mean i dont buy it from aliexpress cause its too expensive

#

but same processor

vocal basin
rugged root
#

STMS = Super Technical Monkey Science

sour willow
#

pretty much use this for all my projects

#

good php code is just as easy just not as standardized

vocal basin
#

+1 to what Rabbit said

#

@deep forge don't commit and don't push

#

simple as that

#

@deep forge you can also tag versions of software that are tested to work so you can rollback

#

branches are only good for PRs, from what I had to use them within last few years

#

like if you need to submit two independent changes to a public repository

#

why are people launching fireworks again

#

Summer? Friday? Saturday?
what are they even celebrating

stark river
#

no fireworks

sour willow
#

you'll never learn java

stark river
#

i dont see any

vocal basin
stark river
#

which part?

vocal basin
#

it's not even legal I think

amber raptor
#

and I have to buy their hardware

stark river
#

which oblast*

deep forge
vocal basin
amber raptor
sour willow
#

and then out is just the method

#

wtf is the fibonacci opening

amber raptor
vocal basin
amber raptor
sour willow
#

graphql is shit

rugged root
#

Looks cool, though

#

Or at least the concept/intent is neat

sour willow
#

i tried to learn it with go

#

and it was one of the stupidest things ever

vocal basin
amber raptor
#

cool I guess

#

like at end of day, I don't care if uses Unicorn Bootloader if Ubuntu will load

vocal basin
#

not like I'll ever be working at a company that uses these anyway

sour willow
vocal basin
#

almost all firmware they have they wrote themselves

amber raptor
sour willow
#

ah

rugged root
amber raptor
vocal basin
#

was about so say ew for w3schools
but then I remembered
what even is there as an alternative? oracle?

vocal basin
#

Oracle docs aren't that bad either

sour willow
#

pretty good

#

but php docs are the best

vocal basin
#

it is 90% legal disclaimer 10% useful stuff but still

#

(oracle)

amber raptor
#

Java: How am I going to give a program ability to use something? Use a class, if that don't work, use more class. If that doesn't work, mount it on tripod class and use more class.

stark oxide
#

hello

vocal basin
amber raptor
vocal basin
#

"you can't trust online tests
download them, turn off the internet, and then do the test"

sour willow
amber raptor
#

America World Series: We hit a ball with a stick. European World Series: We sing.

sour willow
#

i used it with error gutters aswell and its great

vocal basin
#

!e

e = 0,
print(e)
wise cargoBOT
vocal basin
rugged root
#

Yeah, that's what I thought

vocal basin
#

I have breadcrumbs turned off, I have minimap turned off

sour willow
rugged root
#

Remind me what breadcrumbs are in this case?

vocal basin
#

module > class > method
at the top

sour willow
vocal basin
#

"breadcrumbs" that you leave in your "trail" while getting deeper into the scope

#

as in where the analogy comes from

vocal basin
#

I somehow don't remember if I have it enabled

#

I don't, in VSC

sour willow
#

bro you should just use text editor lmfao

vocal basin
#

I might have it in PyCharm/IntelliJ

#

I have this enabled

sour willow
#

i know something you might like

vocal basin
#

inlay hints

#

but I've limited their length

#

after seeing an inlay hint that was something like 200 characters long

sour willow
#

pretty much lets you minimize everything and just see code

#

dude what are you saying

vocal basin
stark oxide
#

This is how I made a chess engine in Minecraft using only command blocks, this shouldn't be possible.

Also gotta love that 110 day wait between uploads lmao
anyways hope you enjoy

✦ Join My Discord For Maps ➾ https://discord.gg/EFNmDnCgK7

✦ Subscribe To My Second Channel ➾ @KiddyKeneButWorse
✦ Follow My Twitter ➾ https://twitter.com/KiddyKene...

β–Ά Play video
vocal basin
primal shadow
vocal basin
tall ridge
#

@vocal basin , you might end up working with a company using something similar to Oxide....

vocal basin
#

where I work, we're making custom hardware but we don't have that much in terms of budgets

#

"making" designing

tall ridge
#

Their stack is open source and it could get adopted by companies seeking to reduce licensing fees. The arm platform got adopted under similar circumstances

#

(5 to 10 years away)

deep forge
#

Would I have a function docstring on my main() function?

tall ridge
deep forge
#

Understood, thank you

primal shadow
tall ridge
#

"""The entry point for this module, :doc:about"""

vocal basin
#

if it's importable and usable, docstring makes sense

#

with description of what it actually does or "see module documentation" note

#

> why not linux
microsoft office

#

and other random pieces of "eh, we can't use something else, even though alternatives exist" software

vocal basin
stark oxide
#

I have to go cya

#

have a nice day

vocal basin
#

@rugged root continuous surgery

vocal basin
molten pewter
vocal basin
#

at the boundaries of knowledge, there is no structured learning

#

like, you will have to work with stuff no one made a course for

deep forge
#

Which is best for Python file names?

checkPlayer.py
check_player.py
vocal basin
#

second

deep forge
#

understood, thank you!

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
#

if all your "software" "job" is entirely described by existing guidance, it's not much a useful job likely

#

(this way you're not learning, and the company is probably wasting money on you instead of using existing solutions)

#

natural languages can't be learned in their entirety either

primal shadow
vocal basin
#

> not reviewing before saying
"yeah, we can hear that" would be a funny response to that lol

#

I'd expect "also ask any linguist about how languages are thought in their country and they'll probably say it's not comprehensive and/or is deceptive" to be quite close to truth

#

it for sure is true in Russia

rugged root
#

Fair

vocal basin
#

half the language teaching later on in school is politics

#

and if you think that, at least, mathematics can be taught systematically...
oh do we, mathematicians, have a surprise for you

deep forge
#
"""

argparse => Used for parsing command line arguments.
re => Used to check player identifiers using regex.
sqlite3 => Used for interacting with the database.
json => Used for interacting with a JSON.
time => Used for heartbeat function.
os => Used for paths and directories.
datetime => Used to generate date and time for logging.
threading => Used to create threads per player checks.
logging / logging.handlers => Used for handling the logging functionality.

rcon.battleye => Used for executing kick commands on the server.

"""

import argparse
import re
import sqlite3
import json
import time
import os
import datetime
import threading
import logging
import logging.handlers

from rcon.battleye import Client

I've not done this right have I? I thought you were meant to have a module docstring to describe why you imported those modules.

vocal basin
#

I myself wouldn't put that in docs

#

it's an implementation detail

wise cargoBOT
#

Added in version 3.4.

Source code: Lib/pathlib.py

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.

../_images/pathlib-inheritance.png If you’ve never used this module before or just aren’t sure which class is right for your task, Path is most likely what you need. It instantiates a concrete path for the platform the code is running on.

Pure paths are useful in some special cases; for example:

vocal basin
#

use this for paths instead of os

#

doesn't logging have datetime built in?

#

as in through formats or whatever

#

I don't remember, since I used it a long time ago

#

so useful lines from there are these

re => Used to check player identifiers using regex.
time => Used for heartbeat function.
os => Used for paths and directories.
datetime => Used to generate date and time for logging.
threading => Used to create threads per player checks.

rcon.battleye => Used for executing kick commands on the server.
#

os line hints at that whatever you're doing with it shouldn't be the way it is

#

datetime -- check whether logging does that already

#

threading -- you can write in docs to make sure whoever runs your software (that includes you, presumably) knows the performance implications of using it

#

it might be an implementation detail, but a very leaky one

deep forge
#

So I am assuming I don't need the docstring at the top of my script as I am not making a package/module?

vocal basin
#

describe what the module does/what it is about

#

describe implementation details only if they matter to the user of the package

#

(user being programmer importing the module/operator deploying the service/end user/etc.)

deep forge
#

Ah

#

Okay, I think I understand.

#

How'd I use logging if I set it up in the main.py?

whole bear
rugged root
#

@deep forge You here?

vocal basin
#

I just use the system-wide installer

#

important: add to path

#

check
check
check
check
optional
optional
optional

#

I'd do that

#

powershell

#

command prompt is pain, no command prompt

rugged root
#
whole bear
rugged root
vocal basin
#

I recently found out I couldn't do something because Git is outdated

#

@rugged root guess what that something was ^

gusty oriole
#

Hello

vocal basin
#

wait that's, like, in four months from now

rugged root
vocal basin
#

four months and four days

#

a what

#

this I didn't expect

#

hmm what a redirect

vocal basin
#

okay so this is not what I updated Git for

rugged root
vocal basin
#

@rugged root this means no password for login

vocal basin
vocal basin
#

2017?

#

2019?

#

the feature was added in around 2022 I think

#

or a bit earlier

#

commit signing with SSH keys

#

it's easier than GPG

#

in my experience

#

VSCode forwards keys all the way from host to the container

#

via ssh-agent

#

whatever you're formatting, format it with ZFS

#

""

#

rewrite ReFS to be on top of ZFS, and by that I mean get rid of ReFS and just use ZFS

whole bear
#

@rugged root

#

remember me?

vocal basin
#

I might have to migrate the system, so I need to figure out how to move LVM partitions

whole bear
#

yo hemlock

vocal basin
#

LVM has, like, 5 notions of what a drive is

whole bear
#

its splitmas

#

remember the 1 that use to ask to stream

#

and opal

vocal basin
#

physical device, physical volume, volume group, logical volume, and whatever the mount is

whole bear
#

and all that

#

mb

#

look at my old messages

#

yeah

vocal basin
#

I don't even remember why I have that as a project

whole bear
#

can u unmute me?

#

i dont wanna stay another 3 days

#

just too talk

#

ive been in this server before

vocal basin
#

them two fighting over covariance

whole bear
#

i used to code a game called call of booty

#

i gave up

vocal basin
whole bear
#

remember?

#

@somber heath

#

yo

whole bear
#

remember

vocal basin
#

ssh-keygen

#

from git bash, yes

#

use ed25519

#

(not rsa)

#

long slow less secure

#

it requires a bigger key to be as secure

#

ed25519 with 256 bit is considered ok

#

rsa with 4096 bit is considered ok

#

ed25519 key generation is instant

#

rsa key generation is "I'm gonna start scrolling twitter while it happens and never remember to come back to work" long

#

key size and everything speed are the main reasons for ed25519

#

initials of creators

#

there is also non-ed (just ec) version of ed25519

#

which is just slower and less secure

stuck furnace
#

Most Linux users middle click for copy and paste I think

vocal basin
#

I prefer right click but Linux forces me to middle click

stuck furnace
#

Which I’ve found out by pasting random shit where it shouldn’t be pasted

vocal basin
#

VSC terminal has an option to right-click-copy

stuck furnace
#

Heyyy

vocal basin
stuck furnace
#

I am at a wedding lol

#

How’s everyone doing?

vocal basin
#

mirroring the entire docker hub

#

@deep forge python

#

or py with some arguments for what version to use

vocal basin
rugged root
#

Use py

vocal basin
#

so I can rebuild as much as possible in case everything dies again

stuck furnace
#

Errrrm

vocal basin
#

venv\Scripts\activate.ps1 or something

stuck furnace
#

Scripts activate

#

Yeah

#

V nice

vocal basin
#

@deep forge you also need to select the venv in VSC

#

ctrl shift p select interpreter

stuck furnace
#

What’re you working on Kieran?

vocal basin
#

that
0) tells it where to find packages

  1. pastes activate into the terminal; or, if you're lucky, just alters the env
stuck furnace
#

Yeahhh,is it the one that compiles into makefiles?

vocal basin
#

and by "lucky" I mean I have no clue when and why it happens

stuck furnace
#

Or am I think of something else

#

😦

vocal basin
vocal basin
#

cmake cmakes cmakelists into makefiles

stuck furnace
#

You did

stuck furnace
#

Errrr

vocal basin
#

install extensions inside docker run -it --rm'd container so all server-side ones get burned down each time

stuck furnace
#

Lol

#

Alright one second

#

@deep forge you’re the one who wants to stream right?

#

!stream 609675647203409942

wise cargoBOT
#

βœ… @deep forge can now stream until <t:1717193589:f>.

stuck furnace
#

Nicer

#

Yeah hemlock isn’t here at the weekends usually

vocal basin
#

why do you have a json extensions

#

I hope I typod that and it's singular

#

@rugged root lunatics

stuck furnace
#

Hey conch

vocal basin
#

I have 12 extensions enabled in the last window I have opened

stuck furnace
#

Don’t gerbils store food in their cheeks

#

Perl was big back in the day

vocal basin
#

12 I have:

better c++ syntax, c/c++ themes (I have no idea what this is), dev containers, draw.io integration, remote - ssh, remote - ssh: editing configuration files, remote explorer

even better toml, live preview, markdownlint, prettier - code formatter, rust-analyzer

#

I hate the fact that it actually is - not mdash or whatever

stuck furnace
#

You should try treacle tart if you like pumpkin pie

vocal basin
#

@deep forge did you just git add the venv

#

don't

#

.gitignore it

stuck furnace
vocal basin
#

@deep forge "all hope is lost, you've pushed the venv"

whole bear
vocal basin
#

tragic

#

wait what

#

I just read the readme

#

the line about argparse is, uh, ????

#

no, just, like, where does pip install argparse come from?

#

!d argparse

wise cargoBOT
#

Added in version 3.2.

Source code: Lib/argparse.py

Tutorial

This page contains the API reference information. For a more gentle introduction to Python command-line parsing, have a look at the argparse tutorial.

The argparse module makes it easy to write user-friendly command-line interfaces. The program defines what arguments it requires, and argparse will figure out how to parse those out of sys.argv. The argparse module also automatically generates help and usage messages. The module will also issue errors when users give the program invalid arguments.

vocal basin
#

okay so that is some new GPT failure
I knew it used to suggest non-existent packages

#

but now, I guess, it also suggests to install parts of the standard library

#

@deep forge you can compile it to a single executable with no dependencies

#

(Go)

stuck furnace
#

Lol hemlock that accent is amazing

vocal basin
#

on Linux it can statically link the C library

#

shared objects

#

DLLs

#

on Linux, you normally depend on a DLL of glibc

#

(C standard library)

#

debugging is more than just stepping through the program

#

dtrace is a debugger too

#

but a completely different

#

(different to something like gdb)

#

you can't gdb into something like async python and expect to understand what's happening

#

I really just typed docker docker pull, what is wrong with me

#

import logging

#

!d logging