#off-topic-lounge-text

1 messages · Page 7 of 1

cold lintel
#

Going from Python to Java was a bit jarring for me, because it was the first statically-typed language I used.

unborn sorrel
#

I went Python -> JS -> CS -> Go (I forget most of it) -> Rust

cold lintel
#

I think we've got a BBC Micro in the attic 😄

#

The British Broadcasting Corporation Microcomputer System, or BBC Micro, is a series of microcomputers and associated peripherals designed and built by Acorn Computers in the 1980s for the BBC Computer Literacy Project. Designed with an emphasis on education, it was notable for its ruggedness, expandability, and the quality of its operating syst...

cold lintel
#

I think so anyway, that might not be right 😄

#

Heading off cya 👋

unborn sorrel
#

Cya @cold lintel

wheat echo
#

What is it shared book?

cloud nacelle
#

i need help @primal bison plz

#

@obtuse nebula can you help idk why this isn't outputting anything

twilit quarry
#

i love rasp berry i build my first cctv camera using raspberry pi zero w

#

it was amazing and fun! 😛

#

@unborn sorrel i'm trying to be like you rooAwoo

devout quiver
#

Question about the voice channels: Do people ever use them for remote body doubling? (aka just sitting semi-quietly on a meeting for focus and concentration purposes.)

round bronze
#

The Coding Train

primal bison
shut rapids
#

hi

somber nebula
#

To answer your question, I do it and I guess many others also do it

pulsar sun
#

I cant talk 😄

#

@somber nebula

wide aurora
#

@tepid cove are you able to hear me?

#

oops, wrong chat

primal bison
#

import discord

primal bison
#

hey there

indigo spoke
#

whats up?

jovial pine
#

import random
def game(comp, you):
if comp == you:
return None
elif comp == "s":
if you == "w":
return False
elif you == "g":
return True
elif comp == "w":
if you == "g":
return False
elif you == "s":
return True
elif comp == "g":
if you == "s":
return False
elif you == "w":
return True

print("Computer's Turn: Snake(s),Water(w),Gun(g)?")
option=['s','w','g']
comp = random.choice(option)
you=input("Your's Turn: Snake(s),Water(w),Gun(g)? ")

game(comp, you)
print(f"Your's choice {you}")
print(f"Computer's choice {comp}")
if game(comp, you) == None:
print("Its a tie")
elif game(comp, you):
print("You Win")
else:
print("You Lose")

hello guys, its a snake water gun game, I want to add "Do you want to play again option", So what to do?
#❓|how-to-get-help

outer badger
#

hey i wan to learn python

wicked thicket
primal bison
wary stag
#

can some help with this problem with keras

mortal flare
#

Can someone please explain why the output of this is 0.01?

    if m == -1:
        return n
    pw = n * power(n, m+1)
    return 1/pw

print(power(10, -4)) ```
coarse portal
#

hello everyone I am a python beginner I am locking for someone can help me to create a diagram and web application with django or flask the Idea of the project is ready template and DNS as well just I need help in backend I want to make website with sign up form that take data from user and store it to create new web page special for patient profiles.

queen hatch
#

` = backtick

#

~ = tilde

cinder swallow
#

@pliant prairie What mic do you use? It's very good.

#

yea

primal bison
#

ur voice is bass boosted like fire

cinder swallow
#

yes plz

primal bison
#

manly vibes

cinder swallow
primal bison
#

;lol

queen hatch
primal bison
#

@pliant prairie bro ur voice gives me goosebumps

#

good wway obv

cinder swallow
#

I dont want to talk about it

timid fjordBOT
#
Voice verification

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

queen hatch
#

!video

fleet nebula
#

!video

cinder swallow
#

!voice

timid fjordBOT
#
Voice verification

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

main lotus
mortal flare
frank oar
#

!e
print(1 + True)

timid fjordBOT
#

@frank oar :white_check_mark: Your 3.11 eval job has completed with return code 0.

2
frank oar
#

!e
print(1 + 5>=5)

timid fjordBOT
#

@frank oar :white_check_mark: Your 3.11 eval job has completed with return code 0.

True
frank oar
#

!e
print(1 + (5 >=5 ))

timid fjordBOT
#

@frank oar :white_check_mark: Your 3.11 eval job has completed with return code 0.

2
primal bison
#

!e
"A" in True

timid fjordBOT
#

@primal bison :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 |     "A" in True
004 | TypeError: argument of type 'bool' is not iterable
jolly cypress
#

!e

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

primal bison
#

!code

timid fjordBOT
#
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.

hollow wagon
#

you using python

#

because math library would be perfect for this

#

or you could construct a potential circle around a point to find the distance

opaque tusk
#

😮 ?

daring crystal
#

!code

timid fjordBOT
#
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.

spark kraken
#

!video

keen knoll
#

!video

runic arch
#

hello

primal bison
runic arch
autumn plinth
#

! voice

#

!voice

timid fjordBOT
#
Voice verification

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

wide aurora
#

i eating

#

the first

#

i think

#

@atomic phoenix

#

1 sec

opaque tusk
#

@unborn sorrel Om mani padme hum!

Could I stream today? I have some typescript stuff I'm working on

unborn sorrel
#

!stream 500168097852948482

timid fjordBOT
#

✅ @opaque tusk can now stream until <t:1684601365:f>.

rose thorn
sweet relic
#

Hey guys !
Is anyone free to guide me on some in inexplicable happenings in python ?

#

and I am sorry if I bother anyone.

willow cape
unkempt wind
edgy salmon
agile portal
#

@tender tangle 👋 haven't seen you in a while

#

i also don't take any days off but i mostly have enough time to play games at the end of the day and chill so i don't see it as an issue

buoyant kestrel
#

Same

tender tangle
#

Thistle is a ghost town in Spanish Fork Canyon in southeastern Utah County, Utah, United States. During the era of steam locomotives, the town's primary industry was servicing trains for the Denver and Rio Grande Western Railroad (often shortened to D&RG, D&RGW, or Rio Grande). The fortunes of the town were closely linked with those of the railr...

opaque oxide
#

Oof,\

#

I need to send more messages to talk

charred karma
charred karma
buoyant kestrel
#

Yeeeep

#

It's ass

#

Ew, outside

#

Gotta love it

timid fjordBOT
#

:incoming_envelope: :ok_hand: applied timeout to @tiny sorrel until <t:1684785771:f> (10 minutes) (reason: attachments spam - sent 8 attachments).

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

buoyant kestrel
#

!unmute

timid fjordBOT
#
Missing required argument

user

#
Command Help

!untimeout <user> [pardon_reason=None]
Can also use: unmute

Prematurely end the active timeout infraction for the user.

buoyant kestrel
#

!unmute 651523982364770325

timid fjordBOT
#

:incoming_envelope: :ok_hand: pardoned infraction timeout for @tiny sorrel.

tiny sorrel
celest notch
#

yo why cant i talk

timid fjordBOT
#
Voice verification

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

buoyant kestrel
#

!stream 158020687850766338

timid fjordBOT
#

✅ @manic tiger can now stream until <t:1685123594:f>.

quasi stratus
#

i cant talk

frail tinsel
#

Hi there

gleaming glade
#

hi

cursive wasp
#

hi

digital python
#

hi

lone fulcrum
#

anybody here can help me with webscraping

ripe prairie
dreamy reef
#

Hello everyone, I am new to python. I am trying to run a program through the terminal window, but I'm not sure how to access it. it's currently located on my desktop in a folder called python_work

#

may someone assist?

onyx trout
#

hallo??

#

can i get some help?

#

i am a noob

silver quiver
#

Hello

silver quiver
onyx trout
silver quiver
#

Yea I'm all ears

nocturne wing
#

do static and dynamic polymorphism exist in Python 3, insofar as there is a diffrence?

scarlet silo
#

!rule 2.3

timid fjordBOT
#

The rules and guidelines that apply to this community can be found on our rules page. We expect all members of the community to have read and understood these.

scarlet silo
#

!rule 13

timid fjordBOT
#

:x: Invalid rule indices: 13

scarlet silo
#

!rule 11

timid fjordBOT
#

:x: Invalid rule indices: 11

scarlet silo
#

!rule 10

timid fjordBOT
#

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

scarlet silo
#

!name 3

timid fjordBOT
#

:incoming_envelope: :ok_hand: applied timeout to @mellow cedar until <t:1685647777:f> (10 minutes) (reason: mentions spam - sent 15 mentions).

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

ocean hemlock
#

hello everyone !
I am hayd...
a Python professional programmer
and I hope to be useful
more than 3 year programming in Python
and I created a programming language that called strike I as extension for my frame work
that is morsaFM now you can get morsaFM beta 1.2 from this link:
https://haydarali0980.wixsite.com/fpu-group

Fpu Group
primal bison
#

hey @atomic phoenix

#

i need help

#

yeah the domain thing

#

i just want a domain

#

if impossible

#

me not here

buoyant kestrel
#

The Trojan Horse was a wooden horse said to have been used by the Greeks during the Trojan War to enter the city of Troy and win the war. The Trojan Horse is not mentioned in Homer's Iliad, with the poem ending before the war is concluded, and it is only briefly mentioned in the Odyssey. But in the Aeneid by Virgil, after a fruitless 10-year sie...

south bison
#

@winter vortex hey!

#

i don't have voice verification :DDD

#

yeah, it sa-bee-nah

#

Definitely not Sabrina!

#

nice to meet you all

#

ohhh, i wanna tea now too

#

well,,,, i code

#

sometimes :DDD

#

i'm a undergrad student and my major is international business, but my minor is CS

#

so yeah, i was looking for some cool community to join and talk about programming sometimes

#

do you work? or study? or else?

#

cool cool cool

#

oh okay!

#

LOL

#

@faint trout cool profile pic and name

faint trout
#

ty

winter vortex
primal bison
#

@night lily could you help me with a programming problem

primal bison
night lily
primal bison
#

im trying to make a coordinates array to begin making an ulm spiral

primal bison
night lily
#

I'm very tired at the moment, but give me a sec.

#

Also phoning it, at the moment.

primal bison
#

no worries

night lily
#

Maybe if I had the computer open, so, sorry. I would suggest...something different.

primal bison
warm fog
#

hmm

shell forge
#

how many messages till vc perms

#

also what is this channel for

keen knoll
azure matrix
#

hey

#

here's today quote "Love is like a fart ..if you push it too much ...it's probabily crap "

buoyant kestrel
#

You know, I don't hate that

azure matrix
#

:)

#

Today I was working on a plant identifier app

#

python , flask , ml

#

umm it's for android and ios

#

umm they using react native for frontend

#

@trail shard "Return the stone"

trail shard
azure matrix
#

@trail shard that episode of courage the crowldy dog

#

"pathar lauta do" .... now you remember ?

trail shard
#

i don't remember that episode courge was stuff of my nightmares i just remember my nightmares about it now

azure matrix
#

ohh

trail shard
#

i can still remember worm coming in my dreams in a scene of courage the dog and me falling in an infinitely deep pit

#

along with the old lady and the man

azure matrix
#

@buoyant kestrel we don't have plant description data ... so whenever the plant is scanned it returns the Scientific name and we ask chat gpt to give us the description XD

trail shard
#

they make me remember of my grandma and my late grandpa . Now i just feel sad remembering about that show

azure matrix
#

also we are storing the data ... so if they search another time ..it directly fetch from the database

keen knoll
#

!code

timid fjordBOT
#
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.

azure matrix
#

i also suggest wiki api ...but they were like "Nope ...you are intern ... we don't listen to intern" ;-;

buoyant kestrel
#

.... and ChatGPT is a better option in their eyes?

azure matrix
#

ye

#

meh they have to pay for it also ...should have use wiki api

#

no no

#

umm .. i would one day

#

!voice

buoyant kestrel
#

Gotta dc then rejoin in order for the perm to kick in

#

Or swap between channels

#

It's weird

azure matrix
#

i prefer tea

#

I like tried 10-20 times in amazon... i am still receiving rejection mail

#

@gloomy lily is DSA is must ?

#

data structure and algorithm

#

cause i am really scare of it

buoyant kestrel
#

!stream 425201093929205780

timid fjordBOT
#

✅ @trail shard can now stream until <t:1686069612:f>.

gloomy lily
azure matrix
#

@trail shard you can look for a startup

#

you will get to learn a lot form there

#

and i be honest during this recession period ...getting job in india has gone much tougher now

#

@gloomy lily daam.... i am getting like 125$ / month

#

basically nuts

#

ye it is

#

though i got selected at mnc ..but they have onboarding on around july

#

have to survive till then

#

meh

#

i don't think it will be like "future changing "

night lily
#

Do we remember what happened to google glass?

azure matrix
#

they just vanished

night lily
#

My point.

#

Apple is generally...elegant...in its product design.

azure matrix
#

apple did make gaming consoles back in the days

night lily
#

This is...not.

#

@gloomy lily mic reset

azure matrix
#

microsoft phone was good ... very good optimised ..too bad they abandon them soon

night lily
#

Were there stage lights?

azure matrix
#

@gloomy lily do microsoft's office have slides ?

night lily
#

@buoyant kestrel 📖🍌

#

I think the average person would say, "Well, the company has to make money, doesn't it?" because people are dull and credulous.

buoyant kestrel
#

A company has to make money in order to pay their workers

fresh zodiac
frigid glade
#

@atomic phoenix sup

chilly spear
upbeat mirage
#

They talk a damn good game

chilly spear
chilly spear
#

@obtuse nebula

#

@buoyant kestrel

primal bison
#

@atomic phoenix hi

south bison
#

@atomic phoenix is it just me or there is some audio effect on?

#

oh okay haha

sand locust
#

hi

#

wie gehts dir

#

auch

#

are you good at py

#

nice

#

i learn some py

#

yeah

open granite
#

how can i activate this voice thingy

crisp pecan
#

and itll tell you

primal bison
#

!voiceverify

#

.!voiceverify

short lark
#

!voiceverify

#

.!voiceverify

primal bison
#

@short lark ha, it's a scam from @crisp pecan

cosmic trout
#

do it in the voice verification chat

night lily
#

!voice @primal bison @short lark 👇

timid fjordBOT
#
Voice verification

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

night lily
#

So, not a scam.

dapper swift
#

!voice

primal bison
#

!e

timid fjordBOT
#
Missing required argument

code

primal bison
#

!e print("hello mars")

#

!voice

timid fjordBOT
#
Voice verification

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

worldly solstice
#

nice

signal canopy
#

hello

#

what are we seeing in voice chat 1??

chilly sandal
#

hey

weak socket
soft latch
#

hi

foggy kelp
#

Hi

winter tusk
#

@buoyant kestrel Can you verify me for streaming? I'm in the live coding voice

buoyant kestrel
#

@winter tusk Yeah I'll grant it temporarily

#

!stream 817757858480783371

timid fjordBOT
#

✅ @winter tusk can now stream until <t:1686772740:f>.

buoyant kestrel
#

Sorry, was reading something for work

soft latch
#

Hey

#

may I ask a question?

cosmic falcon
#

How do you feel? 😌

hollow grove
#

anyone here that codes in python up for a little challenge?

cosmic falcon
#

Haha that sounds pretty accurate 😂 Do you think you’ll continue with cybersecurity stuff?

soft latch
keen lodge
#

!voiceverify

winter tusk
#

@buoyant kestrel Can I streaming perms for live coding?

buoyant kestrel
#

Whatcha working on?

winter tusk
buoyant kestrel
#

Not sure if I should feel honored

#

!stream 817757858480783371

timid fjordBOT
#

✅ @winter tusk can now stream until <t:1686840319:f>.

winter tusk
#

Thanks!

buoyant kestrel
#

!stream 817757858480783371 4h

timid fjordBOT
#

✅ @winter tusk can now stream until <t:1686854874:f>.

buoyant kestrel
#

@calm bay How long does it usually take you to crank out a ray tracer

calm bay
#

Depends on how "completed" you want it to be, if you want just a sphere with some super basic shading then maybe a day or two

#

Otherwise one could argue I'm still working on my big one...

mighty cave
#

anyone up for an EDA project? (please say yes my projects due in two days)

sonic pasture
#

my docstrings are closer in color to my strings, but they're slightly different

calm bay
#
using x = Parent::field
sonic pasture
#

oh my vs code has docstrings same color as comments
pycharm is string and docstring
but i think professional is slightly different string color for docstring

sonic pasture
#

oi

#

wym lol

#

like filler names?

#

OOHH

#

i use stars and stuff

#

@quasi stratus

#

alternatively, use the lesser known names of greek or roman gods

#

for example, Selene in place of Luna

#

im too new to talk

#

gimme 3 days probably

#

ye i gotchu at 200%

#

isort .

#

im here

sonic pasture
#

is discord.py still deprecated or did someone step in place of danny?
haven't used that in forever

#

ay nice

#

ye they're doing some discord bot stuff in vc so i was curious

#

oi chris, if you've got an rtx card, nvidia broadcast allows you to filter out noise from other speakers on your own machine

#

yeye

#

ah i feel ya

#

rip

#

self.bot in other parts of the class

#

that inherits from the class Cog

#

*args, **kwargs super

#

yeye

#

so if you set stuff in the base of the class, you don't need self to define.
but you need to use self to access it. methods by default take self as their first argument
you can use @robust fossil on a method to make it not use self

#

i just realized did i ping a person with that name? lmao

#

oops sorry

subtle spade
#

Mindful, can you show how can we swap hierachy with composition for the dog-animal example ?

sonic pasture
#

oh that's copilot

#

yeye
i was gonna do that but just didn't look when i typed

#

oh if you do \ before @, it breaks how it looks but still pings iirc

#

kinda silly

#

@dull anvil

#

but ye backticks should do it

unborn sorrel
#

!paste

timid fjordBOT
#
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.

unborn sorrel
sonic pasture
#

solarized 😌

subtle spade
#

Mindful
Can you show how can we swap hierachy with composition for the dog-animal example ?

timid fjordBOT
#

@classmethod```
Transform a method into a class method.

A class method receives the class as an implicit first argument, just like an instance method receives the instance. To declare a class method, use this idiom:

```py
class C:
    @classmethod
    def f(cls, arg1, arg2): ...
```  The `@classmethod` form is a function [decorator](https://docs.python.org/3/glossary.html#term-decorator) – see [Function definitions](https://docs.python.org/3/reference/compound_stmts.html#function) for details.

A class method can be called either on the class (such as `C.f()`) or on an instance (such as `C().f()`). The instance is ignored except for its class. If a class method is called for a derived class, the derived class object is passed as the implied first argument.
sonic pasture
#

don't class methods take in a cls as their first arg?

#

yeye

#

but if you wanna use nothing, you'd use a staticmethod decorator instead

#

so it's just only the arguments you'd use, and not access the class

#

any parameters you wanna require, you throw in dunder init @void torrent

#

so because name and agae are there, they're required

#

dunder is double underscore

#

instead of writing init

#

__init__

#

had to do a ton of backslash for that one lol

#

what i meant

#

lol

#

also chris, could you show using *args, **kwargs for the super call and not even needing to throw those as params for the Cat and Dog inits?

#

since Animal has name and age required

#

it has its pros and cons
if i'm inheriting a class that has a ton of required parameters in some method, i'd rather not have to deal with keeping up with all of them

#

ah that works too

#

lemme find a quick example in a recent project

#

ah here
so like in my django model, i'd override the save method of a model like ```py
def save(self, *args, **kwargs):
self.full_clean()
super().save(*args, **kwargs)

#

yeye

#

i had something uglier prior, but fortunately past me made it much less so lol

#

lmao all js is hacked in

bold heart
sonic pasture
#

gotta make use of them cores

#

oh showing getters and setters maybe?

#

in classes

#

property decorator and property name.tter

#

beans are cheap

#

chicken + rice

#

beef + potato

#

pork + buns

#

radish?

#

ah

#

oi chris wyd

#

also instant coffee is the best

#

especially adding in shakes and all that

#

chai as in tea

#

lol

#

legit tho dates are nature's candy

#

me

#

yessir

#

lol

#

yeye

#

bro why is chandelier balancing so hard

#

hey

#

it is

#

you can get pretty decent quality instant coffee as well
is it not just dehydrated coffee?

#

i typically brew my coffee but i really do enjoy the taste of my instant coffee

#

the thing is it's not as big a thing in the states since most americans have special made coffee brewers
whereas the rest of the world typically uses kettles so tea and instant coffee are easier

#

i feel like the straw thing is bs

#

cause like, you drink it to taste it

#

and you kinda want it on your tongue for that

#

at that point, just take caffeine pills

#

i don't

#

coffee's barely got calories lmao

#

pycharm is zen 🥁

#

which problem is this chris?

median pivot
#

hi

nova tiger
#

How much harder is leetcode than say 100 to 200 level problems in Project Euler?

cerulean jasper
#

Hello

true nymph
velvet bison
#

hey

#

i am here

velvet bison
#

is anybody there

open granite
#

im enjoying time with the misses

#

and toying around with the discord customization options

hard cedar
#

hiii

open granite
#

we are watching "Chills" on Youtube

hard cedar
#

my mic is supressed

hard cedar
#

yeah

#

it is red

#

mic button

#

i am not bleeding 😂

#

where are you from?

#

russia?

#

i like russian people

open granite
#

me and the miss's are watching the "chills" video he put out today that is apparently a 3 Hour marathon

hard cedar
#

i know 4 languages

open granite
#

of all of his material edited to just show the cool stuff with not much of a wait for the next

hard cedar
#

englsih hindi marathi and punjabi

#

but idk any coding languages 😭

#

noooo 🤣

#

hmhm but i am talking about real languages not programming languages

#

hm

#

both

#

😂

#

🤣 @winter tusk

winter tusk
#

?

hard cedar
#

nothing wrong ping

#

i said i tagged the wrong person

#

what?

#

no 😂

#

i am sleepy

#

its 5:09 am here

#

is anyone a cs engineer from you guys?

#

nice

#

where do you work? @winter tusk

winter tusk
#

I workout

hard cedar
hard cedar
#

what are you talking about @pliant prairie

#

its not boring

#

ece

#

electrical and electronics engineering

#

😂

#

no

#

here its electronics

#

who did electrical engineering?

winter tusk
#

me

hard cedar
#

ohh

#

nice

winter tusk
#

any questions

hard cedar
#

what job do you get after graduation

#

i mean what is the type of work you do in your career

winter tusk
#

i became a housewife

#

@pliant prairie

hard cedar
#

i know it

#

80 ohms is less resistance

#

bye

next cargo
#

No, a higher ohm rating doesn't mean more volume. In fact, it's quite the opposite: headphones with a higher impedance (measured in ohms) require more power to deliver high audio levels.

In simple terms, impedance is the measure of the resistance a device gives to the flow of electric current. High-impedance headphones are typically used in professional settings like studios, where they're connected to high-power amplifiers that can easily overcome the resistance. These high-impedance headphones tend to provide a higher level of audio quality, which is crucial in such professional settings.

On the other hand, low-impedance headphones are designed to be used with devices that have weaker amplification, like smartphones, portable music players, and laptops. These devices don't have the power necessary to effectively drive high-impedance headphones, so they're better suited to headphones with lower ohm ratings.

To summarize, higher ohms (impedance) doesn't mean more volume; instead, it indicates that the headphones need more power to reach their potential volume. Without adequate power from an amplifier, high-impedance headphones might actually sound quieter than their low-impedance counterparts when used with typical consumer electronic devices.

waxen fable
#

@pliant prairie @next cargo @slow wind I am watching you on Voice chat. What would recommend for someone starting out for learning how to code in python?

#

I signed up for udemy Been taking online courses I have read a couple books as well

#

I just saw that there was alot of free learning content online

next cargo
#

datacamp

slow wind
covert valley
#

can someone help figure this out.

#

im having issues with my code saying it has "object has no attribute" but the code I am trying to learn off of is almost the SAME

#

i dont get it.

open granite
turbid fossil
#

@calm bay

#

@unborn sorrel

minor turret
#

hello i need help in my program of building a roulette table

#

here is the code

#

import random

name = input("Hello please tell us your name: ")

print(f"Hello Mr {name} welcome to the roulette table")

print("Insert 100 bucks to play")

table = ['RED', 'BLACK', 'GREEN']

choice = random.choices(table, k=1, weights=[18, 18, 2])

colour = choice

if colour == 'BLACK':
print("You owe the roulette table 100 bucks because it landed at black")
elif colour == 'RED':
print('You owe the roulette table 100 bucks because it landed at red')
elif colour == 'GREEN':
print("Congratulations you won 7000 bucks")

open granite
#

hmmm

autumn fable
#

!kindling

timid fjordBOT
#
Kindling Projects

The Kindling projects page on Ned Batchelder's website contains a list of projects and ideas programmers can tackle to build their skills and knowledge.

autumn fable
#

@vague compass

vague compass
unborn sorrel
unborn sorrel
#

Hey all, can we move over to one of the regular VC's for OT?

open granite
#

were at 48th and main? didn't you know weve invaded

next cargo
#

sudo sh -c "echo nameserver 8.8.8.8 > /etc/resolv.conf"

primal bison
#

?user

next cargo
#

@unborn sorrel can I get streaming role please? 🙂

#

!stream 573073267766722561

glossy loom
#

yo can one of yall help me with something

#

@calm bay?

craggy elbow
glossy loom
# craggy elbow what are you needing help with?

well, i dont know anything about coding, i make music and i have 50 tracks that i want to arrange together based on how well they work sonically and how well they transition, i tried to use chatgpt to write a code for me i went somewhere with it sort of but it kept giving me errors so i was wondering if somebody can walk me through getting it to work

craggy elbow
#

can you post the code and errors?

glossy loom
#

sure give me a moment

craggy elbow
#

ok

glossy loom
#

@craggy elbowi can hop on a vc and stream it if thats better for you

#

cant use mic tho

craggy elbow
#

can you dm call would be easier

glossy loom
#

most def

primal bison
#

hi

#

@unborn sorrel

sinful salmon
#

WSGIApplicationGroup %{GLOBAL}

#

vmware-vmblock-fuse.service

woven marten
hazy harbor
#

is he saying something? I can't hear it

#

@unborn sorrel is this rust?

hazy harbor
amber tartan
#

Hey guys, is anyone familiar with COPAAL approach (Corroborative Paths) for knowledge graph fact-checking?

summer pagoda
#

hello

#

who knows how to write code for detecting horizontal line using projection

keen knoll
next quail
#

tyoooooooooooooo

next cargo
#

!e
a = [1, 2, 3, 4]
b = [6, 7]
print(i for i in zip(a, b))

timid fjordBOT
#

@next cargo :white_check_mark: Your 3.11 eval job has completed with return code 0.

<generator object <genexpr> at 0x7f14c343c110>
next cargo
#

!e
a = [1, 2, 3, 4]
b = [6, 7]
print([i for i in zip(a, b)])

timid fjordBOT
#

@next cargo :white_check_mark: Your 3.11 eval job has completed with return code 0.

[(1, 6), (2, 7)]
next cargo
#

!e
a = [1, 2, 3, 4]
b = [6, 7]
print([i for i in itertools.zip_longest(a, b)])

timid fjordBOT
#

@next cargo :x: Your 3.11 eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "/home/main.py", line 3, in <module>
003 |     print([i for i in itertools.zip_longest(a, b)])
004 |                       ^^^^^^^^^
005 | NameError: name 'itertools' is not defined
next cargo
#

!e

import itertools
a = [1, 2, 3, 4]
b = [6, 7]
print([i for i in itertools.zip_longest(a, b)])
timid fjordBOT
#

@next cargo :white_check_mark: Your 3.11 eval job has completed with return code 0.

[(1, 6), (2, 7), (3, None), (4, None)]
next cargo
#

@atomic phoenix

#

dictionary comprehension @graceful gale

#
from itertools import zip_longest
from string import digits


class Solution:
    def addStrings(self, num1: str, num2: str) -> str:
        as_num = {
            s: i
            for i, s
            in enumerate(digits)
        }
        carry = 0
        stack = []
        for s1, s2 in zip_longest(
                reversed(num1),
                reversed(num2),
                fillvalue="0",
        ):
            n1, n2 = as_num[s1], as_num[s2]
            carry, sum_ = divmod(n1 + n2 + carry, 10)
            stack.append(str(sum_))
        if carry:
            stack.append(str(carry))
        return "".join(reversed(stack))
hexed stream
#

i want that can we customize the traceback in python.....???????
refer this log.error(f"Traceback:\n{traceback.format_exc()}")

modern knoll
#

Is it me who is not able to hear anything or is it just a stream without any voice/narration bits?

potent wharf
#

@peak lion hello

sinful island
solemn cave
#

@unborn sorrel it looks like you're mixing python with c++?

unborn sorrel
#

It is like C and Rust

#

@solemn cave

#

maybe a bit of Python

solemn cave
unborn sorrel
#

it doesn't

#

nor does it use def

jaunty silo
#
print('Hi kids!')
cold lintel
#

👋

void shale
#

guys is it even worth learning Python or not because AI will just replace me? I think I'm going to give up coding the AI is just better message me if i'm wrong

nova atlas
#

@unborn sorrel is that regular expression syntax matching?

#

I modified IDLE's syntax highlighter and added stuff for a custom IDE project I did awhile back. :D

timid fjordBOT
#

:incoming_envelope: :ok_hand: applied timeout to @ivory marten until <t:1688042178:f> (10 minutes) (reason: mentions spam - sent 7 mentions).

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

empty night
#

huh

supple basin
#

??

uncut tiger
#

!unmute 959798020919144548

timid fjordBOT
#

:incoming_envelope: :ok_hand: pardoned infraction timeout for @ivory marten.

uncut tiger
#

right, pinging a ton of people like that will automute, keep that in mind haha

ivory marten
#

thanks

empty night
#

hey

ivory marten
#

that will be it

supple basin
#

hi

#

why are we even here?

open granite
#

morning

empty night
#

sophia how old are you

#

you look like you're 2

empty night
supple basin
empty night
#

good to know

tight musk
#

maroloccio HOW MANY TABS ARE THERE

tight musk
#

there was more than 6 when i typed this message

#

when you were playin chess

ivory marten
#

ok

manic tiger
#

link?

ivory marten
#

where is he

#

just a sec

#

same modes or some changes

#

ok

#

ready

manic tiger
#

oops i misclicked

#

I pressed submit instead of run all test cases

#

oh well

ivory marten
#

i am in

manic tiger
#

again

ivory marten
manic tiger
#

request

ivory marten
manic tiger
#

go again pls

ivory marten
#

@atomic phoenix are you coming

#

i don't get this

#

i got kit

#

share your code @atomic phoenix

#

it was mulitplication with pi

#

yeah i got that part

#

but i was doing with 3.14 instead

#

and the rounding part i lost

#

would like another one

#

@manic tiger are you in

manic tiger
#

no

ivory marten
#

bye

#

@atomic phoenix

#

hope in

manic tiger
#

I misunderstood I can do one more

#

then I have a meeting

ivory marten
#

come in

#

@atomic phoenix are you joining us

#

does it show my result there

#

it crashed at my end

#

what is it

#

my score percentage i was asking

#

i got it

#

this game hates me

#

i got all the testcases riht

#

i get it stop kidding me

manic tiger
#

I gtg

ivory marten
#

ok bye

#

@atomic phoenix

#

would you like another

#

what

#

ok

#

you won

buoyant kestrel
#

!stream 1103046110509006970

timid fjordBOT
#

✅ @primal bison can now stream until <t:1688142704:f>.

buoyant kestrel
#

It's given on a temp basis. One sec

#

!stream 1103046110509006970 20M

timid fjordBOT
#

✅ @primal bison can now stream until <t:1688144179:f>.

flint zenith
#

<t:1688145060:F>

timid fjordBOT
#

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

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

uncut tiger
#

!unmute 690191470715601158 @barren canopy I'm unmuting you, but keep in mind, if you're spamming to be able to get past the voice gate, you will be voice banned for a longer period of time. Engage meaningfully, you'll get there.

timid fjordBOT
#

:incoming_envelope: :ok_hand: pardoned infraction timeout for @barren canopy.

manic tiger
barren oyster
#

Why would you share ur key, hope its not the real one

fresh zodiac
#

    if m1 == '+' or m1 == '-' or m1 == '/' or m1 == '*':
        print ()
    else:
        print ('invalid input')
        continue
unborn sorrel
#
if m1 in '+-/*':
  do stuff
opaque tusk
#

!e for op in ['+', '-', '*', '/']: print(op)

timid fjordBOT
#

@opaque tusk :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | +
002 | -
003 | *
004 | /
fresh zodiac
#

!past

timid fjordBOT
#
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.

fresh zodiac
azure matrix
#

HEy guys

#

i just run into this mojo programing language

#

feels like python , but they claming it's 35X faster

#

ahh

#

ohh

timid fjordBOT
#

@pliant prairie :white_check_mark: Your 3.11 eval job has completed with return code 0.

[1, 2, 3, 4, 5, 6, 7, 9]
azure matrix
#

you know by seeing these sheeps .. i just remember there is a festival called Eid Al-Adha on the day before yesterday where they sacrifise poor sheeps ;-;

fresh zodiac
timid fjordBOT
#

@dull anvil :white_check_mark: Your 3.11 eval job has completed with return code 0.

<generator object merge at 0x7fe9413fc9e0>
#

@dull anvil :white_check_mark: Your 3.11 eval job has completed with return code 0.

1 2 3 4 5 6 7 9
azure matrix
#

!e

print("world hello")
timid fjordBOT
#

@azure matrix :white_check_mark: Your 3.11 eval job has completed with return code 0.

world hello
azure matrix
#

does it also import ?

#

!e

import numpy as np
arr = np.array( [[ 1, 2, 3],[ 4, 2, 5]] )
print("Array is of type: ", type(arr))
timid fjordBOT
#

@azure matrix :white_check_mark: Your 3.11 eval job has completed with return code 0.

Array is of type:  <class 'numpy.ndarray'>
azure matrix
#

ahh

#

does it import every library ...for some popular one ?

#

!e command

timid fjordBOT
#

@dull anvil :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | Package           Version
002 | ----------------- ------------
003 | anyio             3.7.0
004 | arrow             1.2.3
005 | async-generator   1.10
006 | attrs             22.2.0
007 | beautifulsoup4    4.12.2
008 | contourpy         1.0.7
009 | cycler            0.11.0
010 | einspect          0.5.16
011 | fishhook          0.2.8.post10
... (truncated - too many lines)

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

waxen gorge
#

i dont know

azure matrix
#

!e

import kivy
from kivy.app import App
from kivy.uix.label import Label


class MyApp(App):

    def build(self):
        return Label(text='Hello world')

if __name__ == '__main__':
    MyApp().run()
timid fjordBOT
#

@azure matrix :x: Your 3.11 eval job has completed with return code 1.

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

hehe was checking what it will show if i tried this gui based library

timid fjordBOT
#

@dull anvil :warning: Your 3.11 eval job has completed with return code 0.

[No output]
heavy coral
#

maybe theres the full SWROTS in gifs 😂

umbral gull
heavy coral
#

I will know the perfect girl that fits to be my GF when she answer with gif of general grievous saying "General Kenobi" to my Hello There message when a match happen on tinder 😂

#

guess this will never happen

umbral gull
#

Trust only in the force and this will happen

pastel tulip
heavy coral
#

😦

low karma
#

love these star wars stickers

#

hahaha

near wren
#

vc is not dead

#

it's never dead

bleak geode
#
I = [[0]*row]*row
I[0][0] = 5
#

Why is the output -

#
[[5, 0], [5, 0]]

calm bay
#

[[0 for i in range(row)] for j in range(row)]

bleak geode
#

Thanks again 🙂

misty vale
#

hi i need help

plush zephyr
#

can someone help me with an issue i did multithreading on making post/get requests but the ram usage goes crazy

plush zephyr
#

i used threadpool executer

#

and the request i was using the httpx

#

i also got recommended asyncio but didn't understand the usage of it tbh

#

will get into that thank you maam

#

i've seen many .exe python written projects works the same way with like 105 ram usage

#

10%*

#

mine goes to 99% with time

plush zephyr
#

trying now hope it works thank u for ur ideas

cobalt cliff
#

Hi

#

Is there anyone who has experienced segment fault on linux

#

Thank you for your reply. Yes, I deployed my selenium app on Amazon EC2(amazon linux 2 AMI) but google-chrome is not working properly.

#

When run "google-chrome --version", I get getfault

#

Can you give me some advice from your experience.

#

How do you fix it before?

cobalt cliff
#

Thank you. It seems you have a rich experience in python. I will try according to your guide.

#

Is there no matter on me to send DM when I have a problem?

#

Sure, Sorry to ask that.

high spire
#

@pliant prairie i cant vc for some reason

#

but hi

limber hill
#

<- filtered by two sum

wild ferry
#

Python is a great language, with a few... cursed exploits. While a lot of implementation details make it easier to work with, they also lead to quirks - quirks which can be exploited for fun (and profit?). Whether it's variables, match statements, type hinting, imports, or even just trying to fit everything on one line, this talk has more than a...

▶ Play video
wild ferry
# limber hill <- filtered by two sum
from typing import List

class Solution:
    def twoSum(self, nums: List[int], target: int) -> List[int]:
        mp = {}
        return next(([mp[target-num],i] for i, num in enumerate(nums) if target - num in mp or (mp.__setitem__(num, i) and False)), [])
wild ferry
#
class Solution:
    def isSubsequence(self, s: str, t: str) -> bool:
        if not s:
            return True
        i = 0
        j = 0
        while( i < len(s) and j < len(t) ):
            # they are equal a=ab
            if(s[i]==t[j]):
                print(f"{s[i]} = {t[j]}")
                i+=1
                j+=1
            else:
                #we look for a match of j
                j+=1
        return i == len(s)
boreal solstice
#

hi

mild peak
#

hi

#

plz help me

tender tangle
vernal violet
#

is this osec?

#

osen

#

ignore that

calm bay
#

@unborn sorrel ping when back

old root
#

hi

#

i can't speak

#

i should send 50 message

#

Can i send a message here or it will be spam

#

ok

#

Sorry my language is not good

#

i will find why to translate voice in descord

#

wow @atomic phoenix

#

good

#

continue, you can do it

sweet ingot
#

Working

#

No motivation

old root
#

i am arabic @pliant prairie

sweet ingot
#

Gtg byee

stone pike
#

سلام محمود

#

یه ایرانی پیدا کردم

#

@old root

#

@calm bay عه سلام

#

دوتا ایرانی

#

@shadow ivy to ham irani hasti ?

shadow ivy
#

nope

#

also please use english

#

!rule english

timid fjordBOT
#

4. Use English to the best of your ability. Be polite if someone speaks English imperfectly.

long reef
#

I am thru a book called python distilled , just trying to refresh my python knowledge , anyone would be interested if i share and go thru ?

urban folio
#

!rule english

timid fjordBOT
#

4. Use English to the best of your ability. Be polite if someone speaks English imperfectly.

urban folio
#

!voiceverify

eager coyote
#

.

coral roost
#

Hi

#

Do you hear me ?

#

Why i can't speak to you ?

tardy depot
#

how can i talk here

open granite
timid fjordBOT
#
Voice verification

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

stone pike
# shadow ivy nope

Don't lie
If you are Not an iranian person
How you know the Finghlish typing ???

vapid wind
#

yeah hi

#

sorry

#

so how can i speak

#

no

#

my mic is restrikted

#

discord is restrikting it in the channel

#

i like discord

#

wait

#

Voice Gate failed
You are not currently eligible to use voice inside Python Discord for the following reasons:

• You have been on the server for less than 3 days.
• You have sent less than 50 messages.
• You have been active for fewer than 3 ten-minute blocks.

#

that is why

chilly spear
vapid wind
#

he copypasted too

#

cause strg + c and strg + v is cool

#

Voice Gate failed
You are not currently eligible to use voice inside Python Discord for the following reasons:

• You have been on the server for less than 3 days.
• You have sent less than 50 messages.
• You have been active for fewer than 3 ten-minute blocks.

#

i have to be more than 3 days on the server and at lest sent 50 msg

#

yes

#

whoever sayd that that is true

#

can somewone hit this guy

#

ok is there no mod in this chat

#

you should be carful too

#

and i still wanna hit you

shadow ivy
#

but i've been asked that enough to know what it means

vapid wind
#

ok he just sayd the f word

primal bison
#

hii

#

anyone help me

soft glade
#

?

#

hello 🙂

primal bison
#

i want to learn python language

soft glade
#

not much, just checking in with my coding bros

primal bison
#

where i start

#

firstly tell me about software /

soft glade
#

there's a method to being funny, what that method is I have no idea

primal bison
#

names?

soft glade
#

alcohol tends to help tho, both for the person telling the joke and the person recieving it

#

True

grand sandal
#

hi sup

primal bison
#

@pliant prairie you are leader/owner of this server?

soft glade
#

fair

grand sandal
#

I just started learning coding few days ago any beginner advice?

primal bison
#

@pliant prairie face reveal?

soft glade
#

does anyone know how google sheets works

primal bison
#

just joking

grand sandal
#

how can I talk?

soft glade
#

Because for some reason people want their stuff done in google sheets 😦

grand sandal
#

no I mean in the voice chat

primal bison
#

voice verfication

#

@pliant prairie where are you from

dull gazelle
#

I'm having an issue to understand why a string is not printed where it should.
Specificly, title_left and title_right

Generating output:

        if style == 'header':
            left_border = f"{theme.color_fg}{theme.color_bg}{theme.header_left}"
            right_border = f"{theme.color_fg}{theme.color_bg}{theme.header_right}{cat.reset}"
            #center = theme.filler * (width - 2*len(right_border))
        elif style == 'title':
            left_border = f"{theme.color_fg}{theme.color_bg}{theme.title_left}"
            right_border = f"{cat.reset}{theme.color_fg}{theme.color_bg} {theme.title_right}{cat.reset}"
            #center = theme.filler * (width - 2*len(right_border))
        elif style == 'print':
            left_border = f"{theme.color_fg}{theme.color_bg}{theme.border_left}{cat.reset}"
            #center = (width - 2 * len(theme.border_left)) // 2 * 2  * " "
            right_border = f"{theme.color_fg}{theme.color_bg}{theme.border_right}{cat.reset}"

Output:


 ╔═ASPIRE by (sea/sri-arjuna)                                                                               TODO TIME ═╗
 ╔═Hello World                                                                                                       None```
primal bison
#

me when I still cant talk

#

feelsbadman

#

lmao

#

me when I also misclick

unborn sorrel
#

!e

print("hi"[::-1])
print("".join(reversed("hi")))
timid fjordBOT
#

@unborn sorrel :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | ih
002 | ih
sturdy geyser
#
class ParsedField(BaseModel):
    name: str
    value: str
    inline: bool = True


class ParsedEmbed(BaseModel):
    title: Optional[str]
    description: Optional[str]
    colour: Optional[int]
    fields: Optional[List[ParsedField]]


def get_asset_embeds(path: str) -> List[Embed]:
    json_data = parse_json(path)

    embeds: List[Embed] = []
    parsed_embeds: List[ParsedEmbed] = []

    for embed in json_data["embeds"]:
        try:
            parsed_embeds.append(ParsedEmbed(**embed))
        except ValidationError as e:
            raise RuntimeError(
                f"There was a problem with parsing the embeds for asset {path}: {e}"
            )

    for parsed_embed in parsed_embeds:
        embed = Embed(
            title=parsed_embed.title,
            description=parsed_embed.description,
            colour=parsed_embed.colour,
        )

        if not parsed_embed.fields:
            embeds.append(embed)
            continue

        for parsed_field in parsed_embed.fields:
            embed.add_field(
                name=parsed_field.name,
                value=parsed_field.value,
                inline=parsed_field.inline,
            )
        
        embeds.append(embed)

    return embeds
dull gazelle
surreal olive
unborn sorrel
#

!paste

timid fjordBOT
#
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.

surreal olive
#

@plain acorn so you'll do full stack development?.

open granite
#

An apparent pattern that breaks, and the reason behind it.
Summer of math exposition: https://3blue1brown.substack.com/p/some3-begins
Learn more at https://some.3b1b.co/
Help fund future projects: https://www.patreon.com/3blue1brown
An equally valuable form of support is to simply share the videos.

For the long-time viewers among you, if this s...

▶ Play video
open granite
#

for anyone curious this is what is needed to produce a dimensional environment

grand sandal
#

z

primal bison
#

hi

sacred stone
#

@dire maple Code for your problem:

import os
import discord
from discord.ext import commands
from config import message_module
import datetime
import pytz


class messageModule(commands.Cog):

    def __init__(self, bot):
        self.bot = bot

    @commands.Cog.listener()
    async def on_message(self, message):
        print("{} in {}: {}".format(str(message.author), message.guild.name, message.content))
        file = open('log.txt', 'a')
        print(date_today_PST)
        file.write(f'{date_str}, {time_str} \n')
        file.write("{} in {}: {}\n".format(str(message.author), message.guild.name, message.content))
        file.close()
        await self.filter_message(message)

    @commands.Cog.listener()
    async def on_ready(self):
        print("Message Module Online")

    async def filter_message(self, message):
        if message_module:
            filter_words = ("Hello", "Hola", "hello", "hola", "Hi", "hi", "spamW")
            for word in filter_words:
                if word in message.content:
                    await message.delete()
                    file = open('log.txt', 'a')
                    file.write(f'{date_str}, {time_str} \n')
                    file.write("{}'s message in {} was deleted \n".format(
                        str(message.author), (message.guild.name)))
                    file.close()
                    return


date_today_PST = datetime.datetime.now(pytz.timezone('UTC'))
date_str = date_today_PST.strftime("%m/%d/%Y")
time_str = date_today_PST.strftime("%H:%M:%S")

if not os.path.exists('log.txt'):
    open('log.txt', 'w+').close()

Intents = discord.Intents().all()
client = discord.Client(intents=discord.Intents.all())
command_prefix = ("Echo", "echo")
bot = commands.Bot('/', intents=Intents)
bot.add_cog(messageModule(bot))
sacred stone
#

@cosmic falconDesign a system to efficiently store and retrieve a large number of key-value pairs, optimizing for both time and space complexity.

#

@primal bisonGiven a string, find the longest palindromic substring within it efficiently.

primal bison
#

swift @cosmic falcon?

#

I kinda like swift

#

you talking about the swift that apple uses?

#

or a different swift

cosmic falcon
#

Yeah Swift that Apple uses

primal bison
#

@calm bay

#

join back

calm bay
#

nah I'm done, not worth my time

primal bison
#

na come back man

#

we can go in a different call

#

join back @calm bay we're in a different call

#

@heavy crane you online

primal bison
#

this looks nice

#
MojoResult MojoSetMessageContext(
    MojoMessageHandle message,
    uintptr_t context,
    MojoSerializeMessageFunction serialize_message,
    MojoDestroyMessageFunction destroy_message,
    MojoFinalizeMessageFunction finalize_message);
``` the function signature can work with
#

that

#

Alvaro Ramirez Rossello this is one of the authors for mojo compile

finite aspen
#

hi all

#

the bot is being evil

#

whats going on here

primal bison
#

lol

finite aspen
#

bro look

#

see how many msgs i sent

#

robot lies

primal bison
#

lol

finite aspen
#

it's legit lying and i dont know what to do

primal bison
#

it only depends on the time u join

finite aspen
#

i do not know

primal bison
#

you're a new member

finite aspen
#

what does that mean why doesn't it say that

primal bison
#

u have to be here for awhile

finite aspen
#

i've been here the required 3 days

#

it used to say that i've not been here long enough

#

but now it just says lies

#

:(

primal bison
#

wai

#

you gotta dm the bot I think

finite aspen
#

it wont let me

#

thing is borken

primal bison
#

give it awhile probably

finite aspen
#

i don't get it

#

i used to be able to talk

#

dictionaries aren't real

primal bison
#

that's weird

finite aspen
#

they can't hurt you

#

do you have __slots__ issues?

primal bison
#

talk in the vc chat

finite aspen
#

what

#

we are in live coding

#

AAAAAAA

primal bison
#

when u press the voice chat

#

there's a open chat

#

option

#

or show chat

finite aspen
#

@primal bison Foo.__dict__

runic adder
#

my mics suppressed, i just joined ._.

open granite
#

!voice

timid fjordBOT
#
Voice verification

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

primal bison
opaque tusk
vernal violet
#

@calm radish so for example, if i search up code on a sitefor something and i study and copy it, that is better for studying than a youtube video?

calm radish
#

Yes because you’re beingtold the answer vs someone learning it on your own and understanding the pitfalls in a more nuanced manner

vernal violet
#

ah

#

i see

#

Thank you Dan.

vernal violet
#

weird asf

calm radish
#

I like that idea man

#

Good luck on that and try to expand on it after you get your initial goal completed

dire maple
primal bison
#

i need help

#

Step 1: Accept a number from the user. Convert it into an integer and then store it in a variable num

how do i write this code?

finite aspen
#

why the big text?

vernal violet
serene panther
runic adder
#

hi !voice

#

!voice

timid fjordBOT
#
Voice verification

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

runic adder
#

im studying intro programming

#

also algebra in python

stable veldt
primal bison
#

what is wrong with the code?

#

i don't know how that would be possible

primal bison
#

Hey i m new in python what are best resourse avaibable here

#

?

dull anvil
#

!resources

timid fjordBOT
#
Resources

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

runic adder
#

If anyone knows of any great resources for learning algebra in python, i will be in debt to u this is tough stuff ._.

sick flame
#

@primal bison if you know Hindi . Go to YouTube and search for 'code with Harry' there you can see the python playlist. It's very good for a beginner.

primal bison
#

Oki

primal bison
#

interesting

sly vine
#

Hi everyone

vast cipher
#

BRUH 💀

quartz sky
#

How do u do?

lusty karma
#

!voice

timid fjordBOT
#
Voice verification

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

hollow drift
#

!voice

timid fjordBOT
#
Voice verification

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

merry yacht
#

imagine adding Chromify Colors

high spire
#

!voice

timid fjordBOT
#
Voice verification

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

next cargo
#

@hoary plinth

static shard
#

hey

#

I need at least 50 messages to talk with you people!

#

so, I will starting writing hjahahhaha

tardy lava
#

how do i not have 50 msgs yet

chilly trail
errant vapor
#

is anyone good with flask and sqlalchamey

thorny lantern
arctic crypt