#voice-chat-text-1

1 messages ยท Page 12 of 1

warped hornet
#

I know sheldon loves string theory

frosty scarab
turbid silo
#

you know him ?

#

he has a book on string theory and talks about this stuff

warped hornet
#

I se

turbid silo
#

I was interested in this while i was in school but AI and all this got me

warped hornet
#

no surprise

turbid silo
#

bye brov

warped hornet
#

AI is attention *****

turbid silo
#

AI is buzzzzzzzzzzzzzzzzzzzzzz

#

Bsdcat cool name , but I felt kind of swearing when @stuck bluff said it

#

yeah

#

go ahead

#

hey gg bye @warped hornet

#

yeah let's talk tmro

warped hornet
#

sure

stuck bluff
#
xkbset m
xkbset exp =m```
#

@supple spire ๐Ÿ‘‹

supple spire
#

hello

#

@stuck bluffwhy he talking about mechanical keyboards?

warped hornet
supple spire
#

i feel the same way

#

@stuck bluff yu live in Uk?

stuck bluff
#

@timber furnace ๐Ÿ‘‹

timber furnace
#

Sorry I joined by mistake. Has sone code issue. Looking for help

stuck bluff
#

@misty sinew

#

!voice

coarse hearthBOT
#
Voice verification

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

misty sinew
#

!voice

stuck bluff
#

@inland pasture ๐Ÿ‘‹

#

!code

coarse hearthBOT
#
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.

stuck bluff
#

!resources

coarse hearthBOT
#
Resources

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

misty sinew
#

at new Player (/home/runner/Vampire-music-or-kronix-music-bot-v13-2/node_modules/erela.js/dist/structures/Player.js:102:19)
at new <anonymous> (/home/runner/Vampire-music-or-kronix-music-bot-v13-2/src/structures/Lavamusic.js:17:9)
at Lavamusic.create (/home/runner/Vampire-music-or-kronix-music-bot-v13-2/node_modules/erela.js/dist/structures/Manager.js:213:16) at Object.execute (/home/runner/Vampire-music-or-kronix-music-bot-v13-2/src/commands/Music/play.js:58:37) at Object.run (/home/runner/Vampire-music-or-kronix-music-bot-v13-2/src/events/Client/messageCreate.js:122:21) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) Promise { <rejected> RangeError: No available nodes. at new Player (/home/runner/Vampire-music-or-kronix-music-bot-v13-2/node_modules/erela.js/dist/structures/Player.js:102:19) at new <anonymous> (/home/runner/Vampire-music-or-kronix-music-bot-v13-2/src/structures/Lavamusic.js:17:9) at Lavamusic.create (/home/runner/Vampire-music-or-kronix-music-bot-v13-2/node_modules/erela.js/dist/structures/Manager.js:213:16) at Object.execute (/home/runner/Vampire-music-or-kronix-music-bot-v13-2/src/commands/Music/play.js:58:37) at Object.run (/home/runner/Vampire-music-or-kronix-music-bot-v13-2/src/events/Client/messageCreate.js:122:21) at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

#

@junior locust

stuck bluff
#

Sorry. JS is not something I am proficient in.

misty sinew
#

@stuck bluff

#

where i have to code?

#

to make a bot

frosty scarab
#

'import random
'''
o= sasso
1= forbice
2= carta
'''
ai=random.randint(0,2)
human=0
countai=0
counthuman=0
def sasso():
if human==ai:
print('pareggio')
if human==0 and ai==1:
print('hai vinto')
counthuman+=1
if human==0 and ai==2:
print('hai perso')
countai+=1
sasso()
def forbice():
if human==ai:
print('pareggio')
if human==1 and ai==0:
print('hai perso')
counterai+=1
if human==1 and ai==2:
print('hai vinto')
counterhuman+=1
forbice()
def carta():
if human==ai:
print('pareggio')
if human==2 and ai==0:
print('hai vinto')
counterhuman+=1
if human==2 and ai==1:
print('hai perso')
counterai+=1
carta()
print('\033[32m menu:\n welcome to the game \033[0m')

while True:
ai=random.randint(0,2)
human=int(input('\n choose stone (0) paper (2) or scissors (1)'))
if human==1:
forbice()
if human==0:
sasso()
if human==2:
carta()
print(countai,'\n',counthuman)'

misty sinew
#

i want to say that

#

i saw people that how they make a bot on discord by doing coding on visual code

#

how?

crude mica
#

he wanted to learn code in vs code ig

coarse hearthBOT
#
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.

glass vigil
misty sinew
crude mica
coarse hearthBOT
#
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.

coarse hearthBOT
#
Resources

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

delicate wren
misty sinew
#

i am going wrong or right ?

#

@stuck bluff

#

@frosty scarab

#

@unique raptor

stuck bluff
frosty scarab
misty sinew
crude mica
#

no

#

he isnt

misty sinew
#

i have to token so what is the cde

crude mica
#

how can i verify myself for vc

misty sinew
#

ok

#

how to env my token

#

@stuck bluff

#

-_-

#

ok sir

#

thank you

#

lol

crude mica
#

thanks but i dint get the instruction of that 3 min

stuck bluff
#

!voice

coarse hearthBOT
#
Voice verification

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

unique raptor
crude mica
#

is it good to do dsa with python or c++ ๐Ÿค”

stuck bluff
#

Database sysadmin?

delicate wren
#

the only "DSA" I know (digital signature algorithm) is definitely fit neither for Python nor for C++
Rust/C -- maybe

delicate wren
stuck bluff
delicate wren
#

@unique raptor there are general principles which are language- and technology-agnostic

#

knowing every package is not expertise.

#

being able to figure out what package, that you've never used before, does, is more valuable/valued

#

if I had enough money right now, I would do it just now as an experiment
because reading documentation is a part of the progress always

#

and, like

#

knowing everything in advance is impossible

#

AI has a lot of knowledge and zero skill

delicate wren
crude mica
delicate wren
#

what an unfortunate acronym

#

it's like claiming that "RSA" stands for "Recursive Structures and Algorithms" or something

crude mica
#

Hey sir

#

Hello ๐Ÿค—

radiant phoenix
#

Hey, I am new in this field. I want to learn the basics and advance level of python. Does anyone have any suggestion where can I learn python for free?

misty sinew
#

hey there

#

is anyone here

#

!!!

final basin
#

Nope

#

!!!

supple spire
#

@wild panther

#

u making ur own lang?

#

@forest ore

#

no difference

#

@forest orethat hasn't send you a key.pem file?

#

@tranquil drift we are not in Java!!!

supple spire
#

it's so early talks about code patterns

tranquil drift
#

what did i say LOL

#

about OOP?

supple spire
#

yeah yeah

supple spire
tranquil drift
#

hahahahhaa

#

OOP in python is like masturbation on an airplane. not illegal but frowned upon

supple spire
#

Lmao

#

yeah

supple spire
tranquil drift
#

get em started early

supple spire
#

i think @wild panther is pretty smart

#

@forest ore if u dont wanna bruteforce the pwd

#

ask for the pwd

#

@forest ore sya

#

ok

#

yeah yeah gotchu

#

u got a github?

#

bout github?

#

oh ya

#

yup

#

C++, python and im really into cyber sec

#

( blue team )

#

i think

#

im a C in C++ and a A in python

#

Now im doing a really really stupid project

#

but it's like fun

#

check ur dms

misty sinew
#

i'm newbie here guys

supple spire
#

No js aint funny

#

RIP

misty sinew
#

how to use record with python ??

supple spire
#

nono

#

hes's lagging at all

#

@forest ore

#

TURN THIS SHIT ON

supple spire
#

Whats going on?

signal ridge
#

hello

misty sinew
#

i need help

crude mica
#

I feel something in my stomach while watching u playing ๐Ÿฅฒ @ornate cobalt

ornate cobalt
turbid silo
#

hey bois what's going on ?

#

anyone interested in geopolitics here ?

drifting pagoda
#

!voivce

coarse hearthBOT
#
Voice verification

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

pale pivot
ornate cobalt
#

official aecor logo

sand field
empty torrent
#

hi

#

What are you guys creating

stuck bluff
#

@old jackal @plucky stag @river hemlock ๐Ÿ‘‹

misty sinew
delicate wren
#

I've never used stable diffusion myself outside of google colab

#

"natural" is blurry

#

very non-concrete definition

pseudo raven
delicate wren
#

YT promotes small channels already

#

watch small channels more => get more small channels recommended

#

Yandex Video is a cesspool

#

don't go there

#

it's a disgusting place

#

@misty sinew it's not independent
nothing big and legal in Russia is independent from the government

delicate wren
#

do you know how they work, at least?

#

@north shadow quantum computers can't break symmetric encryption efficiently yet

#

even theoretically

north shadow
#

Yet, but they would in the future?

delicate wren
#

most of the actual security in password managers is symmetric not asymmetric

north shadow
#

I think passkeys are also better for companies since liability for a data breach falls on the user instead of a company. The company wouldn't keep the user's password data

delicate wren
#

what do you mean by "company storing user's password data"?

#

salting is enough to make the password data useless if your password isn't garbage

misty sinew
pseudo raven
misty sinew
#
password123
pseudo raven
#

GODSEXDRUGS

#

admin

delicate wren
#

admin admin
user user

north shadow
#

Ah I see. I think it's also better since the user's authentication (passkey) can't be keyboard logged, viewed on the screen, or input in a fake company portal from a phishing attack @delicate wren

pseudo raven
#

YOUR USERNAME IS aaaa

#

YOUR PASSWORD IS aaaa.

north shadow
#

^ asterisk on the phishing comment. There might be a way to capture authentication data from a phishing site?

delicate wren
#

did you know that Python has unbreakable (against eavesdropping) encryption bundled with it?

#

!d operator.xor

coarse hearthBOT
#

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

operator.__xor__(a, b)```
Return the bitwise exclusive or of *a* and *b*.
pseudo raven
#

๐Ÿ˜„

delicate wren
#

base of each stream cipher

#

if your key is long enough, it works

#

"oh, I encrypted this 33GB file with a 256-bit military-grade encryption, but it still got hacked"

#

is that a linked list in Rust

#

is it weak-referenced in one of the directions?

#

did you implement Drop?

#

(to avoid memory leaks)

#

it'd just be setting both references to None

#

it can't avoid memory leaks by default

#

recursive Rc is not magic

#

it will stay and live forever

#

main -> A
A -> B
B -> A

if you drop A, B still points to it

#

although

#

there might be another level of indirection required

#

idk how to properly implement for Drop there, actually

#

I think weak reference in one direction would be more stable

delicate wren
#

just for testing, you can implement Drop to track whether anything gets dropped early enough

#

(so, just println!("dropped");)

#

just leave it like this for now

#

this is how drop function is implemented

fn drop<T>(T) {}
#

and it only dropped one item

#

shouldn't you be testing it for nodes, not for a list?

#

because there's only one list anyway

#

or isn't it?

#

is T: Copy?

#

okay, because it'd be somewhat harder otherwise

#

Drop implementors have trouble moving values out of them

#

doubly-linked lists are reasonable if data size is way larger than the pointer size
and if one needs worst case guarantees (instead of amortised)

umbral rose
#

!stream 691761388363841588

coarse hearthBOT
#

โœ… @harsh flint can now stream until <t:1683500709:f>.

delicate wren
#

I wonder if Rust can allow something like XOR-linked list

#

with Pin, I guess

#

๐Ÿฆœ๐Ÿ”—

#

why

#

I think the Drop for the List should just "iterate" over the nodes, setting all pointers to None

#

not the solution, but a solution

#

there might a need for a restart

#

threat contained

umbral rose
#

!stream 691761388363841588

coarse hearthBOT
#

โœ… @harsh flint can now stream until <t:1683501500:f>.

delicate wren
#

"trust,
specifically of Hemlock"

#

make it look up "chain emoji"

#

(how well will it correct the search?)

final basin
#

!e

input = input("")
x = input()
coarse hearthBOT
#

@final basin :x: Your 3.11 eval job has completed with return code 1.

:warning: Note: input is not supported by the bot :warning:

001 | Traceback (most recent call last):
002 |   File "/home/main.py", line 1, in <module>
003 |     input = input("")
004 |             ^^^^^^^^^
005 | EOFError: EOF when reading a line
final basin
#

ah, didn't consider that part...

delicate wren
#

!e

input = lambda: ""
x = input()
coarse hearthBOT
#

@delicate wren :warning: Your 3.11 eval job has completed with return code 0.

[No output]
final basin
#

anyways what I meant to show is that naming your variable input is a bad idea

#

also I would like to note that input() is better than input(""), same with like doing print() vs. print("")

delicate wren
#

!e

input = lambda *_: "example input"
# something
# something
s = input()
# something
# something
print(s)
coarse hearthBOT
#

@delicate wren :white_check_mark: Your 3.11 eval job has completed with return code 0.

example input
delicate wren
#

what would be an equally impractical way to do multiline?

final basin
#

lemme see if this works in bot

delicate wren
#

!e

_inputs = iter("""\
abc
def
""".splitlines())
input = lambda *_: next(_inputs)
print(input(), input("prompt"))
coarse hearthBOT
#

@delicate wren :white_check_mark: Your 3.11 eval job has completed with return code 0.

abc def
final basin
#

!e

import sys
from io import StringIO
sys.stdin = StringIO("\n".join([
    "abc",
    "def",
    "ghi",
]))
print(input())
print(input())
coarse hearthBOT
#

@final basin :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | abc
002 | def
final basin
#

shit it does

delicate wren
#

!e

_inputs = iter("""\
abc
def
""".splitlines())
input = lambda *args: (print(*args, value:=next(_inputs), sep=""), value)[1]
print(input(), input("prompt: "))
coarse hearthBOT
#

@delicate wren :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | abc
002 | prompt: def
003 | abc def
delicate wren
#

how can I make it worse

final basin
#

wonder if printhello is gonna change their parameter names away from input

#

here's hopin ๐Ÿ™

final basin
delicate wren
#

one or zero, normally

final basin
#

yeah well it has a default value ofc

delicate wren
#

positional-only default

final basin
#

mhm

delicate wren
#

I almost forgot what /-* do again

#

to the left of /: postional-only

#

to the right of *: keyword-only

final basin
#
  • is the easier one
#

because you can imagine just putting *args in its place

delicate wren
#
positional_only, /, positional_or_keyword, *, keyword_only, **
#

@signal ridge not AI

#

uses strict rules instead

final basin
delicate wren
delicate wren
#

invalid

delicate wren
#

ffplay

#

VLC is still receiving updates

final basin
#

something peaceful about staring at a dev's flashing cursor on an empty file

final basin
#

@harsh flint suggest to not name parameter input

#

as that is a builtin function, it shouldn't be shadowed anywhere

delicate wren
#

common convention is input_

harsh flint
#

okay

#

i'm going to change that

delicate wren
umbral rose
#

!stream 251674888119517184

coarse hearthBOT
#

โœ… @signal ridge can now stream until <t:1683504574:f>.

final basin
delicate wren
#

single trailing underscore

final basin
#

interesting

#

only saw leading single underscore before

delicate wren
final basin
#

I would prefer another name entirely of course, but I guess that is a solution

delicate wren
#

might be better to just choose a different name

sudden storm
#

heloo

stuck bluff
#

@misty sinew I'm available to look at your code here if you're willing. Let me know.

misty sinew
#

sure

stuck bluff
#

I had my hands and mouth full when you asked.

misty sinew
#

where did it go

stuck bluff
#

It may be too large.

misty sinew
#

oh i see

stuck bluff
#

!paste

coarse hearthBOT
#
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 floppy disk icon in the top right, or by typing ctrl + S. After doing that, the URL should change. Copy the URL and post it here so others can see it.

stuck bluff
#

Or break it up.

misty sinew
#

i pasted

#

it there

#

you looking it Opal ?

peak frigate
#

!ban 564251931363508244 racism in code

coarse hearthBOT
#

:incoming_envelope: :ok_hand: applied ban to @ivory valley permanently.

harsh flint
#

@umbral rose i could share my screen?

harsh flint
umbral rose
harsh flint
#

oh okay

umbral rose
#

Yeah, someone's gotta be there to monitor the stream

harsh flint
#

okay

#

np

elder wraith
ripe acorn
#

!e
print('hello')

coarse hearthBOT
#

@ripe acorn :white_check_mark: Your 3.11 eval job has completed with return code 0.

hello
ripe acorn
#

!e

coarse hearthBOT
#
Missing required argument

code

ripe acorn
#

!e

coarse hearthBOT
#
Missing required argument

code

ripe acorn
#

!e
for i in range(0,5):
for i in range(i):
print(('*' * i) , end=" ")
print()

coarse hearthBOT
#

@ripe acorn :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | 
002 |  
003 |  * 
004 |  * ** 
005 |  * ** *** 
umbral rose
ripe acorn
umbral rose
misty sinew
#

hello

feral compass
#

hi if i have doubt about pyspark where i should go?

lament badge
#

@hollow snow id talk but my mic broke ๐Ÿ˜ฆ

bold grail
#

ok thanks

#

I want learn Python do you have any tips?

#

thanks ๐Ÿ˜†

limpid egret
#

@slate osprey I think they call that the Dunning-Kruger effect

coarse hearthBOT
#
Voice verification

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

limpid egret
#

Professsional Dev just trying to get 50 messages in that are not spam :\

kindred ruin
#

I gotta send 50 messages apparently @slate osprey

#

All good lol

limpid egret
#

@slate osprey It doesn't have to take a while though

#

I'm not either

#

4/50

#

lol

#

gottem

#

First time using Vue so it is slow moving for me. I could have it all done in a day without work using React w/ MUI

#

Yeah it is

#

Jango, flask, and FastAPI don't exactly give many opportunities for "reactive" websites

#

Which CSS file? tf?

#

npm really be doing me like that?

#

Yeah that could be it

#

Don't see anything coming up when using source and CTRL+F

#

What extensions you have installed

#

Nah sus

#

lol

#

I'm glad my site didn't have that stuff littered in the css lmao

#

fr

#

Had that linked to my linkedin fr

#

all g

#

#canceled

#

opera GX is notorious for data mining

#

Then again so is every browser

#

I'm forced to use edge since Microsoft :. There are pluses and negatives. It's nice when you are trying to auth to ADO or Azure, but when trying to use more than one account in different Azure Tenants it can get funky.

#

Was that a thing?

#

Man they really were desperate

#

Any Experience in K8s/ AKS?

#

Kubernetes & Azure Kubernetes Services^

lament badge
#

does docker count?

limpid egret
#

I'll count that sure lol

lament badge
#

then kinda

limpid egret
#

Depending on your deployment, and whether you are needing to cutomize the image to deploy using K8s. It is a vital to know Docker basics and what not

lament badge
#

yeah i mean k8 uses docker

limpid egret
#

In some instances Helm Charts are basically good to go out of the box and all you have to do is set values in the values.yaml and the app just works.

lament badge
#

i guess then it depends on how deep you need to go

#

ive never had to make my own image but i dont see why i would do that either

limpid egret
#

Depends on what framework you are using on top of k8s. For instance RKE2 uses containerd instead of docker, but it still possible to import a docker image into a cluster with RKE2

#

What is the use case for PIL?

#

I'm deploying the WIP version of my site again since you scared me into reverting @slate osprey lol

#

ah pillow

#

You aren't a real unemployeed dev until you stay up all night trying to center a div

lament badge
#

fear me

limpid egret
#

Try using a styling library and having tens of elements on the page with differing break points, margins, and padding then tell me centering that div is easy

#

I wish it worked that way

#

It really doesn't though

#

lmao

lament badge
limpid egret
#

To extrapolate on my point:
this code does not change whether text-align is set to center or nothing. Because CSS...

#

I just did

#

But i did

#

But i did responding to me winning the argument

#

@lament badge You can't win this argument. If I were to send you a very complex code sandbox project are you telling me you would be able to center the div?

#

I'm not trying to explain anything. I just don't like to lose debates

#

What are you saying

#

lol

mild flume
#

No idea if any of them are particularly good or not

astral spoke
#
from collections import Counter

my_list = [] # your list
frequency_counter_per_element = Counter(my_list)

@lapis estuary

mild flume
#

God I love collections

astral spoke
mild flume
#

What why

#

What?

astral spoke
mild flume
#

Ooooooooooooooooooooooooooooooo

#

Bookmarking and checking that out

#

Love me some functional

misty urchin
misty sinew
#

yo

swift dune
#

Why do we use cloud technologies like google cloud, aws

vernal lava
#

hi gays!

plucky creek
#

suppy

dim parrot
elder wraith
#

!e python for x in range(1,5+1): print(x)

coarse hearthBOT
#

@elder wraith :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | 1
002 | 2
003 | 3
004 | 4
005 | 5
elder wraith
#

!e python a = ('a','b') b = str(a) print(b)

coarse hearthBOT
#

@elder wraith :white_check_mark: Your 3.11 eval job has completed with return code 0.

('a', 'b')
elder wraith
#

!e python my_list = ['a', 'b', 'c', 'd'] my_string = ','.join(my_list) print(my_string)

coarse hearthBOT
#

@elder wraith :white_check_mark: Your 3.11 eval job has completed with return code 0.

a,b,c,d
mild flume
#

!resources @vernal lava We've got a list of youtube channels we recommend on our resources page

coarse hearthBOT
#
Resources

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

mild flume
#

!stream 163839418623459330

coarse hearthBOT
#

โœ… @fair heron can now stream until <t:1684417463:f>.

dapper frost
mild flume
#

It sounds like a very tiny plane taking off

vivid condor
#
mycursor.execute(f"use {khasra_no}")
mycursor.execute(f"INSERT INTO owner_details VALUES ('{plot_input}', '{name_input}', '{phone_input}', '{owner_no_input}', '{sold_by_input}')")
mycursor.commit()

@dapper frost

ocean orbitBOT
#

Her daughter is named Help I'm trapped in a driver's license factory.

dapper frost
vivid condor
delicate wren
dapper frost
#

oh alright

delicate wren
# ocean orbit

read this and understand why f-strings and mycursor.execute must never be used together

fair heron
dapper frost
#

ohh

modest flare
delicate wren
#

they, like, kept it since python 2 time examples

delicate wren
#

this is not plain substitution

add_employee = ("INSERT INTO employees "
               "(first_name, last_name, hire_date, gender, birth_date) "
               "VALUES (%s, %s, %s, %s, %s)")
#

because it properly parses it and substitutes it correctly inside cursor.execute

#

put everything in docker
docker docker docker docker

mild flume
#

py -m venv .venv

#

./.venv/scripts/activate.bat

delicate wren
#

is there any place where the useless argument of py -m venv .venv vs py -m venv venv happening?

#

requirements seem just broken

#

also this

#

though that one's explainable

mild flume
#

Yeah

delicate wren
#

"eyes see 24 frames per second, so close one eye to make 12 fps playable"

#

eyes are able to differentiate flickering up to around 500Hz, as far as I remember reading in some paper

#

analogue doesn't go in time direction with tapes, I think

#

with like

#

normal ways of recording

#

Flask can be used for microservice APIs
should it be used? probably not

delicate wren
#

when did the server get markdown support?

#

this

delicate wren
#

@mild flume stuff on the internet is not forever

#

earlier I was trying to find a talk by Bryan Cantrill
now it's apparently gone forever

#

and no one bothered to make a backup
reupload:
https://youtu.be/YKv_IDN0zCA

Talk given at a meetup in San Francisco in August 2018 describing my initial exploration of Rust โ€” prefaced with a meandering journey through my relationships with programming languages. This talk was sponsored (and made available) by Humio, which was purchased by CrowdStrike in 2021. Despite this video having over 50,000 views, it was regrettab...

โ–ถ Play video
delicate wren
#

I uninstalled rust from the host machine recently

#

because docker
put everything into docker
spend the rest of the life inside docker

#

if you happen to have a proper docker installation and happen to use VS Code, you can actually go for the docker-only rust option

#

idk if there's a beta version for docker

vivid condor
#

This

delicate wren
#

same idea

vivid condor
fair heron
#

Imagine reading a post, but over the course of it the quality seems to deteriorate and it gets wose an wose, where the swenetence stwucture and gwammer rewerts to a pwoint of uttew non swence, an u jus dont wanna wead it anymwore awd twa wol owdewl iws jus awfwul

delicate wren
#

I wonder if markdown support is a consequence of a day before that

mild flume
#

!charinfo (ยด๏ฝฅฯ‰๏ฝฅ`)

coarse hearthBOT
delicate wren
#

ัˆ

#

Cyrillic 'sh'

mild flume
#

!charinfo ัˆ `

coarse hearthBOT
mild flume
#

ัˆ-256

delicate wren
#

!e

from hashlib import sha256 as ัˆ256
print(ัˆ256("ัˆ".encode()).hexdigest())
coarse hearthBOT
#

@delicate wren :white_check_mark: Your 3.11 eval job has completed with return code 0.

4f60bd4e24e7dc7f90c8a373bf18b38657abec5fcc8a6f9a3222815245e302de
delicate wren
#

markdown broke down trying to highlight the syntax

#

trying to find the implementation of sha1 one had
and I encountered this

#

(sorted alphabetically)

#

confusing characters

#

!e

print(sorted("ัopqstvz"))
coarse hearthBOT
#

@delicate wren :white_check_mark: Your 3.11 eval job has completed with return code 0.

['o', 'p', 'q', 's', 't', 'v', 'z', 'ั']
mild flume
#

!charinfo ัopqstvz

coarse hearthBOT
delicate wren
#

I think I accidentally saved it as "ั.py" instead of "c.py"

#

because, for max confusion, those are same key

#

win+space
alt+shift
ctrl+shift
depending on system config

weary cape
#

hiii

#

actually not too good

#

i have problem with flask.. and i cant recognise whats the problem with it

delicate wren
# weary cape hiii

so, I don't understand yet what the question is
is upload not working or the template?

weary cape
#

form is not validates on submit

#

and IDK HOW TO FIX IT

delicate wren
#

what do you mean by "is not validated"?

weary cape
#

flask web application

delicate wren
#

should this be False?

weary cape
weary cape
mild flume
#

@misty sinew Hello

delicate wren
weary cape
#

nothing actually

#

it shows validation errors

delicate wren
#

well, that's already not nothing

#

what are the errors?

weary cape
delicate wren
#

what values did you put in to form?

weary cape
#

just random string'

#

asidjaijd

#

like that

delicate wren
#

all three fields?

weary cape
#

yeah

#

but one field is actually works...

#

with this thing is all okj

delicate wren
weary cape
#

40 40 30

misty sinew
delicate wren
weary cape
#

yeah

delicate wren
#

did you check it with logging?

weary cape
#

how?

delicate wren
#

not a very good way, but works:

if ...:
    print('entered the if')
    ...

for more proper logging, there is a built-in logging library

delicate wren
#
  1. form verification
  2. new_book construction
weary cape
#

sec

delicate wren
#

"French surrendered, as always" in that case, I guess

#

they did change the name after Monster's complaint

#

afair

delicate wren
#

docker-rust has only stable and nightly

#

there "should" be an option to launch the version from the hard of the developer who last changed the code locally

#

to get the most nightly experience

mild flume
#

Right

delicate wren
#

I wonder
will I succeed running an OpenTTD server on alpine

#

wumpus witness

mild flume
#

Wait

#

It's multiplayer?

delicate wren
#

yes

#

up to 255 players

mild flume
#

Huh

modest flare
#

"Far Over the Misty Mountains Cold, to dungeons deep and caverns old, we must away 'ere break of day..." Thanks for requesting this amazing song from The Hobbit, I hope you enjoy this somewhat lower version of it. Thanks for watching!

***NOTE TO SPOTIFY LISTENERS:THE AUDIO IS NOW FIXED ON SPOTIFY! ๐ŸŽ‰

๐Ÿ˜ƒ PATREON: https://www.patreon.com/geoffcast...

โ–ถ Play video
delicate wren
#

but it got out of date

#

and became unbuildable

#

because OpenTTD changed how their downloads work

mild flume
#

That's weird to me, because my brain can't figure out how multiplayer tycoon games would work

delicate wren
# mild flume That's weird to me, because my brain can't figure out how multiplayer tycoon gam...

torture and chaos
https://youtu.be/8F-P46V5zuY

Money makes the world go round - or in this case, explode.

https://www.patreon.com/valefisk
Twitter: http://www.twitter.com/valefisk
Twitch: http://www.twitch.com/valefisk

Company of Heroes
Total War: Warhammer II
Crusader Kings III
Crusader Kings II
Democracy 4
Hearts of Iron IV
Hoi4

#pain#gaming#valefisk

โ–ถ Play video
delicate wren
#

but

#

should it?

mild flume
#

I've just always heard that Alpine is a poor choice if you're building anything

#

But I honestly have no idea

delicate wren
#

I'm deploying, I'm not building

#

it's, like, just generic linux binaries

halcyon notch
delicate wren
mild flume
#

Yeah that's about right

delicate wren
#

"use it socially? no, only anti-socially all the way"

#

have a different prime number for the amount of variants of each feature
pick (hard-code) any (random-ish) number such that it's of maximal order multiplication-wise on โ„ค/Nโ„ค where N is the product of all those primes
the rest is trivial

#

("the rest is trivial" being "it's actually not trivial but I can't be bothered to explain")

ember stream
vocal ivy
#

hi

mild flume
#

Just too smug

delicate wren
#

"older versions"

mild flume
#

!d random.shuffle

coarse hearthBOT
#

random.shuffle(x)```
Shuffle the sequence *x* in place.

To shuffle an immutable sequence and return a new shuffled list, use `sample(x, k=len(x))` instead.

Note that even for small `len(x)`, the total number of permutations of *x* can quickly grow larger than the period of most random number generators. This implies that most permutations of a long sequence can never be generated. For example, a sequence of length 2080 is the largest that can fit within the period of the Mersenne Twister random number generator.

Deprecated since version 3.9, removed in version 3.11: The optional parameter *random*.
delicate wren
#

!e

assert str([1, 2, 3]) == "[1, 2, 3]"
coarse hearthBOT
#

@delicate wren :warning: Your 3.11 eval job has completed with return code 0.

[No output]
mild flume
#

A unique multiplayer game built on a free Web API. The best sandbox platform to learn a new skill or apply your knowledge in a fun and meaningful way. Use any programming language with our RESTful API to control the most powerful fleet in universe.

elder wraith
#

@true valley put in Debt Ceiling instead of twitter but feeling is same: https://twitter.com/nihilist_arbys/status/1593426062423330816

So, twitter is about to explode and lay waste to everything contained within, eh?

Remember how arbys has always maintained that everyone dies alone?Welp, yโ€™all motherfuckers are about to find out how right arbys was.

Please continue to enjoy arbys

Likes

7308

Retweets

1698

wary fable
delicate wren
#

I watched it, like, four times at least

wary fable
#

It's great

mild flume
#

@forest ore What's the question?

#

@forest ore Type it here

forest ore
#

im generating usernames 100,000,000,000,000,000,000,000,000,000 or "One hundred quadrillion."

mild flume
#

Cool

forest ore
#

i think i broke me pc

umbral rose
#

It'll only take you 490,424,801,651,213,121 years at 0.00015466036544872657 seconds per name @forest ore

mild flume
#

Das a lot

#

@misty sinew Sup brah

umbral rose
#

You'll run out of memory first though

mild flume
#

If you're storing them yeah

#

@misty sinew I'll miss you

#

@misty sinew Yo

misty sinew
mild flume
#

@frosty scarab Your mic's open

#

Oh wait wrong Kramer

misty sinew
#

I am kinda glad I can not talk right now

mild flume
#

Yeah it's not normally like this

#

I promise

#

So how're you

misty sinew
#

Is a good day. Learning new stuff so always good. yourself?

#

Agree with anchorman

#

but w/e

mild flume
#

Yarp

mild flume
#

Themโ€™s Fightinโ€™ Herds is a 2D fighting game featuring a cast of adorable animals designed by acclaimed cartoon producer Lauren Faust. Beneath the cute and cuddly surface, a serious fighter awaits!Key Features Streamlined Combat - 4-button fighting mechanics, magic system, enhanced super attack, and juggle decay to prevent infinite combos. Story ...

Price

$19.99

Recommendations

2789

โ–ถ Play video
true valley
#

Nike Shox is a support system feature in several of Nike's flagship sneakers, first released in 2000. The design is an arrangement of primarily polyurethane hollow columns in the midsole supporting the shoe's heel. Most models include four circular columns in a square formation to provide stability. Later variations sometimes added additional co...

hearty heath
#

They did well once they liberalised their economy

#

But you can only liberalise your economy so far while maintaining an illiberal political system

mild flume
#

Right

hearty heath
#

It's harder than rocket science ๐Ÿ˜„

#

Every time I try grapefruit I think "now surely is the time I will enjoy it"

mild flume
#

Right?

hearty heath
#

It looks so good ๐Ÿ˜„

mild flume
#

And it just never happens

hearty heath
#

๐Ÿ˜”

mild flume
#

For me at least

hearty heath
#

They have used it for planning military logistics I believe pithink

mild flume
#

Makes sense

hearty heath
#

brb

true valley
#

๐Ÿ‘‹ Hi, I'm Alan. I advise government and enterprise on post-2020 AI like OpenAI's upcoming GPT-5, and Google's ongoing Pathways and Gemini models. You definitely want to keep up with the AI revolution this year. My paid subscribers (DeepMind, Microsoft, Google, Stripe, Samsung...) receive bleeding-edge and exclusive insights on AI as it happens. ...

mild flume
#

A chinchilla is what you put on your face when your face gets hot

#

A chin chilla'

olive echo
#
mild flume
#

Palm or Pong

hearty heath
#

I'm amazed at what some people post on Linkedin

halcyon notch
hearty heath
#

In theory, they have powers. In practice, it's a ceremonial role and they can't use those powers. In actual practice, they do have real power: they meet with prime ministers and world leaders; they act as a representative of the country; etc...

hearty heath
#

Humans are physical pithink

#

It requires a lot of energy and equipment.

raven orbit
elder wraith
halcyon notch
#

lmao

random minnow
hearty heath
#

No free lunch ๐Ÿ˜„

halcyon notch
#

@raven orbit cat is up

#

we can go

raven orbit
#

@random minnow let's start

#

post a new link

halcyon notch
mild flume
#

Al Gore rhythms

hearty heath
#

Who was that guy who plagiarised a paper and changed "complex number" to "complicated number"?

mild flume
#

That honestly sounds like something a student would do

raven orbit
mild flume
#

@olive echo Can a computer want to be my friend because it genuinely wants that

#

Asking for a friend

true valley
#

Pandoras box

#

Pandas box

rotund lodge
#

UMute

#
class ServerThread(QObject):
    
    started = pyqtSignal()

    def run(self):

        HOST = socket.gethostbyname(socket.gethostname())
        PORT = 55555

        self.shutdown = False

        self.server = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
        self.server.bind((HOST, PORT))
        self.server.listen()
        server_log.add("Server Started.")
        print("server listening")

        self.clients = {}
        
        while True:
            self.started.emit()
            client, addr = self.server.accept()
            server_log.add(f"Client {addr[0]} connected.")
            self.clients[addr[0]] = client
            print("got connection")
olive echo
fair heron
#

how do you start venv using a python or batch script?

exotic fractal
#

Borito can make a large meeting in the toilet

#

skin

#

๐Ÿ˜‚ ๐Ÿ˜‚ ๐Ÿ˜‚

#

bro looking like men in black

delicate wren
#

sounds strange

#

!rule 5 too generic to be guaranteed to be limited to cybersec

coarse hearthBOT
#

5. Do not provide or request help on projects that may violate terms of service, or that may be deemed inappropriate, malicious, or illegal.

delicate wren
#

maybe because whatever you attack detects/rejects the attack
then that's your job only to figure out

sharp sundial
#

!rule

coarse hearthBOT
#

The rules and guidelines that apply to this community can be found on our rules page. We expect all members of the community to have read and understood these.

delicate wren
#

ChatGPT is very rarely asking questions when it's answering

#

you can't offer to pay/receive pay beforehand

#

also, to stop some other behaviours

#

including scams and stuff

#

GIGO but even more

#

(garbage in garbage out)

mild flume
#

True

#

The solution is to have our AI stuff inherently be cynical

delicate wren
#

there is no solution
the world is doomed

#

he says "wrong" and "please no" at code

zenith wedge
umbral rose
#

!e


class Car:
    brand = "Unknown"
    color = "White"

    def honk(self):
        print("Beep! Beep!")

my_car = Car()  # instantiate the class
my_car.brand = "Toyota"

print(my_car.brand)
print(my_car.color)
my_car.honk()
coarse hearthBOT
#

@umbral rose :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | Toyota
002 | White
003 | Beep! Beep!
umbral rose
#

@quaint cape

stuck bluff
#

!e ```py
class MyClass:
def init(self):
print('Hello, world.')

MyClass()```

coarse hearthBOT
#

@stuck bluff :white_check_mark: Your 3.11 eval job has completed with return code 0.

Hello, world.
mild flume
#

@quaint cape Your mic was open and it was just constant noise so I scooted you to afk

stuck bluff
#

!e ```py
class MyClass:
def init(self, value):
self.data = value

def say(self):
     print(self.data)

a = MyClass('apple')
b = MyClass('banana')
a.say()
b.say()```

coarse hearthBOT
#

@stuck bluff :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | apple
002 | banana
stuck bluff
#

!e py a = [] b = [] c = a print(a == b) #True. The list that a points to is equal to list that b points to. They're both empty lists. print(a is b) #False. The list that a points to is not the same list that b points to. They're two different lists. print(a is c) #True. The list that a points to is the same list that c points to. They're the same list.

This demonstrates that you can have multiple variables pointing to the one same object in memory.

coarse hearthBOT
#

@stuck bluff :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | True
002 | False
003 | True
stuck bluff
#

Is also shows the difference between == and is.

delicate wren
#

I think explaining classes through inheritance should be reduced in amount, as humanity better realises what OOP means

stuck bluff
#

!e ```py
class MyClass:
def is_self(self, obj):
print(self is obj)

a = MyClass()
b = MyClass()
a.is_self(b) #What a points to goes to self, what b points to goes to obj
a.is_self(a) #What a points to goes to self,what b points to goes to obj```

coarse hearthBOT
#

@stuck bluff :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | False
002 | True
mild flume
#

Dude

#

I'm pissed

#

Was it yesterday or day before where LP was trying to help his grandma with her laptop? And I couldn't find the .iso file?

#

Guess fucking what

#

The links are ACTUALLY taking me to it now

#

I hate things

stuck bluff
delicate wren
#

@primal quarry what is the upper bound?

primal quarry
#

126207244316550804821666916

delicate wren
#

@mild flume
"#include <Python.h>"

mild flume
#

Love it

delicate wren
#

!e

print(126207244316550804821666916 .bit_length())
coarse hearthBOT
#

@delicate wren :white_check_mark: Your 3.11 eval job has completed with return code 0.

87
delicate wren
#

that's more bits than long long double

primal quarry
#

Yup

plucky rain
mild flume
#

telemetree

stuck bluff
#

Teal lemon tree.

#
list = list()
list_2 = type(list)()```
coarse hearthBOT
#

project/Microservices/project.py line 7

list = [```
delicate wren
#
thing_list  # sad
things  # less sad
stuck bluff
#

The practice of overwriting variables like this is known as shadowing.

primal quarry
#

!d list

coarse hearthBOT
#

class list([iterable])```
Lists may be constructed in several ways:

โ€ข Using a pair of square brackets to denote the empty list: `[]`

โ€ข Using square brackets, separating items with commas: `[a]`, `[a, b, c]`

โ€ข Using a list comprehension: `[x for x in iterable]`

โ€ข Using the type constructor: `list()` or `list(iterable)`...
mild flume
#

!timeit

list(range(1000))
coarse hearthBOT
#

@mild flume :white_check_mark: Your 3.11 timeit job has completed with return code 0.

20000 loops, best of 5: 15.9 usec per loop
mild flume
#

!timeit

[i for i in range(1000)]
coarse hearthBOT
#

@mild flume :white_check_mark: Your 3.11 timeit job has completed with return code 0.

10000 loops, best of 5: 37.8 usec per loop
delicate wren
primal quarry
#

!e

print([*(1,2,3)])
coarse hearthBOT
#

@primal quarry :white_check_mark: Your 3.11 eval job has completed with return code 0.

[1, 2, 3]
delicate wren
#

I don't think these metrics are that much practically important
but what list gives is readability

#

SomeClass(some_data) being recognised as conversion from some_data to an instance of SomeClass

sharp sundial
#

!e

from itertools import cycle
lst = [1, 2, 3]
lst_cycle = cycle(lst)
print(next(lst_cycle))
print(next(lst_cycle))
print(next(lst_cycle))
print(next(lst_cycle))
print(next(lst_cycle))
coarse hearthBOT
#

@sharp sundial :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | 1
002 | 2
003 | 3
004 | 1
005 | 2
mild flume
#
#! ./.venv/Scripts/python
#
#! ./.venv/Scripts/python

import sys
sys.stdout.write("hello from Python %s/n" % (sys.version,))
sys.stdout.write("%s" % (sys.executable,))
fair heron
#

File "C:\Users\Developer\AppData\Local\Programs\Python\Python310\lib\ctypes_init_.py", line 374, in init
self._handle = _dlopen(self._name, mode)
FileNotFoundError: Could not find module 'C:\Users\Developer\AppData\Local\Programs\Python\Python310\Lib\site-packages\torchaudio\lib\libtorchaudio.pyd' (or one of its dependencies). Try using the full path with constructor syntax.
Press any key to continue . . .

delicate wren
#

> ./.venv/Scripts/python
not enough, needs envvars, probably

mild flume
#

Good point

delicate wren
#

I made a thing once, somewhat related to automatic venv management
(of one venv)
but it was more of "die early if the venv is not activated)

wary fable
#

bad code seen in production for today:

import sys

def main(sys.argv[1]):
  import argparse
  ...

if __name__ == "__main__":
  main()
mild flume
#

That's magical

delicate wren
#

!e

def main(sys.argv[1]):
  import argparse
  ...
coarse hearthBOT
#

@delicate wren :x: Your 3.11 eval job has completed with return code 1.

001 |   File "/home/main.py", line 1
002 |     def main(sys.argv[1]):
003 |                 ^
004 | SyntaxError: invalid syntax
final basin
wary fable
#

also bad because they clearly know that argparse exists but they still decide to use sys.argv

fair heron
#
@echo off
cls
cd ./.venv/Scripts
start activate \b
cd ../../
echo py make_vars.py \b
pause
delicate wren
#

fails on py2 too

final basin
#

I see .venv here and also when I was reading documentation

#

Is that how you should name your containing folder?

mild flume
#

I do it to make it easy to catch it more consistently with my .gitignore

delicate wren
#

CringeFactoryManagerFactoryAbstractFacade

mild flume
#

Just make it ignore anything that starts with a .

final basin
#

is there anything of your scripts/modules that go outside this folder? (Related of course not just something in another environment)

mild flume
#

XD.rar~~~~

fast tundra
#

๐Ÿ‘‹

wary fable
fast tundra
#

How's it going?

wary fable
#

So what does return actually do, frfr?

delicate wren
#

!e

print(callable(2))
print(callable(print))
coarse hearthBOT
#

@delicate wren :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | False
002 | True
delicate wren
#

you don't need to check for __call__ existence

#

you can use callable

fast tundra
delicate wren
#

!d callable

coarse hearthBOT
#

callable(object)```
Return [`True`](https://docs.python.org/3/library/constants.html#True "True") if the *object* argument appears callable, [`False`](https://docs.python.org/3/library/constants.html#False "False") if not. If this returns `True`, it is still possible that a call fails, but if it is `False`, calling *object* will never succeed. Note that classes are callable (calling a class returns a new instance); instances are callable if their class has a `__call__()` method.

New in version 3.2: This function was first removed in Python 3.0 and then brought back in Python 3.2.
wary fable
fast tundra
#

Not sure

primal quarry
wary fable
#

who uses IDLE in 2023?

mild flume
#

Folks who don't want to download extra crap?

fast tundra
wary fable
#

You have vim, it comes with your laptop.

mild flume
#

On Windows?

wary fable
#

You have uno, it comes with your xbox. is the meme I was referencing

primal quarry
#

!e

thing = list
[*filter(lambda x: not callable(x), vars(thing ))]
coarse hearthBOT
#

@primal quarry :warning: Your 3.11 eval job has completed with return code 0.

[No output]
primal quarry
#

!e

thing = list
print([*filter(lambda x: not callable(x), vars(thing ))])
coarse hearthBOT
#

@primal quarry :white_check_mark: Your 3.11 eval job has completed with return code 0.

['__new__', '__repr__', '__hash__', '__getattribute__', '__lt__', '__le__', '__eq__', '__ne__', '__gt__', '__ge__', '__iter__', '__init__', '__len__', '__getitem__', '__setitem__', '__delitem__', '__add__', '__mul__', '__rmul__', '__contains__', '__iadd__', '__imul__', '__reversed__', '__sizeof__', 'clear', 'copy', 'append', 'insert', 'extend', 'pop', 'remove', 'index', 'count', 'reverse', 'sort', '__class_getitem__', '__doc__']
fast tundra
#

Idle is good for trying new commands
And seeing the info about them quickly

wary fable
#

I just use bpython for that

fast tundra
#

I don't know what that is

wary fable
#

it's a better repl

fair heron
#

got it @mild flume

@echo off
cls
cd ./.venv/Scripts
start /b activate
cd ../../
start /b py make_vars.py
pause
elder wraith
wary fable
delicate wren
#

I was trying to solve something for a couple of months
turned out I just had to change https to http

#

this style scares me

#

!d compile

coarse hearthBOT
#

compile(source, filename, mode, flags=0, dont_inherit=False, optimize=- 1)```
Compile the *source* into a code or AST object. Code objects can be executed by [`exec()`](https://docs.python.org/3/library/functions.html#exec "exec") or [`eval()`](https://docs.python.org/3/library/functions.html#eval "eval"). *source* can either be a normal string, a byte string, or an AST object. Refer to the [`ast`](https://docs.python.org/3/library/ast.html#module-ast "ast: Abstract Syntax Tree classes and manipulation.") module documentation for information on how to work with AST objects.

The *filename* argument should give the file from which the code was read; pass some recognizable value if it wasnโ€™t read from a file (`'<string>'` is commonly used).
mild flume
#

That's... Why

#

Why would they do that

primal quarry
#

Compiling python code

delicate wren
#

wouldn't use it myself tbh

primal quarry
#

!d breakpoint

coarse hearthBOT
#

breakpoint(*args, **kws)```
This function drops you into the debugger at the call site. Specifically, it calls [`sys.breakpointhook()`](https://docs.python.org/3/library/sys.html#sys.breakpointhook "sys.breakpointhook"), passing `args` and `kws` straight through. By default, `sys.breakpointhook()` calls [`pdb.set_trace()`](https://docs.python.org/3/library/pdb.html#pdb.set_trace "pdb.set_trace") expecting no arguments. In this case, it is purely a convenience function so you donโ€™t have to explicitly import [`pdb`](https://docs.python.org/3/library/pdb.html#module-pdb "pdb: The Python debugger for interactive interpreters.") or type as much code to enter the debugger. However, [`sys.breakpointhook()`](https://docs.python.org/3/library/sys.html#sys.breakpointhook "sys.breakpointhook") can be set to some other function and [`breakpoint()`](https://docs.python.org/3/library/functions.html#breakpoint "breakpoint") will automatically call that, allowing you to drop into the debugger of choice. If [`sys.breakpointhook()`](https://docs.python.org/3/library/sys.html#sys.breakpointhook "sys.breakpointhook") is not accessible, this function will raise [`RuntimeError`](https://docs.python.org/3/library/exceptions.html#RuntimeError "RuntimeError").
delicate wren
fair heron
#

going to bed

wary fable
#

US be like "I use a cruise missile for home defense"

delicate wren
#

The error was caused when officials overvalued some of the systems sent to Ukraine, using the value of money it would cost to replace an item completely rather than the current value of the weapon.
allegedly

mild flume
#

Interesting

#

@hearty heath How's it going

wary fable
#

I heard that as "database sharting"

mild flume
#

Always

#

Same

wary fable
#

(I joke despite the fact I'm going to New York this weekend)

#

Meanwhile, working on reading docs for an interesting framework

import { HandlerContext, Handlers } from "$fresh/server.ts";

export const handler: Handlers = {
  GET(_req: Request, _ctx: HandlerContext) {
    return new Response("Hello World");
  },
};
#

Fresh framework for Deno

delicate wren
#

distributed systems make backing up harder too

#

sometimes there's already data replication

wary fable
#

Meanwhile me with my password at work being an actual sql injection attack....

#

just in case of a breach

#

(it's meant to attack the attackers)

#

also I put commas in my passwords in case there's a breach and it ends up in a csv

delicate wren
#

or just have the log itself as the database
(please no)

#

so, speaking of "oh, what could've the filesystem done wrong?"

wary fable
#

Isn't that the purpose of datadog tho

#

or that's how we use datadog at work: logs as databases

delicate wren
wary fable
#

we do CRUD lol

delicate wren
delicate wren
#

but, like, "don't just write it from zero and put it straight into production because it seems clever"

#

SQLite with its pragmas...

#

foreign keys? don't need them

wary fable
#

Meanwhile, over at the Deno KV hype train...

#

Yes I like Deno...

fair heron
#

@delicate wren are you really an anime girl?

wary fable
#

!e

assert 1 == 1
coarse hearthBOT
#

@wary fable :warning: Your 3.11 eval job has completed with return code 0.

[No output]
wary fable
#

legit saw that in prod code

fair heron
#

!e

print(assert 1==1)
coarse hearthBOT
#

@fair heron :x: Your 3.11 eval job has completed with return code 1.

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

thankfully you can't redefine is ... right?

wary fable
#

!e

print(assert(1 is 1))
coarse hearthBOT
#

@wary fable :x: Your 3.11 eval job has completed with return code 1.

001 |   File "/home/main.py", line 1
002 |     print(assert(1 is 1))
003 |           ^^^^^^
004 | SyntaxError: invalid syntax
fair heron
#

idk what assert is

delicate wren
coarse hearthBOT
#

@delicate wren :x: Your 3.11 eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "/home/main.py", line 1, in <module>
003 |     assert False
004 | AssertionError
fair heron
#

!e

x = "hello"

#if condition returns False, AssertionError is raised:
assert x == "goodbye", "x should be 'hello'
coarse hearthBOT
#

@fair heron :x: Your 3.11 eval job has completed with return code 1.

001 |   File "/home/main.py", line 4
002 |     assert x == "goodbye", "x should be 'hello'
003 |                            ^
004 | SyntaxError: unterminated string literal (detected at line 4)
delicate wren
#

missing " at the end

fair heron
#

!e

x = "hello"

#if condition returns False, AssertionError is raised:
assert x == "goodbye", "x should be 'hello'"
coarse hearthBOT
#

@fair heron :x: Your 3.11 eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "/home/main.py", line 4, in <module>
003 |     assert x == "goodbye", "x should be 'hello'"
004 |            ^^^^^^^^^^^^^^
005 | AssertionError: x should be 'hello'
wary fable
#

fun times

fair heron
#

the error is not an error

#

@wary fable no

wary fable
#

!e

assert False, "Error exists between keyboard and chair"
primal quarry
coarse hearthBOT
#

@wary fable :x: Your 3.11 eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "/home/main.py", line 1, in <module>
003 |     assert False, "Error exists between keyboard and chair"
004 | AssertionError: Error exists between keyboard and chair
delicate wren
# wary fable fun times

sometimes I think guard clauses may be a useful idea
only sometimes because I still remember the cases when they get misuses

#

Russia Moscow mass-deploys and exploits face recognition already

wary fable
#

Facebook is terrible for that. I'm in this picture and I don't like it exists for a reason.

gilded dragon
#

7 wasn't that much different from Vista anyway so ๐Ÿคทโ€โ™‚๏ธ

delicate wren
#

our best representation of it does have it

#

QM actually is not really complex, technically
because phase can be arbitrary

#

so, it's like, a little bit less varied

#

fields and waves

#

@primal quarry electromagnetism

#

field value

#

dscord

#

field notion is important there

#

not just forces

#

you can think of it as "each point in space has some value associated to it"

#

@primal quarry you can as well say that real numbers don't exist

#

absolute value -- PDF at current point
argument -- phase

#

probability distribution function

delicate wren
#

most of the "trivial" physics is perfectly explainable with a subset of those

#

slight extension of algebraic numbers

delicate wren
#

QM gives good predictions

#

its correctness doesn't rely on whether those numbers exist

#

@primal quarry correctness of a model has nothing to do with whether that models is constructed the same way as what it describes

frosty scarab
#

some thing that is not part of the conversation(sorry) what are some groups at school like: nerd cheerleader emo...

mild flume
delicate wren
#

the best way to say "shut the fuck up trying to say that complex numbers are useless"
https://en.wikipedia.org/wiki/Fundamental_theorem_of_algebra

The fundamental theorem of algebra, also known as d'Alembert's theorem, or the d'Alembertโ€“Gauss theorem, states that every non-constant single-variable polynomial with complex coefficients has at least one complex root. This includes polynomials with real coefficients, since every real number is a complex number with its imaginary part equal to ...

olive echo
mild flume
#

The fuck are these symbols

#

I mean come on

delicate wren
#

Fraktur?

stuck bluff
#

Letters, but fancy.

mild flume
delicate wren
#

guess what letter

stuck bluff
#

G.

wary fable
#

theta

primal quarry
#

"every non-constant single-variable polynomial with complex coefficients has at least one complex root. This includes polynomials with real coefficients, since every real number is a complex number with its imaginary part equal to zero."
What's even the point of anything anymore

mild flume
#

I want to say G

#

But that feels too obvious

delicate wren
#

S

stuck bluff
#

I was going to say G, C or S.

delicate wren
#

how is the first one "A"

stuck bluff
#

"Fuck you".

#

That's how.

delicate wren
#

๐”„ ๐”… โ„ญ ๐”‡ ๐”ˆ ๐”‰ ๐”Š โ„Œ โ„‘ ๐” ๐”Ž ๐” ๐” ๐”‘ ๐”’ ๐”“ ๐”” โ„œ ๐”– ๐”— ๐”˜ ๐”™ ๐”š ๐”› ๐”œ โ„จ

mild flume
delicate wren
#

Fraktur (German: [fสakหˆtuหษฬฏ] (listen)) is a calligraphic hand of the Latin alphabet and any of several blackletter typefaces derived from this hand. Letters are designed such that the individual strokes are broken apart; in this way it is often contrasted with the curves of the Antiqua (common) typefaces where the letters are designed to flow ...

mild flume
#

!charinfo ๐”„ ๐”… โ„ญ ๐”‡ ๐”ˆ ๐”‰ ๐”Š โ„Œ โ„‘ ๐” ๐”Ž ๐” ๐” ๐”‘ ๐”’ ๐”“ ๐”” โ„œ ๐”– ๐”— ๐”˜ ๐”™ ๐”š ๐”› ๐”œ

coarse hearthBOT
#
Nope.

Too many characters (51/50)

misty sinew
#

.uwu ๐”„ ๐”… โ„ญ ๐”‡ ๐”ˆ ๐”‰ ๐”Š โ„Œ โ„‘ ๐” ๐”Ž ๐” ๐” ๐”‘ ๐”’ ๐”“ ๐”” โ„œ ๐”– ๐”— ๐”˜ ๐”™ ๐”š ๐”› ๐”œ

ocean orbitBOT
#

๐”„ ๐”… โ„ญ ๐”‡ ๐”ˆ ๐”‰ ๐”Š โ„Œ โ„‘ ๐” ๐”Ž ๐” ๐” ๐”‘ ๐”’ ๐”“ ๐”” โ„œ ๐”– ๐”— ๐”˜ ๐”™ ๐”š ๐”› ๐”œ

mild flume
#

!charinfo ๐”„ ๐”… โ„ญ ๐”‡ ๐”ˆ ๐”‰ ๐”Š โ„Œ โ„‘ ๐” ๐”Ž ๐” ๐” ๐”‘ ๐”’ ๐”“ ๐”” โ„œ ๐”– ๐”— ๐”˜ ๐”™ ๐”š ๐”› ๐”œ

coarse hearthBOT
#
Character Info

\U0001d518: MATHEMATICAL FRAKTUR CAPITAL U - ๐”˜
\u0020 : SPACE -
\U0001d519: MATHEMATICAL FRAKTUR CAPITAL V - ๐”™
\u0020 : SPACE -
\U0001d51a: MATHEMATICAL FRAKTUR CAPITAL W - ๐”š
\u0020 : SPACE -
\U0001d51b: MATHEMATICAL FRAKTUR CAPITAL X - ๐”›
\u0020 : SPACE -
\U0001d51c: MATHEMATICAL FRAKTUR CAPITAL Y - ๐”œ

Full Raw Text

\U0001d504\u0020\U0001d505\u0020\u212d\u0020\U0001d507\u0020\U0001d508\u0020\U0001d509\u0020\U0001d50a\u0020\u210c\u0020\u2111\u0020\U0001d50d\u0020\U0001d50e\u0020\U0001d50f\u0020\U0001d510\u0020\U0001d511\u0020\U0001d512\u0020\U0001d513\u0020\U0001d514\u0020\u211c\u0020\U0001d516\u0020\U0001d517\u0020\U0001d518\u0020\U0001d519\u0020\U0001d51a\u0020\U0001d51b\u0020\U0001d51c

delicate wren
#

something related to permutations

#

same root as "fracture"

mild flume
#

๐”™

#

I refuse

#

That is not a V

delicate wren
#

having this section in the history of the font is interesting

mild flume
#

I fucking refuse

olive echo
#

In mathematics, the Weierstrass function is an example of a real-valued function that is continuous everywhere but differentiable nowhere. It is an example of a fractal curve. It is named after its discoverer Karl Weierstrass.
The Weierstrass function has historically served the role of a pathological function, being the first published example ...

primal quarry
delicate wren
#

it also has somewhat simple definition

primal quarry
delicate wren
#

randomly generating points inside the circle is particularly interesting

wary fable
delicate wren
#

two half-spherical cows

wary fable
#

mandelbread

#

Permethrin is a medication and an insecticide. As a medication, it is used to treat scabies and lice. It is applied to the skin as a cream or lotion. As an insecticide, it can be sprayed onto clothing or mosquito nets to kill the insects that touch them.Side effects include rash and irritation at the area of use. Use during pregnancy appears to ...

last rivet
#

why can't I talk?

wary fable
#

read the very top of this channel

stuck bluff
coarse hearthBOT
#
Voice verification

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

last rivet
#

50 messages, hm

delicate wren
#

"Alan Turing might've lived longer"

wary fable
#

meanwhile, i cause a ruckus at work because I include my pronouns (he/they) in zoom

delicate wren
coarse hearthBOT
#

@delicate wren :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 |                                        #       
002 |                                                
003 |                                    ####        
004 |                                    ####        
005 |                              #  ##########     
006 |                              ################# 
007 |                            ################### 
008 |                           #####################
009 |                 #######  ######################
010 |                ######### ######################
011 | #############################################  
... (truncated - too many lines)

Full output: https://paste.pythondiscord.com/utogizibej.txt?noredirect

delicate wren
#

eh, doesn't fit

#

can should I make it smaller

primal quarry
delicate wren
#

yes I did

delicate wren
frosty scarab
delicate wren
primal quarry
#

How do you zoom though?

delicate wren
#

linspace does interpolation

#

arange does range

#

(numpy)

delicate wren
primal quarry
#

Lmao

delicate wren
#

actually, by changing magic constants

#

of which there are 7

primal quarry
#

Good thing they're named well

delicate wren
#

no name is best name
.025
.05
999
-78
17
-20
21

primal quarry
#
def getYofCircle(x, r):
    return round(math.sqrt((r/2)**2 - ((r/2)-x)**2))
mild flume
#

I read it as get yo circle