#voice-chat-text-0

1 messages Β· Page 142 of 1

vocal basin
#

if it's keys/tokens/etc., it should probably an environment variable

somber heath
#

Even if you just don't care about said group.

vocal basin
#

I will
go benchmark my dumb "database"

#

delayed messaging

somber heath
#

Which everyone should, because apathy enables atrocity.

#

The crafting of mines.

vocal basin
#

"lawlessness will impact everyone"
(trying to translate some now famous Russian saying)
was very prominent when RT got upset about their employees getting illegally drafted

#

@somber smelt or you need to be trusted enough to own a CA certificate

pallid verge
#

i did not know about that till now

vocal basin
somber heath
#

Step one: Invent exe file format.
Step two: Obscene profit.
Step three: Declare exe files malicious.
Step four: "πŸ˜Άβ€πŸŒ«οΈ Cloud is the new exe."

pallid verge
#

or .sh format ?

vocal basin
#

not at all

#

analogue of EXE would be ELF
but it's different in how it's treated by the OS

pallid verge
#

ou

somber heath
#

@turbid sandal You mentioned a felted mouse

vocal basin
#

still waiting for desktop containerisation

#

I think Linuxes already have it

waxen loom
#

Whats happening here

vocal basin
#

(etc. being flatpak)

vocal basin
#

Solaris/BSD

#

executable and linkable format

#

EXE can work as DLL too

#

.NET uses that often

vocal basin
pallid verge
#

oh

waxen loom
#

everyone is over 13

#

it is impossible to be under 13 lol

vocal basin
#

everything format

pallid verge
#

huff ... I am working my ass off as an intern in a startup and they're paying me nuts (122$ / month) ;-;

waxen loom
#

if you dont want it ill take the job xoxo @pallid verge

pallid verge
vocal basin
#

look for a more adequate place

#

"intern in a startup" is suspicious on its own

#

do they just not have money to pay normally?

pallid verge
#

meh .. the boss is just gulping money on its own ... he is earning good enough

vocal basin
#

yeah, that's not a startup, it's an exploitation company

#

idk how things are where you live, but even here paying so little for a full-time job is basically illegal

pallid verge
#

have to survive till then

somber heath
#

@somber smelt I just want you to know...

#

You did this to yourself.

pallid verge
#

I wanna shift to Europe or USA but here getting visa is very tough ...Unless I go for higher education or some company sponsor me

vocal basin
#

@turbid sandal how about you first test your code yourself on a VM?
and only then dare to think about insulting others

pallid verge
#

or I am married to the person living there XD

jolly terrace
vocal basin
#

a child is a child, I choose against judging children so early in their life

lunar ice
#

You can UMute me

jolly terrace
vocal basin
#

not me

lunar ice
#

!voice

wise cargoBOT
#
Voice verification

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

vocal basin
jolly terrace
median hill
#

hiii

#

yup no perms πŸ˜₯

#

yeah I think its almost been a month

#

but wasn't that active

#

umm lemme try

#

!voice

wise cargoBOT
#
Voice verification

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

median hill
#

50 msgs condition left πŸ™ƒ

#

yup πŸ˜‚

#

yeah I'll do that

#

what are you guys doin tho rn?

#

well gtg, byeee

whole bear
#

hi!

#

hiii not much

#

nothing

#

what's a gofek

#

oh lol

#

the stream keeps not wanting to load

#

yes!

#

ty

#

is this coursera?

#

nice

robust bone
#

Download the new Furious 7 Soundtrack Deluxe Version on iTunes here: https://apple.co/3paGCzN

See Wiz on tour http://wizkhalifa.com/tour

Tag β€ͺ#β€ŽSeeYouAgain‬ on Shazam and get an exclusive behind the scenes look at the music video!

Get official merch here: http://atlr.ec/OfficialWKMerchYT

Stream Furious 7 on Spotify: http://smarturl.it/stream...

β–Ά Play video
somber heath
robust bone
#

❀️‍πŸ”₯ avicii

vocal basin
#

... and then a little more

ebon mist
#

hello

vocal basin
#

can you guess the most frequently used import in the solutions?
(one class/function/constant; Python)

vocal basin
#

no, not in functools

#

collections.Counter

#

quite a lot of problems can be expressed via counting
and I don't think I've encountered any performance deficits of it so far

#

it does cost quite some memory, but not much time

somber heath
#

@whole bear πŸ‘‹

#

Doing the thing where one hangs around.

#

Saying hi.

#

Occasionally dispensing sass.

#

Or is that gas?

#

Both?

#

Both is good.

#

Okay. Ta ta.

#

@proper anchor πŸ‘‹

#

Yo ho.

#

I'm currently getting my shit together and building some inventory management.

#

Refined storage.

#

@steep nimbus πŸ‘‹

#

Yes.

#

Oh my, yes.

steep nimbus
#

Hey

#

@somber heath are you well versed in python?

somber heath
#

People seem to think so.

steep nimbus
#

I mean have you created any game

somber heath
#

@rare island πŸ‘‹

somber heath
rare island
steep nimbus
rare island
#

hi guys do you know django

steep nimbus
#

I just hop on that

somber heath
#

Yes, well, I can hear you....quite well, in fact.

steep nimbus
#

I have started python a month ago. I wanna become game developer could you suggest me which other language i should target RUST or C++

somber heath
#

A C language would be the traditional answer. There'd be a lot of trodden ground, there.

#

Which is not to dismiss Rust.

wind raptor
#

If you have a beast of a computer, you can use C++ and Unreal Engine, if not, I suggest C# and Unity

steep nimbus
#

I heard C is quite a primitive language not in modern day use other than Operating systems

#

How true is this?

somber heath
#

A C language.

#

Not necessarily C. πŸ™‚

#

But yes.

#

It is a lower level language.

#

One step above assembly.

steep nimbus
#

Oh thnks

somber heath
#

You're not.

#

Unless I'm in space.

#

You had to go and bring facts and good ideas into it. Didn't you?

#

No, I prefer that.

#

People, being people, have allergies in the regular way.

#

We have a pollen count on the news.

#

We've a mix of stuff.

#

So there'd be an intensity cycle.

#

We have antihistamine ads.

#

@viral laurel πŸ‘‹

#

Are you currently experiencing hay fever?

wind raptor
#

Way too much

#

!stream 1053732836693258391

wise cargoBOT
#

βœ… @turbid sandal can now stream until <t:1685971993:f>.

somber heath
#

@turbid sandal Don't show them your buttons. If they press them, don't let them know they're connected.

#

Also, don't dish it if you can't take it.

#

@rugged root

#

@whole bear πŸ‘‹

#

Pain rings a bell.

wind raptor
#

Hey @midnight agate πŸ‘‹

waxen loom
#

can anyone help with a matrix rotation equationy thing i tried making? i think it works for any given matrix size

rugged root
waxen loom
#

for rotating 90degrees right, where In=initial position: (Inrow, Incol) - > (Incol, MaxCol-Inrow)

#

i think it works, did it in ms paint and it works for everysize i could think of

#

new coordinates are always correct for any given size right? like i can rotate any given matrix size now right?

#

(for 90 degrees right)

rugged root
#

I'm confused, are you just needing a sanity check? Or is there something not working

rugged root
#

Yeah

waxen loom
#

yeah just need a sanity check

rugged root
#

Can you link your code?

waxen loom
#

there aint any code yet, its just my thought process for the interviewy questions of rotating matrixs

#

actually, never mind, i think i just figured out how to transpose and reverse in one step algebraically, i think thats what i did lol

#

dw bout it

somber heath
#

@whole bear I call it Garbage Collection Month, here.

#

Genuine terror. So funny.

#

Guns pointed at grannies. Always hilarious. πŸ˜•

#

I'm not objecting, but I am judging.

rugged root
#

Oh my god.

#

"Don't like our name?"

somber heath
#

Well, some people have issues with pork. So while I don't share the aversion, I do understand.

whole bear
somber heath
#

Pork buns naughty? Pork buns are the best

#

Oh.

#

You mean pork butt.

rugged root
#

Back in a bit

somber heath
#

Python programmers be like: "It's not called copying, it's called importing, and it's classy."

#

@turbid sandal

turbid sandal
#

hahaha

somber heath
#

How long do you season a wok for?

rugged root
#

500 miles

somber heath
#

Five-hundred, twenty-five thousand, six-hundred minutes.

dense ibex
#

CoC

somber heath
#

Seasons of wok, wok wok wok wok wok wok wok wok wok.

#

It started out in a web browser.

#

I played it.

#

@dense ibex

#

You snagging a server?

amber raptor
hallow warren
dense ibex
#

!paste

wise cargoBOT
#
Pasting large amounts of code

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

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

whole bear
somber heath
#

@rugged root If there's a big ass issue, maybe someone needs to be working out.

#

Donkey what?

#

Oh

#

Ass.

rugged root
#

God damn it....

#

Gotta call our MSP for something

#

@gentle flint Sup

gentle flint
#

hi

#

I'll join when you're back

rugged root
#

Yeah sorry, it's been a bear this morning

#

On a train?

#

Yep, looks like it

vocal basin
#

a diagram that looks very incomprehensible at first (but then looks totally reasonable)

whole bear
vocal basin
#

atom size are a little below nanometers

rugged root
#

Ah gotcha

vocal basin
#

Uranium

#

.2 nm

#

radius

#

not diameter

somber heath
#

Wouldn't be surprised if the size of an atom gets a little bit variable under certain conditions.

vocal basin
#

there are also esoteric cults which are very against bringing new members
what equivalent would that have in tech company terms?

frail jetty
#

hey there

rugged root
#

Hey agent

#

How goes it

frail jetty
rugged root
#

Fighting accounting programs. Considering getting a flail to do so

vocal basin
#

CNN have non-fully-interconnected layers

#

DNN have large count of hidden layers, iirc

#

large count being 2 and more

vocal basin
frail jetty
rugged tundra
#

snootiness

#

unfriendly behavior toward other people because you think that you are better than them: She has annoyed the press with her snootiness. The employees there all have an air of snootiness.

rugged root
stuck furnace
rugged root
#

🎢 I can show you a squirrel 🎢

#

🎢 Fuzzy, chittery, precious 🎢

rugged tundra
rugged tundra
frail jetty
#

you'll figure it out forsure bro. it can get hard sometimes

vocal basin
rugged tundra
#

I like to parrot/repeat to make sure the person talking knows you are following their ideas.

#

I do not understand matrices

#

This is a cool toy

pallid verge
#

What you guys are doing ?

pallid verge
#

all i know in linux is cd , ls , cd ..

#

dir for window ig

#

hm

lucid blade
pallid verge
#

CRAFT OF NON-HUMAN ORIGIN ...what does that mean ?

#

sorry my english is not so good

somber heath
#

Temper expectations?! TEMPER EXPECTATIONS?! lemon_enraged

pallid verge
#

ou

vocal basin
#

re-defining implementation of traits is actually kind of difficult in evcxr

#

(because code might depend on previous implementations)

#

and it doesn't really like to drop everything

pallid verge
#

Yesterday i was reading an article on "bitflip" ....pretty interesting phenomenon.

#

wonder that would happen with my bank account and add few more 0000 at the last

wind raptor
#

!stream 322504171636916226

wise cargoBOT
#

βœ… @lucid blade can now stream until <t:1685982823:f>.

pallid verge
#

@lucid blade Is that Einstein's photo on your door ?

#

baby panther

thin breach
pallid verge
#

i used to own a cat , dude was so dumb he use to paw on street dogs and got scared with other cats

vocal basin
#

@lucid blade also WASI for back-end

#

@lucid blade

lucid blade
vocal basin
#

Rust was against changing the logo

#

not using it

pallid verge
#

rust is commonly use for ?

vocal basin
#

I figured out how to change the trait implementation interactively

somber heath
pallid verge
#

ahh

vocal basin
pallid verge
#

like to create some framework

somber heath
#

Though I do get the crab knife meme thing.

vocal basin
#

thanks HTML for being able to put images into text

#

well, that's just lying about what Rust's trademark policy is.

#

the "you can't mention the language" part

#

it's made up not taken out of context

vocal basin
somber heath
#

@whole bear πŸ‘‹

#

Crafting of mines. I've just finished the start of my Refined Storage item dump system.

#

Because the chests were getting obnoxiously plentiful.

#

In here? No. In here? No. In here? No.

#

From here, The Machine.

#

Not the movie, naturally.

#

i.e. The craft everything machine.

#

Mekanism has ore x5 capability, so I'll start with that.

#

Sounds munchkin, but given what's involved, it makes you work for it.

vocal basin
#

(the broken part was left out)

rugged root
#

Eh, wouldn't say munchkin

#

If you have larger demands, it makes sense to add some quality of life things

vocal basin
#

finally figured out what went wrong (missing a newline)

#

no evcxr_display calls this time

somber heath
#

@sacred robin πŸ‘‹

sacred robin
#

clicked it accidentally, sry for the interruption

whole bear
#

!paste

wise cargoBOT
#
Pasting large amounts of code

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

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

whole bear
vocal basin
#

eh

#

I forgot

#

can't spell

whole bear
vocal basin
#

!d contextlib.closing

wise cargoBOT
#

contextlib.closing(thing)```
Return a context manager that closes *thing* upon completion of the block. This is basically equivalent to:

```py
from contextlib import contextmanager

@contextmanager
def closing(thing):
    try:
        yield thing
    finally:
        thing.close()
```...
somber heath
#

@rugged root Maybe if you have a lot of guests.

#

If it were a database of frying pans, would they have unique identifryers?

vocal basin
#

(author, book) primary key

rugged root
vocal basin
#

hopefully, the RDBMS of choice supports multicolumn PKs

#

(as it must)

#

do it in Rust?
yes. but why?

whole bear
#

idk rust

vocal basin
#

I think there exist some strongly-typed bindings to SQL

#

where C works, Rust works too

#

(almost always)

#

for IoT, there's no_std Rust

#

(embedded)

vocal basin
somber heath
#

Make any good phone calls, lately, Kemal?

#

Your pfp.

#

"Mom, can we have gym?"
"We have gym at home."

willow light
vocal basin
#

I tried teaching myself how to write cursive English

sand ermine
#

i'm try to give up

vocal basin
#

ah, also K or R situation
when writing fast, they're indistinguishable

somber heath
#

Isn't that the thing a bunch of employees quit over, because the employees were saying it's not ready to be pushed out, and the management just went, "nope, we're launching"?

#

The ar glasses.

rugged root
#

Probably

vocal basin
#

using unlicensed firmware for that: arrrr glasses ducky_pirate

somber heath
#

Diplomatic dinners.

#

Don't remember someone's name?

#

No problem.

#

Oh, you know that sharing thing with phones where you bump them together?

#

That, but with contact lenses.

#

@lunar haven Wake me up, before you go go.

#

Or Evanescence.

sand ermine
#

the best band choice by @rugged root

#

the same of the series. I lost the ring

rugged root
#

Is menudo also a food?

sand ermine
#

are you like eat that kind ? πŸ˜‚

rugged root
#

In Mexican cuisine, Menudo, also known as pancita ([little] gut or [little] stomach) or mole de panza ("stomach sauce"), is a traditional Mexican soup, made with cow's stomach (tripe) in broth with a red chili pepper base. Hominy, lime, onions, and oregano are used to season the broth.

sand ermine
#

here it use the word to call people that shake the ass

rugged root
wind raptor
#

g2g cheers

rugged root
vocal basin
#

^ can be used in TeX

#

"funky" theme

#

it will always be Java 8

sand ermine
#

i hate sintax highlight hyperlemon

vocal basin
#

there's no Java past Java 8

rugged root
#

Why?

sand ermine
#

couse i have trie be diferent

vocal basin
#

Perl syntax highlighting is either non-deterministic or incomplete

sand ermine
#

i wiil use sintax highlighting for text plain in the future.

vocal basin
#

```plaintext
plain text
```

#

it recognises it as a valid language

#

also ```text

sand ermine
#

i wiil put different colors to each kind of word.

sand ermine
vocal basin
#
red
yellow
green
blue
red
blue
yellow
green
blue
vocal basin
stuck furnace
#

Is this the OU?

sand ermine
#
the  start  is tenebris. 
stuck furnace
vocal basin
stuck furnace
#

Yeah, the stage 1 courses are much more basic than at other universities.

#

The idea being to minimise pre-requisites to study.

#

Yeah I agree with what you're saying πŸ˜„

sand ermine
stuck furnace
#

@whole bear Are you in any of the OU Discord servers? As you may be able to get better advice there.

whole bear
stuck furnace
rugged root
#

Oh huh

stuck furnace
#

OU STEM might be the best server to ask in.

stuck furnace
#

hit enter too early lol

rugged root
#

I do that all the time

stuck furnace
#

It's essentially just a portal where servers related to the uni are listed.

#

Isn't that what 8080 does? pithink

rugged root
#

Kind of yeah

#

This bugs me

#
BEGIN IMMEDIATE TRANSACTION
UPDATE "Person"
SET "age" = ?
WHERE "id" = ?
  AND "name" = ?
  AND "age" = ?
[24, 2, 'Mary', 23]

COMMIT
#

Like.... I don't know why it'd have to do all those searches

#

It should just find it via id

#

I guess to make extra sure?

#

Still feels weird

turbid sandal
#

Ladies and gentlemen, I stand before you to acknowledge the exceptional contributions of Hemlock, a Discord moderator in our community.

Hemlock's empathetic nature, excellent communication skills, and dedication to safety have made them an invaluable asset. They foster a welcoming and inclusive environment, ensuring everyone feels heard and respected.

Their vigilance in upholding community guidelines and proactive approach in resolving conflicts have created a harmonious space for fruitful discussions to thrive.

Hemlock's commitment extends beyond moderation duties as they actively mentor and support community members, nurturing personal and intellectual growth.

We express our gratitude and admiration to Hemlock for their outstanding service. Their presence has enriched our Discord experience, making it a vibrant and inclusive community.

Thank you, Hemlock, for your unwavering dedication, and thank you all for being part of this incredible community.

turbid sandal
#

noo

rugged root
turbid sandal
#

ChatGPT

somber heath
#

It's like Where's Wally/Waldo, but it's Where's Stelercus.

rugged root
#

Pope goes the weasel

somber heath
#

When aliens set out on their first anthropological expedition, do they have to go through a probationary period?

rugged root
frail jetty
#

Brothers

vocal basin
#

I joined the server to share a thing
then kind of stayed

stuck furnace
#

It's like a gelatinous block

#

It's pretty good

somber heath
#

🍐🍐

amber raptor
#

Let's see if Apple can use enough marketing to get people comfortable enough to wear these in public: https://www.apple.com/apple-vision-pro/

Apple

Apple Vision Pro seamlessly blends digital content with your physical space. So you can do the things you love in ways never before possible.

rugged root
#

Jesus, I didn't actually see what they looked like until now

vocal basin
#

@tepid edge "separate person from their work" works only if the work is worth anything

rugged root
#

And even then....

turbid sandal
#

wahahaha

vocal basin
#

if it's satire, disclose it; just to keep at least yourself safe

#

> articles increasingly depict real news

somber heath
#

Iconic Australian satire.

#

When John Clarke died, I was very sad.

rugged root
#

.wa s define satire

viscid lagoonBOT
rugged root
somber heath
rugged root
#

?

#

I'm just confused by the parrot stuff

#

Feel like I missed a joke somewhere

#

skwak?

somber heath
#

"Parrots" may be bananas.

noble oxide
#

are there any companies recruiting on LinkedIn for a remote student intern that has expertise in C/C++

#

like any you guys know of?

rugged root
#

Hmm

#

For some reason my brain doesn't link remote work and intern

noble oxide
#

what do you mean

#

i just need experience so that i CAN BE READY

#

i asked for C

rugged root
#

The C server would know better

#

Getting the link

noble oxide
#

ok thank you would appreciate that

rugged root
#

I hope they can help

#

I'm never quite sure

noble oxide
#

also are there any free python courses available online?

#

who provide certification that are valued

#

so companies would believe me when I say I have done python

rugged root
#

You're not really going to find programming certifications that are valued

#

IT ones sure

#

But....

noble oxide
#

i want to learn python within summer and add it to my Resume

#

and i dont wanna pay much for it as ik there are free courses

rugged root
#

!resources We've got tons of resources on our site

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.

rugged root
#

I typically recommend "A Byte of Python", which is free on its respective site

#

Just to get you up to speed

#

Which, respective?

#

Or the phrase up to speed

amber raptor
somber heath
#

Vurgers.

#

Virtual burgers.

#

No.

#

Bleh.

#

I've had a really nice tofu burger.

rugged root
#

Black bean patties

#

Forever

somber heath
#

Just because something is vegan, doesn't mean it has to be shit. Some of the substitution stuff is a bit shit. There are plenty of "normal" and thoroughly enjoyable foods that happen to qualify.

#

If vegetarians give you allergies, then don't eat vegetarians.

rugged root
#

That

#

Yeah you were right, pdb

#

I'll be back

sudden kettle
#

hey guys

#

i need help

#

i can't talk in the channels, i don't have permission and I don't know why

#

!voice

wise cargoBOT
#
Voice verification

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

sudden kettle
#

this rules man.....

#

btw, sorry to talk to you by dm @lunar haven I just didn't want you to left you speaking without answering because it is not respectful you know

#

yeah, i get you

#

it's very difficult tbh

#

yeah

#

btw, what are you doing?

#

ahhh i get you

#

have you ever done cs50?

#

have you ever done cs50x

#

ahh ok

#

btw, how much time have you been learning to program?

#

a week to complete an assignment or to complete the course?

#

did you start with java or python?

#

which one do you recommend me? From your personal view, I'm a newbie btw

#

thank you

#

i'll do that then

#

have u read the pragmatic programmer book?

#

yeah the last 2020

#

yeah

#

lol

#

that's the exact course I will do after cs50x

#

"python for everybody"

#

ahh in the middle of cs50 so i'll finished it

#

thank you for all the information your mentioning

#

value it

#

!voiceverify

#

thank you

#

i need to do

#

50 messages

#

jajaja

vocal basin
#

and 3 10-minutes activity blocks

sudden kettle
#

6 week

#

edex

#

and yt

#

you sure?

#

ahh ok then

#

thank you

#

edex sucks 🀣

#

ahh ok

#

after cs50

#

which course should I do from your personal view

real lance
#

Yo what are you guys doing in this vc

sudden kettle
#

I'm chatting

#

and trying to send 50 messages

#

the server doesn't let people speak if u haven't sent over 50 messages

real lance
sudden kettle
#

ahh ok

#

btw

real lance
#

Nice

sudden kettle
#

goat

sudden kettle
#

not same level but let's assume lol

real lance
#

I need voice verification rn

#

How

#

I got 50+ msgs

sudden kettle
#

type and type

real lance
#

alr

rare pivot
#

Type type type

real lance
#

@lunar haven I got vc

#

voice verified

sudden kettle
#

@lunar haven asap bro, hurry up........ too much time reading πŸ˜‚

sudden kettle
#

hacker?

#

penaldo fans are strange you know

real lance
#

I had sent like 70 messages 2 months ago

sudden kettle
real lance
#

77 results* truly a Cristiano fan

#

wait let me rejoin

sudden kettle
real lance
#

to speak

sudden kettle
#

hey @real lance how do you know how many messages you have sent

rare pivot
#

Msg the chatbot?

sudden kettle
#

do you know the command?

#

ok i got it

#

Im gonna reconnect

rare pivot
#

Oh sorry it only says less than 50

sudden kettle
#

hey do you guys hear me ?

#

am I speaking?

real lance
#

Bro there's a glitch

#

why cant I speak

sudden kettle
#

donΒ΄t know man

#

I can speak but I can hear i guess

#

there's a glitch for me too I think

real lance
#

@lunar haven Yo

sudden kettle
#

just when I'm leaving lol

vocal basin
#

@robust lichen custom JSON load-dump?

#

you can extend default json library

#

!d json

wise cargoBOT
#

Source code: Lib/json/__init__.py

JSON (JavaScript Object Notation), specified by RFC 7159 (which obsoletes RFC 4627) and by ECMA-404, is a lightweight data interchange format inspired by JavaScript object literal syntax (although it is not a strict subset of JavaScript 1 ).

Warning

Be cautious when parsing JSON data from untrusted sources. A malicious JSON string may cause the decoder to consume considerable CPU and memory resources. Limiting the size of data to be parsed is recommended.

json exposes an API familiar to users of the standard library marshal and pickle modules.

Encoding basic Python object hierarchies:

vocal basin
vocal basin
#

you can add to_json and from_json to classes

#

(which would produce/cosume a dict normally)

robust lichen
#
class A(object):
   def __init__(self):
      self.b = 1
      self.c = 2
a = A()
a.__dict__
vocal basin
#

do you want it automatically handled for you?

#

is it limited to dataclass-like types?

#

(record types)

#

then __dict__ should be fine, for the most part

robust lichen
#

!e

class A(object):
   def __init__(self):
      self.b = 1
      self.c = 2
a = A()
a.__dict__
wise cargoBOT
#

@robust lichen :warning: Your 3.11 eval job has completed with return code 0.

[No output]
vocal basin
#

PyPy is a little bit old in terms of what it supports

#

it's at 3.9 now

vocal basin
robust lichen
#

!e

class A(object):
   def __init__(self):
      self.b = 1
      self.c = 2
a = A()
print(a.__dict__)
wise cargoBOT
#

@robust lichen :white_check_mark: Your 3.11 eval job has completed with return code 0.

{'b': 1, 'c': 2}
vocal basin
#

deserialising B here is non-trivial

class A:
    name: str

class B:
    a: A
#

for int/str/bool it's easy because usually they're interpreted as is

vocal basin
robust lichen
#
{ "a": [ "name": "example" ] }
vocal basin
#

it doesn't know that it needs to cast values to type A

#

unless you explicitly tell it so in some place

#

!e

import pydantic
wise cargoBOT
#

@vocal basin :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 pydantic
004 | ModuleNotFoundError: No module named 'pydantic'
vocal basin
#

eh, not pre-installed in snekbox

robust lichen
#
async def foo() -> List[str]:
vocal basin
#

wait, when did list[str] typing get introduced?

#

the not List one

robust lichen
#
from typing import List
vocal basin
#

I think you can use list[str] if you're on the latest PyPy

#

if it fully supports Python 3.9

#

(or fully enough, at least)

#

!d typing.List

wise cargoBOT
#

class typing.List(list, MutableSequence[T])```
Generic version of [`list`](https://docs.python.org/3/library/stdtypes.html#list "list"). Useful for annotating return types. To annotate arguments it is preferred to use an abstract collection type such as [`Sequence`](https://docs.python.org/3/library/typing.html#typing.Sequence "typing.Sequence") or [`Iterable`](https://docs.python.org/3/library/typing.html#typing.Iterable "typing.Iterable").

This type may be used as follows:

```py
T = TypeVar('T', int, float)

def vec2(x: T, y: T) -> List[T]:
    return [x, y]

def keep_positives(vector: Sequence[T]) -> List[T]:
    return [item for item in vector if item > 0]
```...
vocal basin
#

Deprecated since version 3.9: builtins.list now supports subscripting ([]). See PEP 585 and Generic Alias Type.

#

when (if) PyPy ever implements Python 3.10, Union would also be mostly unnecessary

#

(and Optional)

#

!e

from typing import Optional
print((int | None) == Optional[int])
wise cargoBOT
#

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

True
vocal basin
#

there still are places where Union is the only way to go

#

| isn't universal

#

TypeVars and Generics will probably stay for longer

#

because of how their bounds are specified

#

even though 3.12 has new syntax for generics

tawdry salmon
#
from datetime import date

from pydantic import BaseModel

# Declare a variable as a str
# and get editor support inside the function
def main(user_id: str):
    return user_id


# A Pydantic model
class User(BaseModel):
    id: int
    name: str
    joined: date

my_user: User = User(id=3, name="John Doe", joined="2018-07-19")

second_user_data = {
    "id": 4,
    "name": "Mary",
    "joined": "2018-11-30",
}

my_second_user: User = User(**second_user_data)
vocal basin
#

well, in some sense it's data validation too

#

what do you mean by structs, again?

#

doesn't Go have some package for it?

#

encoding/json

#

!d dataclasses

wise cargoBOT
vocal basin
#

or just Pydantic models themselves

vocal basin
#

you can create User from its fields

#

like my_user is created there

#

neither complete nor objective

S: Self, Annotated, TypeGuard, TypeVarTuple, Protocol, reveal_type, TYPE_CHECKING
A: Callable, Concatenate, Final, final, Unpack, NewType, assert_type, assert_never
B: LiteralString, Never, ClassVar, Generic, TypeVar, NamedTuple, dataclass_transform
C: TypeAlias, Type, Literal, Required, NotRequired, TypedDict, IO, TextIO, BinaryIO
D: NoReturn, ParamSpec, ParamSpecArgs, ParamSpecKwargs, overload, get_overloads, type_check_only
E: Union, runtime_checkable, cast, no_type_check, no_type_check_decorator
F: Optional, ForwardRef
#

!d typing.reveal_type

wise cargoBOT
#

typing.reveal_type(obj, /)```
Reveal the inferred static type of an expression.

When a static type checker encounters a call to this function, it emits a diagnostic with the type of the argument. For example:

```py
x: int = 1
reveal_type(x)  # Revealed type is "builtins.int"
```  This can be useful when you want to debug how your type checker handles a particular piece of code.

The function returns its argument unchanged, which allows using it within an expression...
vocal basin
#

!d typing.TYPE_CHECKING

wise cargoBOT
#

typing.TYPE_CHECKING```
A special constant that is assumed to be `True` by 3rd party static type checkers. It is `False` at runtime. Usage:

```py
if TYPE_CHECKING:
    import expensive_mod

def fun(arg: 'expensive_mod.SomeType') -> None:
    local_var: expensive_mod.AnotherType = other_fun()
```  The first type annotation must be enclosed in quotes, making it a β€œforward reference”, to hide the `expensive_mod` reference from the interpreter runtime. Type annotations for local variables are not evaluated, so the second annotation does not need to be enclosed in quotes.
vocal basin
#

maybe, a more interesting example:

somber heath
#

!kindling @thick pulsar

wise cargoBOT
#
Kindling Projects

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

somber heath
#

Big Billy is the biggest wet willy & no one can ever take that away from him! Subscribe to my channel for more videos like this: @TheKiffness

EUROPE TOUR 2023 TICKETS: https://linktr.ee/thekiffness

2 Sept - London
4 Sept - Amsterdam
5 Sept - LiΓ©ge
6 Sept - Paris
7 Sept - Munich
9 Sept - Stuttgart
10 Sept - Frankfurt
11 Sept - Berlin
12 Sept...

β–Ά Play video
#

@uncut basin πŸ‘‹

uncut basin
#

πŸ‘‹

somber heath
#

Howdy howdy.

#

I have noodles, and yes.

#

Yeees.

#

Mi Gorreng.

#

Howdy, Nate.

#

The Indomie ones.

#

General vs local.

#

Maybe?

terse needle
rugged root
#

Talking with co-worker

terse needle
#
let Prelude =
      https://prelude.dhall-lang.org/v19.0.0/package.dhall sha256:eb693342eb769f782174157eba9b5924cf8ac6793897fc36a31ccbd6f56dafe2

let companyName = "Example Dot Com"

let User = { name : Text, account : Text, age : Natural }

let users
    : List User
    = [ { name = "John Doe", account = "john", age = 23 }
      , { name = "Jane Smith", account = "jane", age = 29 }
      , { name = "William Allen", account = "bill", age = 41 }
      ]
bright shoal
#

p

amber raptor
#

!e python a = [[1,2,3],[4,5,6]] print(a[0][1])

wise cargoBOT
#

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

2
terse needle
#

!e

my_list = [[1, 2], [3, 4], [5, 6]]

for l in my_list:
  print(l[1])

for i in range(3):
  print(my_list[i][1])
wise cargoBOT
#

@terse needle :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | 2
002 | 4
003 | 6
004 | 2
005 | 4
006 | 6
somber heath
#

!d map

wise cargoBOT
#
map

map(function, iterable, *iterables)```
Return an iterator that applies *function* to every item of *iterable*, yielding the results. If additional *iterables* arguments are passed, *function* must take that many arguments and is applied to the items from all iterables in parallel. With multiple iterables, the iterator stops when the shortest iterable is exhausted. For cases where the function inputs are already arranged into argument tuples, see [`itertools.starmap()`](https://docs.python.org/3/library/itertools.html#itertools.starmap "itertools.starmap").
somber heath
#

@wind stone πŸ‘‹

zenith radish
tepid edge
#
from itertools import islice

# Definition for singly-linked list.
# class ListNode:
#     def __init__(self, x):
#         self.val = x
#         self.next = None

class Solution:
    def getIntersectionNode(self, headA: ListNode, headB: ListNode) -> Optional[ListNode]:
        def iterate_nodes(node):
            yield node
            while node.next is not None:
                node = node.next
                yield node

        a = set(iterate_nodes(headA))
        b = set(iterate_nodes(headB))

        shared_nodes = len(a) + len(b) - len(a | b)

        if not shared_nodes:
            return None
        

        target_index = len(a) - shared_nodes
        return next(islice(iterate_nodes(headA), target_index, target_index + 1))
viscid lagoonBOT
buoyant oxide
#

test

#

oh okay I got it now

#

I figured it out yeah

#

genuis right here

buoyant oxide
#

you should stream

vocal basin
#

@midnight agate I found something potentially interesting

#

(leetcode easy problem)

buoyant oxide
#

yo i'm back

#

gofek on the grind

#

banned

#

lmao

#

ban this guy for being too kind

#

I just finished a module

#

on mod 3

#

yeah i'm so fast

#

I could probably finish this weeks work in 2 weeks

#

sarcasm

#

i'm not fast

#

hahahahah

#

I definitely agree though about the discipline. Motivation comes and goes

#

discipline is the effort you put in when motivations gone

#

Yeah I guess you could look at it that way

#

thats why I eat only 2 meals from Mc Donald's per day

#

discipline

#

oh god that sounds terrible

#

I haven't seen him

#

really?! once?!

#

You should go to the gym

#

oh gotchu!

#

ofc

buoyant oxide
#

oh god hes back

#

forgot the italics

#

haha

#

yeah it was sarcasm

#

I find it interesting that sarcasm is hard to simulate with ai

#

I wish there was a sarcasm simulator

#

I'm very sarcastic to chat gpt and it always goes "im so sorry if I upset you"

#

so fun

#

hahaha

#

yeah what a fake apology

#

I should go confront gpt

#

"this has been a long time coming but I don't think we can do this anymore" chat gpt convo

#

hit enter too quickly

#

I suck at typing for my age

#

I recently started learning

#

I type properly

#

all fingert

#

fingers

#

Im not an index finger master

#

really

#

thank god for him

#

made such a good language for his one finger

#

It helps with productivity for sure

#

yeah you can acheive goals despite haveing handicaps

#

just makes it easier when you don't have those handicaps

#

and it all comes full circle

#

1 finger = motivation, both hands equal discipline

#

*typing with your finger can be represented as 1 and with the hand can be represented as 1^10 so therefore... oh wait..... *

rugged root
#

Stuck dealing with support again

vocal basin
sweet lodge
buoyant oxide
#

yeah I'm chilling

#

oh nice to meet you

#

don't leave

#

aliens?

vocal basin
#

intersection?

buoyant oxide
#

is that the recent news

vocal basin
#
def length_of(head: ListNode | None):
    height = 0
    while head:
        height += 1
        head = head.next
    return height

class Solution:
    def getIntersectionNode(self, headA: ListNode, headB: ListNode) -> Optional[ListNode]:
        length_a = length_of(headA)
        length_b = length_of(headB)
        if length_a > length_b:
            length_b, length_a = length_a, length_b
            headA, headB = headB, headA
        for i in range(length_b - length_a):
            headB = headB.next
        while headA is not headB:
            assert headA and headB
            headA, headB = headA.next, headB.next
        return headA
#

||(: eyes -- colonise -- that's why British flag)||

buoyant oxide
#

lactocse intolerant

lucid blade
buoyant oxide
#

I just got back

#

I was in the zone so I had to take off headset

#

working on the coursera

#

data analytics

#

yeah just started

#

It's cool

#

hahhahaa keep me away please

#

most finance jobs are crazy boring (in my opinion)

#

tough

#

this gofek guy is so ignorant smh

lucid blade
buoyant oxide
#

gofek too kind ban him

#

i'm here

#

I'm still doing coursera

#

trying to finish mod 3

#

almost done

#

I'M SLOW

#

jeez

#

dude I can go 1.5

#

that's what I watch it on

#

headphones

#

wow look at you

#

they're alright headphones, they work well for gaming

#

my pen and pencil are more useful in my hands than the python developers keyboard

#

I also only have 1 monitor

#

so I keep having to swap back here to type

#

did I ask

#

sarcasm

#

hahaha

#

im jk

#

me and my 6 headsets

#

exactly

#

nothing funny like degrading

#

sleep is my kryptonite

#

I'll say oh I just need 30 mins and then I take 2 1/2 hours

#

fuck up my entire sleep schedule

#

it's bad

#

what's the point of 20 mins

#

it's the same as watching tiktok for 20 mins

#

how?

#

you just reset your brain by watching the most braindead videos on the internet

#

hmmmm I'll try it maybe

#

sarcasm by the way guys

#

wait what

#

repeat that again

#

oh okay

#

I could just remember everything honestly

#

just a skill issue

#

chat gpt asks me for info

#

I am one of the nodes for gpt

#

yeah I am a videogame addict

#

I am working on my discipline

#

I can't

#

I suck at multi tasking

#

yeah

#

that too

#

true but it's not speeches that I struggle with it's all the assignments it asks me to do

#

I can't write an essay while clutching up in valorant

#

oh okay yeah I could do that more

#

you just say the p word

#

look at this guy

#

hahaha

#

HE SAID THE P WORD

#

GET HIM

#

perfection

#

ofc

#

win win win win

#

I win, you win, coursera wins, and valorant advertising wins

#

finished mod 3

#

on mod 4 now

#

flies win ofc

#

what book?

#

i don't read books often at all

#

I listen to youtube videos on why I lose all my money in day trading while I cook my grain of rice that I can afford

#

all I can eat

#

only 1

#

soon I can reach nirvana

#

random stuff

#

nirvana is the state of tranquility basically in buddhism

#

it's the state that buddha reached I believe under a tree after eating a single grain of rice for like 30 days

#

yeah enlightenment

#

yeah some interesting story that means just be compassionate

rugged root
jolly quiver
buoyant oxide
#

whatsup?

#

pirate?

#

arghhh?

#

hahaha

#

rogue is just something that is not welcome

viscid lagoonBOT
buoyant oxide
#

like something that is going against what you want

#

a rebel

#

a problem

#

YES

#

i think

#

idk star wars that well

#

do you read the info that coursera gives you dilligently or do you just go back when you need to know it for quizzes and what not

#

yeah I use control f a lot

#

when needing to find the answers to anything

#

wow good for you

#

I get 16/15 on my quizzes

#

welcome back

#

huh

#

goofy ahh

#

hwo the hell do you finish a whole course in a day

#

it's gonna take me like 2

#

idk man you built diff

#

all those monitors

#

what's your goal for learning all this info?

#

I mean are you emplyed or looking for a job or just learning to learn!

#

cool man that's nice

#

nice bro

#

yeah I don't enjoy learning unless it's how to win in val

#

okay sounds good man

#

alr hmu on discord when you're back

#

ye for sure

#

I gotta knock out his course too

#

hit me with a dm

#

thanks man you too

#

okay

buoyant oxide
#

I’m making popcorn

#

Then I’m coming back

buoyant oxide
#

im back

#

@lunar haven

#

whatsup

#

im actually gonna practice guitar for a bit

#

I talk without listening

#

as soon as I can talk I will haha

#

I will be able to in 3 days

#

wait what

#

idk what that means

#

is it related to a problem you were working on

#

facts

#

you are a parrot

#

jk

#

you are a goose

#

someties you talk but when you do its bad

vocal basin
#

currently exploring that

buoyant oxide
#

you still working on the course

#

oh

#

nah take ur break

#

I was just curious if you were here

#

ill be back in a sec

vocal basin
buoyant oxide
#

I'm back now

#

it always matters

#

its only black and white

#

I am just 0 though

#

cause theres nothing in my head

#

empty up in here

#

ya

#

HAHAHAHA

#

THIS IS SO GOOOD

#

facts

#

emojis cute

#

also why do I have a green emoji nextt o my name now

#

oh nvm

whole bear
#

@lunar haven sup bro

#

ncie

#

*nice

buoyant oxide
#

I am here

#

bruh

#

NAH I WAS PLAYING GUITAR

#

this mf

#

no I'm taking a break from coursera

#

I'll continue later this evening lmao

whole bear
#

mf is top G

#

bros multitasking

#

i know

#

it funni

#

daddy

#

lol

#

@lunar haven look in my bio

#

cuh

#

kk

#

yes

#

real

#

real

#

ong bro

#

real

#

real

#

ur top G teir maroloccio

#

ong hot real rela gang shiot

buoyant oxide
#

ong is on god

#

I gotchu with the slanf

#

slang

whole bear
#

yes bruv

#

idk what it even means cuh

buoyant oxide
#

I will translate

whole bear
#

@vocal basin

buoyant oxide
#

"idk what I said before man"

sly kernel
#

what is rela

buoyant oxide
#

"real as shit maybe?"

#

idk

#

like a different way to say real

buoyant oxide
#

his vocabulary is too advanced for us

whole bear
#

indian L @lunar haven

#

yeah i do to

#

i cant understand them half the time :c

#

sad

#

but there cool

buoyant oxide
#

what

whole bear
buoyant oxide
#

here

#

I AM A DUCK

whole bear
buoyant oxide
whole bear
#

fuck no im a beaver

#

🦫

#

@lunar haven the answer is A

buoyant oxide
#

100

#

L

#

I get 200

#

I get 200/100

#

no

#

I should have dabed

whole bear
buoyant oxide
#

I'm holding my hair I think

whole bear
#

:c

#

@undone wind welcome to the jungle

buoyant oxide
#

lmao

whole bear
#

you should ask the wife

#

@lunar haven where ya from you have a cool accent

#

which animal

#

@lunar haven thats pretty cool

#

lol

#

r u italian maroloccio

#

DONT SAY UR FROM PARROT LAND'

#

yey

#

am esponol but i dont speak spanish so you can call me dadddy for lack of a better name

#

no dominican