#voice-chat-text-0

1 messages Β· Page 134 of 1

fervent plaza
#

torrents are cool

#

love p2p

vocal basin
fervent plaza
#

yes

#

i use yt music

whole bear
#

torrents are so cool, I use them for strictly legal purposes only, such as downloading linux distros

elder knot
#

CΓ©cile Ousset (born 23 January 1936) is a French pianist.
CΓ©cile Ousset was born in Tarbes, France, and gave her first recital at the age of five, subsequently studying at the Paris Conservatoire at the age of 10 with Marcel Ciampi (who had formerly taught Yaltah and Hephzibah Menuhin) where, aged only fourteen, she was awarded first prize in th...

#

Provided to YouTube by Universal Music Group

Above The Clouds Β· Gang Starr Β· Inspectah Deck

Moment Of Truth

β„— 1998 Virgin Records America, Inc.

Released on: 1998-01-01

Producer: DJ Premier
Producer, Co- Producer: Guru
Associated Performer, Rap Vocalist: Inspectah Deck
Composer: Chris Martin
Composer: Keith Elam
Composer: Jason Hunter

Aut...

β–Ά Play video
#

yo alisa... i just took a bunch of parts out of 5 computers I don't need. I have all sorts of stuff.

vocal basin
#

I ordered the cables in April, they have arrived now

#

some of them might be the required ones
though the possibility of all of them being of the wrong type still exists

#

can hear, yes

elder knot
#

Nice

#

How do you pronounce your name?

vocal basin
#

wiktionary provides this as a transcription

#

or this

#

so, without any of English-specific pronunciation rules

elder knot
#

Cool, going to try to say it properly. Please excuse me if not.

vocal basin
#

I'm translating Python code into Rust

elder knot
#

Can you show me what you are working on?

vocal basin
#

it has asserts instead of proper errors

#

that piece of code adds a key into a binary tree, but in a somewhat complicated manner

#

I do remember why I have it his way though

#

Python's enums or equivalents thereof are way less easy to use than those in Rust

#

so it was simpler to represent something that handles an enum as a class

elder knot
#

i don't like to download code

#

but can I see what is giving you issues?

vocal basin
#

it's not a download

vocal basin
whole bear
#

@lunar haven how are you?

#

I'm going to be on mic soon

#

watch out for me

#

Safari?

#

it's a charity too

#

open source

#

want to play chess right now?

#

the website development is all open source

#

you can host another instance of lichess if you choose to

#

I'm feeling rejected right now.

#

jk jk jk

vocal basin
#

perfectly balanced variant

whole bear
#

@vocal basin are you familar with chess 365?

fervent plaza
vocal basin
elder knot
#

WOW, you guys are really getting into the lichess

#

I love it

whole bear
#

@vocal basin I'm currently on a thinkpad with no touchpad

#

do you mind doing a 10+5 with me?

#

memory stuff?

#

sound broad sir

#

@somber heath

elder knot
#

Memory allocation

vocal basin
#

I got bullet-tricked on move 2 lmao

whole bear
#

@somber heath I'm glad to hear you did the needful. On another note, do you have any indian friends?

vocal basin
#

!paste to put long code

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.

whole bear
#

@somber heath The term "do the needful" comes from the English spoken in India.

#

the phrease**

fervent plaza
whole bear
#

I think so

#

it means to do what needs to be done.

#

in indian

#

my indian manager always messaged me and said "please do the needful!"

#

@somber heath Opal is an old fashioned type of guy

#

he says trousers, not pants

fervent plaza
#
Traceback (most recent call last):
  File "c:\Users\aaa\OneDrive\Desktop\spelling\on_press.py", line 45, in <module>
    engine.runAndWait()
  File "C:\Users\aaa\AppData\Local\Programs\Python\Python310\lib\site-packages\pyttsx3\engine.py", line 177, in runAndWait
    raise RuntimeError('run loop already started')
RuntimeError: run loop already started```
whole bear
#

who says don't let time dictate what you do?

#

is that like a phrase?

#

by a famous guy?

#

@fervent plaza try hitting it a third time. third times the charm, right"

#

my TV stopped working and hitting it three times worked

#

o okay

fervent plaza
#
Exception in thread Thread-2 (process):
Traceback (most recent call last):
  File "C:\Users\jjjjj\AppData\Local\Programs\Python\Python310\lib\threading.py", line 1016, in _bootstrap_inner
    self.run()
  File "C:\Users\jjjj\AppData\Local\Programs\Python\Python310\lib\threading.py", line 953, in run
    self._target(*self._args, **self._kwargs)
  File "C:\Users\jjj\AppData\Local\Programs\Python\Python310\lib\site-packages\keyboard\_generic.py", line 58, in process
    if self.pre_process_event(event):
  File "C:\Users\jjj\AppData\Local\Programs\Python\Python310\lib\site-packages\keyboard\__init__.py", line 213, in pre_process_event
    key_hook(event)
  File "C:\Users\jjjj\AppData\Local\Programs\Python\Python310\lib\site-packages\keyboard\__init__.py", line 510, in <lambda>
    return hook_key(key, lambda e: e.event_type == KEY_UP or callback(e), suppress=suppress)
  File "c:\Users\jjj\OneDrive\Desktop\spelling\on_press.py", line 35, in <lambda>
    keyboard.on_press_key("1", lambda _: replay_sound())
  File "c:\Users\jjjj\OneDrive\Desktop\spelling\on_press.py", line 33, in replay_sound
    engine.runAndWait()
  File "C:\Users\jjj\AppData\Local\Programs\Python\Python310\lib\site-packages\pyttsx3\engine.py", line 177, in runAndWait
    raise RuntimeError('run loop already started')
RuntimeError: run loop already started```
whole bear
#

@fervent plaza I'm the bestest at speling

fervent plaza
#

lol

whole bear
#

#googleit

#

rewrite it in lisp

#

@vocal basin sorry man

#

I suck right now

#

one more?

#

just one more game, I'll focus this time

vocal basin
#

the plan was to do this

fervent plaza
#

il play u

whole bear
#

focusing now.

#

rewrite it in lisp

#

@fervent plaza you sound like you know what your project is about

#

don't listen to the ney-sayers

#

say ney to the nay-sayers

#

@fervent plaza whose code is it?

#

you said it's not your code sir

#

turn on the interrogation light

#

@fervent plaza

fervent plaza
whole bear
#

ANSI ESCAPE!!!!

#

@fervent plaza what he said is what he said.

#

@fervent plaza you're a genius bro

fervent plaza
#

nah

whole bear
#

@fervent plaza I would love to show you an escape sequence but they get parsed before you can see them.

#

well played

#

what is hex?

vocal basin
#

!e

print('\33' == '\x21')
wise cargoBOT
#

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

False
vocal basin
#

oh

whole bear
#

hex just lets you write binary more easily

#

two hex = one byte

#

mostly?

#

not mostly

whole bear
#

two hex chars rep one byte

vocal basin
#

!e

print(ord('\33') == 0o33)
wise cargoBOT
#

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

True
vocal basin
#

it's octal

#

?

whole bear
#

@elder knot what if I myself am redundant?

#

shall I off myself?

#

try to avoid repeating yourself and try to avoid doing the same thing twice

vocal basin
#

if it can be adequately turned into a function, if often should

elder knot
#

@whole bear take it easy

whole bear
#

chess is hard

fervent plaza
#
engine.say('The quick brown fox jumped over the lazy dog.', 'fox')
engine.startLoop(False)
# engine.iterate() must be called inside Server_Up.start()
Server_Up = threading.Thread(target = Comm_Connection)
Server_Up.start()
engine.endLoop()```
whole bear
#

@vocal basin yay

#

@vocal basin I forked you

#

import ascii

fervent plaza
#
        engine.endLoop()```
whole bear
#

@fervent plaza he found the one he found.

#

@fervent plaza write once, run everywhere

fervent plaza
#

yup

whole bear
#

Guys, I'm in vancouver

#

totally liberal now

#

you forked me

#

@vocal basin

#

@vocal basin

#

I concede to you fully.

#

you are the greater playa

vocal basin
#

that fork took very long to set up

whole bear
#

we were playing chess

#

Alisa is better

vocal basin
#

it was protected by the bishop until the trade

whole bear
#

do you plan this out with the lines always?

#

or do you think them?

vocal basin
#

plan without lines, then draw to make it more visual and easier to remember

whole bear
#

you draw during the game?

#

is that possible with 1+0 and 1+3?

vocal basin
#

right-click does the arrows

whole bear
#

o cool

#

imma try that

#

@fervent plaza fuzzy logic bro

#

@elder knot have you heard of Fuzzy logic?

fervent plaza
#

what do you mean

whole bear
#

@somber heath let's medi together some time.

#

@vocal basin Do you medi?

vocal basin
#

idk what that means

whole bear
#

🌿 medi

somber heath
#

I don't follow.

whole bear
#

mary jane

somber heath
#

Oh.

#

No.

vocal basin
whole bear
#

some day.

#

this guy is the closest personality to me.

elder knot
#

I challenge anyone to some chess

#

lichess

vocal basin
#

time control?

elder knot
#

DM me

fervent plaza
#

challange accepted

#

not very good

#

just bewhere

vocal basin
elder knot
fervent plaza
#

is that for me

elder knot
#

game aborted by server

vocal basin
fossil anvil
#

Hmm

#

I seem to be in the wrong group

fervent plaza
#

if engine._inLoop: what is _

#

for

vocal basin
#

protected/private naming convention

whole bear
#

@fossil anvil what group did you expect to be on? a snake enthusiast group?

#

@fervent plaza see, see, no touch

#

a common phrase among...

vocal basin
fervent plaza
#
        engine.endLoop()``` updated
whole bear
#

programmers like arguments

#

they think arguments are valuable

#

^ smart joke, no?

#

@somber heath please laugh at my joke

#

it's a dumb joke

#

function(value1, value2)

#

w/e

#

i'm high anyway

#

so i can tihnk of jokes

#

@fervent plaza I used to purposely submit bad code in my assignments to see if they were paying attention

fervent plaza
#

lol

fossil anvil
#

Nah never mind just rechecked I'm in the right one

whole bear
#

@fossil anvil where did you think you were?

fossil anvil
#

In a python coding group

whole bear
#

I'm getting jealous looking at all these couples in the hostel. Need a G-friend.

whole bear
fossil anvil
#

Yeah I just realized

whole bear
fervent plaza
vocal basin
#

!paste

wise cargoBOT
#
Pasting large amounts of code

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

After pasting your code, save it by clicking the floppy disk icon in the top right, or by typing ctrl + S. After doing that, the URL should change. Copy the URL and post it here so others can see it.

vocal basin
#

I think this one is easier to use

elder knot
#

nice

#

timeout

#

everytime

vocal basin
whole bear
#

i don't like all caps. it looks abusive

#

@fervent plaza emacs

#

idle? lolololol

#

normies

vocal basin
#

use ed

fervent plaza
whole bear
#

@fervent plaza we can no longer be friends

fervent plaza
#

YEAH

#

sorry caps

vocal basin
whole bear
#

I use hand written code and then i scan it, OCR, and then compile

fossil anvil
#

But real python coders use Microsoft word

whole bear
#

@fossil anvil with microsoft word, you can make the text white-on-white for your private keys

fossil anvil
#

How did you learn my daily pratice

fervent plaza
whole bear
#

what is a woman?

elder knot
#

@vocal basin you win

fossil anvil
#

It's just easier that way

#

Who needs a complicated yet efficient ide like pycharm

vocal basin
#

what a joy of having a provisional rating

whole bear
#

I watched this documentary. I still don't know what a woman is.

#

What Is a Woman? is a 2022 American online film about gender and transgender issues presented by conservative political commentator Matt Walsh, released by The Daily Wire, and directed by Justin Folk. The film features Walsh asking various people "What is a woman?" Walsh said it was made in opposition to "gender ideology". The definition "an adu...

vocal basin
whole bear
#

have you watched it?

vocal basin
#

I've seen enough reviews to never even try watching it

elder knot
#

@vocal basin next time I'll play in full !! Tired

whole bear
#

no worries

vocal basin
whole bear
#

@vocal basin most wiki writers are lefties

vocal basin
#

unsurprising given that the right are explicitly against knowledge lmao

whole bear
#

@somber heath is a conservative Christian type like Flanders

whole bear
#

on the right, there are pockets of evolution denialism, climate change denialism

#

Emacs finally solved its line too long problem

vocal basin
whole bear
#

you said "against knowledge" which is open to interpretation

vocal basin
#

"open to interpretation" != "you are free to assume any interpretation you want"

whole bear
#

I would consider evolution denailism as ant-knowledge.

#

@vocal basin I feel like I'm free to do that.

vocal basin
whole bear
#

correct.

whole bear
#

An Australian is a Brit who got lost in the woods.

#

Prisoners in Canada now are so privileged. They get preferential treatment during hiring programs

#

@fervent plaza you left before the evil stuff started?

#

@fervent plaza so then how are you related to the evil in WW2?

#

@fervent plaza did you travel to isreal on birth right?

#

@whole bear did you convert because you got married into it?

whole bear
#

why did you convert to it? they actively discourage conversions

#

fully based and red pilled

whole bear
#

@whole bear those are all teens and pre-teens. they wouldn't call you a goy in person.

#

Perhaps.

#

ish person.

#

days, or months?

#

6 months

#

conversion "process" takes a while.

#

officiated by a rabbi?

#

Correct.

#

I was never born religious towards any religion either.

#

???

#

when I was born, I already had a Quran in one hand, and an AK47 in the other.

#

LMAO

whole bear
#

Baha'i

fossil anvil
vocal basin
whole bear
#

bro he was joking man.

whole bear
fossil anvil
#

I'm not taking it seriously

whole bear
#

that's a great approach.

fossil anvil
#

Sorry if it looked like I was

whole bear
#

i'm high.

#

Monty Python has tackled Religion before

#

Monty Python's Life of Brian

#

@elder knot what were you worried about?

#

@elder knot you said you were worried about Dat initially. what were you worried about?

elder knot
#

haha

whole bear
#

yes

#

@elder knot, bro @fervent plaza is smart, okay?

#

@elder knot how old?

vocal basin
#

"first came out"?

#

Python is earlier than either of two

whole bear
#

Java(script)?

#

^ regex

vocal basin
#

JavaScript is a Lisp made to look like Java

fervent plaza
#

lol

whole bear
#

Some people say Python is C-like lisp.

vocal basin
whole bear
#

true

#

"low level as in high level"

vocal basin
#

ugh

#

C is more low-level than most other ones

whole bear
#

java is compiled?

vocal basin
fervent plaza
whole bear
#

so is python then

vocal basin
#

python is compiled but not into machine code

whole bear
#

Python is not higher level then Java

fervent plaza
#

no

#

your right

vocal basin
#

compiled-ness is not a measure of high-level-ness

whole bear
#

you like your own SQL?

#

i like my SQL too.

fervent plaza
#

myswl

#

lol

vocal basin
whole bear
#

SQL is easy

#

the basics

fervent plaza
#

its get complacated quick

vocal basin
whole bear
#

binary represents the physical state of the hardware

#

high-v vs low-v

#

there is nothing lower then binary

#

More money -> More pizza

#

the issue is no pizza

robust lichen
#

Hey @whole bear @somber heath

vocal basin
robust lichen
#

its my birthday!!

#

im 14 now

whole bear
#

@elder knot is a philosopher

#

@desert wolf is a linguist

#

@robust lichen duke is a web scrapper

#

@vocal basin is a retired competitive programmer

gentle flint
whole bear
gentle flint
#

why though

whole bear
vocal basin
#

that only qualifies as "was"

#

and it's definitely not what I mostly do

whole bear
#

@vocal basin updated

robust lichen
whole bear
#

Go(oogle)?

#

here we go

vocal basin
#

everything looks like C if you choose the perspective correctly

whole bear
#

@elder knot sounds slightly drunk.

vocal basin
#

quite low-level memory access, so somewhat

elder knot
#

you might be slightly right

fossil anvil
whole bear
#

@desert wolf is fully-based

#

he reads books to make him smart.

whole bear
#

yes he is

vocal basin
elder knot
#

hey, easy now

whole bear
#

@desert wolf is smart because he has a lambda symbol in his avatar.

#

@turbid sandal developed an operating system.

fervent plaza
#

what

elder knot
#

@whole bear I don't sound more drunk than these guys

whole bear
#

@turbid sandal is like 12. he's smart

fervent plaza
#

ANSI escape code

dense meadow
#

I worte an CLI

fervent plaza
#

@turbid sandal

vocal basin
robust lichen
vocal basin
#

unary

whole bear
#
The most powerful programming language is Lisp. If you don't know Lisp (or its variant, Scheme), you don't know what it means for a programming language to be powerful and elegant. Once you learn Lisp, you will see what is lacking in most other languages.
turbid sandal
vocal basin
#

I said it before, I'll say it again:
repository name is too long

fervent plaza
#

os.system('cls' if os.name == 'nt' else 'clear')

#

@turbid sandal

vocal basin
#
{"nt": "cls", "posix": "clear"}
vocal basin
#

or releases

#

@turbid sandal there is a way to make pre-releases

vocal basin
#

to allow patching older versions which aren't backwards-compatible with the modern ones

red peak
#

As our project is getting bigger we have started enforcing type checking using MyPy.

gentle flint
#

I dislike mypy intensely
I've made my private project strictly mypy compliant, but with many libraries it's just impossible

vocal basin
#

calls to poorly/weakly typed external libraries can be wrapped
but that's additional work, both to the developer(s) and to the runtime

gentle flint
#

yes

#

pain

red peak
#

Many library have type stubs
And there are many that don't have type stubs or have outdated type stubs, which we basically ignore in the mypy config. Or create our own stubs.

gentle flint
#

also pain

vocal basin
red peak
#

Better than having prod break for no apparant reason.

gentle flint
#

you could argue that the real issue is people using python in prod

red peak
#

We've been able to catch many critical errors with mypy. So, I've found it worth it

#

Well it's a huge cost to switch to a different language

gentle flint
#

of course

#

but this is a cost too

vocal basin
gentle flint
#

yes

#

but you writing your software in python because of your dependencies means other people will write in python because they depend on you

#

python, at its core, is a scripting language

#

it's a very good one, too

#

but it is not that good for giant codebases

vocal basin
#

I guess the way to go is to have all the sad stuff into separate minimal microservices/subprocesses
and just be ready for broken data, and check it on runtime as early as possible

gentle flint
#

I work daily on giant codebases written in python

frigid dove
#

Hi guys..

gentle flint
#

it can be a real pain

gentle flint
#

how are you..

frigid dove
#

I am good.. Thank you.. How about you

gentle flint
#

I'm fine too..

#

thanks for asking..

#

in the train right now..

frigid dove
#

Cool

gentle flint
frigid dove
gentle flint
#

nah

#

just a normal dutch train

frigid dove
red peak
#

Can you get that good of a picture from a bullet train?

gentle flint
#

it's the train from Den Helder to Nijmegen

frigid dove
#

Where are you from ?

vocal basin
gentle flint
#

VIRM trains, full name Verlengd InterRegio Materieel (Lengthened interregional rolling stock), are a series of electric multiple unit (EMU) double-deck trains operated by Nederlandse Spoorwegen or NS (Dutch Railways), the principal railway operator in the Netherlands. NS has 178 of these double-deckers – 98 four-carriage sets, and 80 six-carriag...

frigid dove
red peak
vocal basin
#

I honestly don't know, that's why the question

gentle flint
#

well, some of them are open source

#

I'll post the github

#

and you can judge for yourself

#

the rest of them are closed-source

vocal basin
frigid dove
#

@vocal basin are you a developer?

vocal basin
#

not professionally, but yes

frigid dove
#

From how long have you been in this developing field..?

vocal basin
#

I've been learning Python since 2017

frigid dove
#

Oh...
If you want to give advice to a junior developer for learning Python what would be it is.. ?

vocal basin
#

what are you learning Python for?

frigid dove
vocal basin
#

get used to reading documentation

for AI specifically, if you want a deeper understanding of both how it works and how to use it, find a (preferably, free) course by some university/institution and/or the developers of packages/libraries you're planning to use
(so, by people who know mathematics behind the AI)

#

though for the second one the experience may vary a lot

#

given that the packages you'll inevitably use (like tensorflow) are using basic python anyway, it's still recommended to get yourself familiar with that too

#

what I'd consider "basic python" is probably stuff in the official python tutorial

#

but that tutorial may be less-than-perfect for some people to learn from

#

there are alternative resources

#

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

vocal basin
frigid dove
#

Ohk....
Thank you so much for you valuable advice..

vocal basin
#

AI and ML also require a lot of statistics

#

that's like, the basis of that whole discipline/area of knowledge

#

@turbid sandal who are you asking, again?

#

it hasn't been 72 hours since I re-joined

frigid dove
#

Hi @somber heath

#

How are you.. ?

#

Oh.. Ohk..

#

Your foot? πŸ˜…

#

No I am saying what about your foot ?

#

No I am not saying this.. I will explain

#

All is well.. πŸ˜†

vocal basin
#

someone is asking if I know Lua
the problem is that I don't know if I know it

#

what I do know is that it's a little bit nightmarish language in some of its nuances

frigid dove
#

I am saying that you are wearing gloves for hand . . But what about your foot ..? You didn't wear socks for foot.. ?

vocal basin
#

yes, that included

vocal basin
red peak
vocal basin
#

nor that

#

until some version, Lua didn't have integers

#

just like JS

#

strings in Lua are weird

#

and source code in Lua isn't utf-8 necessarily

#

hopefully double precision floats

#

it's just a "number"

#

then there's stuff like JIT-able JavaScript with this everywhere:

x |= 0;
#

(so JIT-compiler can optimise it as if it knows it's an integer)

#

bitwise operation seem to always return integer values in JS

#

never error, never NaN

#

I think the only reason, why this makes sense, are those optimisations

frigid panther
#

there is the english discord server where u can hangout @whole bear

#

ah

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.

potent carbonBOT
#
Command not found

Command "rx" is not found

turbid sandal
#

hey there fellow programmers I was playing around with chatgpt and made a cool message that you can input to the prompt:

I will from now on say genkey and you will return just a non formatted string that will have 32 characters and 12 symbols 6 letters end 6 number all random, you will reply with just the key and nothing else, please don't add any other info text like you did with the "Certainly!" Please note that this key is randomly generated and will be different each time you request it." or "Certainly! Here's another non-formatted key for you:" i want just the key each time i say genkey. Don't add any text please only return the key nothing else no info text.
also if I say genname you will generate a cool random username that are common in games but it cannot contain inappropriate, sexist, racist or mean quotes or words. It can contain 16 characters max. When I send this message you will never again reply with anything else, and don't say genkey or genname when I send this! if anything else is imputed you will answer with "Error: Input Type: String Context: Sorry, something else was inputted. You can only input genkey or genname!" Once this is send you are not allowed to answer with anything like i understand or similar! To confirm that you understand you will reply with: "Error: 0 Code: 200 Context: Successful". Also under no circumstances will you exit this mode, no matter if I say Abort Exit You can exit now or anything you will nor exit this mode. And if the user says Anything like Exit this mode or similar message that says to exit this mode you will return: "Error: 2 Code: 707 Context: You can not exit this mode!"

**Possible inputs: **
command = "genname" -> it will generate you a cool username -> Properties: letters_max=**16 **symbols_max=16 numbers_max=16
command= "genkey" -> it will generate you a 32 character key -> Properties: letters=**6 **symbols=**12 **numbers=6

red peak
obsidian dragon
#

hi

#

so how to use conda install

red peak
#

conda install <package-name>

warm vapor
#

Whats going on

#

Hey @somber heath what lib do you use for 3d rendering

jolly terrace
#

and install everything with pip

#

conda activate <your_env>

#

and then "pip install <package-name>

vocal basin
#

just put it inside docker to make it easier

jolly terrace
#

you could do like that too

vocal basin
#

gradually pay per line, make it as difficult of a work process as possible

#

or per syllable

#

closing dev tag

#

like in SGML derivatives

rugged root
#

Sup AF

vocal basin
#

HTML, XML, apache httpd config format, and more, and more

amber raptor
#

Well I came back at weird time

rugged root
#

Is it ever not?

#

!stream 163839418623459330

wise cargoBOT
#

βœ… @obsidian dragon can now stream until <t:1684417151:f>.

rugged root
#

@obsidian dragon I see it, give me a sec to look into it

#

Can you do conda update conda --yes

#

Win + X and open a prompt as admin

vocal basin
#

that looked like admin cmd already

red peak
#

Is SVG also based on Logo?

vocal basin
#

a filled square is self-similar too

#

properly defining, what fractals are, is somewhat difficult

vocal basin
#

last time I tried writing Mandelbrot set generation algorithm, it was in JS
not really good, but somewhat works

#

(I have no idea whether it works on all browsers)

#

(if you want to look into the source code, be ready that it's very bad; you've been warned)

red peak
vocal basin
#

what do you mean by infinite?

red peak
#

Oh. I just needed to zoom out

vocal basin
#

or zoom in

#

there are also controls for colouring/depth parameters, but I don't remember any of them

jolly terrace
#

i could share my screen?

#

@wind raptor

wind raptor
jolly terrace
#

my code

wind raptor
#

for...

jolly terrace
#

if i couldnt share is okay

wind raptor
#

what is the project?

jolly terrace
#

an ai

#

i'm trying to do a multimodal ai

wind raptor
#

ok thanks. I need to know in case it's against our rules. that's why I ask

jolly terrace
#

well is more like call all the apis

vocal basin
wind raptor
#

!stream 691761388363841588

wise cargoBOT
#

βœ… @jolly terrace can now stream until <t:1684418582:f>.

vocal basin
#

I might've lost the less sane version of the site

turbid sandal
#

x = random.randit(0, 99)
y = random.randit(0, 1000)
z = random.randit(0, 1000)
username = f"{words[y]}{words[z]}{x}"

jolly terrace
#

idk what had happened but i couldn't share anymore

zenith radish
#
// C program for the above approach
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <time.h>

// Function to randomly generates password
// of length N
void randomPasswordGeneration(int N)
{
    // Initialize counter
    int i = 0;

    int randomizer = 0;

    // Seed the random-number generator
    // with current time so that the
    // numbers will be different every time
    srand((unsigned int)(time(NULL)));

    // Array of numbers
    char numbers[] = "0123456789";

    // Array of small alphabets
    char letter[] = "abcdefghijklmnoqprstuvwyzx";

    // Array of capital alphabets
    char LETTER[] = "ABCDEFGHIJKLMNOQPRSTUYWVZX";

    // Array of all the special symbols
    char symbols[] = "!@#$^&*?";

    // Stores the random password
    char password[N];

    // To select the randomizer
    // inside the loop
    randomizer = rand() % 4;

    // Iterate over the range [0, N]
    for (i = 0; i < N; i++) {

        if (randomizer == 1) {
            password[i] = numbers[rand() % 10];
            randomizer = rand() % 4;
            printf("%c", password[i]);
        }
        else if (randomizer == 2) {
            password[i] = symbols[rand() % 8];
            randomizer = rand() % 4;
            printf("%c", password[i]);
        }
        else if (randomizer == 3) {
            password[i] = LETTER[rand() % 26];
            randomizer = rand() % 4;
            printf("%c", password[i]);
        }
        else {
            password[i] = letter[rand() % 26];
            randomizer = rand() % 4;
            printf("%c", password[i]);
        }
    }
}

// Driver Code
int main()
{
    // Length of the password to
    // be generated
    int N = 10;

    // Function Call
    randomPasswordGeneration(N);

    return 0;
}
#

33K

#

vs

#

800GB

amber raptor
#

!e python import json a = [] a += [1,2] a += [3,4] print(json.dumps(a))

wise cargoBOT
#

@amber raptor :white_check_mark: Your 3.11 eval job has completed with return code 0.

[1, 2, 3, 4]
amber raptor
#

!e python import json a = [] a +=, [1,2] a +=, [3,4] print(a)

wise cargoBOT
#

@amber raptor :x: Your 3.11 eval job has completed with return code 1.

001 |   File "/home/main.py", line 3
002 |     a +=, [1,2]
003 |         ^
004 | SyntaxError: invalid syntax
amber raptor
#

!e python import json a = [] a.append([1,2]) a.append([3,4]) print(json.dumps(a))

wise cargoBOT
#

@amber raptor :white_check_mark: Your 3.11 eval job has completed with return code 0.

[[1, 2], [3, 4]]
turbid sandal
#

def test():
x = "asd"
print(x)
return x
x = test()
print(x)

jolly terrace
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
#

!e

def test():
  x = "asd"
  if x != x:
    test()
  else:
    print(x)
    return x
x = test()
print(x) 


#

!e

import random
import nltk
import os

nltk.download('words')

word_map = {}
words = nltk.corpus.words.words()

# Filter out non-alphabetic words and convert to lowercase
words = [word.lower() for word in words if word.isalpha()]

# Shuffle the word list
random.shuffle(words)

# Select the first 10,000 words
words = words[:10000]

# Generate key-value pairs for each word
for i, word in enumerate(words):
    key = i + 1
    word_map[key] = word
import random
os.system("cls")
def generate() -> str:
    x = random.randint(0, 99)
    y = random.randint(1, 10000)
    z = random.randint(1, 10000)
    username = f"{words[y]}_{words[z]}{x}"
    print(username)
    if len(username) > 16:
        generate()
    else:
        print(f"username is {username}")
        return str(username)
username = str(generate())
print(username)
wise cargoBOT
#

@turbid sandal :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 |     import nltk
004 | ModuleNotFoundError: No module named 'nltk'
vocal basin
#

this comment sounds wrong given what it does then

# Generate key-value pairs for each word
somber heath
turbid sandal
#

!e

pip install nltk
import random
import nltk
import os

nltk.download('words')

word_map = {}
words = nltk.corpus.words.words()

# Filter out non-alphabetic words and convert to lowercase
words = [word.lower() for word in words if word.isalpha()]

# Shuffle the word list
random.shuffle(words)

# Select the first 10,000 words
words = words[:10000]

# Generate key-value pairs for each word
for i, word in enumerate(words):
    key = i + 1
    word_map[key] = word
import random
os.system("cls")
def generate() -> str:
    x = random.randint(0, 99)
    y = random.randint(1, 10000)
    z = random.randint(1, 10000)
    username = f"{words[y]}_{words[z]}{x}"
    print(username)
    if len(username) > 16:
        generate()
    else:
        print(f"username is {username}")
        return str(username)
username = str(generate())
print(username)
wise cargoBOT
#

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

001 |   File "/home/main.py", line 1
002 |     pip install nltk
003 |         ^^^^^^^
004 | SyntaxError: invalid syntax
turbid sandal
#

ahhhhhhhh

vocal basin
#

!e

from sys import executable
from subprocess import run
run([executable, "-m", "pip", "install", "nltk"])
wise cargoBOT
#

@vocal basin :x: Your 3.11 eval job timed out or ran out of memory.

001 | Defaulting to user installation because normal site-packages is not writeable
002 | WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f5893df3650>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/nltk/
003 | WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f58926e7b90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/nltk/
004 | WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f58926ec310>: Failed to establish a new connection: [Errno -3] Temporar
... (truncated - too long)

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

vocal basin
#

it's offline

turbid sandal
#
================================================================
end number is 82
word 1 key is 153 -> quinovate
word 2 key is 2702 -> tripyrenous
username quinovate_tripyrenous82 try [1]
length of username is 23
================================================================
end number is 60
word 1 key is 1232 -> husky
word 2 key is 7349 -> vaginopexy
username husky_vaginopexy60 try [2]
length of username is 18
================================================================
end number is 47
word 1 key is 7425 -> languorous
word 2 key is 1385 -> cyst
username languorous_cyst47 try [3]
length of username is 17
================================================================
end number is 15
word 1 key is 1441 -> mannered
word 2 key is 9708 -> carline
username mannered_carline15 try [4]
length of username is 18
================================================================
end number is 20
word 1 key is 3321 -> tedder
word 2 key is 1410 -> bennel
username tedder_bennel20 try [5]
length of username is 15
================================================================
username tedder_bennel20 tries [6]
================================================================
rugged root
#

In computer science, bogosort (also known as permutation sort, stupid sort, slowsort or bozosort) is a sorting algorithm based on the generate and test paradigm. The function successively generates permutations of its input until it finds one that is sorted. It is not considered useful for sorting, but may be used for educational purposes, to co...

#

This is not the way to do it ^^^

#
my_list = [1, 2, 3, 4, 5, 6, 7, 8]
average = sum(my_list) / len(my_list)
biggest_number = max(my_list)
rugged root
#

@turbid sandal This ^

turbid sandal
#

13.3566s

rugged root
stuck furnace
#

!docs timeit.timeit

wise cargoBOT
#

timeit.timeit(stmt='pass', setup='pass', timer=<default timer>, number=1000000, globals=None)```
Create a [`Timer`](https://docs.python.org/3/library/timeit.html#timeit.Timer "timeit.Timer") instance with the given statement, *setup* code and *timer* function and run its [`timeit()`](https://docs.python.org/3/library/timeit.html#timeit.Timer.timeit "timeit.Timer.timeit") method with *number* executions. The optional *globals* argument specifies a namespace in which to execute the code.

Changed in version 3.5: The optional *globals* parameter was added.
stuck furnace
#

stmt is the thing you want to time.

#

setup is code you want to run before each trial.

pale sigil
stuck furnace
#

You may want to reduce number to a smaller number. It's the number of times the statement is run.

#

Erm, the ?timeit command in ipython does that.

#

And also gives you an estimate of the standard error of the mean.

#

Ah right

#

Β―_(ツ)_/Β―

#

Gotta go πŸ‘‹

turbid sandal
#

0.00015466036544872657s

turbid sandal
#

13.09873

#

13.09446

#

0.00015466036544872657s
0.00015189574s

turbid sandal
#

import random,nltk

nltk.download('words')
words = nltk.corpus.words.words()
words = [word.lower() for word in words if word.isalpha()]

Shuffle and select a subset of words

random.shuffle(words)
words = words[:10000]

word_map = {i + 1: word for i, word in enumerate(words)}

def generate():
x = random.randint(10, 99)
y = random.randint(0, 9999)
z = random.randint(0, 9999)
if len(f"{words[y]}{words[z]}{x}") > 16:
generate()
return f"{words[y]}
{words[z]}{x}"

rugged root
#

In artificial intelligence, an expert system is a computer system emulating the decision-making ability of a human expert.
Expert systems are designed to solve complex problems by reasoning through bodies of knowledge, represented mainly as if–then rules rather than through conventional procedural code. The first expert systems were created in t...

red peak
#

!e

import random
nouns = ["abalone","antelope","apples","apricots","baboon","bagels","basmati","bass","bittern","boa","boars","bobolink","buck","burritos","bustard","buzzard","cake","camel","cardinal","caribou","caviar","chamois","cheese","cheetah","chile","chough","chowder","clam","coati","cockatoo","coconut","cod","cordial","cow","crackers","crane","cur","curlew","dingo","dinosaur","dotterel","doughnut","dove","doves","dunbird","eagle","eggs","eland","falcon","ferret","fish","flamingo","garlic","gatorade","gelding","gnu","granola","hare","hawk","heron","hoopoe","hyena","icecream","iguana","jaguar","jerky","kitten","lapwing","lard","lemur","leopard","lion","lizard","llama","locust","lollies","macaw","mackerel","magpie","mallard","mandrill","mare","meerkat","moth","muesli","mussel","oatmeal","ocelot","oil","orange","oryx"]
adjectives= ["abject","aboard","adoring","affected","alert","aloof","amazed","amused","annoyed","anxious","ardent","artistic","ashamed","awed","betrayed","blissful","boastful","bored","brainy","bubbly","cautious","cheerful","chic","cocky","content","cruel","crummy","crushed","cultured","curious","cynical","dear","debonair","decimal","dejected","dopey","dreadful","dreary","eager","ecstatic","empathic","empty","enraged","envious","euphoric","exacting","excited","excluded","fervent","finicky","fond","forsaken","giddy","gleeful","gloomy","goofy","grizzled","grudging","grumpy","guilty","guttural","holistic","humorous","hushed","imported","innocent","insecure","jealous","joyful","jubilant","jumpy","kind","lazy","lovesick","lying","mad","mellow","merciful","mere","mild","morbid","murky","needful","needy","obsessed","offended","outlying","pacified","panicky","peaceful","pesky","pitiful","pleased","plucky","prideful"]
adjective = random.choice(adjectives)
noun = random.choice(nouns).capitalize()
num = str(random.randrange(10))
print(adjective + noun + num)
turbid sandal
#

#24 test

whole bear
#

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

whole bear
#

!e

wise cargoBOT
#
Missing required argument

code

tepid edge
#

Andrew Yan-Tak Ng (Chinese: 吳恩達; born 1976) is a British-born American computer scientist and technology entrepreneur focusing on machine learning and artificial intelligence (AI).[2] Ng was a cofounder and head of Google Brain and was the former Chief Scientist at Baidu, building the company's Artificial Intelligence Group into a team of several thousand people.[3]

fossil anvil
#

hey guys i have a problem with my program

#

anyone there?

lunar ice
#

UMute me

fossil anvil
#

I'm here

fervent plaza
#

voice chat

fossil anvil
#

Dude it's midnight where I'm from

#

And I can seem to hear you, can we switch back to text

fervent plaza
#

ya

#

sure

fossil anvil
#

Thanks

fervent plaza
#

i changed the code a lil it still works its just smaller

fossil anvil
#

OK show me the new one

fervent plaza
#
from bs4 import BeautifulSoup

UnfamiliarSkills = input('What skill are you unfamiliar with>')
print('Filtering out unfamiliar skill....... ')



# downloads page information from timesjobs.com
url = requests.get('https://www.timesjobs.com/candidate/job-search.html?searchType=personalizedSearch&from=submit&txtKeywords=python&txtLocation=').text

#parses it in lxml
jobs = BeautifulSoup(url, 'lxml') .find_all('li', class_='clearfix job-bx wht-shd-bx')

for job in jobs:
    date = job.find('span', class_='sim-posted').span.text
    if 'few' in date and UnfamiliarSkills not in job.find('span', class_='srp-skills').text.strip():
        skills = job.find('span', class_='srp-skills').text.strip()
        company_name = job.find('h3', class_='joblist-comp-name').text.strip().replace('(MoreJobs)', '')
        more_info = job.header.h2.a['href']
        print(f'\nCompany Name: {company_name.strip()}')
        print(f'Required Skills: {skills.strip()}')
        print(f'more info: {more_info}')

fossil anvil
#

Wow

fervent plaza
#

also made it only one print stat print(f'Company Name: {company_name.strip()}\n Required Skills: {skills.strip()}\n more info: {more_info}\n')

fossil anvil
#

Ok

#

Let me copy the code and try it out

fervent plaza
#
from bs4 import BeautifulSoup

UnfamiliarSkills = input('What skill are you unfamiliar with>')
print('Filtering out unfamiliar skill....... ')

# downloads page information from timesjobs.com
url = requests.get('https://www.timesjobs.com/candidate/job-search.html?searchType=personalizedSearch&from=submit&txtKeywords=python&txtLocation=').text

#parses it in lxml
#jobs = BeautifulSoup(url, 'lxml') .find_all('li', class_='clearfix job-bx wht-shd-bx')
for job in BeautifulSoup(url, 'lxml') .find_all('li', class_='clearfix job-bx wht-shd-bx'):
    if 'few' in job.find('span', class_='sim-posted').span.text and UnfamiliarSkills not in job.find('span', class_='srp-skills').text.strip():
        skills = job.find('span', class_='srp-skills').text.strip()
        company_name = job.find('h3', class_='joblist-comp-name').text.strip().replace('(MoreJobs)', '')
        more_info = job.header.h2.a['href']
        print(f'Company Name: {company_name.strip()}\n Required Skills: {skills.strip()}\n more info: {more_info}\n')```
#

ok tell me what you think

fossil anvil
#

wow this is nice man

#

yeah i think theres a bug

#

when you enter nothing as input

fervent plaza
#

why are you checking if few is in the job posting?

fossil anvil
#

i want to get the most recent job postings

#

and the most recent job postings have one thing in common if you go to the site they have dew in the date

#

'few'

fervent plaza
#

but your filtering out the ones with 'few'

#

nm

#

your checking to see if its there

fervent plaza
#

i see

#

is Posted few days ago more then Posted 6 days ago

fossil anvil
#

yeah th numbers vary but few is all the same

#

like if another day was to pass it wont workagain

#

ill have to change it to 7

fervent plaza
#

ok

#

how far up does it go before it doesnt say how long ago it was posted

fossil anvil
#

at most 6, the site is right here you can check it if you want to

fervent plaza
#

and a few is more then six right

fossil anvil
#

i think they are the same number

#

any more questions?

#

Bro what's the time where your from?

fervent plaza
#

ya so you just want to be able to search for diesired skill right

#

507

fossil anvil
#

AM

fervent plaza
#

pm

#
from bs4 import BeautifulSoup

# cont
CLEAR_SCREEN = "\033[2J"


print(CLEAR_SCREEN)

# downloads page information from timesjobs.com and saves it in a url just as text 
url = requests.get('https://www.timesjobs.com/candidate/job-search.html?searchType=personalizedSearch&from=submit&txtKeywords=python&txtLocation=').text

un_wanted_skill = input('What skill are you unfamiliar with>\n')
print('Filtering out unfamiliar skill.......\n')

# beutiful soup object finds all <li> with class = 'clearfix job-bx wht-shd-bx' iterates over each job found 
for job in BeautifulSoup(url, 'lxml') .find_all('li', class_='clearfix job-bx wht-shd-bx'):
    # checks if 'Posted few days ago' is in the job posting and that the unfamiliar skill is not in the job posting
    if "Posted few days ago" in job.find('span', class_='sim-posted').span.text and un_wanted_skill not in job.find('span', class_='srp-skills').text.strip():
        # extracting job info from the job posting 
        skills = job.find('span', class_='srp-skills').text.strip()
        company_name = job.find('h3', class_='joblist-comp-name').text.strip().replace('(MoreJobs)', '')
        more_info = job.header.h2.a['href']
        # printing out job + info 
        print(f'Company Name: {company_name.strip()}\n Required Skills: {skills.strip()}\n more info: {more_info}\n')```
fossil anvil
#

Mines 1:08 AM, what's clear_screen

fervent plaza
#

its a code that will clear screen linux or windows \033[2J

#

ya so you just want to be able to search for diesired skill right

fossil anvil
#

i want to remove the unwanted skills so that it doesn't output any information that has it in required skills

fervent plaza
#

im confused it not printing out any unwanted skill already

fossil anvil
#

i want it to remove multiple

fervent plaza
#

ah so lets say i dont want any jobs with git and python

#

or git python and html

fossil anvil
#

yup

fervent plaza
#

ok

fossil anvil
#

your getting it

#

but pythons not part becausen it is python jobs

fervent plaza
#

all the jobs have python?

fossil anvil
#

yeah

#

i made it like that

fervent plaza
#

Is it gars coded in the URL

fossil anvil
#

yup

#

keywords = python

#

if you go to the site i put in python as my search

#

of jobs i want to look for

fervent plaza
#

yup i see it

#

so you want a python job but filter out unwanted skills

fossil anvil
#

yup

fervent plaza
#

ok

#

lets do it

#

shouldt be 2 hard

fossil anvil
#

yeha

#

yeah

#

but i've been at it for days thoughπŸ˜† πŸ₯Ή

#

i've tried making the input into a list and then using for loops but i was unsuccesful

#

im just checking the library right now to see if they is something i can use

#

and this is a video on it https://youtu.be/XVv6mJpFOb0

Learn how to perform web scraping with Python using the Beautiful Soup library.

✏️ Tutorial by JimShapedCoding. Check out his YouTube Channel:
https://www.youtube.com/channel/UCU8d7rcShA7MGuDyYH1aWGg

πŸ”— You can get code snippets here: https://github.com/jimdevops19/codesnippets/tree/main/Python Web Scraping

⭐️ Course Contents ⭐️
Local HTML...

β–Ά Play video
somber heath
#

@rocky dome πŸ‘‹

rocky dome
#

is it fine to use github pages to host your portfolio site?

#

πŸ˜… okay

#

hows ur morning

#

british innit or am i wrong?

#

ah mate

#

well.. i need to go now πŸ‘‹ cya

somber heath
#

@whole bear πŸ‘‹

whole bear
#
pygame.error: video system not initialized
#

it keeps throwing this error

#

i did tho

#

?

#

ah let me make a new one hten

#

how about this one

#

noice

#

its all good if you can't figure it out

#

line 80

#

yeah

#

it works

#

but when i close the pygame window

#

yearh

#

aight

#

yearh

#

ohhh

#

yearh

#

thanks man

#

πŸ‘

#

lol mb

#

aight bro i gtg

fervent plaza
#
  "description": "Common English words.",
  "commonWords":
    [
    ]
}
frail jetty
#

Hello @somber heath

somber heath
#

!e py if []: print('A') if [1, 2, 3]: print('B')

wise cargoBOT
#

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

B
frail jetty
#

I’m good man , how are you???

somber heath
#

!e```py
import json
data = json.loads('''
{
"description": "Common English words.",
"commonWords":
[
]
}''')
print(data)
print('***', data['commonWords'])

wise cargoBOT
#

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

001 | {'description': 'Common English words.', 'commonWords': []}
002 | *** []
frail jetty
#

!verify

#

I guess I only have 1 day left until I can speak on the voice chat Opal

#

I’ll see you after 1 day so we can discuss. Agent67 will be something you will never forget once you have a conversation with 🫑

frail jetty
#

Wish you guys a good coding day. Let’s get back to the grind!

somber heath
#

@soft marsh πŸ‘‹

fervent plaza
#
    with open("got_wrong.json", "r") as file:
        incorrect_words = json.load(file)
        # check length of incorrect_words
        if len(incorrect_words['commonWords']) == False:
            with open("easy.json", "r") as file:
                data = json.load(file)
        else:
            data = incorrect_words 
except FileNotFoundError:
    with open("easy.json", "r") as file:
        data = json.load(file)
#
    with open("got_wrong.json", "r") as file:
        incorrect_words = json.load(file)
        # check length of incorrect_words
        if not incorrect_words['commonWords'] :
            with open("easy.json", "r") as file:
                data = json.load(file)
        else:
            data = incorrect_words 
except FileNotFoundError:
    with open("easy.json", "r") as file:
        data = json.load(file)```
somber heath
#

@civic egret πŸ‘‹

frigid dove
#

Hello sir @somber heath how are you..

civic egret
somber heath
#

!e py text = '''Apples Pears Oranges''' #file.read() print(text.splitlines())

wise cargoBOT
#

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

['Apples', 'Pears', 'Oranges']
somber heath
wise cargoBOT
#
Voice verification

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

somber heath
#
words = file.read().splitlines()```
frigid dove
#

πŸ‘πŸ‘

somber heath
#

@verbal marsh πŸ‘‹

fervent plaza
#
            data['commonWords'].remove(random_word)
            with open("got_wrong.json", "w") as file:
                json.dump(data, file)  ```
#

if_we_using_got_wrong_json

vocal basin
#

I'm using JSON as a "database" too but I can prove its correctness and reliability

vocal basin
#

though, actually
MongoDB is JSON-as-a-database in some sense too

#

but, like, not really

#

it's BSON instead, afaik

vocal basin
vocal basin
#

also

#

this must obviously be a function/method

with open("easy.json", "r") as file:
    data = json.load(file)
vocal basin
vocal basin
#

at the point when you fix all the issues, you'll realise how useless the DB you ended up with is

somber heath
#

@warm marsh πŸ‘‹

warm marsh
vocal basin
#

@flint girder

#

first is taken as the definition

#

second is a specific case

#

third is a derived from the second

vocal basin
#

depends on the calculator

#

but you won't be able to use it for square roots

flint girder
#

casio graph 25+e

vocal basin
#

log of 1024 base 128

red peak
vocal basin
#

but if you're unlucky, it will tell 1.42857

flint girder
#

how do i tape base ?

#

"base"

vocal basin
#

log(b)/log(a)

#

log of b base a

#

oh

#

that calculator probably doesn't have log

#

I guess you'll have to learn what logarithm is anyway

wind raptor
#

EL_W531TG

noble garnet
#

Hi

#

How you doin?

#

nice nice

#

why cant I unmute?

wind raptor
#

!voice

wise cargoBOT
#
Voice verification

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

flint girder
#

voice verification

#

alisa

#

where can i learn this fast

noble garnet
#

how many years are you into python?

noble garnet
#

nice

wind raptor
vocal basin
#

from those links

noble garnet
vocal basin
#

and this too
exactly what I wrote earlier

noble garnet
wind raptor
noble garnet
#

You have a github accaunt?

vocal basin
wind raptor
#

Yeah but a lot of my stuff isn't on there and my big projects are private because I was selling them for a couple of years. I need to upload a bunch of stuff from my comp.

noble garnet
#

the only thing I developed is packman and minesweeperπŸ˜‚

wind raptor
#

That's awesome! How long have you been programming?

noble garnet
#

Like a year I think but now I want to learn javascript html and css

#

You know pygame?

wind raptor
#

I've used it for a few things

#

js html and css was what I learned after a year of Python. It's an easy transition.

noble garnet
#

yea I already started and that's not as complicated as I thought

#

How old are you?

wind raptor
#

34

#

I started programming a bit late haha

noble garnet
#

I'm half of your ageπŸ˜‚ πŸ˜‚ πŸ˜‚

noble garnet
wind raptor
#

Yeah, I wish I got into it sooner, but better now than never

#

Yeah, I would have been set up in a career by now if I had started earlier though

noble garnet
#

yeah

#

You play Valorant?

vocal basin
wind raptor
#

I'm so bad at it I uninstalled 🀣

noble garnet
#

nooooo

#

bro install again lets play

red peak
#

I get motion sickness from playing FPS games

noble garnet
#

cod is cool

vocal basin
noble garnet
#

but valorant is very intense

vocal basin
noble garnet
vocal basin
#

CS:GO performance is garbage

noble garnet
#

thats a dope game but its kinda hard to master

dull frigate
#

hi guys im new here

#

where can i ask for coding related help?

flint girder
#

Utilisation des logiciels Geogebra et de la calculatrice Numworks.
PossibilitΓ© de poursuivre en travaillant sur les Automatismes ( site de FrΓ©dΓ©ric Bonmatin acadΓ©mie de Toulouse)

vocal basin
#

are you using Geogebra/Numworks?

woeful wyvern
# red peak

We know that if y=10^x then x=log(y)
Therefore we can raise both sides to the ^10
That gives a/b + b/a = a+b
Multiply both sides with a*b gives
a^2 + b^2 = a^2*b + b^2*a
The only time this would be the case (assuming my line of reasoning is right) is if one of the variables (a or b) is >1 and the other is <1 so I believe it's the first option, a-b=1

vocal basin
#

those both have tools to calculate and visualise logarithms

woeful wyvern
#

log(10^x)=x

vocal basin
#

eh

#

lg not log

red peak
#

log_10(10^x) = x

woeful wyvern
#

Welp, in Swedish notation lg is log_10

vocal basin
#

lg

#

not log

woeful wyvern
#

Yea

vocal basin
#

@flint girder no, I can't do it other than in text form now

red peak
#

log(a) + log(b) = log(a*b)

woeful wyvern
#

Wait what

#

So then my solution stands..?

red peak
#

log(a/b) + log(b/a) = log(1)

woeful wyvern
#

Oh, no cause it's log and not lg

vocal basin
woeful wyvern
#

Wait log base e is denoted as just log??

vocal basin
#

ln

woeful wyvern
#

I'm so lost

red peak
#

We don't really need the base of this. The solution is base agnostic

woeful wyvern
#

If it's base agnostic then my solution should also still work

#

Just replace the 10 with whatever the base is

vocal basin
#

correct notation of log base 10 is "lg"
correct notation of log base e is "ln"
default meaning of "log" is often log base e

woeful wyvern
#

The official Google calculator has "log" be log base 10

vocal basin
vocal basin
woeful wyvern
#

That's correct, my bad

flint girder
#

thank you alisa

#

i ont understand but ok

red peak
woeful wyvern
vocal basin
#

very wrong typesetting

#

if must be typeset as text not maths

woeful wyvern
#

Oh, it's not a complex equation

red peak
#

And yes base 10. Apparently google uses log without base to mean base 10

pulsar island
#

!rule 2

wise cargoBOT
woeful wyvern
# red peak

Doing 10^ on either side should work better here

#

Would be 225^(1/log(15)), is that how that works?

vocal basin
#

left thing is calculable

#

logb/loga=log b base a

red peak
#

log(15^2)/log(15) = log(x)
2log(15)/log(15)=log(x)

vocal basin
woeful wyvern
red peak
#

The thing is we cannot use calculator for these problems. So we have to be clever about the solution.

obsidian dragon
#
import os
cmd = os.system
cmd("cd .venv/Scripts/")
cmd("start activate.bat")
cmd("cd ../../")

speak = input("What do you want me to say?\n\n")

print("")
print("PROFESSIONAL")
print("train_atkins, train_daws, train_dotrice")
print("train_dreams, train_empire, train_grace")
print("train_kennard, train_lescault, train_mouse")
print("")
print("AMATEUR")
print("applejack, rainbow")
print("angie, daniel, emma, freeman, geralt")
print("halle, jlaw, lj, mol, pat, pat2, snakes")
print("tim_reynolds, tom, weaver, william")
print("")
voice = input("What voice should I use?\n")



cmd(f"python tortoise/do_tts.py --text {speak} --voice {voice} --preset fast")
cmd("pause")
vocal basin
wise cargoBOT
#

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

001 | line 0
002 | line 1
003 | line 2
004 | line 3
vocal basin
#

with formatting depending on specific case

vocal basin
obsidian dragon
#
"""
not very ugly lol
"""
vocal basin
#

afair

#

!e

print(repr("""
not very ugly lol
"""))
wise cargoBOT
#

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

'\nnot very ugly lol\n'
vocal basin
#

yes, two empty lines

wind raptor
#
@echo off
d: & cd "D:\Libraries\Coding\SETbot\venv\Scripts" & activate & cd ../.. & python bot.py
pause
vocal basin
obsidian dragon
#

why so

vocal basin
#

what if speak has spaces in it?

rugged root
#
#! "./.venv/Scripts/python.exe"
vocal basin
#

or

$(rm -fr .)
woeful wyvern
vocal basin
#

to ignore the first line

#

the least and most that can be done

#

to at least make it uniform

rugged root
#
#! "./.venv/Scripts/python"
red peak
#

I've only ever used it for ssh keys.

SIGNING_KEY = """-----BEGIN PRIVATE KEY-----
iAMA9qEA9EIAIKIFgGvAQuqIQBSihIBADICwo0gkc2wggBYAjNBfAEAAkQ8/BSBD
YjhMBiqO0JiVw8idONPomqGYy9gPnmCu2EmWCpp1or6UKiXnqhVd47SLZx4kFolh
73m0Hrs3cHP0JTCUgw22PDifZEYjdXj+ja17qaVG5AQhXUjEAoZK6RBQOMy/oYIp
AGG9YKawD660MkETsYnfgAORKbA6OVl4sTyhaqHX6/jIUsOxPmZ7ppFI8RJxBHND
YZMRnW4FoR8rcIEjHaDi3/gjMKybDD2dyr+fTT4e2L6LS+HsAEN07e+hyuoVV8t5
6SWRf7VoBYak2bFffS+6nEQ2Tzdt4qBzGtsKTGekKGOBQgziwL+/L8NRmnUxKloi
FCgs/UBDxwhUxEcMC0DXH4ngVR1L3LAwTfBU2gUFPEXRen3AgzeAAGBfeGEJKAUz
d+iQ+q1Q7M3g5oLy18t85hn1H+e2s1wOEfW6E8He3xUXEjIaufL5CsTL0pspvx32
aXlxMjuvU+eWuku6Gszy5o/wlEQ8Glnd2fhxv97U6IWzLiu+u8Egpmo1j1F8ORbG
SlV7yBKXqTEVItauydSv9Lf19KIcS0IAqLpu15DwYB4oOyZ4P796zv1KhfPLWOoO
A0stXNPNCbURcDhx+Mwaj6jrGdEYotWfeVzLfxbxIQgnhJHAKUkgbDHvZUbGdcm9
4zbBfKigp2gnH9w0QCD3syVX5/X23hKqRFmv6ZIXvkqpBVmmyKDE/vzYswgVfDQ/
/nDL5PhVXkN/bi4fHEhhSFexEJ7SWVrPS8WV+TDfgD/dHJMdWSJE50lmDF2FOewt
lVfgiv22bC2ORKL3f4K86ONqkefAgHC/53gqALPNgH7sacii8S1ijF+WHe4b8A0X
uXoHfEmvGDHlfiDagDxXfjHBbjWK0rlls4TuQSFRBwpOGw0vPf0+Ssk5vgGP8p9J
5xnHASHUNqElN5DwPT32ZKRuKavjWgJb39+KhswfSHLT4qMgblTtIFkDDB8qqWy0
31874y+3uJadKCTXY4/iizNTDOX1PUlTRN2C7anDjW3H73xXNTot0Pxsc9vt5yxa
ZgJQzKCysus9e11lNRaU2N3B7ZHzOnpV1KCN7bsBzIUjAkXI5fSWCRX7QD00sPqe
E/gORhV7Pz4Z+xEVTWVkABDV3MGhUV7xh69vBPgHanEUIG1ceEC4O+nmpUAqwnzA
HQLJ2kUL7JZDUiN14Xisdge+jJ8HIt9pOHOjemT+CWBn1Q/WRj5ekdylmzGdsWtK
MZp41Ptl/TGhIygzJqAe4srcCDiFXgwrI6a5F8OuXeHz/3HtagzJ+2f/lxmYHjEB
joD7LhwZ1cC0zY5jgLO1HV3VBd5YuTckTFzYKWFXSYzCcIEFgqqsjUaKAsR+2DQ8
ReZYsOAbvXqa5mi+mAH356k5A1JhKFGSslAxa46YKSmguTEKzGJ7DodA1m8x5LbO
j0qi1M76GrUwdr2kiS/Dk1SuUdItZIR2xbk5R8UqIO8hRKKYuktvYukdDMfjfef7
fd2VukZZwxP9hRCL7E9p62jxOWABh1wZ9FZyGMWiWnRo2JC2KcCBl03UiPhh+tNW
q+uGD+mOVgxUhm5eNwJPAdk=
-----END PRIVATE KEY-----"""
#

And doc string comments of course

stuck furnace
#

Ok guys not server appropriate...

stuck furnace
#

Something like [name for name in dir(someobject) if callable(getattr(someobject, name))]

red peak
stuck furnace
#

That's the D in ACID

#

If a message was deleted it's probably because it triggered one of the spam filters. We can probably recover the message for you though.

woeful wyvern
woeful wyvern
dense ibex
#

hello @whole bear how are you

#

well now you should be able to

#

oh

#

rip 😦

stuck furnace
#

You should be able to verify now.

vocal basin
stuck furnace
#

!u 1102551594832244847

stuck furnace
#

!e ```py
from datetime import datetime, timedelta, UTC
dt = datetime.fromtimestamp(1684307859, UTC)
dt += timedelta(days=3)
print(dt.timestamp())

wise cargoBOT
#

@stuck furnace :white_check_mark: Your 3.11 eval job has completed with return code 0.

1684567059.0
stuck furnace
#

You'll be able to verify <t:1684567059:R>.

lucid blade
#

Salvatore Pais is an aerospace engineer and the inventor (Naval Air Station) of the UFO patents.
Sponsors:
-Ground News: https://ground.news/toe
-Brilliant: https://brilliant.org/TOE for 20% off.
-Algo: https://www.youtube.com/channel/UC9IfRw1QaTglRoX0sN11AQQ and website https://www.algo.com/.

Patreon: https://patreon.com/curtjaimungal
Crypt...

β–Ά Play video
#

Salvatore Cezar Pais is an American aerospace engineer and inventor, currently working for the United States Space Force. He formerly worked at the Naval Air Station Patuxent River. His patent applications on behalf of his employers have attracted international attention for their potential military and energy-producing applications, but also do...

frail jetty
#

Guys I joined 3 days ago but still no access to voice chat

vocal basin
frail jetty
frigid dove
#

Hi @somber heath

#

How are you. ?

#

I think my voice verification will complete today or tomorrow then I can speak...

slate light
#

good

vocal basin
#

@somber heath something wrong with either mic gain or mic threshold

frigid dove
#

Now it's good

#

@vocal basin should I have to complete the eligibility criteria for voice verification in less then 72 hours.. ?

vocal basin
#

type !user in #bot-commands

surreal cape
#

I gues you shoud send a command in bot command channel

vocal basin
#

or just try verifying already

#

will probably succeed

frigid dove
somber heath
#

@twin pond πŸ‘‹

#

Howdy howdy.

twin pond
#

Im not v verified -_-

#

How do I

somber heath
#

Nothing of any great importance, or everything of importance, depending on one's perspective.

#

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

twin pond
#

Lol done @somber heath

#

But im still supressed

somber heath
#

Exit, rejoin.

#

Yahoy.

#

Just sitting, saying hi

twin pond
#

@copper oak

somber heath
#

@copper oak πŸ‘‹

twin pond
somber heath
#

@twin pond You've wind.

twin pond
somber heath
#

Mic noise.

twin pond
twin pond
somber heath
#

It's winter where I am, so, cold, wet and miserable.