#voice-chat-text-0

1 messages Β· Page 532 of 1

upper basin
#

God, jokes aside I loved this guy. Such a cool figure.

vocal basin
#

I have this

upper basin
vocal basin
#

and this

#

and two of this

upper basin
#

hehe

vocal basin
#

and this

upper basin
#

8 then?

#

If you use them together.

vocal basin
#

24 total

upper basin
#

Yeah, 24 if you get a newer GPU.

vocal basin
#

from what I'm seeing, latest Milk-V released thing doesn't have an NPU

#

(didn't buy that one yet)

upper basin
#

Ngl, I love mini itx.

vocal basin
upper basin
#

It just looks so elegant.

vocal basin
upper basin
vocal basin
#

but no idea how to PoE it

#

idk where to get the module

upper basin
#

Honestly? I thought you'd HAD to go with one of those mainstream motherboard models.

#

Based on your cpu.

#

Didn't know you could use these.

vocal basin
#

I have two motherboards, and (I don't know how many) SBCs

#

not counting the previous AMD stuff I had, it's broken

upper basin
vocal basin
#

wouldn't

upper basin
#

Okay that makes sense now.

vocal basin
#

Jupiter is an SBC, not a motherboard

upper basin
#

Gotcha.

vocal basin
#

also has integrated RAM

#

unlike Titan

valid bobcat
#

Hola

vocal basin
valid bobcat
#

Quien habla espaΓ±ol aquΓ­

vocal basin
upper basin
vocal basin
valid bobcat
#

Quien habla espaΓ±ol aquΓ­

upper basin
valid bobcat
vocal basin
#

!rule 4

wise cargoBOT
#

4. Use English to the best of your ability. Be polite if someone speaks English imperfectly.

upper basin
vocal basin
#

not necessarily

upper basin
#

I see.

vocal basin
#

servers usually don't have audio i/o

upper basin
#

Right.

#

The specs are really solid wrt the price.

vocal basin
#

unusual CPU architecture

#

not x86_64/aarch64

upper basin
#

This reminded me of raspberry pi, and that reminds me of pokemon.

#

Gotta buy em all.

whole bear
#

Hello guys

vocal basin
#

however no SATA

whole bear
#

For mac

upper basin
whole bear
#

@unique wyvern r u using python to create shapes.

wise loom
#

#codinglife #programminglife #chatgpthumor
πŸ”’ Log on public WIFI and be safe by using VPN:
β†’ NordVPN: https://go.nordvpn.net/SH9lu
β†’ SafeShellVPN: https://safeshellvpn.pxf.io/4GqJro

πŸ–₯️ I host domains like a pro:
β†’ Namecheap: https://namecheap.pxf.io/POWVX6

πŸš€ On another successful channel i use AI videos like these:
β†’ TopView...

β–Ά Play video
long dragon
upper basin
#

And that makes me sad hehe.

upper basin
#

Why are you muted and deafened in the vc?

#

All 3 of your asses hehe

wise loom
upper basin
#

Quantum complexity theory is the subfield of computational complexity theory that deals with complexity classes defined using quantum computers, a computational model based on quantum mechanics. It studies the hardness of computational problems in relation to these complexity classes, as well as the relationship between quantum complexity classe...

upper basin
#

qiskit

#

What was the command for seeing information about a package Opal?

#

!pypi qiskit

wise cargoBOT
#

An open-source SDK for working with quantum computers at the level of extended quantum circuits, operators, and primitives.

Released on <t:1758877552:D>.

upper basin
#

There we go.

#

@whole bear

somber heath
#

RISC it for the Qiskit.

paper wolf
#

@upper basin im learning quantum computing, and i learn that you dont get the output on single cycle.....

#

but i dont understand how you build the quantum gates

upper basin
upper basin
paper wolf
#

yeah but based on what i learned if you measure a quantum particle the state of it will loose

upper basin
#

You're going into physics, which is not relevant to quantum computing on a software/mathematic side.

#

Quantum computing is mainly an implementation paradigm for Quantum "mechanics" not physics.

paper wolf
#

im watching 3blue 1brown and he has a video where he has this realy nice explenation on the mechanics

#

but im lost

upper basin
#

It'll clarify everything.

paper wolf
#

tell something in linear algebra

#

i wanna know if i know it ._.

upper basin
#

Quantum states are vectors with complex values and 2 norm normalized (sum of square of elements is 1). Quantum operators are unitary matrices (square matrices that preserve norm) that can be applied to quantum states (which are vectors) to "update" the definition of the state (this is called interference, basically just the change in a vector when you apply a matrix to it).

somber heath
#

@static charm πŸ‘‹

static charm
#

Hello @somber heath

somber heath
#

You are audible.

upper basin
paper wolf
#

vector is a multi dimensional direction

#

matrix is...

upper basin
#

If your matrix preserves norm (length of the vector), then you can think of it as a rotation.

paper wolf
#

on the video im talking about he has this process where, he say you apply something to the state and somehow the state will slowly point to the direction of where the answer may be located

#

but what was the thing you will apply?? and how you will know what value to apply??

upper basin
#

It'll be more helpful.

somber heath
#

@woven belfry @atomic bloom πŸ‘‹

#

@analog tusk πŸ‘‹

analog tusk
#

hello

#

so turns out im not eligible to speak

#

apologies

somber heath
#

!voice

wise cargoBOT
#
Voice verification

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

analog tusk
#

oh yeah i dont have over 25 messages

#

so :)

#

yep lol

#

i've been thinking of getting a bearded dragon

#

low maintenance, chill asf
good pets for lazy people

#

clean shaven dragon

#

smoove

#

aight imma head out. you guys have fun

wind raptor
#

!cpban 1348922980255662121

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied ban to @terse merlin until <t:1759413995:f> (4 days).

wind raptor
somber heath
#

@blissful ferry πŸ‘‹

blissful ferry
#

@somber heath πŸ‘‹

somber heath
#

@dapper moth πŸ‘‹

#

@floral musk πŸ‘‹

floral musk
shut belfry
somber heath
wise cargoBOT
#
Voice verification

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

shut belfry
#

!voice

floral musk
#

okok. Interesting ahh topic. I'm listening.

wind raptor
somber heath
#

@shrewd dragon πŸ‘‹

shrewd dragon
#

@somber heath yo sorry my audio is messed up real quick

upper basin
#

Real or airsoft?

gentle flint
#

hi

shut belfry
upper basin
floral musk
#

lol]

ocean gazelle
#

is that game built on python language?

#

yo can we scrape a movie ticket booking website data?if yes,how do i do that any suggestions?

floral musk
#

tough

#

Yes I have used it.

shut belfry
prisma crystal
#

Which game it is?

floral musk
#

@amber raptor πŸ’€

#

sorry wat.

#

Yea what did you say you heard on the forum ? @amber raptor

atomic bloom
#

@unique wyvern , What is the game

#

Does anyone know which game he is playing?

unique wyvern
#

bg3

vocal basin
#

you can always spend time more efficiently:

alpine crater
#

πŸ‘‹

#

....

#

what did I walk in on

vocal basin
vocal basin
#

this time seems to work as is

somber heath
#

@quiet nebula πŸ‘‹

quiet nebula
somber heath
#

!e py foo = 123 bar = foo // 10 baz = foo % 10 print(bar, baz)

wise cargoBOT
vocal basin
#

time stuff uses quite a lot of divmod

#

(as an example of where it's used)

#

!d operator.floordiv

wise cargoBOT
#

operator.floordiv(a, b)``````py

operator.__floordiv__(a, b)```
Return `a // b`.
vocal basin
#

!d operator.ifloordiv

wise cargoBOT
#

operator.ifloordiv(a, b)``````py

operator.__ifloordiv__(a, b)```
`a = ifloordiv(a, b)` is equivalent to `a //= b`.
vocal basin
#

@somber heath fun fact: in Erlang /= means not equal

somber heath
#

@eternal spoke@sweet gustπŸ‘‹

vocal basin
#

no mutation in the language => free to abuse syntax like that

somber heath
#

!e py foo = 123 ab = divmod(foo, 10) print(ab)

wise cargoBOT
somber heath
#

!e py foo = 123 a, b = divmod(foo, 10) print(a, b)

wise cargoBOT
somber heath
#

!e py a, b, c = 'abc' print(a) print(b) print(c)

wise cargoBOT
sweet gust
#

@somber heath Sorry I was not able to respond, I am not able to use the mic.

somber heath
#

!voice

wise cargoBOT
#
Voice verification

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

vocal basin
#

and I didn't choose to learn Pascal or Python, that was kind of just chosen for me by others

somber heath
#

!source

wise cargoBOT
somber heath
#

@calm mirage πŸ‘‹

wary jacinth
#

!e
e = "a" print(e)

wise cargoBOT
# wary jacinth !e `e = "a" print(e)`

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

001 |   File "/home/main.py", line 2
002 |     print(e)
003 | IndentationError: unexpected indent
somber heath
#

!code

wise cargoBOT
#
Formatting code on Discord

Here's how to format Python code on Discord:

```py
print('Hello world!')
```

These are backticks, not quotes. Check this out if you can't find the backtick key.

For long code samples, you can use our pastebin.

vocal basin
#

!e
```py
print(f"{1:0<{1:0<10}}")
```

#

roughly that

wary jacinth
#

!e

 print(e)```
wise cargoBOT
# wary jacinth !e ```e = "a" print(e)```

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

001 |   File "/home/main.py", line 2
002 |     print(e)
003 | IndentationError: unexpected indent
wary jacinth
#

!e


print(e)```
wise cargoBOT
vocal basin
#

oh, this is such a horrible selection design

what happens here:
my message doesn't have a space or a newline at the end,
however there is a space before (edited) for the sake of display,
you can't select (edited),
but you can select the space

#

test test

#

aaaaaa

somber heath
#
name = "Peter"  # name = input("What is your name? ")
...```
vocal basin
#

!e

_next_line = iter("""\
Peter
""".splitlines()).__next__
input = lambda *args: (print(*args, end=""), (line := _next_line()), print(line))[1].rstrip()

name = input("What is your name? ")
print("hi", name)
wise cargoBOT
vocal basin
#

@wary jacinth did you use set?

#

like

#

{1,2,3}

wary jacinth
#

it was strings

#

not sure if that changes things

vocal basin
#

!e

parties = {"alice", "bob", "eve", "steve"}
print(parties)
wise cargoBOT
vocal basin
#

!e

parties = {"alice", "bob", "eve", "steve"}
print(parties)
wise cargoBOT
vocal basin
#

probably used {...} instead of [...]

#

({1,2,3} might be a misrememberment from Lua/C/C++)

wary jacinth
#

!e


for words in table:
print(words)```
wise cargoBOT
wary jacinth
#

weh?

vocal basin
#

yeah, that is a set

#

not a list

vocal basin
vocal basin
somber heath
#

!e py for letter in "abc": print(letter)

wise cargoBOT
somber heath
#

!e py letter = "a" print(letter) letter = "b" print(letter) letter = "c" print(letter)

wise cargoBOT
vocal basin
#

@wary jacinth if you mean Lua, then that has a very weird notion of storage, really should not take too much of a reference from there

wary jacinth
#

spot on

#

lol

vocal basin
#

Lua mixes list and dict from Python as a single construct

wary jacinth
#

ohhh

#

yeah i honestly just quit lua

somber heath
#

!e py my_list = ["apples", "pears", "oranges", "guavas", "bananas", "apples", "lemons", "pears"] for fruit in my_list: print(fruit)

wise cargoBOT
wary jacinth
#

hurt my brain

somber heath
#

!e py my_list = {"apples", "pears", "oranges", "guavas", "bananas", "apples", "lemons", "pears"} for fruit in my_list: print(fruit)

wise cargoBOT
vocal basin
#

unordered

somber heath
#
{a: b, c: d, e: f}```This is a dictionary.
vocal basin
#

!e

# to illustrate the typical exception
from math import nan, inf
print({float('inf'), float('inf')})
print({inf, inf})
print({float('nan'), float('nan')})
print({nan, nan})
wise cargoBOT
vocal basin
#

@wary jacinth there is no type casting in Python

somber heath
#

!e py import random choices = "apples", "pears", "oranges" for _ in range(10): choice = random.choice(choices) print(choice)

wise cargoBOT
vocal basin
#

except for literal function called typing.cast

#

everything else is conversion and/or construction

#

not casting

#

int('123') is conversion/parsing

#

@wary jacinth link?

#

yes

wary jacinth
vocal basin
#

please be not w3schools

#

@wary jacinth HTML tutorials on w3schools were made before it became a content farm

#

everything afterwards is garbage

wary jacinth
#

so they're more accurate?

vocal basin
#

they're outdated

#

but not as careless as the rest

wary jacinth
#

ah'

vocal basin
#

@wary jacinth no, that's entirely invalid

somber heath
#

!e py value = {1, 2, 3} result = type(value) print(result)

wise cargoBOT
vocal basin
#

in all languages

#

you never convert variable types in any language ever

#

casting deals with values/expressions

wary jacinth
#

!e


print(type(a))```
vocal basin
#

well I guess I now know what other tutorial to tell people to stay away from

wise cargoBOT
somber heath
#

!e py a = [] b = [] c = a print(a == b) print(a is b) print(a is c)

wise cargoBOT
vocal basin
#

probably time to go too

somber heath
#

@flat magnet

vocal basin
#

idk where the other 53 are

somber heath
#

@jovial sinew πŸ‘‹

jovial sinew
#

hello

somber heath
#

!voice If you were wondering.

wise cargoBOT
#
Voice verification

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

somber heath
#

@severe cobalt πŸ‘‹

#

Hey, Check.

severe cobalt
#

Hii

#

Let me talk

somber heath
severe cobalt
#

I know

somber heath
#

In that case, I don't have the ability to allow you to talk.

severe cobalt
#

Do you think i can learn programming without any teacher

#

Am completely unknown about this

somber heath
#

But you can self teach, yes. With resources.

#

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

severe cobalt
#

Oh what are the basic rules and cmds

somber heath
#

Yes, Check. Hello.

severe cobalt
#

Are you a bot ?

somber heath
#

I am not.

severe cobalt
#

Oh lol

somber heath
#

I should keep a tally board.

severe cobalt
#

Bro i did not say the server rules

#

I said the programming language and rules some basic

somber heath
#

You did say rules and commands and you weren't specific.

#

See the resources page linked above.

severe cobalt
#

I forget i need to be specific in programming

#

🀣

somber heath
#

It is an exercise in specifics, yes.

severe cobalt
#

How long have you been programming

somber heath
#

I've been programming in Python for about 10 years.

#

Or maybe 6.

severe cobalt
#

Am I allowed to ask you age

#

?

somber heath
#

You're allowed to ask.

severe cobalt
#

How old r you

#

Cause i am just 18

somber heath
#

I'd prefer to let that remain a mystery.

severe cobalt
#

Oh

#

I think its perfect time for me to learn programming

somber heath
#

@dense path πŸ‘‹

#

Yeah, it's been about 10 years.

#

I had a brain fart.

severe cobalt
#

Dang

somber heath
#

I couldn't remember how long I've been doing Python, that's how long I've been doing it.

severe cobalt
#

πŸ’€

somber heath
#

@arctic adder πŸ‘‹

severe cobalt
#

I am from nepal

#

πŸ‡³πŸ‡΅

#

Its normal as usual now

#

We aredy got new government

somber heath
#

Or toe may shuns.

severe cobalt
#

What r the things you made

#

@somber heath

somber heath
# severe cobalt What r the things you made

I made a prototype chat client/bot as my first big project. I made a thing for playing chess on the platform, too. Then the platform it was for died.

After that, I got into making pretty pictures. People seem to like them.

#

I haven't done a lot since.

severe cobalt
#

Ohh graphics design ?

somber heath
#

@dense path Yes.

candid spire
#

Hello πŸ‘‹

somber heath
severe cobalt
#

Do you even earn ?

severe cobalt
#

Ok

somber heath
#

@whole bear πŸ‘‹

whole bear
#

sorry guys i forgot to turn off my mic

somber heath
#

@astral comet πŸ‘‹

vocal basin
#

I've been informed not to open the door to anyone today

#

fun stuff

somber heath
#

@simple geyser πŸ‘‹

#

Correa is a genus of eleven species of flowering plants in the family Rutaceae that are endemic to Australia. Plants in the genus Correa are shrubs to small trees with simple leaves arranged in opposite pairs, bisexual flowers with four sepals, four petals usually fused for most of their length and eight stamens.

simple geyser
somber heath
fast jolt
#

hii

somber heath
#

@dreamy lava πŸ‘‹

#

@sand plaza πŸ‘‹

vocal basin
vocal basin
#

@wind raptor currently actively avoiding police inspection

#

my existence

#

(second monitor, since it's easier to spot from the outside, is turned off)

#

@wind raptor regular thing

#

just don't open the door and pretend you're not there

#

neighbour warned us

#

usually not thorough, mostly just asking questions

#

but

#

would rather be safe from that too

#

name, age, occupation, legal place of residence (may differ), whether there are any people living with mental disabilities, whether you own any drones, etc.

#

kind of

#

the goal for me is not to show up on either of two apartments' lists

#

in any case safer this way given I'm very openly anti-regime

#

@wind raptor in the latest presidential election, results of the least regime-aligned candidate had to be artificially inflated

#

quite unusual

#

all "opposition" candidates needed to look as if they have the same results

#

so two systematic ones' results were decreased and third's were increased

#

also to implicate the candidate in the corruption

#

large part of those downloads are crawlers

#

@wind raptor thousands?

#

on crates.io you get something like 500 per version eventually

vocal basin
#

npm hack had some, like, negligible amount

#

is a binary tree with parent pointers a triply linked list

lavish rover
#

probably more of a graph since you have cycles between parents and children

vocal basin
#

coffeemphetamine

#

abolish sleep, accept insomnia

wind raptor
vocal basin
#

@peak depot
-- why do you have such big eyes?
-- grandchild, we're in an anime

woeful blaze
wind raptor
#

Yes

woeful blaze
vocal basin
#

@wind raptor Oracle

#

Oracle would ask

#

but for different reasons

#

they want to govern others' data

#

.onion is HTTP-only

#

wrong question

#

can't help with it

wind raptor
#

back in 10

woeful blaze
#

I can't wait to get networking in the game

whole bear
#

Guys what does it mean
'You have been active for fewer than 9 ten-minute blocks'?

#

I was in voice for more than 2 hours

candid spire
#

In the server

#

Like for 90 minutes a week

wary jacinth
#
num1 = 2
num2 = 4

if operator == "+":
    result = num1 + num2
elif operator == "-":
    result = num1 - num2
elif operator == "*":
    result = num1 * num2
elif operator == "/":
    if num2 != 0:
        result = num1 / num2
    elif num1 != 0:
        result = num1 / num2
    else:
        result = "Error! Division by zero."

print(result)```
#

oops

vocal basin
vocal basin
#

now works

#

it sometimes says it's connected but doesn't actually work

wind raptor
#

!cpban 454688037083938816

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied ban to @lusty saffron until <t:1759539825:f> (4 days).

vocal basin
#

it's not targeted yet so shouldn't be bothered for the next several months

#

tbf it's really easy to tell them apart from just random people by how assertively they use the doorbell

#

hold it for a long time

#

I did not sleep twice yesterday, so no

#

(I often do sleep twice a day)

#

yes

#

or two 10 hour

#

I have had times before when I was sleeping 20~22h a day for, like, a week

#

@wind raptor containerised?

#

(not VM)

#

resource collocation

#

in case of cloud

vocal basin
wind raptor
vocal basin
#

green

#

@somber heath what about Codeberg

#

and GitLab

#

when those

#

@wind raptor GitHub has tools to bypass restrictions

#

that's why

#

regardless of what they say

#

(the actual real reason why it's getting banned anywhere)

#

@somber heath at least mirroring Git stuff is somewhat doable

#

I've had to deal with it before

#

not [only] for restrictions reasons

#

time to resurrect cypherpunk movement

#

I'm gradually resurrecting the E2EE chat project that I used to work on

#

for the past ~5 years

#

should be alive somewhere next year probably?

#

only concerned about the API/data model for now

#

I kind of want to make the server part of it largely irrelevant

#

@somber heath works until it's banned everywhere

#

banning VPNs is only possible through allowlist-based internet

#

i.e. not internet

#

Russia is planning that

#

fight between good and neutrality

#

@obsidian dragon Tor isn't peer-to-peer

#

peer-to-peer is a lie if you do TCP or UDP

#

those protocols are incapable of peer-to-peer

#

UDP can pretend to be peer-to-peer-ish

#

as in both sides are servers

#

at least there are some good news from recently

#

RT's chief editor's husband is finally dead

#

hooray

#

deserved to die, but, surprisingly, wasn't killed

#

@somber heath police are clearly already selling it

#

that's just a known fact

#

it happens everywhere

#

whenever any information gets there

vocal basin
wind raptor
#

I'm going to head to bed. I don't think segfault is coming. Cheers all!

vocal basin
#

@obsidian dragon are not will

#

yes

#

good thing Discord isn't regulated here

#

just banned altogether

#

@somber heath video doesn't leave, but per-frame screenshots do

#

"technically true"

#

the absolute fucking joke was the car data situation

#

wait let me find the exact wording

vocal basin
#

no no no

#

all cars

#

@somber heath that's the argument lobbyist use to prevent repair laws happening

tulip plover
#

their is no free apps, if it's free it's taking your data

vocal basin
#

it's taking your data

#

always

#

even when paid

tulip plover
vocal basin
#

even more so when paid

tulip plover
vocal basin
#

yes, you provide them with financial information

#

and purchase habits

#

and they want to get more of your information

#

because they want you to pay more

tulip plover
vocal basin
#

remember: companies won't treat you better because you paid them

companies will treat you worse because they think you're dumb enough to pay again

#

@somber heath this reminded of this exchange

#

@somber heath the last sentence is quite great

#

survival of the chargedest

#

sharing battery?

#

communism?

#

instructions unclear, both ends started charging the cable itself

#

I have a Mini-ITX board which can act as either end of USB-C

#

either powered or powering

#

oh I suddenly have a terrible idea

#

can I change how it's powered on the fly

#

that is an expensive experiment sounds like

#

there are

#

like

#

four options of how to power it

#
  • ATX
  • USB-C
  • power hole (idk how to call it, just default round connector)
  • PoE
vocal basin
#

@tulip plover not currently

somber heath
#

!code

wise cargoBOT
#
Formatting code on Discord

Here's how to format Python code on Discord:

```py
print('Hello world!')
```

These are backticks, not quotes. Check this out if you can't find the backtick key.

For long code samples, you can use our pastebin.

nocturne raft
#

!e

fname = input("Enter file name:")

try:
    fhand = fname.open()
    print(fhand)
except:
    print("This File name does not exist:",fname)
    quit()
somber heath
#

!d open

wise cargoBOT
#

open(file, mode='r', buffering=-1, encoding=None, errors=None, newline=None, closefd=True, opener=None)```
Open *file* and return a corresponding [file object](https://docs.python.org/3/glossary.html#term-file-object). If the file cannot be opened, an [`OSError`](https://docs.python.org/3/library/exceptions.html#OSError) is raised. See [Reading and Writing Files](https://docs.python.org/3/tutorial/inputoutput.html#tut-files) for more examples of how to use this function.

*file* is a [path-like object](https://docs.python.org/3/glossary.html#term-path-like-object) giving the pathname (absolute or relative to the current working directory) of the file to be opened or an integer file descriptor of the file to be wrapped. (If a file descriptor is given, it is closed when the returned I/O object is closed unless *closefd* is set to `False`.)
somber heath
#

!d with

wise cargoBOT
#

8.5. The with statement

The with statement is used to wrap the execution of a block with methods defined by a context manager (see section With Statement Context Managers). This allows common try…except…finally usage patterns to be encapsulated for convenient reuse.


with_stmt          ::= "with" ( "(" with_stmt_contents ","? ")" | with_stmt_contents ) ":" suite
with_stmt_contents ::= with_item ("," with_item)*
with_item          ::= expression ["as" target]
```...
somber heath
#
with open(filename, mode) as file:
    ...```
#

!d pathlib

wise cargoBOT
#

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

somber heath
#
try:
    ...
except foo:
    ...```
```py
try:
    ...
except (foo, bar):
    ...```
```py
try:
    ...
except foo:
    ...
except bar:
    ...```
```py
try:
    ...
except foo:
    ...
except (bar, baz):
    ...```
#

try, except, else, finally

nocturne raft
#

hi @shrewd imp

shrewd imp
#

hi

somber heath
#

!voice

wise cargoBOT
#
Voice verification

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

shrewd imp
somber heath
#

@minor basalt πŸ‘‹

nocturne raft
#

hi @wise path

wise path
nocturne raft
#

New in the server?

#

!voice

wise cargoBOT
#
Voice verification

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

nocturne raft
#

What about you? @shrewd imp

shrewd imp
#

i dont have permission to speak

#

what shuld i ddo

nocturne raft
#

Go to this channel @shrewd imp

#

!voice

wise cargoBOT
#
Voice verification

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

shrewd imp
#

i should send over 25 mssg

nocturne raft
#

Correct

#

Is part of the verification.

shrewd imp
#

can i send it now?

nocturne raft
#

So just talk here lol. and I will answer

shrewd imp
#

ahh thank so much

#

so i really need talk to u

nocturne raft
#

Yes sir.

#

How far are you into programming?

#

@shrewd imp

shrewd imp
#

i am begiiner for that i need talk to u in voice

shrewd imp
nocturne raft
#

I am also a begginer. I started programming about a month ago

#

I am taking an online course.

shrewd imp
#

ohh i have so much question

#

but now i m taking only frree courses from youtube

nocturne raft
#

I am taking in coursera.

shrewd imp
#

ah i know coursera

#

is it good?

nocturne raft
#

Is good because you get assignments. but that is about it.

#

and is like a path, not random YT videos.

shrewd imp
#

there aare manyy videos there

nocturne raft
#

Camlink 4k

#

@haughty pier

shrewd imp
#

still voice doesn t work

nocturne raft
#

What other things are you missing? @shrewd imp

#

there is like 3 criterias.

shrewd imp
#

i need specific advices for a begginner in progrraming

shrewd imp
#

is there other discord grp wich are very helpfuul for python beginner ? wher ppl are chating like u ?

nocturne raft
#

I tried other ones but they are basically dead. This is the most active I've found.

#

But what have you learn so far?

shrewd imp
#

i v learned only strings , integers, floats , Boolean, if else, type casting

#

what about u?

nocturne raft
#

So far the same.
now I am learning about opening and reading external files and having an output out of it.

#

And if soemthing dosen't work. To prompt the user, as opposed to giving a traceback error.

#

so the Try and except blocks.

shrewd imp
#

is there other sites wich are helpfull ?

nocturne raft
#

I would have to get back to you on that @shrewd imp

shrewd imp
#

are a graphic designer?

haughty pier
nocturne raft
#

@shrewd imp I know how to use Photoshop, Premiere and After Effects.

shrewd imp
#

so i v started like yesterday python

#

i hear i should know basics

nocturne raft
#

Oh you can run Code here by the way

shrewd imp
#

wich basic i should learn especiaaly?

nocturne raft
#

e!

print("hello world")
shrewd imp
#

and more suggest me another thing to learn like photoshop or smtnh easier?

nocturne raft
#

!e

print("hello world")
wise cargoBOT
shrewd imp
#

print("Hello world")

nocturne raft
#

!e

largest = None
smallest = None
while True:
    snum = input("Enter a number: ")
    if snum == "done":
        break
    try:
        fnum = float(snum)
    except:
        print("Invalid input")
        continue
    if largest is None:
        largest = fnum
    elif fnum > largest:
        largest = fnum
    if smallest is None:
        smallest = fnum
    elif fnum < smallest:
        smallest = fnum
    # print(fnum)

print("Maximum is",int(largest))
print("Minimum is",int(smallest))
wise cargoBOT
shrewd imp
#

i dont have also acces to this ?

nocturne raft
#

There is a certain way you have to type it.

#

!e

wise cargoBOT
#
Missing required argument

code

shrewd imp
#

!e

wise cargoBOT
#
Missing required argument

code

nocturne raft
#

@shrewd imp

shrewd imp
#

!e

wise cargoBOT
#
Missing required argument

code

nocturne raft
#

!e

print("this is a test!")
wise cargoBOT
haughty pier
#

!e

start, stop, step = 0, 3, 1
for count, index in enumerate(range(start, stop, step), start=1):
    print(f'{index=}, {count=}')
print(f'we iterated {count} times')

Python is indexed on 0 - but counting starts at 1.

wise cargoBOT
shrewd imp
#

!e '''py print("Hello world")

wise cargoBOT
# shrewd imp !e ...

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

001 |   File "/home/main.py", line 1
002 |     '''py                                                                                                                                                                     print("Hello world")
003 |     ^
004 | SyntaxError: unterminated triple-quoted string literal (detected at line 1)
shrewd imp
#

still dont get it

nocturne raft
#

Did you close it? @shrewd imp

#

you have to use the back ticks to close the code on discord

haughty pier
#

!e

start, stop, step = 1, 5, 1
for index, count in enumerate(range(start, stop, step)):
    print(f'{index=}, {count=}')
print(f'we iterated {count} times')

Python is indexed on 0 - but counting starts at 1.

wise cargoBOT
nocturne raft
#

!e

hrs = 45
rph = 10.50
h = float(hrs)
r = float(rph)
xt = h-40
otr = 1.5
if h <= 40 :
    print(h*r)
if h > 40 :
    h = 40
    print(r*otr*xt + (h*r))
wise cargoBOT
nocturne raft
#

@shrewd imp You got it?

shrewd imp
#

no still

nocturne raft
#

@shrewd imp I will see you around bro. You can speak in 3 days.

shrewd imp
#

yeaah hh

#

yes

cobalt pasture
#

hi

#

good

#

thanks

#

im making a roblox luau hub

#

i lowk prefer lua

#

im making a script

#

ya

#

exploit

#

chris check dms so i can send u a screenshot lol

#

cant wait for gta 6 to come out

wind raptor
cobalt pasture
#

nah, i just wanna play it lol

#

it looks really good

#

did you just sayu

#

bad reviews of six seven

#

😭

#

okay good i thought that there was a game called 67 on steam i was about to flip

#

πŸ’”

craggy vale
wind raptor
#

Hi @gray mantle πŸ‘‹

candid spire
#

I had bitter gourd and I had vomit

#

Raw vegetables are bad for digestion?

wind raptor
#

I've never heard of people eating gourds, pumpkins, squash, and the like without cooking them.

candid spire
#

I stir fry them

#

It was crunchy though

#

And It was mistake

wind raptor
#

al dente is not a good cook for that, no

candid spire
#

A quick search told me eating bitter gourd is bad for diabetic patients as it decreases sugar level quickly

#

And likely digestion issues are higher

wind raptor
#

What am I looking at there?

#

Why is it blue?

dry jasper
#

@misty bough πŸ‘‹

wind raptor
#

Wait, is that burnt to all hell?

vocal basin
wind raptor
#

lol

#

dente's inferno reference?

vocal basin
#

TIL his other part of the name actually does start with Al

wind raptor
#

til also

somber heath
#

@onyx wave πŸ‘‹

somber heath
#

@grave mist πŸ‘‹

#

@south nebula πŸ‘‹

south nebula
#

hello

somber heath
#

@tawny adder πŸ‘‹

tawny adder
#

Hello

wind raptor
#

Hey @slender sierra πŸ‘‹

somber heath
#

@ashen garnet πŸ‘‹

grave mist
timid quartz
#

i need help in school

wind raptor
#

Hey @timid quartz

#

What were you looking for help with?

timid quartz
#

english

#

wanna help

wind raptor
#

Depends, not really the kind of thing I like to help with in the Python server

#

What kind of English work?

timid quartz
#

oh.

#

like school english

wind raptor
#

I assumed it was school English

timid quartz
#

can i show u

wind raptor
#

Nothing is preventing you from sharing a screenshot

timid quartz
wind raptor
#

Are you going to share any context for this?

timid quartz
wind raptor
#

Then yes, I recommend doing the slideshow.

timid quartz
#

pls

wind raptor
#

No, it's not coding related

timid quartz
#

aw

wind raptor
#

You haven't explained what you needed help with at all, so I can't really do much and I don't feel like I should have to be the one to come up with all the questions that it would take to get you to tell me. So good luck.

timid quartz
#

oh yea chris i got a girlfriend

vocal basin
timid quartz
slender sierra
dry jasper
full dagger
dry jasper
wind raptor
#

Hey, sorry, gotta head out and do some chores. Be back on after. Cheers

full dagger
#

Alphacool 1u server case

stark crow
#

Copyright (c) 2016, 2021, Oracle and/or its affiliates.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates.
Other names may be trademarks of their respective owners.

Type '\help' or '?' for help; '\quit' to exit.
mysql-py> ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'YourNewSecurePassword';
File "<string>", line 1
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'YourNewSecurePassword';
^
SyntaxError: invalid syntax
mysql-py> ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'YourNewSecurePassword';

dry jasper
#

Sudo mysql -u root

stark crow
#

Type '\help' or '?' for help; '\quit' to exit.
mysql-py> Sudo mysql -u root
File "<string>", line 1
Sudo mysql -u root
^
SyntaxError: invalid syntax

dry jasper
#

SHOW DATABASES

#

;

muted silo
stark crow
#

Enter password:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

wise loom
#

The timer

#

Is this a new feature?

timid quartz
#

up

wise loom
#

counting up ⬆️

scarlet halo
whole bear
#

@ik

#

@wise loom its a game

#

@wise loom buddy i need some help

wise loom
whole bear
#

@unreal berry DO YOU KNOW how can i connect my go daddy domain to clour flare?

whole bear
#

x

#

x

#

haha

#

this guy sounds stupiddd!!!

#

hahahahaha

#

@unreal berry hgahahhahaahha

#

hahahahah

#

hhahaha

#

this shit is actually funnnnyyy

unreal berry
#

@long dragon

Say this word Internal Pointer Variable

whole bear
#

internal pointer varible

whole bear
#

hahhaha

#

loll

#

lolll

#

lolll

#

bruhhhhhhh

#

hsahhahahaha

#

thisssss shit is actually funnnnyyyy

#

eeendiiiaaa

whole bear
#

eeeendiiiaaaa

#

he do 1 real hand and 1 robot shit

whole bear
#

@unreal berry do you know how to connect my go daddy domain to cloud flare?

unreal berry
whole bear
#

yes but i am not getting this shyytt!!

unreal berry
#

If you wanna deploy it on github will be easier config

whole bear
unreal berry
whole bear
#

heheh

#

cz m aryan maybe thats whyducky_drawing

whole bear
#

blood race

#

its a blood race

#

@unreal berry dont teach him he will be the next alex from microsoft

unreal berry
whole bear
#

@still carbon matrishwah

#

@still carbon fire

#

its a name

#

matrishvan

#

@still carbon its a word from rigveda its a holy name

whole bear
#

haha

vocal basin
#

I have way too many other games to play, so still haven't finished that one

whole bear
#

steve from microsoft

vocal basin
unreal berry
#

They got Lava Canai

whole bear
vocal basin
whole bear
#

in voice verification its saying You have been active for fewer than 9 ten-minute blocks. @still carbon

vocal basin
#

i.e. don't spam

#

is Slovania a hybrid of Slovenia and Slovakia?

#

"my favourite Viking country: Hungary"

#

@still carbon I heard Taiwan too

#

"-1'000 social credit"

vocal basin
#

10.62%

#

hmm

#

I thought it was slightly more

#

this would be so funny for me to say "my WebSocket multicast is better than your WebSocket multicast"

#

@mild quartz πŸ‘‹

#

-- very stressful field, how do I put this?
-- "bubble"

whole bear
#

yooooo

nocturne raft
wind raptor
#

Gotta head out. Cheers.

#

Good seeing you again @mild quartz πŸ‘‹

mild quartz
#

see you @wind raptor good to see you

amber raptor
#

Anthropic has completed a Series F fundraising of $13 billion led by ICONIQ. This financing values Anthropic at $183 billion post-money. Along with ICONIQ, the round was co-led by Fidelity Management & Research Company and Lightspeed Venture Partners. The investment reflects Anthropic’s continued momentum and reinforces our position as the lea...

#

@mild quartz I think overall LLMs are bad for coding. That being said, it's not going away because πŸ€‘ reasons.
My concerns are
A: Code quality does not improve because it's BAD right now (though it works....)
B: I think it's very bubbley with so much hype around this topic and reminds me of Blockchain/Crypto (Scams are much less in LLM space)
C: I'm not sure finances will make sense. If coding LLMs cost 4000/month per agent to run, that makes their value proposition much worse. We don't know whole value here since big name companies are not being 100% transparent.

I guess we will see who is right.

mild quartz
#

I disagree with (A) but do admit they may not be great at devops stuff
(B) Difference is that there is real economic value being generated
(C) This is definitely a real concern

vocal basin
#

I see direct damage done to coding skills of people around me and that's the most depressing part, since, unlike AI bros, I have empathy

#

it's like talking to someone whose brain gets devoured by dementia, but this time it's technology-induced, this is not fun

pure oyster
#

I am using LLMs to cope with code without any documentation or completely new concepts out of my comfort zone. But never to write stuff.

vocal basin
#

βœ… AI is very good at creating misdocumented code

vocal basin
#

so they misinform you

#

even if it's in the training data

#

for example,

#

correct answer to that question: there is no type casting in Python

#

with, optionally, a clarification "did you mean conversion?"

#

another incorrect answer

vocal basin
pure oyster
#

Good point. I guess that's why RAGs are a step closer to something you can trust. Or just verify through Google lol

vocal basin
# vocal basin another incorrect answer
  • escaping is not sanitisation
  • query parameters are not sanitisation
  • sanitisation is bad approach (because alters data)
  • stop interpolating SQL queries
  • validate data, don't alter it
#

(it does mention points 4 and 5 later on, but it must be in the first paragraph not at the end)

#

"let's hope I don't get a heart attack from reading this"

#

okay, it got it right mostly

#

just very poorly structured

vocal basin
vocal basin
#

do be aware that it's the fast free LLM they offer not proper ones

#

but illustrates the point

vocal basin
pure oyster
#

Im surprised, thanks for testing it. In general, these models cannot say "that they don't know something" or detect out-of-distribution stuff

vocal basin
#

I've seen LLMs do way worse

mild quartz
#

the free models are way way worse than the paid ones

vocal basin
#

I recently gave it a task to which a human would normally just respond "what?"

mild quartz
#

give anthropic $20 and try sonnet 4.5

vocal basin
#

I won't give them any money

pure oyster
#

It makes me sceptical when I ask a design philosophy question because it's not easily verifiable through a RAG or google search

vocal basin
#

for two reasons

#

one is more important: I can't

#

(Russia)

vocal basin
mild quartz
#

new models are much better at refusals

vocal basin
#

asking for clarifying questions rather than hallucinating

mild quartz
#

older models are like eager beavers that will hallucinate an answer

vocal basin
mild quartz
#

yes

vocal basin
#

I believe LLMs can get into the right direction

#

but currently is soooo cancerous and just wrong

#

need to fix it quick

vocal basin
pure oyster
vocal basin
pure oyster
#

Agreed.

#

I already see in my work that the level of discussions is lowering. I feel this has to do with it. Or maybe not lol.

vocal basin
#

(based on the general description of what's expected of it)

still carbon
#

GTG

#

On Call

pure oyster
#

Reimplement in what way

vocal basin
#

I gave it approximately this description:

in Rust, implement a Stream+Sink which combines several Stream+Sinks into one, such that sending a message through it sends it to each underlying connection
(was worded differently, but just a general idea)

#

I don't remember what I prompted exactly

#

but

#

it got that part right

#

it was only the implementation that was totally broken

vocal basin
#

since, from what I remember, it was way too broken

#

okay this is new

pure oyster
#

Sick.

vocal basin
whole bear
#

jjkl;jk

#

jj

wise loom
#

anyone awake?

ashen garnet
wind raptor
#

!cpban 896217579650166784

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied ban to @misty lynx until <t:1759669441:f> (4 days).

craggy vale
#

this and this @wind raptor

wind raptor
#

!paste

wise cargoBOT
#
Pasting large amounts of code

If your code is too long to fit in a codeblock in Discord, you can paste your code here:
https://paste.pythondiscord.com/

After pasting your code, save it by clicking the Paste! button in the bottom left, or by pressing CTRL + S. After doing that, you will be navigated to the new paste's page. Copy the URL and post it here so others can see it.

wind raptor
peak depot
#

@wind raptor @midnight birch πŸ‘‹

midnight birch
peak depot
#

I was sick for couple of days but starting to feel better

vocal basin
#

and now it works

#

@wind raptor services not tools

#

yes

midnight birch
vocal basin
#

@wind raptor not really the point

#

just don't connect your raspberry pi to the internet and you have all the security

craggy vale
#

my image generator on ps4 just try 😁

#

my ps4 pro can generate upto 128*128

vocal basin
#

@wind raptor on the other hand: they don't do further damage

wispy harbor
#

guys

#

i have a question

vocal basin
vocal basin
wispy harbor
#

why cant i speak

vocal basin
#

!voice

wise cargoBOT
#
Voice verification

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

wispy harbor
#

oh ok

vocal basin
#

can we shutdown the Russian government instead pithink

#

do we even have that pithink

amber raptor
wind raptor
wise cargoBOT
#
Voice verification

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

vocal basin
wind raptor
#

Just making sure πŸ˜…

vocal basin
wind raptor
#

f

vocal basin
#

you've been saved by the time delay

whole bear
#

Go back to work

vocal basin
#

πŸ’₯

whole bear
#

Because if you ain't working you are yapping

vocal basin
#

@amber raptor I'm likely to end up in a similar situation of reinventing k8s but at least there's an excuse: embedded

whole bear
#

Yapping is exclusive to filthy rich or filthy poor

#

Average dudes are not allowed to be yapper 😎

vocal basin
#

(and, like, see the previous remark about needing a CTO who can actually drive that to completion, and we have that)

#

yeah, built-in DNS is great

whole bear
#

Modern day slavery

vocal basin
#

@wide imp learn Odin instead

#

(only half-trolling)

amber raptor
#

@wind raptor version: '3' networks: frontend: driver: bridge services: dev: image: "mcr.microsoft.com/devcontainers/python:1-3.12-bullseye" restart: always volumes: - ../..:/workspaces:cached networks: - frontend beanstalkd: image: ghcr.io/beanstalkd/beanstalkd:latest platform: linux/amd64 restart: always networks: - frontend ports: - '11300:11300' aurora: image: aurora:latest restart: always networks: - frontend ports: - '3000:3000'

vocal basin
whole bear
#

Less yap more code

#

Cycle of life

whole bear
#

wake up > brunch > work > dinner> sleep

#

until you ide aka die

#

work harder to make me richer 😎 - Founder and share holder

midnight birch
somber heath
#

@wide imp What you see as ease is the end result of a lot of work.

vocal basin
#

if you need it to only expose locally, 127.0.0.1:3000:3000

#

iirc

wide imp
#

i feel you

whole bear
whole bear
#

You can no longer

#

Ide aka die

#

A job which is fun and rewarding is 🚒 pilot

#

Travel around the world and eat good

somber heath
#

Carrier pigeon.

#

The sky darkens. Somebody ordered a few reams.

vocal basin
#

drone train

open venture
#

@rugged root can i get streaming rights?

#

@wind raptor

wind raptor
#

!stream 645203135090130944 30M

wise cargoBOT
#

βœ… @open venture can now stream until <t:1759329033:f>.

open venture
vocal basin
#

@rugged root PHP latest or PHP 5?

#

WPβ„’injection

#

@rugged root weren't some providers disabling them?

#

how dare you pay any WP-related money to anyone other than Matt

somber heath
#

@wide imp Talking is fine.

#

@wide imp Paint a picture that describes in brief your Python knowledge so far.

#

Try except?

modest shale
#

yo @somber heath u were dissapared out of now wheere and finaly here

vocal basin
#

afaik I use try-finally more often than try-except

vocal basin
#

(random note)

somber heath
#

Parentheses.

wind raptor
#

(1, 2, 3)

#

{1, 2, 3}

vocal basin
#

quick membership check

#

if there are at least two items, in set_ is faster than in list_

#

you can't index sets

#

@wind raptor no???

#

in

#

you can only in, for _ in

#

with relation to elements

#

@wind raptor it's very unordered

#

numbers just happen to have hash be equal to themselves

#

!e

print({-3, -2, -1, 0, 1})
print({1, 0, -1, -2, -3})
wise cargoBOT
somber heath
#

They can appear to have an order, but consider it as unreliable and imagine it doesn't exist.

You can for loop over a set and get out each thing exactly once.

vocal basin
#

!e

print({-2, -1})
print({-1, -2})
wise cargoBOT
vocal basin
#

!e

print({-3, -2, -1, 0, 1})
print({-3, -1, -2, 0, 1})
wise cargoBOT
vocal basin
#

aaaaa

#

I'm confused

somber heath
#

@wide imp Try not to think of lists as containing anything other than shortcuts to objects. References. Because...

#

!e py a = [] b = [a, a, a] print(b) a.append(123) print(b)

vocal basin
wise cargoBOT
somber heath
#

It's tempting to imagine that lists contain the objects themselves.

vocal basin
#

@wind raptor what's your opinion on using lists instead of tuples for __all__ exports?

open venture
#

jheezzzzzzzzzzzeeeeeeeeeeeeeeee

vocal basin
#

even though it's generally immutable

open venture
#

finished this katas

#

LETSSSSSSSSSSSSSS GOOOOOOOOOOOOO

vocal basin
open venture
#

8 lmao

vocal basin
#

or whatever it's called

open venture
#

but it was so confusing

#

becase it needed to convert a list to a int

vocal basin
#

ugh how do I sort stuff I finished based on level

#

I don't think I completed anything above 2 yet

#

they get a bit too time-consuming