#voice-chat-text-0

1 messages ยท Page 829 of 1

grand cargo
#

yeah dude just learn the language for sure man

tiny socket
#

but its not very nice to be like "go learn english."

rugged root
#

Agreed

sullen storm
#

How do I do it?๐Ÿ˜ซ

serene falcon
#

In Korean ? hahaha

whole bear
#

!d str.find

wise cargoBOT
#

str.find(sub[, start[, end]])```
Return the lowest index in the string where substring *sub* is found within the slice `s[start:end]`. Optional arguments *start* and *end* are interpreted as in slice notation. Return `-1` if *sub* is not found.

Note

The [`find()`](https://docs.python.org/3/library/stdtypes.html#str.find "str.find") method should be used only if you need to know the position of *sub*. To check if *sub* is a substring or not, use the [`in`](https://docs.python.org/3/reference/expressions.html#in) operator:

```py
>>> 'Py' in 'Python'
True
wise glade
whole bear
#

ohhhhh

wise glade
rugged root
#

Right, but it makes my job harder when people are piling on

whole bear
#

hello gois!

grand cargo
#

hows everyone today

whole bear
#

just listing

#

(because that is the only thing i can do)

rugged root
#

Yep

wise glade
whole bear
#

:[

#

@somber heath oink-ribit

wise glade
#

OpalMist for admin yall

whole bear
#

opalmist for owner

#

a pig that is a frog

#

the thing you said

#

it has frog

#

so

#

hello @whole bear

wise glade
#

this reminds me
why doesn't python have access modifiers in it ? ๐Ÿค”

#

on a scale of 1 to 10000
I would say about 92.67

#

I've made a few projects here and there

somber heath
#

@whole bear Corey Schafer, Youtuber.

wise glade
#

I'm interested in delivering the app through web to clients
so I'm learning web stuff in diff langs rn

whole bear
#

how do i get all possitions of a character in python from a string

wise glade
whole bear
#

yes

wise glade
#

yeah, idk, gotta think about it

#

๐Ÿ˜‚ so the code looks pythonic too
and not just a for loop counting pos

#

but until then, just use a for loop and look for the char I guess ๐Ÿคทโ€โ™‚๏ธ

#

make it functional, so later you can just refactor the method

#

ever since I've started writing tests for my code
I've learnt the importance of functional programing

whole bear
#

me too

#

i might switch to python and not batch

#

string='mississippi'
s='s'
lst= []
for i in range(len(string)):
if (string[i] == s):
lst.append(i)

somber heath
#

!e

word = 'Apples and oranges'
a_indices = [i for i,v in enumerate(word) if v in 'Aa']
print(a_indices)```
wise cargoBOT
#

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

[0, 7, 13]
somber heath
#

@whole bear

dense ibex
#

!server

whole bear
#

ok

wise cargoBOT
#
Server Information

Created: 4 years, 4 months and 3 days ago
Voice region: europe
Roles: 80
Member status: status_online 53992 status_offline 143396

Members: 197389

Helpers: 110
Moderators: 24
Admins: 15
Owners: 3
Contributors: 39

Channels: 212

Category: 26
News: 11
Staff: 57
Text: 109
Voice: 9

somber heath
#

!e py for each in enumerate('Apples'): print(each)

wise cargoBOT
#

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

001 | (0, 'A')
002 | (1, 'p')
003 | (2, 'p')
004 | (3, 'l')
005 | (4, 'e')
006 | (5, 's')
whole bear
#

ok

wise glade
#

I'm wondering if Counter from collections could be used for all this ๐Ÿค”

dense ibex
#

!user

wise cargoBOT
#
jake (_jake#0001)

hypesquad_bravery

User information

Created: 1 year, 3 months and 15 days ago
Profile: @dense ibex
ID: 670802831678373908

Member information

Joined: 4 months, 7 days and 39 minutes ago
Roles: <@&463658397560995840>, <@&764802720779337729>, <@&764245844798079016>, <@&585529568383860737>, <@&267630620367257601>

Infractions

Total: 1
Active: 0

wise glade
#

I mean, its a Counter ๐Ÿ˜‚

crystal panther
#

!user

wise cargoBOT
#

You are not allowed to use that command here. Please use the #bot-commands channel instead.

thin breach
#

!user

wise cargoBOT
#

You are not allowed to use that command here. Please use the #bot-commands channel instead.

whole bear
somber heath
dense ibex
#

@rugged root Monday, January 4, 2021

scenic goblet
#

i first joined in 2018 wtf

wise glade
#

you have to scan a string for getting the indices
so the sol'n would be in O(s) time s = string_length
not its just the matter of making the code more python ๐Ÿ˜

#

and opal did that

whole bear
#

yes i have 69 unfraction

#

nnoep

wise glade
#

ok, now that my brain is like 98% sleepy
time to do some homework

paper tendon
#

too many of the pseudo talk here

#

Dr. Joscha Bach is VP of Research at AI Foundation and Author of Principles of Synthetic Intelligence, focused on how our minds work, and how to build machines that can perceive, think, and learn.

http://bach.ai
Twitter โ–บ https://twitter.com/Plinz
LinkedIn โ–บ https://linkedin.com/in/joschabach

SHOW NOTES ๐Ÿ“
0:00 Open
0:17 Hello & welcome
0:37 ...

โ–ถ Play video
#

@somber heath @cerulean ridge check this it will give you interesting insight on computational universe idea

somber heath
#

Hm.

cerulean ridge
paper tendon
umbral shuttle
#

Im here but I cant talk

cobalt fractal
wise cargoBOT
#

Voice verification

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

whole bear
#

got this banger of hemlock

#

would anyone like to see my code?

#

a batch obfuscater in python

#

wanna see the code of it

#

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

whole bear
#

good code for a biginer?

#

just noticed my finger in swolen

paper tendon
whole bear
#

@rugged root have you tried turning it on and off again

#

lol

#

damn i got a lot of messages

#

@rugged root some idiots in sydeny a couple days ago started another outbreak and now im in lockdown again ๐Ÿ˜ฆ

#

no masks

wise glade
whole bear
#

central coast

wise glade
#

australia syndney right

#

the one they show in finding nemo ๐Ÿ˜‚

whole bear
#

cls

#

fuck wrong window

#

code page 65001 in my best friend

#

ctrl+c

wise glade
whole bear
#

what the fuck are these????????????!??!?!?!?!?!?!?! my code is mt to be perfect

rugged root
#

Test

wise glade
#

how to do create copy of a code line in pycharm?
like in vscode we do shift + alt + down_arrow @rugged root
help ๐Ÿ˜ข @rugged root

vivid palm
#

CTRL D

#

no?

whole bear
#

this might be causing sysem errors

rugged root
#

!stream 735485653902557204

wise cargoBOT
#

@wise glade

โœ… @wise glade can now stream.

terse needle
whole bear
#

hm

rugged root
#

.wa s d1 hex to int

viscid lagoonBOT
wise glade
#

@whole bear nice, very nice nickname ๐Ÿ™‚

whole bear
#

BRUH

whole bear
#

hi all

#

@whole bear im usin it rn

wise glade
#

its CTRL + D y'all

#

๐Ÿ˜‚ now this is the way I'll talk

whole bear
#

yo

#

lol

#

think i keep fucking up somewhere

#

somewhere in here

terse needle
rugged root
#

I suggest not reusing variable names

#

If you're making a new thing, make a new thing

paper tendon
#

๐Ÿ™‚

rugged root
#

Wait

#

You can, since it's an iterable

terse needle
#

I was wrong. Looking at the docs a str counts as an iterable

rugged root
#

I don't think the issue is specifically here

wise glade
whole bear
terse needle
#

what is the type of characters

whole bear
#

anything in these ranges

terse needle
#

yes, but whats the type

whole bear
#

a str

terse needle
#

doesnt look like a string to me

whole bear
#

nvm

paper tendon
dense ibex
#

I never understood why chipotle doesnโ€™t mix the stuff in the burrito because then you get everything on one side

paper tendon
wise glade
#

I've started using MSSqlServer and MSSqlServerExpress everywhere now ๐Ÿ˜…
idk if redis is too useful for me anymore

dense ibex
#

It's soooo good lol

wise glade
#

idk why, but I can't look at food pics which people have taken a bite out of ๐Ÿคฎ

#

just me maybe

terse needle
#

doesnt bother me

wise glade
#

it also bothers me to take a bite out of the same

#

I can share food, but I won't eat back from it ๐Ÿ˜‚
its all yours if you want it

#

that's me

whole bear
#

@dense ibex t is in batch

wise glade
#

my Z key's clicky thing broke
but I've noticed I don't use it that much

#

so maybe remove Z

whole bear
#

grabs malat and bashes z key off keyboard!!!!!!!!!

#

hi ajajja

#

โค๏ธ

#

@rugged root YESSSSSSS

#

hello @flat sentinel

#

@flat sentinel why did you comment on my reddit post

#

hi all i am Windows terminal from Argentina ๐Ÿ‡ฆ๐Ÿ‡ท

#

I'm practicing english

flat sentinel
whole bear
#

just why did u tho

#

i thought i had a new friend ๐Ÿ˜ข

dense ibex
#

Canary

whole bear
#

canary

#

BATCH

#

@spiral patio your voice is beautiful โค๏ธ

dense ibex
#

Thank you!

whole bear
#

@rugged root it saves snacks for later

wise glade
#

I can speak 3 langs now ๐Ÿ™‚

#

third one not so good

#

๐Ÿ‘‹ bye guys

#

always flex ๐Ÿ˜‚

whole bear
#

kemal are you russion?

wise glade
#

flex for life y'all

whole bear
uncut meteor
#

unless they are civilised

whole bear
#

nope

#

forgot

wise glade
#

and cause I watch anime
I can speak basic japanese sentences too now ๐Ÿ˜‚

whole bear
#

@flat sentinel Canary is an upcoming stable release

#

green button apears in top right. (i must click to not be hacked)

wise glade
#

learn a new language everyone
its scientifically proven that it develops your brain, better growth and stuff
like it does for babies ( when they learn their mother tongue )

#

next for me is ParselTongue ๐Ÿ˜‚

whole bear
#

but i need it

#

mfs is diferent

#

me too

#

the moles

terse needle
vivid palm
terse needle
whole bear
#

thats the beuty i been looking for

#

#!staff

#

someone drop a portal to staff

whole bear
#

yes drop portal

#

CLEAR c4 drops

#

@vivid palm what do you think of my code?

#

@terse needle i like your name โค๏ธ

#

how discord feels is what you should be feeling when you use it because they are acaly loosing money

#

I FUCKING HATE PYTHON

#

FINALY

rugged root
#

I have no idea what you're talking about/yelling about

whole bear
#

๐Ÿ˜ how bad python is

vivid palm
#

jake upping his leadership skills

paper tendon
#

work

uncut meteor
#

I got these ones, They sound awesome and they have not died on me yet

#

i should probs just use the jabra for my computer tbh

solar moon
#

hi

uncut meteor
#

idk why I never though about that

vivid palm
#

i wanna hear

uncut meteor
#

1 sec

vivid palm
#

bc after hearing oculus griff, this doesn't cut it anymore

solar moon
#

what yall doing

olive hedge
#

Oculus Griftโ„ข๏ธ

uncut meteor
#

do I need to wap the oculus out?

dense ibex
uncut meteor
vivid palm
scenic goblet
vivid palm
#

@cobalt fractal

olive hedge
tiny socket
#

i need

vivid palm
tiny socket
#

a bunny

dense ibex
scenic goblet
uncut meteor
olive hedge
whole bear
#

i have been coding for the last 18 hours please help me im hurt my eyes are swolen

olive hedge
whole bear
#

sharky chat only!

scenic goblet
dense ibex
vivid palm
#

tsundere

uncut meteor
olive hedge
#

r/tsunderesharks

dense ibex
vivid palm
terse needle
#

bread

rugged root
#

what bread of dog
rye

whole bear
#
^^โฑ ^^ฦฉ^^แ›†^^ลป^^ศณ^^ยน^^ฦผ^^ฦŠ^^อต^^ษ‚^^อป^^รค^^L^^ร^^แ›ฃ^^ฤž^^แšฒ

perfecto

rugged root
#

!server

wise cargoBOT
#
Server Information

Created: 4 years, 4 months and 3 days ago
Voice region: europe
Roles: 80
Member status: status_online 54685 status_offline 142768

Members: 197454

Helpers: 110
Moderators: 23
Admins: 15
Owners: 3
Contributors: 39

Channels: 211

Category: 26
News: 11
Staff: 56
Text: 109
Voice: 9

rugged root
#

So clooooooooose

cobalt fractal
#

Who's buns are these?

whole bear
#

mine

cobalt fractal
whole bear
#

NOooO

#

UwU

olive hedge
#

harry's buns, the bun isnt harry, but it is harry's bun

cobalt fractal
#

Nice

whole bear
#

everyone UwU

uncut meteor
cobalt fractal
vivid palm
#

harry aka git bash at the moment

#

bun name is winston :3

whole bear
candid venture
cobalt fractal
candid venture
terse needle
#

have you seen mick gordons guitar (the only example I can think of). It is one thick guitar

candid venture
hallow pawn
#

Hello

candid venture
#

this is israeli interceptions of Gaza's rockets

hallow pawn
#

oh nvm

candid venture
hallow pawn
#

I did not read the text down lol

gentle flint
#

@candid ventureoi

#

join vc

fiery juniper
#

Is it at your house?

candid venture
grand cargo
#

hte iron dome

fiery juniper
#

oh f

grand cargo
#

aerial defense system

fiery juniper
#

@candid venture Look at the bright side, I'm not going to school tomorrow

candid venture
#

unlike in 2015 where it was on our fucking vacation

fiery juniper
fiery juniper
olive hedge
severe pulsar
#

beautiful

#

hes a nice guy, talked to him once before lmao

uncut meteor
#

who is "Fisher" and why have they stolen your avatar

severe pulsar
#

wait do you guys know about that discord reaction bug

olive hedge
#

I am not familiar

uncut meteor
#

nop

severe pulsar
#

wait so react to this message

gentle flint
rugged root
#

Back on in a bit, errand run. But I'll probably hop on my phone

gentle flint
#

right

#

fisher's friend

unborn storm
gentle flint
#

indeed

#

made with vim

unborn storm
#

XD

#

it is hard to wash a boat

#

so vim could be used for that

dire folio
#

Yo @rugged root

faint ermine
#

hemlocks in the car rn

#

dont think he can read chat

dire folio
#

Did I forget to show you my food?

#

Then I'll share it for later

faint ermine
#

i will explain the picture to him

vivid palm
#

omnom

dire folio
#

You can vividly explain it ;)

gentle flint
#

nom nom nom

terse needle
#

You love to see it

Convertion
1+1 -> 11+ | Success
4+8*3 -> 483*+ | Success
-5+20*30 -> -52030*+ | Success
(4+8)*3 -> 48+3* | Success
6+9+(4*2+4^2) -> 69+42*42^++ | Success
2*(1+(4*(2+1)+3)) -> 21421+*3++* | Success
(5.9-5.3)*7.2+1.4^2 -> 5.95.3-7.2*1.42^+ | Success
2*20/2+(3+4)*3^2-6+15 -> 220*2/34+32^*+6-15+ | Success
sin(1.5707963267948966) -> 1.5707963267948966sin | Success
Evaluation
1+1 -> 2 | Success
4+8*3 -> 28 | Success
-5+20*30 -> 595 | Success
(4+8)*3 -> 36 | Success
6+9+(4*2+4^2) -> 39 | Success
2*(1+(4*(2+1)+3)) -> 32 | Success
(5.9-5.3)*7.2+1.4^2 -> 6.28 | Success
2*20/2+(3+4)*3^2-6+15 -> 92 | Success
sin(1.5707963267948966) -> 1 | Success
gentle flint
olive hedge
#

ha, big deer go moo

gentle flint
#

mOoOoOoOoOoO

terse needle
#

can I get video perms?

uncut meteor
#

what for?

terse needle
#

video

uncut meteor
#

!stream @terse needle 30M

wise cargoBOT
#

@terse needle

โœ… @terse needle can now stream.

uncut meteor
#

tbf, idk why I asked. would be rude to not let you join in

gentle flint
#

found a sample of Dutch driving for y'all

#

dude sent me this a few days ago

uncut meteor
#

just waiting for somebody to post russian driving

tropic thistle
#

I have a problem with the code and I can not figure out where, anyone understand?

uncut meteor
#

Fishre, Commander of stalls

gentle flint
#

very plain wall

stuck furnace
#

Pokemon cards were banned at my school lemon_pensive

vivid palm
orchid barn
#

@gentle flint dayum

#

good job

gentle flint
#

thx

orchid barn
#

felt like going through the woods

tropic thistle
#

why i cant speak?

vivid palm
wise cargoBOT
#

Voice verification

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

vivid palm
#

@tropic thistle there are conditions you have to meet, details in the channel linked above

gentle flint
orchid barn
#

ye i noticed

candid venture
#

ุดุงู‡ุฏ | ุตูˆุงุฑูŠุฎ ุงู„ู…ู‚ุงูˆู…ุฉ ูˆุตูˆุงุฑูŠุฎ ุงู„ู‚ุจุฉ ุงู„ุญุฏูŠุฏูŠุฉ ููŠ ุณู…ุงุก ุชู„ ุฃุจูŠุจ ุจุนุฏ ุฑุฏ ุงู„ู…ู‚ุงูˆู…ุฉ ุงู„ูู„ุณุทูŠู†ูŠุฉ ุนู„ู‰ ุงุณุชู‡ุฏุงู ุงู„ุฃุจุฑุงุฌ ุงู„ุณูƒู†ูŠุฉ ููŠ ุบุฒุฉ

ุชุงุจุนูˆู†ุง ุนู„ู‰
http://www.trtarabi.com
http://trta.co/facebook - ููŠุณุจูˆูƒ
http://trta.co/twitter - ุชูˆูŠุชุฑ
http://trta.co/instagram - ุฅู†ุณุชุบุฑุงู…

โ–ถ Play video
gentle flint
#

why are we actually on the brazil server

#

can we switch to us east

vivid palm
#

love that even oof prefers us east praise

gentle flint
#

It's faster for me

#

Europe is even faster

#

but slower for you

#

us east is fastest for the most of us

vivid palm
dense ibex
#

@cobalt fractal Hemlock told us to harass you to change the voice region to US east

cobalt fractal
#

Europe you say? Sure

dense ibex
#

Or eu yeah

cobalt fractal
#

Lol give me 2 secs

#

Just got back home, pc is booting up

dense ibex
#

And eivl just joined lol

vivid palm
#

nvm eivl is trying smth

dense ibex
#

I think hes got it

cobalt fractal
#

Admin on mobile is painful

dense ibex
#

Yeah lol I can only imagine

cobalt fractal
#

Eivl saves the day

gentle flint
#

indeed

strong arch
#

@dense ibex what the fuck are u thinking

cobalt fractal
#

...

#

those ears fisher

vivid palm
#

you missed the choker

cobalt fractal
#

smh

vivid palm
#

smh mh

wind juniper
#

what am i lookin at ?

#

omg, what did you fly?

cobalt fractal
#

Now I can charge people to fly lol

whole bear
#

whats the append version of .append for a dicionary

wind juniper
whole bear
#

how

wind juniper
#

d["something"] = something

whole bear
#

oooof ok

uncut meteor
wind juniper
#

dicts do have order

cobalt fractal
#

as of 3.6 dicts have insertion order

wind juniper
#

in new versions of python

cyan quartz
#

they initially unintentionally had ordered dicts

uncut meteor
#

Woah

cyan quartz
#

but now its a feature

uncut meteor
#

Dicts have an order?

cobalt fractal
#

3.6 it was an implementation detail of CPython

#

as of 3.7 its a language feature

uncut meteor
#

why is there a OrderedDict in Collections then?

cyan quartz
#

3.7 it became part of the implementation requirements

uncut meteor
#

if it is already ordered

cyan quartz
#

you can do different operations with it

whole bear
#

how would i add to a dictionary

uncut meteor
#

can I get some examples on these

wind juniper
#

quick trivia question: do you guys know how the order is implemented?

uncut meteor
cyan quartz
#

the only really useful feature of the standard dict being ordered is that iterating over it is consistent imo

cyan quartz
whole bear
#

dic['thing'] = new thing to add on

wind juniper
#

yeah

whole bear
#

will that add onto it

#

or overwrite it?

cobalt fractal
#

keys and values are held in a separate dense array, while the hash table itself only holds indexes into that

wind juniper
#

overwrite it if it already exists

whole bear
#

i want it a add onto and not overwrite

cyan quartz
#

like append to the current value?

whole bear
#

yes

cobalt fractal
#

and since the entries array is populated sequentially, it naturally ensures the order.

cyan quartz
#

you cant have multiple keys with the same value

#

what are the values? lists?

whole bear
#

a list in that value

cyan quartz
#

oh you cant do that in the standard dict unless you want a key: <datastructure of some sort>

whole bear
#

oh ok

cyan quartz
#

can be sub dicts, tuples, lists, classes, etc.

cobalt fractal
#

I use windows (:

vivid palm
olive hedge
cobalt fractal
#

but use docker to power my dev environments lol

cyan quartz
#

is there a separate video verification?

wind juniper
#

ubuntu with lxde is

cyan quartz
#

or do i just not know how to use discord as well as i thought i did

vivid palm
#

fisher uses arch tho btw tho btw

cobalt fractal
#

!otn a fisher uses arch btw

wise cargoBOT
#

:x: The channel name fisher-uses-arch-btw is too similar to i-use-arch-btw, and thus was not added. Use !otn forceadd to override this check.

vivid palm
cyan quartz
cobalt fractal
#

!otn forceadd fisher-uses-arch-btw

wise cargoBOT
#

:ok_hand: Added fisher-uses-arch-btw to the names list.

cobalt fractal
olive hedge
#

lolol finally

cyan quartz
#

rip in pieces

olive hedge
#

i do use arch btw arch

vivid palm
#

if you ever turn on your cam i fully expect a duck wearing khakis

olive hedge
cyan quartz
whole bear
#
for k in characters:
    position_dic[f"{k}"] == []```
this does not work just gives me a key error: 'a'
cobalt fractal
#

what kind of breaking?

#

Like bad code being pushed?

cyan quartz
#

why not just pass the key in directly?

whole bear
cyan quartz
#

are you just using the f string to cast it to a string?

cobalt fractal
#

you need to use = for assignment

cyan quartz
#

you can just str(value) instead

whole bear
#

fuck

cyan quartz
#

smh @vivid palm has me researching those vr avatars to see if i can find a duck

whole bear
cobalt fractal
#

What do you mean by interfaces? Sorry I might be missing context on what this is referring to.

#

is this a general question about rolling updates?

#

Then the update manager should know that dependency and not update outside of requirements

cyan quartz
#

brooo what are these anime avatar things called

cyan quartz
dense ibex
#

@uncut meteor What did you do to your pfp lol

uncut meteor
#

stuff and things

paper tendon
#

maybe this is not place for sharing this but this come out finally

uncut meteor
#

Congratulations!

cobalt fractal
#

eh

uncut meteor
#

i read that wrong

#

I read "i came out"

#

oops

cobalt fractal
#

ah

gentle flint
#

looks like eivl

#

only eivl has short hair

paper tendon
#

funniest thing is its playable

gentle flint
#

you can definitely tell the difference in 'scope quality

paper tendon
#

Darkplaces is available as open source engine and its portable.

#

I meant mainly on the first one as other one is just a patch and installation.

#

here it is how it is done with quake the other one was cheating because it actually run instalation of windows CE and then game.

#

@dire folio ^

terse needle
dense ibex
#

Ughh when will this be done

terse needle
dense ibex
#

Lol that's when you know a game is big

terse needle
#

what game is it?

dense ibex
#

FlightSim

#

2020

terse needle
#

ahhh

#

thats one fat game

dense ibex
#

Yep lol because it's the whole world

#

Like legit

terse needle
#

ever played elite dangerous?

#

the whole galaxy

dense ibex
#

no

#

I haven't

stuck furnace
#

That book-case is actually just painted on.

paper tendon
terse needle
#

added in 2002, wow

paper tendon
#

Alexander Medawar Garland (born 26 May 1970) is an English writer and filmmaker. He rose to prominence as a novelist in the late 1990s with his novel The Beach, which led some critics to call Garland a key voice of Generation X. He subsequently received praise for the screenplays of the films 28 Days Later (2002), Sunshine (2007), Never Let Me G...

paper tendon
#

https://www.youtube.com/watch?v=Wq3xtZ8AjPE if you havent watched a talk

Recently, Tested hosted a screening of 'The Martian', the new film based on the acclaimed book by Andy Weir. After the screening, Andy and astronaut Chris Hadfield joined Adam Savage on stage to discuss the movie, space technology, and NASA's real mission to Mars.

Edited by Joey Fameli

Subscribe for more videos! http://www.youtube.com/subscri...

โ–ถ Play video
flat sentinel
serene falcon
flat sentinel
#

this is great internet in macedonia

paper tendon
#

@white turret nice job.

somber heath
#

I've heard the U.S. described as an excellent invader and a lacklustre occupier and rebuilder.

dense ibex
versed hare
#

welp i cant talk to i will be typing in here

#

@somber heath hello! im in here to, but due to me not being active on this server i do not have perms to talk.

dense ibex
#

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

versed hare
#

yeah i have to do like 50 messages

#

ok

#

im in highschool rn taking the cs1 class but its nearing its end

#

i wanted to see how i can further go with python after the class

#

its finals now so no more assignments

#

yeah

#

my father has a concept of taking a project and breaking it down to its basic problems

#

i think ive heard of numpy

dense ibex
#

Numpy is very popular so yeah you probably have.

versed hare
#

ah ok

#

idk yet, i would like to design web pages, my dad is efficient in it

#

jengo?

dense ibex
#

Django

#

Flask

versed hare
#

the website looks like a website from 2014

somber heath
#

Javascript, html/html5, css

versed hare
#

for flask

#

ive been learning a little bit of html

#

i tried javascript, its kinda hard.

#

like i looked up javascripted tutorails a month ago, the only thing i remember is "console.log('Hello World');"

#

english is hard

#

like how in the southern states we say yall

#

texas

#

rn we finished learnign 2d arrays

#

so am i

#

we have all the way to senior

#

we only get taught python in cs1

#

cs2 is javascript

#

cs3 is c

#

and cs4 is idk

#

my father says c is a high lvl language, i assume the reason behind it is that he knows cobol and rpg

#

im sorry but ill have to come back in 10 min.

#

brb

dense ibex
#

Itโ€™s very late where I am, gotta go to sleep good night.

versed hare
#

ok gnight

whole bear
#

did it

#

๐Ÿ™‚

somber heath
# whole bear did it
text = input('>')
positions = dict()
for index, character in enumerate(text):
    try:
        positions[character].add(index)
    except KeyError:
        positions[character] = {index}
print(positions)```
gentle flint
#

use pprint then instead of print

whole bear
#

hillo @lethal thunder

#

@boreal maple WHAT

#

hello @proud tangle

proud tangle
#

o/

somber heath
scenic goblet
zealous wave
scenic goblet
stuck furnace
#

8/10

cobalt fractal
undone idol
#

lol

stuck furnace
#

Unless you tread on it lemon_pensive

cobalt fractal
#

๐Ÿ˜ฌ

paper tendon
#

Efficiency. Yes, really. Conventional wisdom says that line losses are lower for higher voltages โ€” but this applies to heavy loads. These days most people have lots of electronic devices and LED lights in their houses, and they all use low voltage DC. They generate that voltage with a switching power supply. Switching voltage converters are more efficient when the voltages are closer together and less efficient when the voltage difference is high. So going from 240V to 5V will incur more losses than 120V to 5V.

scenic goblet
whole bear
#

@rugged root try some of my music

#

he was saying my name over and over and over and over and over andl over again

#

i did

stuck furnace
whole bear
#

then a mod came in and he stopped and shortley left

paper tendon
scenic goblet
cobalt fractal
#

never heard of a tunnock

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied mute to @whole bear until 2021-05-12 13:55 (9 minutes and 59 seconds) (reason: duplicates rule: sent 4 duplicated messages in 10s).

scenic goblet
#

good job

rugged root
#

Not sure what you had hoped to gain there, Apple

stuck furnace
#

Tea cakes are good, but I was referring to this:

rugged root
#

My assumption is that you were trying to spam your way to voice verification

cobalt fractal
#

ohhhh, we call those caramacks

#

not sure why

stuck furnace
#

Oh ๐Ÿ˜„ Sorry for the confusion.

scenic goblet
#

i have 6 at hand

whole bear
#

am i in trouble?

#

........ pls have mercy

#

that is a acxcual thing

#

google cammel balls candy

#

i finished my project

#

a python script to obfuscate batch files

azure oasis
#

Saturn's fine.

#

I am not, though. I slammed into it a few years ago.

paper tendon
#

oh yeah well you landed at least somewhere else then earth

whole bear
#

can i do this?

azure oasis
paper tendon
cobalt fractal
#

I've got a Harry vacuum for rabbit fur

whole bear
#

idk

cobalt fractal
paper tendon
scenic goblet
#

ahahahahaha

dense ibex
whole bear
#

it needs to me on mlty

stuck furnace
#

Life uh, finds a way...

cobalt fractal
whole bear
#

its multy lines

#

yes mlty lines

dense ibex
whole bear
#

i need them to be away from the side like this because i need to fold this whole with thing

cobalt fractal
dense ibex
#

So are there like breeds for bunny's?

cobalt fractal
dense ibex
#

ok

serene falcon
cobalt fractal
paper tendon
cobalt fractal
#

crepuscular

#

Lop earred

honest pier
#

at least 3

#

too smart

whole bear
#

this right here counts to 100000 whe run

honest pier
#

amazing

whole bear
#

number 15

#

"hes tooting"

cobalt fractal
#

Blaming me ๐Ÿ˜ฆ

honest pier
#

๐Ÿ˜”

whole bear
#

yes everyone is disapointed in you

#

๐Ÿ˜ 

vivid palm
#

i see bun buns Bunny_Glad

cobalt fractal
#
with open("perform_cscs_validation_enabled.log") as f:
    lines = list(map(str.strip, (f.readlines())))
print(
    *(f"{lines[i][5:-1]}: {lines[i+3]=='t'}" for i in range(0, len(lines), 7)),
    sep="\n",
    file=open("out.txt", "w")
)
sonic hatch
#

once somebody with a bunny stayed with us for a week, all the cables got messed up

stuck furnace
#

Back later ๐Ÿ‘‹

cobalt fractal
clear shadow
#

Hey there!

dense ibex
#

Hello!

whole bear
#

batch > python

cobalt fractal
#
print(
    *range(0, 100000),
    sep="\n"
)
#

probable faster than batch

whole bear
#

nope
the python is a while true counter += 1 print(counter)
and batch is just a for loop that goes to 1000000

#

how do i make io faster?

honest pier
#

you can't really

#

it's not going to be faster than you can compute the numbers

whole bear
#

batch > python in printing speed

honest pier
#

ยฏ_(ใƒ„)_/ยฏ

whole bear
#

jokes on you my hand in allready on my noes

honest pier
#

ยฏ_(ใƒ„)_/ยฏ

whole bear
#

ยฏ_(ใƒ„)_/ยฏ

dense ibex
#

ยฏ_(ใƒ„)_/ยฏ

whole bear
#

(โ•ฏยฐโ–กยฐ๏ผ‰โ•ฏ๏ธต โ”ปโ”โ”ป

serene falcon
#

ยฏ_(ใƒ„)_/ยฏ

grand cargo
#

hi

dense ibex
#

Hello!

cobalt fractal
#

โ”ฌโ”€โ”ฌ ใƒŽ( ใ‚œ-ใ‚œใƒŽ)

serene falcon
#

Hello.. I can't speak on the chat... I'm suppressed

#

๐Ÿ˜ฆ

cerulean moth
#

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

grand cargo
#

ยฏ_(ใƒ„)_/ยฏ

cobalt fractal
#

Just walk my steak near the grill on the way to my table

serene falcon
#

I need to write 50 messages on a chat...

cobalt fractal
rugged root
#

You actually just hit 50

#

Like

#

With that message

serene falcon
#

really ???

rugged root
#

Yeah

serene falcon
#

I'll check ...

rugged root
#

Kind of funny

clear shadow
#

Hey @faint ermine

cobalt fractal
#

Actually, you're at 48 since August 25th 2020

#

so just 2 more to go

rugged root
#

My bad

serene falcon
#

Oh... ok

dense ibex
#

Hi jorgeDev ๐Ÿ˜†

serene falcon
#

Don't worry

cobalt fractal
#

๐ŸŽ‰

serene falcon
#

Hi jake...

dense ibex
#

Yay

#

I was trying to get you to the 50 lol

cobalt fractal
#

!u

wise cargoBOT
#
Chrisjl#2655

hypesquad_brilliance

User information

Created: 5 years, 4 months and 25 days ago
Profile: @cobalt fractal
ID: 126811506632294400

Member information

Joined: 8 months, 15 days and 1 hour ago
Roles: <@&542431903886606399>, <@&295488872404484098>, <@&825337057181696020>, <@&267630620367257601>, <@&587606783669829632>, <@&831776746206265384>, <@&267629731250176001>, <@&815701647526330398>, <@&267628507062992896>

Infractions

Total: 18
Active: 0

honest pier
#

lul

cobalt fractal
#

oh, it doesn't show messages here

honest pier
#

!u

wise cargoBOT
#
public static void แ“šแ˜แ—ข (โœช SavagePastaMan#6567)

hypesquad_balance

User information

Created: 4 years, 11 months and 22 days ago
Profile: @honest pier
ID: 182894631921516545

Member information

Joined: 9 months, 27 days and 22 hours ago
Roles: <@&542431903886606399>, <@&463658397560995840>, <@&764802720779337729>, <@&267630620367257601>, <@&799041111573266503>

Infractions

Total: 2
Active: 0

paper tendon
#

intergral wheat bar

dense ibex
#

!u

wise cargoBOT
#
jake (_jake#0001)

hypesquad_bravery

User information

Created: 1 year, 3 months and 16 days ago
Profile: @dense ibex
ID: 670802831678373908

Member information

Joined: 4 months, 7 days and 22 hours ago
Roles: <@&463658397560995840>, <@&764802720779337729>, <@&764245844798079016>, <@&585529568383860737>, <@&267630620367257601>

Infractions

Total: 1
Active: 0

whole bear
#

UwU

honest pier
#

woah 5 years soon

#

in like 8 days

rugged root
#

!u

wise cargoBOT
#
Mr. Hemlock#2740

hypesquad_balance early_supporter

User information

Created: 5 years, 7 months and 13 days ago
Profile: @rugged root
ID: 98195144192331776

Member information

Joined: 3 years, 9 days and 18 hours ago
Roles: <@&542431903886606399>, <@&463658397560995840>, <@&764245844798079016>, <@&295488872404484098>, <@&267630620367257601>, <@&797891034906099752>, <@&587606783669829632>, <@&277914926603829249>, <@&831776746206265384>, <@&267629731250176001>, <@&807415650778742785>, <@&267628507062992896>

Infractions

Total: 21
Active: 2

paper tendon
#

!u

wise cargoBOT
#

You are not allowed to use that command here. Please use the #bot-commands channel instead.

whole bear
#

๐Ÿ˜ 

#

!

#

!u

wise cargoBOT
#

You are not allowed to use that command here. Please use the #bot-commands channel instead.

rugged root
#

God I've wasted so much time

honest pier
cobalt fractal
#

!unmute 98195144192331776 seem to have done his time now

wise cargoBOT
#

:incoming_envelope: :ok_hand: pardoned infraction mute for @rugged root.

whole bear
#

me?

cobalt fractal
#

!warn 165023948638126080 cheating the infraction system smh

wise cargoBOT
#

:x: There was an error adding the infraction: status 500.

cobalt fractal
#

django.db.utils.IntegrityError: new row for relation "api_infraction" violates check constraint "not_joseph"

whole bear
#

joe mama

dense ibex
#

@whole rover you're a cheater ๐Ÿ˜ฆ

clear shadow
rugged root
#

And also making us waste precious processing time for every infraction made

#

For shame

#

For SHAME I say

cobalt fractal
#

paninis

honest pier
#

ยฏ_(ใƒ„)_/ยฏ

whole bear
#

panis

cobalt fractal
#

paninos

whole rover
#

I always win

cobalt fractal
rugged root
#

For every infraction we make, you make us waste one action

#

Is that truly the way you want to win?

#

With this madness

whole bear
#

whats a paninis

#

oh

vivid palm
whole bear
#

lol

vivid palm
#

hmmmmmmmmmmmmmmm maybe i order some paninis

whole bear
#

im popular

cobalt fractal
#

In English-speaking countries, panini is widely used as the singular form, with the plural form panini or paninis, though some speakers use singular panino and plural panini as in Italian.

whole bear
cobalt fractal
#

!ban @rugged root

clear shadow
lethal thunder
#

Iiu

#

!u

wise cargoBOT
#

You are not allowed to use that command here. Please use the #bot-commands channel instead.

whole bear
#

yes

clear shadow
#

No plz, :Let me Brodevil ๐Ÿ˜†

dense ibex
#

Mr. Hemlock
Mr. HemIock

rugged root
#

Il

clear shadow
#

!e

import sys
sys.exit(404)
whole bear
#

can i make a edgy-fi thing in the @viscid lagoon where it world turn "Mr. Hemlock" into "Mr. H3m10c"

honest pier
#

sure actually, i don't htink we have one of thoes

whole bear
#

break what?

wise cargoBOT
#

@clear shadow :warning: Your eval job has completed with return code 148 (SIGTSTP).

[No output]
whole bear
#

!e
import sys as sus
for i in range(10000):
sus.exit(i)

wise cargoBOT
#

@whole bear :warning: Your eval job has completed with return code 0.

[No output]
scenic goblet
#

!eval py print(eval(eval('break'))

wise cargoBOT
#

@scenic goblet :x: Your eval job has completed with return code 1.

001 |   File "<string>", line 1
002 |     print(eval(eval('break'))
003 |                              ^
004 | SyntaxError: unexpected EOF while parsing
scenic goblet
#

!eval py print(eval(eval('break')))

wise cargoBOT
#

@scenic goblet :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 1, in <module>
003 |   File "<string>", line 1
004 |     break
005 |     ^
006 | SyntaxError: unexpected EOF while parsing
paper tendon
#

!e ```py
import sys as sus
sus.exit()

wise cargoBOT
#

@paper tendon :warning: Your eval job has completed with return code 0.

[No output]
dense ibex
#

!e

print(*range(0, 100000), sep="\n")
wise cargoBOT
#

@dense ibex :white_check_mark: Your eval job has completed with return code 0.

001 | 0
002 | 1
003 | 2
004 | 3
005 | 4
006 | 5
007 | 6
008 | 7
009 | 8
010 | 9
011 | 10
... (truncated - too many lines)

Full output: too long to upload

whole bear
#

!e
import sys
print(eval(eval('sys.exit()')))

wise cargoBOT
#

@whole bear :warning: Your eval job has completed with return code 0.

[No output]
whole bear
#

dispite my rage your just a rat in my kage

dense ibex
#

@cobalt fractal so what do we do if it runs out of memory?

paper tendon
#

!e ```py
import sys as sus
from random import random as trip_a_num
sus.exit(int(trip_a_num() * 100))

cobalt fractal
#

cgroup_mem_max: 52428800

whole bear
#

hemlock can you do a nerdy voice

paper tendon
#

!e ```py
import sys as sus
from random import random as trip_a_num
sus.exit(int(trip_a_num() * 100))

wise cargoBOT
#

@paper tendon :warning: Your eval job has completed with return code 21.

[No output]
amber raptor
paper tendon
#

๐Ÿ™‚

cobalt fractal
#

!e import time; time.sleep(7)

wise cargoBOT
#

@cobalt fractal :warning: Your eval job timed out or ran out of memory.

[No output]
paper tendon
#

!e ```py
import time
for i in range(15):
print(i)
time.sleep(1)

wise cargoBOT
#

@paper tendon :x: Your eval job timed out or ran out of memory.

001 | 0
002 | 1
003 | 2
004 | 3
005 | 4
006 | 5
whole bear
#

huh

cobalt fractal
#

!src e

wise cargoBOT
#
Command: eval

Run Python code and get the results.

Source Code
paper tendon
#

!e ```py
import time
for i in range(15):
print(i)
time.sleep(0.1)

wise cargoBOT
faint ermine
wise cargoBOT
#

bot/exts/utils/snekbox.py lines 130 to 138

@staticmethod
def get_status_emoji(results: dict) -> str:
    """Return an emoji corresponding to the status code or lack of output in result."""
    if not results["stdout"].strip():  # No output
        return ":warning:"
    elif results["returncode"] == 0:  # No error
        return ":white_check_mark:"
    else:  # Exception
        return ":x:"```
clear shadow
#

!e

import os
print(os.getcwd())
print(os.uname())
print(dir(os))
wise cargoBOT
#

@clear shadow :white_check_mark: Your eval job has completed with return code 0.

001 | /snekbox
002 | posix.uname_result(sysname='Linux', nodename='snekbox', release='5.10.0-3-cloud-amd64', version='#1 SMP Debian 5.10.13-1 (2021-02-06)', machine='x86_64')
003 | ['CLD_CONTINUED', 'CLD_DUMPED', 'CLD_EXITED', 'CLD_KILLED', 'CLD_STOPPED', 'CLD_TRAPPED', 'DirEntry', 'EX_CANTCREAT', 'EX_CONFIG', 'EX_DATAERR', 'EX_IOERR', 'EX_NOHOST', 'EX_NOINPUT', 'EX_NOPERM', 'EX_NOUSER', 'EX_OK', 'EX_OSERR', 'EX_OSFILE', 'EX_PROTOCOL', 'EX_SOFTWARE', 'EX_TEMPFAIL', 'EX_UNAVAILABLE', 'EX_USAGE', 'F_LOCK', 'F_OK', 'F_TEST', 'F_TLOCK', 'F_ULOCK', 'GRND_NONBLOCK', 'GRND_RANDOM', 'GenericAlias', 'MFD_ALLOW_SEALING', 'MFD_CLOEXEC', 'MFD_HUGETLB', 'MFD_HUGE_16GB', 'MFD_HUGE_16MB', 'MFD_HUGE_1GB', 'MFD_HUGE_1MB', 'MFD_HUGE_256MB', 'MFD_HUGE_2GB', 'MFD_HUGE_2MB', 'MFD_HUGE_32MB', 'MFD_HUGE_512KB', 'MFD_HUGE_512MB', 'MFD_HUGE_64KB', 'MFD_HUGE_8MB', 'MFD_HUGE_MASK', 'MFD_HUGE_SHIFT', 'Mapping', 'MutableMapping', 'NGROUPS_MAX', 'O_ACCMODE', 'O_APPEND', 'O_ASYNC', 'O_CLOEXEC', 'O_CREAT', 'O_DIRECT'
... (truncated - too long)

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

scenic goblet
#

type hinting

clear shadow
#

!e

import os
os.system("ls")
wise cargoBOT
#

@clear shadow :warning: Your eval job has completed with return code 0.

[No output]
paper tendon
#

try to use subprocess for that or Popen

cobalt fractal
#

or print

whole bear
#

try and create a file and do ls

paper tendon
cobalt fractal
#

snekbox has a read only file system

#

so you can read stuff just fine

#

you just need to print it, if you want output

paper tendon
#

!e ```py
import subprocess
e = subprocess.Popen("ls")

wise cargoBOT
#

@paper tendon :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 2, in <module>
003 |   File "/usr/local/lib/python3.9/subprocess.py", line 951, in __init__
004 |     self._execute_child(args, executable, preexec_fn, close_fds,
005 |   File "/usr/local/lib/python3.9/subprocess.py", line 1754, in _execute_child
006 |     self.pid = _posixsubprocess.fork_exec(
007 | BlockingIOError: [Errno 11] Resource temporarily unavailable
scenic goblet
#

!e import os; print(os.system('ls'))

wise cargoBOT
#

@scenic goblet :white_check_mark: Your eval job has completed with return code 0.

-1
whole bear
#

!e

import os
os.system("echo hello")
wise cargoBOT
#

@whole bear :warning: Your eval job has completed with return code 0.

[No output]
whole bear
#

huh

cobalt fractal
#

snekbox is limited to 1 process, no subprocesses

paper tendon
clear shadow
#

!e

import os
print(os.listdir())
wise cargoBOT
#

@clear shadow :white_check_mark: Your eval job has completed with return code 0.

['Pipfile.lock', 'Pipfile', 'config', 'snekbox', 'user_base', 'tests', 'LICENSE']
whole bear
#

!e

import os
print(os.listdir(snekbox))
cerulean moth
#

It is basically the same code as what u can see on the repo

wise cargoBOT
#

@whole bear :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 2, in <module>
003 | NameError: name 'snekbox' is not defined
whole bear
#

!e

import os
print(os.listdir("snekbox"))
wise cargoBOT
#

@whole bear :white_check_mark: Your eval job has completed with return code 0.

['api', 'nsjail.py', '__main__.py', '__init__.py', 'config.py', '__pycache__']
scenic goblet
#

!e print(open('./config', 'r').read())

wise cargoBOT
#

@scenic goblet :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 1, in <module>
003 | IsADirectoryError: [Errno 21] Is a directory: './config'
cobalt fractal
#

!e ```py
import os

def list_files(startpath):
for root, dirs, files in os.walk(startpath):
level = root.replace(startpath, '').count(os.sep)
indent = ' ' * 4 * (level)
print('{}{}/'.format(indent, os.path.basename(root)))
subindent = ' ' * 4 * (level + 1)
for f in files:
print('{}{}'.format(subindent, f))
list_files("/")

wise cargoBOT
#

@cobalt fractal :white_check_mark: Your eval job has completed with return code 0.

001 | /
002 | usr/
003 | local/
004 | bin/
005 |     python3.9
006 |     python3
007 |     python
008 | lib/
009 |     libpython3.9.so.1.0
010 |     libpython3.9.so
011 |     libpython3.so
... (truncated - too many lines)

Full output: too long to upload

whole bear
#

maybe edit the config files for snekbox to allow us to make more process

scenic goblet
#

!e print(open('Pipfile', 'r').read())

wise cargoBOT
#

@scenic goblet :white_check_mark: Your eval job has completed with return code 0.

001 | [[source]]
002 | url = "https://pypi.org/simple"
003 | verify_ssl = true
004 | name = "pypi"
005 | 
006 | [packages]
007 | falcon = "~= 2.0.0"
008 | gunicorn = "~= 20.0"
009 | jsonschema = "~= 3.2"
010 | protobuf = "~= 3.14"
011 | sentry-sdk = {extras = ["falcon"], version = "~= 0.19.3"}
... (truncated - too many lines)

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

paper tendon
#

!e ```py
import os
with open("config", "r") as f:
for line in f.readlines():
print(line)

wise cargoBOT
#

@paper tendon :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 2, in <module>
003 | IsADirectoryError: [Errno 21] Is a directory: 'config'
scenic goblet
#

!e print(os.listdir('config'))

wise cargoBOT
#

@scenic goblet :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 1, in <module>
003 | NameError: name 'os' is not defined
whole bear
#

what is the path seperator in linux?

scenic goblet
#

!e import os; print(os.listdir('config'))

wise cargoBOT
#

@scenic goblet :white_check_mark: Your eval job has completed with return code 0.

['gunicorn.conf.py', 'snekbox.cfg', '__pycache__']
scenic goblet
#

!e print(open('config/gunicorn.conf.py', 'r').read())

wise cargoBOT
#

@scenic goblet :white_check_mark: Your eval job has completed with return code 0.

001 | workers = 2
002 | bind = "0.0.0.0:8060"
003 | logger_class = "snekbox.GunicornLogger"
004 | access_logformat = "%(m)s %(U)s%(q)s %(s)s %(b)s %(L)ss"
005 | access_logfile = "-"
cobalt fractal
#

!e ```py
import pkgutil
for module in pkgutil.iter_modules():
print(module.name, sep="\n")

wise cargoBOT
#

@cobalt fractal :white_check_mark: Your eval job has completed with return code 0.

001 | snekbox
002 | tests
003 | Levenshtein
004 | _yaml
005 | arrow
006 | attr
007 | bs4
008 | dateutil
009 | decorator
010 | forbiddenfruit
011 | fuzzywuzzy
... (truncated - too many lines)

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

whole bear
#

!e

import os
print(os.listdir("snekbox"))
wise cargoBOT
#

@whole bear :white_check_mark: Your eval job has completed with return code 0.

['api', 'nsjail.py', '__main__.py', '__init__.py', 'config.py', '__pycache__']
paper tendon
cobalt fractal
#

There's no networking in snekbox

paper tendon
#

Oh No

whole bear
#

!e

import os
print(os.listdir("config"))
wise cargoBOT
#

@whole bear :white_check_mark: Your eval job has completed with return code 0.

['gunicorn.conf.py', 'snekbox.cfg', '__pycache__']
severe pulsar
#

jake be getting some spring cleaning done

whole bear
#

!e

import os
print(os.listdir("snekbox"))
with open('config\snekbox.cfg', mode="w", encoding='utf-8') as file:
    file.write("panis was here.")

wise cargoBOT
#

@whole bear :x: Your eval job has completed with return code 1.

001 | ['api', 'nsjail.py', '__main__.py', '__init__.py', 'config.py', '__pycache__']
002 | Traceback (most recent call last):
003 |   File "<string>", line 3, in <module>
004 | OSError: [Errno 30] Read-only file system: 'config\\snekbox.cfg'
whole bear
#

FUCK

honest pier
#

#bot-commands

whole bear
#

we are doing stff

cerulean moth
#

You guys ainโ€™t gonna find anything in there ๐Ÿ™ƒ

whole bear
#

!e

import os
print(os.system("curl https://www.google.com/"))
wise cargoBOT
#

@whole bear :white_check_mark: Your eval job has completed with return code 0.

-1
whole bear
#

omfg we can access websites

honest pier
#

no internet

#

you got a -1 lol

whole bear
#

๐Ÿ˜ฆ

honest pier
#

and, #bot-commands

whole bear
#

๐Ÿ˜ 

honest pier
#

ยฏ_(ใƒ„)_/ยฏ

paper tendon
#

!e ```py
import os
print(f"{os.getcwd()}")
with open('new_file', mode="w+") as f:
print(f"{os.getcwd()}")

cobalt fractal
#

!int e on the other hand... lemonshake

paper tendon
#

!e ```py
import os
print(f"{os.getcwd()}")
with open('new_file', mode="w+") as f:
print(f"{os.getcwd()}")

wise cargoBOT
#

@paper tendon :x: Your eval job has completed with return code 1.

001 | /snekbox
002 | Traceback (most recent call last):
003 |   File "<string>", line 3, in <module>
004 | OSError: [Errno 30] Read-only file system: 'new_file'
cerulean moth
#

can int e access internet?

paper tendon
#

!int e

cobalt fractal
#

!help int e

wise cargoBOT
#
Command Help

!internal eval <code>
Can also use: internal e

Run eval in a REPL-like format.

dense ibex
#

Lol this is what Griff sends me

whole bear
#

ima make it if thats ok?

plush willow
#

does anyone here write CLI's?

severe pulsar
#

I wish @ Griff sent me things

#

๐Ÿ˜”

whole bear
#

im here for you dude, bro

severe pulsar
#

thanks bash

uncut meteor
#

Wanna play a game of Rick Roulette?
... Only Click One ...
|| || -- || || -- || || -- ||rick|| -- || || -- || ||

severe pulsar
#

i passed

dense ibex
#

2-0 is my W/L for rick roulette

cobalt fractal
#

voice mother

dense ibex
#

Voice daddy

severe pulsar
#

uh oh

whole bear
#

@hollow haven is voice mom and @rugged root is voice daddy

hollow haven
#

I am both Event Daddy and Staff Mom

dense ibex
#

they are both married and/or engaged

honest pier
#

hmm

whole bear
#

Mommy ~_~

dense ibex
#

Honestly though Kat is the staff mom.

severe pulsar
#

damn what does being staff mom entail

cobalt fractal
paper tendon
#

!e ```py
import posix1e
acl = posix1e.ACL(file=file)
print(acl)

wise cargoBOT
#

@paper tendon :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 1, in <module>
003 | ModuleNotFoundError: No module named 'posix1e'
severe pulsar
whole bear
#

what happend to lucy?

#

what?

cobalt fractal
#

I have one of these

vivid palm
#

jake's little mustache

dense ibex
#

ot that please

rugged root
#

!otn a jake's little mustache

wise cargoBOT
#

:ok_hand: Added jakeโ€™s-little-mustache to the names list.

cobalt fractal
#

!otn a jake's little mustache

wise cargoBOT
#

:x: The channel name jakeโ€™s-little-mustache is too similar to jakeโ€™s-little-mustache, and thus was not added. Use !otn forceadd to override this check.

rugged root
#

BOOM

cobalt fractal
dense ibex
#

OOO chris you just got out typed

somber heath
#

I have a slightly fancy buzzy boi.

whole bear
rugged root
paper tendon
#

pylibacl or posix1e

somber heath
#

I don't.

whole bear
honest pier
#

๐Ÿค”

molten pewter
#

EV'S to reach price parody with ICE cars by 2027

cobalt fractal
#

how to alter history

honest pier
#

๐Ÿ˜”

cobalt fractal
#

git push --force

honest pier
#

git rebase

cobalt fractal
#

git reset --hard HEAD~100

honest pier
#

git -m pip install rebase

severe pulsar
somber heath
#

Doritos are good, but you can have too many in a sitting.

#

D&D sessions with friends have taught me this.

stuck furnace
#

I honestly think an introduction to Git should start with an introduction to the conceptual model of Git. I spent far too long struggling with Git commands because I had no mental model of what they are actually doing.

#

Relevant xkcd incoming...

#

.xkcd 1597

viscid lagoonBOT
#

If that doesn't fix it, git.txt contains the phone number of a friend of mine who understands git. Just wait through a few minutes of 'It's really pretty simple, just think of branches as...' and eventually you'll learn the commands that will fix everything.

honest pier
#

yeah

#

we can have amazing latex rendered circles

severe pulsar
#

Git: A chance at unfu**ing up your code

#

easy

cobalt fractal
#

Kat, the perfect middle manager

honest pier
#

SAFe pog

whole bear
#

sup guys

honest pier
#

hey

whole bear
#

what you talking about?

honest pier
#

git ๐ŸŽ‰

rugged root
#

Setting up a git workshop

whole bear
#

Ok I dont know what that is but im gonna pretend i know what that is and "seems good, carry on"

cobalt fractal
#

Not sure where it fits in this notion page, but why git is good to use

#

why don't I just upload my code to google drive?

whole bear
#

ok carry on people im gonna go eat my dinner

severe pulsar
#

only text files

severe pulsar
cobalt fractal
#

homework_final_final_reallyfinal_v1.py

honest pier
#
def test_app(app):
  assert app.answer() == app.answer()
severe pulsar
#

@ Mr. Hemlock's not gonna forgive you(@ kutikatj9) if you don't make a ton of Git related puns in this talk -> Stuff like, "Did you git it?"

rugged root
#

I mean

#

He's not wrong

hollow haven
#

not wrong, I'll have to maximize the pun usage

rugged root
#

And there should be at least one reference to Salt-N-Pepa

honest pier
#

๐Ÿ‘€

severe pulsar
#

๐Ÿคฃ

somber heath
severe pulsar
#

straight up rejection

honest pier
#

it doesn't modify what is returned by app.answer though

vivid palm
#

i need an injection of caffeine ๐Ÿ’‰

rugged root
#

Dark roast drip

vivid palm
#

sounds amazing

#

cold brew tho pls

#

lollll

#

have you ever gotten any kind of IV drip? it is actually very chilling

somber heath
honest pier
#

i only ever get blood taken from me

#

when am i going to get reimbursed

vivid palm
#

lol

cobalt fractal
#

!e ```py
class MyClass(str):
def float(self):
return 0.0
num1 = MyClass('This is clearly a str')

print(float(num1))
print(num1)

wise cargoBOT
#

@cobalt fractal :white_check_mark: Your eval job has completed with return code 0.

001 | 0.0
002 | This is clearly a str
paper tendon
cobalt fractal
#

wfh today mina?

#

work from home

vivid palm
cobalt fractal
#

?

honest pier
#

work from the manor

vivid palm
#

work from la maison?

severe pulsar
vivid palm
#

^ always

cobalt fractal
honest pier
#

:O

vivid palm
#

yeah home M-W this week, in office tmrw and fri

cobalt fractal
honest pier