#off-topic-lounge-text

1 messages ยท Page 32 of 1

lofty vortex
#

my bad

twilit echo
#

and coming back and making adjustments

#

in sprints

silver solar
#

i copied your solution lmao

lofty vortex
#

mood

silver solar
#

righ its 12:11 am

#

:P

#

imagine sleeping

lofty vortex
#

same here

grim flare
#

I don't know why I get "Hello Worldanswer" :v

#

what's wrong with the sample input

plain wasp
#

it was good playing with u guys learnt a bit.still need to improve my understanding of datastructures... thill then bye

lofty vortex
#

mm maybe for the next round ill try to make an esoteric solution

twilit echo
#

i got to go guys, have fun ๐Ÿค˜ โค๏ธ

pine otter
#

;-;

twilit echo
#

alright, catch you later everyone

pine otter
#

c ya

silver solar
#

rule 4

gloomy lily
silver solar
#

is it legal to use cjk characters fuckery

#

like bytes(random cjk chars)

lofty vortex
#

hmmm

silver solar
#

then exec it or eval

#

๐Ÿ˜‰

#

like i think it counts characters but not the bytes

#

sadge

#

couldnt use python 2

#

sadge

lofty vortex
#

i too have 35

#

did we get the same solution EYES

silver solar
#

is it just me or do i hear a lot of join and disconnect sounds lmao

lofty vortex
#

is this button an ad or a callout

honest pasture
lofty vortex
#

yikes go is not great for golf

silver solar
#

weird

#

the trailing 0s

#

:/

lofty vortex
#

knew

silver solar
#

googling some random golf code brb

#

apparently there isnt golfscript avaliable

zinc kernel
#

๐Ÿ˜„

gloomy lily
hexed onyx
#

!warn @lofty vortex disrespecting moderator

lofty vortex
silver solar
#

yall not sleeping lmao

lofty vortex
#

ggs

honest pasture
#

@wide aurora can I get streaming permissions so that I can make some charts with d3.js

timid fjordBOT
#

:incoming_envelope: :ok_hand: applied mute to @primal bison until <t:1647107166:f> (9 minutes and 59 seconds) (reason: duplicates rule: sent 4 duplicated messages in 10s).

spice hare
#

@swift patrolcan you share stream so we can see you programming?

spice hare
#

oh ok

vernal snow
#

@limpid coral gimme a sec discord borked

shadow ivy
#

!stream 928250196889075762

timid fjordBOT
#

โœ… @limpid coral can now stream until <t:1647120136:f>.

shadow ivy
#

@limpid coralfyi i can only be online for a few minutes, so when i have to leave please end your stream

fallen gulch
#

pepeWhale judge free zone

#

Pleaseeeee were here to code ๐Ÿ’€

shadow ivy
#

xe-bit your stream didn't load for me unfortunately

fallen gulch
#

Ooh

#

I am !

#

I almost have mic

#

Permissions

#

Just

#

Need more lines pepeAngry

shadow ivy
#

one of the code jam teams did smth similar to this right

#

ascii text web cam stream

fallen gulch
#

Brb just trynna get 50 lines pepeW

shadow ivy
#

!stream 928250196889075762

timid fjordBOT
#

โœ… @limpid coral can now stream until <t:1647120614:f>.

shadow ivy
#

i agree, pretty cool

limpid coral
#
sys.stdout.write("\r{0}".format("dynamic text"))
sys.stdout.flush()
shadow ivy
#

@wide aurorai'ma go~ pls take over

wide aurora
shadow ivy
#

sadCatThumb mod

wide aurora
snow grail
#

๐Ÿ‘€

#

@silver solar

silver solar
#

e.e

snow grail
#

SPEAK OUT

#

haha ๐Ÿ™‚

silver solar
#

no thx

snow grail
#

Hi alex! ๐Ÿ‘‹

silver solar
#

afk e.e

limber wing
#

What its?

snow grail
#

fash builds artist tools/pipeline tools using maya(3d software) @limber wing

limber wing
#

Game? I never seen before

stuck river
#

Whats the Theme?

keen igloo
#

hey live coding

#

can someone help me with a python code

#

but i can send it here too

#

Hi I am trying to create a tree in python, using a 10x10 matrix called map...I have reached this far:```python
#function to generate a tree
def generate_tree(map,start):
#create root node
root = node(start)

#pointer to root node
temp = root

#queue up root node
queue = [root]

#go through each element in queue
while queue:
    for item in queue:
        #UP NODE
        if (item.val[0]-1 >= 0) and (map[item.val[0]-1][item.val[1]] != "X"):
            temp.children.append(node(item.val[0]-1,item.val[1]))
            queue.append(node(item.val[0]-1,item.val[1]))

        #DOWN NODE
        if item.val[0]+1 <= len(map) and (map[item.val[0]+1][item.val[1]] != "X"):
            temp.children.append(node(item.val[0]+1,item.val[1]))
            queue.append(node(item.val[0]+1,item.val[1]))

        #LEFT NODE
        if item.val[1]-1 >= 0 and (map[item.val[0]][item.val[1]-1] != "X"):
            temp.children.append(node(item.val[0],item.val[1]-1))
            queue.append(node(item.val[0],item.val[1]-1))

        #RIGHT NODE
        if item.val[1]+1 <= len(map[0]) and (map[item.val[0]][item.val[1]+1] != "X"):
            temp.children.append(node(item.val[0],item.val[1]+1))
            queue.append(node(item.val[0],item.val[1]+1))

        #once node created and added to root, remove node
        queue.remove(item.val)```the above code builds the tree upto the second layer but how do i add the following layers ie. the children of the children of the root? please ping me if you can help
indigo crest
#

hey

#

morning

mortal furnace
#

hi

#

can someone help me with a problem i am facing?

versed hamlet
#

whats the problem

icy raven
#

@atomic phoenix what is reverse

icy raven
#

@atomic phoenix how did you do it..

#

I did an oopsie

#

forgot to put... in that speed I did

#

20/60 * 30 ๐Ÿ˜‚ ๐Ÿ˜‚

#

instead of variables

gloomy lily
#

xdddd

honest pasture
#

points:

Maro 7
LP 4
Charlie 5
Charan 3
#

back in ~30m

icy raven
#

haha

hollow swan
#

@gloomy lily Be careful on what is open please LOL

gloomy lily
#

๐Ÿ˜ฆ was a random reddit post

#

first time that happened

#

my soc media is generally pretty clean lmao

hollow swan
#

@echo aurora The live coding channel is mostly for watching coding streams. Please keep this in mind and be respectful, be careful not to talk in a way that is disruptive to the streams.

echo aurora
icy raven
#

@echo aurora there are other implementations of python...

#

some people did python in java

#

@echo aurora it doesn't work like that...

icy raven
#

Hack in hackathon refers to "hacking something quick to do something.." @echo aurora

hollow swan
twilit echo
#

@gloomy lily ๐Ÿคฃ

vernal snow
#

this came on wasn't expecting it being so heavy but it's good

#

dont click that

twilit echo
twilit echo
#

@gloomy lily youre a big dog

#

drinking wine?

#

@gloomy lily cant i just give you my house in derry?

honest pasture
icy raven
#

@vernal snow is it a postfix language

vernal snow
#

yup

#

of the array and functional paradigm

young wraith
#

@gloomy lily Is visa required to work remotely for an another country ?

icy raven
mild goblet
#

hi

#

can anyone help

vernal snow
mild goblet
vernal snow
#

functions and variables are the same in my language

mild goblet
#

@icy raven @fossil umbra @vernal snow @gloomy lily

icy raven
twilit echo
#

@fossil umbra rabbit is the most relaxed person of all time

#

i hear him praying to waheguru

vernal snow
icy raven
#

okay

icy raven
#

why don't you try
csv.DictReader(file)

icy raven
icy raven
mild goblet
#

bruh

#

i know where error is

#

its solved now tbh

icy raven
#

okay then

mild goblet
#

that code was having extra space

icy raven
#

Is it resolved or not?

honest pasture
icy raven
#

designed for people with thiccccccccc fingers..

mild goblet
mild goblet
vernal snow
gloomy lily
icy raven
#

@honest pasture medium, next time

#

@gloomy lily wide

honest pasture
gloomy lily
fallen gulch
#

Nerds

#

How do I not have voice permissions yet :(?

agile portal
#

@primal bison ๐Ÿ˜ฎ hello

#

haven't seen you in a while

primal bison
#

heyy

agile portal
#

wsup ๐Ÿ™‚

primal bison
#

the sky

primal bison
agile portal
#

i'm just having huge ups and downs

primal bison
#

nice? lol?

agile portal
#

atleast you were consistently busy

primal bison
agile portal
#

i was free all day then i got projects and a project with furyo here and a client and old friends decided to ressurect from dead and made me play from them

shell hawk
#

Sup

#

Anyone here familiar with conda-forge

agile portal
#

anyways 3 am so i'mma go sleep now

#

gnight

primal bison
icy raven
#

@gloomy lily Are they even english? it sounds like gibberish...

primal bison
#

imma play non native english speaker victim card

gloomy lily
gloomy lily
gloomy lily
honest pasture
#

How are you still going

gloomy lily
#

come join us

honest pasture
#

I wish I could

gloomy lily
silver solar
#

"coding"

#

lemme join for a sec brb

#

idk how to spell whops

silver solar
versed vector
#

Looking for someone to help me out with a project if possible.

#

I am in the live coding voice chat.

#

I'm trying to compare a list of indexes (x) with another entry on one list, and the moment it finds the entry, to print out the next column (y), and continue for the next entry in (X) list.

shell hawk
gusty hatch
#

yep

mortal furnace
#

hi

#

https://stackoverflow.com/questions/5953373/how-to-split-image-into-multiple-pieces-in-python i found this link which has multiple ways of splitting image. not sure which would work for me - can you suggest one code to try. i want to split image into 100 vertical sections and save each section

surreal oracle
#

how do I copy every word that is the same like if I wanna change all the solo's to duo's really quick?

wind ingot
#

How to start live-coding in this server?

torpid arrow
#

@wind ingot I just asked the same thing. Only mods can start live coding. Once they've started live coding, they may grant you the ability to live code, if they wish.

#

But a mod always has to be present on a live code session, if I understood correctly.

primal bison
#

how can i get permission to talk

timid fjordBOT
#

:incoming_envelope: :ok_hand: applied mute to @primal bison until <t:1647387561:f> (9 minutes and 59 seconds) (reason: duplicates rule: sent 4 duplicated messages in 10s).

torpid blaze
mortal furnace
#

sorry no voice vericatin

#

yet

#

@atomic phoenix

#

1 more day

#

oh really, whats the best server for pyhton help

#

okay great

#

are you aware how to make mask for image

#

ah yes. let me share with you my project and the issue im having. and if you have nay ideas now or in the future would be great

#

i have an image and i want python to work out the average pixel intensity below the blue line and average pixel intensity above blue line from image. I know code to work out average pixel intensity of full image. But dont know how to do pixel intensity below blue line and above. IF you have any ideas please help. Or another way is to get python to split image into 2 - one with everything below blue line and other with everything above line then i can do my code. But i dont know how to do that

#

i see thanks!

#

yes

#

oh wow that was helpful

scarlet hamlet
#

I dont have voice yet but to do this you will want to create a numpy array from the image

mortal furnace
#

oh okay will try to do that too

#

im not great at coding so will try my best

#

do you think its hard code

scarlet hamlet
#

I wouldnt call it easy but def not impossible

mortal furnace
#

yes i can average pixels

scarlet hamlet
#

anybody who has done image recognition for ML will be able to help though

#

Numpy and Pillow

mortal furnace
#

i understand how to average pixels of image but creating this statemtent to recognise cyan may be hard will try

scarlet hamlet
#

image_1= Image.open('Sample.png')

mortal furnace
scarlet hamlet
#

numpydata = asarray(img)

mortal furnace
#

yes pixel blue

#

im open to different ideas

#

will try everything

#

anything that works will be great aha

scarlet hamlet
#

oh like I have done convolutional neural nets so I can help

mortal furnace
#

ah thats really cool

scarlet hamlet
#

well this part you are doing is the most painful

#

lol

#

so lets start

#

image_1= Image.open('Sample.png')

mortal furnace
#

let me show you the code i have to find average pixel intensity then maybe i can adapt that

scarlet hamlet
#

alright

mortal furnace
#

give me a min

#

yes if server talk would be good

scarlet hamlet
#

agreed

mortal furnace
#

sure

scarlet hamlet
#

I just joined this python one

#

but show me the code

mortal furnace
#

from skimage import io, img_as_float
import numpy as np

image = io.imread(r'C:\Users\Guest_\Documents\noconttest.png')
image = img_as_float(image)
print(np.mean(image))

#

this code works out average intensity of pixels

scarlet hamlet
#

so that image as flot

#

float

mortal furnace
#

mike should we all join new server. you down?

scarlet hamlet
#

uhhhhh sure

mortal furnace
#

im not sure what float image does

scarlet hamlet
#

cool

mortal furnace
#

i think i read it just gives value between 0 and 1 instead of pixel value

#

but not sure

scarlet hamlet
#

I have an assignment from my masters degree class that will help explain

mortal furnace
#

thanks

#

maroloccio how should we join new server

#

okay mike if you click on maroloccio image and press add friend

#

then we can try new server to speak for a bit

#

sorry marc

#

how do i find

#

the server

#

i joined russ

scarlet hamlet
#

oh sorry

mortal furnace
#

but dont know where to click

scarlet hamlet
#

I just accept ed invite

mortal furnace
#

@atomic phoenix which server do i join on rust

#

okay i can join offtopic

scarlet hamlet
#

could you pass along invite

#

@mortal furnace ^^^

mortal furnace
#

sure

keen igloo
opaque relic
umbral gate
timid fjordBOT
#

:incoming_envelope: :ok_hand: applied mute to @primal bison until <t:1647446040:f> (9 minutes and 59 seconds) (reason: burst rule: sent 8 messages in 10s).

mortal furnace
thorny vine
#

Im new to python

timber heart
#

[100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 99.0, 98.0, 97.0, 97.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 99.0, 99.0, 99.0, 94.0, 91.0, 94.0, 99.0, 99.0, 83.0, 84.0, 89.0, 92.0, 90.0, 87.0, 87.0, 85.0, 86.0, 91.0, 97.0, 100.0, 99.0, 90.0, 89.0, 95.0, 100.0, 100.0, 99.0, 97.0, 97.0, 100.0, 100.0, 97.0, 96.0, 97.0, 100.0, 95.0, 81.0, 71.0, 72.0, 87.0, 97.0, 99.0, 98.0, 99.0, 100.0, 100.0, 100.0, 100.0, 95.0, 88.0, 91.0, 97.0, 99.0, 98.0, 89.0, 82.0, 82.0, 87.0, 90.0, 91.0, 93.0, 97.0, 93.0, 84.0, 79.0, 80.0, 85.0, 89.0, 93.0, 93.0, 85.0, 77.0, 78.0, 82.0, 85.0, 78.0, 72.0, 76.0, 85.0, 96.0, 95.0, 77.0, 67.0, 63.0, 64.0, 62.0, 66.0, 72.0, 73.0, 61.0, 50.0, 35.0, 17.0, 2.0, 0.0, 1.0, 1.0, 1.0, 1.0, 1.0, 0.0, 0.0, 4.0, 11.0, 19.0, 31.0, 45.0, 54.0, 80.0, 95.0, 100.0, 100.0, 99.0, 84.0]

#
from PIL import Image

picture = Image.open('noise.png')
width, height = picture.size

x = 10
list = []
for y in range(height):
    value = picture.getpixel((x, y))
    black_level = round(1 - value / 255, 2)
    list.append(black_level*100)
print(list)
mortal furnace
#

are you new to python coding or new to server

primal bison
#

im new to python in general but for servers in im in a lot

candid osprey
#

git remote add upstream https://github.com/python-discord/bot.git

shadow ivy
#

@candid osprey are you primarily a pycharm user?

#

once you do this a couple times it's not too bad

#

trial & error on a personal junk repo

#

you can make your own repo i mean

#

my first time seeing a rebase done in pycharm ui

#

git is fun~

#

guess who wrote that system?

#

lolol

bitter haven
#

@silver solar what are you doing?

silver solar
#

e.e

#

making a python compiler

bitter haven
#

how are you

bitter haven
silver solar
silver solar
bitter haven
#

oh?

bitter haven
silver solar
bitter haven
#

which framework are you gonna use in pyweek?

silver solar
#

depends

#

i kinda want to do 3d for some themes

bitter haven
#

which one do you know?

silver solar
#

but 2d for others

silver solar
bitter haven
#

really?

silver solar
#

yep

bitter haven
#

you still have time to learn

silver solar
#

too lazy to :/

bitter haven
#

lmao

#

i wil participate if the theme is evil twin

silver solar
#

eivl twin

bitter haven
#

wait

#

its not evil?

silver solar
#

nah it is

#

just joking

bitter haven
#

lol

bitter haven
#

@silver solar do you know pygame?

silver solar
#

but im doing solo this one

#

and exams go brrr

#

so maybe i can team with you next time

bitter haven
#

noo i mean i am having a problem

#

can you help me out?@silver solar

#

and my exams started yesterday

silver solar
#

edit pings doesn't ping

#

I didn't realize you pinged me ๐Ÿ˜“

bitter haven
silver solar
#

gl

bitter haven
#

it just got finisheed

#

and i have to submit my paper

lean cradle
#

I wanna learn python from basics please suggest till pro level

timid fjordBOT
#
Resources

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

bitter haven
#

sorry for caps

untold sand
silver solar
#

did I do something wrong

#

:/

untold sand
silver solar
#

wym

untold sand
silver solar
#

ok

untold sand
untold sand
silver solar
#

do I have to respond with everything

#

:/

#

I have my life

untold sand
fallen gulch
#

Maybe thereโ€™s better ways to make the 50th line donโ€™t reel in someone lol

untold sand
fallen gulch
#

Go talk to the other non voices lol unite

untold sand
smoky bramble
#

lol

#

lol

#

XD

primal bison
#

morty, you the police?

primal bison
untold sand
primal bison
#

you have to give him some money for hurting his feelings

#

where's rick at?

untold sand
buoyant kestrel
#

Is there a reason you guys are being.... weird at each other? Not really even sure how to describe this

wet hearth
#

NJ is high because of EWR

cobalt hull
#

. . .

gaunt jetty
untold sand
sweet ledge
#

hi

timid fjordBOT
#
Server Information

Created: <t:1483877013:R>
Roles: 93
Member status: status_online 38,754 status_offline 286,028

Members: 324,782

Helpers: 140
Moderation Team: 37
Admins: 15
Owners: 3
Contributors: 42
Leads: 9

Channels: 251

Category: 32
News: 8
Staff: 63
Stage_Voice: 2
Text: 136
Voice: 10

velvet hill
#

Wrong channel my bad ^

sweet ledge
#

guys now what

#

@timid fjord

#

guys help me

#

plz

agile portal
#

!e

x = {121, 123, 1412}
y = {213, 121, 1241}

z = x.intersection(y)

print(z)
timid fjordBOT
#

@agile portal :white_check_mark: Your eval job has completed with return code 0.

{121}
agile portal
#

@soft scarab

#

!e

foo = [1, 12, 12, 21, 1, 1, 2, 1, 3, 3,4, 1, 2]
print(set(foo))
timid fjordBOT
#

@agile portal :white_check_mark: Your eval job has completed with return code 0.

{1, 2, 3, 4, 12, 21}
soft scarab
agile portal
#

!e

foo = [1, 12, 12, 21, 1, 1, 2, 1, 3, 3,4, 1, 2]
bar = [1, 2]

new_arr = []

for n in foo:
    if n not in bar:
        new_arr.append(n)

print(new_arr)
timid fjordBOT
#

@agile portal :white_check_mark: Your eval job has completed with return code 0.

[12, 12, 21, 3, 3, 4]
torn quartz
#

!e
print("Hello World!")

pale hill
#

hi

primal bison
#

!e

timber heart
#

hi

primal bison
#

!e โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €
โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €
โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €
โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €
โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €
โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €
โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €
โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €
โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โฃ€โฃ€โฃ€โฃ€โฃ€โฃ€โฃ€โฃ€โฃ€โก€โ €โ €โ €โ €โ €
โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โข โฃคโกŸโ ›โขปโฃฟโฃฟโฃฟโฃฟโฃฟโฃฟโฃงโฃคโ €โ €โ €โ €
โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โขธโฃฟโฃงโฃคโฃผโฃฟโฃฟโฃฟโฃฟโฃฟโฃฟโฃฟโฃฟโ €โ €โ €โ €
โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โขธโฃฟโฃฟโฃฟโฃฟโฃฟโฃฟโฃฟโฃฟโฃฟโฃฟโฃฟโฃฟโ €โ €โ €โ €
โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โขธโฃฟโฃฟโฃฟโฃฟโฃฟโก‡โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €
โ €โก„โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โข โฃผโฃฟโฃฟโฃฟโฃฟโ ‰โ ‰โ ‰โ ‰โ ‰โ โ €โ €โ €โ €โ €โ €
โ €โฃ‡โ €โ €โ €โ €โ €โ €โ €โ €โฃฐโฃถโฃพโฃฟโฃฟโฃฟโฃฟโฃฟโก€โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €
โ €โฃฟโฃฟโฃคโ €โ €โ €โข โฃผโฃฟโฃฟโฃฟโฃฟโฃฟโฃฟโฃฟโฃฟโฃฟโ ‰โ ‰โ ฟโ €โ €โ €โ €โ €โ €โ €โ €โ €
โ €โฃฟโฃฟโฃฟโฃถโฃถโฃถโฃพโฃฟโฃฟโฃฟโฃฟโฃฟโฃฟโฃฟโฃฟโฃฟโฃฟโ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €
โ €โ €โ ฟโขฟโฃฟโฃฟโฃฟโฃฟโฃฟโฃฟโฃฟโฃฟโฃฟโฃฟโฃฟโฃฟโฃฟโ ›โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €
โ €โ €โ €โ ˜โ ›โฃฟโฃฟโฃฟโฃฟโฃฟโฃฟโฃฟโฃฟโฃฟโฃฟโกŸโ ›โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €
โ €โ €โ €โ €โ €โ €โ ฟโขฟโฃฟโฃฟโกฟโ ฟโขฟโฃฟโก‡โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €
โ €โ €โ €โ €โ €โ €โ €โขธโฃฟโกโ โ €โ ˆโขนโก‡โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €
โ €โ €โ €โ €โ €โ €โ €โขธโ €โ €โ €โ €โ €โขธโก‡โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €
โ €โ €โ €โ €โ €โ €โ €โ ˆโ ‰โ โ €โ €โ €โ ˆโ ‰โ โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €
โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €โ €

#

hey

timber heart
#

how are u ?

timid fjordBOT
#

:incoming_envelope: :ok_hand: applied mute to @primal bison until <t:1647674832:f> (9 minutes and 59 seconds) (reason: duplicates rule: sent 4 duplicated messages in 10s).

timber heart
#

bruh lol

pine shore
#

Hi

keen vault
#

hi

torn quartz
#

!e

import time

val1 = 5
val2 = val1
while not val1 == 0:
    print(str(val1))
    val1 -= 1
    time.sleep(1)

print("The Timer Lasted For " + str(val2) + " Seconds!")
sweet ledge
#

now what

primal bison
#

hi wassup

dapper oriole
#

hy

lyric phoenix
#

does anybody want code with me on replit?

hidden orchid
#

hmm

#

sure

#

wait

#

This was posted 9 hours ago

north cliff
keen vault
#

!e'

#

!e

timid fjordBOT
#
Command Help

!eval [code]
Can also use: e

*Run Python code and get the results.

This command supports multiple lines of code, including code wrapped inside a formatted code block. Code can be re-evaluated by editing the original message within 10 seconds and clicking the reaction that subsequently appears.

We've done our best to make this sandboxed, but do let us know if you manage to find an issue with it!*

keen vault
#

!e print("hello")

#

!e import time

val1 = 5
val2 = val1
while not val1 == 0:
print(str(val1))
val1 -= 1
time.sleep(1)

print("The Timer Lasted For " + str(val2) + " Seconds!")

#

!e import time

val1 =100
val2 = val1
while not val1 == 0:
print(str(val1))
val1 -= 1
time.sleep(2)

print("The Timer Lasted For " + str(val2) + " Seconds!")

lunar skiff
lunar skiff
#
def two_sum(nums, target):
    """
    :type nums: List[int]
    :type target: int
    :rtype: List[int]
    """
    for i, m in enumerate(nums):                    # i -> 0, m -> 3
        for j, n in enumerate(nums):                # j -> 0, n -> 3
            if m + n == target and i != j:          # 3 + 3 == 6
                return [i, j]                       # (0, 0)
timber heart
#

password

#
def encryption(input_string):
    all_punctuation = """!"#$%&'()*+,-./:;<=>?[\]^_`{|}~"""

    first_char_pos = len(input_string) % len(all_punctuation)
    first_char = all_punctuation[first_char_pos]

    second_char_pos = len(input_string) % 5
    second_char = all_punctuation[second_char_pos]

    third_char_pos = len(input_string) % 10
    third_char = all_punctuation[third_char_pos]

    encrypted = ""


    result = "^^^"+ encrypted +"$$$"
    return result

print(encryption(input(">>")))

timber heart
#

!e

def encryption(input_string):
    all_punctuation = """!"#$%&'()*+,-./:;<=>?[\]^_`{|}~"""

    first_char_pos = len(input_string) % len(all_punctuation)
    first_char = all_punctuation[first_char_pos]

    second_char_pos = len(input_string) % 5
    second_char = all_punctuation[second_char_pos]

    third_char_pos = len(input_string) % 10
    third_char = all_punctuation[third_char_pos]

    encrypted = ""


    result = "^^^"+ encrypted +"$$$"
    return result

print(encryption("password"))
print(encryption("password") == "^^^)p)$$a$$)))s))))s)$$w$$)))o))))r)$$d$$$$$")
timid fjordBOT
#

@timber heart :white_check_mark: Your eval job has completed with return code 0.

^^^$$$
timber heart
#

!e

def encryption(input_string):
    all_punctuation = """!"#$%&'()*+,-./:;<=>?[\]^_`{|}~"""

    first_char_pos = len(input_string) % len(all_punctuation)
    first_char = all_punctuation[first_char_pos]

    second_char_pos = len(input_string) % 5
    second_char = all_punctuation[second_char_pos]

    third_char_pos = len(input_string) % 10
    third_char = all_punctuation[third_char_pos]

    encrypted = ""


    result = "^^^"+ encrypted +"$$$"
    return result

print(encryption("password"))
print(encryption("password") == "^^^)p)$$a$$)))s))))s)$$w$$)))o))))r)$$d$$$$$")
timid fjordBOT
#

@timber heart :white_check_mark: Your eval job has completed with return code 0.

001 | ^^^$$$
002 | False
true yoke
#

!e

timid fjordBOT
#
Command Help

!eval [code]
Can also use: e

*Run Python code and get the results.

This command supports multiple lines of code, including code wrapped inside a formatted code block. Code can be re-evaluated by editing the original message within 10 seconds and clicking the reaction that subsequently appears.

We've done our best to make this sandboxed, but do let us know if you manage to find an issue with it!*

tender tangle
#

1p12a23s31s12w23o31r12d2

bold sky
#

board[[0, 0, 0], [0, 0, 0], [0, 0, 0]]

#

board[[1, 1, 0], [0, 0, 0], [0, 0, 0]]

tender tangle
true yoke
#

oki

#

yes

#

me

#

;-;

#

yeah

#

but

#

i just joined

#

so

#

yeahh

#

oh question

bold sky
true yoke
#

oh

#

ello

#

so im trying to get into coding any vids i should specifically watch or stuff like tht

true yoke
#

Okii thx

#

I'll look into it

#

Kk

#

Alright then thx for the advise

#

Cya then

#

^_^

lyric phoenix
heady oracle
#

ะ˜ ะทะฐั‡ะตะผ?

shadow ivy
heady oracle
tender tangle
loud crown
primal bison
#

!eval

timid fjordBOT
#
Command Help

!eval [code]
Can also use: e

*Run Python code and get the results.

This command supports multiple lines of code, including code wrapped inside a formatted code block. Code can be re-evaluated by editing the original message within 10 seconds and clicking the reaction that subsequently appears.

We've done our best to make this sandboxed, but do let us know if you manage to find an issue with it!*

primal bison
#

ahahahahah! :p

primal bison
#

Need code for this question

trim fossil
#

!e

#

!e

timid fjordBOT
#
Command Help

!eval [code]
Can also use: e

*Run Python code and get the results.

This command supports multiple lines of code, including code wrapped inside a formatted code block. Code can be re-evaluated by editing the original message within 10 seconds and clicking the reaction that subsequently appears.

We've done our best to make this sandboxed, but do let us know if you manage to find an issue with it!*

trim fossil
#

e

#

!e

timid fjordBOT
#

@primal bison :white_check_mark: Your eval job has completed with return code 0.

<module 'sys' (built-in)>
chilly crater
#

hi yall im ben barson

#

nun i dont know what to code

#

i wanna make a website for my friend

#

yes

#

im a python geek

#

ok thanks are you a pro coder ?

#

ok thanks so i should create a website with flask

#

this will be my first time also i want to launch this website in a couple of months

#

which one

#

oh yea i looked it up

#

i dont click links

#

mods ????

#

how tf are u letting people send hacked links modsss ???

shadow ivy
#

just send the youtube link

chilly crater
#

my computer is bugging

#

oh ok sorry man i thought it was a hack link it looks fishy bro

#

i only know sites that are popular

smoky bramble
#

!e

timid fjordBOT
#
Command Help

!eval [code]
Can also use: e

*Run Python code and get the results.

This command supports multiple lines of code, including code wrapped inside a formatted code block. Code can be re-evaluated by editing the original message within 10 seconds and clicking the reaction that subsequently appears.

We've done our best to make this sandboxed, but do let us know if you manage to find an issue with it!*

smoky bramble
#

f

#

print ('Hello, world!')

#

!e print ('Hello, world!')

timid fjordBOT
#

@smoky bramble :white_check_mark: Your eval job has completed with return code 0.

Hello, world!
smoky bramble
#

!e def median(pool):
'''Statistical median to demonstrate doctest.

median([2, 9, 9, 7, 9, 2, 4, 5, 8])
6 #change to 7 in order to pass the test
'''
copy = sorted(pool)
size = len(copy)
if size % 2 == 1:
return copy[int((size - 1) / 2)]
else:
return (copy[int(size/2 - 1)] + copy[int(size/2)]) / 2
if name == 'main':
import doctest
doctest.testmod()

timid fjordBOT
#

@smoky bramble :x: Your eval job has completed with return code 1.

001 |   File "<string>", line 6
002 |     >     copy = sorted(pool)
003 |     ^
004 | SyntaxError: invalid syntax
smoky bramble
#

F

native glacier
#

Hi there! Any expert programmer wanna become friends? I am an expert in Python and I am looking for someone with whom I can discuss some programming concepts for mutual benefit. Anyone up for it? Dm me.

heavy crane
#

why is it still taking so long to get voice verified

silver solar
#

i dont see the point of getting it, still

#

though i have it but i never turn on my mic

heavy crane
#

its 3 days since ive been on ๐Ÿ˜ฆ

cobalt otter
#

!e

timid fjordBOT
#
Command Help

!eval [code]
Can also use: e

*Run Python code and get the results.

This command supports multiple lines of code, including code wrapped inside a formatted code block. Code can be re-evaluated by editing the original message within 10 seconds and clicking the reaction that subsequently appears.

We've done our best to make this sandboxed, but do let us know if you manage to find an issue with it!*

cobalt otter
#

!eval [code]

timid fjordBOT
#

@cobalt otter :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 'code' is not defined
native glacier
#

So can I write code here? And it will produce result?

#

Let's try

#

!eval print ("Hello world")

timid fjordBOT
#

@native glacier :white_check_mark: Your eval job has completed with return code 0.

Hello world
native glacier
#

Ah great. What a creative bot.

cloud cloak
#

It can do larger code blocks too

#

!e

name = "Tahir"

print(f"Hello, {name}")
timid fjordBOT
#

@cloud cloak :white_check_mark: Your eval job has completed with return code 0.

Hello, Tahir
cloud cloak
#

Feel free to use #bot-commands to test ๐Ÿ™‚

jolly jewel
#

!e print('GG')

timid fjordBOT
#

@jolly jewel :white_check_mark: Your eval job has completed with return code 0.

GG
jolly jewel
#

!e import os; print("helo")

#

!e import os; os.system('echo Hello');

honest ocean
#

print ("hi")

#

bruh

rough oar
#

!e

print('test')
lime crystal
#

!e

print('test')```
snow grail
#

40 degree here

tender tangle
snow grail
#

heheh

#

we are fuked

#

the weather is hotta here

#

Uh yea its a commandline output using wttr.in api

#

@fresh sail yu new to python?

#

yeh typo

#

uh yeah

#

Uh nope

#

Its not too late or old to learn something.

#

sorry pardon?

#

eh? idc

muted stirrup
#

!e print('i suck')

timid fjordBOT
#

@muted stirrup :white_check_mark: Your eval job has completed with return code 0.

i suck
snow grail
#

He didn't spammed?

#

Do you use a mechanicalkeyboard?

#

Membrane keyboard : you gotta hammer each keys for registering it.

#

Mechanical keyboard: just a slight press registers it.

tender tangle
fresh sail
#

@weary pagoda

weary pagoda
#

How do I get voice access?

fresh sail
#

!voice

timid fjordBOT
#

Voice verification

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

fresh sail
#

@nova tide

nova tide
#

sorryy

tender tangle
fresh sail
#

@nova tide over here!

nova tide
#

yeah installing

#

it r

#

rn

fallen gulch
nova tide
#

while loop keeps looping till the condition is true

#

it stops when its not fullfilled

#

yo guys

fresh sail
#

yo

nova tide
#

how long do you have to stay in the vc to speak

#

?

fresh sail
#

!voice

timid fjordBOT
#

Voice verification

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

fresh sail
#

That long

nova tide
#

okieeee

#

you code in which editor ???

#

yo guys

#

should i disable path length limit

#

?????

#

anyone

fresh sail
nova tide
#

i used pychram

swift patrol
#

hi

tender tangle
fresh sail
#

@sleek kernel @vagrant nova type here to interact:

primal bison
#

I think I'm gonna leave, c ya

mild goblet
#

hi guys

#

can anyone join code help

#

need bit help

fresh sail
#

Please type the kind of help you need:

#

you may be in the wrong place

icy raven
#

I use continue to avoid nested if statements @fresh sail

#

macOS file system is not case sensitive by default @gloomy lily

tender tangle
vagrant nova
icy raven
#

@fresh sail name should be outside of while

#

Maybe, I miss something here, @fresh sail

agile portal
#

@gloomy lily idk how i remember vs code keybinds o-o i only use vim binds

icy raven
#

@fresh sail I think you need two while True loops... one for name and one for password

#

And, if it does't break, it will continue @fresh sail

#

There is no such things as False and True in C by default, Zero is False @agile portal

agile portal
icy raven
#

1 is True

agile portal
#

:/ idk where that was... might'gve been cpp

#

no idea

#

unless i was scammed by my friend which is very possible

icy raven
#

In C++, I zero is False...

#

In mostt languages... False is a wrapper around 0

agile portal
#

then i was fooled by a friend ig :x

icy raven
#

even in python

agile portal
#

ik but just someone managed to fool me by a photoshopped screenshot

icy raven
agile portal
#

is what happend :x

icy raven
#

haha

agile portal
#

javascript fun

icy raven
#

๐Ÿคฎ JS

agile portal
#

xD

icy raven
#

@agile portal It looks like you use zsh?

agile portal
#

this is powershell actually

#

but i do use both zsh and bash too

#

on my vms

icy raven
agile portal
#

it is ohmyposh so you're not wrong

icy raven
#

They are more efficient too @fresh sail

#

String in python are immutable... doing "String" + "String" is expensive

gloomy lily
icy raven
#

@fresh sail I didn't get you...

#

It's python

gloomy lily
#

26 + 6 = 1

icy raven
#

I use python

agile portal
#

atleast i think it does lets check

icy raven
#

btw, @fresh sail I'm Charan...

fresh sail
#

Horay!

agile portal
#

!e

import dis

def foo():
    x = "something"
    return "hello" + x

print(dis.dis(foo))
timid fjordBOT
#

@agile portal :white_check_mark: Your eval job has completed with return code 0.

001 |   4           0 LOAD_CONST               1 ('something')
002 |               2 STORE_FAST               0 (x)
003 | 
004 |   5           4 LOAD_CONST               2 ('hello')
005 |               6 LOAD_FAST                0 (x)
006 |               8 BINARY_ADD
007 |              10 RETURN_VALUE
008 | None
fresh sail
#

Do you want me to refer to you as Charan in this server?

agile portal
#

๐Ÿ˜ฎ nvm it doesn't apparently

#

it does inline constants for addition and such so i thought it would for strings too

icy raven
vestal ocean
#

hi

icy raven
#

@gloomy lily it is not well defined... that's why

#

There is no one infinity...

agile portal
#

@gloomy lily learn C#

gloomy lily
#

Sure

vestal ocean
#

What is going on here guys

agile portal
#

nice ๐Ÿ˜„

icy raven
#

You can change the axioms, but you will get some contradictions @fresh sail

#

which is a nightmare for mathematicians

agile portal
#

welcome to the group ๐Ÿ™‚

vestal ocean
#

I would like to solve this problem

icy raven
#

If you have a contradiction in axioms, you can prove anything

#

Everything false can't be proved to be True

vestal ocean
#

Yes it's true

#

Well, I am also a developer.

#

I want a help in building a project

gloomy lily
#

Oh perfect

#

Rishaw I need you to extend docker to allow for GPU resource sharing

#

So that I can run multiple GPU accelerated docker containers on the same host machine

#

Thanks @ me when ur PR gets merged

#

โค๏ธ

vestal ocean
#

Are you a game developer

gloomy lily
#

No I have an open source cloud gaming infra project

#

I'm currently blocked by the state of containerisation software

#

Or if you could come up with an extension for xen that allows vGPU allocation that would be great

agile portal
#

@buoyant kestrel

#

both powershell and bash

vestal ocean
agile portal
#

@gloomy lily

gloomy lily
#

look for yourself

agile portal
#

shorthand on powershell gives boolean

buoyant kestrel
#

@fallen gulch You alright over there?

vestal ocean
tender tangle
#

one side left, three done

#

139 double stitches so far

vestal ocean
gloomy lily
#

Very well young grasshopper, we will begin with waxing my car.

agile portal
#

yez i'm kinda bored o- o

buoyant kestrel
#

HA

#

That's great

azure spire
#

1k is huge money no matter how you look at it lel

#

Mac books are great at digital designing from what I know, and so that could mean its great with some programming too

#

Very much dislike terminal commands however

#

and how the OS env instance works

#

Id rather just use linux lol

#

Apple to Android to Apple isn't perfect, but it works in my opinion

#

brb

fresh sail
icy raven
#

@fresh sail what boring stuff are you automating

fresh sail
#

currently just doing rock paper scissor, then will move on to other stuff.

#

following the book.

buoyant kestrel
icy raven
#

I don't understand why, you are using while loops, when you are gonna break at every condition? @fresh sail

fresh sail
#

Wife is home. BRB

agile portal
jagged granite
#

What would you call a SharePoint site for storage of software and hardware and machine manuals shared between IT and maintenance?

buoyant kestrel
#

Like

#

A clever name or

jagged granite
#

I'd take anything

#

I have "Paper Town" stuck in my head for some reason

#

Fair fair

obtuse nebula
#

Sharepoint site

jagged granite
#

YASPS

#

Yet Another SharePoint Site

buoyant kestrel
#

Toolbox
Toolbelt
The Warehouse
The IT Shed

fresh sail
#

Back

tender tangle
jagged granite
#

๐ŸŽ‰

buoyant kestrel
#

!d operator

timid fjordBOT
#

Source code: Lib/operator.py

The operator module exports a set of efficient functions corresponding to the intrinsic operators of Python. For example, operator.add(x, y) is equivalent to the expression x+y. Many function names are those used for special methods, without the double underscores. For backward compatibility, many of these have a variant with the double underscores kept. The variants without the double underscores are preferred for clarity.

The functions fall into categories that perform object comparisons, logical operations, mathematical operations and sequence operations.

The object comparison functions are useful for all objects, and are named after the rich comparison operators they support:

fresh sail
#

RIP MovieFone February 23, 2014

jagged granite
#

Death to Skype! Long live Teams!

honest pasture
shadow ivy
jagged granite
#

Hi Mina

unborn sorrel
#

!code

timid fjordBOT
#

Here's how to format Python code on Discord:

```py
print('Hello world!')
```

These are backticks, not quotes. Check this out if you can't find the backtick key.

unborn sorrel
#
from dataclasses import dataclass
from typing import Protocol, Optional


class Device(Protocol):
    """Protocol for devices"""

    def connect(self):
        """connect to device"""

    def disconnect(self):
        """disconnect from device"""

    def send(self, data: bytes):
        """send data to device"""

    def receive(self) -> Optional[bytes]:
        """receive data from device"""
shadow ivy
#

@fresh sail can you try posting the zoom article again?

devout steeple
#

import numpy as np

color = [red, orange, yellow, green, blue, indigo, violet]

area = [x,y]

humanspeed = 1
t=time.time()
angle = 4

dX = humanspeed*t*cos(angle)
dY = humanspeed*t*sin(angle)

Xlocation = dX
Ylocation = dY

rangefinder = distance_to_object
if rangefinder =< 1:
shadow ivy
fallen gulch
fresh sail
fresh sail
tender tangle
left kernel
#

Man the only thing I remember from python is "hello world "

fresh sail
#

@fallen gulch Pinging.

primal bison
#

im not allowed to speak for uh

#

not having enough messages or something

#

yep haha

#

wouldnt say so

#

i use python for a project and sometimes need help on specififc issues

#

wouldnt exactly call it learning
though i dont think anybody stops learning a programming language per se

#

its just that thats not my aim as of right now

#

repeat?

fresh sail
#

Phatic expression

primal bison
#

nope

fresh sail
#

a phatic expression is communication which serves to establish or maintain social relationships rather than to impart information.

primal bison
#

well now i knoiw

#

thats very kind of you

#

are you learning python?

#

any experience with other languages? or are you new to programming in general

#

its fine

primal bison
#

Oh yeah

fresh sail
fossil shell
#

hey

fresh sail
#

@autumn knot over here!

primal bison
#

Definitely not

#

It's not like that ๐Ÿคฃ

snow grail
#

tortuous means complicated

fresh sail
#

full of twists and turns

primal bison
#

How can I crash python?

snow grail
#

You're welcome!

#

just use a infinite loop ๐Ÿคท

primal bison
#

Aha

#

I'm hearing

autumn knot
#

wait why does TRUE work

#

Wasn't that True

snow grail
#

Uh, If you want to crash your system just use subprocess and open tonne of files.

#

@primal bison You aren't in vc?

primal bison
#

What's (vc)?

fossil shell
#

voice chat

snow grail
#

w lowercase

primal bison
#

Yes

snow grail
#

@fresh sail

autumn knot
#

oh the vscode autoimport

#

we love it

primal bison
#

That's C-style, PEP won't let you rest in peace

snow grail
#

lmao

fossil shell
#

oh, you're saying hello!

snow grail
#

I wonder how ppl can only spectate stream but I can't see them in vc?

primal bison
#

Anyone here interested in Rust?

#

https://os.phil-opp.com/

A nice series of posts building an OS in rust

#

Really amazing

#

Thanks

cold lintel
#

๐Ÿ‘

#

Idk, I saw others doing it and jumped on the bandwagon ๐Ÿ˜„

#

Mhm

#

Sorry, not watching the stream, one sec

fresh sail
#

ฮ•ฮปฮตฮบฮถฯ‚

cold lintel
#

The only Greek letters I know are the ones from maths ๐Ÿ˜„

#

Erm, @devout gyro, what did you want to stream?

devout gyro
#

my library

#

lol

cold lintel
#

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

#

!stream 725773984808960050

timid fjordBOT
#

โœ… @devout gyro can now stream until <t:1648219530:f>.

cold lintel
#

Oooh nice

#

The scrolling gradient is very cool!

devout gyro
#

thanks :DDD

cold lintel
#

Definitely will reduce the number of buffer-overflow vulnerabilities!

fresh sail
cold lintel
#

Ohh Furyo, do you know about Pythontutor?

#

Ah right

#

It's great for getting a good understanding of the semantics of Python.

#

So like, try running the scoping example.

#

It will show you the stack frames (scopes).

#

Erm, I mean whichever.

#

Ah yeah, they're doing research on common learner errors.

#

That's why they ask for that feedback.

icy raven
#

@fresh sail I think it's just debugger, but wity visuals...

cold lintel
#

Erm, it's hard to run/debug substantial programs in it. But when I'm unsure about some aspect of the semantics of Python, it's useful to help me understand.

#

So I might run a toy version of my program in it.

cold lintel
#

Mhm. Every function in python has an invisible line at the end: ```py
return None

icy raven
#

@fresh sail Did you complete rock-paper-siccor?

cold lintel
#

Hooray ๐Ÿ˜„

icy raven
#

Paste it here... @fresh sail

cold lintel
#

Ahh

#

!paste

#

๐Ÿฅท

fresh sail
icy raven
#

Ah... I never thought of it like that...

cold lintel
#

It's interesting, because an experienced Python user doesn't see that as surprising, but it potentially is.

#

Actually, that's an interesting point Marshall. Pythontutor by default hides something from you.

icy raven
#

I always thought about it like... returns by default.... Does it literally write return None, at compile time

cold lintel
#

On the code editor page, try changing the setting inline primitives, don't nest objects to render all objects on the heap @fresh sail

#

I think that's what marshall is trying to explain?

#

!stream 806905687593582663

timid fjordBOT
#

โœ… @primal bison can now stream until <t:1648221132:f>.

cold lintel
#

Yep, "Edit this code"

cold lintel
#

Mhm

primal bison
#

I'm using my laptot, fan is noisy

#

wait, something is wrong

icy raven
#

@fresh sail try type of type

primal bison
#

Can u c my screen?

fresh sail
#

I can

cold lintel
fresh sail
#

but you can't hear us because you deafened yourself

#

try muting instead

primal bison
#

My fan is noisy

fresh sail
#

this one

#

not this one

cold lintel
#

Yep ๐Ÿ˜„

#

That was intense ๐Ÿ˜„

#

Let me know if you want me to un-server-mute.

primal bison
#

I told you, my fan is noisy

#

Unmute me

#

I alreay ran out of time

#

right?

cold lintel
#

You can keep streaming, just not start a new stream.

primal bison
#

nice

weak kiln
#

u in uk?

primal bison
#

r u guys following?

snow grail
#

wtf was that?

cold lintel
#

Oh right, so are you writing a Python tokeniser marshall?

snow grail
#

that noise?

primal bison
#

my fan

primal bison
primal bison
cold lintel
snow grail
#

I see

primal bison
#

I showed u was the (Lexer) aka (Tokenizer)

snow grail
cold lintel
#

Marshall right now this

icy raven
#

@fresh sail I do

#

who?

#

yeah

snow grail
#

pardon?

icy raven
#

TOSS A COIN TO THIS WITCHER

snow grail
#

@fresh sail

icy raven
#

I'm also a beginer tbh

cold lintel
cold lintel
snow grail
#

Sure.

icy raven
#

yeah

cold lintel
#

Sage advice!

snow grail
#

He's on it

snow grail
#

@icy raven will you help or not?

icy raven
#

Yeah..

#

I saw

#

btw, @fresh sail I have looked at that code of rock paper scisor.... You can there is a potential bug and also it could be cleaner

snow grail
#

I see, Hurray! always comes.

icy raven
#

I'll tell once, I help....

#

It's not past tense

#

not done yet, pardon my english

snow grail
#

Sure, pls!

cold lintel
#

Heading over to the other channel for a bit ๐Ÿ‘‹

snow grail
#

Arch is hard ig, especially for begineers.

#

Try using manjaro

#

@primal bison

primal bison
#

OK @snow grail

#

I want something that's Debian based

#

other than Ubuntu

#

hii

fresh sail
#

@gritty knoll

primal bison
#

@fresh sail
emm
what prorgam is this, if i may know?

fresh sail
#

To do: write pythontutor as a vsc extension.

primal bison
#

VSC already has a nice Python debugger

#

But yeah, it doesnt have all pythontutor's quirks

#

Talking with someone else

fresh sail
#

what is the name of the python debugger that is like pythontutor?

primal bison
icy raven
#

Don't use Global, ever!!!!! @fresh sail

primal bison
icy raven
#

Me neither @fresh sail

#

Yep... if you really want global,, write them in the global scope

#

With no indentation

primal bison
#

very interesting

icy raven
#

Like at the top of the file

#

you don't need global keyword...

#

that's global scope

primal bison
#

what is it global scope?

#

it's complicated a bit ๐Ÿ˜…

fresh sail
#

@sage comet Hello!

sage comet
#

Yo ๐Ÿ‘‹

primal bison
sage comet
#

455

#

I think its double quotation for the f string

icy raven
#

yeah

sage comet
#

Then single for word

icy raven
#

what are you doing

#

here

sage comet
#

@fresh sail

icy raven
#

f string is formated string

#

you can put variables in {} to print them

#

@fresh sail

sage comet
#

Double quotation for f string and single for the word @fresh sail

icy raven
#

use ""

#

@fresh sail

#

or use escape character \'

#

escape @fresh sail

sage comet
icy raven
#

Btw, would you like to hear my critiques of your rock-paper-siccor code @fresh sail

primal bison
#

!e print("Hello "")

timid fjordBOT
#

@primal bison :white_check_mark: Your eval job has completed with return code 0.

Hello "
sage comet
#

!e print(""Hello ")

timid fjordBOT
#

@sage comet :x: Your eval job has completed with return code 1.

001 |   File "<string>", line 1
002 |     print(""Hello ")
003 |                   ^
004 | SyntaxError: unterminated string literal (detected at line 1)
primal bison
#

!e print("print("Hello world")")

timid fjordBOT
#

@primal bison :white_check_mark: Your eval job has completed with return code 0.

print("Hello world")
primal bison
#

You can't " inside " strings because Python gets confused

sage comet
#

Ohhh

#

I was reading it wrong

primal bison
#

if I say
print("hello "")

"hello " is a string
") is another
and so ") is never closed
AND SO ERRRORRRR!!!
@sage comet

sage comet
#

So its the last " that escapes

#

The one outside the string

#

Ok got it

icy raven
#

@fresh sail he is saying ctrl c for termnial

sage comet
#

@primal bisonYour mic giving off background noise btw

primal bison
#

" here you escape " so that python knows you want an actual " inside your string "
you tell Python I dont want to end current string I'm typing

#

is my noise gone ?

sage comet
#

Works the same way for triple quotations I'm guessing?

sage comet
primal bison
#

nice