#voice-chat-text-0

1 messages · Page 329 of 1

wise cargoBOT
#

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

whole bear
#

god damn

#

im trying to fix this for a month

#

aight

#

its ok

#

i didn t know

vocal basin
#

@verbal zenith only .rs files are supported because of how it integrates with the build system as a whole

whole bear
#

Thanks you alisa

vocal basin
#

you can have non-Rust files

#

and just have a singular Rust file to open them by name or whatever

#
examples/
  _run.rs
  numbers.rattlescript
  strings.rattlescript

cargo run --example _run -- numbers
cargo run --example _run -- strings
#

or just this, assuming the project can take files as is

examples/
  numbers.rat
  strings.rat

cargo run -- examples/numbers.rat
cargo run -- examples/strings.rat
#

non-.rs files in examples can be whatever; the only restriction cargo poses is how .rs files and crate-like directories are handled

#

.repeat?

#

on a slice

#

I should probably convert this into a proc-macro so that it's parametrizable

#

there is a method that accepts &[Something; N] but not &[Something]

#

that's why that thing

#

not directly inside impl

#

you can put it inside methods

#

it now has language selector instead of just language guessing thing

#

previous paste sometimes decided that what it's looking at is not Python

#

e.g. HTML

#

@verbal zenith your crate is just importable from an example if it's a library

#

@verbal zenith clap you can just use

#

if you have it in either dependencies or dev-dependencies

#

(or both, then latter takes the priority)

#

odd that RR can't figure out how examples/ work

#

your crate is treated as external there

#

@verbal zenith to use the crate, it needs to be a library

#

no

#

don't extern crate almost ever

#

you need a lib.rs file

#

you don't really need anything from the crate to generate the text

onyx linden
#

@vocal basin can i get help

vocal basin
#

help with what

onyx linden
vocal basin
#

what do you mean by crashing

onyx linden
#

dosent wanna open for me'

vocal basin
#

how are you opening it

onyx linden
#

everytime i try it dont work

#

can i come in vc and show=

vocal basin
#

what does the output show when you run it from the terminal

onyx linden
#

all ik is that it dosent open for me

vocal basin
#

how are you running the program?

#

and what are you running?

#

python script or just python interpreter?

onyx linden
#

and i show in vc dude?

#

look

vocal basin
#

also

#

!rule 5

wise cargoBOT
#

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

onyx linden
vocal basin
#

why is there "Nitro Codes" and "Valid Codes" then

whole bear
#

😂 🙏

onyx linden
#

u want me to remove and send vids

wicked fox
#

whatcha working on?

vocal basin
vocal basin
onyx linden
#

there my personal bro

#

lady mb

vocal basin
#

then keep those separate from the project

onyx linden
#

ok i will

vocal basin
#

do not commit secrets to Git

onyx linden
#

ima move them now

vocal basin
onyx linden
#

ok i removed them

#

can i send a other vid now?

#

@vocal basin '

vocal basin
#

@verbal zenith "profile"

#

!e

x = 1.23
print(f"{x:.4}")
wise cargoBOT
vocal basin
#

hmm

#

!e

x = 1.23
print(f"{x:0.4}")
wise cargoBOT
vocal basin
#

I forgot

#

!e

x = 1.23
print(f"{x:.4f}")
wise cargoBOT
vocal basin
#

this

#

!e

x = 1.23
print(f"{x:.4%}")
wise cargoBOT
spare galleon
#

!e

#

cool

vocal basin
#

you can move variables into def main() to avoid shadowing

#

otherwise it's global and you can just refer to it

#

@verbal zenith .Popen is asynchronous, .check_output is synchronous

rugged root
#

Is Gemini any good as a model?

vocal basin
#

good for what

verbal zenith
rugged root
#

Usable. Wanting to upgrade my phone (currently have the Pixel 5 which is no longer receiving security updates) and looking at the Pixel 8 line.

spare galleon
#

is it gud

rugged root
#

Pixel 8 is super super tied into the whole Gemini stuff

#

Main reason why I'm wondering

spare galleon
#

depends on what, i think im some ways it beats gpt4, but mostly is beaten by gpt4

#

i can show you, i have gemini pro

spare galleon
vocal basin
#

RR can't handle examples properly

#

how

spare galleon
#

unless you meant to connect it to an ide, in which case, i dont have an ai's connected to any of my ide's

rugged root
#

Well it's less about that kind of stuff, I think. One of the things it touts is being able to take a recorded conversation or presentation or what have you, transcribe it, and then even be able to give a summary of what it was all about

rugged root
#

Photo clean-up and improvement, stuff like that

spare galleon
vocal basin
#

@rapid flame runtime environment isn't The Problem, IDE is

rugged root
#

Neat

vocal basin
#

Windows is a totally fine platform for Rust

spare galleon
#

however no better then any other AI, and also it has its limits, dont expect magic

spare galleon
vocal basin
#

you can use RR with WSL and have all the same problems

#

@rapid flame JetBrains has its own ideas about toolchains

#

its own wrong ideas

#

PyCharm is okay-ish

#

but only because it pre-indexes

#

which is a different cost

#

and it probably still doesn't handle nested wildcard re-exports

#

if you put from c import * in b then from b import * in a, it melts

#

best parts of IntelliJ ecosystem are IDEA and Rider just because how bad the alternatives are

#

and maybe also CLion because it's a functioning convenient C/C++ IDE, which is rare

#

I didn't hear, what recommended?

#

Node.js?

#

it's first listed not necessarily preferred

#

or rather

#

they suggest to use it inside Docker specifically

#

and WSL

#

2

#

it's also a less memory-hungry use of WSL

spare galleon
vocal basin
#

WeaSeL
SQueaL

#

what else is there

vocal basin
#

I have Fleet installed, idk why

#

I'm not even sure I ever opened it

#

oh, today an album is released

#

which has two lines of my vocals in it

#

backing vocals

spare galleon
vocal basin
#

idk if it's available worldwide

spare galleon
vocal basin
rugged root
#

Region locked for me

vocal basin
#

not that I can open it either lol

rugged root
#

Weeeeeiiiiiird

somber heath
#

@timid spire 👋

spare galleon
open quiver
#

this vc is popping

#

holy

silk dust
#

@open quiver you in competition?

#

kaggle

vocal basin
rugged root
#

Do you play any instruments in the band or just some vocals?

vocal basin
#

I don't think they had anything in terms of music from me before

open quiver
#

LETS DO IT! @silk dust

vocal basin
#

I do infrastructure work (I host file sharing service they use and a wiki for them)

silk dust
#

had to install a bunch of packages

vocal basin
#

I did do some sound-design-related stuff but I don't they've used anything directly

open quiver
#

same want to create a gc to team up?

vocal basin
#

most of sound research I do is via Python

spare galleon
vocal basin
#

sounddevice, numpy, scipy

#

I think

#

not sure if I used sounddevice for recording

#

write code early

#

don't waste months on planning

#

adequate planning is done just before and during development not strictly before development

#

sometimes it's okay to start with implementation and figure out usecase later

#

but generally usecases are an important guidance mechanism

#

RDBMS things you need to plan because that's how they're built

#

schema

#

but there are many things nowadays which allow you to gradually upgrade it (migrations)

vocal basin
primal shadow
#

I prefer to have a vision of MVP before I write a line of code

vocal basin
#

yeah, a usecase: what this program should do, at least in some sense

#

implementation-first is more for experiments

#

"what if"s

#

I don't track hours, I have no idea what I average a week

#

"I become the domain knowledge"
"I am the domain knowledge"
in cases of some obscure niche domains

#

I still have some business idea but that kind of necessarily involves making the website as a central piece of it

#

one day I might actually start making it and not just put it away for later

primal shadow
vocal basin
#

for referencing specifics, MDN

#

react isn't that big

#

you can just read through all the docs

#

inspired by Elm

#

React is framework and library, the way I see it

#

framework at least just for how much limits what you can do

#

or, as it's known nowadays, PUBGBG

#

truly a rename of all time

#

I got more steam money from PUBG than the game itself cost

vocal basin
#

it was mentioned somewhere here earlier

#

I prefer improving ergonomics of the what I use and toolmaking to using AI for boilerplate
(rather make it be easier even without AI than have AI do the hard work for me)

#

"probably most people would prefer a car which doesn't have knife-sharp edges"

#

waiting for the "cybertruck: less aerodynamic than a cow" memes to arrive

vocal basin
#

tbf translating SICP into JS isn't that hard since it's Lisp anyway

#

30 games for $0.15

#

I remember buying some bundle like that

#

there was something like 2 playable ones

#

I've only seen Enshrouded through the prism of LGIO misplaying it

#

I should play through all of Zachtronics' games at some point

#

reminder that such a masterpiece game as Trans-Siberian Railway Simulator exists

#

"can't wait to get 4090 Ti so that I can play it in 30fps"

spare galleon
primal shadow
spare galleon
#

@rugged root why was your last post a year ago\

vocal basin
#

for a second I thought this was about Click To Ten game

primal shadow
spare galleon
primal shadow
vocal basin
#

has Unturned bot situation been dealt with yet I wonder

#

it's a good game
but there's something sketchy happening to player count

rugged root
vocal basin
#

"if there's no one to sue you..."

#

if you distribute it, you'll definitely get into trouble

#

see ARK for example

#

it's soon to be abandonware technically

#

but devs sure want you to just pay more for a new version

#

(unless they backtracked on that)

#

no

#

they want to drop its support

#

and move everyone to new game

#

or wanted to do that long time ago

#

!voice @whole bear

wise cargoBOT
#
Voice verification

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

vocal basin
#

a while being <day

stuck furnace
#

@whole bear Post the error message here!

vocal basin
#

(assuming Windows)

stuck furnace
#

@primal shadow Yeah nowadays it doesn't by default because you can use py instead.

#

Oh pithink

vocal basin
#

both PATH and py are optional

#

I've ordered more RAM just to max out what CPU supports

whole bear
stuck furnace
vocal basin
stuck furnace
#

How did you install Python?

vocal basin
#

make sure to check "py launcher"

vocal basin
whole bear
#

ill try the py thing

vocal basin
#

if the installer says that python is already installed, select customize installation

whole bear
#

ok

rugged root
#

Or uninstall reinstall

#

Sometimes you just have to kick it in the butt

vocal basin
whole bear
#

but it like has to use python 3.10

#

i dont

#

the py thing is already checked

#

i cant take it off

#

but ill see if it works now

#

nope

vocal basin
#

hmm

whole bear
#

can we change like the bat file itself or smth

#

idek

whole bear
vocal basin
#

this might make python be recognised there

#

and py being findable as a collateral result

#

hmm

#

you're running it from cmd.exe, right?

whole bear
#

can we private call so ic an share my screen?

vocal basin
#

do you have C:\Windows\py.exe on your computer?

#

after running the installer

#

ig you can directly call that

#

hmm

#

but Windows should already be able to pull from C:\Windows...

stuck furnace
#

You're Watching The Official 4k Video Of Weapon Of Choice by Fatboy Slim

Arguably Fatboy Slim’s most famous music video of all time, Weapon Of Choice features Christopher Walken dancing around a deserted hotel lobby. The Spike Jonze-directed video won multiple awards at the 2001 MTV music video awards and won the 2002 Grammy award for best mu...

▶ Play video
vocal basin
whole bear
#

i finished it

vocal basin
#

if it doesn't exist, then that's very weird

whole bear
#

and how to i check that..

#

me silly forgor

vocal basin
#

win+R
C:\Windows\py.exe
enter

vocal basin
whole bear
#

but could we vc

vocal basin
#

from terminal/from explorer/from IDE?

whole bear
#

share screen = 10 times easier

stuck furnace
#

Could you try logging out and back in again?

whole bear
#

its s github project

#

im not tryna create a malicious script

#

anybody could say that

#

im a man

#

i am a cat

#

but im still a man

gentle flint
#

meow

stuck furnace
#

Cya @rugged root

whole bear
#

after downloading python

spare galleon
whole bear
spare galleon
stuck furnace
#

Did you just install it to the default location?

whole bear
#

i think

stuck furnace
#

Could you open powershell and run the command ```
echo $env:PATH

vocal basin
#

darkgrey is light grey

whole bear
#

no im here

#

im slow

stuck furnace
#

Oh 😄

vocal basin
#

that's how HTML labels those two colours

#

it's not about perception, it's about what numbers it's hard-coded to be

whole bear
#

LX you there?

spare galleon
#

@gentle flint

stuck furnace
vocal basin
#

the actual darker one is dimgray

whole bear
#

like just say py

gentle flint
spare galleon
stuck furnace
whole bear
#

nope

#

py : The term 'py' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spe
lling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1

  • py
  • ~~
    • CategoryInfo : ObjectNotFound: (py:String) [], CommandNotFoundException
    • FullyQualifiedErrorId : CommandNotFoundException
stuck furnace
#

Oh pithink

gentle flint
spare galleon
gentle flint
#

true

whole bear
#

yes

#

?

#

uhh no i cant

#

sadly

#

sickkkk

#

redacted you got any idea whats wrong?

#

py : The term 'py' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spe
lling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1

  • py
  • ~~
    • CategoryInfo : ObjectNotFound: (py:String) [], CommandNotFoundException
    • FullyQualifiedErrorId : CommandNotFoundException
#

oh thats fine

#

loll

#

i think ive tried that

#

it like has to be 3.10

#

and iv egot 3.10

spare galleon
#

python --version

whole bear
#

Python 3.10.0

#

as it should be

#

system

#

do i really neem a vm

#

oh ok

stuck furnace
#

Does py.exe exist in C:\Users\Olive\AppData\Local\Programs\Python\Launcher\?

whole bear
#

like just open the c:

#

and see if ppy is inside

stuck furnace
#

@spare galleon On your profile I think

whole bear
#

i joined like under an hour ago

stuck furnace
#

Yea the big profile

whole bear
#

cause i couldnt get this shit to work

stuck furnace
whole bear
#

danish

#

😭

stuck furnace
#

Er, I don't know what's going on, but adding C:\Users\Olive\AppData\Local\Programs\Python\Launcher\ to your PATH I think should fix it.

#

Cya plome!

whole bear
#

?

spare galleon
whole bear
#

its on english wdym

stuck furnace
# whole bear

Yep! Just click new and add C:\Users\Olive\AppData\Local\Programs\Python\Launcher\

whole bear
#

og ik how to create a new

#

redacted

#

you guys are the most wonderful people ever

#

it works

stuck furnace
#

Did it work?

#

Nice

whole bear
#

lx you are one beautiful man

#

sexy

stuck furnace
#

I have no idea how it got into that state 🤷‍♂️

whole bear
#

"no homo"

whole bear
#

i plan on becoming a software engineer

#

or is it a bad idea

stuck furnace
#

You should be able to list the python versions you have installed with py --list now

spare galleon
whole bear
#

isnt it like boring as shit

spare galleon
stuck furnace
#

@spare galleon Yea I think so 😄

#

Nah

whole bear
#

you get thrown out

#

im speaking with experience....

stuck furnace
#

I think all infractions kick the person from VC actually, including timeouts etc.

spare galleon
stuck furnace
#

¯_(ツ)_/¯

whole bear
#

it does

stuck furnace
#

Ideas for like...

#

projects?

#

Programming projects?

whole bear
#

its like ai

#

but best in coding

#

like good with programming

#

thats where blackbox ai comes in

stuck furnace
#

Yeah I'm heading off

#

Cya! 👋

vocal basin
whole bear
#

really sad i can use vc

#

but whatever

#

i have time

#

to wait

spare galleon
vocal basin
#

impressive

#

but sadly wrong

whole bear
#

redacted

#

what music do you listen to

#

intresting

vocal basin
#

a what did it just write

whole bear
#

evil cat

undone idol
#

lmao

whole bear
#

sorry raised to not send it born to send it

spare galleon
#
class Vector {
    // Constructor method to initialize the vector components
    constructor(x, y) {
        this.x = x;
        this.y = y;
    }

    // Method to add another vector to the current vector
    add(v) {
        return new Vector(this.x + v.x, this.y + v.y);
    }

    // Method to subtract another vector from the current vector
    subtract(v) {
        return new Vector(this.x - v.x, this.y - v.y);
    }

    // Method to multiply the vector by a scalar value
    multiply(scalar) {
        return new Vector(this.x * scalar, this.y * scalar);
    }

    // Method to calculate the dot product with another vector
    dot(v) {
        return this.x * v.x + this.y * v.y;
    }

    // Method to calculate the magnitude (length) of the vector
    magnitude() {
        return Math.sqrt(this.x * this.x + this.y * this.y);
    }

    // Method to normalize the vector (make its magnitude 1)
    normalize() {
        const mag = this.magnitude(); // Get the magnitude of the vector
        return new Vector(this.x / mag, this.y / mag); // Divide each component by the magnitude
    }
}```
whole bear
#

redacted you want your cheese badge?

vocal basin
#

sed being integrated into discord has so far not done anything good for the society

#

like a singular function of sed

#

that was s/test/testtest

#

s/original/replaced with

#

I don't remember if it repeats

undone idol
vocal basin
#

it does not repeat by default

#

so it's like .replace("original", "replaced with", 1) or whatever notation python has for max count

stuck furnace
#

Not appropriate

whole bear
#

😭

stuck furnace
#

Nor this

#

👍

whole bear
#

😭

vocal basin
#

genuinely impressive

#

generally models are able to pass the simple tests at least

whole bear
#

💀

vocal basin
#

gpt3, phind, gemini, replit ai

#

those passed at least one test first try

#

yes

whole bear
#

the blackbox

#

it hink

#

wait

#

ti

#

ti

#

grrrrr

vocal basin
#

it can't even understand // don't change anything below comment from the challenge

spare galleon
#
    requestAnimationFrame(gameLoop);
    function gameLoop() {
        ctx.clearRect(0, 0, canvas.width, canvas.height);
        function player(){

            ctx.drawImage(player.image, player.x, player.y, player.width, player.height);
            player.y -= 10;
        }

        function floor(){
            ctx.drawImage(floor.image, floor.x, floor.y, floor.width, floor.height);
            ctx.drawImage(floor.image, floor.x, floor.y, floor.width, floor.height);
        }

        player();
        floor();
        requestAnimationFrame(gameLoop);
    }



}
```why does player.y not do anything
vocal basin
#

well, at least, after two queries I was able to make it generate okay-ish definition for a Monad trait in Rust

#

just wait until the next OpenAI outage to find out

#

why is dark theme button hidden so far away

whole bear
#

ight im gonna head to sleep

vocal basin
#

it does feel like altered GPT3.5, yes

whole bear
#

goodnight ppl

#

and i sure dont hope theres any mosquitoes CAUSAE IM STUNG EVERYWHERE

#

AND ITS ITCHY

#

GRRRRRRRRR

vocal basin
#

it's bad at reading code, but it's okay for producing code

#

bad practices at speed and scale

#

almost no comment is proper comment

#

yes

#

but

#

the problem is: there are many people who write many useless comments

#

which offsets useful comments

#

most LLMs have this terrible attitude of commenting everything when you ask them in a manner which they guess to be expecting an educational answer

#

generally comments are for excuses, memes and reasoning not explanations

#

"how this works" comments are often wrong

#

"why" comments are more useful

#

it worked until it didn't

#

it did mention "load balancer" earlier (and that was the question I expected it to answer with)
tbf it's not exactly a pattern

vocal basin
#

it was explaining the code adequately, then I asked it about the pattern and it failed

#

and now it's misunderstanding what replay means

#

tbf I wasn't really expecting it to contextualise half thousand lines of code

#

different code sample

#

first and second

spare galleon
#
    requestAnimationFrame(gameLoop);
    function gameLoop() {
        ctx.clearRect(0, 0, canvas.width, canvas.height);
        function drawPlayer(){
            ctx.drawImage(player.image, player.x, player.y, player.width, player.height);
            player.y += 10;

            if (player.y > 400)
                player.y = 400;
        }

        function drawFloor(){
            ctx.drawImage(floor.image, floor.x, floor.y, floor.width, floor.height);
            ctx.drawImage(floor.image, floor.x, floor.y, floor.width, floor.height);
        }

        drawPlayer();
        drawFloor();
        requestAnimationFrame(gameLoop);
    }
}
vocal basin
#

epic fail

spare galleon
#

why it no worky

vocal basin
spare galleon
#

this image

vocal basin
#

what's the expected and actual result?

spare galleon
#
 //loading assets
    var player = {
        image: new Image(),
        x: 400,
        y: 100,
        width: 100 / 1.5,
        height: 100 / 1.5,
        MomentumY: 0,
        velocityY: 0,
        mass: 10
    };

    var floor = {
        image: new Image(),
        x: 10,
        y: 400,
        width: 300,
        height: 300,
        MomentumY: 0,
        velocityY: 0,
        mass: 1000
    };
    player.image.src = 'pink_smileyface.png';
    floor.image.src = 'greenbrownfloor.png';```
vocal basin
#

it draws nothing at all?

spare galleon
vocal basin
#

have you tried rendering it at different coordinates/different dimensions?

#

which variable?

#

it might hypothetically collide with something

#

(that was a guess about how specific name could've broken it)

#

anyways
I need to go now

spare galleon
pearl acorn
#

okey

#

nothing

#

learning python for devops

#

just final year of collage

#

it is a Bachelor of Computer Application

#

i am from india delhi

#

my friends are jerk

#

😂

#

they dont study and got backlogs

#

once

#

i know someone who is cofounder in a startup

#

yep in startip i learn more than a job

#

they pay less but longterm good for me

#

they help small companies to gain there online presence

#

appsmith

#

in which state you are work

#

no in this startup they help to grow small business like their small website for business

#

like marketing and their website managing there catalogue

#

🙂

#

grand ma will be happy

#

they made recently

#

yes new startup

#

shri ram

#

I like to work on cloud Technology Jenkins ci/cd containerization /Aws but I at the very early stage of learning

#

yes I did 3 years of military training

#

I had used respect for military personal no matter which country their from

#

there job is the hardest

#

so there is a camp I went in the infantry military Battalion and in 15 day I feel their job is the hardest their lifestyle is very hard and engineer jobs are hard to they have to come before the fight and after the fight

#

my favourite part is that everyone mental strength is growing rapidly like you waking up three a.m. in the morning and going for training doing your daily job sitting brushing hell lot things

#

i was their

#

nice talking to you

vocal basin
#

@verbal zenith what type does the argument have?

#

you probably need FnMut but it's declared as Fn

#

@verbal zenith fn won't work at all

#

you need either dyn or impl

#

dyn is stored via &mut dyn FnMut() or Box<dyn FnMut()>
impl is stored via an extra generic parameter

#

imo simplest option
argument: impl FnMut(ErrorReport)
field: Box<dyn FnMut(ErrorReport)>

#

thing I was going to show but then forgot (how many lifetimes I had to use to make bumpalo work)

#

which

#

ah

#

impl 'static + FnMut(ErrorReport)

#

or

#

impl 'some_lifetime + FnMut(ErrorReport)
Box<dyn 'some_lifetime + FnMut(ErrorReport)>

#

(you can move + 'some_lifetime to the end if you prefer that)

#

dyn by default assumes 'static

#

> lifetimes are at the beginning anyway
that's exactly why I put them there despite how it's normally done

vocal basin
#

; at the end is what HTML does iirc

#

named lifetimes are common when there's more than one lifetime

#

!e

print("\u1111")
wise cargoBOT
vocal basin
#

there's Python way where it expects the correct length

#

!e

print("\U11111111")
wise cargoBOT
# vocal basin !e ```py print("\U11111111") ```

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

001 |   File "/home/main.py", line 1
002 |     print("\U11111111")
003 |           ^^^^^^^^^^^^
004 | SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 0-9: illegal Unicode character
vocal basin
#

hmm

vocal basin
verbal zenith
#

!e

print("\u111")
vocal basin
#

I don't remember if std/alloc/core have more places with named lifetimes

verbal zenith
#

!e

print("\x111")
vocal basin
#

!e

print("\0141")
wise cargoBOT
vocal basin
#

hmm

#

not that

verbal zenith
#

!e

print("\0")
wise cargoBOT
vocal basin
#

!e

print("\077")
wise cargoBOT
vocal basin
#

this

#

!e

print(chr(0o77))
wise cargoBOT
vocal basin
#

only works for first 64

#

!e

print("\141")
wise cargoBOT
vocal basin
#

idk if that works outside ASCII range

pearl acorn
#

hello

#

are you their

primal shadow
#

Good morning

verbal zenith
#

@vocal basin

#

It works WOOOOO

#

And it's really fast

whole bear
#

I hate how I can’t hear shit

#

Ok now it’s oki

#

hey

#

Pair programming sounds like a date

#

@primal shadow

#

Oh damn

#

Wait

wise loom
wise cargoBOT
#

:incoming_envelope: :ok_hand: applied timeout to @glacial shale until <t:1719635760:f> (10 minutes) (reason: duplicates spam - sent 4 duplicate messages).

The <@&831776746206265384> have been alerted for review.

wise loom
twin pond
wise loom
twin pond
#

not really xd

#

theres not a single dev in my family, its js me

#

instead, my fathers only fear was programming in computers and the mole in chemistry 😭

whole bear
#

so I do not think

#

I will ever be allowed to talk in a vc

wise loom
twin pond
whole bear
wise loom
primal shadow
#

Not sure I'd call 3 days and 50 messages ages

#

maybe like... 3 days minimum

#

I guess for like...microbes that's a quantity of generations, but for humans, not so bad

wise loom
somber heath
#

@velvet crow 👋

whole bear
wise loom
whole bear
whole bear
#

@somber heath yeah I get it there is lot of trolls and immature users online

#

I can imagine how annoying it must have been lol

somber heath
#

@whole bear 👋

whole bear
#

Hii

#

hi humans in voice chat 0

#

But I can't speak

primal shadow
#

Hello

wise loom
#

do we have a bot here that can count messages for a user?

primal shadow
#

discord does it pretty good

wise loom
#

like a /stats command or something

peak depot
#

hi LX

stuck furnace
#

Hey everyone 👋

wise loom
primal shadow
whole bear
#

lolool you better have 🤣

whole bear
wise loom
somber heath
#

@shrewd basin 👋

primal shadow
#

50 in 3 days isp retty easy if you hang out in chat

wise loom
stuck furnace
#

What're you guys talking about?

whole bear
whole bear
#

:p

somber heath
stuck furnace
#

What educational games are there?

#

Oh steam sale

#

I wish I had money

whole bear
#

end of convo

stuck furnace
#

@stark river What changes have they made?

wise loom
stuck furnace
#

It's been a while since I've used Java

wise loom
whole bear
wise loom
stuck furnace
#

London too

#

I didn't go though

whole bear
wise loom
#

i'm having peach juice + rum + ice today

whole bear
#

liking ho2... kinda lame

wise loom
#

🍑 + 🧊 + 🍹

wise loom
stuck furnace
#

Ah yeah. Reddit's search feature is also pretty bad

#

Yep

whole bear
#

when you said it we got a different vibe than when you sent the emojis*...

#

if you look at the emojis...

#

they tell a different story

wise loom
wise loom
whole bear
peak depot
wise loom
whole bear
#

lol

#

I am a noob

#

a beginner

#

tbh

quaint oyster
#

everyone is a noob'

whole bear
#

but I figured it would be helpful to join server where people also like coding and know how to do it well lol

wise loom
#

although to be fair, there's more programming going on in text than in VC

whole bear
#

I feel like vc would be more helpful. Also I am embarrassed to send any code via text because... it is very beginner stufff tbh

#

so there's that

primal shadow
#

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

stuck furnace
#

Errr, django I think

#

The site is also part of the backend of the bot

#

That's where we store like infraction data and stuff

whole bear
#

Braveeeeeeeeeeeeee is a good browser

#

f^^^^^ bing and googleeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee

stuck furnace
#

I just like duckduckgo because of the ! commands

#

Like !py to search the python docs

#

Oh really

wise loom
#

But then.. why should your code be perfect if you're a beginner

stuck furnace
#

LP?

#

Erm, he left the server

#

I think it was a bit of a distraction for him

#

@quartz beacon Connection issues?

quartz beacon
#

but i then realised what you meant

stuck furnace
#

What's everyone up to today?

wise loom
stuck furnace
#

Yeah I use Edge on Windows

#

Not sure I remember why I switched from FF though.

#

Firefox

#

Have you tried Vimium (the extension)?

#

Vimium C is another I think

wind coral
#

what about brave ?

stark river
#

Tridactyl

stuck furnace
#

I gotta go, cya 👋

whole bear
wise loom
#

@whole bear do you play any games

#

in other news

#

has anyone been able to migrate a Windows install from one disk to another?
via diskpart/bcdedit/bootrec ?

primal shadow
#

a long time ago from a hdd to an ssd

short owl
#

extract key --> reinstall fresh windows to new faster SSD @wise loom

wise loom
short owl
#

I agree , I need to learn same thing , will consult my GURU @wise loom

pearl acorn
#

hello

#

some

#

ab

pearl acorn
#

😂

#

Python 3.12.4

#

use vm

errant hatch
#

hi guys myself alisha

vestal arrow
#

hi

#

what is the voice chat today

spare galleon
slender sierra
#

Hi @somber heath

vestal arrow
somber heath
#

@solar pike 👋

solar pike
#

hey

#

i cant speak

somber heath
solar pike
#

ty

#

Voice Gate failed
You are not currently eligible to use voice inside Python Discord for the following reasons:

You have sent less than 50 messages.

#

damn

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied timeout to @solar pike until <t:1719758798:f> (10 minutes) (reason: burst spam - sent 8 messages).

The <@&831776746206265384> have been alerted for review.

vestal arrow
#

can i join

somber heath
vestal arrow
#

so i can

somber heath
#

Join or don't.

vestal arrow
#

ok

somber heath
#

Life is full of possibilities...or many inevitabilities.

earnest quartz
#

hi cool man

earnest quartz
whole bear
#

hi

primal shadow
#

HELLO

vestal arrow
#

hi

primal shadow
#

Gotta love caps, the worst key ever

vestal arrow
#

lol

somber heath
#

@calm copper 👋

calm copper
#

hi

#

sorry i dunno how to verify

#

to be able to talk lol

stark river
#

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

somber heath
#

@fleet atlas 👋

fleet atlas
#

Hi

calm copper
#

hmm so i joined today so I doubt i'll be able to speak haha

#

these were the requirements

#

You have been on the server for less than 3 days.
You have sent less than 50 messages.
You have been active for fewer than 3 ten-minute blocks.

#

see yall in 3 days haha

#

😿

#

right right

#

anyway i'm gonna go i got a data science task to complete for an interview tomorrow and i'm procrastinating

#

take careee

fleet atlas
#

Hi guys, hope you all are fine
I just joined the voice chat randomly. I used to be active in discord, and also somewhat in python server, then i went on to focus on my electrical engineering. Until recently i again joined discord,
seems like lot of things changed 😁, a lot to catch up

#

I joined in like 2020, during the covid time

vestal arrow
#

i joined years ago and only just saw it again

whole bear
#

Hey

open moth
#

@void hearth here

#

Type here

#

Opal

somber heath
#

@void hearth 👋

open moth
#

Omg

#

Nice to meet you again

void hearth
#

could u tell me about python

#

i want to learn it

#

coding one not amzon one

somber heath
#

!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
stuck furnace
#

Hey 👋

#

Yeah that makes sense I think

stuck furnace
#

What're you trying to do again?

#

Actually, I've got to go cya 👋

verbal zenith
#

seeya

austere spruce
#

a what?

#

3d printer ohhh

#

tbh i have never worked with rust before so idk whats going on lol

#

here for it tho.

#

wow you have so much patience in figuring the problem out i would have just asked lol.

frozen owl
#

addition assignment

austere spruce
#

haha thanks to me

#

jk

frozen owl
austere spruce
#

...

#

well that was odd

#

ok

fleet bone
#

hi

spare galleon
#

bgjfkldw;lekrthbvncmlxa;? asgnfjdklwq?>a,mnkfldw

austere spruce
#

idk what is going on. tbh

#

so what even is ur project in simple terms @frozen owl

#

no not at all i just dont get it

#

right well good luck.

#

so when did you start learning python and rust?

#

rust a year ago and your good as that impressive.

austere spruce
#

@muted hinge cant see screen

muted hinge
#

I know

#

I can't figure out how stream properly on linux

#

Perhaps I should just use chrome...

austere spruce
#

yea just use that

#

at least thats what i use

#

what are you working on?

muted hinge
#

Improving pip's error messages

austere spruce
#

im still learning python. But for some reason i keep stopping since i feel like i dont have a goal in mind.

primal shadow
#

Come up with a goal!

muted hinge
#

oh ugh

primal shadow
#

make tic tac toe in the console

muted hinge
austere spruce
primal shadow
#

Don't worry about a field, worry about comfort with problem solving

austere spruce
#

its always in my mind for some reason

#

i see ppl super ahead coding bots that automate stuff and im just more and more eager

primal shadow
#

Then automate the boring stuff with python

violet ermine
#

Could anyone assist with a line of code that I can't seem for figure out?

gentle flint
violet ermine
#

okay

primal shadow
#

Alternatively, sharing the code is a much better way to get help than asking if anyone will help.

#

In general, asking to ask is a bit redundant.

primal shadow
#

Great for the OT channels

#

or these voice ones

#

And people might be less upset about the lack of python.

#

I read the question, not sure I know the question.

austere spruce
#

hello @stark river

austere spruce
#

what u working on

stark river
#

enums n shit

wise loom
#

Enums..

#

We out here!

#

Enums’n’structs’n’unions n shit

#

The whole nine yards

junior flint
#

hello i need help what is this error
OSError: [E053] Could not read config file from C:\Users\DepressingPp\Desktop\cancer_Shit_STAGE\working with dataset\myvenv\Lib\site-packages\pyresparser\config.cfg
i wanted to use pyresparser

gentle flint
junior flint
#

okay thank you

stark river
somber heath
#

@lucid blade @ivory bolt You might have some things to chat about. Or not.

#

@glad snow 👋

glad snow
somber heath
#

@bright sierra 👋

#

@fallow spade @sturdy night 👋

sturdy night
somber heath
sturdy night
#

mic doesn't work in there in the voice chat

sturdy night
somber heath
#

@dull coral 👋

dull coral
#

hi

#

i cant talk lol

ivory bolt
#

@amber raptor

amber raptor
#

You too!

#

Wow

ivory bolt
stark river
#

yes

#

i have unscoped enums.. thinking if i should scope them

#

the admin is on vacation

ivory bolt
#

just quit using cpp

#

embrace c

amber raptor
#

Embrace neither

somber heath
#

@terse rose 👋

amber raptor
#

Stop writing in insecure languages please

ivory bolt
#

?

stuck furnace
#

Heyy

amber raptor
#

C and C++ are both insecure

ivory bolt
#

no they aren't

somber heath
#

@atomic mortar 👋

stuck furnace
#

Errrm, I'm leaving in like 5 minutes for an appointment sorry!

whole bear
#

hu

#

hi*

#

so

ivory bolt
#

give me video perms before you leave

whole bear
#

I am close

somber heath
#

@regal zodiac 👋

whole bear
#

to being

stark river
#

dont spam

whole bear
#

able

#

to actually

ivory bolt
whole bear
stark river
#

dont spam.. the bot will mute you

amber raptor
stuck furnace
#

@whole bear You can already verify I think, fyi

stark river
whole bear
#

I mean I was nor exaclty spamming but I see where you are comming from. I was just excited because I akm close to beiing to verify lol

stuck furnace
#

Oh lol

#

Sorry

whole bear
stuck furnace
whole bear
#

pinky promise

stuck furnace
#

The linux kernel contains rust now I think

amber raptor
stuck furnace
#

Oh right

amber raptor
#
The White House

Read the full report here Read the fact sheet here Today, the Office of the National Cyber Director released a new Technical Report titled “Back to the Building Blocks: A Path Toward Secure and Measurable Software.” This report builds upon the President’s National Cybersecurity Strategy, addressing the technical community to tackle undiscovered ...

somber heath
#

@nimble mural 👋

#

@naive harbor @honest reef 👋

naive harbor
#

hi

vestal arrow
#

hi

naive harbor
#

can u guys resolve this error

somber heath
#

@distant zephyr 👋

naive harbor
#

ok

random falcon
#

``?

somber heath
#

@nimble remnant @pallid carbon 👋

nimble remnant
#

👋

vestal arrow
#

u ok

ebon mist
abstract needle
#

a web store for gathering what?

peak nacelle
#

Tcg magic the gathering

abstract needle
#

whats TCG?

peak nacelle
#

Trading card game

#

Web store

abstract needle
#

Watch the FREE webinar training that shows you the Top 3 Secrets to Becoming a Python Freelancer... https://events.genndi.com/register/169105139238457808/a2b2943f19

Link to code version 1 (right before we add Boostrap): https://drive.google.com/file/d/1iia4f8ILCj9trXN9V_Y0MeVcTWIwuqos/view?usp=sharing

Link to code version 2 (final version): ht...

▶ Play video
naive harbor
#

how to get permission to talk in the vc

terse rose
#

Hash the sets somehow ? I think I misunderstood the assignment I'm lagging hella bad

#

Wish I could talk in here I have many ideas (:

terse rose
#

Ye I just joined

naive harbor
#

ok

terse rose
#

Fair enough I understand

#

I saw it already just waiting

#

Guido van Rossum:
Start simple then improve

#

Not a direct quote but something like that

stuck furnace
naive harbor
#

can some one help me add a python code of chat bot into my website as a pop up
i have devloped a website
but i cant figure it out how to do that

lost tapir
vocal basin
#

@shadow pewter +rep for using ё instead of е lol

#

!e

1 is 1
wise cargoBOT
# vocal basin !e ```py 1 is 1 ```

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

001 | /home/main.py:1: SyntaxWarning: "is" with 'int' literal. Did you mean "=="?
002 |   1 is 1
vocal basin
#

@verbal zenith

amber raptor
#

!e python a = True x = 1 if a is False: if x is 1: print('hello')

vocal basin
#

!e

def hierarchy(type_, depth=0):
    print(' ' * depth + type_.__name__)
    for subtype in type_.__subclasses__():
        hierarchy(subtype, depth + 2)
hierarchy(Warning)
wise cargoBOT
wise cargoBOT
vocal basin
#

literal and is

#

just like it says

amber raptor
#

!e python a = True x = 1 y = 1 if a is True: if int(x) is y: print('hello')

wise cargoBOT
vocal basin
#

is True is valid

#

just like is None

#

(as an aside mention)

#

it only checks for literals

amber raptor
#

!e python a = True x = 1 y = 1 if a is True: if int(x) is y: print('hello')

wise cargoBOT
vocal basin
#

is 123, is "123"
but not is True, is None

#

!d ResourceWarning

wise cargoBOT
#

exception ResourceWarning```
Base class for warnings related to resource usage.

Ignored by the default warning filters. Enabling the [Python Development Mode](https://docs.python.org/3/library/devmode.html#devmode) shows this warning.

Added in version 3.2.
amber raptor
vocal basin
#

after importing that's reasonable to import on Windows, there's only two extra warnings seems like

Warning
  BytesWarning
  DeprecationWarning
  EncodingWarning
  FutureWarning
  ImportWarning
  PendingDeprecationWarning
  ResourceWarning
  RuntimeWarning
    InvalidTZPathWarning
  SyntaxWarning
  UnicodeWarning
  UserWarning
    GetPassWarning
#

@frozen owl compiled and interpreted isn't mutually exclusive

#

for Python, .pyc is produced

#

(not always)

#

for non-imported modules it will normally only be kept in memory

#

!e

print(compile("print(2 + 3)"))
wise cargoBOT
# vocal basin !e ```py print(compile("print(2 + 3)")) ```

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

001 | Traceback (most recent call last):
002 |   File "/home/main.py", line 1, in <module>
003 |     print(compile("print(2 + 3)"))
004 |           ^^^^^^^^^^^^^^^^^^^^^^^
005 | TypeError: compile() missing required argument 'filename' (pos 2)
vocal basin
#

hmm

#

!e

print(compile("print(2 + 3)", "example.py"))
wise cargoBOT
# vocal basin !e ```py print(compile("print(2 + 3)", "example.py")) ```

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

001 | Traceback (most recent call last):
002 |   File "/home/main.py", line 1, in <module>
003 |     print(compile("print(2 + 3)", "example.py"))
004 |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
005 | TypeError: compile() missing required argument 'mode' (pos 3)
vocal basin
#

rrrrr

#

!d compile

wise cargoBOT
#

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) or [`eval()`](https://docs.python.org/3/library/functions.html#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) 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).
vocal basin
#

!e

print(compile("print(2 + 3)", "<string>", "exec"))
wise cargoBOT
vocal basin
#

yay

#

!e

exec(compile("print(2 + 3)", "<string>", "exec"))
wise cargoBOT
vocal basin
#

!d ast.AST

wise cargoBOT
#

class ast.AST```
This is the base of all AST node classes. The actual node classes are derived from the `Parser/Python.asdl` file, which is reproduced [above](https://docs.python.org/3/library/ast.html#abstract-grammar). They are defined in the `_ast` C module and re-exported in [`ast`](https://docs.python.org/3/library/ast.html#module-ast).

There is one class defined for each left-hand side symbol in the abstract grammar (for example, `ast.stmt` or `ast.expr`). In addition, there is one class defined for each constructor on the right-hand side; these classes inherit from the classes for the left-hand side trees. For example, [`ast.BinOp`](https://docs.python.org/3/library/ast.html#ast.BinOp) inherits from `ast.expr`. For production rules with alternatives (aka “sums”), the left-hand side class is abstract: only instances of specific constructor nodes are ever created.
vocal basin
#

@verbal zenith #

#

formatter.alt

#

or whatever

#

@verbal zenith that debug implementation just passes self.kind directly to formatter?

#

self.kind.fmt(f)

#

@verbal zenith just make sure it's the right .fmt