#voice-chat-text-0

1 messages · Page 675 of 1

whole bear
#

bro what the hell

#

exactly

coral frigate
#

Are you based in the us?> i got paid 4 dollars an hour at my first office job lmao
@whole bear

whole bear
#

nah uk

#

i just said dollars since most people understand the value of a dollar

#

than a british

whole rover
#

wow so many voice users

coral frigate
#

But that's even lesser in pounds! Don't you have a minimum wage?

whole bear
#

nah was a trainee

coral frigate
#

But you still get paid minimum wage right? Else it's illegal

whole bear
#

@whole bear i'm 17 so i can work in office?

#

yea

faint ermine
#

me, sitting here, reading chat, wondering if im spoiled cuz i made 10€/h on my first job......

whole bear
#

any old office will

#

do

#

accountancy etc

#

just go in and start automating stuff lmao

#

that is sick bro

#

i will be rich

#

its not that simple lol

#

nothing is simple

#

it was never about money for me

#

i put my heart into it

#

but it came in time i guess lol

#

@whole bear i can get in a cybersecuirty part of the office?

coral frigate
#

i will be rich
@whole bear lol, famous last words

whole bear
#

idk man i aint ur boss

#

lol

#

i'm scared bro

#

this is all first time

coral frigate
#

Is a dev job even worth doing anymore?😓😪

rigid nest
#

probably ye

whole bear
#

bro

#

verifying is too hard

#

and a big deal

#

like i'm not a bot lmfao

coral frigate
#

Ohh i had friends in amazon. They are having hiring surges for the sake of having more employees for the future at a bit lower salaries. And they don't even have to work sometimes.
One of my friend coded 5 lines in the span of a week when he was there.

faint ermine
#

depending on the lines thats either really boring or quite impressive

#

@bright rain tis no help channel

coral frigate
#

depending on the lines thats either really boring or quite impressive
@faint ermine It was boring as they are American immigrants on their OPT and they can't work with any other company while you are associated with a company. Else you would be deported.

whole bear
#

@amber raptor i got interested in programming because my brother told me it's cool to make robot using python

coral frigate
#

Startups vs Big companies, which would you choose?

hidden cove
#

Depends @coral frigate

#

What are your career goals?

rigid nest
#

make minimum wage coding

#

u

#

?

hidden cove
#

@coral frigate You might have more exposure to different technologies working at a startup, but a big company will more likely be more stable employment.

#

At a startup you will wear more hats @coral frigate . At a big company, you will be more specialized and "siloed".

whole bear
#

good old oil monopoly 😏

#

they are not independant anymore, since the brexit vote…

#

they are owned by softbank.

stuck furnace
#

British company that designs processor parts.

#

And owns the ARM ISA

whole bear
#

I hope EU will invest in risc-V 🙏 (yeah, I know, EU countries are very unlikely to take any good decision in the tech field 🙁 )

stuck furnace
#

x86 has a huge number of instuctions, ARM has just a handful.

#

Apparently Apple was one of ARMs first customers.

whole bear
#

I also read that RISC is coming now because we are better at automating compilation optimisations

#

but they do (manufacturing)

stuck furnace
#

Probably Taiwan

stuck furnace
#

Nope 😄

rigid nest
#

:(

stuck furnace
#

Sorry I'm shy 😄

hidden cove
whole bear
#

« oh no 🐙 , we accepted to give all our knowledge and expertice to a dictatorial country without any counterpart because it was cheaper and now it's firing back »

hidden cove
stuck furnace
#

I would never have guessed Rabbit 😄

#

...that you come from a military family.

whole bear
#

The bot : « you have sent less than 50 messages »
Well, I disagree 😅

hidden cove
#

Well, resultats clearly aren't messages.

whole bear
hidden cove
#

Maybe start sending messages and not resultats /s

whole bear
#

It's the number of entries when I search for my messages

stuck furnace
#

Yeah, there are a couple of other requirements @whole bear

#

You have to have joined 3 days ago and sent messages in three separate 10-minute blocks.

whole bear
#

As the bot states that I sent less than 50 message I suppose it only counts from a certain date.

#

No, I joined long ago.
(but didn't participate a lot)

stuck furnace
#

Hmm, I'm not sure then. It might only count since the feature was introduced.

whole bear
#

There are like 40 message that I sent 1 year ago. I suppose that they are ignored

hidden cove
#

What language do you speak @whole bear ?

stuck furnace
#

Which was about a month ago.

whole bear
#

What language do you speak @whole bear ?
French

hidden cove
#

ah

#

T H I C C test

stuck furnace
#

Ah, pre-university in the UK we get to choose three subjects to study

#

I studied just maths, physics, and further maths 😄

#

As a result, my history knowledge is appalling.

#

Google used to do it @amber raptor

#

Only hired from Ivy League. Their idea was that they could take advantage of those universities stringent admissions processes.

hidden cove
#

Yeah, a lot of elite companies are like that. I guess it all just comes down to supply and demand.

stuck furnace
#

Ah, some people just study for the knowledge.

#

And the status of having a PhD 😄

whole bear
#

so anybody can call you doctor 😎

pine iron
#

@whole bear i am back
tehe
dont try and lie to get me muted that isnt nice

hollow haven
#

If I ever make the terrible decision to get a PhD it'll be solely for the reason for people to be like Mr. Boyfriend and Dr. <my name>

whole bear
#

This is professional ethic level 100

pine iron
#

@amber raptor my dad has s3x.com on his work email

#

sex

whole bear
#

and in gmail the answer is also "none" 🙃

pine iron
#

cus why u use gmail when u got the work ong

#

sorry can only send this one more bc there gonna mute me again for trying to bypass 50 messages like before

whole bear
#

“this is not my work”

#

this is kinda harrassment…

pine iron
#

how

hidden cove
#

how is this harassment?

whole bear
#

Tracing your wife using the corporate tracing system… Isn't it the police work ?
Wouldn't have they done the same but keeped privacy ?

pine iron
#

if they r married it is allowed

#

it isnt against the rules

#

do u not understand what marriage gives u rights too?

whole bear
#

it could be. we don't know about the couple

faint ermine
#

(i hate being scrolled up and responding to what looks like the latest message but it isnt)

pine iron
#

mine

whole bear
#

Yeah, of course. But it could also have been « I want to kill my wife, where is she ? ». And she went to a friend for protection. So… it's complicated

pine iron
#

can u pls stop editing

#

like pls stop

#

its annoying

#

u just did like 10 editss

whole bear
#

u just did like 10 editss
Yeah, I look forward to the discord “editing history” feature…

#

that doesnt need to exist

pine iron
#

u do realize that we can see u edited a message right?

#

and i was looking at chat

#

lol

whole bear
#

Yeah, of course, but you can't see the history. And I would like this feature

pine iron
#

why?

#

then just use a message logger and risk a tos ban

whole bear
#

just log peoples ip addresses

#

ezpz

pine iron
#

true

#

also btw @whole bear what ur asking to do is against privacy

#

lol

whole bear
#

why

#

like, i didnt read it

#

so idk

hidden cove
#

how is seeing editing history against privacy?

pine iron
#

bruh

#

peoples privacy how is it not

#

lol

whole bear
#

why?
So people can follow the history of a message editing and see if it changed a lot. Like you said, I edit my messages too much (and like to do so to precise my thoughts), especially when they are long.
(Why would I risk a tos ban ?)

pine iron
#

So people can follow the history of a message editing and see if it changed a lot. Like you said, I edit my messages too much (and like to do so to precise my thoughts), especially when they are long.
(Why would I risk a tos ban ?)
@whole bear bc a messsage logger is against tos

whole bear
#

people dont need to see that

#

its a fucking message

faint ermine
#

for users its against TOS, servers can and do often log edited messages

hidden cove
#

If you edit something it means it was publicly posted at some point.

pine iron
#

same with deleting

hidden cove
#

I fail to see how public message history is private.

pine iron
#

and thats against privacy also

whole bear
#

it doesnt matter what you see or dont see

#

if its against the TOS, its against the TOS

stuck furnace
#

What's everyone up to?

#

Nice 😄

pine iron
#

thats just like alot of these disscord servers that promote dating those are also aaginst tos if they have minors in the server

stuck furnace
#

No idea 😄

#

My edit history must be a real mess.

whole bear
#

if its against the TOS, its against the TOS
Yeah I know. But what I look forward is this as a discord feature.

pine iron
#

Yeah I know. But what I look forward is a discord feature.
@whole bear why

stuck furnace
#

I rarely don't go back and edit my messages.

#

Just to fix spelling and punctuation.

#

Pretty sure I have OCD 😄

pine iron
#

yh but if they do that they would have to do deletes also

#

and they dont want to most likely

stuck furnace
#

They have it on StackOverflow

#

And I use that feature fairly often.

#

I remember a reddit thread where everyone had to edit their comment to make the replies look as dodgy as possible 😄

pine iron
#

@hidden cove if they did it for normal users on servers it would most likely do dms alsso

#

@amber raptor some schools use discord for servers

#

that alr happens

#

so

#

no difference

#

its just online now

#

im boyfriend and girlfriend

whole bear
#

?

pine iron
#

i am MOTHER

#

not mother

whole bear
#

waht

pine iron
#

lol

whole bear
#

dude imagine if they

pine iron
#

tf k12

whole bear
#

like

#

or something along the lines

pine iron
#

@amber raptor how do u even use that sit

whole bear
#

and ur teacher sees it

tidal salmon
#

what?

pine iron
#

lol

tidal salmon
#

!mute 403717636183293952 1d Saying the r-word and joking about sexual topics is not appropriate.

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied mute to @whole bear until 2020-11-20 22:45 (23 hours and 59 minutes).

pine iron
#

when did he do that?

#

heh didnt joke about a sexual topic

tidal salmon
#

they did, but I deleted it.

pine iron
#

what he said wasnt a joke on a sexual topic

tidal salmon
#

It was.

pine iron
#

it rlly wasnt bruh

tidal salmon
#

If they want to make that case, they can DM modmail.

pine iron
#

like u a cool mod but that fr wasnt a joke about a sexual topic

tidal salmon
#

I'm not trying to be cool.

pine iron
#

what?

#

@amber raptor i didnt even know k12 had a messaging thing between ppl

stuck furnace
#

I feel like school is the one time that you get to see a true cross-section of society 😄

pine iron
#

yh i use google meets its horrible

stuck furnace
#

After school you can just avoid people you don't like.

pine iron
#

u had to sign a form to have ur cam on

#

bc they record and track everything

whole bear
#

google sweet ?

pine iron
#

suite

hidden cove
#

suite*

whole bear
#

Oh, ok. Thank you 😅

pine iron
#

@amber raptor u work for google?

#

oh

whole bear
#

then you have to download more ram.

stuck furnace
#

Is someone going to post it...

pine iron
#

lol i cant get voice verified bc im voice banned

#

thatss funny assf

#

asf

stuck furnace
pine iron
#

yh idk why they did that

#

ive never rlly used nore than 1 google thing at a time other than classroom and meet so

whole bear
#

Yeah, I saw the same picture with something lik « when UI is favored over UX ».

stuck furnace
#

Another design choice I dislike: grey text on grey background.

whole bear
#

This may be used in UX courses 😅

stuck furnace
#

I feel like I'm losing my eyesight whenever I go on some websites.

whole bear
#

Hi guys

#

How is gonig

#

wow you guys are cool

#

my inspiration @tidal salmon

pine iron
#

u mute me for claiming i was tryna send incoherent but thats literally what hes doing

tidal salmon
#

what have I inspired you to do?

whole bear
#

your pfp

#

your pfp inspired me to watch mr robot now i'm only talking to my mind @tidal salmon which made want multiple personality

hidden cove
tidal salmon
#

@whole bear fascinating...?

whole bear
#

yeah

#

changed me

pine iron
#

why did they make calander not a calender

tidal salmon
#

I think the new icon set is fine except the docs one

amber raptor
#

not when you have Mail, Calendar and Chat open in the bottom to start since it's your work office suite

tidal salmon
#

I wouldn't be able to guess what the docs icon is for. or drive, frankly, but I already knew what the drive symbol is.

whole bear
#

@hidden cove do you know google drive automatically back up your files and images without your permission

pine iron
#

idek how to spell it and every way to spell gets the red line for misspelling

#

they do for both

#

also it isnt against ur permission when u start it tells u

whole bear
#

it mean that it is good to use cloud computing service for your organization

pine iron
#

u have to enable it

#

u can disable it

whole bear
#

lol

#

yeah

#

everything is in cloud

#

we are in cloud

stuck furnace
#

See ya Rabbit

pine iron
#

whats up

#

@small sedge if its steam u can most likely do it

#

i need help with selenium and geckodriver bc i legit dont understand this at all

#

and yh i do

#

bet

#

its for instagram so it should be easy

#

but i dont under the xpath

hidden cove
#

I think that may be against the terms of service @pine iron

pine iron
#

how

#

@small sedge he is right for rocket league it is very easy

#

oh

#

my b

#

how about twitter

#

i know they allow it

#

twitter allows it

pine iron
#

i have 1

pine iron
#
If you do it sneakily enough anything is legal.

#

best quote from that thread

#

i dont think they do

#

tbhh

#

i just wanted to make a thing that changed my username to my follower count if it wasnt taken

#

like each time i get a follower

#

he was alr loud

hidden cove
pine iron
#

i

#

will not make it

small sedge
#

i

hidden cove
#

lol

pine iron
#

@hidden cove it was from the reddit u sent

#

it issnt illegal

#

or morally wrong

#

they dont

#

there tools are for liking and following and commenting

#

not changing name

#

its alr easy to get past lol

#

when u r doing the things u must do it in a spam of a 10-15 minute frame and take a 30 min break

whole bear
#

is it in the user agent ?

pine iron
#

me?

#

@whole bear i

#

will not help u

#

u most likely will need to pay also itss a discord bot its eassy

#

bc he has none

#

@hidden cove

#

plus discord bots r extremely easy

#

there are some

#

just not many

#

bc he most likely isnt

#

he mic spammed and couldnt figure out input sensitivity so

#

ok thx

#

is twitter name change automating against tos or no

whole bear
#

It's time to sleep for me, good bye 👋😴

pine iron
#

it can

#

it can do anything u can code

#

one dude got it to do captchas

bright rain
#

Yea

#

no

#

Yea

#

What cout as mesage?

pine iron
#

u dont speak fast enough @hidden cove

#

to be a native got to speak fast ong

#

german words translated to english make no sense

#

at all

#

like half dont

#

i would speak german but its only english chat

#

no it isnt

#

lol

#

look at german pronunciation it is horrible

#

like german is my first language and its horrid

#

it iss alot better

#

english is a tier 5 language

faint ermine
pine iron
#

as they use improper grammer

#

lol

bright rain
#

@pine iron Stil dont have 50 mesages?

pine iron
#

@pine iron Stil dont have 50 mesages?
@bright rain wym i have alot over 50 sped

#

go back to fanboying

#

dont even know u and u trying to come at me for no reason

#

lol

bright rain
#

just question... or?

pine iron
#

also how r u gonna say im trying to get 50 when u have 29 messages

#

@pine iron Stil dont have 50 mesages?
@bright rain oh my b i thought u were gonna tell mods i wass trying to bypass the messages like they did yesterday

jaunty elbow
#

sup

#

how is it going lazydev?

#

and roley 🙂

ancient egret
#

cab0008 how's it going

jaunty elbow
#

sup

#

I am just working on a collator/organizer pacakge for automatically creating a database

#

how about you

#

😦

#

I'm not asking, just chatting

#

cool cool

#

bleeeehh

#

yeah js gets laggy easily. I hate webdev lol

#

I don't know much of the terrain though, so perhaps some of the new langs for webdev make it cleaner

#

Everytime I do webdev it seems like just hacky solutions and throwing things together by the seat of your pants

#

webgl has some tools for interacting with cuda right? I could be pulling that out of nowhere

#

that sounds awesome

#

np

hidden cove
jaunty elbow
#

yeah this is awesome

vocal coyote
#

Hey

#

How I can see how many messages I've sent in this channel?

jaunty elbow
#

I'm looking through their GPU-Fluid-Experiemnts github to see if they have Navier Stokes in there somethwere

hidden cove
jaunty elbow
#

neat

#

I looked around a while ago at d3.js, as I am mostly in bioinformatics/chemical engineering development and like figures and such, but these are quite nice for gaming platforms and such

#

The gpu gems website reference has some neat comments from nvidia about navier stokes

#

I thikn alot of the computational concerns are rolled up in the assumptions

#

incompressibility is a nice aassumption to make

#

YOu mean if there aren't pistons and such?

#

yea

#

many moons ago

#

chemical engineering for my Bachelor/Masters, now I'm doing neuroscience/bioinformatics for my PhD

#

I just meant you can compress air with a piston at standard temperature/pressure

#

I have a son who was born with autism

#

so I got interested in neuroscience

#

Yeah, he had a significant amount of brain matter damaged by cytomegalovirus (CMV - a fairly common virus for which ~80% of the population of many developing nations have) during development, so it affected language abilities. So I am studying language and idea formation within the brain

#

Zika and CMV are viruses, but they don't necessarily have a lot of sequence similarity. I don't know a ton about that however

#

yea zika also causes neurological problems

whole bear
#

@jaunty elbow How do you use topology for that case? That sounds so cool...

#

I've never seen applied advanced maths

#

Only read textbooks

#

Do you have any papers I can read?

whole bear
#

Oh yeah it's great @jaunty elbow

#

I went to a lecture on immunology and that was a huge topic

whole bear
#

Anyone having issues with RTC connection @frigid shard @scarlet cloak ?

#

I can't hear anything....

#

@hidden cove Linus Pauling

whole bear
#

Hmm maybe cause I live so far away

scarlet cloak
whole bear
#

Neither of those work, it just says I have RTC issues

#

Probably just internet connection issues

scarlet cloak
#

yh, maybe

lapis mist
#

Can you suggest me sites for learning python

scarlet cloak
stuck furnace
#

Hey, check out the resources section of our website:

#

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

flint pagoda
#

I need to get voice verified 😦

#

I must type moore than 50 msgs

#

omg :((

stuck furnace
#

Ah you'll meet the requirements for voice verification in no time @flint pagoda 🙂

flint pagoda
#

yeaah thaank yaa

stuck furnace
#

You can still listen in on the voice channels in the meantime.

flint pagoda
#

yes I will

stuck furnace
#

Or ask/answer questions in the help channels, and chat in the off-topic and topical channels.

hidden cove
#

People will still talk to you if you talk to them in voice chat text channel.

flint pagoda
#

thank yall I guess I might help with what I can

stuck furnace
#

Hey, so what's everyone up to?

flint pagoda
#

m devlopping a mobile app with kivy its really hard 😦

stuck furnace
#

Yep I remember that

flint pagoda
#

designing with python is a little bit hard

stuck furnace
#

Oh, he also talked about chirality in one of his chemistry lessons.

#

I remember learning about the thalidomide tragedy at school.

#

Yep

#

Chemistry just baffles me 😄

#

Well, now a staff member knows...

#

Jk it's fine 😄

whole bear
#

@jaunty elbow Oh yeah Blevins has a BSc in maths

stuck furnace
#

Erm, I feel like this might be straying into conversation that's inappropriate for this server... @hidden cove

#

Sorry 😄

whole bear
#

Yeah...

#

@stuck furnace Maybe use mic

stuck furnace
#

Yeah no worries

#

Ah yeah I was about to mention him.

whole bear
#

Are you guys gonna be here in 15 mins? I gtg but I'll be back

stuck furnace
#

Nice

#

A couple of the helpers on this server are amateur pilots I think.

#

What is the running cost for a small prop plane like?

#

I think Amazon have been trialing delivery by drone?

whole bear
#

Pilot licenses cost too much

#

And it's annoying scheduling for each session

#

I could do a 50% discounted license but you need 20 hrs minimum here and it's too much

#

But you can get a pilot license before driver's license here

stuck furnace
#

gtg

#

See ya

hidden cove
scarlet drift
#

Hey wsup guys

whole bear
scarlet drift
#

@rigid nest Are you building your portfolio?

#

and doing "fun" projects?

rigid nest
#

ye

scarlet drift
#

That's great man

#

you'll get there

#

took me like a year

jaunty elbow
#

Taiyo Inoue has a twitch feed that is nice to see a breadth of math problems being solved. He's a professor at Berkley that just answers any math question on the spot

rigid nest
#

how'd you study?

#

oooo sick thx cab

scarlet drift
# rigid nest how'd you study?

online courses and stuff. After I got proficient in Python I started DS and Algos. Practiced them for like 2 months and after that started doing projects

rigid nest
#

noice

scarlet drift
#

num-py (py as like python)

#

I have never understood how a machine learning model knows that now it has trained lol

whole bear
#

Andrew's course is apparently 60 hrs long over 11 weeks but on YT the videos of the course are 12 hrs long

#

Can I do it in 12 hrs cause I really will never get 60hrs to work on this

scarlet drift
#

and would predict the next thing without having a reference (or does it have a reference?)

whole bear
#

heyy i have a questionn

hidden cove
#

no u don't

whole bear
#

@scarlet drift Regression and gradient descent

sinful bramble
#

wait lol

whole bear
#

(Sorry to whoever I pinged)

sinful bramble
#

xD

whole bear
#

I accidentally pressed tab too quick

#

^The only good-looking thing I've made in Fusion

#

^Not mine but I made a look-alike

rigid nest
#

^^^ cards model above ^^
    def card_list(author_id):
        cards = Card.query.filter(Card.user_id == author_id,
                Card.known==False).all()
        finish = []
        while(len(finish) < len(cards)):
            k = random.randint(0,(len(cards)-1))
            check = False
            for i in finish:
                if i == cards[k]:
                    check = True
                    break
            if check:
                continue
            finish.append(cards[k])
        return finish

    # leveraging custom json encoder, iterate through cards to append to list
    def jsonify_cards(cards):
        res = []
        for i in cards:
            tempcard = i.__dict__
            tempcard.pop("_sa_instance_state")
            card = JSONEncoder().encode(tempcard)
            res.append(card)
        return res


# extend json encoder class
class JSONEncoder(json.JSONEncoder):
    
    # overload default method
    def default(self, obj):
        
        # match all the types you want to handle in conversion
        if isinstance(obj, datetime):
            return obj.strftime("%m/%d/%Y, %H:%M:%S")
        return json.JSONEncoder.default(self, obj)
whole bear
#

Guys I gtg, it was fun

severe copper
#

hi

rigid nest
#

ay

severe copper
#

what y'all upto

scarlet drift
#

Harvey wants to see you in his office @whole bear

whole bear
#

Okay just a sec @scarlet drift

#

🙂

scarlet drift
#

hey guys, what's the best approach to parsing json if I don't know the same keys will appear again?
should I go with dict.get or put a try except keyError?

faint ermine
#

!e ```py
class A:
class_var = "this is attached to the class not the instance"
def init(self):
self.blah = "this is attached to the instance, not the class"

print(A.class_var)
print(A.blah)

wise cargoBOT
#

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

001 | this is attached to the class not the instance
002 | Traceback (most recent call last):
003 |   File "<string>", line 7, in <module>
004 | AttributeError: type object 'A' has no attribute 'blah'
faint ermine
#

self.__blah -> _A__blah

#

!e ```py
class A:
def init(self):
self._the_number = 5

@property
def number(self):
    print("got number using getter")
    return self._the_number

@number.setter
def number(self, new):
    self._the_number = new
    print("set number using setter")

a = A()
print(a.number)
a.number = 14
print(a.number)

wise cargoBOT
#

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

001 | got number using getter
002 | 5
003 | set number using setter
004 | got number using getter
005 | 14
manic magnet
#

7:49

chrome osprey
#

7:50

#

vim discord rich presence extension

rigid nest
whole bear
#

Hi hemlock

#

hemlock_to_sherlock = 'hemlock'.replace('hem','sher')
print(hemlock_to_sherlock)
rugged root
swift valley
#

'Ello

whole bear
#

Hi pure

swift valley
#

I gotta get my Neovim setup going, my current extension doesn't play well with my Haskell tooling

#

The completions and IDE-like features

whole bear
#

no

swift valley
#

You got cut off for a bit there Hem

#

Not recently, I haven't set up .NET and all that jazz on my machine yet

rugged root
#

Ah fair enough

whole bear
#

hi guys

rugged root
#

How goes it

swift valley
#

Speaking of music, I love this album

rigid nest
#

half an hour into it, super confused.

rugged root
#

Half hour into what?

rigid nest
#

the little schemer:

What is (cons s l)
where
  s is ((help) this)
and
  l is (is very ((hard) to learn))
#

(((help) this) is very ((hard) to learn))

rugged root
#

!f-string

wise cargoBOT
#

In Python, there are several ways to do string interpolation, including using %s's and by using the + operator to concatenate strings together. However, because some of these methods offer poor readability and require typecasting to prevent errors, you should for the most part be using a feature called format strings.

In Python 3.6 or later, we can use f-strings like this:

snake = "Pythons"
print(f"{snake} are some of the largest snakes in the world")

In earlier versions of Python or in projects where backwards compatibility is very important, use str.format() like this:

snake = "Pythons"

# With str.format() you can either use indexes
print("{0} are some of the largest snakes in the world".format(snake))

# Or keyword arguments
print("{family} are some of the largest snakes in the world".format(family=snake))
swift valley
#

My internet's going potato today

rugged root
#
ctx.send(f"{ctx.author.mention} Other string stuff here")
swift valley
#

Just noticed, the preview does it some justice by using the climax at least

manic magnet
#

there's a create_dm method for Member

rugged root
#

Thank you pin

#

I was being lazy occupied with a work thing and couldn't get it

swift valley
#

I'm slowly but surely being convinced to switch to Emacs all because of the tooling

manic magnet
#

np hemmy u rock

stoic ore
#

Hi @ALL

#

how are u ?

#

sad happy its nature

#

bad angry ? to what ?

#

it is human-matter related

subtle orchid
stoic ore
#

for f string

#

you need to use {} bracket

subtle orchid
#

scatter and gather

stoic ore
#

for print(f'strıng here {func or obj. in here }and the other things ')

subtle orchid
#

def printall(*args):
print(args)

#

printall(1, 2.0, '3')
(1, 2.0, '3')

#

this one is gather

stoic ore
#

@whole bear did u get that idea

rugged root
#

!codeblock

wise cargoBOT
#

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.

stoic ore
#

@whole bear


objet = 95
print(f'I am {object} years old')


#

proper example

#

change add1

#

😄

somber heath
swift valley
#

I really wish Microsoft allowed pyright to be run as a standalone language server

hollow haven
rugged root
#

!e

class Student:
  def __init__(self, name, age):
    self.name = name
    self.age = age

  def introduce(self):
    print(f"Hi!  I'm {self.name}!  I am {self.age} years old.")

class SpecialStudent(Student):
  def __init__(self, favorite_subject, *args):
    super().__init__(*args)
    self.favorite_subject = favorite_subject

  def fave(self):
    print(f"My favorite subject is {self.favorite_subject}.")

sally = SpecialStudent("Math", "Sally", 5)
billy = Student("Billy", 6)

sally.introduce()
billy.introduce()

sally.fave()
billy.fave()
wise cargoBOT
#

@rugged root :x: Your eval job has completed with return code 1.

001 | Hi!  I'm Sally!  I am 5 years old.
002 | Hi!  I'm Billy!  I am 6 years old.
003 | My favorite subject is Math.
004 | Traceback (most recent call last):
005 |   File "<string>", line 24, in <module>
006 | AttributeError: 'Student' object has no attribute 'fave'
haughty idol
#

is their android emulator online ?
i don't have enough ram for android studio
any idea ?

swift valley
#

BlueStacks is local

rugged root
#

!e

class Student:
  def __init__(self, name="Steve", age=9):
    self.name = name
    self.age = age

  def introduce(self):
    print(f"Hi!  I'm {self.name}!  I am {self.age} years old.")


class SpecialStudent(Student):
  def __init__(self, favorite_subject="science", **kwargs):
    super().__init__(**kwargs)
    self.favorite_subject = favorite_subject

  def fave(self):
    print(f"My favorite subject is {self.favorite_subject}.")

sally = SpecialStudent(name="Sally", favorite_subject="math", age=5)
billy = Student(age=6, name="Billy")

sally.introduce()
billy.introduce()

sally.fave()
billy.fave()
wise cargoBOT
#

@rugged root :x: Your eval job has completed with return code 1.

001 | Hi!  I'm Sally!  I am 5 years old.
002 | Hi!  I'm Billy!  I am 6 years old.
003 | My favorite subject is math.
004 | Traceback (most recent call last):
005 |   File "<string>", line 25, in <module>
006 | AttributeError: 'Student' object has no attribute 'fave'
lethal ingot
#

Is developing bots available for non-community servers ?

#

👍

swift valley
#

F-string format specifiers are lovely

amber raptor
#

Bots can join non community servers

swift valley
#

brb getting snacks

lethal ingot
#

Can I access developer portal from the discord windows app ?

#

not the website

swift valley
#

matplotlib is too expensive

#

Just use a built-in lol

subtle orchid
#

😔

swift valley
#

You shouldn't worry about it too much, we were all beginners once

subtle orchid
still silo
#

a hack for fstring template....


template = "{foo} {bar} {baz}"
foo, bar, baz = "abc", "def", "ghi"
eval(f"f'{template}'")
lethal ingot
#

Dude, Mark Zuckerberg stood trial for infringing copyrights

#

It's not about he is from Iran specifically

neon sleet
#

ooh, that hack seems pretty cool

somber heath
#

My evil, bad-practice code.

port tkinter as tk
from PIL import Image, ImageTk
root = tk.Tk()
image = Image.open('image.png')
imagetk = ImageTk.PhotoImage(image)
img = tk.Label(root, image=imagetk)
img.place(x=0,y=0)
root.geometry(f'{image.width}x{image.height}')```
neon sleet
#

!e

template = "{foo} {bar} {baz}"
foo, bar, baz = "abc", "def", "ghi"
eval(f"f'{template}'")
wise cargoBOT
#

@neon sleet :x: Your eval job has completed with return code 1.

001 |   File "<string>", line 2
002 |     foo, bar, baz = "abc", "def", "ghi"
003 |     ^
004 | SyntaxError: invalid non-printable character U+FEFF
neon sleet
#

hmm...

neon sleet
#

Isn't this thing working

from PIL import Image

#read the image
im = Image.open("sample-image.png")

#show image
im.show()
lethal ingot
#

Is python discord non-profit ?

#

or they make money ?

somber heath
#

@neon sleet Other data gets displayed alongside, hence tkinter.

pure path
neon sleet
#

what do you mean by other data?

somber heath
#

@fierce summit It was you with the horse thing?

still silo
#

I use perl sometimes for regex one-liners - e.g. echo string... | perl -pe 's|(foo\d+).*|\1|'

#

it has a rich regex unlike sed which i never remember the cli arg to use the powerful version 🙂

whole bear
#

@mystic marlin so i guess u must be using something like Selenium??

somber heath
#

I think just opening the image and printing to console would be the way to go in pre-bot alpha development. Messing around with tkinter would be a complication.

whole bear
#

Ohhh there are a lot of ways to get that working

lethal ingot
#

What software you use for recording screen ?

whole bear
#

@mystic marlin sounds pretty interesting

still silo
#

@lethal ingot - I am on linux and for basic screencasting simplescreenrecorder worked ok - its not fancy but gets the job done

swift valley
pure path
#

huh

somber heath
#

A meat badge - For when a paper/plastic badge doesn't cut it.

#

Paging Lady Gaga

swift valley
#

matplotlib depends on the following packages

    install_requires=[
        "cycler>=0.10",
        "kiwisolver>=1.0.1",
        "numpy>=1.16",
        "pillow>=6.2.0",
        "pyparsing>=2.2.1",
        "python-dateutil>=2.7",
    ],
#

In terms of simply displaying an image, that's already a lot

pure path
#

wait it does?

#

oh

stiff granite
#

how do i do an on key press? for example im writing a code where when u click the enter key, it shows the punchline for a joke that i printed before

somber heath
#

I saw 2.7 and thought "...huh?" Then my brain caught up.

neon sleet
#

hmm.... yeah, forget about matplotlib

somber heath
#

python-dateutil

neon sleet
#

but what is the purpose to view the image?

somber heath
#

@stiff granite Using what framework?

lethal ingot
#

Python discord has most active voice chat in my experience comparing to other community servers

stiff granite
#

what do u mean by that @somber heath

olive sentinel
#

Voice channels are hard. We did not really start seeing a lot of activity until quite recently.

#

But, having people in the voice channel attracts others who join, so I guess there's a threshold that makes it snowball

still silo
#

U could shorten it w/ pgrep

somber heath
#

@stiff granite You can probably just use input if you're using the terminal/console/text window.

olive sentinel
#

It also comes with some major moderation challenges

whole bear
#

@whole bear what was that😂

#

Sebastiaan legend

stiff granite
#

well im coding in vsc

still silo
#

I lost so many hours of my life to CS in the 2010's - awesome game :-)'

whole bear
still silo
#

I went full linux to make sure I would not be tempted back - I guess they finally ported it years ago to linux but I am not investigating 🙂

whole bear
#

hmm

stiff granite
#

@somber heath im coding in vsc (does that help?)

somber heath
#

@stiff granite Have you covered input yet?

stiff granite
#

well yah we did that for one of my other codes u helped me with

somber heath
#

@stiff granite You can use input() as a "pause here until enter is pressed" technique.

stiff granite
#

ok but how would i do that?

somber heath
#
print('Why did the chicken cross the road?')
input()
print('To get to the other side.')```
rugged root
#

@neon sleet You were the one insisting you needed to use matplot lib for the image, right?

#
>>> import os
>>> os.startfile(".\image001.png")
neon sleet
#

nahnah

#

I am sorry dude

rugged root
#

No no no, you're good

#

I just was stoked that I found a way to open it without tkinter

neon sleet
#

people saying that matplotlib is sooo heavy

rugged root
#

That'll just open the file as you normally would using the OS' default program

stiff granite
#

ok, so then what is the input though @somber heath

rugged root
#

Well not even heavy, just not needed for this usecase

latent moss
rugged root
#

Hell yes

latent moss
#

yeah

rugged root
#

I knew there was SOMETHING, I just couldn't remember the how

stiff granite
#

@somber heath cause we didnt set anything in the input

rugged root
#

Interestingly, it's not blocking either

whole bear
#

@mystic marlin use tkinter its lightweight and easy to use

somber heath
#

@stiff granite input accepts user-provided text and returns it. Since we're not doing something like var = input(), that return value isn't being assigned to var. So input() is just serving as a way to pause the execution of the script until enter is pressed.

latent moss
#
>>> import os
>>> os.startfile('corona.png')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: module 'os' has no attribute 'startfile'
``` wut, is this a 3.9 feature ?
stiff granite
#

but technically u could press anything and it will work @somber heath

rugged root
#

Oh

#

Windows

latent moss
#

eh?

rugged root
#

Whelp, didn't realize it was Windows only

latent moss
#

D:

whole bear
#

@mystic marlin no actually it's somewhat difficult to pronounce😂

neon sleet
somber heath
#

@stiff granite No. Any text you type will appear, per standard input behaviour.

rugged root
#

Yeah, just kind of bummed that it's Windows only

#

Have to find a way for the Unix likes

latent moss
#

yeah

somber heath
#

@rugged root xdg-open

latent moss
#

xdg?

somber heath
#

Shell command.

whole bear
#

@mystic marlin yeahh english is my second language too

mystic marlin
#

nice

latent moss
#

yeah ik that, but it isnt python right

stiff granite
#

@somber heath ooo cause its looking for input so whenever u click enter it executes the input and then shows whatever is next aaaaa ok i got it (that works but my teacher said use something with on key press)

lethal ingot
#

You can actually set timer to run a .py file ?

#

Like a specific time of the day ?

remote crystal
#

bash time delay?

latent moss
#

i didnt know about that thinkmove , at least idk if it is possible with the script itself

somber heath
#

@stiff granite On any key would be a different arrangement.

lethal ingot
#

from Windows

#

@remote crystal

whole bear
latent moss
#

theres something like task scheduler on windows right

remote crystal
#

windows must have a bash alternative

whole bear
#

u can use threading and datetime together ig

#

guess

latent moss
#

:o

#

hmm

stiff granite
#

@somber heath cause most places im looking (openstack, nitratine) its saying use pynput and idk how to get that in vsc

lethal ingot
#

I think it's powershell

#

which runs codes on specific time

somber heath
#

@stiff granite Do any of those talk about pip installing it?

lethal ingot
#

and task scheduler as well

remote crystal
#

powershell should work same as bash so time delay for running scripts should work

whole bear
#

@rugged root can we use threading and datetime together to make a python script run at a specific time of a day?? i guess we can't bcz after all we have to run that script

whole bear
stiff granite
rugged root
#

You can but if it's something- yeah, task scheduling is going to be much more reliable

#

But you totally can do what you suggested

whole bear
#

Ohhh 😮

somber heath
#

@stiff granite I've not used that before, and it might be outside of the scope of the exercise you've been given.

remote crystal
#

if that task has to run at a particular time everyday tho, thats alot of faith on garbage collector to free memory up while the script is running between iterations, using bash, script ends ensuring memory release every iteration

somber heath
#

@stiff granite If it's just on enter, input will do fine.

latent moss
#

is this even possible, a terminal shouldnt take more than 20 mb right monkaS

#

217 mb ram from terminal

remote crystal
#

are you writing output to file?

stiff granite
#

@somber heath ok thank you for helping

whole bear
latent moss
#

i wasnt doing anything

#

i closed it and opened again, its back to no-mb at all now

whole bear
#

then its weird 😂

neon sleet
#

yip, depends on what you doing with it

latent moss
#

just opened htop nothing else

whole bear
#

umm can be bcz of thatt

latent moss
#

nope

#

not even in mb

whole bear
#

cuz something like vscode uses 200 approx mb when we open it and its heavier than the terminal

latent moss
#

and i am viewing the ram usage from htop

neon sleet
latent moss
#

tf

whole bear
#

well now thatsss a lott

lethal ingot
#

I want to send Whatsapp message in specific time everyday using python

whole bear
sick cloud
#

@somber heath how r u ?

neon sleet
#

it happens when you train a neural network on your terminal

royal sphinx
#

can anyone tell why i'm unable to speak in voice chat.
if this question seems stupid i apologize (i'm new in here)

whole bear
#

1 is complicated and takes a lot of setup

neon sleet
#

@royal sphinx get voice verified

somber heath
#

@royal sphinx Check the verification channel

whole bear
latent moss
#

@royal sphinx check out the #voice-verification channel

royal sphinx
#

ok guys thanks

whole bear
#

another is using a module called pywhatkit

sick cloud
#

@somber heath wonderful things like ?

somber heath
#

@lethal ingot You could set a script to run at boot and have that handle the timing...which sounds like a bad idea to me. If you're on linux, there's cron.

royal sphinx
#

have anyone used react or node.js?

whole bear
somber heath
#

@sick cloud Secret things.

sick cloud
stiff granite
#

@somber heath haha im back quick q how do you make the input string all caps?

somber heath
#

@lethal ingot You'd want whatever the Windows equivalent to cron is, ideally, probably, if you're Windowsing it.

#

If it exists.

lethal ingot
#

I found one dude on Youtube

#

Showing one handy method

#

with the actual code

#

I don't know why his video is age-restricted thou

somber heath
#

@stiff granite As you're typing? You don't, really. Not with input. You can uppercase the return value, however.

whole bear
somber heath
#

If you're working with a framework like tkinter or kivy or something else, you can manipulate text in fields as you go, or restrict capitalisation.

#

But that's not where you're at.

#

For now.

stiff granite
#

@somber heath yah sry wasnt clear enoght this is a new project (we have 6 tasks that we are doing) so in this one i need to wish a person happy birthday and i wanted to make there name all caps from whatever they input

somber heath
#

str.upper

stiff granite
#

right ok thanks i knew there was a way but i didnt remember how to do that

somber heath
#
'Hello, world.'.upper() == 'HELLO, WORLD.'```
royal sphinx
rugged root
#

@crystal fox Hiiiiiii

whole bear
#

can someone help me with some math?

royal sphinx
whole bear
crystal fox
#

hello hemlock

somber heath
#

@whole bear Are you feeling lucky?

rugged root
whole bear
#

no...

#

idk

#

why

rugged root
#

Since when did Opal turn into Dirty Harry?

stiff granite
#

@somber heath like this?

print("HAPPY BIRTHDAY")

name= input("what is your name >> ").upper

print("HAPPY BIRTHDAY " + name )
somber heath
#

@stiff granite ()

#

@whole bear What's the math?

digital jackal
#

guys what is this voice verification thing

#

and how do i do it

#

im typing the command its just not working

somber heath
#

@stiff granite Right now, name will point to str.upper once you press enter.

whole bear
#

u need to have the basic requirements for that @digital jackal

crystal fox
#

@digital jackal you need to have been on the server for a bit and engaged in conversations to be able to voice activate

whole bear
#

@crystal fox yeah that was😶

digital jackal
#

i am

royal sphinx
digital jackal
#

im always here asking for help in the help channels

#
  • im always in the voice channels
crystal fox
#

well if you've got +50 lines typed, you can go to the voice verification channel and verify

digital jackal
#

i did

#

it just repeated

#

like i typed nothing...

digital jackal
#

its been like 2-3 weeks

somber heath
#

@stiff granite upper needs to have () after it, otherwise you're not calling the method, upper, you're just pointing to it.

whole bear
#

@digital jackal u must be getting a dm from the bot

#

and it states what u need to do

#

so just follow that and u will be good to go

digital jackal
#

@whole bear how tho, i got a message from the owner joe telling me to do the voice verification in the chanel voice verification

whole bear
#

@crystal fox yeah he is

stiff granite
#

@somber heath ok thats what i was missing

#

ty

digital jackal
#

ah wait

#

i dont think i have 50 + lines in here

#

:/

#

nvm guys

whole bear
#

@digital jackal might be

digital jackal
#

yea...

whole bear
#

@crystal fox yeah actually now i got that😂😂😂

crystal fox
somber heath
#

@stiff granite Also, I'll show you another thing.

name = input('Name: ')
print(f'Hello, {name}.')```
digital jackal
#

@stiff granite you can also add \n to insert your answer on another line

#

like name = input('name : \n')

somber heath
#

@stiff granite Doing something like 'Hello, ' + name is what's known as concatenation. String concatenation, in this case. Where you use + to join strings together. Not to be confused for numerical addition.

lethal ingot
#

I don't feel comfortable that Android, ios, Linux, windows, MacOs are all from one country

#

There is no international market competition

#

in the Operating systems field

digital jackal
#

@lethal ingot what do you mean by that?

whole bear
#

@faint ermine random stuff!!

royal sphinx
#

python2 is still relevant in 2020?

faint ermine
#

no

lethal ingot
#

Just an economic opinion that USA is dominating the operating systems market and I wonder that China, Japan or Europe have not made an OS

somber heath
#

@stiff granite Using string formatting is generally going to be a better way to insert text into specific points than concatenation. So the example where a string was prepended with an f, f'Hello, {name}.', is what's known as an f-string, a format string. It's generally going to be a hell of a lot cleaner than using concatenation.

lethal ingot
#

I have voice ban infraction

digital jackal
#

ah

#

lmao

lethal ingot
#

Its doesn't look safe

#

If a problem happened in the US

#

Lowkey, yes

#

Cool

digital jackal
#

i think there is much more than linux

lethal ingot
#

Something not American dominated

digital jackal
#

40% of the ceos in microsoft are from another country/origins

#

and other hq and managments

#

@crystal fox not really

#

its just that there economy it self is way more advanced than other countries

lethal ingot
#

There's Atlassian

digital jackal
#

there is no copyright as a "copyright" in that way

#

yeah exactly

lethal ingot
#

I just finished eating Hummus

#

Italy is the founder of Pizza and Piano

#

Anything starts with P is Italian

rigid nest
#

i was gonna order that

#

filthy

#

quick lisp

#

quick list

#

lick

lethal ingot
#

Amerish

somber heath
#

"Pre-chewed for your protection."

rigid nest
#

"pre digested"

lethal ingot
#

lol

rigid nest
#

nobody runs an olive oil cooled pc

somber heath
#

@rigid nest Italians.

crystal fox
candid venture
somber heath
#

You could run it through a filter.

#

Covering it would help.

candid venture
#

Years after a seemingly normal stream, Drew found himself at the mercy of the internet as he accidentally became one of the biggest memes of the year.

Make sure to check out Drew's YouTube channel here: https://www.youtube.com/clothmap

Do you know the man who became the meme “Hide The Pain Harold”? Hear his story here!
https://youtu.be/a3WnvD...

▶ Play video
lethal ingot
candid venture
#

A stock photo shoot led to one of the biggest memes on the internet and changed one man's life forever.
Click to subscribe to BuzzFeed’s newest channel, Cocoa Butter!: https://www.youtube.com/CocoaButter/

Be sure to follow along with Hide The Pain Harold at:
Facebook: https://www.facebook.com/painharold
Instagram: https://www.instagram.com...

▶ Play video
lethal ingot
#

A coup

#

👋

#

Is it American movie ?

#

😏

latent moss
#

bello

lethal ingot
crystal fox
lethal ingot
#

Not that austere

#

As long as the memes are not offensive

#

It's psychologically good to make people laugh

#

emergency line in Australia is insurance-based

somber heath
#

Facts machine - A machine that spits out random facts.

amber raptor
#

Bisk, I mean docx files are not text based

crystal fox
#

no, they are not.

somber heath
#

Fax machine. Fax as in facsimile.

crystal fox
#

what is your point rabbit?

amber raptor
#

Will textract handle that?

crystal fox
#

yup!

#

textract uses antiword as a backend

#

antiword can handle almost any word format

frosty ginkgo
#

Hi all

somber heath
#

o/

sick cloud
stoic ore
#

hi

sick cloud
#

............

frosty ginkgo
#

Its nice to be here, I actually joined a few weeks ago but I was inactive

amber raptor
#

Also, OneDrive should be able to search these files

sick cloud
#

.......

#

wait

#

dog face, human hands ?

lethal ingot
#

AI

sick cloud
somber heath
#

carykh

stoic ore
frosty ginkgo
#

Its a slow process

sick cloud
frosty ginkgo
#

😄

lethal ingot
#

I'm talking to nobody

#

lol

frosty ginkgo
#

Ur funny m8

lethal ingot
#

that had me laughing

stoic ore
#

!spoiler

sick cloud
#

||<stuff>||

stoic ore
#

|stuff|12|stuff|

#

|thats what she said|

sick cloud
#

||<stuff>||

lethal ingot
#

||shhhhhh||

stoic ore
#

||<sheph||

sick cloud
#

||complex||

crystal fox
#

Sheffer stroke

lethal ingot
#

ok bye

#

||ciao guys, it's 4:56 a.m. and I'm finally going to sleep||

frosty ginkgo
#

||bye bruh||

sick cloud
#

||bye||

#

||gn||

frosty ginkgo
#

Server still has a quite large community

#

despite voice very thing

sick cloud
#

a moment of silence

sick cloud
#

actually the voice chat is quiet now

frosty ginkgo
#

cuz it does it job quite bad

#

when you write in chat while others talk

#

they dont read it actualy

#

I would kick for the troll 😄

sick cloud
#

some times they do

#

read it

frosty ginkgo
#

sometimes 😦

#

In reality you are the guy who listens other talk and write to nobody .p

#

litrealy you write nobody 😄

frosty ginkgo
stiff granite
#
vol_of_elevator = 210*90*130

print(f"elevator volume = " , vol_of_elevator)

(vol_of_fridge) = 178.1175*74.6125*90.4875

print(f"fridge volume = " , vol_of_fridge)

float(empty_vol) = vol_of_elevator - vol_of_fridge

print("remaining volume is" + empty_vol)

im getting an error in the floar

rugged root
#

You can't do a function on the assignment side (left of the equals). If you want it to be a float, do:

empty_vol = float(vol_of_elevator - vol_of_fridge)
#

Although from the looks of it, it'll be a float anyway

stiff granite
#
print("remaining volume is" + empty_vol)
TypeError: can only concatenate str (not "float") to str

this is the error im getting

#

thats without the float in the code at all

faint ermine
#

you would want to convert empty_vol to a string first

print("remaining volume is" + str(empty_vol))

alternatively, i recommend you look into f-strings which make string formatting way nicer

stiff granite
#

ok thank you it works

royal sphinx
#

Django vs flash?

#

Can Someone compare thre strengths and weaknesses of each.

somber heath
#

Dist-REST. Like an API, but it's been used and abused and now it's breaking down.

whole bear
#

hi

somber heath
#

o/

#

Ship shape code - Indentation use level: Expert.

rugged root
#

Hai pulse

swift valley
#

LSP setup is hell

#

Coffee won't let me sleep

tidal junco
#
array = [1, 2, 3, 4, 5]
print(sum(map(lambda x: x * x, filter(lambda x: x % 2, array))))```
#
print(
    iter(array)
    .filter(lambda x: x % 2)
    .map(lambda x: x * x)
    .sum()
)```
faint ermine
rugged root
#

@whole bear Not sure if that was intentional, but your mic is loud and garbled.

#

I'm going to unmute you, but I ask that you either fix it or mute

whole bear
#

i fix it

#

i think its fixed

somber heath
#
nums = 1, 2, 3, 4, 5
print([v*v for v in nums if not v%2])```
rugged root
somber heath
#

It annoys me when people bend sausage like that.

frigid panther
#

!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.pydis.com/

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

somber heath
#

On something that isn't a proper twisty division bit.

tidal junco
faint ermine
whole bear
rugged root
scarlet drift
rugged root
tidal junco
#

@scarlet drift aiohttp + my stuff

scarlet drift
#

Ah

tidal junco
#

OpenAPI (Swagger) for docs

scarlet drift
#

Nice

swift valley
#

Not really sure how much I consume in a day but I eat a lot of rice, that's for sure

frigid panther
#

what are we allowed to stream @rugged root , other than code

#

games?

#

ahh okay

#

I was thinking minecraft

#

-_-

#

I'm a redstone noob

#

I am a builder

#

Can I stream minecraft?

rugged root
#

Nah, not right now

frigid panther
#

there are minecraft mods for lua

#

you can have a computer inside minecraft

somber heath
#

There are a couple of python specific mods for MC. A Raspberry pi-originating API mod for MC was the best I've come across. The others had little in-game robots that were a little buggy.

rugged root
#

Interesting

somber heath
#

But yes. OpenComputers would be your best lua choice. Computercraft for a second choice.

#

I did a Menger Sponge using the RPi one. (It doesn't need an RPi).

#

Flying around inside was fun.

somber heath
#

"Good morning, children. Today, we're going to play a game called Simulated Mains Power Outage."

#
  • YANK *
heavy nacelle
#

def parceRealPower(payload):
return payload["DeviceInformation"][0]["sunnyboy_inverter.calc_ac_power_kw"]

#

def byteStrToDict(message):
payload_str = message.payload.decode("UTF-8")
return ast.literal_eval(payload_str)

#
    payload_str = message.payload.decode("UTF-8")
    return ast.literal_eval(payload_str)```
faint ermine
gilded rivet
#

🆔

faint ermine
#

@sharp warren