#voice-chat-text-0

1 messages · Page 497 of 1

umbral carbon
#

Hai @raw flicker

raw flicker
vocal basin
#

"why is make telling me to stop"

raw flicker
#

what are y'all doin

vocal basin
#

I'm waiting for CI to fail again

raw flicker
#

ci?

vocal basin
raw flicker
#

oh

umbral carbon
#

Exporing MCP

vocal basin
#

Burroughs MCP?

#

master control program

umbral carbon
#

Ya we build an poc on legacy code document generator with chat feature

stray pewter
#

👋hello

umbral carbon
#

Now I'm trying to give it to vscode copilot

vocal basin
umbral carbon
vocal basin
#

too bad the acronym is already taken

#

64 years ago

#

it's like MinIO using mc for their control CLI

umbral carbon
#

That's new for me..

#

🧐

vocal basin
#

at least Google shows the correct one first

umbral carbon
#

It got ur wavelength

#

Hai @amber raptor

vocal basin
#

no

#

lmao

amber raptor
vocal basin
umbral carbon
#

Hai @midnight agate

vocal basin
#

big project is trying to take over the short CLI acronym

#

anything adjacent to AI seems to do that now

#

MC, MCP

umbral carbon
#

Like Gemini cli ?

vocal basin
#

tbf MinIO is just exploiting the AI trend they aren't really AI

vocal basin
#

because it's gemini

#

not g or whatever

umbral carbon
#

Crt

#

Hai @wind raptor

#

Good about me lins @wind raptor

vocal basin
#

ohno I forgot I can't publish with a git dep

#

okay then I need to publish that crate first

wind raptor
stray pewter
#

Hello 👋

vocal basin
#

first degree murderarketing

#

new list of banned software just dropped

#

RKN giving free advertisement to Threema

#

never knew about it before

#

@wind raptor Somalia?

#

I have heard about some very low wages before

#

I don't remember where exactly it was

vocal basin
#

@wind raptor that actually kind of sounds low

#

though ig okay given the fiverr's cut

#

in Russia $25/h is relatively reasonable for tutoring, so I'd expect Canada to have higher

#

@wind raptor many planned incomplete features

#

technically not sabotage

#

@wind raptor no intellisense?

#

that is what I think of as auto-complete

#

AI isn't really auto-complete it's auto-speculate

#

Large Lame Mess

#

@wind raptor "explain it with a LoopFactory"

#

loops are actually a mess

#

generally

#

so not surprising

#

"become a consultant, now you get to teach adults"

#

@primal shadow I got the first contract exactly for that

#

2 months, self-employed

#

working on the critical piece of infrastructure

#

"if this doesn't get built/fixed, we don't have a company" type of thing

#

and in Russia you just invest in tutors/whoever so that you get free education later

amber raptor
vocal basin
#

Russia

#

Discord banned twice

#

law magic

#

waiting for the third time

#

weird that WeChat is there

#

well, only from a public point of view

#

FSB actually is now very concerned with Chinese influence

#

@wind raptor I normally have it covered

#

most of the time

#

@wind raptor probably don't put mice in your pockets alongside the phone

primal shadow
#

I keep my mice in my pocket

#

the mammals and the electronics

stray pewter
#

@wind raptor You know what I hate abt cmake? LNK1168 errors

alpine crater
#

👋

wind raptor
stray pewter
#

such a clean, speretated non bunched togethor file struct

vocal basin
#

wasn't regex Cloudflare not Crowdstrike?

#

Crowdstrike just shipped an empty binary file iirc

wind raptor
#

Oh yeah, maybe that was it.

#

It's been too long now

vocal basin
#

Cloudflare DoSed themselves with a regex

#

I have TPM disabled but W10 thinks the system is W11-compatible

#

there actually exist tutorials for W11 without TPM

#

so seems like it's not a strict requirement

#

termux+neovim

#

on a phone

wise loom
#

no laptops 💻 !!!

#

leave laptops outside 🚫 💻, not allowed

stray pewter
#

@wind raptor in my school we get ipads with keyboards that we NEED to buy for 700$. but its worth it for homework, schoolwork and notes

primal shadow
#

click clack\

vocal basin
#

stenotype

wise loom
#

no BYOD

#

paper & pencil

wind raptor
stray pewter
#

@wind raptor I am going to assume the answer is going to be a instant no buy you miss 100% of the shorts you don't take. So here, may I temporarily receive streaming permissions to stream VSC to show my programming language?

wind raptor
#

!stream 1348021169399271484

wise cargoBOT
#

✅ @stray pewter can now stream until <t:1752945617:f>.

stray pewter
#

OMG

#

yay!!!!

vocal basin
#

some NPUs don't work without a GPU

#

thanks AMD

#

@amber raptor free version also auto-nukes itself when not actively used

#

no background processes allowed

wise loom
#

@amber raptor Google needs to make money too, it can't just offer everything for free..

#

plus the administration needs money too on taxes

#

infinite growth

vocal basin
#

acquihire

#

apparently a real word according to whatever dictionary the browser uses

#

@odd dove no AI

alpine crater
#

I really like the claude code cli, and the model is fine enough

#

Copilot lets you pick from different models

#

its effectively a frontend for different models

#

or well theres also the inline completions model

vocal basin
#

everyone asks how is copilot but no one asks how is copilot

#

I just view those as toys

#

I feel like copilot, if I were to use it, would just make me work as if I had ADHD

#

like a total focus destroyer

#

I'd just end up toying with it

wind raptor
upper basin
vocal basin
#

why would I use it to lie to me

upper basin
#

It's good because it learns your style of documentation, which saves time. It's also moderately well-informed.

vocal basin
#

AI for docs is pure value decrease

upper basin
upper basin
vocal basin
#

at least humans learn

upper basin
#

Must be nice.

vocal basin
#

not for docs

vocal basin
#

wait did you mean writing docs not reading?

#

that's even worse

upper basin
#

If it writes sth that I see is correct and close to what I would have written, I call that a good save of time.

#

It saves me alot of time.

vocal basin
#

I think it's okay-ish to run AI on code you already have, ask it for examples of usage, check if they compile and pass tests, and then burn them down and write examples manually

#

if textual docs (proper statements) can be easily inferred from code, those docs generally don't add value and don't deserve to exist

#

write why you made it, write how you use it

#

and details/nuances

vocal basin
#

not guessed

#

code -> markdown does not involve AI

vocal basin
alpine crater
#

I dont use much AI in code, because it doesnt write good code

vocal basin
#

@primal shadow maybe just don't make your docs fucking mindless?

alpine crater
#

I am actively writting docs

vocal basin
#

stop boilerplate, don't automate it

#

for

#

fucks

#

sake

#

and if you do automate it, do it properly

alpine crater
#

But thats not a good thing

#

I dont want to need AI to edit my code

lost sage
#

depends on who will run my code

stray pewter
alpine crater
#

thats what type hints are for

vocal basin
#

@primal shadow just the fact you call docs mindless shows you have no fucking clue what docs are for

vocal basin
#

@primal shadow we all understand you like to say things pretentiously as if you understand something,
but just, fucking stop and think at least once

amber raptor
stray pewter
#

its called type hints, function hints. Docs are proper long detailed docs, not in the code, its outside of the code

vocal basin
atomic tinsel
#

Hello

alpine crater
#

huh

#

My computer decided it wanted to do a restart
(I think the power went out for a split second?)

vocal basin
#

@upper basin does it happen often for you?

#

this is first time I see that

upper basin
#

Quite often.

vocal basin
#

Windows 🚀

upper basin
#

Probably due to my limited RAM.

#

Started happening iirc from when I downgraded my RAM.

vocal basin
#

are you mounting anything into WSL or is it using its own volumes only?

#

though that would only matter under very unfortunate circumstances

vocal basin
#

(coding without automation, including intellisense)

vocal basin
#

waiting for C++29 to add LLMs into the language

#

C++26 is already getting linalg iirc

alpine crater
#

everything is getting llms these days

vocal basin
#

"providing an unsafe prompt is undefined behaviour,
however some compilers might restrict this to leaving the model in a valid but unspecified state"

#

with obligatory C++ standard classics like "LLM is created when a large language model is created"

#

@alpine crater what are you using for book generation?

alpine crater
#

mdbook

vocal basin
#

so just with several plugins ig

alpine crater
vocal basin
#

yeah, I do know about that

vocal basin
stray pewter
#

VIBE CODING?

#

FIVERR?

#

?

vocal basin
#

and I didn't remember if notes/warnings landed there yet

stray pewter
#

@wind raptor

alpine crater
#

Ohhhh nice crates.io stepped up their embed game

vocal basin
#

aaaaaaaaaa

vocal basin
alpine crater
#

well they do have some version of it, but I didnt like how they looked

#

also it uses html stuff, which I kinda find ugly

vocal basin
#

ah

alpine crater
#
<div class="warning">

This is a bad thing that you should pay attention to.

Warning blocks should be used sparingly in documentation, to avoid "warning
fatigue," where people are trained to ignore them because they usually don't
matter for what they're doing.

</div>
stray pewter
#

@wind raptor Would you consider this pricing is fair? Also before I do anything is it ok to steal the 10 word gig description from u? If not then I will change it

vocal basin
#

for attr

#

iirc

#

wait no

#

abbr

#

cannot spell

#

because I don't want to HTML it

#

and markdownlint complains at HTML in MD

alpine crater
#

so I can just write like

[`.map`](access::Ref::map)

and it transforms it into a docs.rs link

vocal basin
#

turns out it's not yet working

#

specifically multiple versions are impossible to do

alpine crater
#

brb

rotund fjord
#

you missed quantum computing

lost sage
#

welcome back

rotund fjord
#

just kidding

vocal basin
rotund fjord
#

why does A.C.E07's screen have a gazillion tabs open?

#

my computer would have crashed if I tried to do that

vocal basin
#

it can always be worse

rotund fjord
#

or at least google would have crashed

rotund fjord
vocal basin
#

those are windows

rotund fjord
#

your computer must me very strong

vocal basin
#

64GiB of RAM, 130GiB of RAM+swap

rotund fjord
#

mine used intel i3 core processor

lost sage
#

= quantum coputer

vocal basin
rotund fjord
#

with 4 gigabytes of RAM

vocal basin
#

VSCode not including server side

rotund fjord
hexed trout
#

hello!! waveypeepo I'm well thanks and yourself?

rotund fjord
#

how is that even possible

hexed trout
#

nice!

vocal basin
lost sage
#

ricing my arch hyprland installation

rotund fjord
stray pewter
lost sage
#

customizing

#

yeah many configs

vocal basin
#

@wind raptor considered a slightly racist term in certain circles but generally acceptable

#

I think it's back to being viewed as okay

wind raptor
vocal basin
#

the history is a bit questionable

wind raptor
#

That's a big commitment for not a lot of cash

vocal basin
rotund fjord
#

the fact that it says it is 3:00 AM on his screen lol

stray pewter
wind raptor
#

I wouldn't do tiered until you get some reviews

vocal basin
#

furyo isn't in the VC as often

hexed trout
alpine crater
#

and back

hexed trout
#

always difficult when frequently used casual lingo happens to have a history like.. that

stray pewter
vocal basin
wind raptor
#

You don't have to do the 3-tier system. I'd just do 1 hour for cheap

vocal basin
#

we were discussing a potential catch phrase for NixOS

wind raptor
#

Less commitment with equal exposure and you can up it once you get a couple of reviews

vocal basin
#

with {you obviously know who}

wind raptor
#

without being locked into 10 hour "contracts"

stray pewter
vocal basin
#

@unique wyvern next step: jupyter in batgrl

stray pewter
#

its more about how the hell would I get even one single bit of exposure

#

like one drop

wind raptor
#

You do you. I was just trying to help out.

wind raptor
hexed trout
#

that's dope, Salt

stray pewter
#

I will prob do less than 10 hours

lost sage
#

damn looks fire

vocal basin
#

the reactivity on prop changes is insane

#

sometimes I forget that is actually something that should be expected of programs

vocal basin
wind raptor
alpine crater
#

@unique wyvern are you doing the transparency by actually not doing a image at that spot and just modifying the cell colors to match? (hence you just hide the chars on color boundries?)

lost sage
#

yeah play doom on it xD

eternal ether
#

what is the snel badge?

vocal basin
#

either image or text

#

like why it hides text sometimes

wind raptor
alpine crater
#

AH

vocal basin
#

@unique wyvern and removes text when there is a border, right?

#

or something like that

alpine crater
#

thats such a smart way to do it

vocal basin
#

like here

#

no text

#

yeah, that's what I thought

#

ideally you want both, but you have to choose

#

great that many of these things stop looking like magic if you look at it for some time

#

kind of easy to infer what happens with how it's implemented

hexed trout
#

agree with ace, also your voice is very soothing Salt

#

so good python sharing 👍

vocal basin
#

"next step: reimplement this in the terminal"

#

1963

grave ivy
#

hello there
how are you doing today

vocal basin
#

sevenel

winter bane
#

*I am gonna use every brain cell to choose between Djago Or FastAPi but bcas my though process i cant select either and i guess my brain cells are dying int the process *

vocal basin
#

FastAPI

#

unless spending time on choosing is the goal

winter bane
#

I am just concerned about security implementation , for eg django gives me a messy structure (where they call "view" is gonna handle a "httlp request" but you get batteries included ORM and Auth and etc. Thats why i have not yet ran with fastapi

vocal basin
#

what FastAPI does

#

you just put, for example, user: Depends(example_admin) or something like that on a route

wind raptor
#

I love FastAPI

vocal basin
#

and, like, your function gets a user which is required to be an admin as an argument

#

like you can safely make auth there yourself

#

same for axum in Rust

winter bane
#

hmm , lemme check 👍

#

Between i do love how fastAPI is wrt development experience , I think django have a very messy way to write the stuff

vocal basin
#

I'm thinking of trying to make an RoR app today/tomorrow

#

speedrunning

#

initially was going to make something completely different

#

but that got boring

#

not, like, boring boring, just that I did enough to put it away for later

#

and I actually shouldn't be rushing it

#

@radiant iron 👋

#

@upper basin if you need documentation, possibly it's time to rethink the code style (more experimentation with general architecture of the system, conventions, etc.)

upper basin
vocal basin
#

yes, reasoning does need to be written down

#

code provenance

upper basin
#

If I don't write any comments/docstrings, I'll still be able to understand, but I'd have to spend that time each time to re-understand.

#

Docs/comments skips that.

vocal basin
#

I am aiming for 100% code provenance documentation at some point

#

all sources

#

all links

#

all searches

#

but

#

I forget to do that

#

because I don't rely on it

vocal basin
radiant iron
#

I will be back in a bit

winter bane
#

@vocal basin I am sadly back to increasing thinking time , i guess this what coders like me do to procrastinate :p

vocal basin
#

if I finish the RoR app before you even start, then you've spent way too much time

#

that, too, is VSCode largely

#

specifically rust-analyzer used by it

#

oaky I'm having to run setup for a second time

#

because I'd rather not run into some funny edge case of renaming the project

#

I'm sorry, how many files?

#

@upper basin

#

thanks Quora

hexed trout
#

I thought that was real for a second lol

vocal basin
#

the screenshot is real

#

that is not AI hallucination

#

that is human-written

#

by a real human

upper basin
hexed trout
#

??? quora feeling okay?

vocal basin
vocal basin
upper basin
#

They have my undying respect now.

vocal basin
#

Quora is like a child of stackoverflow, 4chan and facebook

hexed trout
#

I have always kinda seen it as the search result on Google that's like "oh jeez, do I really have no better options?"

#

that's awesome that you code even with visual impairment Salt, you ever struggle with any strain/dryness?

vocal basin
#

minesweeper mentioned

hexed trout
#

these are genuinely so cool Salt

vocal basin
#

@unique wyvern maximise distance

#

but always keep it solvable

#

same dimensions

#

same size

#

like because you're projecting onto a plane

#

not a point

#

no perspective

sage heart
#

when do we get to speak

vocal basin
#

@upper basin lagosaur

hexed trout
#

50 message I believe

vocal basin
hexed trout
#

I also need that lol

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

hexed trout
#

I really wanna talk about Salt's stuff

upper basin
sage heart
#

ahh interesting thanks

vocal basin
#

I took the freedom of unverifying myself

sage heart
#

i can tell you don't play RTS games

#

is that correct

vocal basin
#

who

sage heart
#

the one w the keyboard, i think salt-die

vocal basin
#

ah, you mean this as RTS?

#

isotiles

sage heart
#

noo

#

his keyboard doesn't have a numpad

vocal basin
#

hmm

sage heart
#

ppl use numpad a lot for macros and stuff
i play dota and i can't live without a numpad

vocal basin
#

my comprehensive abilities aren't functioning anymore

sage heart
#

i still love wolfram bc i don't know about this story

vocal basin
sage heart
#

narcissistic?

vocal basin
sage heart
#

ellipsis

vocal basin
#

my guess would be consistent short-term writing/editing with clear bias

#

by a single author

#

with few sources

#

probably

sage heart
#

ahh

#

interesting, that's one way to do it

vocal basin
#

now that was purely my guess

sage heart
#

a clever guess

vocal basin
#

account-wise

unique wyvern
vocal basin
#
  1. Emphasis on "inaugural Fellow" might be puffery
  2. Spammy and trivial, only primary and self-published sources
  3. much new text, very spammy, advertorial in tone
  4. puffing up "influences" list in infobox (what are those even good for anyway?)
  5. upgrading his grandmother from "speaker" to "expert"
  6. adding empty marketing language
  7. hyping the "Wolfram Axiom", blatantly ignoring everyone else's contributions
  8. moved some text, hyped his SoundCloud
    I'm sorry what, SoundCloud?
  9. unsourced BLP information about his son, early life and education material rearranged
  10. the dreaded "In popular culture" heading
  11. addition of self-published source
sage heart
#

so salt die what do u do for work, u seem very knowledgeable @unique wyvern
im not sure such questions are allowed in this server, lmk if so

vocal basin
#

damn these cloud rappers these days

sage heart
#

i've already put that evil on ya

#

structural pattern matching?

vocal basin
#

@unique wyvern it's already in the tutorial

sage heart
#

is that just match case?

vocal basin
#

it's like switch in C#

#

C#

#

not C

#

it's somewhat structural

sage heart
#

yea i've seen its wild uses.. feels like something else would be more readable

vocal basin
#

C++++

#

C# is design-fork of Java

#

kind of just Microsoft Java

#

which then evolved further

sage heart
#

what's it used for rn

vocal basin
#

Microsoft now does Rust

#

okay the tutorial only accidentally mentions ...

#

I tried copying the URL and somehow copied just l

#

@unique wyvern rustlings are fun to go through if there is a goal of learning the language

#

Python+Rust stuff

sage heart
#

hmm

vocal basin
#

@unique wyvern or make them write only

sage heart
#

alright see you all next time

vocal basin
#

you can only write to the list

#

but never read

vocal basin
#

sharding gone wrong

hexed trout
#

"AUTO SHARTING ALGORITHM" lol

vocal basin
# vocal basin

I need to somehow compensate for lack of Hemlock in the VC

#

@unique wyvern when all you have is a hammer, everything looks like a screw/thumb

vocal basin
#

when definition of structure is very loose

#

but that one isn't physics

#

there was one which cut through pieces

#

and had physics

#

@unique wyvern
> in 4K
> you mean resolution?
> no, 4KB

#

@hexed trout tbf C has more capabilities to make something really CPU-unfriendly

#

mmap at a specific address

#

type of bs you can't just do directly in Python

#

@calm heron factor it out into a function

#

contain the mess

#

she

calm heron
#
import os
import random

def clear_console():
    os.system('cls' if os.name == 'nt' else 'clear')

def check_input(answer):
    if answer in yes_or_no:
        return True
    else:
        return False

yes_or_no = ["y", "n"]

while True:
    while True:

        uppercase = input("Should the password include uppercase letters?: ").strip().lower()
        lowercase = input("Should the password include lowercase letters?: ").strip().lower()
        numbers = input("Should the password include numbers?: ").strip().lower()
        special = input("Should the password include special characters?: ").strip().lower()

vocal basin
#
def prompt_bool(prompt: str) -> bool:
    ...  # mess here
#
def prompt_bool(prompt: str) -> bool:
    while True:
        ...  # one step of a mess here
unique wyvern
#

!paste

wise cargoBOT
#
Pasting large amounts of code

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

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

vocal basin
#
uppercase = prompt_bool("Should the password include uppercase letters")
lowercase = prompt_bool(...)
...
hybrid zenith
#

def check_input(answer):
return answer in yes_or_n

vocal basin
#

check one by one

#

this is probably meant to be interactive

#

True if yes
False if no

#

no other option for return

#

yeah, validate in a loop

#

no return until valid input is provided

#

also, yes that final step should be a function itself

unique wyvern
#
def generate_password(uppercase, lowercase, ...)
calm heron
vocal basin
#

with DI

#

but that's going to be way too much, I assume

hybrid zenith
#

DI?

vocal basin
# vocal basin with DI

okay, because I'm already not rushing through RoR fast enough, I will implement it just for show

unique wyvern
#
def get_player_input(player):
    while True:
        answer = str(input(f"{player}, Rock, Paper or Scissors? \n")).lower()
        if check_input(answer):
            break
    clear_console()
vocal basin
#

True is (True == that == True) is True

#

is True actually makes more sense than == True

#

but you rarely ever need that

unique wyvern
#
if a == apple or orange:
vocal basin
#

!e

print(1 is True)
print(True is True)
wise cargoBOT
vocal basin
#

None, True, False, ..., ints from -5 to 255

unique wyvern
#

!or-gotcha

wise cargoBOT
#
The or-gotcha

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

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

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

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

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

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

if a instead of if a == True

#

if not a instead of if a == False

calm heron
#
def prompt_bool(prompt: str) -> bool:
    while True:
        if prompt is True:

uppercase = prompt_bool("Should the password include uppercase letters?: ")
lowercase = prompt_bool("Should the password include lowercase letters?: ")
numbers = prompt_bool("Should the password include numbers?: ")
special = prompt_bool("Should the password include special characters?: ")
unique wyvern
#
def prompt_bool(prompt: str) -> bool:
    while True:
        user_input = input(prompt)
        if user_input.lower().startswith("y"):
            return True
        if user_input.lower().startswith("n"):
            return False
        print(user_input, "is not a valid response")
calm heron
#
def prompt_bool(prompt: str) -> bool:
    while True:
        user_input = input(prompt)
        if user_input.lower().startswith("y"):
            return True
            break
        if user_input.lower().startswith("n"):
            return False
            break


uppercase = prompt_bool("Should the password include uppercase letters?: ")
lowercase = prompt_bool("Should the password include lowercase letters?: ")
numbers = prompt_bool("Should the password include numbers?: ")
special = prompt_bool("Should the password include special characters?: ")
unique wyvern
#
dispatch = {
  "y": func_1,
  "n": prompt_bool,
}
dispatch[user_response]()
vocal basin
#

(removed underscore)

#

what a horrifying creation

vocal basin
unique wyvern
#

!e

my_foo = object()
print(my_foo.__dict__)
wise cargoBOT
# unique wyvern !e ```py my_foo = object() print(my_foo.__dict__) ```

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

001 | Traceback (most recent call last):
002 |   File "/home/main.py", line 2, in <module>
003 |     print(my_foo.__dict__)
004 |           ^^^^^^^^^^^^^^^
005 | AttributeError: 'object' object has no attribute '__dict__'. Did you mean: '__dir__'?
calm heron
#
@ECHO OFF
@Setlocal EnableDelayedExpansion

Rem | Configuration
Rem | Address - The Address You Wish To PING
Rem | PingAmount - The Amount Of Times To Ping Each Cycle
set "Address=google.com"
set "PingAmount=10"

:LOOP
Set "SUM1=0"
Set "SUM2=0"
Set "WHOLE=0"
Set "MEAN=0"
Set "RUN=0"
set "MAX=0"
Set "TOTAL=0"

Echo Waiting For Ping Data...

Rem | Change The Ping Command To Strings
FOR /F "tokens=1-4,5,*" %%A in ('Ping -n %PingAmount% "%Address%" ^| Find /I "Reply"') DO (

    Rem | This is optional; Will Display Whole "Ping"
    Echo %%A %%B %%C %%D [%%E] %%F

    Rem | Grab Only "Time="
    FOR /F "tokens=1,* delims==" %%G in ('echo %%E') DO (

        Rem | Edit "Time=" String To Extract Only The Time
        Set "String=%%H"
        Set String=!String:ms=!%

        Rem | Do Math
        IF "!WHOLE!"=="2" (

            Rem | Compare Strings & Sort
            If "!SUM1!"=="!String!" (

                Set "MAX=!Sum1!"
                Set "MIN=!String!"

            ) ELSE (

                Rem | Find Largest
                for %%A in (!SUM1!, !String!) do (
                    set n=%%A
                    if !n! GTR !MAX! set MAX=!n!
                )

                Rem | Find Smallest
                for %%A in (!SUM1!, !String!) do (
                    set n=%%A
                    if !n! LSS !MAX! set MIN=!n!
                )
                Rem | Subtract 1st string from new
                Set /a "SUM2=!MAX!-!MIN!"

            )

            Rem | Add Each Differences
            Set /a "TOTAL=TOTAL+!SUM2!"

            Rem | Save Last Response
            Set "SUM1=!String!"

        ) ELSE (

            Rem | First Cycle, Set First String
            Set "SUM1=!String!"

            Rem | Disable This Check
            Set "WHOLE=2"

        )
    )
)
Rem | Do Math
Set /a "TRESULTS=!PingAmount!-1"
set /a "MEAN=!TOTAL!/!TRESULTS!"

Rem | Display Jitter
Echo The Jitter For The Above Arry Is: Jitter=!MEAN!ms
Echo(
goto LOOP
vocal basin
#

@unique wyvern because __slots__

unique wyvern
#

!e

class Foo: pass
my_foo = Foo()
print(my_foo.__dict__)
wise cargoBOT
wise loom
vocal basin
# vocal basin (removed underscore)
YES = ["y", "ye", "yes", "yep", "yas"]
NO = ["n", "no", "not"]

def prompt(s):
    def inner(t):
        if t is bool:
            while True:
                i = input(s).strip().lower()
                if i in YES:
                    return True
                if i in NO:
                    return False
                print("idk")
        raise TypeError
    return inner

def auto(f):
    def inner():
        return f(**{k: v.__metadata__[0](v.__origin__) for k, v in f.__annotations__.items()})
    return inner
unique wyvern
#
my_string.lower()
vocal basin
#

@unique wyvern it captures s

#

OpalMist-compatible code

versed pelican
#

what are you guys talking about?

vocal basin
#

(duplicate suggestion)

#

so far suggested: 🇫🇷🇮🇹🇮🇹🇫🇷

wise loom
#

you really like flags, how nice

#

☕ ?

vocal basin
#

this is such a hack

def is_bool_type[T](t: type[T]) -> TypeGuard[Callable[[bool], T]]:
    return t is bool

def prompt[T](s: str) -> Callable[[type[T]], T]:
    @wraps(prompt)
    def inner(t: type[T]) -> T:
        if is_bool_type(t):
            while True:
                i = input(s).strip().lower()
                if i in YES:
                    return t(True)
                if i in NO:
                    return t(False)
                print("idk")
        raise TypeError

    return inner
#

🇺🇸 pepperoni 🇮🇹

#

one of unsafe operations

unique wyvern
#
lowercase = "abc"
uppercase = "ABC"
numbers = "123"
symbols = "!@#"
calm heron
#
random_letter_upper = chr(random.randint(ord('A'), ord('Z')))
random_letter_lower = chr(random.randint(ord('a'), ord('z')))
random_integer = random.randint(1, 10)
special_characters = string.punctuation
random_special = random.choice(special_characters)
unique wyvern
#
chars_to_pick_from = ""
#
if user wants lowercase:
    chars_to_pick_from += lowercase
#

!e

from random import choices
print(choices(range(10), k=5))
wise cargoBOT
unique wyvern
#

!e

from random import choices
print(choices("abc123!@#ABC", k=25))
wise cargoBOT
unique wyvern
#

!e

from secrets import choices
print(choices("123abc", k=5))
vocal basin
#

yeah, was about to say

calm heron
vocal basin
#

you can actually provide a different source of randomness for random

#

what you deal with by default is a global singleton with whatever fast-ish randomness

#

timing attacks likely

#

or whatever

#

!d random.SystemRandom

wise cargoBOT
#

class random.SystemRandom([seed])```
Class that uses the [`os.urandom()`](https://docs.python.org/3/library/os.html#os.urandom) function for generating random numbers from sources provided by the operating system. Not available on all systems. Does not rely on software state, and sequences are not reproducible. Accordingly, the [`seed()`](https://docs.python.org/3/library/random.html#random.seed) method has no effect and is ignored. The [`getstate()`](https://docs.python.org/3/library/random.html#random.getstate) and [`setstate()`](https://docs.python.org/3/library/random.html#random.setstate) methods raise [`NotImplementedError`](https://docs.python.org/3/library/exceptions.html#NotImplementedError) if called.
vocal basin
#

@calm heron it's not always meaningful, actually; sometimes that just only annoys users

#

@unique wyvern urandom

#

!e

from random import SystemRandom

print(SystemRandom().choices([1, 2, 3], k=10))
wise cargoBOT
vocal basin
#

this is secure-ish

#

SystemRandom is not default

#

because 1) it's an external resource 2) slow

#

!d random.Random

wise cargoBOT
#

class random.Random([seed])```
Class that implements the default pseudo-random number generator used by the [`random`](https://docs.python.org/3/library/random.html#module-random) module.

Changed in version 3.11: Formerly the *seed* could be any hashable object. Now it is limited to: `None`, [`int`](https://docs.python.org/3/library/functions.html#int), [`float`](https://docs.python.org/3/library/functions.html#float), [`str`](https://docs.python.org/3/library/stdtypes.html#str), [`bytes`](https://docs.python.org/3/library/stdtypes.html#bytes), or [`bytearray`](https://docs.python.org/3/library/stdtypes.html#bytearray).

Subclasses of `Random` should override the following methods if they wish to make use of a different basic generator:
vocal basin
#

yeah

#

secrets sources from urandom

#

PyNaCl in its utils uses urandom for random bytes

#

just re-exports from os

#

@unique wyvern

#

,

unique wyvern
#
from random import SystemRandom, choices
#
import random

#
random.choices
vocal basin
#

meanwhile Ruby on Rails tries to auto-import everything

#

Ruby is extensible

#

RoR is kind of its own language

#

RoR is web+mvc+orm+whatever else

#

kind of like django but not ugly

#

(DHH, author of RoR, considers Python as a whole ugly)

unique wyvern
#
class Hello
   
   def initialize( name )
      @name = name.capitalize
   end
#
   end
  end
 end
end
vocal basin
#

language designed to be ugly
C++?

vocal basin
hexed trout
vocal basin
#
#

PyPA

#

@unique wyvern PyPA (org) is technically not Python directly, but it is under PSF

#

Python Packaging Authority

#

the word “authority” in the name was meant to be a joke

calm heron
#
import random
import string

def prompt_bool(prompt: str) -> bool:
    while True:
        user_input = input(prompt)
        if user_input.lower().startswith("y"):
            return True
        if user_input.lower().startswith("n"):
            return False

uppercase = prompt_bool("Should the password include uppercase letters?: ")
lowercase = prompt_bool("Should the password include lowercase letters?: ")
numbers = prompt_bool("Should the password include numbers?: ")
special = prompt_bool("Should the password include special characters?: ")
length = int(input("How long should the password be?: "))

random_letter_upper = string.ascii_uppercase
random_letter_lower = string.ascii_lowercase
random_integer = list(str(range(10)))
special_characters = string.punctuation

char_list = []

if uppercase is True:
    char_list += random_letter_upper
if lowercase is True:
    char_list += random_letter_lower
if numbers is True:
    char_list += random_integer
if special is True:
    char_list += special_characters

print(''.join(random.SystemRandom().choices(char_list, k=length)))
wise cargoBOT
vocal basin
#

!e

print(list(str(range(10))))
wise cargoBOT
vocal basin
#

I don't think you meant that

calm heron
vocal basin
#

!e

print(list(map(str, range(10))))
wise cargoBOT
vocal basin
#

nnyn

paper wolf
#

opal most isn't here wierd .....

calm heron
#

!e

random_integer = list(map(str, range(10)))
wise cargoBOT
calm heron
#

!e

print(list(map(str, range(10))))
wise cargoBOT
calm heron
vocal basin
#

having stuff like private be a method rather than a keyword

#

-ish

#

I can do this (unformatted)

#

or this

#

it also doesn't require () when calling

#

what I think it means is that you're calling something like a method on the concept of a class itself

#

@unique wyvern in_out_quart very much train motion vibes

#

acceleration/deceleration

#

7-hour timescale, yes

#

circ is coordinate<->coordinate, not angle<->coordinate, right?

#

(why it goes up to inf speed)

#

yeah, that

#

coord to coord

#

it's actually probably guessable from motion itself even without the name

#

because not many curves have inf speed

#

I've just realised, it's kind of possible to do some sort of parallaxy stuff with those random walks drawings OpalMist was making

#

maybe slightly more doable with a more pure randomised variant (how I'm doing)

vocal basin
#

I actually installed (did I? already forgot) Rust specifically to do graphics on the main PC

#

because it's currently the only one with a real GPU and okay CPU

#

@unique wyvern not really

#

initially it prefers empty space

#

then it starts some metamorphoses with its structure

#

its fundamental properties change over time

#

towards its heat death, it turns into waves

#

first it starts these small rotations

#

some stuff slowly turns into vortices

#

stuff in the bottom left looks too space-like

#

random gas clouds

#

third coordinate based on time of when it was painted/updated

#

so that it draws in front of it, layer by layer, rather than overwriting in-place

#

huh
I haven't seen this happen before

#

it, like, spawned as two straight-ish lines

#

eventually dissolved

#

but it was a very rapidly growing structure

#

two structures

#

at the same time

#

I should start saving seeds for replayability

#

it's starting to crash against itself, so soon is expected to turn into waves

#

although waves might've been happening on different settings

#

(definitely different settings, older recording)

#

it moves at such a slow pace there

#

30 minutes, it rotated colours a bunch but didn't restructure much

#

I used to have photosensitive something but hasn't been showing symptoms recently

#

minesweeper mine should explode the whole terminal

#

no chording?

#

in minesweeper

#

or middle click

#

ah

#

middle click

#

original binding

#

yes

#

okay, so, another nuance: mine count drops to 0 after completion

#

because I don't flag mines often

#

there's an existing metric for efficiency

#

3BV/click

#

3BV is trivial (compared to ZiNi) to calculate because no flags

#

ZiNi is the estimated minimum including flags

#

yeah, otherwise flags are useless

#

(there is replay)

#

it's left-click there

#

not middle

#

regular

#

215 3BV in 173 clicks

#

I think top players do around 150% eff

#

I did sub-60, and that's the record so far

#

sub-90 is normal for me

#

above 100 is excessively slow

#

if I end up with >100, that means something went wrong

#

(when aiming for anything other than efficiency)

#

2183

#

1.36% winrate when played perfectly

#

(which is approx. six 50-50 per game)

#

determining if a field is solvable is probably NP-hard or even NP-complete

#

within certain number of clicks

vocal basin
#

as soon as possible

#

otherwise wastes time, a lot

#

it's all or nothing, there is no half-solved

#

only gets rewarded with extra exp

#

rewarded compensated

#

long-term it just becomes a statistics game

#

if you aren't aiming for 2 wins in 100 consecutive tries, sacrificing win rate per game for win rate per time also makes sense

#

taking unproved risks early to improve times

unique wyvern
#

1 2 3 4
1 1

vocal basin
#

if the rendering is separate enough from logic, it should be possible to integrate it with the PvP API

#

(just a WebSocket stream of events)

#

((very undocumented stream))

#

there is a plain text single source file JavaScript front-end working with the API

#

(collected from several places in code)

// premove acknowledgement
const { x, y, open } = data.Pre;
// opened cell
const { x, y, number } = data.Open;
// someone became an active player
const { you, time_yours, time_theirs } = data.Active;
// someone lost
const { win, time_yours, time_theirs } = data.End;
// connection established
const { session, hash } = data.Session;
// opponent arrived
const { rating, hash, score_own, score_opponent, game_id } = data.Opponent;
#

there is 4D minesweeper

#

I haven't heard of any with more complex adjacency rules

vocal basin
#

because chess clock

#

whoever runs out of time, loses

#

no other normal loss conditions

#

in this variant, yes

#

by premoving you ensure that the opponent's time keeps ticking down

#

because it never becomes your turn if you have premoves

#

and lichess doesn't allow more than one premove

vocal basin
#

invent your own solitaire

#

like Zachtronics did

unique wyvern
vocal basin
vocal basin
vocal basin
#

in one of them you'd be separating non-numbers (aristocrats) and numbers (proletariat)

#

yes

#

The Zachtronics Solitaire Collection is here! Inside you will find seven totally unique solitaire games originally designed as minigames for our 2016–2022 releases, updated with new 4K graphics, plus one brand new solitaire variant found only in this collection.

  • Shenzhen Solitaire: A FreeCell-inspired solitaire variant with a three-color de…
Price

$9.99

Recommendations

707

▶ Play video
unique wyvern
vocal basin
#

it's quite confusing initially, but possible to get used to

#

some cards are very similar to each other

#

(when compared in full rather than just the top side, that one is different enough)

vocal basin
#

done in one of the dumbest ways possible

#

literally just replacing the whole page, not some granular piece of it

#

(because why bother optimising if it works fine as is)

#

I'm trying to see how this actually works mathematically

#

there is a semi-invariant seemingly

#

I do understand how it works I think

#

you can move start or end from start to end of another

unique wyvern
#

(a, b) (b, c) -> (a, c) (b, c)

vocal basin
#

graph flows down itself

#

there is some intuitive understanding of why it should end

#

but not sure how to formalise it

#

probably simpler to think of it given it's always a tree

#

(always connected, always N-1 edges => tree)

#

((very dumb proof why tree-ness is an invariant))

#

would edges collapse or stay duplicated?

#

it should stay directed acyclic somehow

#

if it starts directed acyclic, I think it's kind of easy to show why it stays such

#

there is always a point, towards which no arrows go

#

that is probably important

#

so, we ignore that point for a while,
eventually we have to remove one outgoing arrow, because the rest of the graph ends up immutable by induction
(or we just remove one arrow before that)

#

that that point eventually loses all its arrows but one

vocal basin
#

all operations not involving that point keep all arrows within those individual subgraphs

#

because an edge cannot leap across connectivity components

vocal basin
#

those two points, initial and final, are critical to demonstrating why it works

#

(well, mostly only initial, unless you want to invert time)

unique wyvern
#

ah, i found my notes, shortest game on 8 nodes

#

longest game

#

shortest game on n nodes is (2n - 4)

#

longest game on n nodes is (n - 1)(n - 2)

vocal basin
#

I think we had to prove something almost same at school

#

ah, it wasn't really that

#

but

unique wyvern
#

Tail move: b←a→c⇝a→b→c

One can imagine the tail of the edge (a, c) following the edge (a, b), such that the edge (a, c) is replaced by the edge (b, c). (Or by symmetry we could make the other tail move replacing (a,b) with (c, b))

Head move: a→b→c⇝b→c←a

One can imagine the head of the edge (a,b) following the edge (b,c), such that the edge (a, b) is replaced by the edge (a,c).

vocal basin
# vocal basin but

the question was:
given N nodes where each is connected to each with one-way edge, prove that

  1. there exists a node, from which you can reach any other in no more than 2 edges
  2. given N>=3, you can flip at most one edge to ensure each node can be reached from all others
#

both were probably solved using induction

#

(I don't remember)

unique wyvern
#

i remember i had to prove the 5-color theorem

#

(obviously not proving 4-color theorem as an undergrad)

#

graph theory proofs were fun for me back then

vocal basin
#

some professor from MIPT likes graphs quite a lot and sometimes gave lectures about them

#

especially colouring-related stuff

unique wyvern
#

one semester a professor just randomly offered graph theory

#

so i jumped in

vocal basin
#

we just had graphs randomly throughout

#

often coming up during other topics

unique wyvern
#

i can't remember if i touched graphs in any other classes

#

probably i did a bit in some lin alg classes

vocal basin
#

I just saw some game-related question

#

which I can't instantly answer

#

probably because the game is infinite

#

two players pick ranges of real numbers,
each next range must be a subset of the previous one,
if the intersection is a single rational number, first player wins,
otherwise second player wins

#

the question is who wins when playing optimally

#

(after infinite turns)

#

intuitively, second player should win

unique wyvern
#

this feels like nim but more evil

vocal basin
#

infinim

vocal basin
vocal basin
#

otherwise first player wins on turn 1

#

just picking range from 0 to 0

unique wyvern
#

hm, maybe force start and end of range to be diifferent

vocal basin
#

yeah, that might be better, since it's a weaker requirement than strict subsetness+non-sabotage-rule

unique wyvern
#

i can't think of a way for player 1 to win though

vocal basin
#

(ignoring all the digits before the . point; representing numbers in binary)
player 2 strat:
find any prefix such that all numbers with such prefix fit into the range picked by player 1,
double the prefix in length with only 0s or 1s (whichever occurs less in the found prefix)
double the prefix in length with only 0s or 1s (alternating across p2's moves)

#

rational numbers need infinitely repeating chunks of digits

#

and this doesn't allow that

#

wait, no, there is easier to prove option

#

fixed

#

ensures there are arbitrarily long sequences of 0s and arbitrarily long sequences of 1s

#

maybe don't even take into account whatever p1 did

#

(almost)

#

((only picking the prefix that is valid, but ignoring the length of it))

unique wyvern
#

just pick a range at random

#

couldn't be me

vocal basin
#

with good enough randomness, that will work, yes

#

in 100% of cases

#

probably time for me to go
(already morning)

unique wyvern
#

that's time to wake up

#

tell your sleep it's confused

#

but also good night

icy raptor
#

hi

marble pendant
wise cargoBOT
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.

shrewd warren
icy raptor
#

Sorry, I am a beginner and I don't know how to use the API key.

somber heath
marble pendant
#

git nuked nerd

#

break

icy raptor
#

sorry my english is bad because I am from indonesian

somber heath
icy raptor
#

thank you:)

shrewd warren
#

@somber heath

somber heath
#

@last ingot 👋

calm heron
#

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

last ingot
#

great resource here, never knew python had a server

#

😄

#

print("hello world")

calm heron
#

!e

print("Hello World!")
wise cargoBOT
icy raptor
#

lontong

#

!e

print("hello")```
wise cargoBOT
wind raptor
icy raptor
#

bakwan

wind raptor
#

Gulai Otak

icy raptor
hybrid latch
#

hi

icy raptor
wind raptor
#

@hybrid latch

icy raptor
#

🙂

#

i make this when im bored

inner hill
#

hi,Opal

hybrid latch
#

hi

inner hill
#

Hey,Millen you once said you worked in hospital at casualty , i am right or i am hallucinating @peak depot

peak depot
#

I use to

somber heath
#

@white torrent 👋

last ingot
#

i cant talk

#

lol

#

im new here

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.

last ingot
#

until then im have fun

#

🙂

#

!e print("hello world")

wise cargoBOT
last ingot
#

i want to scrap job sites with python

#

anyone know if there are sites that store them in a database of some sort already ?

#

indeed api

#

now a days theres alot of bloat jobs

#

and just looking for attention for their company

#

its so hard to deal with

#

😄

#

networking is a big thing, also its the aesethetic part people want nowadays

#

something

#

oh my keyboard was messed up

#

but yeeh i want to be involved with microsot some day

#

im not a programmer

#

more of ssolutions and tech

#

"Troubeshoot the cloud"

#

with python - is something i want to learn

#

thus why im here

#

!user

wise cargoBOT
#

You are not allowed to use that command here. Please use the #bot-commands channel instead.

frozen shore
#

guys i know this make me embrassed but python is good for software enginner? because i am beginner of programming and python is very easy for me

last ingot
#

or troubelshooting error codes that a ssystem cant handle or is confused about

#

31 msgs and 20 more to go!!

#

less gooo

somber heath
last ingot
somber heath
#

Is it good? Yes. Just remember: For each problem, the tool best suited to solving it.

last ingot
#

if you have a use case and python does it, how well does it do it ?

#

doess aanother lanugage do it? aree there dependencies supporting it ? or do you need another language ?

#

i hope im explaiining it well

last ingot
#

not me

#

Im trying to help the individuals questions

#

🍮

#

are you a coder ?

frozen shore
last ingot
#

i cant talk so i have to text

#

whats not special ?

frozen shore
#

sorry

last ingot
#

itss ok

somber heath
#

This is the accompanying text channel to the voice chat. You're welcome to join the voice channel with us.

#

@bleak sleet 👋

last ingot
#

you cant talk ass well i see

#

😄

#

its only me :

#

2 more messages

#

right now

frozen shore
last ingot
#

i ask alot of questions in vc

#

lol

#

my mechanical keyboard issues

#

some keys aree doouble typing

#

its annoying so ive let it be

#

i have to be here for 3 days now

#

50 msgs compleeted ✅ , 3 days in server 😒

somber heath
modest shale
#

hello

#

good

#

how are u guys

#

just exam are going on

#

yes i am

#

probably

#

what kind of project?

#

@somber heath u are in software dev right ?
what are black and white box testing

#

these question came in previous years

#

do u @bleak sleet ? know ?

#

just a little bit

#

i am googling now

#

guys my fellow frd working on this website can u give me a quick review
https://vlop.fun/

vlop - Free Streaming Platform

Watch your favorite shows and movies for free with no ads ever!

#

its for a movie but ads free

#

i dont really understand, and u probaly dont watch movie @somber heath

#

that was guesss lmao

#

yeah there are just lot of ads everywhere
so just clean ui with no ads

#

that was the idea

#

yeah that will keep in mind

#

like watch history

#

my friend

#

yeah its still processing

#

the devlopment is still improving

#

like the hd quality source are still adding

#

idk probably no money

#

thats why he turn off add

#

and its probably going to open source

#

soon probably

#

i guess thats 1 idea

#

no I am sorry

#

yeah he really is inspiring for me also

#

see ya

#

see ya! @somber heath

fluid wagon
#

yeah

#

i see

somber heath
#

@native lantern 👋

ornate terrace
#

hello sir @somber heath

somber heath
#

@keen widget 👋

upper basin
#

principle of computational equivalence

somber heath
#

@atomic tinsel 👋

atomic tinsel
#

Hello

#

Does writing here

#

Help

#

With speaking

#

Points

somber heath
#

@olive basin 👋

#

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

somber heath
#

@chilly parcel 👋

ornate terrace
#

hello

#

ya my mic is not working

#

wow damm voice

vocal basin
#

even some books are free

#

in pdf form, usually

#

(not necessarily the best format for reading)

#

calibre can reinterpret pdf as epub, but that ends up kind of ugly

#

(for that to work, it needs to be properly laid out semantically, not just geometrically)

eternal ether
#

there are some great books on kindle for free if you have the kindle subscription as well. i've snagged some cool Pythong w/ Langgraph books on there

#

so not technically free but cheaper then parma w/ chips

#

nod to @somber heath

next blade
#

hey