#voice-chat-text-0

1 messages · Page 147 of 1

vocal basin
#

not me

#

it's a game called ШП

#

you can buy it on steam

somber heath
#

@agile pollen 👋

brittle gull
#

oooh wow

agile pollen
#

hello

brittle gull
#

is there any demo

#

kind of video

echo garden
#

Alisa is it worth buying?

agile pollen
#

wait let me get my headphones

brittle gull
#

well i have a question can you help to debugg it

agile pollen
#

parabola

brittle gull
#

im stuck in a code

limber salmon
#

why is it silent here?

brittle gull
#

😭

vocal basin
somber heath
limber salmon
#

How is life in Austrailia these days

#

yea its getting chotic more somewhere whereas somewhere its beautiful

#

mixed bag as you normally say

somber heath
#

@pallid verge 👋

pallid verge
#

hi

limber salmon
#

hey @pallid verge

#

how is it going

pallid verge
pallid verge
limber salmon
#

atm

pallid verge
#

ahh same .. at the workplace rn

limber salmon
#

ohh

#

what sort of work do u do

#

softwareee

#

@grand terrace

vocal basin
limber salmon
#

lol

#

Microsoft

#

the premium EE

#

as they say

somber heath
#

@still lava 👋

still lava
#

whas up

somber heath
#

@rich swan 👋

#

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

rich swan
#

i havent been in the server for more than 3 days😐

#

i just need some python help tho

#

@somber heath could you help me?

#

its basic

#

its pygame

#

import pygame
run = True

pygame.init()

ScreenWidth = 800
ScreenHeight = 600

screen = pygame.display.set_mode((ScreenWidth, ScreenHeight))

while run:
for event in pygame.event.get():
if event.type == pygame.QUIT:
run = False

#

do you know why it crashes

#

or stops running

#

yes

limber salmon
#

pygame.event.get() output of this

#

is what?

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.

#
Bad argument

Converting to "int" failed for parameter "pep_number".

limber salmon
#
import pygame
run = True

pygame.init()

ScreenWidth = 800
ScreenHeight = 600

screen = pygame.display.set_mode((ScreenWidth, ScreenHeight))

while run:
    for event in pygame.event.get():
        if event.type == pygame.QUIT:
            run = False
somber heath
#

!pep8 Name conventions

wise cargoBOT
#
PEP 8

PEP 8 is the official style guide for Python. It includes comprehensive guidelines for code formatting, variable naming, and making your code easy to read. Professional Python developers are usually required to follow the guidelines, and will often use code-linters like flake8 to verify that the code they're writing complies with the style guide.

More information:
PEP 8 document
Our PEP 8 song! :notes:

limber salmon
#

whats the output of pygame.event.get()

rich swan
#

im sorry it doesnt crash

#

its a syntax error

limber salmon
#

paste the error

rich swan
#

C:/Users/Dontlookatmyname/AppData/Local/Microsoft/WindowsApps/python3.11.exe c:/Users/lando/OneDrive/Desktop/Game.py
File "<stdin>", line 1
& C:/Users/lando/AppData/Local/Microsoft/WindowsApps/python3.11.exe c:/Users/lando/OneDrive/Desktop/Game.py
^
SyntaxError: invalid syntax

#

dont know what it means🤨

limber salmon
#

screeshot

#

would be better

vocal basin
rich swan
#

?

vocal basin
#

this is not python code:

& C:/Users/lando/AppData/Local/Microsoft/WindowsApps/python3.11.exe c:/Users/lando/OneDrive/Desktop/Game.py
rich swan
#

🤨

still lava
#

thats from the terminal bruh

vocal basin
#

are you using something like VS Code?

rich swan
#

yep

limber salmon
#

python Game.py

vocal basin
limber salmon
rich swan
#

write what

#

OH

#

i figured it out

vocal basin
rich swan
#

i tried to render a square earlier

vocal basin
rich swan
#

and ran it in a terminal

#

it works fine if i run it normaly

vocal basin
rich swan
#

its fine i got everything down

#

thx for the help tho

still lava
vocal basin
#

seems like holding down the "New Terminal" shortcut does work

somber heath
#

@long osprey 👋

long osprey
#

i have a question

#

more of a

#

you know a project related stuff

#

i need to predict the ethnicity of a specific city using a sample data set and some background feature sampling data

#

i know that we can use exploratiry data analysis

#

but im still confused how do i carry it out

#

oh im really sorry to interrupt

#

oh hmmmm

#

ML engineer

#

that is completely fine

sharp finch
#

Hey?

somber heath
sharp finch
#

Gtg class just started

rocky yew
#

@vocal basin hey af i can't understand something
so while using pandas when im putting in the path for a file, it's giving me an error

#

it goes away when i put in "r" before the path

#

or i put double backslash instead of a single one

#

but my doubt is that this error isn't consistent

#

why sometimes it just works without the "r" or double backslash and sometimes it gives me an error

vocal basin
#

!e

print("\/")
print(r"\/")
print("\\/")
wise cargoBOT
#

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

001 | \/
002 | \/
003 | \/
vocal basin
#

eh

#

I forgot

#

how to show

#

!e

print("\n")
print(r"\n")
print("\\n")
wise cargoBOT
#

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

001 | 
002 | 
003 | \n
004 | \n
vocal basin
rocky yew
zenith radish
rocky yew
vocal basin
#

!e

print("\a")
print(r"\a")
print("\\a")
wise cargoBOT
#

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

001 | 
002 | \a
003 | \a
vocal basin
#

.charinfo 

#

!charinfo 

wise cargoBOT
#
Character Info

\u0007 : - 

vocal basin
#

try printing the path

rocky yew
#

okay wait

rocky yew
#

like you said it's a bell maybe

#

what is unicode and what is it's purpose?

vocal basin
#

in some contexts/terminals/etc. it should play a sound

rocky yew
#

thanks af i get what is causing the errors

rocky yew
#

you're a G

vocal basin
rocky yew
#

duly noted!!

limber copper
#

Stephen Merchant

somber heath
limber copper
#

[[[226 255 255]
[224 255 253]
[221 254 250]

#

for picture in pic:
for pixel in picture:
print(pixel)

#
  for i in range(10)
    num[i] = []
somber heath
#

!e py import numpy as np arr = np.arange(27).reshape(3, 3, 3) print(arr) a = np.product(arr.shape[:-1]) b = arr.shape[-1] c = arr.reshape(a, b) np.random.shuffle(c) print() print(arr)

wise cargoBOT
#

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

001 | [[[ 0  1  2]
002 |   [ 3  4  5]
003 |   [ 6  7  8]]
004 | 
005 |  [[ 9 10 11]
006 |   [12 13 14]
007 |   [15 16 17]]
008 | 
009 |  [[18 19 20]
010 |   [21 22 23]
011 |   [24 25 26]]]
... (truncated - too many lines)

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

somber heath
#

@limber copper

limber copper
#

# Iterate over the files in the input folder
for filename in os.listdir(input_folder):
    # Check if the file is an image
    if filename.endswith((".jpg", ".jpeg", ".png", ".gif")):
        # Open the image
        image_path = os.path.join(input_folder, filename)
        image = Image.open(image_path)

        image = np.array(image)

        X.append(image)

        # Assuming your array is called "image"
        image_shape = image.shape  # (355, 474, 3)
        reshaped_image = image.reshape(-1, image_shape[-1])  # Reshape to 2D array with shape (355 * 474, 3)

        # Shuffle the rows of the reshaped array
        np.random.shuffle(reshaped_image)

        # Reshape the shuffled array back to the original shape
        shuffled_image = reshaped_image.reshape(image_shape)

        y.append(shuffled_image)
    
ebon mist
somber heath
#

@dense ether 👋

#

@lapis osprey 👋

#

Cool.

#

Cool.

#

@turbid sandal I'm here. What's not making sense?

#

You were saying my name.

#

You didn't seem to be watching. So yes, I pinged.

#

Except the gif is wrong. It's ping, not bing.

somber heath
#

Yahoy.

#

Cold. I can feel my joints.

wind raptor
#

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

wind raptor
long osprey
#

sorry my mic's suppressed but i have a question

#

i am incharge of a project specifically an ml project

#

i need to predict the ethnicity of a city using a sample data set and some feature sampling

wind raptor
#

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

dense ether
#

kinda stuck on this

wind raptor
dense ether
#

yea

dense ether
#

keep getting an error

#

it starts it as it gets to Audio waveform shape: (28672,)
Sampling rate: 48000
Listening for audio cue...

#

and then

#

Exception ignored from cffi callback <function _StreamBase.init.<locals>.callback_ptr at 0x0000021A3E3CBB00>:
Traceback (most recent call last):
File "C:\Users\ryan\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\sounddevice.py", line 846, in callback_ptr
return _wrap_callback(callback, data, frames, time, status)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ryan\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\sounddevice.py", line 2687, in wrap_callback
callback(*args)
File "C:\Users\ryan\Videos\fish\again.py", line 32, in audio_callback
similarity = librosa.feature.cosine_similarity([reference_audio, live_audio])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ryan\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\lazy_loader_init
.py", line 88, in getattr
raise AttributeError(f"No {package_name} attribute {name}")
AttributeError: No librosa.feature attribute cosine_similarity

#

as the error

lucid blade
#

Puppy Linux can be installed on Chromebooks, but it may not work on ARM architecture processor-based Chromebooks.0 To remove Chrome OS and only use Puppy, one can delete ChromeOS from the internal drive and replace with a Puppy version.1 Puppy Linux requires 128MB of RAM and 333Mhz of CPU, although 256MB of RAM is recommended. Chromium OS is designed for use in computers with little local storage and fast boot-up times.2 It is possible to install Google Chrome or Chromium on most PuppyLinux distributions, but the exact version and process for installing depend on which one is running.

long osprey
#

sorry my mic's suppressed but i have a question

#

i am incharge of a project specifically an ml project

#

i need to predict the ethnicity of a city using a sample data set and some feature sampling

#

i know that i can use exploratory data analysis

#

but uhh i cant really compile what to do exactly

somber heath
#

@zenith radish Can it be storytime yet?

#

@amber raptor this

lucid blade
zenith radish
ebon mist
#

What was the community's consensus on a Linux distro for Chromebook???

somber heath
#

But shop around

ebon mist
#

k

somber heath
#

Distro hopping is half the fun.

zenith radish
#

HAHAHAHA

#

@granite trail @ebon mist

wind raptor
#

!stream 360284932469293056

wise cargoBOT
#

✅ @ebon mist can now stream until <t:1686837730:f>.

somber heath
#

Bootlooping server?

#

"Uh, yeah, there's like, a ton of tentacles and stuff in there, and a bunch of ethereal chanting..."

turbid sandal
#

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

somber heath
#

!d finally

wise cargoBOT
#

8.4.4. finally clause

If finally is present, it specifies a ‘cleanup’ handler. The try clause is executed, including any except and else clauses. If an exception occurs in any of the clauses and is not handled, the exception is temporarily saved. The finally clause is executed. If there is a saved exception it is re-raised at the end of the finally clause. If the finally clause raises another exception, the saved exception is set as the context of the new exception. If the finally clause executes a return, break or continue statement, the saved exception is discarded...

turbid sandal
#

!e


if 1 == 1:
  print("if")
else:
  print("else")
finally:
  print("finally")
wise cargoBOT
#

@turbid sandal :x: Your 3.11 eval job has completed with return code 1.

001 |   File "/home/main.py", line 5
002 |     finally:
003 |     ^^^^^^^
004 | SyntaxError: invalid syntax
rugged root
#
if thing:
  print("first condition")
else:
  print("second condition")

print("will do this either way")
somber heath
#

!e ```py
def func():
try:
return 'Hello, world.'
except Exception: #Be specific!
pass
finally:
print('Finally')
print('You won't see me.')

result = func()
print(result)```

wise cargoBOT
#

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

001 | Finally
002 | Hello, world.
rugged root
turbid sandal
#

@ # = | \ " , .

noble solstice
#

Hello GuYs!!

lucid blade
turbid sandal
noble solstice
#

@echo garden You are really a great story teller!

tepid edge
#

the constant e is the cut the aliens take

lavish rover
#

@zenith radish welcome, please BYO tin foil hat

zenith radish
#

@lavish rover

#

come here

echo garden
#

this is a very old email address that i wish, i could get back into. but currently headed for a life in prison for the valuble infomation ive accumulated over the years. im not a liar, the truth is easier to remember. i explain to the best of my most logical knowledge of my personal experiences that took years for me to come to the conconclusions ive come too. but i came here, because i wanted to code something for an organization that needs it, but im happy to explain myself as long im allowed to finish.

orchid mauve
#

lol

echo garden
#

@midnight agate are you working on an AI model?

#

yeah but your responses can answer questions from an AI lol im not making fun i just found it funny

#

you know of the infiniate conversation ?

#

infinite

midnight quarry
echo garden
#

its a AI to AI conversation with models based off of indidivuals

#

hold

midnight quarry
echo garden
# midnight quarry Ok i see

its an interesting concept but you have to wonder the probability of them having the same conversation in a given time.

#

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

midnight quarry
midnight quarry
echo garden
#

one of which is how much you text on this server.

#

this conversation for instance is helpful

midnight quarry
echo garden
#

yeah and I am not certain what it considers inputed text but you well on your way i assure you.

#

but this isn't the only channel on this server.

midnight quarry
#

I know… just… i don’t know how to join the discussion

echo garden
#

what are you using ?

#

a phone?

midnight quarry
#

Yes

#

And im a little social fear

echo garden
#

ok discord should be pretty much the same on your end in the application such as mine but im using a laptop

midnight quarry
#

Because there is a power outage now, I turned off my laptop.

echo garden
#

@zenith radish the image quality is insane

turbid sandal
somber heath
#

@frozen geyser 👋

#

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

frozen geyser
#

thank u one sec let me read the instructions

#

okay i see

#

its okay take ur time my friend

#

i was just looking for some people to chill with

#

while i study for thei pl/sql exam

#

ngl my hatred for sql is rising everyday

vocal basin
#

Oracle

#

"Procedural Language for SQL"

frozen geyser
#

yeah my teachers love calling it that

frozen geyser
#

you know its the first time i get the full name that shows how much i hate it

#

yeah when u are talking to someone who knows

#

its usually easier

vocal basin
#

I can't think about anything else in this context other than "times ten memory overhead"

frozen geyser
vocal basin
#

just like any other technology, it wasn't actually developed by Oracle

vocal basin
frozen geyser
vocal basin
#

Oracle didn't develop Java

frozen geyser
#

are they not the ones theat destroyed it

vocal basin
#

it was Sun Microsystems who developed Java

frozen geyser
#

it was better under microsystems even tho i did not try it back then as i just heard and most people tell me it was wayyyy better

somber heath
#

@grave sun 👋

frozen geyser
#

@somber heath if u can help me what does the portion under AS do ?.

#

thanks anyways

vocal basin
frozen geyser
#

3 rd line from the top

vocal basin
#

looks like aliases

frozen geyser
vocal basin
#

probably

#

I'd guess this is just substitution

INTO L_Nationalite_Joueur
INTO Joyeur.Nationalite%TYPE
#

I don't know what %TYPE is

frozen geyser
vocal basin
frozen geyser
frozen geyser
vocal basin
#

eh

#

why is it so weird

vocal basin
frozen geyser
vocal basin
#

AS refers to the whole function body

#

part of which is local declarations/definitions

#

which maybe work like aliases

#

this is not SQL itself

#

it's PL/SQL extensions

#

SQL on its own is kind of okay

#

there are better dialects, like postgresql

#

"IS" and "AS" seem to be syntactically equivalent

#

I don't know where the documentation is

#

and no information on what "appropriate" means in this context

#

the documentation is very hard to read even for someone who knows the language

vocal basin
#

instead, it links to, basically, a book on how to write PL/SQL

#

and doesn't mention any specific chapter

frozen geyser
vocal basin
#

ChatGPT tries to mimic the existing code

#

and same for explanations
if existing public explanations are unclear, same will be true for what ChatGPT produces

#

does %TYPE come from existing code or from ChatGPT?

#

I found what that means

#

(probably)

#

table_name.column_name%TYPE means "type of table_name.column_name"
so, L_Nationalite_Joueur is not alias/substitution, it's rather just a local variable with the same type as Joyeur.Nationalite

#

(coloured the thing so easier to follow where things are)

#

it takes Nationalite from Joueur and puts it into L_Nationalite_Joueur

#

(therefore the types should match)

frozen geyser
#

@vocal basin U ARE BETTER THEN MY TEACHER THANK U IT FINALLY CLICKED

vocal basin
#

I still don't understand how PL/SQL treats variables

#

it's either one value of the specified type, or a temporary table

frozen geyser
noble solstice
#

which language ? giving me feeling of python. ruby?

vocal basin
#

Aecor

noble solstice
vocal basin
#

I found something evil

vocal basin
#

why are there so many meme-worthy comments in rc.rs

rocky yew
#

what is rc rs?

vocal basin
rocky yew
#

oh, thanks.

serene viper
#

what does .ae file extension stand for?

vocal basin
#

Aecor

serene viper
#

oh my god, I cannot find it on the web

#

link?

vocal basin
serene viper
#

👍

somber heath
#

@sage forge @finite coral 👋

meager roost
#

@finite coral 👋

vocal basin
#

rewriting some Rust code

#

problematic.

#

Windows/Linux

vocal basin
meager roost
somber heath
#

@vale coyote 👋

#

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

vale coyote
#

how to open the voice

vocal basin
vale coyote
#

bro i need a permisson

#

ok still not working

#

opalmist are you there

noble solstice
vocal basin
#

I don't think the problem is as hard as the marker suggests
it's mostly just about not over-engineering the solution

vocal basin
#

I'll try and optimise my solution now
because top 5% speed is not good enough

onyx trout
#

jo

#

u guys have any beginner projects i could make in python ?

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.

onyx trout
#

for some reason i stil cant talk in vc i know i have setn more than 50 messages

#

the rest i have already done

somber heath
#

!e py user_input = '10d4' #user_input = input('>') ab = user_input.split('d') a, b = user_input.split('d') print(ab) print(a) print(b)

wise cargoBOT
#

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

001 | ['10', '4']
002 | 10
003 | 4
somber heath
#

!e py print('M*A*S*H'.split('*'))

wise cargoBOT
#

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

['M', 'A', 'S', 'H']
somber heath
#

!e py yes = 'yes'.casefold() print(yes) user_input = 'YES'.casefold() print(user_input) print(yes == user_input)

wise cargoBOT
#

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

001 | yes
002 | yes
003 | True
somber heath
#

!d str.casefold

wise cargoBOT
#

str.casefold()```
Return a casefolded copy of the string. Casefolded strings may be used for caseless matching.

Casefolding is similar to lowercasing but more aggressive because it is intended to remove all case distinctions in a string. For example, the German lowercase letter `'ß'` is equivalent to `"ss"`. Since it is already lowercase, [`lower()`](https://docs.python.org/3/library/stdtypes.html#str.lower "str.lower") would do nothing to `'ß'`; [`casefold()`](https://docs.python.org/3/library/stdtypes.html#str.casefold "str.casefold") converts it to `"ss"`.

The casefolding algorithm is described in section 3.13 of the Unicode Standard.

New in version 3.3.
onyx trout
#

!d str

wise cargoBOT
#
str

class str(object='')``````py

class str(object=b'', encoding='utf-8', errors='strict')```
Return a [string](https://docs.python.org/3/library/stdtypes.html#textseq) version of *object*. If *object* is not provided, returns the empty string. Otherwise, the behavior of `str()` depends on whether *encoding* or *errors* is given, as follows.

If neither *encoding* nor *errors* is given, `str(object)` returns [`type(object).__str__(object)`](https://docs.python.org/3/reference/datamodel.html#object.__str__ "object.__str__"), which is the “informal” or nicely printable string representation of *object*. For string objects, this is the string itself. If *object* does not have a [`__str__()`](https://docs.python.org/3/reference/datamodel.html#object.__str__ "object.__str__") method, then [`str()`](https://docs.python.org/3/library/stdtypes.html#str "str") falls back to returning [`repr(object)`](https://docs.python.org/3/library/functions.html#repr "repr").
vocal basin
somber heath
#

Variable unpacking.

#

@wet bluff 👋

wet bluff
#

ok hello

midnight quarry
#

hi

wet bluff
#

could someone help with my tkinter gui using treeview

#

yes

vocal basin
#

given your error "row is not defined", it's not related to tkinter

#

function scope issue rather

#

or just a typo

wet bluff
#

it is related to treeview and displaying the stuff from the csv file

vocal basin
#

what is the error?

#

the traceback?

somber heath
#

@dusty jewel 👋

wet bluff
#

File "C:\Users\timxw\OneDrive\Documents# School Work\Year 9\Dig Tech\Term 2\Tim Walter Dig Tech Final\Code\GUI.py", line 26, in perform_search
pet_id = row['pet_id']
^^^
NameError: name 'row' is not defined

wet bluff
#

how do i sen my code through

#

sorry send

vocal basin
#

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

wet bluff
vocal basin
wet bluff
#

yes

vocal basin
#

without using tools like ChatGPT, right?

somber heath
#

!e ```py
class MyClass:
def greet(self):
print(f'Hello, I'm {self}')

a = MyClass()
b = MyClass()

print(a)
a.greet()

print(b)
b.greet()```

wise cargoBOT
#

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

001 | <__main__.MyClass object at 0x7fc5e0568550>
002 | Hello, I'm <__main__.MyClass object at 0x7fc5e0568550>
003 | <__main__.MyClass object at 0x7fc5e0568590>
004 | Hello, I'm <__main__.MyClass object at 0x7fc5e0568590>
wet bluff
#

yes

#

without using chat gpt

vocal basin
#

where is row supposed to come from?

wet bluff
#

the csv file

#

that i have in the same file

#

this csv file has gfo information that i want to search in the tree view

vocal basin
#

you have this

reader = csv.DictReader(file)
print("name:", row['name'])

it should be this

reader = csv.DictReader(file)
for row in reader:
    print("name:", row['name'])
#

whereas this part after the loop quite likely is incorrect at all

#

(it is definitely incorrect is there are no rows)

wet bluff
#

ok

vocal basin
#

CSV indexing itself should work fine

#

if you have columns properly defined inside of it

wet bluff
#

ok

somber heath
#

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

MyClass() # a = MyClass()```

wise cargoBOT
#

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

Hello, world.
vocal basin
#

missing enough spaces around #

#

#, iirc, is pep8's suggestion

#

An inline comment is a comment on the same line as a statement. Inline comments should be separated by at least two spaces from the statement. They should start with a # and a single space.

vocal basin
somber heath
#

!e ```py
class MyClass:
def init(self, value):
print(value)

a = MyClass('apple')```

wise cargoBOT
#

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

apple
somber heath
#

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

def recall(self):
    print(self.value)

a = MyClass('apple')
b = MyClass('banana')
a.recall()
print(a.value)
b.recall()
print(b.value)```

wise cargoBOT
#

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

001 | apple
002 | apple
003 | banana
004 | banana
somber heath
#

!e py a = [] b = [] c = a print(a == b) # True. The object that a refers to and the object that b refers to are both empty lists. print(a is b) # False. The object that a refers to is not the same object that b refers to. print(a is c) # True. The object that a refers to is the same object that c refers to.== vs is

wise cargoBOT
#

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

001 | True
002 | False
003 | True
noble solstice
#

@vocal basin how do u approach for today leetcode problem!

vocal basin
#

reviewing style for one of my projects...
I found the only two comments I have in 1000 lines of code

#

which is just a list of idea previously thrown out

vocal basin
noble solstice
vocal basin
#

more generally

noble solstice
#

?

vocal basin
#

but not "graphs are generalisations of trees" type of generally

somber heath
#

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

a = MyClass()
b = MyClass()
a.is_self(a) # a in () goes to arg
a.is_self(b) # b in () goes to arg```The meaning of self.

wise cargoBOT
#

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

001 | True
002 | False
vocal basin
vocal basin
#

no, stack is the more clever way

noble solstice
#

?

vocal basin
#

what would be the way to do that without introducing any extra data structures?

noble solstice
#

recurrsion? Now my brain is not able to process

vocal basin
#

yes, recursion

#

what properties does recursion rely on?

noble solstice
#

one base condition?

vocal basin
#

i.e. what is that about the problem which allows to use recursion?

noble solstice
#

it root == None:

vocal basin
noble solstice
#

backtracking?

noble solstice
vocal basin
#
  1. there are base cases for which the answer is known
  2. what another condition?
noble solstice
#

we need to call recurssion in second condition

vocal basin
#

another condition is that the problem can be expressed as the same problem but for different (usually, smaller) input

#

example for sum:

def sum_of_values(tree: TreeNode | None) -> int:
    if tree is None:
        return 0
    return tree.val + sum_of_values(tree.left) + sum_of_values(tree.right)
#

how can the same "breaking down into smaller problems" applied to the original task?

noble solstice
#

How can i change the nodes in that problem?

vocal basin
#

!e

import keyword
print(keyword.kwlist)
wise cargoBOT
#

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

['False', 'None', 'True', 'and', 'as', 'assert', 'async', 'await', 'break', 'class', 'continue', 'def', 'del', 'elif', 'else', 'except', 'finally', 'for', 'from', 'global', 'if', 'import', 'in', 'is', 'lambda', 'nonlocal', 'not', 'or', 'pass', 'raise', 'return', 'try', 'while', 'with', 'yield']
vocal basin
#

!e

import keyword
print(keyword.softkwlist)
wise cargoBOT
#

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

['_', 'case', 'match']
vocal basin
#

used to have async/await in softkwlist

#

in 3.12 it'll have type there also

#

!e

while True:
    break
else:
    print(...)
wise cargoBOT
#

@vocal basin :warning: Your 3.11 eval job has completed with return code 0.

[No output]
vocal basin
#

!e

while False:
    break
else:
    print(...)
wise cargoBOT
#

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

Ellipsis
noble solstice
#

Well Byy I will try later!

vocal basin
#

~~"unless pattern"

while condition:
    break
else:
    code()
```~~
#

||(joke)||

#

do code blocks allow ~~

#

they do

somber heath
#

!d random

wise cargoBOT
#

Source code: Lib/random.py

This module implements pseudo-random number generators for various distributions.

For integers, there is uniform selection from a range. For sequences, there is uniform selection of a random element, a function to generate a random permutation of a list in-place, and a function for random sampling without replacement.

On the real line, there are functions to compute uniform, normal (Gaussian), lognormal, negative exponential, gamma, and beta distributions. For generating distributions of angles, the von Mises distribution is available.

wind raptor
#

!stream 603996647118340134

wise cargoBOT
#

✅ @onyx trout can now stream until <t:1686918402:f>.

somber heath
#

!e py import random print(dir(random))

wise cargoBOT
#

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

['BPF', 'LOG4', 'NV_MAGICCONST', 'RECIP_BPF', 'Random', 'SG_MAGICCONST', 'SystemRandom', 'TWOPI', '_ONE', '_Sequence', '_Set', '__all__', '__builtins__', '__cached__', '__doc__', '__file__', '__loader__', '__name__', '__package__', '__spec__', '_accumulate', '_acos', '_bisect', '_ceil', '_cos', '_e', '_exp', '_floor', '_index', '_inst', '_isfinite', '_log', '_os', '_pi', '_random', '_repeat', '_sha512', '_sin', '_sqrt', '_test', '_test_generator', '_urandom', '_warn', 'betavariate', 'choice', 'choices', 'expovariate', 'gammavariate', 'gauss', 'getrandbits', 'getstate', 'lognormvariate', 'normalvariate', 'paretovariate', 'randbytes', 'randint', 'random', 'randrange', 'sample', 'seed', 'setstate', 'shuffle', 'triangular', 'uniform', 'vonmisesvariate', 'weibullvariate']
vocal basin
#

message passing

somber heath
#

!if-name-main

wise cargoBOT
#
`if __name__ == '__main__'`

This is a statement that is only true if the module (your source code) it appears in is being run directly, as opposed to being imported into another module. When you run your module, the __name__ special variable is automatically set to the string '__main__'. Conversely, when you import that same module into a different one, and run that, __name__ is instead set to the filename of your module minus the .py extension.

Example

# foo.py

print('spam')

if __name__ == '__main__':
    print('eggs')

If you run the above module foo.py directly, both 'spam'and 'eggs' will be printed. Now consider this next example:

# bar.py

import foo

If you run this module named bar.py, it will execute the code in foo.py. First it will print 'spam', and then the if statement will fail, because __name__ will now be the string 'foo'.

Why would I do this?

• Your module is a library, but also has a special case where it can be run directly
• Your module is a library and you want to safeguard it against people running it directly (like what pip does)
• Your module is the main program, but has unit tests and the testing framework works by importing your module, and you want to avoid having your main code run during the test

somber heath
#

!d random.randint

wise cargoBOT
#

random.randint(a, b)```
Return a random integer *N* such that `a <= N <= b`. Alias for `randrange(a, b+1)`.
somber heath
#

!e py import random print(type(random.randint))

wise cargoBOT
#

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

<class 'method'>
vocal basin
#

!d random.Random

wise cargoBOT
#

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

Deprecated since version 3.9: In the future, the *seed* must be one of the following types: `NoneType`, [`int`](https://docs.python.org/3/library/functions.html#int "int"), [`float`](https://docs.python.org/3/library/functions.html#float "float"), [`str`](https://docs.python.org/3/library/stdtypes.html#str "str"), [`bytes`](https://docs.python.org/3/library/stdtypes.html#bytes "bytes"), or [`bytearray`](https://docs.python.org/3/library/stdtypes.html#bytearray "bytearray").
vocal basin
#

instance of this

#

likely

#

!e

from random import Random
print(dir(Random()))
wise cargoBOT
#

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

['VERSION', '__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__getstate__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__setstate__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_randbelow', '_randbelow_with_getrandbits', '_randbelow_without_getrandbits', 'betavariate', 'choice', 'choices', 'expovariate', 'gammavariate', 'gauss', 'gauss_next', 'getrandbits', 'getstate', 'lognormvariate', 'normalvariate', 'paretovariate', 'randbytes', 'randint', 'random', 'randrange', 'sample', 'seed', 'setstate', 'shuffle', 'triangular', 'uniform', 'vonmisesvariate', 'weibullvariate']
somber heath
#

!d math.ceil

wise cargoBOT
#

math.ceil(x)```
Return the ceiling of *x*, the smallest integer greater than or equal to *x*. If *x* is not a float, delegates to [`x.__ceil__`](https://docs.python.org/3/reference/datamodel.html#object.__ceil__ "object.__ceil__"), which should return an [`Integral`](https://docs.python.org/3/library/numbers.html#numbers.Integral "numbers.Integral") value.
vocal basin
#

!d round

wise cargoBOT
#

round(number, ndigits=None)```
Return *number* rounded to *ndigits* precision after the decimal point. If *ndigits* is omitted or is `None`, it returns the nearest integer to its input.

For the built-in types supporting [`round()`](https://docs.python.org/3/library/functions.html#round "round"), values are rounded to the closest multiple of 10 to the power minus *ndigits*; if two multiples are equally close, rounding is done toward the even choice (so, for example, both `round(0.5)` and `round(-0.5)` are `0`, and `round(1.5)` is `2`). Any integer value is valid for *ndigits* (positive, zero, or negative). The return value is an integer if *ndigits* is omitted or `None`. Otherwise, the return value has the same type as *number*.

For a general Python object `number`, `round` delegates to `number.__round__`.
somber heath
#

!d int

wise cargoBOT
#
int

class int(x=0)``````py

class int(x, base=10)```
Return an integer object constructed from a number or string *x*, or return `0` if no arguments are given. If *x* defines `__int__()`, `int(x)` returns `x.__int__()`. If *x* defines `__index__()`, it returns `x.__index__()`. If *x* defines `__trunc__()`, it returns `x.__trunc__()`. For floating point numbers, this truncates towards zero.

If *x* is not a number or if *base* is given, then *x* must be a string, [`bytes`](https://docs.python.org/3/library/stdtypes.html#bytes "bytes"), or [`bytearray`](https://docs.python.org/3/library/stdtypes.html#bytearray "bytearray") instance representing an integer in radix *base*. Optionally, the string can be preceded by `+` or `-` (with no space in between), have leading zeros, be surrounded by whitespace, and have single underscores interspersed between digits.
vocal basin
#

!e

from math import pi
print(round(pi, 3))
wise cargoBOT
#

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

3.142
vocal basin
#

!e

from math import pi, e
print(round(pi), round(e))
wise cargoBOT
#

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

3 3
vocal basin
#

equal

wind raptor
#

!d round

wise cargoBOT
#

round(number, ndigits=None)```
Return *number* rounded to *ndigits* precision after the decimal point. If *ndigits* is omitted or is `None`, it returns the nearest integer to its input.

For the built-in types supporting [`round()`](https://docs.python.org/3/library/functions.html#round "round"), values are rounded to the closest multiple of 10 to the power minus *ndigits*; if two multiples are equally close, rounding is done toward the even choice (so, for example, both `round(0.5)` and `round(-0.5)` are `0`, and `round(1.5)` is `2`). Any integer value is valid for *ndigits* (positive, zero, or negative). The return value is an integer if *ndigits* is omitted or `None`. Otherwise, the return value has the same type as *number*.

For a general Python object `number`, `round` delegates to `number.__round__`.
somber heath
# vocal basin !e ```py from math import pi, e print(round(pi), round(e)) ```

Our Pi Playlist (more videos): http://bit.ly/PiPlaylist
The State of Indiana nearly passed a law which would have made Pi equal 3.2 - strange but true.
More links & stuff in full description below ↓↓↓

This video features Dr James Grime - https://twitter.com/jamesgrime

The video about squaring circles: https://www.youtube.com/watch?v=CMP9a2J4B...

▶ Play video
vocal basin
#

.xkcd 2205

viscid lagoonBOT
#

It's not my fault I haven't had a chance to measure the curvature of this particular universe.

somber heath
#

!e py a = print('Hello!') print(a)

wise cargoBOT
#

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

001 | Hello!
002 | None
vocal basin
#

I tried making code be clever and it turned out ugly

(parent_height(hl, hr)? == hp)
    .then_some(())
    .ok_or(BalancingError::HeightMismatch {
        children: (hl, hr),
        parent: hp,
    })

I guess I'll go with the dumb version

if parent_height(hl, hr)? == hp {
    Ok(())
} else {
    Err(BalancingError::HeightMismatch {
        children: (hl, hr),
        parent: hp,
    })
}
#

(AVL trees)

vocal basin
zenith radish
#

too

#

I can't believe you would say this

somber heath
#

!pypi fuzzywuzzy

wise cargoBOT
somber heath
#

!e py text = ' abc def ghi jkl ' print(repr(text)) text = text.strip() print(repr(text))

wise cargoBOT
#

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

001 | '   abc   def   ghi jkl   '
002 | 'abc   def   ghi jkl'
somber heath
#

@silver cypress 👋

#

@open jetty 👋

open jetty
torpid vortex
#

anyone in here who could look at my code for a second? im getting circular import errors and its a bit too complicated to ask for help in the help-forum. im currently in the code/help voice channel

vocal basin
#

do you have type hints?

#

if yes, make sure you have from __future__ import annotations

torpid vortex
#

type hints as in :str and such?

vocal basin
#

yes

torpid vortex
#

no i dont think so

#

not very consistently at least. i have some here and there

vocal basin
#

do you run any code in modules that's not function/class definition?

torpid vortex
vocal basin
#

do you have any code at all in modules that's outside import, def and class statements/blocks?

torpid vortex
#

ahh no i dont really

vocal basin
#

do you use from <module> import <member> syntax?

torpid vortex
#

i have one to under a if __name__ == "__main__": statement

#

yes

vocal basin
torpid vortex
#

why?

vocal basin
#

to avoid the cyclic import error

#

b.py

from a import A

class B:
    pass

a.py

from b import B

class A:
    pass

^ there are reasons why this doesn't work

vocal basin
#

which allows delayed dependency

#

another thing you can (but shouldn't) do is to use local imports

#

the "real" solution is actually to get rid of cyclic dependencies themselves

#

(in one way or another)

torpid vortex
#

ill adjust my import statements and see if it improves anything

vocal basin
#

I uninstalled CS:GO 28 days ago

#

so far it is a good choice

somber heath
#

Cows have four legs. You have two. How confident do you feel?

#

Pandas beat themselves up.

#

Temporarily inconvenienced millionaire.

#

...jfc

torpid vortex
vocal basin
somber heath
#

Not all soy milks are equal.

#

Also, Jake, your mic sounds robotic.

#

Much better

frail jetty
#

hey there

somber heath
#

@dense ibex Are you sure it's a full boot and not just a fastboot?

#

Well no wonder it's faster.

#

It's essentially resuming.

#

What they get shitty with is installing macos in non mac.

#

I expect they'd not be pleased with non macos on mac, but I don't think they're as aggressive about that. I could be wrong.

vocal basin
#

time to check how many commits today I have so far

#

seems to be peak overall, as far as the history shows

#

code slowly approaching 7K lines

#

but I'll be removing quite a big portion of it soon

somber heath
#

Sure, but at the cost of compromising the long-term viability of the ecosystem.

#

Increasing the need for human management of it.

vocal basin
#

genetically modified products is the least questionable practice by Monsanto

somber heath
#

For the most part, probably.

vocal basin
#

like
the thing they do to avoid regulation is way worse

somber heath
#

There is always the danger of unforseen consequences.

vocal basin
#

well, GM products in majority of cases are safer than non-GM products
including for reasons of regulation

somber heath
#

I was thinking more in the realm of pesticides.

rugged root
#

But yeah, the pesticides for sure

vocal basin
#

so slow...

somber heath
#

Dragonfruit is pretty, but it tastes disappointing.

rugged root
#

Same

somber heath
#

Teen Girl Squad.

#

I mean...the chicken dude.

rugged root
#

God the chicken fight bullshit...

somber heath
#

The panda, kinda.

rugged root
#

Minutes wasted

vocal basin
#

the code, that I'm working on, still has this as the only comment

somber heath
#

@dense ibex You can be mad. At yourself.

#

Leaving aside that we're all mad, here.

rugged root
vocal basin
#

I have a 72818-line ANSI file
I'm trying to find a way to view it adequately

#

idk what this means

#

✅ VS Code and ANSI extension trying to explode the CPU

lucid blade
#

means you have 0 bugs

#

i rounded it for you 😛 😄

rugged root
#

Or it's a percentage

dense ibex
#
src
    ├───core
    │   └───utils
    └───routers
        └───api
            └───v1
                ├───healthcheck
                └───users
somber heath
#

@dense ibex You had me at confused.

rugged root
#

Your code is about 0.147% bugs

somber heath
#

I'm always at the ready to be confused.

rugged root
#

I need a new brain

#

"Cindy Crawdadford"

#

Fiiiinnnnnnneeee

vocal basin
#

metaprogramming

rugged root
#

Structured Hierarchical Recursive Interpreted Meta Programming

#

Yeah

#

Wait

somber heath
#

If a cyborg centipede trips, is it a segmentation fault?

rugged root
#

I knoowwww

#

I'm fixing

vocal basin
#

HieraRchical

rugged root
#

Yeah that'll work

somber heath
#

...yeech?

vocal basin
#

no cognition

rugged root
#

No

#

No

#

no no no

#

No

#

Wait hold on, let me th-NO

#

Okay so

#

No

#

But like

#

No tho

lucid blade
#

IT WAS AMAZING!

rugged root
#

More like crappy hour

cosmic lark
#

anyone from india?

vocal basin
#

bugs at almost 3

#

idk what "bugs" means in this context

#

bug sounds like 3 would be too much

rugged root
#

I am not from India. Not sure if we have anyone in VC currently that is

cosmic lark
#

lol

somber heath
#

@rugged root I used to listen to that song all the time.

#

Superflat is a postmodern art movement, founded by the artist Takashi Murakami, which is influenced by manga and anime. However, superflat does not have an explicit definition because Takashi Murakami does not want to limit the movement, but rather leave room for it to grow and evolve over time.Superflat is also the name of a 2000 art exhibition...

cerulean ridge
#

The Toyota Alphard (Japanese: トヨタ・アルファード, Hepburn: Toyota Arufādo) is a minivan produced by the Japanese automaker Toyota since 2002. It is available as a seven or eight-seater with petrol and hybrid engine options. Hybrid variants have been available since 2003, which incorporates Toyota's Hybrid Synergy Drive technology. It is Toyota's flagshi...

somber heath
#

Also, if super means above, would that be above flat, therefore maybe bumpy?

lucid blade
#

The Nissan Elgrand (Japanese: 日産・エルグランド, Hepburn: Nissan Erugurando) is a minivan manufactured by Nissan Shatai for Nissan since 1997, available in three generations, with model codes E50 (1997–2002), E51 (2002–2010), and E52 (2010–present). The E50 Elgrand was also configured and produced as a light commercial vehicle from 1998 to 2017.
The Elg...

somber heath
#

"What happens if you have to drive away from an erupting volcano?"

cosmic lark
# cosmic lark just to share a funny interview meme i asked

https://youtu.be/4XVd0de9t-0
cant resist my urge anymore LMFAOOOOOOOOOOOOOOOOO, im dying , imagine sitting for an SQL/PLSQL interview and the only real experience u have with SQL is w3Schools online SQL simulator

TCS Interview Process, TCS interview experience ,TCS interview questions , TCS interview questions for freshers 2022 , TCS interview process for experienced ,
TCS SQL/ PLSQL Real Interview BY TCS Team ! TCS Interview Recording Simulation ! TCS Ninja Hiring
TCS Interview Process, TCS interview experience ,TCS interview questions , TCS interview ...

▶ Play video
cerulean ridge
somber heath
#

Convoy!

vocal basin
rugged root
#

I'm so mad

#

Like

#

I could accept it being inspired by

#

In fairness, I don't think they name him as such

somber heath
vocal basin
jaunty thicket
#

Hello
Do you know how to access sms in mobile with kivy ?

somber heath
#

I think you need to hook into pyjnius.

amber raptor
#

Kivy still around?

vocal basin
somber heath
#

Plyer, okay.

lucid blade
vocal basin
jaunty thicket
vocal basin
jolly terrace
#

i could share my screen?

#

i want to share my code

somber heath
#

An armored partition wall, I expect.

jolly terrace
somber heath
#

The Smarter Every Day video with the opposing bullets. How you would reduce risk loading one gun while in the line of fire of the opposing, loaded gun.

near niche
#

Task objectives:

Design and implement a simplified single-user SQL engine called MiniSQL. It should allow users to input SQL statements through a character interface to perform basic CRUD (Create, Retrieve, Update, Delete) operations and optimize performance using indexes.
By designing and implementing MiniSQL, students will improve their system programming skills and deepen their understanding of the underlying design of database management systems.

System requirements:

Data types: Support three basic data types: integer, char(n), float.
Table definition: A table can have up to 32 attributes, each of which can be specified as unique. It should support defining a single attribute as the primary key.
Index definition: Automatically build a B+ tree index for the primary attribute of a table, and also create a B+ tree index for attributes declared as unique.
Data operations: Support queries with multiple conditions connected by "and" or "or". It should support both equality and range queries. It should also support inserting one record at a time and deleting one or multiple records at a time.
For the implementation, use a source code management tool (such as Git) for code management. The code submission history and the information of each submission should be clear and explicit. Additionally, the written code should adhere to coding standards and have a good code style.

lucid blade
#

@somber heath they used a partition

somber heath
#

Ding ding.

lucid blade
#

from 10mm steel?

#

the did have some miss fires

somber heath
#

Yikes.

near niche
vocal basin
#

dig yourself in even deeper: the definitive guide

jolly terrace
#

In this video, I show you how to install and use GPT Engineer, which is a new project on the top of the GitHub trending repos that allows you to enter a prompt and build an entire codebase project easily. It's very impressive and already better than Smol Developer.

Enjoy :)

Become a Patron 🔥 - https://patreon.com/MatthewBerman
Join the Disco...

▶ Play video
#

with that you could do all of that but is the easy way

vocal basin
#

I'm experiencing again how VS Code just works

jolly terrace
#

yeah it have a plugin for a autonous agent

#

and with that agent you could do that

#

i don't remember the name of the agent

vocal basin
#

I started a CLI tool inside a docker container
docker container is running on a remote server
VS Code automatically forwards the port all the way through
so I can access it though 127.0.0.1:8080 on my local machine

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.

near niche
vocal basin
#

well, eh, I wouldn't expect it to fail on data structures specifically

#

speaking of B-trees
I'd gone through a phase when it was easier for me to use B-trees compared to AVL trees

#

AVL trees feel fragile

#

but, now that I've implemented them in different situations for >20 times, it's easier

rugged root
#

@amber raptor Regarding Kivy, the last release was last month. So it's still on trucking

vocal basin
#

those two don't intersect; that will help guide the development process

near niche
#

Now available digitally worldwide!!(全世界配信中!)
http://avex.jp/pikotaro/discography/

Here come brand new single for 2017!!
Just singing about what I like... that's it :)
If you get what you like, you'll get happy
and you'd start dancing... right?!
After all, that's what dance music is all about ;)
I looooooove OJ♥

2017年1発目のド新曲!
ただ、好きなものを好きと言う!それが...

▶ Play video
jolly terrace
#

someone know about UI? i have some code for a chatbot but i don't know how to add the ui and also deploy it into something like google cloud, i'm just asking about some way to do it bc idk, not to do all the work.

vocal basin
#

if you're deploying it on the cloud, are you making a web UI?

jolly terrace
#

yeah

vocal basin
#

!rule 9 even hypothetically

wise cargoBOT
#

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

jolly terrace
vocal basin
#

do you have a working API already?

jolly terrace
#

if is that yes

vocal basin
#

HTTP API

jolly terrace
orchid mauve
#

rip

rugged root
rugged root
#

We weren't saying you were

#

You asked what wasn't allowed

lucid blade
orchid mauve
#

good luck

somber heath
#

Is there such a thing as unstable diffusion?

#

Slightly unhinged diffusion?

#

Completely divorced from reality?

rugged root
jolly terrace
#

langchain + aliens

orchid mauve
somber heath
#

The Erehwon of API pricing.

violet cosmos
#

Wii Sports has officially been chosen as one of the next games for the World Video Game Hall of Fame. At The Strong Museum in New York, this category is designed for video games that have had a heavy cultural impact on society, making people's lives better. What did Wii Sports do that deserves this spot?

FULL WII SPORTS GAMEPLAY FOOTAGE: https:...

▶ Play video
somber heath
#

@violet cosmos Your audio is bleeding.

violet cosmos
#

my headphones where prob load

#

loud

somber heath
#

Torchwood, episode one, scene one.

#

"Estrogen. Definitely estrogen."

#

Panko?

vocal basin
#

"why visit Earth out of all places"

#

there was a very bad Russian movie where aliens treated Earth as a high level quarantine zone because of hostility

lucid blade
echo garden
#

Hello everyone how's your day

rugged root
#

Decent, you?

echo garden
#

on the other side of the ground is good enough for me.

pallid verge
#

hey guys

vocal basin
#

_ is common to mark something you don't bind to
basically "ignore" soft keyword

#

can't spell

pallid verge
#

isn't _ should be like "_"

#

ohh wait

#

etf

vocal basin
#

there is no else in match, "match anything and ignore" is the idiomatic equivalent

pallid verge
#
isn't _ should be like "_"
vocal basin
#

case _: is "default"

pallid verge
vocal basin
pallid verge
#

that's something new i learn

vocal basin
#

it's not a special case

#

this binds anything to name

case name:
    ...
#

when name is _, it doesn't actually bind anything

pallid verge
#

gtg brk

vocal basin
#

!e

match 1:
    case _:
        print(_)
wise cargoBOT
#

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

001 | Traceback (most recent call last):
002 |   File "/home/main.py", line 3, in <module>
003 |     print(_)
004 |           ^
005 | NameError: name '_' is not defined
vocal basin
#

@rugged root "but what about inhaling soda?"

rugged root
#

Dr. Pepper is okay for that. I mean hell, it's got Dr. in the name!

vocal basin
#

there's also ethanol inhalation (in its less worse form -- as a collateral effect during certain medications)

#

does it read :eyes as it should

vocal basin
echo garden
#

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

vocal basin
#

@echo garden first, because can't determine the language

#

second, intent over guess every single time

somber heath
#

The worst kind of VR.

orchid mauve
rugged root
#

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

echo garden
orchid mauve
somber heath
#

Changeling.

rugged root
#

Spintronics (a portmanteau meaning spin transport electronics), also known as spin electronics, is the study of the intrinsic spin of the electron and its associated magnetic moment, in addition to its fundamental electronic charge, in solid-state devices. The field of spintronics concerns spin-charge coupling in metallic systems; the analogous ...

echo garden
somber heath
#

Pizza on pizza violence?

#

One topping? Probably something garlic.

#

So, basically garlic bread.

#

I don't mind cottage cheese.

somber heath
#

Kitty has thoughts of murder.

#

Its whole head sort of squishes.

somber heath
#

Composite video.

somber heath
#

Compact mode.

pallid verge
#

@lunar haven what you using to make gui ?

#

you can try kivy

#

@lunar haven

#

@lunar haven I observe you like ducks

#

dunno ..but it's cool

#

i love ducks and parrots ...aliens are scary

rugged root
#

@languid hedge Check out the #voice-verification channel. That'll tell you what you need to know about the voice gate

pallid verge
#

ohh

somber heath
#

import of the random module and use of random.randint.

pallid verge
#

i use kivy cause it was cross platform

#

in window, linux , ios , android

rugged root
#

Does it have web based?

somber heath
#

They went with random floats rounded to 2 decimal points, I think.

pallid verge
#

in that you can do something like

if platform == "Window" :
 import this
elif platform == "IOS" :
 import that 

#

cause many python library are not cross compatible , something you will have to use 2 different library for 1 function

#

i tried fortnight .... if you shoot once , magically many tall building emerges

#

i use to play VCop2

thin drift
#

Hello @rugged root

rugged root
#

VCop?

rugged root
pallid verge
thin drift
rugged root
#

Sorry, I meant yo

pallid verge
rugged root
#

How's it going?

thin drift
#

Good

pallid verge
#

i really like the song of that movie

#

Provided to YouTube by Parlophone UK

Holding Out For A Hero (Russian) · Polina

Tetris

℗ 2023 Marv Music Recording Limited and Parlophone Records Limited

Masterer: Barry Grint
Engineer: Mark Taylor
Programmer: Mark Taylor
Producer: Mark Taylor (Metrophonic)
Vocals: Polina
Composer: Dean Pitchford
Composer: Jim Steinman

Auto-generated by YouT...

▶ Play video
lucid blade
#

bbl

somber heath
#

Not all seasons of Supernatural are equal.

pallid verge
#

I use to play apex legend a lot ... stop playing during the placement period .. now my skills are gone

somber heath
#

I was literally nauseous for the whole leviathan arc.

#

Mark Sheppard.

#

The grey burger goo.

#

Also I was on evil meds.

#

The goo was just this plasticy looking stuff.

#

They did the end of Supernatural right in the middle of covid, so that altered things.

#

They tied it off, but I felt like it could have been better.

pallid verge
#

anyone watched RRR

#

?

rugged root
#

Which one is that?

vocal basin
#

ironic

pallid verge
#

it's a action packed movie

#

my net ;-;

viscid lagoonBOT
#

Tenna (Téna in local dialect) is a comune (municipality) in Trentino in the northern Italian region Trentino–Alto Adige/Südtirol, located about 13 kilometres (8 mi) southeast of Trento.

rugged root
#

@boreal shale Well done

pallid verge
#

.what is this

#

.t is this

viscid lagoonBOT
#

The command you are trying to time doesn't exist. Use .help for a list of commands.

pallid verge
#

.resident evil

somber heath
#

Tenor tanner.

pallid verge
#

what does it do ?

viscid lagoonBOT
#

Tanner may be a surname of either English, German or Finnish origin.

#
Wikipedia Search Results

Tanner
Look up tanner or Tanner in Wiktionary, the free dictionary. Tanner may refer to: Tanner (occupation), the tanning of leather and hides Tanner (given name)

Tanner on Tanner
Tanner on Tanner is a 2004 4-part comedy miniseries. It is the sequel to the 1988 Robert Altman-directed and Garry Trudeau-written miniseries about a failed

orchid mauve
#

The canvas awaits its final brushstrokes. The stage calls for its lead actor. The novel needs its final chapter. It’s time to face your fears. One. Last. Time.The series, which has left a mark on narrative-driven first-person psychological horror games, returns to tell its final spine-chilling story in Layers of Fear.. The series’ crowning work ...

Price

$25.49

Recommendations

119

▶ Play video
rugged root
#

!e

def hello(func):
    def wrapper():
        print("hello")
        func()
        print("goodbye")

    return wrapper

@hello
def ham():
    print("Love me some ham")

ham()
wise cargoBOT
#

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

001 | hello
002 | Love me some ham
003 | goodbye
thorn wharf
#

!e

def decor1(func):
        def wrap():
            print("************")
            func()
            print("************")
        return wrap
def decor2(func):
        def wrap():
            print("@@@@@@@@@@@@")
            func()
            print("@@@@@@@@@@@@")
        return wrap
    
@decor1  
@decor2
def sayhellogfg():
  print("Hello")
def saygfg():
  print("GeekforGeeks")
        
sayhellogfg()
saygfg()
wise cargoBOT
#

@thorn wharf :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | ************
002 | @@@@@@@@@@@@
003 | Hello
004 | @@@@@@@@@@@@
005 | ************
006 | GeekforGeeks
thorn wharf
#

@turbid sandal

rugged root
#

@cinder dawn Your mic is stuck open, can you mute and fix it?

rugged root
#

All good all good

#

Just giving you a heads up

cinder dawn
#

i appreciate that a lot

vocal basin
#

is this considered a light mouse?

#

and I can remove side buttons

zenith epoch
vocal basin
cinder dawn
#

winston ass mf

vocal basin
#

Logitech's wireless connection quality is garbage

zenith epoch
cinder dawn
#

the smell must be catastrophic

vocal basin
rugged root
#

The mouse I use

cinder dawn
#

the worst part is, the sauce and peanut butter has been sitting infront of a window

vocal basin
#

it's an error

#

and it's probably more often happening to wireless ones

whole bear
#

I've tried everything, still no module named pip, gelp me please..

vocal basin
#

I'd expect it to be iin firmware

vocal basin
whole bear
#

I have it on, do you have anydesk can you help me please important

vocal basin
whole bear
vocal basin
#

one word

#

(that was a typo)

#

ensurepip

whole bear
#

it says that the operation was not successful because the software has a virus

#

@vocal basin

echo garden
#

thats the one thing about python that bugs me a little, this process to aquire all things python..

vocal basin
whole bear
#

avg

vocal basin
#

well, if AVG prevents you from using pip, disable it

whole bear
#

I turn it off and keep writing

#

do you have "anydesk"?

vocal basin
#

understandable

#

accidental satire

whole bear
#

@vocal basin

vocal basin
#

after disabling the antivirus

whole bear
#

priv dm discord

#

i give you my screen

echo garden
zenith epoch
#

@turbid sandal with great power comes great responsibility 😜

cinder dawn
#

@lunar haven im nooby asf but can u not put a input statement to get the users "yes" or "no" to continue

#

😦

zenith epoch
#

Okay 😂

cinder dawn
#

bro is cyber bullying

zenith epoch
cinder dawn
turbid sandal
vocal basin
#

@midnight agate files in a repository evolving over time, with two different metrics

cinder dawn
turbid sandal
#

santa isn't real

cinder dawn
#

bros getting attacked by the tickle monster

cinder dawn
#

@waxen barn doesnt that mean u have to reemrge slowly

rugged root
#

Yep exactly

cinder dawn
#

@waxen barn have u ever felt the pain in any way, even if it was slight

rugged root
#

@echo garden Your mic was open, so I scooted you to afk

#

We were hearing your background noise

#

!stream 1087096079645954259

wise cargoBOT
#

✅ @proven raft can now stream until <t:1686948115:f>.

rugged root
rugged root
#

@trail badge Sup

cinder dawn
#

press Fn on ur keyoard first

vocal basin
#
clear && python script.py
#

I generally don't use VS Code itself for running code

#

I run the code from terminal

topaz ingot
#

what's going on here

cinder dawn
#

wait did it work

vocal basin
#

like, at all

#

another reason:
Docker

#

most of python code I run is either in build step, or running as a service

#

wrong operating system terminal

#

are you sure you're in powershell?

#

but yes

#

it doesn't support

#

there is ;

vocal basin
#
py asdhbkjashsdjikhas ; echo 6
#

professional examples

#
"presentation": {
    "clear": true
}
#

hypothetically

#

also this

#

does either of those two work? no idea

vocal basin
proven raft
lavish rover
proven raft
vocal basin
#

I think VS Code's thing is only worth it for debugging
like, for me it feels inconvenient, even compared to terminal

#

terminal allows, for example, to just add > output.txt to the command

proven raft
vocal basin
#

whereas, in reality, the only command you ever need is this:

docker compose up -d --build
lavish rover
#

no, i always use the terminal

vocal basin
#

debugging isn't limited to using the debugger

#

logging, tracing (the other tracing), etc. are useful too

lavish rover
#

who types it in? I press up and enter

#

to run previous command

#

my shell also completes previous commands I have typed

vocal basin
lavish rover
#

gdb before the command

vocal basin
lavish rover
vocal basin
lavish rover
#

I use that sometimes at work, but I dont set up run-configs because the build system and all is too complex

#

so I just connect with process ID

#

or more often than not just use breakpoint() since terminal debugger is good enough for basic issues

vocal basin
#

very rigid translation just to point out specific parts

Tracing [is a] process of step-by-step execution of a program. In tracing mode, the programmer sees the sequence of execution of commands and values of variables at each step of the execution of the program, which makes it easier to detect errors. Tracing can be started and stopped at any location inside the program, execution can be interrupted at each command or at breakpoints, tracing can be performed with stepping into procedures and without, and also can be done in reverse (step back).

#

(this is the whole article)

#

just use Tor, get throttled all the time

#

@rugged root network issues?

#

something goes terribly wrong

#

ugghh
got terrified for a second because looked at a wrong number and thought tests took 0.41s to run instead of expected 0.00s

stuck furnace
#

Erm, just left

vocal basin
#

looks like Rust is quite good at figuring out what to inline

#

I explicitly told it what to do and gained 0% performance

vocal basin
#

this is fine

#

Discord (or maybe any Electron app in general) has quite a high likelihood of not recovering from resource starvation

#

iirc, chrome itself doesn't suffer from this

#

next daily soon

#

brb

vocal basin