#voice-chat-text-0

1 messages ยท Page 146 of 1

willow ruin
#

no

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.

willow ruin
#

this

echo garden
#
import numpy as np
from sklearn.decomposition import PCA
import matplotlib.pyplot as plt
from mpl_toolkits.mplot3d import Axes3D

# Define the tensor dimensions
dims = ("dim1", "dim2", "dim3", "dim4")

# Create a random tensor
tensor = np.random.rand(*([10]*len(dims)))

# Map each parameter to a point in tensor space and self-label variables
x = []
y = []
z = []
for i, j, k, l in np.ndindex(tensor.shape):
    coordinates = [i/10, j/10, k/10]
    x.append(coordinates[0])
    y.append(coordinates[1])
    z.append(coordinates[2])

# Apply PCA to reduce the dimensionality to 3D
pca = PCA(n_components=3)
coords = np.column_stack((x, y, z))
coords_pca = pca.fit_transform(coords)

# Visualize the tensor coordinates as a scatter plot
fig = plt.figure()
ax = fig.add_subplot(111, projection='3d')
ax.scatter(coords_pca[:, 0], coords_pca[:, 1], coords_pca[:, 2])
ax.set_xlabel('PCA 1')
ax.set_ylabel('PCA 2')
ax.set_zlabel('PCA 3')
plt.show()

print('Hello world!')
willow ruin
#

KeyError: '5'

rugged root
#

@raw carbon I wish I could take credit for that joke

#

I'm not that clever

lucid blade
#

lmao

#

do i have competition?

#

๐Ÿ˜„

rugged root
#

Oh absolutely

#

The 3 of us could have an absolute dad joke throw down

lucid blade
#

๐Ÿ˜‰

rugged root
#

It'd be like a rap battle but more cringe

#

I figured it'd be an amazing welcome back for you

#

Does this count?

#

Good ol' Logo

#

Phreaking is a slang term coined to describe the activity of a culture of people who study, experiment with, or explore telecommunication systems, such as equipment and systems connected to public telephone networks. The term phreak is a sensational spelling of the word freak with the ph- from phone, and may also refer to the use of various audi...

frail jetty
#

Whistle blower

#

Documentary or movie

lucid blade
wind raptor
lucid blade
#

possibly

#

no evidence but highly credible person talking about crazy stuff

#

real crazy stuff

lucid blade
#

yep if u get time check it out its all very interesting

frail jetty
#

Is mark Zuckerberg a reptilian ? ๐ŸฆŽ

#

Check this Conspiracy theory

#

Consider Donating - Supporting further projects on Patreon/Paypal etc. Thank you. All links are BELOW โ—๏ธโ—๏ธ
Your Donation And Support Is Very Much Needed To Continue:
๐Ÿ‘‰ Patreon: https://www.patreon.com/StrangerThanF1ction
๐Ÿ‘‰ Paypal: https://www.paypal.com/paypalme/STFProductions

For More Uncensored Information Visit My Website: https://thestrange...

โ–ถ Play video
rugged root
#

Hey Maro

near smelt
#

@somber heath are you here

somber heath
near smelt
#

there is so many people talking

#

idk how to ask u stuff rip

rugged root
#

@near smelt Wasn't trying to run you off, it's just that your mic wasn't shutting off. Like it wasn't waiting for your voice to turn on

somber heath
#

They didn't block you from saying something, they decided they didn't want to listen to you.

#

@echo garden

#

Someone refusing to listen to you isn't them stopping you from speaking.

lucid blade
echo garden
#

meh it doesn't matter

somber heath
#

Depression glass.

lucid blade
#

welcome to the club

#

๐Ÿ™‚

stuck furnace
#

They would join the UPPU club

lucid blade
#

so cursed ๐Ÿ˜„

whole bear
silver stratus
#

I want to talk

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
rugged root
#

@whole bear Sup

lavish rover
rugged root
#

Yeah it's on my list

#

The Boy Scouts of America (BSA, colloquially the Boy Scouts) is one of the largest scouting organizations and one of the largest youth organizations in the United States, with about 762,000 youth participants. The BSA was founded in 1910, and since then, about 110 million Americans have participated in BSA programs. BSA is part of the internatio...

lucid blade
#

A ribbon microphone, also known as a ribbon velocity microphone, is a type of microphone that uses a thin aluminum, duraluminum or nanofilm of electrically conductive ribbon placed between the poles of a magnet to produce a voltage by electromagnetic induction. Ribbon microphones are typically bidirectional, meaning that they pick up sounds equ...

rugged root
#

Cell is a 64-bit multi-core microprocessor microarchitecture that combines a general-purpose PowerPC core of modest performance with streamlined coprocessing elements which greatly accelerate multimedia and vector processing applications, as well as many other forms of dedicated computation.It was developed by Sony, Toshiba, and IBM, an alliance...

lucid blade
rugged root
#

Ooooooooooooooooooo

#

Neat

echo garden
#

Anyone familiar with phase change technology?

lucid blade
somber heath
warped raft
#

did you meant to mute my self @lunar haven

rugged root
echo garden
#

did you come up with a answer?

#

or are you looking for refinement?

#

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

echo garden
#
def convertToTitle(columnNumber: int) -> str:
    title = []
    while columnNumber > 0:
        columnNumber -= 1
        title.append(chr(columnNumber % 26 + 65))
        columnNumber //= 26
    return ''.join(reversed(title))

# Example usage
print(convertToTitle(1)) # Output: "A"
print(convertToTitle(28)) # Output: "AB"
print(convertToTitle(701)) # Output: "ZY"

print('Hello world!')
noble solstice
echo garden
#

The convertToTitle function takes an integer columnNumber as input and returns a string representing its corresponding column title in Excel sheet. The algorithm works by repeatedly finding the remainder after dividing columnNumber by 26 and adding the corresponding letter (A-Z) to the output title. The columnNumber is then divided by 26 and the process is repeated until columnNumber is reduced to zero. Finally, the title is reversed and returned as a string.

lucid blade
echo garden
lucid blade
echo garden
#

FBI knows everything

echo garden
#

parker AI is future of programming lol

noble solstice
#

I know Girls like it!

echo garden
lucid blade
desert wolf
noble solstice
#

little green men from outer space!

echo garden
noble solstice
#

have you found any little green men waving back to you from space!

#

Sadly All alien dies!

echo garden
#

the truth is out there

noble solstice
echo garden
#

no actually, the truth is way out there

noble solstice
#

all ALien is died due to cold!

echo garden
#

yeah but aliens may know how to cheat death..

#

i mean their technology could provide a means for this

noble solstice
noble solstice
#

u have no proof!

echo garden
#

sure

#

proof for you

#

never said proof is necessary for me to know what the truth is.

noble solstice
#

send me some proof or I will chew your meat

echo garden
#

proof for you that is

#

parker is comming at me

noble solstice
#

I like meat chewing meat!

echo garden
#

the whole point is, his needing of proof is not necessary. When proof is given without doubt to the person who is observing disbelief is comical.

noble solstice
somber heath
#

Kardishev.

echo garden
#

parker, your living in a world that needs proof, its out there. go find it

noble solstice
#

I don;t believe in this scale!

echo garden
#

parker that video i sent is proof..

whole bear
#

bro

noble solstice
whole bear
#

broo

rugged root
#

@somber heath Are you asleep?

whole bear
#

yes

echo garden
#

what theory? what manipulation? experience isn't theory nor manipulation.

noble solstice
#

U need some whiskey my friend!

whole bear
#

@verbal zenith

#

bro

#

do u know to get token

noble solstice
whole bear
#

pls say

verbal zenith
#

token for what?

echo garden
#

well your the one that needs the proof. all i can say is that its possible for that question to be answered.

noble solstice
echo garden
#

right a question that i don't need any more proof of.

noble solstice
#

don't watch to much Science fiction movie

echo garden
#

your the one that needs the proof.. the truth is out there, the proof for your settling is available.

echo garden
#

This is a slow motion capture of alien beings and other paranormal spectral "ghost" on video personally recorded by me.

My particular situation is unique. Although I've dealt with this phenomenon for years, I've only recently acquired knowledge of the cause of my misunderstood existence.

The original video is 20 mins long shortened to specify ...

โ–ถ Play video
noble solstice
echo garden
#

im sure you can figure it out.

somber heath
#

Official 4K Video for โ€œFoilโ€ by โ€œWeird Al" Yankovic

Listen to โ€œWeird Al" Yankovic : https://weirdalyankovic.lnk.to/listenYD
Subscribe to the official โ€œWeird Al" Yankovic YouTube channel: https://weirdalyankovic.lnk.to/subscribeYD
Watch more โ€œโ€œWeird Al" Yankovic videos: https://weirdalyankovic.lnk.to/listenYC

Follow โ€œWeird Al" Yankovic
...

โ–ถ Play video
echo garden
#

i love that song

echo garden
#

parker, i rather enjoyed your rant but ive given enough of my experience to you. how you feel about it is no longer an issue for me to change.

vocal basin
#

surprising how few (exactly zero) things of value come out of any alien-related discussion I saw here so far

noble solstice
echo garden
#

parker, as i said. thank you for your input

noble solstice
echo garden
#

damn my grammer

lucid blade
maiden skiff
#

hi

#

im so tired

rugged root
#

'murica

maiden skiff
#

Today is payday, so I'm looking forward to it.

rugged root
#

Hell yeah

desert wolf
#

@rugged root can I get perma-stream?

rugged root
#

Hold on

rugged root
#

I'll grant the probationary period, since I don't have a note saying that you've had that prior

#

!stream 500168097852948482 3w

wise cargoBOT
#

โœ… @desert wolf can now stream until <t:1688487417:f>.

lucid blade
pallid hazel
#

lol.. so if he doesnt pass the test.. he loses it on independance day.. nice

rugged root
#
Get-Help thing
vocal basin
#

VI?

#
vi
thorn wharf
#

*used *

zenith radish
#
.\scripts\win\env.ps1

echo "Killing Neon White process if it is running..."
Stop-Process -Name "Neon White" -Force 2>$null
Start-Sleep -Seconds 1 # Stop-Process finishes before the lock on NeonMight.dll is released so Copy-Item fails :/

echo "Moving build output to Mods directory..."
Copy-Item ".\bin\Debug\net472\NeonMight.dll" -Destination "$env:MODS_PATH\NeonMight.dll"

echo "Starting Neon White..."
explorer "steam://rungameid/1533420"```
rugged root
#

@amber raptor

zenith radish
#
$env:STEAM="C:\Program Files (x86)\Steam\steam.exe" # Used for hot reloading
$env:STEAM_LIBRARY="D:\SteamLibrary" # Steam Library where Neon White is installed

$env:NEON_WHITE_PATH="$env:STEAM_LIBRARY\steamapps\common\Neon White"

$env:MODS_PATH="$env:NEON_WHITE_PATH\Mods"
$env:MELON_LOADER_PATH="$env:NEON_WHITE_PATH\MelonLoader"
$env:NEON_WHITE_DATA_PATH="$env:NEON_WHITE_PATH\Neon White_Data\Managed"```
#

  <Target Name="PreBuild" BeforeTargets="BeforeBuild">
    <Exec Command="powershell.exe .\scripts\win\env.ps1" />
  </Target>

  <Target Name="PostBuild" BeforeTargets="AfterBuild" Condition="$(DOTNET_WATCH) == 1">
    <Exec Command="powershell.exe .\scripts\win\post_build.ps1" />
  </Target>
#
        private static void InitPatches() {
            foreach (Type type in 
                Assembly.GetAssembly(typeof(Patch)).GetTypes()
                    .Where(patchType => patchType.IsClass && !patchType.IsAbstract && patchType.IsSubclassOf(typeof(Patch))))
            {
                Patch patch = (Patch)Activator.CreateInstance(type);

                patch.Initialize();
            }
        }```
#
 neon_might_config:
    community_medals: bool
    pb_tracker: bool
    session_timer: bool
    level_timer: bool
    ig_timer: bool
    ig_timer_color: Color
    apocalypse_display: bool
    insight_screen: bool
    record_boss_ghost: bool
    ambience: bool
    
neon_might_visuals:
    player_ui_portrait: bool
    backstory: bool
    bottom_bar: bool
    damage_overlay: bool
    boost_overlay: bool
    shocker_overlay: bool
    telefrag_overlay: bool
    screen_fade_overlay: bool
pallid verge
#

hey guys

zenith radish
#

no

pallid verge
#

anyone has experience on A.R ? ...like in Snap AR

#

actualy i was doing some research on augmemted clothes overlay

vocal basin
#

@midnight agate set never gets updated

pallid verge
#

@midnight agate can we also do the the question you are doing like ... create 2 pointer ... 1 ahead of another , and iterate them , if it is in cycle they both will match at one point

#

we use lambda for apis

rugged root
#

@turbid sandal What's up?

#

Easier to talk in here since we're still ongoing with the convo

pallid verge
#

i am not so good in english ...but do you guys are arguing ?

rugged root
#

Debating

pallid verge
#

about something

#

ohh

#

my bad

rugged root
#

Nah it's.... not the easiest distinction

#

And it's kind of phasing in and out of argument

turbid sandal
#

could i get a two week streaming probation, if i pass i can stream forever, else well i cant

#

i would understand if you say no @rugged root

rugged root
pallid verge
#

garbage collection is something that python do automatically ... right ?

rugged root
#

Yep!

turbid sandal
#

Im sorry as a discord language model i don't understand the meaning of "I'm not comfortable granting that at this time" please provide more information? @rugged root

pallid verge
#

hehe i am still worthy

rugged root
#

Most languages have a garbage collector of some sort

#

There's only a handful that don't

pallid verge
#

like ?

rugged root
#

Correction, only a handful of modern languages that don't have one

#

Rust technically doesn't

#

C doesn't either

pallid verge
#

ahh

turbid sandal
#

Im sorry as a discord language model i don't understand the meaning of "I'm not comfortable granting that at this time" please provide more information? @Mr. Hemlock

pallid verge
#

what was the question ?

#

i missed it

rugged root
#

I honestly was phased out

turbid sandal
#

lol

rugged root
#

I'm kind of half keeping my ear on the conversation, half looking through a database for work

vocal basin
vocal basin
pallid verge
#

someday i love programming .... someday i hate it ...

pallid verge
vocal basin
#

same time complexity

#

at least, asymptotically

lucid blade
#

peace ill bbl

turbid sandal
#

I did not understand what you ment with " I'm not comfortable granting that at this time" I will rephrase my question. Could I get a period of time where im allowed to stream but if anything happens in that time period then I will not be allowed to stream but if nothing bad happens then im allowed to stream for a long time, how long the test period is , is something that you can chose. So what is your answer? @mr.hemlock

vocal basin
#

if "typing is a bottleneck", it's not, it's tools not being good enough

#

@verbal zenith do you ever assign result of borrow_mut to a variable?

#

at any place

rugged root
turbid sandal
#

may I ask why?

pallid verge
#

@zenith radish is microsoft kinect is still active ?

#

for ar purpose

#

ye i need something to make clothes a.r

#

like lenskart

#

@languid edge there is azure kinect developer kit and xbox 360 kinect sensor .... kit one is soo expensive

vocal basin
#

@verbal zenith you should probably search by method not by field

#

@verbal zenith not related, but this looks wrong

pallid verge
#

gtg good night !

vocal basin
rugged root
#

Back in a sec

vocal basin
#

@verbal zenith also these a couple of times

#

searching via GitHub

#

(just to understand what happens generally)

#

@verbal zenith
I think something like this might be holding onto scope too

#

because parent_val is a reference to insides of the scope

#

therefore for it to be valid, scope needs to stay borrowed

vocal basin
#

@verbal zenith let-else

#

with early return

pallid hazel
#

Total lines in .py files: 10360
Number of files: 93
Average lines per file: 111.40

knotty dome
#

#include <stdio.h>
#include <stdlib.h>

void FillZero(int **my2DArray, int M, int N);
void CopyArray(int **my2DArray, int **myNextGenArray, int M, int N);
void NextGen(int **board, int M, int N);

int main() {
// Step 4a: Prompt the user for the name of an output file
printf("Enter the name of the output file: ");
char outputFileName[100];
scanf("%s", outputFileName);

// Step 4b: Open the output file
FILE *outputFile = fopen(outputFileName, "w");
if (outputFile == NULL) {
    printf("ERROR: Output file not opened correctly.\n");
    return 1;
}
whole bear
#

``

#
#include <stdio.h>
#include <stdlib.h>

void FillZero(int my2DArray, int M, int N);
void CopyArray(int my2DArray, int myNextGenArray, int M, int N);
void NextGen(int board, int M, int N);

int main() {
    // Step 4a: Prompt the user for the name of an output file
    printf("Enter the name of the output file: ");
    char outputFileName[100];
    scanf("%s", outputFileName);

    // Step 4b: Open the output file
    FILE *outputFile = fopen(outputFileName, "w");
    if (outputFile == NULL) {
        printf("ERROR: Output file not opened correctly.\n");
        return 1;
    }
#

!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
#
thing.into_iter()
     .map(stuff)
     .collect::<Result<Vec<_>, _>()?
whole bear
#

@rugged root

vocal basin
#

@verbal zenith did you know that Rust itself has ControlFlow enum too?

#

Continue or Break

#

@lunar haven
super react is limited to 2 or 5 (per account) without nitro

#

or 1

#

idk

#

some have 1
some have 5
some have 0

#

it's weird

verbal zenith
#

ignore the x

#

lol

vocal basin
#

first one spent accidentally on โžก๏ธ
other four I wasted intentionally

#

myself, for three years

#

I gifted one month to someone else
then I was paying for it for three years

#

then it got cancelled

drifting shuttle
#

F

vocal basin
#

I was boosting a server which had quite a lot of streaming

#

when free version was 480p, it was worth it

#

seems like, only current nitro users get privilegies for claiming the name

#

triple r

wind raptor
#

!tvmute 948592746577408051 2w screaming into the mic to troll

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied voice mute to @graceful eagle until <t:1687892965:f> (14 days).

maiden skiff
#

break time

echo garden
#

sorry for the noise people i didn't realize tha discord was still on

echo garden
#

anyone else feel that 'ghosts' caught on camera are merely just Ninja's just practicing their craft?

fossil anvil
#

what does %s mean in python

#

and %

somber heath
#

This is just in the context of strings. If you're talking about numbers, you're knocking on the door of modulus, the remainder of a division.

fossil anvil
#

i'm pretty sure it's strings

#

i saw it in the book i'm reading

somber heath
#

Basically, learn that % formatting exists, maybe familiarise yourself with the syntax, but don't ever actually use it.

#

Because it's old and supplanted.

#

By much more readable syntaxes.

fossil anvil
#

so i should learn all about %formatting

somber heath
#

Know that it's there.

#

!e print(dir(str))

wise cargoBOT
#

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

['__add__', '__class__', '__contains__', '__delattr__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__getitem__', '__getnewargs__', '__getstate__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__iter__', '__le__', '__len__', '__lt__', '__mod__', '__mul__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__rmod__', '__rmul__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', 'capitalize', 'casefold', 'center', 'count', 'encode', 'endswith', 'expandtabs', 'find', 'format', 'format_map', 'index', 'isalnum', 'isalpha', 'isascii', 'isdecimal', 'isdigit', 'isidentifier', 'islower', 'isnumeric', 'isprintable', 'isspace', 'istitle', 'isupper', 'join', 'ljust', 'lower', 'lstrip', 'maketrans', 'partition', 'removeprefix', 'removesuffix', 'replace', 'rfind', 'rindex', 'rjust', 'rpartition', 'rsplit', 'rstrip', 'split', 'splitlines', 'startswith', 'strip', 'swapcase', 'title', 'translate', 'upper', 'zfill']
somber heath
#

See __mod__?

#

That governs the behaviour of % used with strings.

#

!e print(dir(int))

wise cargoBOT
#

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

['__abs__', '__add__', '__and__', '__bool__', '__ceil__', '__class__', '__delattr__', '__dir__', '__divmod__', '__doc__', '__eq__', '__float__', '__floor__', '__floordiv__', '__format__', '__ge__', '__getattribute__', '__getnewargs__', '__getstate__', '__gt__', '__hash__', '__index__', '__init__', '__init_subclass__', '__int__', '__invert__', '__le__', '__lshift__', '__lt__', '__mod__', '__mul__', '__ne__', '__neg__', '__new__', '__or__', '__pos__', '__pow__', '__radd__', '__rand__', '__rdivmod__', '__reduce__', '__reduce_ex__', '__repr__', '__rfloordiv__', '__rlshift__', '__rmod__', '__rmul__', '__ror__', '__round__', '__rpow__', '__rrshift__', '__rshift__', '__rsub__', '__rtruediv__', '__rxor__', '__setattr__', '__sizeof__', '__str__', '__sub__', '__subclasshook__', '__truediv__', '__trunc__', '__xor__', 'as_integer_ratio', 'bit_count', 'bit_length', 'conjugate', 'denominator', 'from_bytes', 'imag', 'numerator', 'real', 'to_bytes']
somber heath
#

As distinct from __mod__ here which governs how % works with ints.

#

Same operator symbol, different behaviours, depending on the object.

fossil anvil
#

oh i get what your trying to show me

somber heath
#

Yes, % outside the string.

fossil anvil
#

your tying to say that they are different depending on whether the object is a string and int

somber heath
#

Yes.

#

!e py name = 'Peter' print('Hello, %s.' % name) print('Hello, {}.'.format(name)) print(f'Hello, {name}.')

wise cargoBOT
#

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

001 | Hello, Peter.
002 | Hello, Peter.
003 | Hello, Peter.
somber heath
#

There are different ways you can use all of these.

#

This is just one way of each.

fossil anvil
#

so %s uses the most recent variable

somber heath
#

There is an ordering, yes. The types have to match up.

#

To the objects right of the % operator, outside the string.

#

Because you can do that, too. It gets fussy if they don't match.

#

!e py print('%s' % 5)

wise cargoBOT
#

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

5
somber heath
#

Or...not.

#

I don't use % formatting often enough to explain it well. Apparently.

#

% formatting is only for legacy code, anyway

fossil anvil
#

yup it seems so

somber heath
#

If you're using it outside that context, what are you even doing with your life, you know?

#

But yes. It's there, learn it's there so you can recognise it, learn it if you want, never use it unless you're maintaining old code.

fossil anvil
#

it seems you can add more than one argument though

somber heath
#

!e py print(*(i % 3 for i in range(10)))

wise cargoBOT
#

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

0 1 2 0 1 2 0 1 2 0
somber heath
#

Yes. As I said, the example I gave only showed one use each.

#

I think you put multiple arguments in a tuple, yeah?

fossil anvil
somber heath
#

Numerical use of the % operator.

fossil anvil
#

yeah seems so

#

whaths the * for

somber heath
#

Starred unpacking.

#

It takes the object to the right and unpacks it into separate positional arguments to the function, here print. print takes an arbitrary number of positional arguments.

#

!e py print('a', 'b', 'c') print(*'abc')

wise cargoBOT
#

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

001 | a b c
002 | a b c
somber heath
#

It's also used to write functions that take an arbitrary number of positional arguments.

#

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

func(1)
func(1, 2)
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)
003 | (1, 2, 3)
somber heath
#

Though this isn't unpacking so much as writing the function in a certain way.

#

Just another contextually dependent character in Python...

fossil anvil
#

oh thanks for explaining it to me

whole bear
#

@somber heath opal

#

u there

#

?

#

i need help with some classes in op

fossil anvil
#

what does deprecate mean

vocal basin
fossil anvil
#

ohh thank you

vocal basin
#

if you're getting warning about deprecation, it's usually because underlying tools were updated

fossil anvil
#

so they are basically saying this feature is outdated

vocal basin
#

yes

#

and may get deleted later

fossil anvil
#

ohh ok thanks

#

i've alwasys wanted to ask

#

does faster typing mean your a good coder

#

if your not fast at typing does that mean your bad at coding

vocal basin
vocal basin
#

learning to type without looking at the keyboard might make it easier

#

(so, just do what helps you code, there is no guaranteed universal metrics)

amber plank
#

Krjerh

turbid sandal
onyx trout
#

jo

#

can you help me with something ?

turbid sandal
#

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

onyx trout
#

yeah i did it but need to send 50 messages

#

i can try it again

turbid sandal
#

ok

#

s

#

sd

onyx trout
#

just gonna day random shit

turbid sandal
#

what

onyx trout
#

bc its weird that it takes so long

#

to be verifyed

#

for voice

vocal basin
onyx trout
echo garden
#

MORNING!!!!

versed mesa
#

@echo garden I need Help

#

@turbid sandal I need Help

echo garden
#

to chat?

versed mesa
#

with py

echo garden
#

i mean we all need help could you be a specific chap and provide us a bit more information?

#

are you able to hear?

versed mesa
#

can't

#

yess

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.

echo garden
#

you see the words that posted up. they are instructions

#

if you wanna post code here

#

those instuctions would be quite helpful

versed mesa
#

okh wait

#

My problem is with the remove option

#

the user should enter the name of the contact and the name, number and email should be deleted

echo garden
#

is this for school?

vocal basin
versed mesa
#

no just a practise project

echo garden
#

yes understood but is this a personal endevure ?

winged mist
#

if confirmation[0] == "y":
print()

#

Wrong

#

First off

vocal basin
#

with your current names, this would be the fix:

contacts_name.remove(contacts_names)
#

as you can see, with correct names it should be the other way around

vocal basin
winged mist
#

BRUH

versed mesa
#

i already knew that the problem is the it should also delete the contact's email and number

winged mist
#

Aint no way your asking that

#

That will only pull first letter of the stringโ€ฆโ€ฆ why would anyone do that.

#

if confirmation == โ€œyโ€:

#

โ€ฆโ€ฆโ€ฆ..

vocal basin
winged mist
#

What if user types anything but โ€œyโ€ or โ€œyesโ€ โ€ฆโ€ฆ

versed mesa
#

My problem is with the remove option
the user should enter the name of the contact and the name, number and email should be deleted

#

yes it is

#

i can hear

vocal basin
#

error?

winged mist
#

!e remove

wise cargoBOT
#

@winged mist :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 |     remove
004 | NameError: name 'remove' is not defined
vocal basin
#

or sequence

#

I think it's not indexed

#

you have this line

contacts_names.remove(contacts_name)
#

contacts_names is str

#

contacts_name is list

versed mesa
#

no I don't know how to write a function which takes the contact name and deletes everything eg. name,email and number

vocal basin
somber heath
#

@whole bear ๐Ÿ‘‹

versed mesa
#

ok

vocal basin
#

you can change how you store it

#

or

#

you can find the index of what you remove

whole bear
#

i cannot speak

versed mesa
whole bear
#

i tried to verify it doesnt allow me

#

very sad

vocal basin
#

a simpler way would be to a dictionary instead

echo garden
#

@versed mesaok so what i got for you is this

#

there is a mistake in the remove_contact function as the code tries to remove the contacts_names variable

turbid sandal
#

siri

echo garden
#

of course its CHatGPT, but in the process of helping i learn as a well, i save all files i create to understand them all the while procrastinating on what i wanted to do a few weeks before, still stuck lol

turbid sandal
#

chatter bot ai -> voice api

vocal basin
#

!rule 10

wise cargoBOT
#

10. Do not copy and paste answers from ChatGPT or similar AI tools.

versed mesa
echo garden
#

done

vocal basin
# versed mesa https://paste.pythondiscord.com/elapusapog

just an example of what you can do (I didn't check it yet, but it may work):

contacts = {}

def list_contacts():
    for name, (number, email) in contacts.items():
        print(f'Name = {name}')
        print(f'Phone-number = {number}')
        print(f'Email = {email}')

def add_contact():
    contact_name = input("Enter The Contact Name > ")
    contact_number = input("Enter The Contacts Number > ")
    contact_email = input("Enter The Contacts Email Id > ")
    contacts[contact_name] = contact_number, contact_email

def remove_contact():
    contact_name = input("Enter The Contact Name > ")
    if contact_name in contacts:
        del contacts[contact_name]
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.

turbid sandal
#
import pyttsx3

engine = pyttsx3.init()
while True:
    text = input("text: ")
    engine.say(text)
    engine.runAndWait()

vocal basin
#

!e

contacts = {}

def list_contacts():
    for name, (number, email) in contacts.items():
        print(f'Name = {name}')
        print(f'Phone-number = {number}')
        print(f'Email = {email}')

def add_contact(name, number, email):
    contacts[name] = number, email

def remove_contact(name):
    if name in contacts:
        del contacts[name]

add_contact("John Doe", "+0 (000) 000-00-00", "john@example.com")
add_contact("Jane Doe", "+0 (000) 000-00-00", "john@example.com")
remove_contact("John Doe")
remove_contact("John Doe")
list_contacts()
wise cargoBOT
#

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

001 | Name = Jane Doe
002 | Phone-number = +0 (000) 000-00-00
003 | Email = john@example.com
vocal basin
#

implicit (though correct) assumption that slow never becomes None before fast

#

given how every single previous time I chose (b), this time it would be quite easy to guess that I'd choose it too

#
def advance_twice(head: ListNode) -> Optional[ListNode]:
    return head.next and head.next.next

class Solution:
    def hasCycle(self, head: Optional[ListNode]) -> bool:
        fast = slow = head
        while fast and slow:
            slow = slow.next
            fast = advance_twice(fast)
            if slow and slow is fast:
                return True
        return False
#

-1 is ugly for practical reasons

#

even if it's conventional

vocal basin
#

length of a longest path from root to leaf is not the height of a tree, it just isn't;
having it as a definition is absolutely illogical

#

by "definition", yes

#

by logic and common sense, no

#

it may be "maximum height relative to a leaf"

#

totally different situation

vocal basin
#

-1 for find works well enough for a couple of specific algorithms

#

and makes no sense in others

lavish rover
#
def return_number_before(x):
    if x == 0:
        print("oops, can't do this sorry")
        return None
    return x - 1
vocal basin
#

"perplexedness"?

#

.checked_sub(1)

pale mortar
#

Hi

#

Almost could not find the chat

vocal basin
#

something's definitely wrong with the third example

somber heath
#

@ripe oasis ๐Ÿ‘‹

turbid sandal
#

hello?

#

@somber heath can you say that again (very model of a modern major general)

somber heath
turbid sandal
#

can you please do it?

somber heath
turbid sandal
#

ok

somber heath
#

Why not? Because I got the sense you were trying to record me without first asking.

#

veg-i-table

vocal basin
#

for intersection I used is too

#

I found another one

#

ratio'd task

#

"literally has solution written in problem text"

echo garden
#

AHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH

#

the song is like "ITs a small world after all"

somber heath
#

I think avoiding the subject.

#

Like, I don't think there is one, is my point.

warm jackal
#

"Roger Roger, @AF"?

vocal basin
#

see json

#

!e

from json import dumps
print(dumps(float('inf')))
wise cargoBOT
#

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

Infinity
vocal basin
#

idk why I know this

warm jackal
#

I wouldn't think so. I only associate the phrase with radio/military/responding to an authority of some sort with the equivalent of "Yes Sir/Madame".

But which does not specify any gender.

vocal basin
warm jackal
vocal basin
vocal basin
#

if you don't over-complicate it trying to make it streamed

#

no, obviously not

#

its syntax is non-recursive, therefore can somewhat easily be checked

#

without doing any actual imperative work

#

yes

vocal basin
#

but doesn't matter much

frail jetty
#

Hey there

vocal basin
#

you almost made the adjustment I mentioned

frail jetty
#

Are you guys practicing problem solving

vocal basin
#

@midnight agate it should be "and maybe exponential" not "or exponential"

#

@midnight agate this is wrong

#

at root level

#

| shouldn't be there

#

first and second

#

yeah, this is definitely regex

#

A valid number can be split up into these components (in order):

  • A decimal number or an integer.
  • (Optional) An 'e' or 'E', followed by an integer.

A decimal number can be split up into these components (in order):

  • (Optional) A sign character (either '+' or '-').
  • One of the following formats:
    • One or more digits, followed by a dot '.'.
    • One or more digits, followed by a dot '.', followed by one or more digits.
    • A dot '.', followed by one or more digits.

An integer can be split up into these components (in order):

  • (Optional) A sign character (either '+' or '-').
  • One or more digits.
vocal basin
somber heath
vocal basin
#
sign         = "+" | "-" ;
valid number = decimal , [ ( "e" | "E" ) , integer] ;
decimal      = [ sign ] , ( ( one or more digits , . ) | ( one or more digits , . , one or more digits ) | ( . , one or more digits ) ) ;
integer      = [ sign ] , one or more digits ;
somber heath
#

Yeah, just namespacing.

#

@rugged root

vocal basin
somber heath
#

Oh, you mean you want a method as a decorator?

rugged root
#
@my_router.get("/")
def index(data: MyData):
somber heath
#

Oh, you want arguments?

vocal basin
#

my_router.get("/") returns a function

#

so, either closure, or an extra object

#

!e

class Router:
    def __init__(self):
        self.routes = {}

    def get(self, path):
        def decorator(f):
            self.routes[("GET", path)] = f
            return f
        return decorator

router = Router()

@router.get("/")
def index():
    pass

print(router.routes)
wise cargoBOT
#

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

{('GET', '/'): <function index at 0x7ff03a93de40>}
vocal basin
#

when it becomes interesting, is when index itself is a method

rugged root
#

AF explained it cleaner than I could. I wasn't 100% on the implementation myself

vocal basin
#

@midnight agate you don't need hex there

somber heath
#

I was looking at linux games, and I spotted adventure capitalist being talked about

#

Frodo's Precious Goods.

#

Sorry, Bilbo.

vocal basin
#

5 years ago

#

> incremental games
but what about decremental games?

#

what decrements, is the time of your real life

somber heath
#
ping -c 1 x.x.x.x```The One Ping.
#

ha

vocal basin
#

__all__

#
export = ('MyClass',)
__all__ = export
#

I don't think there's any way at all to hide something in python

#

even closures

#

closures are accesible

#

unlike in JS, iirc

vocal basin
#

!e

def example():
    hidden = "secret"
    def f():
        assert hidden == "secret"
    return f
print(example().__closure__[0].cell_contents)
wise cargoBOT
#

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

secret
vocal basin
#

@rugged root "that's why new discord naming system"

rugged root
vocal basin
#

what a mix of stylistic epochs

#

hover over this

#

this y looks like it's cropped

#

crewmate rotated

#

"Hot tip!"

#

ohno, those cropped "g"s everywhere

rugged root
vocal basin
small hill
#

Can I be unmuted for a min?

#

I'm jus tryna download python3 and the help I got isn't working

#

it seems possible I just know nothing about code

#

Trying to learn

#

thank youu

meager roost
#

Hello people!

#

how are y'all doing?

small hill
#

can I dm you?

meager roost
#

I'm doing good

small hill
#

ok thanks a lot I think that guy was tryna do something to my computer

meager roost
#

I wonder why Quantibility's mute today

small hill
#

ok the wesbite was sketchy and the github said it had 3 views

meager roost
#

@somber heath heyo! how are u doing?

small hill
#

thankyou!

meager roost
#

are you still sneezing?

#

yes yes

#

Is your brain alright?

#

is it functioning?

noble solstice
#

Hii Guys!

meager roost
#

@somber heath how is Quantibility mute today

#

is he afk?

#

prolly

noble solstice
#

to mute anyone!

meager roost
#

๐Ÿ’€ hell naw

#

Opal Mist does have a good tolerance tho

noble solstice
#
Why my laptop automatically shut down if power is less than 20```
meager roost
#

lol

meager roost
noble solstice
meager roost
#

We have Quantibility

#

The huge beast

noble solstice
#

Try after 2 hrs laters

#

and it's work but i don't want to wait for 2 hrs

somber heath
meager roost
noble solstice
#

Anyone ? That's know how to do troubleshoot

noble solstice
meager roost
#

๐Ÿ’€

#

they are

somber heath
meager roost
#

@somber heath yeah

inland imp
#

@meager roost

#

Hei

#

My frns

#

Frnd*

#

Hey guys ..

rugged root
#

How's it going?

inland imp
#

Wbu?

rugged root
#

Haging in there, same ol' same ol'

inland imp
#

Ohk

#

Where u r from?

rugged root
#

I'm in Missouri in the US

#

Yourself?

inland imp
#

I m from india

rugged root
#

Very cool

#

Always happy to have new folks here

inland imp
#

Actually I have to come to America NXT year for my higher studies.

rugged root
#

Excited about it?

somber heath
#

Bleeding edge.

inland imp
#

Yeah I ma

#

Am*

#

I applied for the visa

#

Let's see..

rugged root
#

So what brings you to the server?

inland imp
#

Python is a language I think peoples help each other .. for coding so that's why I joined randomly

rugged root
#

We do try to

inland imp
#

Okh

vocal basin
#

auto-generating comments and summary for code sounds very wrong

inland imp
#

Btw ur doing highschool or ur in University?

rugged root
#

I'm working, just not in the industry

#

I'm 33, for context

inland imp
#

Ohh cool

vocal basin
#

plain text summary, not rendered indices/etc.

#

(i.e. what AI can be used for, as opposed to algorithms)

frail jetty
#

Hey there

rugged root
#

@maiden berry Oh also, you can always talk in here. If we're in voice chat, we'll typically be watching this channel as well so no one gets left out of the convo

vocal basin
#

@dusk raven any wildcard imports?

frail jetty
#

Guys after some months of doing coding , I have discovered this isnโ€™t for me unfortunately

dusk raven
#


from datasets import load_dataset

class CodeXGLUEDataset(BaseDataset):

    def __init__(self, tokenizer, max_length=512):
        
        super().__init__(tokenizer, max_length)
        self.load_funcs = {
            'text-to-code': self.load_codexglue_text_to_code_dataset,
            'code-to-text': self.load_codexglue_code_to_text_dataset,
            'java-to-csharp': self.load_codexglue_java_to_csharp_dataset,
            'code-refinement': self.load_codexglue_code_refinement_dataset
        }
    
rugged root
#

Don't have to push yourself to do it as a job

#

It's purely a hobby for me

dusk raven
frail jetty
dusk raven
final osprey
#

Hey, may I ask a question?
Would like to have voice verification to ask the question

vocal basin
#
from codetf.data_utility.base_dataset import BaseDataset
#

this code base in whole is kind of terrible

#

!pep8 everywhere

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:

vocal basin
#

did they just copy-paste out of Jupyter

#

"keep it in Jupyter, seal it, never let it get out the containment"

final osprey
#

Hey, may I ask a question?

vocal basin
#

what question?

rugged root
vocal basin
#

"State-of-the-art" library

frail jetty
# cerulean ridge wat happened?

Long story short, I have found my new found passion/career that I will dominate at. This industry has too many sharks no lie

vocal basin
#

this repo is so ratio'd

final osprey
rugged root
vocal basin
vocal basin
cerulean ridge
vocal basin
vocal basin
frail jetty
final osprey
#

@rugged root I want to prevent @everyone from seeing the commands in the popup window

vocal basin
cerulean ridge
frail jetty
#

But I made so many friends here so Iโ€™ll stay just to listen to what yโ€™all are up to sometimes. @somber heath @rugged root

vocal basin
final osprey
#

@rugged root all commands except the report_message one

vocal basin
vocal basin
#

maybe the bot itself can specify the preset for this

frail jetty
rugged root
final osprey
#

Alright, I asked here, cuz I almost never get answer there lol

frail jetty
#

Trust me you guys donโ€™t want to be in jail, things that happen there will traumatize you

limber salmon
#

Hi @somber heath

vocal basin
#

UK had a very bad case of when people were sent to jail because of bad software

#

(not the developers of software)

serene folio
#

Hello I'm new here what do you study in security?

somber heath
#

@lucid blade Wouldn't that be LOFIC?

vocal basin
#

wait, how the hell did Anthony Levandowski get out of jail

#

Anthony Levandowski (born March 15, 1980) is a French-American self-driving car engineer. In 2009, Levandowski co-founded Google's self-driving car program, now known as Waymo, and was a technical lead until 2016. In 2016, he co-founded and sold Otto, an autonomous trucking company, to Uber Technologies. In 2018, he co-founded the autonomous tr...

#

> He was pardoned less than six months later on January 20, 2021, the last day of Donald Trump's presidency.

#

though he would've been free by now anyway

vocal basin
#

there was Spectre/Meltdown

vocal basin
#

software patches had extreme performance impacts

somber heath
#

20% or so iirc.

vocal basin
#

can got up to 10x, in some rare cases

spiral pike
#

yo

vocal basin
#

(as far as I read/heard somewhere)

lucid blade
#

Two Common Vulnerabilities and Exposures IDs related to Spectre, CVE-2017-5753 (bounds check bypass, Spectre-V1, Spectre 1.0) and CVE-2017-5715 (branch target injection, Spectre-V2), have been issued.[7] JIT engines used for JavaScript were found to be vulnerable. A website can read data stored in the browser for another website, or the browser's memory itself.

vocal basin
#

religion of denying traffic lights?

vocal basin
#
x = "true" if True else "false"
mild quartz
#

this is cursed

vocal basin
vocal basin
vocal basin
#

return on its own is a keyword
return syntactically can only be a part of return statement

#

(in Python)

rugged root
#

Apologies to anyone who sent me a friend requestion, I typically don't accept them until I get to know folks better

thorn wharf
#
x = False

if x is not True and x is False or x is not not False or x is not True or not x:
  ...
vocal basin
#

pyright might figure out whether or not it's true during type checking

#

!e

x = False

if x is not True and x is False or x is not not False or x is not True or not x:
  ...
wise cargoBOT
#

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

001 |   File "/home/main.py", line 3
002 |     if x is not True and x is False or x is not not False or x is not True or not x:
003 |                                                 ^^^
004 | SyntaxError: invalid syntax
vocal basin
#

not not doesn't work

wise cargoBOT
#

@midnight agate :white_check_mark: Your 3.11 eval job has completed with return code 0.

True
vocal basin
#

*is not not

wise cargoBOT
#

@midnight agate :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | /home/main.py:1: SyntaxWarning: "is" with a literal. Did you mean "=="?
002 |   ':parrot:' is ':parrot:'
wise cargoBOT
#

@midnight agate :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | /home/main.py:1: SyntaxWarning: "is" with a literal. Did you mean "=="?
002 |   '๐Ÿฆ๏ธ' is '๐Ÿฆ๏ธ'
thorn wharf
#

!e

x = 1

1 is x
wise cargoBOT
#

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

001 | /home/main.py:3: SyntaxWarning: "is" with a literal. Did you mean "=="?
002 |   1 is x
rugged root
#

!e

print(1 == True)
print(1 is True)
wise cargoBOT
#

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

001 | /home/main.py:2: SyntaxWarning: "is" with a literal. Did you mean "=="?
002 |   print(1 is True)
003 | True
004 | False
thorn wharf
#
x = 1

print(1 is x)
#

!e

x = 1

print(1 is x)
wise cargoBOT
#

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

001 | /home/main.py:3: SyntaxWarning: "is" with a literal. Did you mean "=="?
002 |   print(1 is x)
003 | True
vocal basin
#

caching for literals/primitives is confusing

somber heath
#

!e py print(object.__repr__(None)) print(hex(id(None)))

wise cargoBOT
#

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

001 | <NoneType object at 0x7f87ee8d3020>
002 | 0x7f87ee8d3020
vocal basin
#

!e

print((10**10) is (10**10))
print((10**1000) is (10**1000))
wise cargoBOT
#

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

001 | /home/main.py:1: SyntaxWarning: "is" with a literal. Did you mean "=="?
002 |   print((10**10) is (10**10))
003 | True
004 | False
thorn wharf
#

!e

x = 1

print(id(1))
print(id(x))
wise cargoBOT
#

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

001 | 140344602907272
002 | 140344602907272
vocal basin
#

!e

s = "5" * 111
print(id(s))
s += "1"
print(id(s))
wise cargoBOT
#

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

001 | 140508288376688
002 | 140508287895664
vocal basin
#

eh

#

I forgot how to

#

!e

def main():
  s = "5" * 111
  for _ in range(10):
    print(id(s))
    s += "1"
main()
wise cargoBOT
#

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

001 | 140546110349168
002 | 140546109868144
003 | 140546109868496
004 | 140546109868144
005 | 140546109868496
006 | 140546109868144
007 | 140546109868496
008 | 140546109868144
009 | 140546109868144
010 | 140546109868144
vocal basin
#

I did it

#

it's worse than I thought it'd be

#

when it's switching back and forth, it's probably just reallocating stuff
but then it starts doing the optimised thing

#

last three lines show how strings are sometimes mutable

vocal basin
vocal basin
rugged root
#

!e

def main():
  s = "5" * 111
  for _ in range(10):
    print(id(s))
    s = s + "1"
main()
wise cargoBOT
#

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

001 | 139966892040048
002 | 139966891559024
003 | 139966891559376
004 | 139966891559024
005 | 139966891559376
006 | 139966891559024
007 | 139966891559376
008 | 139966891559024
009 | 139966891559024
010 | 139966891559024
pallid verge
#

hey guys

vocal basin
#

!e

def main():
  s = "5" * 111
  for _ in range(10):
    s += "1"
  for _ in range(10):
    print(id(s))
    s += "1"
main()
wise cargoBOT
#

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

001 | 140306292361328
002 | 140306292361328
003 | 140306292361328
004 | 140306292361328
005 | 140306292361328
006 | 140306292361328
007 | 140306292361328
008 | 140306292214448
009 | 140306292214448
010 | 140306292214448
vocal basin
pallid verge
#

!e

def main():
 print("is this working ?")
main()
wise cargoBOT
#

@pallid verge :white_check_mark: Your 3.11 eval job has completed with return code 0.

is this working ?
pallid verge
#

ahh

#

this is working

#

!e

def main():
 while true :
   print("hehe spam")
main()
wise cargoBOT
#

@pallid verge :x: Your 3.11 eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "/home/main.py", line 4, in <module>
003 |     main()
004 |   File "/home/main.py", line 2, in main
005 |     while true :
006 |           ^^^^
007 | NameError: name 'true' is not defined. Did you mean: 'True'?
pallid verge
#

!e

def main():
 while True :
   print("hehe spam")
main()
wise cargoBOT
#

@pallid verge :x: Your 3.11 eval job has completed with return code 143 (SIGTERM).

001 | hehe spam
002 | hehe spam
003 | hehe spam
004 | hehe spam
005 | hehe spam
006 | hehe spam
007 | hehe spam
008 | hehe spam
009 | hehe spam
010 | hehe spam
011 | hehe spam
... (truncated - too many lines)

Full output: too long to upload

rugged root
#

#bot-commands

vocal basin
noble solstice
#

@midnight agate question number?

pallid verge
#

@rugged root Daam how you integrate python with the bot ?

vocal basin
#

snekbox

noble solstice
#

take a number i was lightning before thunder

dawn sand
#

guys i have a instagram python bot but it is giving error recently because of instagram recent ui update can anyone help me with making it work again?

vocal basin
#

!rule 5

wise cargoBOT
#

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

vocal basin
#

use API instead

dawn sand
vocal basin
pallid verge
#

@vocal basin someone told me as long as website data is open source web scraping is legal ....but in his case i think instagram doesn't allow web scarping or automation

dawn sand
pallid verge
#

@echo garden never owned one ...but desperatily wants too

vocal basin
dawn sand
echo garden
#

they are a blessing but my god if you get one that sheds pff

vocal basin
pallid verge
#

insta will ban your account

vocal basin
#

as they should

pallid verge
#

hmm

dawn sand
vocal basin
dawn sand
vocal basin
#

stop. reflect on your actions. grow up.

pallid verge
vocal basin
#

@midnight agate why locks?

noble solstice
#
class MyStack:
    from collections import deque
    

    def __init__(self):
        self.stack = deque()

    def push(self, x: int) -> None:
        return self.stack.append(x)
        

    def pop(self) -> int:
        if len(self.stack) != None:
            return self.stack.pop()

        

    def top(self) -> int:
        return self.stack[-1]
        

    def empty(self) -> bool:
        return len(self.stack)==0
        ```
my solution bro!
vocal basin
#

I think the task assumes single-threaded-ness

vocal basin
#

if it needs to be thread-safe

noble solstice
vocal basin
#

You may simulate a queue using a list or deque

rugged root
#

Back in a moment

vocal basin
lucid blade
vocal basin
somber heath
gentle flint
#

The ICAO airport code or location indicator is a four-letter code designating aerodromes around the world. These codes, as defined by the International Civil Aviation Organization and published in ICAO Document 7910: Location Indicators, are used by air traffic control and airline operations such as flight planning.
ICAO codes are also used to i...

#

@somber heath

pallid verge
#

why so silent?

amber raptor
stuck furnace
#

30 hot
20 nice
10 cold
0 ice

amber raptor
#

0-100 for weather

final osprey
#

hey @rugged root its me again,
One question, how do I convert unicode letters into non unicode versions?

Like ร„ would be \u00C4 in python

Do you know a website that can do that or do you know if there is a script?

dusk raven
#

Malta ( (listen) MOL-tษ™, UK also MAWL-tษ™, Maltese: [หˆmษหltษ]), officially the Republic of Malta (Maltese: Repubblika ta' Malta [rษ›หˆpสŠbหlษชkษ tษ หˆmษหltษ]), is an island country in Southern Europe, located in the Mediterranean Sea. It consists of an archipelago, between Italy and Libya. It lies 80 km (50 mi) south of Sicily (Italy), 284 km (176 mi...

final osprey
#

same here

#

I'm from germany too

#

near from the dutch border

#

yeah, I took them down

#

prob in the middle

#

near ddorf

#

Can someone answer my question? KEK

#

One question, how do I convert unicode letters into non unicode versions?

Like ร„ would be \u00C4 in python

Do you know a website that can do that or do you know if there is a script?

#

RIP

#

I have like 7 json files with arabic, turkish etc

#

Rip unicode

vocal basin
#

!e

c = 'ร„'
print(f'\\U{ord(c):08x}')
wise cargoBOT
#

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

\U000000c4
amber raptor
wise cargoBOT
#

:incoming_envelope: :ok_hand: applied timeout to @slate light until <t:1686770914:f> (10 minutes) (reason: attachments spam - sent 8 attachments).

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

rugged root
#

!unmute 651523982364770325

wise cargoBOT
#

:incoming_envelope: :ok_hand: pardoned infraction timeout for @slate light.

rugged root
#

Dude

#

Come on

slate light
rugged root
#

Oooooo

#

That's cool

slate light
#

one of my last work

#

this is one of my favourite I did yesterday

mortal burrow
#

Take a listen to this

rugged root
rugged root
#

@mortal burrow What's up?

#

I'm just trying to find stats at this point

mortal burrow
#

USDS leaders and employees will report to an independent board, not to TikTok or ByteDance executives.

rugged root
#

Right, but who pays that board's checks

#

That was one of the points he made

amber raptor
rugged root
#

Back in a sec

#

!stream 817757858480783371

wise cargoBOT
#

โœ… @finite coral can now stream until <t:1686775673:f>.

gentle flint
lavish rover
#

These pictures are sick

#

Well, the last 2

ebon mist
#
#

??

#

!past

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.

final osprey
#

hey

ebon mist
final osprey
#

@rugged root may I be allowed to talk?

#

just wanted to ask

#

I left the server

#

thats the problem

#

So, i have a python script here:
https://paste.pythondiscord.com/atanenisub

at line 126 I have a context menu named "report_message"

The bot sends a message in a predifined channel

I want the bot to include 2 buttons and a dropdown menu below the embed

Buttons: Go to message (link of reported message) / claim

Dropdown: Options: ban, tempban, mute, tempmute, warn, verbal warn, nothing

When the button "CLAIM" has been clicked, it should change color from blue to green and say "claimed by (user)"

When I chose an action from the dropdown (only one should be chosen), it should say what action has been chosen

#

@ebon mist ^

#

Ham Log

#

yeah, I got the perms to work, but I need to create buttons and dropdowns and it does not work

#

@wind raptor my I ask you a question?

wind raptor
#

sure

final osprey
final osprey
wind raptor
#

I can't and wouldn't grant voice perms. I can only take them away. Everyone goes through the same verification process.

final osprey
#

aight:)

#

I have never worked with discord.py buttons and dropdowns

#

so yeah

#

I don't really understand how to code the dropdowns and buttons etc

#

yes

#

the discord library from python

#

@ebon mist

wind raptor
final osprey
#

yep

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied timeout to @final osprey until <t:1686781217:f> (10 minutes) (reason: newlines spam - sent 113 newlines).

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

wind raptor
#

!unmute 633362749287825418

wise cargoBOT
#

:x: failed to pardon infraction timeout for @final osprey. User was not found in the guild.

wind raptor
vocal basin
#

have you figured out the regex one?

serene viper
#

!voirceverification

wise cargoBOT
#

You are not allowed to use that command.

somber heath
#

@midnight quarry ๐Ÿ‘‹

midnight quarry
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
#

Voice trolls were an issue.

#

Thanks to the voice gate, they are far less of an issue.

midnight quarry
#

Voice trolls?

somber heath
#

People whose idea of a good time is to scream, blow into the microphone, play loud music, shout racial and homophobic epithets and basically be all-round regrettable examples of humanity.

echo garden
#

womens sleeping

#

working on code

#

so im working a self labling feature for my gui

#

sorta, basically im going full dynamic without a stepping stone, im falling all over the place but i got a plan

midnight quarry
somber heath
#

It's painful.

#

It's disruptive.

midnight quarry
midnight quarry
somber heath
#

If you want to scream into your pillow or in the middle of an otherwise empty field, have fun. Just don't do it right into other people's ears.

#

Because if you do that, you're a trash person.

echo garden
#

i made stupid little code to call all variables didn't expect to see how python codes its code

#

heres an example of the output

#

{'tk': <module 'tkinter' from '/usr/lib/python3.10/tkinter/init.py'>, 'TclError': <class '_tkinter.TclError'>, 'NO': 0, 'FALSE': 0, 'OFF': 0, 'YES': 1, 'TRUE': 1, 'ON': 1, 'N': 'n', 'S': 's', 'W': 'w', 'E': 'e', 'NW': 'nw', 'SW': 'sw', 'NE': 'ne', 'SE': 'se', 'NS': 'ns', 'EW': 'ew', 'NSEW': 'nsew', 'CENTER': 'center', 'NONE': 'none', 'X': 'x', 'Y': 'y', 'BOTH': 'both', 'LEFT': 'left', 'TOP': 'top', 'RIGHT': 'right', 'BOTTOM': 'bottom', 'RAISED': 'raised', 'SUNKEN': 'sunken', 'FLAT': 'flat', 'RIDGE': 'ridge', 'GROOVE': 'groove', 'SOLID': 'solid', 'HORIZONTAL': 'horizontal', 'VERTICAL': 'vertical', 'NUMERIC': 'numeric', 'CHAR': 'char', 'WORD': 'word', 'BASELINE': 'baseline', 'INSIDE': 'inside', 'OUTSIDE': 'outside', 'SEL': 'sel', 'SEL_FIRST': 'sel.first', 'SEL_LAST':

echo garden
somber heath
#

globals()?

echo garden
#

yeah

vocal basin
#

python will handle it fine
IDEs won't

echo garden
#

Alisa this was just testing what outputs looked like, i needed data, i pulled it from the most immediate source

vocal basin
#

even random, seemingly unrelated data, often reveals what can potentially be improved in the system which the data is pulled from

echo garden
#

well, i was thinking of a tensor model to utilize it but, jeesus im so distracted from my actual goal its unreal..

#

i should have a limo by now... jk, just further down the code trail i go in distractions

echo garden
limber salmon
#

Hey @somber heath

somber heath
vocal basin
limber salmon
#

How is it there?

#

how cold?

vocal basin
somber heath
#

@brittle gull ๐Ÿ‘‹

stable axle
#

I'll brb

brittle gull
#

hiii

brittle gull
brittle gull