#voice-chat-text-0

1 messages Β· Page 119 of 1

nimble plaza
#

So please don't joke about it πŸ™‚

#

@rugged root which delivery you're talking about

pallid hazel
old heart
#

why..

stuck furnace
#

Your mic is coming through a bit muffled btw @desert wolf

#

Gtg πŸ‘‹

whole bear
ionic lake
pine orbit
#

oh!

#

@whole bear Can you pleas explain what in the hail should i do to get Vc acces?

#

My english sucks!

whole bear
#

check this channel description

pine orbit
whole bear
pine orbit
#

@whole bear I know HTML!

#

50 message?

#

If i spam i will get ban!

wise cargoBOT
#

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

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

whole bear
#

@whole bear

whole bear
#

@whole bear Equatorial Guinea

ivory horizon
#

Hi

hidden peak
#

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

somber heath
#

!e py name = 'Peter' age = 20 text = 'Hello, ' + name + '. You are ' + str(age) + ' years old.' print(text)Beginner technique.

wise cargoBOT
#

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

Hello, Peter. You are 20 years old.
somber heath
#

!e py name = 'Peter' age = 20 print('Hello, ', name, '. You are ', age, ' years old.')Perhaps for if you don't care about having the string, after.

wise cargoBOT
#

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

Hello,  Peter . You are  20  years old.
somber heath
#

!e py name = 'Peter' age = 20 text = f'Hello, {name}. You are {age} years old.' print(text)

wise cargoBOT
#

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

Hello, Peter. You are 20 years old.
faint raven
#
birth_year = input('Birth year: ')
print(type(birth_year))
age = 2019 -int(birth_year)
print(type(age))
print(age) ```
somber heath
#

!e py template = 'apple {} pear {} peach' result = template.format('banana', 'orange') print(result)

wise cargoBOT
#

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

apple banana pear orange peach
somber heath
#

!e py a = [] b = [a, a, a] print(b) a.append(0) print(b)

wise cargoBOT
#

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

001 | [[], [], []]
002 | [[0], [0], [0]]
somber heath
#

!e py my_list = ['a', 'b', 'c'] my_list[0] = 'd' print(my_list)

wise cargoBOT
#

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

['d', 'b', 'c']
somber heath
#

!e py my_list = ('a', 'b', 'c') my_list[0] = 'd' print(my_list)

wise cargoBOT
#

@somber heath :x: Your 3.11 eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "/home/main.py", line 2, in <module>
003 |     my_list[0] = 'd'
004 |     ~~~~~~~^^^
005 | TypeError: 'tuple' object does not support item assignment
somber heath
#
var = (a, b, c)
var = a, b, c```
#

!e py a = [] b = [] c = a print(a == b) print(a is b) print(a is c)

wise cargoBOT
#

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

001 | True
002 | False
003 | True
naive yarrow
#

hello!

dark mural
#
'aaaa' >> 1

is more efficient

#

in c++ you can

naive yarrow
#

!e

" test " * 2 
somber heath
#

!e py print('aaa' >> 1)

wise cargoBOT
#

@somber heath :x: Your 3.11 eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "/home/main.py", line 1, in <module>
003 |     print('aaa' >> 1)
004 |           ~~~~~~^^~~
005 | TypeError: unsupported operand type(s) for >>: 'str' and 'int'
#

@midnight agate :x: Your 3.11 eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "/home/main.py", line 1, in <module>
003 |     print('a' * 2, 'aa' / 2)
004 |                    ~~~~~^~~
005 | TypeError: unsupported operand type(s) for /: 'str' and 'int'
somber heath
#

!e py print(b'aaa' >> 1)

wise cargoBOT
#

@somber heath :x: Your 3.11 eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "/home/main.py", line 1, in <module>
003 |     print(b'aaa' >> 1)
004 |           ~~~~~~~^^~~
005 | TypeError: unsupported operand type(s) for >>: 'bytes' and 'int'
dark mural
#

bitshift faster than division

#

cpu instruction

#

(was joke)

#

shr rax 1

#

shift right

faint raven
#

!e

name = 'Talent unlimited'
print(f'Hello, {name}. how are you doing friend?')
wise cargoBOT
#

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

Hello, Talent unlimited. how are you doing friend?
somber heath
#

O
|
|

craggy whale
#

Is there anyone here who implemented their own jupyter kernel?

ivory horizon
somber heath
#

!e ```py
class Person:
def init(self, name):
self.name = name

def greet(self):
    print(f'Hello. I am {self.name}.')

a = Person('Jane')
b = Person('Bob')
a.greet()
b.greet()```

wise cargoBOT
#

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

001 | Hello. I am Jane.
002 | Hello. I am Bob.
ivory horizon
#

moon water

somber heath
#

@daring knotπŸ‘‹

#

Hoy hi.

#

@woeful wyvernπŸ‘‹

#

Was a decree handed down that I will be called Opal and everyone who isn't me will be called Not Opal?

#

Because, I don't know. I'm kind of down with that.

obsidian dragon
somber heath
#

@neon daggerπŸ‘‹

#

Regarding what?

obsidian dragon
#

no voice @somber heath

somber heath
#

!resources

wise cargoBOT
#
Resources

The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.

somber heath
#

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

neon dagger
somber heath
#

@woeful wyvernThat sounds like poor netizenship.

#

Citizenship, but for the internet.

#

Oh, google, fine.

#

Google can take it.

#

Discord? Be a little kinder to it, maybe, you know?

#

@whole bearπŸ‘‹

#

I'm somewhere I don't want to be making a lot of noise.

#

Other people to consider.

#

@jade owlπŸ‘‹

#

I've been reading SCPs, if that counts.

#

No.

#

Secure, Contain, Protect. It's a fictional organisation designed for cataloguing and containing anomalous, i.e. supernatural, objects, events and assorted phenomena.

#

If you've ever watched Warehouse 13, it's a bit like that.

#

Indeed, I wouldn't be surprised if Warehouse 13 drew inspiration from SCP.

neon dagger
#

never watched

obsidian dragon
somber heath
#

I've heard of GPT4All, but I've not used it.

#

@ruby ironπŸ‘‹

#

πŸ‘‹ @coarse gale

#

Hoy hi.

#

Okay, so let's start with what Python is.

#

Python is what is known as an object oriented programming language.

#

OOP.

#

Shut up.

#

You shut your mouth.

#

Okay. So.

#

The idea of object oriented programming is that every object is of a type, a class.

#

This can be thought of as like a blueprint.

#

Shall I continue?

#

If you're looking to learn about the more internal stuff, I don't think I'm the person to explain that.

#

I can explain things in a general Python concept way.

#

Instances of classes have methods.

#

The method is not the same object as the function of the class.

pine orbit
#

Bruh!

#

print ("Hello world!")

somber heath
#

!e ```py
class MyClass:
def function_or_method(self):
pass

instance = MyClass()
print(type(MyClass.function_or_method))
print(type(instance.function_or_method))```

wise cargoBOT
#

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

001 | <class 'function'>
002 | <class 'method'>
somber heath
#

!e ```py
class MyClass:
def function_or_method(self):
pass

instance = MyClass()
print(id(MyClass.function_or_method))
print(id(instance.function_or_method))```

pine orbit
#

What this code does?

wise cargoBOT
#

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

001 | 139676206292064
002 | 139676203910208
pine orbit
#

!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 formatted code blocks. Code can be re-evaluated by editing the original message within 10 seconds and clicking the reaction that subsequently appears.

The starting working directory /home, is a writeable temporary file system. Files created, excluding names with leading underscores, will be uploaded in the response.

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

By default, your code is run on Python 3.11. A python_version arg of 3.10 can also be specified.

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

pine orbit
#

!level

somber heath
# pine orbit What is this?

I'm demonstrating that the functions you define in a class become methods of the objects created from that class.

pine orbit
#

!bruh

#

!evel

#

!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 formatted code blocks. Code can be re-evaluated by editing the original message within 10 seconds and clicking the reaction that subsequently appears.

The starting working directory /home, is a writeable temporary file system. Files created, excluding names with leading underscores, will be uploaded in the response.

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

By default, your code is run on Python 3.11. A python_version arg of 3.10 can also be specified.

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

pine orbit
somber heath
#

A method typically is attached to a specific instance of a class. That instance is given as self.

pine orbit
#

Ok

somber heath
#

A function is like an unattached method.

pine orbit
somber heath
#

You can.

pine orbit
#

Nope

#

I can nothing!

somber heath
#

It's the way it was decided we should write things. You can do it either way.

pine orbit
#

im here to learn python!

somber heath
#

!e py print('apple'.upper()) print(str.upper('apple'))

wise cargoBOT
#

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

001 | APPLE
002 | APPLE
pine orbit
#

!e
import discord

client = discord.Client()

@client.event
async def on_ready():
print('Logged in as {0.user}'.format(client))

@client.event
async def on_message(message):
if message.content.startswith('!say '):
text = message.content[5:] # remove the "!say " prefix
await message.channel.send(text)

client.run('your-bot-token')

wise cargoBOT
#

@pine orbit :x: Your 3.11 eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "/home/main.py", line 1, in <module>
003 |     import discord
004 | ModuleNotFoundError: No module named 'discord'
somber heath
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.

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 formatted code blocks. Code can be re-evaluated by editing the original message within 10 seconds and clicking the reaction that subsequently appears.

The starting working directory /home, is a writeable temporary file system. Files created, excluding names with leading underscores, will be uploaded in the response.

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

By default, your code is run on Python 3.11. A python_version arg of 3.10 can also be specified.

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

pine orbit
#

I am intrested in cyber security!

somber heath
#

!e ```py
print('Hello, world.')
print('Goodbye.')
```

#

Yes. You can monkey patch things.

pine orbit
somber heath
#

The monkey patch comment wasn't directed at you, Moon.

pine orbit
#

I cant unmute my self for random reason!

somber heath
#

Python is an object oriented programming language. It would be silly to not take advantage of the benefits it provides.

pine orbit
#

I dont have acces to voice channel

somber heath
#

!voice

wise cargoBOT
#
Voice verification

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

somber heath
#

Everything is of a class.

#

Every object is of a type.

pine orbit
pine orbit
somber heath
#

Some things are classes/types.

#

Other things are not.

pine orbit
#

HTML is funny!

#

Yeah!

#

Yup!

#

IDK!

pale sigil
#

This video is a compilation of eight shorter videos I have created showing dissection proofs for infinite geometric series with ratio of the form 1/n and first term 1/n. To see the original videos (in shorter form and typically with more dramatic music), check the links below. When you have seen enough of these dissections, you should be able to...

β–Ά Play video
#

found it

pine orbit
#

import random
import string

def generate_password(length=12):
# Define the password length and character set to use
chars = string.ascii_letters + string.digits + string.punctuation

# Generate the password
password = ''.join(random.choice(chars) for _ in range(length))

return password
pale sigil
#

visual recursion

somber heath
#

Yes. Python is a higher-level programming language. It lets us write code that runs without having to know how to write linked lists or invert binary trees.

woeful wyvern
pine orbit
#

!e
`import random
import string

def generate_password(length=12):
# Define the password length and character set to use
chars = string.ascii_letters + string.digits + string.punctuation

# Generate the password
password = ''.join(random.choice(chars) for _ in range(length))

return password`
wise cargoBOT
#

@pine orbit :warning: Your 3.11 eval job has completed with return code 0.

[No output]
somber heath
#

Three backticks opening, three backticks closing,.

pine orbit
#

ok

#

what is gay libery?

pale sigil
somber heath
#

Also, see random.choices.

pine orbit
#

import gay

#

I did pip install gay

#

and it did download a file

#

oh

#

Oh lord!

#

me?

#

ok

#

I am password cracker

#

I crack password using kali linux

#

Its not that easy!

somber heath
#

So are you the password cracker, or is your computer/Kali?

pine orbit
#

:/

pine orbit
#

I got deported

#

:/

#

My life sucks

somber heath
#

@teal horizonπŸ‘‹

teal horizon
#

sup, nice silence

somber heath
#

The situation varies.

#

@rigid chasmπŸ‘‹

teal horizon
#

i see

#

do you guys use python for work

somber heath
#

Weekends tend to have lower-activity levels in general.

#

US daytime weekdays tends to be the most active.

#

I do Python as a hobby.

teal horizon
#

ok nice

#

will come back later

somber heath
#

You may wish to experiment by using the turtle module.

somber heath
#

Or perhaps you felt it was insulting?

pine orbit
#

0_0

#

WOW!

#

I love python!

somber heath
#

It won't love you back.

#

As a programming language, Python has no emotions.

pine orbit
#

oh

somber heath
#

I, too, like Python.

pine orbit
#

Just like a human that you likes it but it still tries to ignor you!

pine orbit
somber heath
#

Python.

#

Specifically, the underlying compiled code.

pine orbit
#

Is java better at making games or python?

somber heath
#

and the hardware

somber heath
#

I'd say Java, between the two, but neither is ideal.

pine orbit
#

C++?

somber heath
#

Python is good for ML/AI because it provides a friendly interface, and a lot of the frameworks people have written are for Python.

pine orbit
#

Wow!

somber heath
#

Compiled backend, Python frontend.

pine orbit
#

Who made python progrming language?

#

How did he made it?

#

@somber heath Is Python got it name from Python snake?

somber heath
#

Monty Python.

somber heath
pine orbit
pine orbit
somber heath
#

I expect so. All the ones officially permitted to be here, at least.

pine orbit
somber heath
#

I believe the educational edition of Minecraft has Python integration, but that's not the same thing as a mod. Mojang/Microsoft have a hostile attitude toward the Java edition of Minecraft and modding in general.

somber heath
#

Java being where most of the modding happens.

pine orbit
#

I mean Minecraft Java

pine orbit
somber heath
#

It wouldn't be impossible, but the general consensus, as I understand it, is Minecraft is in Java thus the mods are best made as Java, too.

#

I have seen some Python interface to a Java mod, something with Raspberry Pi.

#

It's been a long while.

#

But again, not the same thing as a Python mod.

pine orbit
#

ok

warped raft
#

@pine orbit

#

HELLO

#

@dense meadow hi

dense meadow
#

hi

#

yooo

#

how u doin

#

why all caps lol

warped raft
#

the caps was on that why

#

doing good

#

hbu?

#

@dense meadow

dense meadow
#

am good

#

what are you doing?

warped raft
#

watching a video on youtube

#

did you changed you username

dense meadow
#

no

#

just my nickname

#

wait let me change it

warped raft
#

would you like some clash of code

dense meadow
#

hmm... sry

#

can't

#

we can talk if u want to

warped raft
#

no i can't talk

dense meadow
#

ok

#

syl then

#

bye

warped raft
#

byye

pallid hazel
#

im really beginner to hate refactoring code.. just found a 12mb json being duplicated about 10k times now.. barf.

warped raft
#

@opal mulch hello

#

how are you doing

opal mulch
#

good

warped raft
#

i can't speak

opal mulch
#

ok

calm hearth
#

hello OpalMist

#

What?

#

Ah

#

though how are you guys doing

#

doing good @hoary plaza

#

and

#

to mention

#

did any updates go off by the organisation?

#

Haven't updated them for a while

#

btw @somber heath @hoary plaza how to use Python with Blender

#

OH

#

I see

#

what's meant by "def"?

#

Okay,Thanks

#

Are you from AUS?

#

Glad to hear that

somber heath
calm hearth
#

Typing mistakes

somber heath
#

Dame Edna Everage, often known simply as Dame Edna, was a character created and performed by Australian comedian Barry Humphries, known for her lilac-coloured ("wisteria hue") hair and cat eye glasses ("face furniture"); her favourite flower, the gladiolus ("gladdies"); and her boisterous greeting "Hello, Possums!" As Dame Edna, Humphries wrote ...

limpid umbra
#

he did a australian politician character also

calm hearth
#

How old is she

#

80+ ?

somber heath
#

Sir Leslie Colin "Les" Patterson is a fictional character which was created and portrayed by Australian comedian Barry Humphries. Obese, lecherous and offensive, Patterson is Dame Edna Everage's exact opposite: she is female, refined, Protestant and from Melbourne; he is male, uncouth, Roman Catholic and from Sydney.

calm hearth
#

My grandpa is 72

#

btw

#

can I use python to create apps

#

Android

#

Apple uses Swift I think ?

#

um

#

Not sure about that actually

#

@somber heath okay

#

what's the tool you're talking about?

#

django?

#

Have heard it before

#

And how can I use Anaconda

#

and Jupyter

limpid umbra
#

yes i heard same - anaconda = BORG

calm hearth
limpid umbra
#

for presentations ? i have seen jupyter

#

dont know if its a light weight install

#

more coffee more coffee

calm hearth
#

how to encode kwargs

#

It seems Simon left

#

@somber heath Hello?

limpid umbra
#

Q - a while a go , i saw a blip on CANVAS for Tkinter that it has sprites ... not really sure ... i need some deep docs on all Tkinter stuff

calm hearth
#

okay

somber heath
#

!e ```py
def func(a, b, c):
print(a)
print(b)
print(c)

func(a = 1, b = 2, c = 3)```

wise cargoBOT
#

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

001 | 1
002 | 2
003 | 3
somber heath
#

!e ```py
def func(a, b, c):
print(a)
print(b)
print(c)

func(**{'a': 1, 'b': 2, 'c': 3})```

wise cargoBOT
#

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

001 | 1
002 | 2
003 | 3
calm hearth
#

and

somber heath
#

!e ```py
def func(**kwargs):
print(kwargs)

func(a = 1, b = 2, c = 3)```

wise cargoBOT
#

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

{'a': 1, 'b': 2, 'c': 3}
calm hearth
#

what are the functions of math module

somber heath
#

!d math

wise cargoBOT
#

This module provides access to the mathematical functions defined by the C standard.

These functions cannot be used with complex numbers; use the functions of the same name from the cmath module if you require support for complex numbers. The distinction between functions which support complex numbers and those which don’t is made since most users do not want to learn quite as much mathematics as required to understand complex numbers. Receiving an exception instead of a complex result allows earlier detection of the unexpected complex number used as a parameter, so that the programmer can determine how and why it was generated in the first place.

calm hearth
#

what's meant by fmod

#

Can't understand what is this thing saying

#

may not return the same result looks like sus to me

#

I mean susupicious

somber heath
#
a % b #fine when a and b are ints
math.fmod(a, b) #for when a and b are floats```
calm hearth
#

oh

#

yeh

pine orbit
#

How to talk?

calm hearth
#

can you explain what does this thing says

somber heath
#

!voice

wise cargoBOT
#
Voice verification

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

limpid umbra
#

Les Petterson - amazing

#

he doesnt break character at all

calm hearth
#

handy

#

yeh

#

But I prefer Microsoft Edge

#

Chrome eats up the ram

#

what's the time

somber heath
calm hearth
somber heath
#

!e py print(.1 + .2)

wise cargoBOT
#

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

0.30000000000000004
somber heath
#

!e py import math print(math.fsum([.1, .2]))

wise cargoBOT
#

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

0.30000000000000004
calm hearth
#

Are you guys from AU ?

#

oh

#

What's up with ChatGPT

#

?

#

does it have a relation with python or something like that

#

Have you guys heard about Giant Steve

#

Minecraft?

#

creepypasta

fickle nimbus
#

does anyone have any way to access chat gpt 4?

calm hearth
#

no

calm hearth
# calm hearth

this guy has been a nuisance to my freind who are playing minecraft on servers

fickle nimbus
calm hearth
#

I dunno

#

My mom and dad don't allow me play Minecraft

#

Ubuntu is good for Python things like that

#

I play only NS Mobile

#

Boiling hot in here

#

sweating like hell

maiden skiff
#

hey guys

#

today is my birthday

thin nest
#

hi everyone

#

I wasn't for a while

#

hm

#

no body

nimble plaza
#

hey

#

Hey gofek. are you using some kind of voice modulation tool?

#

it sounds weird

#

@lunar haven

#

whaaat!

#

what happened to the folder

#

Hey @faint raven

#

wassup

#

Hey @mighty nest

#

wassup

#

Whom you're talking to @mighty nest ?

#

Anyone heard of AutoGPT?

#

I found a lot of people talking about it recently. I tried it. Fuck that shit. it used up my free tokens very quickly from GPT4.

whole bear
#

yo

ember knot
#

!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 formatted code blocks. Code can be re-evaluated by editing the original message within 10 seconds and clicking the reaction that subsequently appears.

The starting working directory /home, is a writeable temporary file system. Files created, excluding names with leading underscores, will be uploaded in the response.

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

By default, your code is run on Python 3.11. A python_version arg of 3.10 can also be specified.

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

ember knot
#

yo voice chat

#

biocipher

#

yo

#

farzin

#

@whole bear

#

i need to send 50 messages i guess

faint raven
thin breach
#

!e hello world

wise cargoBOT
#

@thin breach :x: Your 3.11 eval job has completed with return code 1.

001 |   File "/home/main.py", line 1
002 |     hello world
003 |           ^^^^^
004 | SyntaxError: invalid syntax
thin breach
#
Windows Command prompt

Hello World example,

1. hit windows key and type cmd
2. hit enter
2. type "Hello World"
3. hit enter
4. result is in the first line
pine orbit
#

Yo @whole bear Can you help me with this code?
import discord
from discord.ext import commands
from io import StringIO
import contextlib
import sys

client = commands.Bot(command_prefix='/')

@client.event
async def on_ready():
print('Logged in as {0.user}'.format(client))

@client.command()
async def e(ctx, *, code):
f = StringIO()
with contextlib.redirect_stdout(f):
exec(code)
output = f.getvalue()
if output:
await ctx.send(output)

client.run('your-bot-token')

#

!e

import discord
from discord.ext import commands
from io import StringIO
import contextlib
import sys

client = commands.Bot(command_prefix='/')

@client.event
async def on_ready():
print('Logged in as {0.user}'.format(client))

@client.command()
async def e(ctx, *, code):
f = StringIO()
with contextlib.redirect_stdout(f):
exec(code)
output = f.getvalue()
if output:
await ctx.send(output)

client.run('your-bot-token')

wise cargoBOT
#

@pine orbit :x: Your 3.11 eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "/home/main.py", line 1, in <module>
003 |     import discord
004 | ModuleNotFoundError: No module named 'discord'
pine orbit
#

!e
pip install discord

wise cargoBOT
#

@pine orbit :x: Your 3.11 eval job has completed with return code 1.

001 |   File "/home/main.py", line 1
002 |     pip install discord
003 |         ^^^^^^^
004 | SyntaxError: invalid syntax
pine orbit
#

@whole bear your teaching?

#

@thin breach wow

thin breach
#

Yes, I will start making programming books and courses

pine orbit
pine orbit
#

import discord
from discord.ext import commands
from io import StringIO
import contextlib
import sys

client = commands.Bot(command_prefix='/')

@client.event
async def on_ready():
print('Logged in as {0.user}'.format(client))

@client.command()
async def e(ctx, *, code):
f = StringIO()
with contextlib.redirect_stdout(f):
exec(code)
output = f.getvalue()
if output:
await ctx.send(output)

client.run('your-bot-token')

thin breach
pine orbit
# thin breach whats the error?

Exception has occurred: TypeError
BotBase.init() missing 1 required keyword-only argument: 'intents'
File "C:\Users\Bo BergsjΓΆ\Bot.py", line 7, in <module>
client = commands.Bot(command_prefix='/')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: BotBase.init() missing 1 required keyword-only argument: 'intents'

thin breach
pine orbit
#

@whole bear Hello!

#

@whole bear Farzin Hello!

#

@whole bear Farzin Hello!

ember knot
#

hello

#

who am i whats up

#

you trying to get voice permissions

#

!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 formatted code blocks. Code can be re-evaluated by editing the original message within 10 seconds and clicking the reaction that subsequently appears.

The starting working directory /home, is a writeable temporary file system. Files created, excluding names with leading underscores, will be uploaded in the response.

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

By default, your code is run on Python 3.11. A python_version arg of 3.10 can also be specified.

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

ember knot
#

!e help

pine orbit
#

!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 formatted code blocks. Code can be re-evaluated by editing the original message within 10 seconds and clicking the reaction that subsequently appears.

The starting working directory /home, is a writeable temporary file system. Files created, excluding names with leading underscores, will be uploaded in the response.

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

By default, your code is run on Python 3.11. A python_version arg of 3.10 can also be specified.

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

pine orbit
#

!e EEEEEEEEEEEEEEEEEEEEEEEEEEEEE!

wise cargoBOT
#

@pine orbit :x: Your 3.11 eval job has completed with return code 1.

001 |   File "/home/main.py", line 1
002 |     EEEEEEEEEEEEEEEEEEEEEEEEEEEEE!
003 |                                  ^
004 | SyntaxError: invalid syntax
somber heath
#

@pine orbit You may like to check out the #bot-commands channel. πŸ™‚

pine orbit
#

!e pip install discord

wise cargoBOT
#

@pine orbit :x: Your 3.11 eval job has completed with return code 1.

001 |   File "/home/main.py", line 1
002 |     pip install discord
003 |         ^^^^^^^
004 | SyntaxError: invalid syntax
pine orbit
#

!e print (Hello world!)

wise cargoBOT
#

@pine orbit :x: Your 3.11 eval job has completed with return code 1.

001 |   File "/home/main.py", line 1
002 |     print (Hello world!)
003 |            ^^^^^^^^^^^
004 | SyntaxError: invalid syntax. Perhaps you forgot a comma?
pine orbit
#

print ("world?")

#

Why i forget?

lucid blade
#

please stop spamming the voice channel

pine orbit
lucid blade
#

opal linked the correct bot channel for you

#

you are.

pine orbit
#

ok

lucid blade
#

thanks dude πŸ™‚

#

❀️

pine orbit
#

I have a problem

#

@lucid blade How do you make can i get acces to voice channel?

lucid blade
#

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

lucid blade
#

^^

pine orbit
#

Thanks.

pine orbit
# wise cargo

But i read that i didnt undrstand what to do can you explain pleas?

#

~_~

lucid blade
#

Includes Battle Chess: Enhanced!The most challenging game on Earth comes to life in Battle Chess. An entire medieval world at war is reflected on the checkered field.Everyone who's ever had a knight take a pawn, has seen that capture as more than one piece replacing another on the board. In players' minds, the bold knight, resplendent in his arm...

Price

$9.99

β–Ά Play video
#

Star Wars Chess is a 1993 chess-playing video game developed by The Software Toolworks, based on the Star Wars film franchise and published by Mindscape for DOS, Sega CD and Windows 3.x. A 3DO Interactive Multiplayer version was planned but never released.

wise cargoBOT
#

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

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

lucid blade
#

no but ill take a look πŸ™‚

#

nice πŸ˜‰

#

not only the news though ... popular tv shows

#

like eastenders or little house on the prairie

#

same with films too

mint heron
#

hi

warped raft
#

hello

pallid hazel
#

i prefer to keep my code off C: anyways, incase an update decides to bork my OS..

somber heath
#

Hey, object.

#

No, I'm here.

#

Heh.

#

Yes. You do.

#

Hmmm?

#

Mhm.

#

Neato.

forest zodiac
#

anxious

somber heath
#

Mm.

#

Yes. It's a bastard.

#

HA! If you find one, let me know.

#

People vary.

#

Different things work for different people.

#

Not having worked in an environment like that before, I'm not sure of what the best approach is. I expect the best approach is try anyway and maintain open lines of communication with your coworkers.

#

The more you have an idea of what the shape of the hole is, the better you have an idea of what shape the block needs to be to fit through.

#

You only get that from observation.

#

@wary roostπŸ‘‹

wary roost
#

heelo

#

i need a small help

somber heath
#

What's up?

#

Yeah, functions that return objects of different types, shouldn't, unless there's a specific reason why that's appropriate.

wary roost
#

how to imoport a file to excel in python

#

i have a code

#

but its not work

somber heath
#

I've not worked with excel files in Python before, but I expect that Pandas has options.

wary roost
#

pandas

#

okkkk

#

thx you

somber heath
#

For example, when people return -1 from a function instead of raising an exception for errors.

#

I mean, it's bad enough when it's different types, but in that case, if the return is otherwise numeric...

#

Oh, what's the length of this thing that has no length? -1? Okay, cool.

#

Plugging that into my calculations.

#

I know.

#

APIs.

#

But the idea is similar.

#

@hardy fogπŸ‘‹

#

Right, but APIs are above the level of C, so you don't have to do that.

#

You can use the idiomatically appropriate things for that system.

#

Ha.

#

Too much.

#

Too much it breaks my heart.

#

πŸ™‚

#

Fuck if I know where to start.

#

Oh, well, who does?

#

It's all fucked.

#

I'm just tired.

#

So tired.

#

@graceful kelpπŸ‘‹

#

You realise that this about the only social outlet I have available to me, right? lol

#

Oh-sigh-rah, hello.

#

@obsidian dragon

#

Not that kind of tired.

#

The 90s called.

forest zodiac
#

it's finally raining here

#

all the pollution will go away

#

yay

somber heath
#

Well, it'll shift it from one place to another, anyway.

lucid blade
#

yo

#

might jump on in a bit

somber heath
#

@green rootπŸ‘‹

#

@calm hearthπŸ‘‹

calm hearth
#

@somber heathhello

#

@somber heath Why are you quiet

#

today

#

?

somber heath
#

@shy ridge πŸ‘‹

somber heath
somber heath
# calm hearth

Say I have seven things. How many different sets of three things could I make from that, assuming that things like abc == bca

#

Without order and/or repetition

#

So say I had ```py
#k=2 n=4 eg. 'abcd' ->

'ab', 'bc', 'cd', 'ac', 'bd', 'ad'```So that would be six. I expect.

#

!e py from math import comb print(comb(4, 2))

wise cargoBOT
#

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

6
somber heath
#

From four things, how many different combinations of two are there?

#

Six.

#

Where 'ad' would be 'da' for this purpose.

#

i.e. The same, so only one would count.

warped raft
#

@somber heath hello

somber heath
#

Hoy shank.

warped raft
#

what are you doing

somber heath
#

Dessert.

warped raft
#

can you hear me

somber heath
#

I can.

#

Pardon?

#

Oh

#

Eating.

#

The making part has been completed.

#

The consuming process is continuing.

#

I am eating right now.

#

Golden syrup dumplings.

#

Though the sauce wasn't being very saucy, so I put some custard powder in.

#

Is it the sort that you plug in to recharge?

#

Or is it a battery replacement deal?

#

The liquid didn't really penetrate very well, regrettably.,

#

I may have to resort to measures.

#

Yes, I can hear you.

calm hearth
#

byee

somber heath
#

Measures attempted, failed.

#

I am now eating cornflakes.

calm hearth
somber heath
#

This is what you get for attempting unfamiliar dishes without a whole lot of experience and/or instructions.

calm hearth
#

Eww, cornflakes

warped raft
somber heath
#

They were so bad.

#

I tried to turn them into pudding.

#

It did not succeed.

calm hearth
#

I see

somber heath
#

Or rather, it did, but that was bad, too. I tried a few rescue measures, but that just kind of made things worse.

#

Hence the cornflakes.

#

I feel appropriately ashamed for wasting food.

warped raft
#

@hoary plaza hello

#

how are you doign

#

doing great

#

can you exaplain me string formatting in python

somber heath
#

Ah

#

Right.

#

There are a few different ways to do it.

#

In the dark days, we had % formatting.

#

We do not need to use that, now.

#

Though it still exists.

calm hearth
#

Eh,

somber heath
#

So if you end up seeing something structured like...

#
'...' % (...)```
calm hearth
#

Structured like this?

somber heath
#

That's the old-school string formatting.

#

I don't know the syntax of it off the top of my head.

#

But we were saved by the introduction of str.format.

#

Which, at a basic use, can look something like the following.

#

!e py template = 'Hello, {}. You are {} years old.' result = template.format('Peter', 20) print(result)

wise cargoBOT
#

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

Hello, Peter. You are 20 years old.
somber heath
#

However, the fates had one more thing in store.

#

!e py name = 'Peter' age = 20 result = f'Hello, {name}. You are {age} years old.' print(result)

wise cargoBOT
#

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

Hello, Peter. You are 20 years old.
somber heath
#

f-strings

#

f-strings are evaluated then and there, str.format has the luxury of having the template string exist beforehand.

#

f-strings are, in general, the best option

#

Now, all this is the very surface level stuff.

#

You can do a bunch of fanciness, too.

#

!e py age = 20 print(f'Hello. You are {age:.2f} years old.')

wise cargoBOT
#

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

Hello. You are 20.00 years old.
somber heath
#

There's something in Python called the format minispec lang.

#

Or something along those lines.

#

!e py age = 20 print(f'The variable and number is {age = }.')

wise cargoBOT
#

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

The variable and number is age = 20.
warped raft
#

{age:.2f}

#

what does this mean

somber heath
#

That's the format minispec usage.

#

It says that age should be shown as a two-decimal place precision float.

#

Or something like that.

#

There's a bunch of stuff. That's just the one I knew off the top of my head.

#

I'll find a link.

warped raft
#

thank you

#

for the link and help

somber heath
pine orbit
#

@somber heath Can you help?

somber heath
#

I don't know.

pine orbit
#

import discord
from discord.ext import commands

Set up your bot client with the command prefix

client = commands.Bot(command_prefix='/')

Event listener for when the bot is ready

@client.event
async def on_ready():
print('Bot is ready!')

Command for the /say command

@client.command()
async def say(ctx, *, message):
await ctx.send(message)

Replace 'TOKEN_HERE' with your bot's token

client.run('TOKEN_HERE')

somber heath
#

I don't do Discord bots.

pine orbit
somber heath
pine orbit
#

ok

somber heath
#

@whole bearπŸ‘‹

whole bear
#

heyy

#

wyd?

somber heath
#

Little of use.

#

Being boring.

whole bear
#

haha

#

im coding a game in pygame rn

somber heath
#

What sort of game?

whole bear
#

2d mario styled platformer

#

done most of the backend for it

#

just need help doing the actual functionality of the gameplay

#

loads the backround etc,

somber heath
#

@whole bearπŸ‘‹

#

@static hemlockπŸ‘‹

static hemlock
#

πŸ‘‹

somber heath
#

@torpid tigerπŸ‘‹

#

Hoy hi, @lucid cove.

#

Playing around with some image generation stuff.

#

Yes.

torpid tiger
#

can someone come to code/help

somber heath
#

At the moment, I'm using numpy and scipy and a few other things.

somber heath
torpid tiger
#

i need help with tkinker

#

cant speak

somber heath
#

Not something I'm particularly good at, I'm afraid.

#

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

torpid tiger
#

how to i gain perm to speak

somber heath
torpid tiger
#

bruhh

#

need 30mins of chatting to unlock vc

somber heath
#

It doesn't have to be a solid 30 minutes.

#

What that means, in practice, is that you can't go hell for leather to get there.

#

So just slow down, smell the flowers, enjoy the scenery.

#

Kind of thing.

torpid tiger
#

do you have any experience with tkinter

somber heath
#

I do, but as I said, I'm not that good at it.

#

I'm not in a position to be very useful in that particular regard.

torpid tiger
#

i am a total beginner so my issue might be very silly and simple to solve

somber heath
#

Perhaps.

#

@whole bearπŸ‘‹

whole bear
#

hello

#

i am the struggling with classes

somber heath
#

What seems to be the issue?

torpid tiger
#

so i have made the gui using tkinter for a code , now i want a home page where there will be button leading to the page with my code

#

all in the same window

whole bear
#

im trying to make a text based rpg and i have the `class Player:
def int(self,name,hp,location,gameover,coreitem):
self.name = ''
slelf.hp = 100
self.location = ''
self.coreitem=[]

and i have no idea how to update these later on in my program`

somber heath
#

I think it's a case of having to destroy the widget layout you've created in your window and create the new layout, with tkinter.

whole bear
#

shoot

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.

torpid tiger
#

anyway thanks

whole bear
#

`class Player:
def init(self, name, hp, location, gameover, holysigil):
self.name = ''
self.hp = 100
self.location = ''
self.gameover = False
self.holysigil = False

    #Defines The Actions of The Player Data Function, Which Pulls Data From the Initializer.
def playerData(self):
    print("Player Name:" +str(self.name), "\n Player HitPoints:",+int(self.hp),  +str(self.location))

def takeDamage(self):
    self.hp - 10
    print("You Have Taken Damage, Your Current HP is.." +int(self.hp))

################ Room 1 ##################

def room_1():
MainLoop = True
while MainLoop == True:
print("What is your name player?: ")
playerName=input(">>>: ")
newPlayer=Player(playerName,100,'Limbo',False,i have no idea how to append to class list)`

this is what i have so far,

somber heath
#

!e py v = 10 #Assigns the variable, v, to the integer object, 10 v - 5 #Subtracts 5 from 10. print(v) #Prints v, which refers to 10

wise cargoBOT
#

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

10
somber heath
#

!e py v = 10 #As above v = v - 5 #Subtracts 5 from 10 and points v at it. print(v) #Since v now refers to 5, 5 is printed.

wise cargoBOT
#

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

5
somber heath
#

!e py v = 10 v -= 5 print(v)As above, but using the -= operator.

wise cargoBOT
#

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

5
somber heath
#

-= subtracts the 5 from the 10 v refers to and reassigns v to the result.

#

which is 5

#
v = v - 5
v -= 5```These two lines are roughly equivalent.
#

Technically different, though, but in terms of the basic math of it, that's what's happening.

#

Do you understand?

#
v = 10
v - 2 #This is like writing the following line
8 #By itself```
#

Also, avoid the use of camelCase in Python unless it falls under the exceptional cases listed in the PEP8 document.

#

!pep8

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:

somber heath
#

Functions in Python should typically be in snake_case.

#

Each language's convention to its own language.

#

Some other programming language users scream bloody murder if people try to mess with their naming conventions.

#

Why should Python be any different?

#

I'm not annoyed at you.

#

Hey, Alex.

#

@spiral sierra@spice latchπŸ‘‹

#

Farzin.

spiral sierra
#

hey

#

sup

somber heath
#

Yahoy.

#

Depends on what.

#

@spice latch Tell us what you need help with.

whole bear
#

@somber heath you dozed off last time πŸ™‚

#

yesterday

spice latch
somber heath
#

Or just quiet?

whole bear
somber heath
#

Yeah, my headphone mic is pretty fucking sensitive, sometimes.

#

I don't think I was asleep.

#

!e ```py
def func(*args):
print(args)

func(1)
func(1, 2, 3)```

wise cargoBOT
#

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

001 | (1,)
002 | (1, 2, 3)
somber heath
#

!e ```py
def func(a, b, c):
print(a)
print(b)
print(c)

func(*[1, 2, 3])
#func(1, 2, 3)```

wise cargoBOT
#

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

001 | 1
002 | 2
003 | 3
somber heath
#

!paste

wise cargoBOT
#
Pasting large amounts of code

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

After pasting your code, save it by clicking the 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.

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.

spice latch
#
import subprocess, os, time
import cv2
import numpy as np


def connect(port = "7555"):
    subprocess.run(['adb','disconnect'])
    command = f"adb connect localhost:{str(port)}"
    subprocess.run(command.split())

def take_screenshot(name='screenshot'):
    subprocess.run(["adb", "shell", "screencap", "-p", "/sdcard/screenshot.png"])
    subprocess.run(["adb", "pull", "/sdcard/screenshot.png", f"{name}.png"])

def write_to_console(command):
    subprocess.run(command.split())

def find_image(image_to_recognize, location='screenshot.png', confidence=0.9):
    where_to_try_to_recognize_it = location
    image_to_recognize = "recognition\\" + image_to_recognize
    img = cv2.imread(where_to_try_to_recognize_it)
    template = cv2.imread(image_to_recognize)
    if template is None:
        print(f"Error al cargar la imagen del patrΓ³n {image_to_recognize}")
        return False, None
    res = cv2.matchTemplate(img, template, cv2.TM_CCOEFF_NORMED)
    loc = np.where(res >= confidence)
    if len(loc[0]) > 0:
        _, _, _, max_loc = cv2.minMaxLoc(res)
        return True, max_loc
    else:
        return False, None

    
def swipe(args):
    write_to_console("adb shell input swipe " + args)

def tap(args):
    arg_string = " ".join(map(str, args))
    write_to_console("adb shell input tap " + arg_string)

def textaccount(start_num=6):
    num = start_num
    write_to_console("adb shell input text lukgoyo" + str(num).zfill(2))
    num += 1
    return num

def textpassword():
    write_to_console("adb shell input text LUKgoyo0605-")    

def text(args):
    write_to_console("adb shell input text " + args)

def keycode(args):
    write_to_console("adb shell input keycode " + args)
#
if __name__ == '__main__':
    recognition = find_image('screenshot.png')      
    if recognition[0]:
        time.sleep(5)
        # Leer la imagen
        img = cv2.imread('screenshot.png')

        # Convertir la imagen a espacio de color HSV
        hsv_img = cv2.cvtColor(img, cv2.COLOR_BGR2HSV)

        # Definir lΓ­mites superior e inferior para el rango de color naranja
        lower_orange = np.array([5, 50, 50])
        upper_orange = np.array([15, 255, 255])

        # Aplicar la mΓ‘scara para resaltar los pΓ­xeles dentro del rango de color naranja
        mask = cv2.inRange(hsv_img, lower_orange, upper_orange)

        # Encontrar el contorno mΓ‘s grande en la mΓ‘scara
        contours, hierarchy = cv2.findContours(mask, cv2.RETR_EXTERNAL, cv2.CHAIN_APPROX_SIMPLE)
        largest_contour = max(contours, key=cv2.contourArea)

        # Encontrar el centroide del contorno mΓ‘s grande
        M = cv2.moments(largest_contour)
        centroid_x = int(M['m10'] / M['m00'])
        centroid_y = int(M['m01'] / M['m00'])

        # Imprimir las coordenadas del centroide
        print(f"Coordenadas del centroide: ({centroid_x}, {centroid_y})")
        tap(({centroid_x}, {centroid_y}))
somber heath
#

Going to Mars.

#

Very small pumpkin on a very large domino.

whole bear
#

brb

spice latch
#

{

#

}

somber heath
#

[] square brackets
() parentheses
{} curly braces

#

bracket, parenthesis, brace

#

@dusk rockπŸ‘‹

somber heath
#

!e py import random choices = 'chicken', 'salmon' choice = random.choice(choices) print(choice)

wise cargoBOT
#

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

salmon
somber heath
#

@granite plank πŸ‘‹

granite plank
#

bing bong

#

What did you mod it with

#

@surreal lotus

somber heath
#

@acoustic sable πŸ‘‹

granite plank
#

it's like 7 something

#

but I forgot the name

#

opal

#

could you ask for me

#

See

#

I don't either

#

That's the issue

#

😭

#

It's like 7 someting

#

It's theme patcher with something else

somber heath
#

@frank forge @raven crow πŸ‘‹

raven crow
#

Hey

vivid palm
#

!silence

wise cargoBOT
#

βœ… silenced current channel for 10 minute(s).

vivid palm
#

!mute 644517210936705034 2d don't behave like this in this community

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied timeout to @surreal lotus until <t:1682442825:f> (2 days).

vivid palm
#

!mute 913135309380800523 1d don't be rude

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied timeout to @somber smelt until <t:1682356455:f> (1 day).

vivid palm
#

!mute 713431503610183760 1d if you're being antagonized submit a report to modmail or ping mods. don't engage or feed the flame and call people hicks

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied timeout to @whole bear until <t:1682356524:f> (1 day).

vivid palm
#

behavior like today will lead to voice chats being even more restricted or removed for everyone. don't ruin it

wise cargoBOT
#

βœ… unsilenced current channel.

somber heath
#

@jovial echo πŸ‘‹

#

@warped panther πŸ‘‹

wind raptor
#

@near parcel were you still interested in streaming?

somber heath
#

@sudden patrol πŸ‘‹

sudden patrol
#

hello

somber heath
#

@slender bone πŸ‘‹

slender bone
#

Hey

somber heath
#

@warm lion πŸ‘‹

somber heath
#

@vivid panther πŸ‘‹

vivid panther
flat sentinel
somber heath
#

@random root πŸ‘‹

near parcel
wind raptor
#

!stream 131537558453747712

wise cargoBOT
#

βœ… @near parcel can now stream until <t:1682274869:f>.

flat sentinel
thin galleon
#
{'uuids': ['be15beef-6186-407e-8381-0bd89c4d8df4'], 'manufacturer_data': {61374: b'\x00\x13\r#J\xbd'}}
gentle flint
#

@thin galleon did you read the c code they referred to

#

especially this function

wise cargoBOT
#

src/advertisement.c lines 109 to 122

uint8_t anki_vehicle_parse_mfg_data(const uint8_t *bytes, uint8_t len, anki_vehicle_adv_mfg_t *mfg_data)
{
    if (bytes == NULL || len != 8) return 1;

    // bytes stored on the vehicle in Big Endian order
    // This assumes the host is little endian

    mfg_data->product_id = (bytes[1] | (bytes[0] << 8)); 
    mfg_data->_reserved = bytes[2];
    mfg_data->model_id = bytes[3];
    mfg_data->identifier = (bytes[7] | (bytes[6] << 8) | (bytes[5] << 16) | (bytes[4] << 24));

    return 0;
}```
gentle flint
#

which reads the manufacturer data

#

@thin galleon also are you quite sure that \x00\x13\r#J\xbd is the bytecode you got

#

because \r#J is not valid utf-8

thin galleon
gentle flint
#

568276116062863405

thin galleon
#
{61374: b'\x00\n\x00V\xab\xef'}
{61374: b'\x00\x13\r#J\xbd'}
astral rain
#

I'm good and you?

near parcel
wind raptor
wind raptor
#

If you wanted it again, I can grant it

warm shore
#

by any chance if I were to join the vc could you guys look over some code. its a final project for school and it just cuts to a white screen and I dont know why

sterile fable
#

do you guys are talking or smtg ?

#

cause i cant hear anything

faint raven
#

@wind raptorcan i dm you a code i dont want to get banned here but i made my code a little inappropriate but i have it that way to making coding a little bit fun for me.

#

i just wanna see if think its accurate?

wind raptor
granite plank
#

bing chilling

faint raven
wise cargoBOT
#

@faint raven :x: Your 3.11 eval job has completed with return code 1.

:warning: Note: input is not supported by the bot :warning:

001 | what is your gender? Traceback (most recent call last):
002 |   File "/home/main.py", line 1, in <module>
003 |     gender = input('what is your gender? ')
004 |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
005 | EOFError: EOF when reading a line
lucid blade
#

2min

#

headset is dead

faint raven
#

!e ```python
gender = 'what is your gender? '
def get_gender(gender):
if gender.lower() == 'm':
return 'male'
elif gender.lower() == 'f':
return 'female'
else:
return 'unknown'

user_gender = get_gender(gender)

if gender.lower() == 'male':
print('you are straighter than a pencil! ')

if gender.lower() == 'female':
print('you will be forever a hydbrid!')
name = 'daddy'
print("Damn, " + name + "! you are already a attack helicopter!")```

wise cargoBOT
#

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

Damn, daddy! you are already a attack helicopter!
granite plank
#

challenges?

#

how do I do these

#

!e

wise cargoBOT
#
Missing required argument

code

faint raven
#

@granite plank yeah, I'm just correcting my code

granite plank
#

How do i do challenges

faint raven
#

it's not really a challenge but it is personally πŸ˜›

granite plank
#

Oh

#

what was a challenge for me is getting cogs to work with app commands

#

πŸ’€

lucid blade
#

picoctf

#

πŸ˜‰

granite plank
#

(discord bot)

royal yarrow
#

yoo

#

wow

#

LMAOO

#

thank you!!

#

a phase

granite plank
#

Write a function that stutters a word as if someone is struggling to read it. The first two letters are repeated twice with an ellipsis ... and space after each, and then the word is pronounced with a question mark ?.

#

!e

def stutter(word: str):
    
    wordlist = []
    wordlist[:0] = word
    
    return wordlist[0] + wordlist[1] + "... " + wordlist[0] + wordlist[1] + "... " + word + "?"    

lol = stutter("your mom")
print(lol)```
wise cargoBOT
#

@granite plank :white_check_mark: Your 3.11 eval job has completed with return code 0.

yo... yo... your mom?
royal yarrow
#

i still play minecraft

granite plank
royal yarrow
granite plank
#

I used to grind ranked. and minemen club used to be a pvp sweat yea

#

but now I play vanilla+ and modpacks.

royal yarrow
#

ooo that's cool

granite plank
#

I like vibing

faint raven
royal yarrow
#

modpacks would explode my laptop

faint raven
#

LOL

granite plank
#

I make optimized modpacks.

royal yarrow
#

ahhh

lucid blade
#

is there a lego mod ?

#

for MC

faint raven
#

i pretty sure there is by now

lucid blade
#

feel like that should have been done already

royal yarrow
#

there's gotta be

somber heath
#

@signal halo πŸ‘‹

granite plank
#

lol

lucid blade
#

cool πŸ™‚ ill google it

granite plank
#

it's not exactly a mod

lucid blade
#

looks cool though πŸ™‚

granite plank
#

it's a texture pack with normal and specular maps that shaders use to make a 3D effect

royal yarrow
#

that looks so cool

granite plank
#

wanna see some cool photos of mine?

royal yarrow
#

mhm

lucid blade
#

yeh go for it

#

thats what voice is for πŸ˜‰

#

general banter πŸ™‚

royal yarrow
#

holy

#

it is

#

crazy

#

i see that 19 fps

granite plank
#

ok

#

I can hear now.

royal yarrow
#

awesome

#

i love the quality of the pics

granite plank
#

this is all minecraft

royal yarrow
#

10/10

granite plank
#

Optifine

royal yarrow
#

it looks real ngl

granite plank
#

lemme give u pics of patrix

royal yarrow
#

well have fun guys i gtg watch a python tutorial

royal yarrow
#

cyaaa

granite plank
#

Tutorial on what

royal yarrow
granite plank
#

what platform?

royal yarrow
#

Python tutorial - Python full course for beginners - Go from Zero to Hero with Python (includes machine learning & web development projects).

πŸ”₯ Want to master Python? Get my Python mastery course: http://bit.ly/35BLHHP
πŸ‘ Subscribe for more Python tutorials like this: https://goo.gl/6PYaGF

πŸ‘‰ Watch the new edition: https://youtu.be/kqtD5dpn9C8

...

β–Ά Play video
granite plank
#

...

faint raven
#

yes i still watch this video to this day

royal yarrow
#

LOL

granite plank
#

If you have a card or paypal I'd recommend using udemys 1 month trial right now and learning on Udemy as they are very explanative and concise

royal yarrow
granite plank
#

fr?

#

who is your grandmother wtf

royal yarrow
#

LMAOOO

granite plank
#

how tf she have a course

#

she teaching how to garden?

royal yarrow
#

shh

#

okay i gtg

#

see you guys bye

granite plank
#

pce

#

have fun

royal yarrow
#

tyty

granite plank
#

@lucid blade

#

@somber heath could you grab 80's attention.

#

See I'm in Texas you can walk into the police station with a handgun* (I mean't cant.) on your back. People challenge them. Some get fucked over and some go free.

#

One trigger happy motherfucker and your done.

#

^ @faint raven

faint raven
granite plank
faint raven
granite plank
#

BRO

#

I was litterally typing that

#

Japan (Even though the discrimination against non-japanese people. Luckily I'm most of japans partner type. (darker skinned white guy)

faint raven
#

exactly

granite plank
#

It's so well ran.

#

or Australia

#

Philippines is good in some areas. Generally not though.

#

Japan has a revenge rule practically.

#

That's why it works so well.

#

They leave keys in cars in dealerships.

faint raven
#

australia is kinda scary if people there won't kill ya the animals or insects will B_SuperJuicySip

granite plank
#

Considering most of a the population is on the coast.

#

@faint raven The main issue of the US at it's core causing all of these issues is the fact our government is ran by no brain incels.

#

They can't grasp the concept of new things.

#

Their minds are fatigued.

faint raven
#

it's a lack of awareness

granite plank
#

In general yea.

faint raven
#

from the government part

lucid blade
#

^ is pretty good

granite plank
#

stop and hit the bong like ching ching chong

wild harness
#

hey guys can somebody possibly help me with something regarding autogpt

#

im struggling

#

i need to deploy my AI business partner minion

#

lmk im voice restricted until i send 50 messages

#

fml

#

all good brother

#

ive git cloned and have all the api keys, but am getting to a point of error when trying to run it

#

fk ok

#

all good

#

perhaps ill eventually get to my 50th message so i can talk

#

ha

#

ha

#

ha

#

yea its in the readme

#

in the repository