#voice-chat-text-0

1 messages ยท Page 12 of 1

rugged root
#

I have.... hmmm

fossil notch
#

very interesting

rugged root
#

I have several hundred

rigid jungle
#

oh learn something everyday

fossil notch
rugged root
#

Yes

#

It's like my email

fossil notch
rigid jungle
fossil notch
#

solve that problem with python

#

typi typi computer boy

surreal wyvern
#

is mink a bot ?

#

i mean ai bot?

fossil notch
rigid jungle
fossil notch
#

a bot in the way of my personality

fossil notch
rugged root
#

Beep bep

fossil notch
surreal wyvern
#

mink say 2 blue ball and 3 red ball how many ball

fossil notch
fossil notch
surreal wyvern
fossil notch
#

๐Ÿค–

surreal wyvern
#

mink what is meaning of life

rigid jungle
rigid jungle
rugged root
#
let  
   Variablename = expression,  
   #"Variable name" = expression2  
in   
   Variablename
fossil notch
#

everyone has different meanings

rugged root
surreal wyvern
#

mink who made you?

rigid jungle
#

sequel

fossil notch
rigid jungle
#

qhat is wizel

fossil notch
#

they let light in hahaha

surreal wyvern
fossil notch
#

if i was a bot why would my creator let me know

#

and if i am human how would i know

#

we might all be bots

surreal wyvern
rigid jungle
#

what if we are on a simulation

quasi condor
rigid jungle
#

that was made by a bigger simulation

#

and it was endless thing till the first simulation that made the second

fossil notch
surreal wyvern
fossil notch
rigid jungle
fossil notch
fossil notch
rigid jungle
#

it was the cat thing

#

schrodinger experiment

#

the cat death and alive at the same time

fossil notch
rigid jungle
#

no

fossil notch
#

even if we open the box. so what how would be know

rigid jungle
#

when you died we can tell the experince to the people that still alive

molten pewter
#
Pro Wrestling

Roberto De Luna, Jr. (September 7, 1976) is an American professional wrestler known under the ring name The Mexicutioner. In Ohio Valley Wrestling (OVW), Luna, Jr. is a two-time OVW Southern Tag Team Champion with Dylan Bostic and with Randy Terrez. He participated in the 2012 edition of WWE Tough Enough. Tag teams and Stables Danger Internation...

rigid jungle
molten pewter
fossil notch
#

we can't prove life

surreal wyvern
#

mink say what is in my profle pic ?

rigid jungle
#

good point

#

and i dont have the answer

#

so

#

byeee

rugged root
#

Catch you later

fossil notch
fossil notch
molten pewter
#
Pro Wrestling

Ohio Valley Wrestling (OVW) is an American independent professional wrestling promotion based in Louisville, Kentucky. OVW is mostly recognized for its up-and-coming wrestlers and served as the official primary training ground for World Wrestling Entertainment (WWE) until 2008. Starting in November 2011, OVW served as the official developmental ...

fossil notch
#

bye guys

rugged root
#
(x, y) => (x + y) / 2`
sweet lodge
#

It's just functional

rugged root
#

Nothing

#

I like that

#

Just a bit surprised

sweet lodge
#

Yeah, me too

#

Seems too modern for them

#

But they're doing a lot

#

Have you seen their new "Office Scripts"?

rugged root
#

Lisp and functional languages are old old

#

Office scripts?

sweet lodge
#

They're allowing you to write Excel macros for Excel Online in JS

#

Instead of VB

rugged root
#
"Mozart" meta [ Rating = 5, Tags = {"Classical"} ]
#
[ 
    Composer = "Mozart" meta [ Rating = 5, Tags = {"Classical"} ], 
    ComposerRating = Value.Metadata(Composer)[Rating] // 5
]
#
let 
    Sales2007 =  
        [  
            Year = 2007,  
            FirstHalf = 1000,  
            SecondHalf = 1100, 
            Total = FirstHalf + SecondHalf // 2100 
        ], 
    Sales2008 =  
        [  
            Year = 2008,  
            FirstHalf = 1200,  
            SecondHalf = 1300, 
            Total = FirstHalf + SecondHalf // 2500 
        ] 
  in Sales2007[Total] + Sales2008[Total] // 4600
#

@torn grove

rugged root
#
[ 
    C = A + B, 
    A = 1 + 1, 
    B = 2 + 2 
]
sweet lodge
molten pewter
quasi condor
rugged root
#

@torn grove Your birds are going nuts. Can you mute?

#

Or push to talk

somber heath
#

Ergonomics. So named after President Ergon.

quasi condor
#

Ergonomics (or human factors) is the scientific discipline concerned with the understanding of interactions among humans and other elements of a system, and the profession that applies theory, principles, data and methods to design to optimize human well-being and overall system performance

rugged root
#

This is a really good deck-building game, by the way

#

Love it

#

My keyboard for context

somber heath
#

It looks like complicated underwear.

rugged root
terse needle
#

@lavish rover I know you'll hate to see this

#[derive(Debug, Eq, PartialEq, Clone)]
pub enum Register {
    RAX,
    EAX,
    AX,
    AH,
    AL,
    RBX,
    EBX,
    BX,
    BH,
    BL,
    RCX,
    ECX,
    CX,
    CH,
    CL,
    RDX,
    EDX,
    DX,
    DH,
    DL,
    RSI,
    ESI,
    SI,
    SIL,
    RDI,
    EDI,
    DI,
    DIL,
    RSP,
    ESP,
    SP,
    SPL,
    RBP,
    EBP,
    BP,
    BPL,
    R(u8),
    RD(u8),
    RW(u8),
    RB(u8),
    Stack(i64),
    Data(String),
}
rugged root
torn grove
#

is that ur keyboard

quasi condor
#

Ergonomics (or human factors) is the scientific discipline concerned with the understanding of interactions among humans and other elements of a system, and the profession that applies theory, principles, data and methods to design to optimize human well-being and overall system performance.

#

Human factors and ergonomics (commonly referred to as human factors) is the application of psychological and physiological principles to the engineering and design of products, processes, and systems. Four primary goals of human factors learning are to reduce human error, increase productivity, and enhance safety, system availability and comfort...

torn grove
molten pewter
#
CharaChorder

The CharaChorder One is an entirely new class of peripheral device which unabashedly casts aside all the rules of traditional typewriting and challenges the status quo of human computer interaction. CharaChorder One features the first ever layout designed for both character entry and chorded entry, as well as 3-D switc

quasi condor
#
CharaChorder

CharaChorder Lite is a simple yet powerful twist on the traditional keyboard. Output individual letters like a typewriter, orย press many letters together simultaneously to output entire words in a single keystroke. This capability allows you to type faster than is physically possible on any other keyboard.

torn grove
fossil notch
#

quick question is javascript or java a better back end language

rugged root
fossil notch
#

is it just me or non-programming languages are so boring

#

like html

#

money money money

sour geyser
#

hi

#

@vernal bridge not in all languages

vernal bridge
#

what?

#

I didn't say anything for minutes

sour geyser
#

oh, I heard the guy was initializing memory for variables

#

thought he was doing malloc

#

and doing C stuff

vernal bridge
#

it wasnt me thought

sour geyser
#

ya I thought it was KJ

#

misheard

#

@quasi condor what game are you guys playing?

#

@hallow arch what game are you playing?

terse needle
#

where the easiest way to get a string into memory is to pass the literal to define bytes

fossil notch
#

hey, how's everyone doing?

#

thanks

#

i used to run a mental health stream

#

i don't have three days in here

#

hahaha sad

#

you guys think that java developer job or python developers job is easier to get

#

nononnonononon

#

ok i alot of people are saying java alot of people told me that

#

i like back end languages

#

front end is so boring

#

hello @mild quartz

#

how are you?

mild quartz
#

hey

#

alright alright alright

fossil notch
#

you lift?

#

i love lifting and i very fat

fossil notch
#

rock climbing

#

plenty you say

#

i program all time 1010101010

#

iceland

rugged root
#

@fierce summit More printer issues, back in a bit

fierce summit
#

okay

tall spade
#

Hi guys

lethal thunder
#

Here's a clip from my new special "Aloha Fluffy: Gabriel Iglesias Live from Hawaii" Let me know what you think!? -Gabriel ;P

Want to see me live? Check out http://fluffyguy.com/tour-dates to see when I'm in your area!

You can order the full special on DVD or Blu-Ray at..
Amazon.com http://tinyurl.com/dy5x4dj
Walmart.com http://tinyurl.com/c9...

โ–ถ Play video
magic kiln
rapid flame
#

where can i learn advanced python

vagrant wing
vagrant wing
rugged root
rapid flame
lavish rover
#

@terse needle I must be really smart then i haven't had to look up documentation for aecor even once, in the ~7-8k lines of code I have written in it

rugged root
#

Oh good news

#

It's the fax machine this time

#

Dude I hate printers

#

SO much

#

.... once again

#

Printer

#

Back in a bit

tall spade
#

Hy guys, dont' wanna disturb your talk. I have a doubt regarding API's

magic kiln
#

ill let them know @tall spade

tall spade
#

Thanks. I will enable the mic as soon as you do

magic kiln
#

kk

tall spade
#

Thanks guys for the answer

sour geyser
#

Anyone able to help w/ some Jupyter notebook problems I'm having w/ integrating an interactive plot with some interactive sliders?

magic kiln
#

what's your problem @sour geyser

sour geyser
#

I'm trying to put this code snippet below of an interactive plot into this larger code: https://paste.pythondiscord.com/emeguxuvin without messing up the box layout of sliders?

%matplotlib inline
from ipywidgets import interactive
import matplotlib.pyplot as plt
import numpy as np

def f(m, b):
    plt.figure()
    x = np.linspace(-10, 10, num=1000)
    plt.plot(x, m * x + b)
    plt.ylim(-5, 5)
    plt.show()

interactive_plot = interactive(f, m=(-2.0, 2.0), b=(-3, 3, 0.5))
output = interactive_plot.children[-1]
output.layout.height = '350px'
interactive_plot
#

Thanks

#

Been asking for days here

#

I don't have voice privs.

#

Yep, waiting on Day 3

primal shadow
#
    def find_in_radius(self, tower: Tower) -> List[Tuple[Enemy, float]]:
        radius = tower.radius * self.world.tile_size
        return list(
            filter(
                lambda x: x[1] <= radius,
                map(
                    lambda enemy: (
                        enemy,
                        arcade.get_distance_between_sprites(
                            tower, enemy
                        ),  # someone already did weird math
                    ),
                    self.enemy_handler.enemy_list,
                ),
            )
        )```
velvet urchin
#

no js

#

you didn't see that

#

ignore it

#

no ban pls

green bone
#

hmm you might have a typo in count

velvet urchin
#

I got scared for a bit

green bone
#

ah it just triggered our filters because of 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 floppy disk icon in the top right, or by typing ctrl + S. After doing that, the URL should change. Copy the URL and post it here so others can see it.

velvet urchin
#
int * fce(){
  int * a = malloc(1*sizeof(int));
  return a;
}

int & fce(){
  int a = 4;
  return a;
}
primal shadow
#

Gonna enjoy the movie without the commentary

ancient nacelle
#

hi

somber heath
somber heath
#

@neat bronze Here, not there. ๐Ÿ˜‰

#

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

I'm often on my phone, which means I can't easily read the new voice text chat rooms.

neat bronze
#

No I know

#

I m using discord web

#

And this browser in not allowing me

lethal thunder
#

@young verge talk here

#

@unborn burrow talk here

unborn burrow
#

which?

#

still suppressed

tired lark
#

how do i the Pythons script to close like the Window that it opens

#

would it be WIN.CLOSE()

misty finch
#

hello guys i am struggling w a code

lethal thunder
#

@whole bear talk here

whole bear
#

yo

#

i installed numpy

#

but it's showing as no module named numpy

#

yeah

#

it's in the correct directory as well

#

yep

#

Scripts is in path

#

yo @night sparrow

#

yes

#

100%

#

yeah tried that as well

lethal thunder
#

python -m pip install moduleName

whole bear
#

yes

#

3.10

#

Yes

#

wym @night sparrow

#

idk how to do that haha

#

u'd have to givem e step by step

lethal thunder
#

python -m pip install numpy=1.23.0

night sparrow
#

python -m venv .venv

whole bear
#

yeah its on versio n1.23.0 rn

#

ill try that

night sparrow
#

.venv\Scripts\activate

whole bear
#

kk

#

how do i do that @night sparrow

#

i use notepad++

night sparrow
#

python -m venv .venv

whole bear
#

kk so i CD to the folder

#

create environment

#

then install

#

how do i create the environment?

night sparrow
#

python -m venv .venv

lethal thunder
#

An Interactive Python Environment based on Notepad++ where you can run python scripts just like Jupyter Notebook. This video describes how to use PyPadPlusPlus to run python code interactively in Notepad++.

00:00 Introduction
Installation of PyPadPlusPlus
How to Execute Python scripts
How to Use Your own Python distribution
Some more features
...

โ–ถ Play video
whole bear
#

D:\Users\Connor\Desktop\TwitchBot>python -m venv .venv
'python' is not recognized as an internal or external command,
operable program or batch file.

D:\Users\Connor\Desktop\TwitchBot>

#

py -m venv .venv

#

seemed to work

#

now what?

whole bear
#

idk

#

idek what venv .venv does

#

what now?

#

im a noob

#

how do i activate it

night sparrow
#

.venv\Scripts\activate.bat

whole bear
#

ok

#

so like this right?

#

(.venv)

night sparrow
#

python -m pip install numpy

whole bear
#

im using a cmd like this

#

ok no more numpy errors

#

NEW errortho

#
Traceback (most recent call last):
  File "D:\Users\Connor\Desktop\TwitchBot\main.py", line 1, in <module>
    from src.ClipHandler import ClipHandler
  File "D:\Users\Connor\Desktop\TwitchBot\src\ClipHandler.py", line 7, in <module>
    import streamlink
ModuleNotFoundError: No module named 'streamlink'
#

i just installed steamlink

#

i guess that was the issue

#

but installing streamlink didnt seem to fix it

#

kk

#

im getting less and less errors

#

seems to be working!

night sparrow
#

poetry install <package-name>

whole bear
#

do i need to uninstall numpy

#

if i am to install tensorflow

#

what does poetry do

#

ty

#

how hard is it to learn an API generally?

night sparrow
whole bear
#

ty

#

how many years of experience do you have

#

with python?

night sparrow
whole bear
#

if im running in a virtual environment

#

will fmpeg still work?

night sparrow
#

There are several ways to run commands within this virtual environment.

whole bear
#
2022-09-13 19:22:18.907330: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cudart64_110.dll'; dlerror: cudart64_110.dll not found
2022-09-13 19:22:18.907440: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
Traceback (most recent call last):
  File "D:\Users\Connor\Desktop\TwitchBot\main.py", line 1, in <module>
    from src.ClipHandler import ClipHandler
  File "D:\Users\Connor\Desktop\TwitchBot\src\ClipHandler.py", line 15, in <module>
    from src.MetadataHandler import MetadataHandler
  File "D:\Users\Connor\Desktop\TwitchBot\src\MetadataHandler.py", line 6, in <module>
    from jinja2 import Environment, FileSystemLoader
  File "D:\Users\Connor\Desktop\TwitchBot\.venv\lib\site-packages\jinja2\__init__.py", line 33, in <module>
    from jinja2.environment import Environment, Template
  File "D:\Users\Connor\Desktop\TwitchBot\.venv\lib\site-packages\jinja2\environment.py", line 15, in <module>
    from jinja2 import nodes
  File "D:\Users\Connor\Desktop\TwitchBot\.venv\lib\site-packages\jinja2\nodes.py", line 19, in <module>
    from jinja2.utils import Markup
  File "D:\Users\Connor\Desktop\TwitchBot\.venv\lib\site-packages\jinja2\utils.py", line 647, in <module>
    from markupsafe import Markup, escape, soft_unicode
ImportError: cannot import name 'soft_unicode' from 'markupsafe' (D:\Users\Connor\Desktop\TwitchBot\.venv\lib\site-packages\markupsafe\__init__.py)

(.venv) D:\Users\Connor\Desktop\TwitchBot>```
#

do you understand why it's not working?

#

@night sparrow

#

@whole bear would you be interested in a private development inquiry?

#

i have some interesting programs i need coded

whole bear
#

Yes.

#

yessir

#

yessir

#

how come

#

Well he's already working on it

#

He'll conclude a price once it's completed

#

Yep

autumn fiber
#

hello!

#

what's up?

sweet lodge
#

Hemlock cares

#

Pun?

#

okay

#

Embed? Oh there we go

#

Conference interpreter Barry Slaughter Olsen explains what it's really like to be a professional interpreter. Barry goes behind the scenes of his vocation, breaking down the many real-life scenarios he faces on a day-to-day basis. From simultaneous and consecutive interpretation to chuchotage and dรฉcalage, take a peek behind what it really takes...

โ–ถ Play video
#

Very interesting

#

I actually applied some of what I learned in this video myself
It was helpful

#

Skin a cat?

#

HAH

#

There you go

#

... those poor spiders

#

Move to England

somber heath
#

Mulstalfa

sweet lodge
#

awww

rugged root
#

@drifting hinge If you're wondering why you can't talk, check out the #voice-verification channel. That'll tell you what you need to know about our voice gate

sweet lodge
#

Thank you for flying @rugged root Air

indigo loom
#

I've to send 50 more messages for my voice verification

#

let's chat, I'm abhay from India. You?

modest bolt
#

%i works in some versions IIRC

night sparrow
night sparrow
somber heath
#

@sleek nimbus ๐Ÿ‘‹ ๐Ÿ™‚

sleek nimbus
faint ermine
rigid jungle
somber heath
#

Medication so often is a daily thing. At one point, I had one that was once every two hours.

#

Or was it 40 minutes?

somber heath
#

Eye thing.

rugged root
#

Damn it

#

I thought I could get the screenshots from my PS5 on my PC, but I'll have to manually dump them to a usb drive

#

Oh well, tomorrow I shall.

#

Because oh my god the jokes from that game

#

So good

rigid jungle
#

what game

rugged root
#

It's called "Ladders". It's just a silly little word game: you have two words, and you have to get from one word to the other by changing a single letter at a time

#

While still making actual words with every step

#

But the best part is that after each puzzle, you get bad jokes

faint ermine
somber heath
#

I've done that but with relationships. Well -> water -> blue -> sky -> space -> keyboard, etc.

#

Space key

alpine path
#

Gtg

#

metting n thingsd

somber heath
#

What language?

#

Axe I dent.

rugged root
#

I really don't get the appeal of cliffhanger endings. They always

faint ermine
#

oh you....

eager creek
#

who can code

#

in python

#

interesting

#

can one help m

#

e

faint ermine
#

maybe, but that depends on your problem

eager creek
#

i want to put my code in a window

faint ermine
#

cant know whether i might know a solution without knowing the problem

eager creek
#

calculator

faint ermine
#

thats very vague, please be more specific

eager creek
#

i have code but i want this code in a window

#

who i can ask

#

yes

#

calculator in window

rugged root
#

@weak halo If you're wondering why you can't talk in VC, check out the #voice-verification channel. That'll tell you what you need to know about our voice gate

rugged root
#

Happy to help

eager creek
#

mhh

#

print("Wie viel Geld mรถchtest du hier einzahlen?") #Frage wie viel

amount = input() # Soviel einzahlen

print(input("Um diese zu Bestรคtigen, drรผcke eine belibiege Taste!"))

print("Wie viel ist der Zinssatz?")

zb = input() # Zinssatz

endergebnis = int(amount) * int(zb) / 100 # durch 100

endergebnisONE = int(endergebnis) + int(amount) # fertiges Ergebnis

print("Du hast nach einem Monat ", str(endergebnisONE), "โ‚ฌ")

# Wie lange soll das gehen /

print("Bitte gib an wie viele Monate dieser Prozess gehen soll!")

lรคnge = input() # Wie lange

ergebnis = int(amount) * int(zb) * int(lรคnge) # Rechnung

ergebnisONE = ergebnis / 100 # durch 100

finish = int(ergebnisONE) + int(amount) #ergebnis fertig

print("Nach Monaten ", lรคnge, "hast du", finish, "โ‚ฌ")

#

this code in a window with enter button and input etc.

#

yes

weak halo
#

Have over 50 messages bruhhhhhhh

rugged root
#

And 3 days on server

weak halo
#

alright man

eager creek
#

i show you in paint ok wait

rugged root
#

You'll get the messages through regular conversation. You can always be in VC and talk to us via this channel

weak halo
#

ok

rugged root
#

If we're connected, we'll typically be watching the text channels as well

faint ermine
eager creek
#

ok

#

thanks

weak halo
#

btw im not really understand about pyton ,just out of curios can pyton did something like auto register on some specific website?

eager creek
#

can one from there speak german

#

:/

#

my english is not the yellow from the egg

faint ermine
rugged root
#

So it's not something we help with

eager creek
#

where are you from

weak halo
#

aawwwww ok

eager creek
#

interesting. hahah why you explained me that in english

#

your english fluent ๐Ÿ™‚

#

nice

#

in german we call "krass bruder"

#

๐Ÿงข

weak halo
eager creek
#

your english is like a call center

#

๐Ÿงข

faint ermine
eager creek
#

are you working as a developer? @faint ermine

faint ermine
#

yep

weak halo
rugged root
#

What kinds of sites are you wanting to do this on?

#

And I can't think of one that allows automated account creation

eager creek
# faint ermine yep

cool. im actually make my second highschool (in german we call that fachabi), and one of my subjects are coding

#

if i have the possibility, i would visit a dual studying

weak halo
eager creek
#

did you study

#

@faint ermine

weak halo
faint ermine
#

im currently in a Apprenticeship for Fachinformatiker Anwendungsentwicklung

zenith burrow
#

why cant we just renegade with the griddy hitting f7 + ratio elizabeth x 10

lavish rover
zenith burrow
eager creek
#

i want to improve my english but i doent know where

zenith burrow
#

๐Ÿ˜ฒ

eager creek
zenith burrow
#

bro idk

#

what

#

just use that server

#

๐Ÿ’€ x10

eager creek
#

where are you from? i mean all on this channel

somber heath
#

Hemlock, you need to invest in a Guterberg Press.

somber heath
rugged root
#

I'm in the US

lavish rover
eager creek
somber heath
#

Cats don't "buy", they "purr chase".

lavish rover
#

me ow.

eager creek
#

what is a ergonomic

#

keyboard

#

yes

#

blue switches

#

doc

#

keyboard

#

your accent is like a british

#

@faint ermine

rugged root
#

Oh good

#

I get to listen to hold music for a while

#

Actually this isn't too bad

#

Kind of catchy

mild quartz
#

sick fuck

rugged root
#

I'm just grateful that it's not the same one you hear everywhere else

mild quartz
#

๐Ÿช•

rugged root
#

If only

#

I love me some banjo

sturdy panther
#

May be they can gamify the waiting. Enter numbers given. Memory training while being on hold!

rugged root
#

That would be kind of nice

#

Instead of being on hold for 45 minutes, you connecting to someone, them asking why you called, and then having no friggin' idea why you called

quasi condor
#
try:
    a, b, *_ = ...
except ValueError:
   # do whatever
faint ermine
#

!e ```py
a, b, *_ = [1,2,3,4,5]
print(a)
print(b)
print(_)

wise cargoBOT
#

@faint ermine :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | 1
002 | 2
003 | [3, 4, 5]
lethal thunder
#
a, b = do_something()
faint ermine
mild quartz
#

talking into the ether

rugged root
#

Some ether would be nice, too

faint ermine
#

!e ```py
a, *b = [1]
print(a)
print(b)

wise cargoBOT
#

@faint ermine :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | 1
002 | []
faint ermine
#

!e ```py
a, *b = [1,2,3]
print(a)
print(b)

wise cargoBOT
#

@faint ermine :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | 1
002 | [2, 3]
sturdy panther
#

A little different in that function arguments give a tuple.

rugged root
#

@lavish rover So with having structs with strings, is it better to use the char * name; or the other one?

#

I'm still on hold

#

Sorry

#

Just doing more of the learn-c page while I wait

lavish rover
#

no worries, in structs it depends

rugged root
lavish rover
#

do you want the struct to actually hold the full string, or just a pointer to it

torn grove
rugged root
#

What's the difference? I mean I know the pointer would be lighter to pass around, but I'm just not sure what the actual impact would be one way or the other

lavish rover
#

yeah so generally, whenever you try to pass an array to a function, it only passes a pointer to it

#

the "decaying" I talked about yesterday, same is true for strings

#

except for structs

#

a struct is always passed by value (unless you explicitly take an address)

#

so if you have a struct with the full array in it, passing that struct around will create a copy of the full struct, including the array in it

#

more often than not in practice people end up just putting in a pointer in the struct, but there are valid use cases where you might want the copy-array behaviour

#

storing the full array in the struct might also help avoid a separate heap allocation (for the actual space to put the string in case of pointers)

faint ermine
lavish rover
#

albeit a niche use case

#

is it better to use the char * name; or the other one
tldr; there's no better, generally char * will do, but sometimes you might need the other

rugged root
#

Fair

#

I need to review the difference between heap and stack, too. Like I feel like I almost have it but not quite.

#

Also, 20 minutes and still on hold

sturdy panther
#

The main considerations for me are whether it has a fixed length and when will the string be deallocated.

rugged root
#

I'll still be talking here, just hopping off the call proper to save bandwidth

lavish rover
#

essentially, the stack is the "temporary space" that you use for function local variables, etc. when you make a new call, you get a new stackframe, etc. it's suuuuper fast to use the stack, but you don't want to be allocating too much space on it + more importantly once a function call returns it's stack space is cleared

rugged root
#

Our phones are voip

#

So I can kind of think of it as scope?

lavish rover
#

kind of, yeah

#

heap is storage off the stack, and if you want allocate data that persists even after the function has returned you would want some space there

torn grove
#

PS1='\e[32;1m\u@\h: \e[37m\W\e[0m\$'

lavish rover
#

the cons being that it is generally much slower to allocate on the heap, because somebody (in this case LibC/the kernel) needs to manage which blocks of memory on the heap have been used etc so they can be freed later properly

rugged root
#

much slower to allocate on the stack
Do you mean on the heap?

lavish rover
#

yes, silly me

#

(also ping me when replying, I'm not watching here)

pallid ether
#

NO MORE MEMES ON PYTHON'S EXECUTION SPEED!!!

whole bear
trail tusk
#

Are you all meditating?

fair path
#

Yo

#

Anyone down to teach me tkinter?

#

Or is it easy enough to learn through youtube?

#

I'm honestly really new to everything that has to do w/coding and all but I really want to learn how to program a GUI

pulsar island
#

ok tryin to find something, and riding the struggle bus. I found aproject one time that allowed django to do either runserver via manage.py via settings.py, or docker based on which path you chose, but I cant find that project anymore, and I dont know how to refind it. Can anyone lend a hand? Id like one setting that allows me to differentiate between which one to use, runserver or docker based on..something. I have no idea what this is called? Any help is greatly appreciated

#

sorry, venv/virtualenv *

wise cargoBOT
#
Missing required argument

code

wheat copper
#

hi

#

is there anyone available to teach and guide through one of this problem

#

I am new to python and love to learn more about it

lethal thunder
lost gorge
#

Hello Mr. Hemlock

whole bear
#

Its random

#

Thats why

#

Can't share information

#

You wouldn't know if 0 or 1 anyway

#

And it changes everything you look at it

#

Heisenberg Principle

somber heath
#

Quantum shave and a haircut, two bits.

rugged root
#

God damn it, you beat me to it

somber heath
#

Same quantum wavelength strikes again.

whole bear
#

I'm the one who entangles

somber heath
#

The universe trends toward entropy.

whole bear
#

Order goes to Chaos

#

Are they concious?

rugged root
#

I barely am

whole bear
#

Lol

#

Hey we're getting Cheetahs brought in

#

Our country

rugged root
#

Like... to jail? Because they were caught cheeting?

whole bear
#

Got a special plane for them

#

Doesn't look like cheetah to me though this painting

rugged root
#

Looks more like a tiger

whole bear
#

Yeah

rugged root
#

@woeful sequoia If you're wondering why you can't talk, check out the #voice-verification channel. That'll tell you what you need to know about the voice gate

sweet lodge
rugged root
#

Peach ring of power

whole bear
#

To fool them all

rugged root
#

Ring Pop of Power

whole bear
#

It such an irony

#

Ring of power to make a slave out of them

somber heath
#

Captain Plan It. Captain Planet, but he's an office organisation/optimisation strategy paragon.

rugged root
whole bear
#

It feels so satisfying when you get a clear understanding

#

Unique way

#

Analog

#

Analogue computers are so powerful

#

Yup

molten pewter
#

labradors in labor protesting as a part of a union

whole bear
#

Expectation vs Reality

#

World history video right

lavish rover
molten pewter
#

labradors in labor protesting as a part of a union water color

dense trout
#

hi guys! just getting to know the channel. Are the voice chats for helping each other or just general shinanagians?

#

nerds xD

#

jk i love it

#

yeah I'm in a lot of investing servers and its not dissimilar with randoms bumrushing into conversations for beginner help

#

how does one get voice permissions?

rugged root
dense trout
#

word. ty

#

im just going to bs in here over the next 30 mins to satisfy one of the recs

rugged root
#

Absolutely!

#

Always happy to have more folks

dense trout
#

a little about me for the fun of it -
I'm grinding python 10 hours a day to career pivot into data engineering and analysis. I completely regret not putting in the effort sooner in life

sharp shard
#

Hey guys i need some help do you think you can help me?

dense trout
#

If anyone has any good resources/info on entry into the field beyond the low hanging fruit of "learn stuff and build a portfolio" I'll take it

#

@sharp shard there are help channels

sharp shard
#

ohh okay

#

sorry im new

#

which one do i use?

dense trout
#

python help: dormant

rugged root
#

@lavish rover remind me what -> is for again?

lavish rover
#

accessing field from a pointer to a struct

peak copper
#

(*longvarname).

whole bear
#

there is anyone can help me out with the last question in #help-croissant channel?

rugged root
#

@lavish rover What's visit mean in this context?

restive meadow
#

pressed delete

#

and

#

KABBOOOOM

sweet lodge
#

Is that the registry or your PATH?

faint ermine
#

%USERPROFILE%\AppData\Local\Microsoft\WindowsApps

rugged root
restive meadow
#

setx /m PATH "%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;%SYSTEMROOT%\System32\OpenSSH\"

#

should i use that one on cmd?

#

SUCCESS: Specified value was saved.

rugged root
#
sfc /scannow && dism /online /cleanup-image /restorehealth && sfc /scannow
restive meadow
#

so if it doesnt work

#

should i reboot my pc with uefi?

#

should i wait for the system checker to end?

#

ye

#

%82

#

i think its downloading the path?

#

can i eat my dinner while that do its job

#

my mom about to kill me

#

if i dont eat(?)

#

ty

#

nothing happened i guess

#

no path

rugged root
#

Just add one

restive meadow
#

should i reboot the system with uefi

restive meadow
rugged root
#

All caps, I think

#

So PATH

#

And you can leave it empty

restive meadow
#

cant

rugged root
#

The second field, I mean

#

Oh then

#

Hmm

#

%USERPROFILE%\AppData\Local\Microsoft\WindowsApps

green bone
#

I haven't seen any other drug dealers yet, no

restive meadow
#

is it like a decoy

#

or the same thing before i deleted

rugged root
#

Other than you, you're saying?
May have less things on it, but I don't think you likely had much on it prior

#

Sorry it's taking me a bit for this to click

#

I know it's boring to watch

restive meadow
#

and

#

u sure its "PATH" instead of "Path"

#

@rugged root

rugged root
#

It shouldn't matter either way, but convention is PATH

#

Windows isn't case sensitive, in most case

restive meadow
#

so

#

should i res my pc now?

rugged root
#

Yeah, so long as you still have a PATH in your System Environmental Variables, you should be good

restive meadow
#

and when i double click it

#

it doesnt input something like that

rugged root
#

That's the system one?

restive meadow
#

nope

rugged root
#

Should be fine

restive meadow
#

k

#

so

#

if i cant come back

#

say my mum

#

i love her

rugged root
restive meadow
#

so

#

nothing happened

#

but cant add anything onto path

restive meadow
rugged root
#

I'm not sure

restive meadow
#

fuck it

#

rebooting

#

every

#

single

#

shit

rugged root
#

See if you have a system restore point

restive meadow
#

how can i found one

rugged root
#

Not sure what it would be in your language, but typically you'd look up system restore in the start menu

restive meadow
#

theres no

#

i guess so

#

oh

#

got it now

#

echo %PATH%

#

worked i guess

rugged root
#
    #include <stdio.h>
  
    union intChar {
      int ints[6];
      char chars[21];
    };
  
    int main() {

        union intChar intCharacters = {{1853169737, 1936876900, 1684955508, 1768838432, 561213039, 0}};
        ...
    }

Why does it need the double {{}} for the array?

restive meadow
#

why is that pop ups

#

that

#

but that works

#

@rugged root

rugged root
#

@eternal drift easier if you write in here

#

Well, use py rather than python on windows

restive meadow
#

OH

#

SHIT

#

I JUST

#

DELETED

#

PATH

#

CAUSE OF

rugged root
#

Python is handled by the py launcher

restive meadow
#

WORKING ONN IUT

rugged root
#

Wait, again

#

Seriously?

restive meadow
#

YE

#

S

#

YES

#

FUCK

#

MY

#

BRAIN

rugged root
dense trout
wise cargoBOT
#

:incoming_envelope: :ok_hand: applied mute to @restive meadow until <t:1663264082:f> (10 minutes) (reason: burst rule: sent 8 messages in 10s).

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

sour geyser
rugged root
#

!unmute 844121484778930217

wise cargoBOT
#

:incoming_envelope: :ok_hand: pardoned infraction mute for @restive meadow.

rugged root
#

Too many messages too quick

restive meadow
#

sorry

rugged root
#

Bot auto mutes for it

#

Now you know

restive meadow
#

yep

#

anyways

#

i think i should

#

asked for

#

the pop up thing before delete the path

dense trout
# sour geyser yeah

in what context? like helping each other out? feel free to bounce questions off of me at any time

eternal drift
#

!unmute

sour geyser
somber heath
#

@violet cosmos You can ask your question, just maybe ask in text.

sour geyser
#

Can anyone recommend a way of bridging Discord text-channels between different servers?

dense trout
sour geyser
somber heath
#

Grabbing a help channel is a good idea, but help is often given here, too, but it's a bit more off-the-cuff, here.

#

Sympathise. Sympathize.

flat sentinel
#

simpithyse

pallid hazel
#

a lot of ass and degrading references

flat sentinel
pallid hazel
#

funny while I am debugging this new script, it keep failing after processing 88 items, about 10 times in a row now.. after fixing the 88th item each time :/

#

lol it's gonna happen again.. sigh

#

doh, I guess I know why it stops at 88 now.. it's the last failed number, so even though i've processed well above 88 of them.. number 89 is always going to be the new fail..

#

I realize that doesnt make sense, but it's 88 known errors, with the 89th being some new error :/

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied mute to @whole bear until <t:1663268458:f> (10 minutes) (reason: attachments rule: sent 8 attachments in 10s).

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

rugged root
#

!unmute @whole bear

wise cargoBOT
#

:incoming_envelope: :ok_hand: pardoned infraction mute for @whole bear.

willow lynx
#

Hey what are some lesser known feature of python

#

My manager told me to give presentation on some please known feature of python

#

But I don't know much python

#

Can anyone help me to impress my manager

rugged root
#

@frozen owl I'm doing alright. You?

lavish rover
rugged root
willow lynx
#

Where this

#

Is that in Toronto.

lavish rover
#

If you figure out my address you're legally obligated to send me food / gifts

dire lichen
#

It's on ambulances too! The danish flag is pretty popular ๐Ÿ˜ƒ

#

@whole bear

rugged root
dire lichen
#

Guys, I think I joined the wrong python server... maybe the animal not the language lol

sweet lodge
#

You don't like ๐Ÿ s?

molten pewter
sweet lodge
dire lichen
#

nah it's the best thing that happened today lol... but I'm supressed for some reason

sweet lodge
#

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

sweet lodge
#

See this

molten pewter
rugged root
#

@crimson bay

molten pewter
#
rugged root
quasi condor
sour geyser
#

home prices near me

#

no crash yet ๐Ÿ˜ฆ

rugged root
#

Jeeeeeeeeesus

#

That's bonkers

quasi condor
#

Inflation adjustment is the reason for the difference, using US treasuries as the risk-free-rate would make a lot more sense, but I can't be bothered to try and find that chart

You buy in around jan99 - jan 2001, you don't break even til 2014. Of course that's assuming you just put 1000 dollars at one point in time, you don't actually do that you buy monthly or whatever.

I'm making it in a bit of an overly direct way but my point is mostly that the we are in a 10year bull market, being confident about any level of gains is over stating the situation

#

Sure - but most people's investment horizon isn't 10-30years

#

if you're saving to buy a house, then you need that liquidity

rugged root
quasi condor
rugged root
#

Proof that I've been here a long ass time

#

And that I've always been a member of staff

#

From day one

#
cout << a << endl;
#
int a = 0, b = 1, c = 2, d = 3, e = 4;
a = b - c + d * e;
cout << a << endl; // will print 1-2+3*4 = 11
#

For your 7 dollars

quasi condor
#

brawlhalla

terse needle
terse needle
#

mustafa would know more

lavish rover
#

Same deal as "hurr durr globals bad" sure but they're very convenient for small applications / if you're just messing around learning

wintry pier
#

โš ๏ธ Some one who knows Data structure logic

#
data = [
  {"name": "one", "year": 2020, "SomeVaraible": ["V", "T"]},
  {"name": "one", "year": 2018,  "SomeVaraible": ["V", "X"]},
  {"name": "one", "year": 2022, "SomeVarailble": ["X", "O"]}
]
''' for each row in the list, if has same name and higher year then return the row that has not duplicated SomeVaraible '''
lavish rover
wintry pier
#

expect output :

data = [
  {"name": "one", "year": 2020, "SomeVaraible": ["V", "T"]},
  {"name": "one", "year": 2022, "SomeVarailble": ["X", "O"]}
] 
#

@lavish rover if someone see it

lavish rover
#

Use the help system.

#

You're much more likely to get help there.

tidal salmon
#

@leaden comet why are you alone in voice

nova prawn
#

primitive data types and non primitive data

#

what are the propose of using array in python

#

is list is mutable and immutable

#

mutable means value will change immutable means value will remains constant

#

to find the eligibility of a person who can drive ? i.e if age in greater than 16 then the can if not print you cannot

neat acorn
#

if(age>16)
print('you can drive')
else
print('you cannot')

nova prawn
#

print()

#

print('')

#

what is loosely type and strictly type programming ?.

#

a=1

#

int a = 1

#

cannot

#

PI = 3.14

#

a=["car","jeep","bike"]

neat acorn
#

a=[1]

nova prawn
#

a[1]

neat acorn
#

a[0:3]

#

a[ :3]

nova prawn
#

a[1:3]

#

what is set ?

#

fruits = {"apple", "banana", "cherry"}

#

add orange

#

fruits.add('orange')

#

what is while loop

#

conditionals control statement

#

write a program to find first natural number ?.

#

using while loop

#

less than

#

``

#

`
i=1
while i<=10:
print(i)
i+=1

`

#

fruits = ["apple", "banana", "cherry"]

neat acorn
#

for x in fruits
print(x)

nova prawn
#

:

#

functions

#

what is functions

#

it is the block of code execute when invokes

#

write a program to return the sum of any two numbers ?.

neat acorn
#

def functions(num, num2):
a = num + num2
print(a)

nova prawn
#

return num+num2

neat acorn
#

Which line do I indent

nova prawn
#

return

#

actual args and formal args

#

different

#

sum(1,2)

#

kargs and args function

#

sum(*kwargs , *args)

#

sum(*kwargs,*args):

neat acorn
#

def functions(*args):
a = num + num2
print(a)

nova prawn
#

def functions(*args):
a = args[0] + args[1]+args[2]+args[3]+args[4]+args[5]+args[6]+args[7]+args[8]+args[9]
print(a)

#

functions(1,23,54,54,656,676,67,7676,7676,767,76,76)

#

args=[1,2,3,4]

#

kwargs

#

def def functions(*kwargs):
return kwargs ['a']+k['b']

#

functions(a=1,b=2)

#

dictionary

#

list and dictionary

#

args = list and kwargs dictionary

#

collection of different data types

#

you mean to say or what ?

#

class Hellow(): x=1

#

`class Hellow():

#

class Hellow(): x=1

#

variable inside a class means instance member

#

self

#

sef sum(self): method

#

def sum()

#

def _init(self):

#

def __init __(self):

#

class A:
def init(self, a, b):
self.a = a
self.b = b

def myfunc(self):
print(self.a+self.b)

obj = A(1,2)
obj.myfunc()

#

flask

#

statics

#

mathmatic s

somber heath
#

!code @nova prawn

wise cargoBOT
#

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.

nova prawn
#

@somber heath ok mate you got me ?..

somber heath
#

I wasn't exactly trying to seize you.

nova prawn
#

i will take care next time ?..

nova prawn
#

i appreciate it ๐Ÿ˜๐Ÿ˜๐Ÿ˜

compact yacht
#

import re

#

import os

#

import numpy as np

somber heath
#

I'm able to pay attention, now.

warped raft
#

@whole bearhello

#

@distant tuliphello

peak ice
#
"""
Basic operations on Linked Lists:
Deletion
Insertion
Search
Display
"""


def selection_sort():
    pass


class Node:
    def __init__(self, data, next=None):
        self.data = data
        self.next = next


class LinkedList:
    def __init__(self):
        self.head = None

    def insert_at_beggning(self, data):
        if self.head is None:
            node = Node(data)
            self.head = node

    def print_all(self):
        if self.head is None:
            print("empty")
        else:
            a = self.head
            while a.next:
                print(a.data)

    def insert_at_end(self, data):
        if self.head is None:
            self.insert_at_beggning(data)
        else:
            ref = self.head
            while True:
                if ref.next is None:
                    node = Node(data)
                    ref.next = node
                    break
                else:
                    ref = ref.next

    def len_of_linked_list(self):
        count_ll = 0
        ref = self.head
        if ref is None:
            return 0
        else:
            while True:
                if ref is None:
                    return count_ll
                else:
                    count_ll += 1
                    ref = ref.next

    def insert_at_position(self, position, data):
        if self.head is None:
            self.insert_at_beggning()
        elif self.len_of_linked_list > position:
            pass
        elif self.len_of_linked_list < position:
            pass


if __name__ == "__main__":
    llist = LinkedList()
    llist.insert_at_beggning(12)
    llist.insert_at_end(13)
    llist.insert_at_end(14)
    llist.insert_at_end(15)
    llist.insert_at_end(16)
    a = llist.len_of_linked_list
    print(a)
somber heath
#
[(0, 0), (0, 1), (0, 2)]
[(0, 1), (0, 2), (0, 3)]
[(0, 2), (0, 3), (1, 3)]
[(0, 3), (1, 3), (2, 3)]```
smoky viper
#

best way to get the verification is to help people, right?

#

or make questions

#

nice

#

and make sure to be vaccinated lol

#

hahaha you are right, sorry to interrupt you guys, please go ahead ๐Ÿ™‚

#

Ive never used pygame, it is OOP?

#

๐Ÿ’ฏ

#

@somber heath , when you are available, can you check #help-peanut logo_django2

#

looking for someone who can give me an opinion in that

#

thanks โค๏ธ

#

lol

somber heath
#

I can't think and listen at the same time.

smoky viper
somber heath
#

!e py import random directions = [(0, -1), (0, 1), (-1, 0), (1, 0)] direction = random.choice(directions) snake = [(0, 0), (0, 1), (0, 2), (0, 3)] for i in range(10): if random.choice([True, False]): direction = random.choice(directions) snake.append((snake[-1][0] + direction[0], snake[-1][1] + direction[1])) del snake[0] print(snake)

wise cargoBOT
#

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

001 | [(0, 1), (0, 2), (0, 3), (0, 2)]
002 | [(0, 2), (0, 3), (0, 2), (0, 1)]
003 | [(0, 3), (0, 2), (0, 1), (-1, 1)]
004 | [(0, 2), (0, 1), (-1, 1), (-2, 1)]
005 | [(0, 1), (-1, 1), (-2, 1), (-3, 1)]
006 | [(-1, 1), (-2, 1), (-3, 1), (-4, 1)]
007 | [(-2, 1), (-3, 1), (-4, 1), (-5, 1)]
008 | [(-3, 1), (-4, 1), (-5, 1), (-5, 2)]
009 | [(-4, 1), (-5, 1), (-5, 2), (-5, 3)]
010 | [(-5, 1), (-5, 2), (-5, 3), (-6, 3)]
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.

smoky viper
#

@somber heath thanks man, btw how do you use !e with code?

somber heath
#

!e

wise cargoBOT
#
Missing required argument

code

#
Command Help

!eval [python_version] <code, ...>
Can also use: e

*Run Python code and get the results.

This command supports multiple lines of code, including code wrapped inside a formatted code block. Code can be re-evaluated by editing the original message within 10 seconds and clicking the reaction that subsequently appears.

If multiple codeblocks are in a message, all of them will be joined and evaluated, ignoring the text outside of them.

By default your code is run on Python's 3.11 beta release, to assist with testing. If you run into issues related to this Python version, you can request the bot to use Python 3.10 by specifying the python_version arg and setting it to 3.10.

We've done our best to make this sandboxed, but do let us know if you manage to find an issue with it!*

smoky viper
#

lol, it make sense

somber heath
#

!code

wise cargoBOT
#

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.

somber heath
#

But with !e at the start

#

!e```py
print("Hello, world.")```

#

Like that.

smoky viper
#

gotcha

#

hey @somber heath what do you do in python?

#

just curious

smoky viper
#

i really like the first one

#

django here

#

@nova prawn

somber heath
#

!e ```py
def decorator(function):
def f(v):
return function(v) * 2
return f

def func(v):
return v

func = decorator(func)

print(func(5))```

wise cargoBOT
#

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

10
somber heath
#

!e ```py
def decorator(function):
def f(v):
return function(v) * 2
return f

@decorator
def func(v):
return v

print(func(5))```

wise cargoBOT
#

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

10
somber heath
#

@nova prawn

#

These two examples are roughly equivalent.

nova prawn
#

o ok for factory pattern

somber heath
#

You can also have class decorators and decorators with arguments.

#

Yes.

#

Class decorators with arguments are ridiculous.

nova prawn
#

ha ha

smoky viper
#

!e```python
class MyClass:
def init(self, x, y):
self.x = x
self.y = y

@property
def fsum(self, z=2):
    return str(self.x + self.y + z) + ' string'

@fsum.setter
def fsum(self, value):
    self.x, self.y = value

if name == 'main':
c = MyClass(2, 2)
print(c.fsum)
c.fsum = (1, 1)
print(c.fsum)

wise cargoBOT
#

@smoky viper :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | 6 string
002 | 4 string
smoky viper
#

cc @nova prawn

#

yup totally

somber heath
#

!e ```py
def class_decorator(cls):
class C(cls):
def init(self):
print("Decorated")
super().init()
return C

@class_decorator
class MyClass:
def init(self):
print("Native")

#equivalent to
#class MyClass:

...

MyClass = class_decorator(MyClass)

mc = MyClass()```

wise cargoBOT
#

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

001 | Decorated
002 | Native
smoky viper
#

hahaha omg, never thought of using it like that

somber heath
#

Oh, I'm not done, yet.

smoky viper
#

๐Ÿ‘€

somber heath
#

!e ```py
def class_decorator_with_parameters(a):
def d(cls):
class C(cls):
def init(self):
print(a)
super().init()
return C
return d

@class_decorator_with_parameters("Apples.")
class MyClass:
def init(self):
print("Native.")

mc = MyClass()```

wise cargoBOT
#

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

001 | Apples.
002 | Native.
somber heath
#

def def class def

#

Python, ladies, gentlemen and variations thereupon.

#

This is about the only time it would be appropriate to have such a fucking horrible nesting structure. But you could flatten it out if you wanted.

#

!e```py
print("Hello, world.")```

#

!e py a = eval("1 + 1") print(a)

wise cargoBOT
#

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

2
#

@whole bear :white_check_mark: Your 3.10 eval job has completed with return code 0.

2
somber heath
#

!e py import ast text = "{'apples': 1, 'pears': 2}" result = ast.literal_eval(text) print(result) print(type(result))

wise cargoBOT
#

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

001 | {'apples': 1, 'pears': 2}
002 | <class 'dict'>
somber heath
#

!json

#

!d json

wise cargoBOT
#

Source code: Lib/json/__init__.py

JSON (JavaScript Object Notation), specified by RFC 7159 (which obsoletes RFC 4627) and by ECMA-404, is a lightweight data interchange format inspired by JavaScript object literal syntax (although it is not a strict subset of JavaScript 1 ).

Warning

Be cautious when parsing JSON data from untrusted sources. A malicious JSON string may cause the decoder to consume considerable CPU and memory resources. Limiting the size of data to be parsed is recommended.

json exposes an API familiar to users of the standard library marshal and pickle modules.

Encoding basic Python object hierarchies:

whole bear
#

!code

wise cargoBOT
#

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.

pallid hazel
fiery bone
#

eval

#

!eval

wise cargoBOT
#
Missing required argument

code

#
Command Help

!eval [python_version] <code, ...>
Can also use: e

*Run Python code and get the results.

This command supports multiple lines of code, including code wrapped inside a formatted code block. Code can be re-evaluated by editing the original message within 10 seconds and clicking the reaction that subsequently appears.

If multiple codeblocks are in a message, all of them will be joined and evaluated, ignoring the text outside of them.

By default your code is run on Python's 3.11 beta release, to assist with testing. If you run into issues related to this Python version, you can request the bot to use Python 3.10 by specifying the python_version arg and setting it to 3.10.

We've done our best to make this sandboxed, but do let us know if you manage to find an issue with it!*

fiery bone
#

python_version

#

!python_version

pallid hazel
#

newtest.mod_test
create_bh_session
test_backhaul
newtest.mod_test
create_bh_session
test_backhaul
verify_pair host='10.0.127.194'
verify_pair host='10.0.127.202'
newtest.mod_test

woeful salmon
#

!e

import sys
print(sys.version)
wise cargoBOT
#

@woeful salmon :white_check_mark: Your 3.11 eval job has completed with return code 0.

3.11.0rc1 (main, Aug 12 2022, 02:04:06) [GCC 8.3.0]
woeful salmon
whole bear
#

@somber heath sry for bothering bro do you know when ustafa will be available I really need his help