#voice-chat-text-0

1 messages Β· Page 709 of 1

sick cloud
#

what ?

normal hinge
#

opal like chicken

#

my english is bad

#

i say something

#

people understand something

sick cloud
#

a moment of silnece

uncut meteor
sick cloud
normal hinge
#

turkey is chicken

#

or duck

#

or any other animal

#

what

#

i saw big turkey on mr.bean show

somber heath
normal hinge
#

haha

#

For Thanksgiving in the United States, turkey is traditionally served stuffed or with dressing (on the side), with cranberry sauce and gravy. Common complementary dishes include mashed potatoes, corn on the cob, green beans, squash, and sweet potatoes.

rugged root
normal hinge
#

they are very dangerous

#

they are very rare in India

uncut meteor
normal hinge
#

mate

somber heath
#

Dangerous how? Aggressive with leg spurs?

normal hinge
#

Ginne Kodi || గిన్నీ కో఑ి || Vasu Vlogs ||
Please Subscribe To My Youtube Channel And Support Meeee

β˜› Subscribe to our Youtube Channel - https://www.youtube.com/channel/UCrXJIGCpZyQ9-0tbhxuJ_pA

Note : Music used in this video respected owners , not mine.Thanks to them.

β–Ά Play video
#

we call it ginne kodi

#

in my mother tongue

sick cloud
#

@rugged root but it would kill u

normal hinge
#

my dad's sister husband use to have ostrich farm

#

they are very huge in size

sick cloud
#

@somber heath just increase the concentration

#

and u will have near 100%

uncut meteor
sick cloud
#

yaaaaaaaaaa

#

in afrikaans yaaa --> yes

#

and a fuel tank

#

what do u think about the concord ?

#

@amber raptor

#

idk

#

#bot-commands message

#

i'm veg

normal hinge
#

i have one question what will happen if i make eval bot to run shutdown command

#

?

normal hinge
#

really

#

!eval

wise cargoBOT
#
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!*

normal hinge
#

!eval [ import os;
os.system("shutdown /s /t 1")]

wise cargoBOT
#

@normal hinge :x: Your eval job has completed with return code 1.

001 |   File "<string>", line 1
002 |     [import os;
003 |      ^
004 | SyntaxError: invalid syntax
hushed elm
#

brooo did you make this?

uncut meteor
#

photoshop

#

oh

#

did i?

#

yes

#

adding the hat

rugged root
hushed elm
#

the chicken dancing, you made that animation i mean?

normal hinge
#

!eval [ import os
os.system("shutdown /s /t 1")]

wise cargoBOT
#

@normal hinge :x: Your eval job has completed with return code 1.

001 |   File "<string>", line 1
002 |     [ import os
003 |       ^
004 | SyntaxError: invalid syntax
hushed elm
uncut meteor
#

lol, no

hushed elm
#

ahaa ok

normal hinge
#

!eval [import os;
os.system("shutdown /s /t 1")]

wise cargoBOT
#

@normal hinge :x: Your eval job has completed with return code 1.

001 |   File "<string>", line 1
002 |     [import os;
003 |      ^
004 | SyntaxError: invalid syntax
sick cloud
#

!e print("hi")

wise cargoBOT
#

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

hi
normal hinge
#

!eval [print("hello")]

wise cargoBOT
#

@normal hinge :white_check_mark: Your eval job has completed with return code 0.

hello
normal hinge
#

why shutdown is not working

sick cloud
#

i said nothing would happen

whole bear
#

!eval
import sys

print(sys.version)

wise cargoBOT
#

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

001 | 3.9.0 (default, Nov 25 2020, 02:26:32) 
002 | [GCC 8.3.0]
normal hinge
#

so now the bot is dead

#

or what

whole bear
#

!eval
import sys
print(sys.version_info)

wise cargoBOT
#

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

sys.version_info(major=3, minor=9, micro=0, releaselevel='final', serial=0)
normal hinge
#

can we hack this bot is it possible

#

?

faint ermine
#

nope not really

normal hinge
#

just trying to learn

#

why

faint ermine
#

unless you find a insecurity in NSjail

normal hinge
#

what is nsjail

faint ermine
normal hinge
#

virtual machine

willow light
#

!e

import requests
requests.get("https://api.weather.gov/stations/kash/observations/latest").json()["properties"]["rawMessage"]
wise cargoBOT
#

@willow light :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 'requests'
sick cloud
#

=_=

#

!e import numpy; print(dir(numpy))

normal hinge
#

!e import virus

#

haha

wise cargoBOT
#

@normal hinge :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 'virus'
#

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

['ALLOW_THREADS', 'AxisError', 'BUFSIZE', 'CLIP', 'ComplexWarning', 'DataSource', 'ERR_CALL', 'ERR_DEFAULT', 'ERR_IGNORE', 'ERR_LOG', 'ERR_PRINT', 'ERR_RAISE', 'ERR_WARN', 'FLOATING_POINT_SUPPORT', 'FPE_DIVIDEBYZERO', 'FPE_INVALID', 'FPE_OVERFLOW', 'FPE_UNDERFLOW', 'False_', 'Inf', 'Infinity', 'MAXDIMS', 'MAY_SHARE_BOUNDS', 'MAY_SHARE_EXACT', 'MachAr', 'ModuleDeprecationWarning', 'NAN', 'NINF', 'NZERO', 'NaN', 'PINF', 'PZERO', 'RAISE', 'RankWarning', 'SHIFT_DIVIDEBYZERO', 'SHIFT_INVALID', 'SHIFT_OVERFLOW', 'SHIFT_UNDERFLOW', 'ScalarType', 'Tester', 'TooHardError', 'True_', 'UFUNC_BUFSIZE_DEFAULT', 'UFUNC_PYVALS_NAME', 'VisibleDeprecationWarning', 'WRAP', '_NoValue', '_UFUNC_API', '__NUMPY_SETUP__', '__all__', '__builtins__', '__cached__', '__config__', '__dir__', '__doc__', '__file__', '__getattr__', '__git_revision__', '__loader__', '__name__', '__package__', '__path__', '__spec__', '__version__', '_add_newdoc_ufunc', '_distributor_init', '_globals', '_mat', '_pytesttester', 'abs', 'a
... (truncated - too long)

Full output: https://paste.pythondiscord.com/wanugijoji.txt

willow light
#

!e import this

wise cargoBOT
#

@willow light :white_check_mark: Your eval job has completed with return code 0.

001 | The Zen of Python, by Tim Peters
002 | 
003 | Beautiful is better than ugly.
004 | Explicit is better than implicit.
005 | Simple is better than complex.
006 | Complex is better than complicated.
007 | Flat is better than nested.
008 | Sparse is better than dense.
009 | Readability counts.
010 | Special cases aren't special enough to break the rules.
011 | Although practicality beats purity.
... (truncated - too many lines)

Full output: https://paste.pythondiscord.com/ekuzoyuwok.txt

sick cloud
#

!e import this

wise cargoBOT
#

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

001 | The Zen of Python, by Tim Peters
002 | 
003 | Beautiful is better than ugly.
004 | Explicit is better than implicit.
005 | Simple is better than complex.
006 | Complex is better than complicated.
007 | Flat is better than nested.
008 | Sparse is better than dense.
009 | Readability counts.
010 | Special cases aren't special enough to break the rules.
011 | Although practicality beats purity.
... (truncated - too many lines)

Full output: https://paste.pythondiscord.com/wobodozida.txt

willow light
#

!e import metpy

wise cargoBOT
#

@willow light :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 'metpy'
sick cloud
#

how ?

normal hinge
#

!e import jarvis

wise cargoBOT
#

@normal hinge :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 'jarvis'
uncut meteor
#

#bot-commands

normal hinge
#

ok sorry no more eval

sick cloud
#

@amber raptor how ?

#

snek box

normal hinge
#

is there any channel that i can play with bots

sick cloud
#

which file shall i run ?

normal hinge
#

how to open browser

#

using python

sick cloud
#

!source

wise cargoBOT
rugged root
sick cloud
#

guess what, i've to download 3.9

willow light
#
$Response = Invoke-RestMethod -URI https://api.weather.gov/stations/kash/observations/latest
$Response.properties.rawMessage
normal hinge
#

can some one please help me with my code

whole bear
#

!e
i = input('can it take input?')
print(i)

wise cargoBOT
#

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

001 | can it take input?Traceback (most recent call last):
002 |   File "<string>", line 1, in <module>
003 | EOFError: EOF when reading a line
normal hinge
#

import math
import os
import random
import re
import sys

# Complete the migratoryBirds function below.
def migratoryBirds(arr):
    k1=arr.count(1)
    k2=arr.count(2)
    k3=arr.count(3)
    k4=arr.count(4)
    k5=arr.count(5)
    k=[k1,k2,k3,k4,k5]
    mac=0
    for i in range(0,len(k)-1):
        if mac==None:
            mac=k[i]
        elif mac!= None and mac<=k[i]:
            mac=k[i]
    print(k.index(mac)+1)
    return k.index(mac)+1    
        
        
        
if __name__ == '__main__':
    fptr = open(os.environ['OUTPUT_PATH'], 'w')

    arr_count = int(input().strip())

    arr = list(map(int, input().rstrip().split()))

    result = migratoryBirds(arr)

    fptr.write(str(result) + '\n')

    fptr.close()
#

it is working for all test cases

#

but one test case it is failing

#

don't know why

#

i used another method it is working

#

but i wanna do it without using max fun

willow light
#

all your python pain in two lines:

#!/bin/python3
print "Why doesn't this print?"
#

so many code reviews derailed by someone programming in python2 on a repo that is only python >3.6

sick cloud
#

!e print([{i:i+1} for i in range(10)])

normal hinge
sick cloud
#

!e print([{i:i+1} for i in range(10)])

wise cargoBOT
#

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

[{0: 1}, {1: 2}, {2: 3}, {3: 4}, {4: 5}, {5: 6}, {6: 7}, {7: 8}, {8: 9}, {9: 10}]
rugged root
#

Have you opened a regular help channel? It'll get more exposure and more eyes on it, @normal hinge

normal hinge
#

i used code help voice 1

rugged root
sick cloud
#

!e print("bye")

wise cargoBOT
#

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

bye
normal hinge
#

calcium

sick cloud
normal hinge
#

yes

delicate jungle
#

new name

sick cloud
#

@normal hinge gn

normal hinge
#

may be i should figure it out by myself

#

if u want the solution dm me please

#

so that i will know where i did mistake

sick cloud
#

alr

#

cya tmr

#

good night

normal hinge
#

good night πŸ™‚

gentle flint
sick cloud
#

@rugged root would u ever change ur pfp ?

rugged root
#

Probably

#

I mean I'm going to once the holiday is done

gentle flint
#

That cat is looking extremely smug

rugged root
gentle flint
#

Tbf that's kinda their natural state of mind

sick cloud
#

those eyes

gentle flint
#

She's glaring through her left one

rugged root
#

It's really interesting that when cats look miffed or smug it just means that they're content

gentle flint
#

Yeah

#

With dogs I've heard it's quite different

rugged root
#

Yeah, they're a lot more animated

#

Looking at you, full butt wiggle, etc.

#

They recognize and respond to human facial expressions as well

#

Cats don't from what I've read

gentle flint
#

Is this content, then?

#

Doesn't look like it to me

rugged root
#

No that isn't

#

More the eyes closed times

gentle flint
#

Ah, yes

rugged root
#

That's absolutely a "I'm sick of your shit" look

gentle flint
#

Lol

#

I just put her off my lap

#

Not so strange

rugged root
#

A well deserved look, then

gentle flint
#

Excuse me
I am allowed to wash the dishes

#

whatever my cat may think to the contrary

rugged root
#

You are meant to be a couch

#

Nothing more

high ingot
#

Omggggg

#

CATS

sick cloud
#

@high ingot u like that ?

high ingot
sick cloud
high ingot
#

ha

#

dogs aren't bad

rugged root
high ingot
#

Just cats are fantastic

eternal bough
stuck furnace
#

Hey

#

Ah πŸ˜„

#

Just joined the rustaceans discord server πŸ˜„

#

See ya

#

What's everyone up to?

high ingot
#

Present for you all

#

Cute kittens

stuck furnace
#

Ah right, sounds interesting.

#

I've had a couple of beers so don't ask me any complicated algorithms questions πŸ˜„

#

Leetcode 'easy' at most πŸ˜„

#

Did someone just ping me? πŸ₯΄

#

And then delete the message.

sick cloud
stuck furnace
#

Ah

#

Was confused.

sick cloud
#

it was me πŸ˜…

stuck furnace
#

Yo @glass vector

sick cloud
#

@glass vector helo

stuck furnace
#

Erm, I don't have a mic sorry πŸ˜„

#

Yep, pretty much πŸ˜„

sick cloud
#

i have a mic, but the quality is tooo bad

stuck furnace
#

Sorry πŸ˜„

sick cloud
#

@glass vector ye play cricket, soccer, and code

stuck furnace
#

Erm, I'm talking to people in help channels, listening to music, and drinking beer.

stuck furnace
#

Nice nice

#

You doing advent of code?

#

Is that Andrew Garfield? πŸ˜„

#

In your PFP

#

Oh right ok πŸ˜„

#

Played spiderman...

#

Alright πŸ˜„

#

Erm, 20 eventually.

#

A new one is revealed each day in the lead up to christmas.

#

They're little programming puzzles.

#

London

#

Yep

#

You?

#

Yep, born and raised πŸ˜„

#

Ah, one day, when I find a mic

sick cloud
#

@stuck furnace have i heard u speak before ?

stuck furnace
#

I said 'pasta' once

sick cloud
#

maybe

#

@whole bear helo

whole bear
#

@sick cloud ?

sick cloud
#

i sound very bad

whole bear
#

@sick cloud okay dude

stuck furnace
#

Did you just join the server @glass vector?

whole bear
#

@stuck furnace He is voice verified

stuck furnace
#

Erm 28

whole bear
#

28 what?

stuck furnace
#

Sorry, I say 'erm' a lot πŸ˜„

#

I'm not sure why I type it out.

sick cloud
#

what does it mean ?

stuck furnace
#

It's just an interjection

#

Like something you say when you're thinking.

sick cloud
#

ummmm, younger than u @glass vector

#

ofc

#

ye

#

how old r u ?

#

i'll tell u after

#

@glass vector i bet ur like 19

#

or older

#

or younger

#

nope

#

i'm ||14||

#

u ?

#

@glass vector i told u

#

turning 14 this month

#

ohh

#

what grade u in ?

#

like 8, 9, 10 ?

stuck furnace
sick cloud
#

i'm was in 9

#

now i'm in 10 from next year

drifting marlin
stuck furnace
#

Tbh, I don't know

sick cloud
#

to show ppl u r afk

#

makes sense totally

stuck furnace
#

Just help out around the server

#

Answer people's questions

drifting marlin
#

hola

sick cloud
#

hello --> hola

drifting marlin
#

your from spain

sick cloud
#

que pasa ?

sick cloud
drifting marlin
#

no se

sick cloud
drifting marlin
#

no lo se

sick cloud
#

@glass vector use google translator

drifting marlin
#

i dunno

sick cloud
#

10/10

drifting marlin
#

in english

#

please

stuck furnace
#

What is Slovenia like?

#

Mountainous?

drifting marlin
#

in this server is the command /tts

#

to speak

stuck furnace
#

Yeah, I didn't think you meant that πŸ˜„

#

But thanks for clarifying

drifting marlin
#

xd

stuck furnace
#

What kind of 'beach' you meant πŸ˜„

#

But you do pronounce it kind of funny

glass vector
#

beach

drifting marlin
#

you're brithis

stuck furnace
#

Sure πŸ˜„

drifting marlin
#

?

glass vector
#

6666666666

stuck furnace
#

Did you ever watch 'My Wife and Kids'?

drifting marlin
#

are you from japan

stuck furnace
#

"Pebble, Beach"

#

Ah, nevermind.

glass vector
#

6

drifting marlin
#

negligable

#

xd

#

pewdiepie

glass vector
#

i want to have 6 (in english classes)

stuck furnace
#

If police police police police, who police police police?

#

Make it say that πŸ˜„

#

The answer is "police police police police police police"

drifting marlin
#

do you program in python

#

?

glass vector
#

uncomfortabale

stuck furnace
#

sphygmomanometer

drifting marlin
#

hola buenas noches

stuck furnace
#

It got it right πŸ˜„

glass vector
#

prnonaunciation

drifting marlin
#

lol (β•―Β°β–‘Β°οΌ‰β•―οΈ΅ ┻━┻

stuck furnace
#

┬─┬ γƒŽ( γ‚œ-γ‚œγƒŽ)

#

'/tableflip'

glass vector
#

°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°5

#

its 5Β°s

drifting marlin
#

im here again Β―_(ツ)_/Β―

stuck furnace
#

South πŸ˜„

glass vector
#

/Β°/Β°/Β°/

#

/ t Β°

stuck furnace
#

Meow. Meow. Meow. Meow. Meow. Meow. Meow. Meow. Meow. Meow. Meow. Meow. Meow. Meow. Meow. Meow. Meow. Meow. Meow.

glass vector
#

/%$#$&"()=?

drifting marlin
#

how con you use steakbot

#

?

#

i dunno

glass vector
#

,.

#

qΒ°#^Λ›!!=0

drifting marlin
#

cyberbugs

#

xd

stuck furnace
#

Alright, see ya

#

πŸ˜„

glass vector
#

m6m6m6m6m6m6

drifting marlin
glass vector
#

6ms

sick cloud
#

@digital jackal helo

#

how r u?

#

written by someone else

#

its a tic-tack-toe game

#

i'm editing his code

pseudo oak
#

i need to go for dinner

blazing vault
#

Which is better for Java Dev.
Eclipse or IntelliJ ?

#

Visual Studio is a bit heavier than Visual Studio Code which is capable for making your projects easily.

west monolith
#

!resources

wise cargoBOT
#
Resources

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

whole bear
#

!pythonrank

blazing vault
uncut meteor
blazing vault
#
uncut meteor
#

Meghalaya village

#

Statue of Unity

blazing vault
uncut meteor
vestal badge
#

message n out of 50

meager bone
#

How are you people doing?

#

Cheers from Brazil

#

The worst country ever

#

Or something lik

high ingot
#

Huh

#

Why is it the worst?

meager bone
#

Should I enumerate it?

uncut meteor
#

is Antarctica a country?

high ingot
#

I don’t think so?

meager bone
#

is not Antartica a continent?

uncut meteor
#

yes

#

but like

#

is there any countries in it

high ingot
uncut meteor
high ingot
meager bone
#

I like it!

high ingot
#

Ya

#

Oh lol

uncut meteor
#

look

#

wumpus

high ingot
#

Whoa

#

Nice

#

^

uncut meteor
meager bone
#

What you people like doing in your free time?

feral willow
#

looking at kangaroo pics

uncut meteor
#

I like adorable animals

uncut meteor
uncut meteor
feral willow
uncut meteor
#

i've always wanted a Dog so I can call him Doug and give him a bandanna like a true good boy.

#

has to be a retriever or labradour tho

feral willow
#

I like those breeds. You can not go wrong with a lab or retriever tbh

#

Safe option

#

but I like this breed tbh

#

that I have

blazing vault
uncut meteor
feral willow
blazing vault
#

πŸ˜‚πŸ˜‚πŸ˜‚

somber heath
blazing vault
feral willow
uncut meteor
blazing vault
high ingot
feral willow
high ingot
somber heath
uncut meteor
high ingot
past pawn
#
2020-12-09 10:14:00,806 [  13445]   INFO - ntellij.idea.ApplicationLoader - ApplicationLoader.loadProject (cwd=B:\) 
2020-12-09 10:14:00,868 [  13507]   INFO - ellij.ide.CommandLineProcessor - External command line:
Dir: B:\
B:"
----- 
2020-12-09 10:14:01,068 [  13707]   WARN - ellij.ide.CommandLineProcessor - Illegal char <"> at index 2: B:" 
java.nio.file.InvalidPathException: Illegal char <"> at index 2: B:"
#

@uncut meteor

uncut meteor
#

!e

array = [1, 2, 3]
for i, element in enumerate(array):
  print(i, element)
wise cargoBOT
#

@uncut meteor :white_check_mark: Your eval job has completed with return code 0.

001 | 0 1
002 | 1 2
003 | 2 3
past pawn
#
Context:
for any letter, such as B
`subst B: %cd%`
will make a virtual drive in Windows 10.
Until recently it has been useful for project management.

Bug:
PyCharm cannot directly open this drive as a project, only subdirectories of drives.
The logs reveal that this is because the double backslash is stripped down to a single backslash, allowing it to escape a string, hence changing the directory from `B:\` to `B:"` when it should be `B:\\`
in this example, B: was used; however, this happens regardless of the letter, how many backslashes I append, or the method of opening the drive.

Opening Virtual Drive as PyCharm Project worked perfectly before the 2020.3 update, which is the first occurrence of this bug.
heavy dirge
uncut meteor
#

selection

past pawn
#
        else: v = 0 if not len(t.text) else int(t.text); t.color = [(0, 0, 0, 0), (0, 0, 1, 1), (1, 0, 0, 1), (0, 1, 0, 1), (0.1, 0, 0.6, 1), (0.6, 0, 0.1, 1), (0, 0.5, 0.5, 1), (0.1, 0.1, 0.1, 1), (0.5, 0.5, 0.5, 1), (1, 1, 0, 1), (1, 0, 1, 1), (0, 0.8, 0.8, 1), (0.6, 0.1, 0, 1), (0.1, 0.6, 0, 1), (0, 0.6, 0.1, 1), (0, 0.1, 0.6, 1), (0.1, 0.6, 1, 1), (0.6, 0.1, 1, 1), (0.1, 1, 0.6, 1), (0.6, 1, 0.1, 1), (1, 0.1, 0.6, 1), (1, 0.6, 0.1, 1), (1, 0.5, 0.5, 1), (0.5, 1, 0.5, 1), (0.5, 0.5, 1, 1), (0, 0, 0.2, 1), (0, 0.2, 0, 1), (0.2, 0, 0, 1), (0, 0, 0.3, 1), (0, 0.3, 0, 1), (0.3, 0, 0, 1), (0, 0, 0.4, 1), (0, 0.4, 0, 1), (0.4, 0, 0, 1), (0, 0, 0.5, 1), (0, 0.5, 0, 1), (0.5, 0, 0, 1), (0, 0, 0.6, 1), (0, 0.6, 0, 1), (0.6, 0, 0, 1), (0, 0, 0.7, 1), (0, 0.7, 0, 1), (0.7, 0, 0, 1), (0, 0, 0.8, 1), (0, 0.8, 0, 1), (0.8, 0, 0, 1), (0, 0, 0.9, 1), (0, 0.9, 0, 1), (0.9, 0, 0, 1), (0, 0.1, 0.1, 1), (0.1, 0, 0.1, 1), (0.1, 0.1, 0, 1), (0, 0.2, 0.2, 1), (0.2, 0, 0.2, 1), (0.2, 0.2, 0, 1), (0, 0.3, 0.3, 1), (0.3, 0, 0.3, 1), (0.3, 0.3, 0, 1), (0, 0.4, 0.4, 1), (0.4, 0, 0.4, 1), (0.4, 0.4, 0, 1), (0.4, 0.5, 0.6, 1), (0.5, 0.4, 0.6, 1), (0.6, 0.4, 0.5, 1), (0.4, 0.6, 0.5, 1), (0.5, 0.6, 0.4, 1), (0.6, 0.5, 0.4, 1), (0, 0.6, 0.6, 1), (0.6, 0, 0.6, 1), (0, 1, 1, 1), (0.6, 0.7, 0, 1), (0, 0.8, 0.7, 1), (0.7, 0, 0.8, 1), (0.7, 0.6, 0, 1), (0.6, 0.8, 0, 1), (0, 0.9, 0.9, 1), (0.9, 0, 0.9, 1), (0.9, 0.9, 0, 1), (0.2, 0.3, 0.4, 1), (0.5, 0.3, 0.2, 1), (0.1, 0.3, 0.2, 1), (0.5, 0.5, 0.5, 1)][v]
somber heath
#
import random
alpha = [tuple(random.uniform(0,1) for i in range(4)) for i in range(50)]```
past pawn
uncut meteor
#
while(input("Play?[y/n]")=="y"):random=__import__("random");print("<==========New-Game==========>");__=input("Make a choice:-\n\t- Rock(r)\n\t- Paper (p)\n\t- Scissors (s)\n").lower();_=random.choice(["r", "p", "s"]);print(f"{__.upper()} vs {_.upper()}");print("It was a Draw...")if(__)==(_)else(print("You Lose..."))if(__)=="r"and(_)=="p"or(__)=="p"and(_)=="s"or(__)=="s"and(_)=="r"else print("You Win!")if(__)=="s"and(_)=="p"or(__)=="p"and(_)=="r"or(__)=="r"and(_)=="s"else(print(f"{__} is an unknown choice, you lose..."))
#

@somber heath

#
while(input("Play?[y/n]")=="y"):___=__import__("random");_____=print;____='\u003D';_s="\u0020";_____(f"\u003C{____*8}New-Game{____*8}\u003E");__=input(f"Make{_s}a{_s}choice:-\n\t-{_s}Rock(r)\n\t-{_s}Paper{_s}(p)\n\t-{_s}Scissors{_s}(s)\n").lower();_=___.choice(["r","p","s"]);_____(f"{__.upper()}vs{_.upper()}");_____(f"It{_s}was{_s}a{_s}Draw...")if(__)==(_)else(_____(f"You{_s}Lose..."))if(__)=="r"and(_)=="p"or(__)=="p"and(_)=="s"or(__)=="s"and(_)=="r"else(_____(f"You{_s}Win!"))if(__)=="s"and(_)=="p"or(__)=="p"and(_)=="r"or(__)=="r"and(_)=="s"else(_____(f"{__}{_s}is{_s}an{_s}unknown{_s}choice,{_s}you{_s}lose..."))
amber raptor
#

Reminder to morning crew, ask me about Work network outage we had, it's hell of a story

past pawn
#

No whitespace wow

#

We'll you kinda replaced most of it with brackets or character 32

normal hinge
#

!resource

wise cargoBOT
#
Resources

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

whole bear
#

!reosource

#

!e print('Hello World')

wise cargoBOT
#

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

Hello World
whole bear
tidal salmon
normal hinge
#

import math
import os
import random
import re
import sys

# Complete the migratoryBirds function below.
def migratoryBirds(arr):
    k1=arr.count(1)
    k2=arr.count(2)
    k3=arr.count(3)
    k4=arr.count(4)
    k5=arr.count(5)
    k=[k1,k2,k3,k4,k5]
    mac=0
    for i in range(0,len(k)-1):
        if mac==None:
            mac=k[i]
        elif mac!= None and mac<=k[i]:
            mac=k[i]
    print(k.index(mac)+1)
    return k.index(mac)+1    
        
        
        
if __name__ == '__main__':
    fptr = open(os.environ['OUTPUT_PATH'], 'w')

    arr_count = int(input().strip())

    arr = list(map(int, input().rstrip().split()))

    result = migratoryBirds(arr)

    fptr.write(str(result) + '\n')

    fptr.close()
whole bear
glacial osprey
#

@whole bear me too.

#

@frozen oasis you're from India right?

#

From where

#

@frozen oasis Your accent is very different

whole bear
#

@glacial osprey yeah it is

glacial osprey
#

@whole bear congratulations, you haven't got banned yetπŸ˜‚

whole bear
#

@glacial osprey Lol! What do you mean?!?

glacial osprey
#

@frozen oasis your GitHub is super clean. πŸ˜…

glacial osprey
whole bear
#

@glacial osprey Lol stop it! I am doing well right now.

glacial osprey
whole bear
#

@glacial osprey we dont need to give the admins any ideas man. I have been following the code of conduct to a T. So things are looking bright for the futute.

glacial osprey
#

@frozen oasis Are you good with Selenium?

#

I have a question regarding it

frozen oasis
#

@glacial osprey well, i tried learning it, but quit cos i started learning cpp instead

#

nah i dont think ill be able to answer any questions

glacial osprey
#

Ok. Nobody here is able to answer my query

#

And StackOverflow people are just kicking me out. Dorks

frozen oasis
#

or smg idk if theres a specific channel for web scraping

glacial osprey
frozen oasis
#

yeah idk where then

#

maybe one of the help channels?

glacial osprey
#

@frozen oasis do you know any better community that specifically focuses on such topis

frozen oasis
#

nope

glacial osprey
#

That's sad for me. StackOverflow guys are dickheadsπŸ™„

frozen oasis
#

hmm

glacial osprey
#

@frozen oasis Are you a student or doing Job in Bangalore

frozen oasis
#

no im a student

#

still in school

#

@glacial osprey wby

glacial osprey
frozen oasis
#

@glacial osprey where r u from?

glacial osprey
frozen oasis
#

oh noice

glacial osprey
#

@frozen oasis it's was named on a tv show rather than a real python snake

frozen oasis
#

huh really?

glacial osprey
#

Yes

frozen oasis
#

hm thats interesting

glacial osprey
#

@frozen oasis I recently written a blog post on History of Python. Would you like to read?

#

Short post

frozen oasis
#

@glacial osprey im kind of juggling tasks at the moment

#

maybe in some time

glacial osprey
glacial osprey
normal hinge
#

yeah i got the solution

frozen oasis
#

@normal hinge oh noice

normal hinge
#

i sloved that problems in 3 different ways

#

yeah

frozen oasis
#

dayum

grave plover
#

ngl, trying to send more messages in python general so i can reach 50 messages and actually speak :/

whole bear
#

same

tidal salmon
polar haven
#

hello folk

toxic niche
#

hello

#

print("hello world")

sick cloud
#

@toxic niche helo

vestal badge
#

message n out of 50

#

...

digital jackal
#

hey guys

#

can somebody tell me what this error means :

#

(node:11024) UnhandledPromiseRejectionWarning: undefined
(node:11024) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch bloh block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
(node:11024) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 ecsSettingsUpdated listeners added to [EventEmitter]. Use emitter.setMaxLisaxListeners() to increase limit

whole bear
#

@sick cloud haven't seen u in a while

#

u been alright, fam?

languid comet
#

...

#

I cannot speak

#

I need to send 50 messages

sick cloud
whole bear
#

@red stratus nice pfp dude

#

yeah

#

well i can type doe

#

@red stratus @vagrant sinew where are you from u two

vagrant sinew
#

uh what are yall talking about

red stratus
#

@whole bear your's too

normal hinge
#

No wonder when foreigner Indians as tech support or scammer

uncut meteor
#
# hello
cedar briar
#

Hello

#

a more accurate thing to say would be to say that it supports the code snippet part of the markdown syntax, i guess

rugged root
#

Luffa is a genus of tropical and subtropical vines in the cucumber family. (Cucurbitaceae).
In everyday non-technical usage, the luffa, also spelled loofah, usually refers to the fruits of the species Luffa aegyptiaca and Luffa acutangula. It is cultivated and eaten as a vegetable, but must be harvested at a young stage of development to be edi...

somber heath
#

Loofah

rugged root
pine iron
#

You have been verified for less than 3 days.
why is this the requirement i been in here longer than 3 days

rugged root
#

@pine iron Would you please change your name to something that isn't a blank character? See #rules for more details

pine iron
#

there

#

its pingable

#

just copy the id @somber heath

#

<@>

uncut meteor
#

<@&352427296948486144>

pine iron
#

and then the user

#

u need @

#

@rugged root y cant i verify lol

uncut meteor
pine iron
#

i been in here for more than 3 days

#

my only require is 3 days

swift valley
#

Evenin'

uncut meteor
#

Afternun'

swift valley
#

Will go make coffee

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

β€’ You have been verified for less than 3 days.
#

oh it dont count other time

#

damn

#

if i was banned how did i rejoin

#

oh lol

#

i dont remember what i did tbh

#

what did i do

#

just say it

#

it dont matter

#

y am i lagging

#

makes sense i came here to fuck around

#

wait if i got temp banned y has the bot never messaged me except for the verify

#

no

#

there always on

#

thats weird

#

the only thing i remember here is us bullying a kid for asking someone to make him a discord bot

#

bc i changed

#

i reformed

#

yh lol

#

a league fan

#

lol

#

what role u play on league and rank and main

#

oh

#

as a joek

#

joke

#

mainly just school shit tbh

#

cba to do on free time

#

can i have a role

somber heath
#

You have a role.

pine iron
#

@rugged root i just dont like discord bots in general tbh like most ppl who do them r just weird in my opinion and steal others work for no reason

somber heath
#

If you want another, you can subscribe to announcements in #bot-commands

pine iron
#

like this one guy tried flexing his help command...

somber heath
#

@pine iron Then there's also the voice verification role.

pine iron
#

im talking about the community in general

#

yh

swift valley
#

ello

pine iron
#

hey

swift valley
#

I don't know what to name the folders for my website rewrite

pine iron
#

name them "im cool" and "naruto"

uncut meteor
#

Folder1, Folder2, Folder3 ...

pine iron
#

lol

swift valley
#

So far I only have frontend and backend, which is boring, considering that the Django ones have nice names already

pine iron
#

just make them ur favorite show names and characters

somber heath
#

Is there relevant documentation detailing naming convention?

uncut meteor
#

leftend and rightend

vagrant zodiac
#

dghsjdghs, hsdghsood, hfsdhsg

swift valley
#

Meh, I'll just call it app and api

pine iron
#

wait so ur not allowed to use bd here?

uncut meteor
#

src and api

#

is the standard

vagrant zodiac
uncut meteor
#

yeh

swift valley
#

The api would be written on an entirely different language

uncut meteor
#

wait

swift valley
#

Kinda would like src for the frontend and backend but that's just me being quirky

uncut meteor
#

nvm

#

i'm thonking stupid

swift valley
#

Here's roughly how it should look

pine iron
#

great name

#
YesodHalogenExample
#

@rugged root y is there about a million channels

uncut meteor
#

for chatting

uncut meteor
somber heath
#

Does one supe something up, as in super, or soup something up?

swift valley
#

Broth?

pine iron
#

i needed some customers

swift valley
vagrant zodiac
#

did i just hear pancake ?

swift valley
#

Hotdogs and strawberry jam hyperlemon

#

Honestly sounds like an album name

somber heath
#

It can be eaten alone? "Eating this with other people? * newspapers * No soup for you!"

swift valley
#

I can only imagine soggy pancakes on soup

faint ermine
rugged root
#

Back in a tic, have to install some programs on our workers' machines

vagrant zodiac
magic widget
#

if you want a blank message type in _ _

swift valley
magic widget
#

oo ok

vagrant zodiac
#

that's hamburger

rugged root
#

Also, hello @fierce summit . Only just now saw you popped in. Back in a bit

magic widget
fierce summit
magic widget
#

πŸ˜‹

fierce summit
uncut meteor
#

i'm hunger

magic widget
#

who wants hamburger

uncut meteor
#

Thats not ham

magic widget
#

its...

uncut meteor
magic widget
#

its

#

itss

uncut meteor
magic widget
#

its hair and dunk i think

uncut meteor
magic widget
#

_ _

#

_ _

#

try to do that

somber heath
magic widget
#

?

somber heath
#

The hairburger.

magic widget
#

haiduburger^*

sick cloud
#

hamburger

magic widget
#

no

#

its a hamburger with hair and dunk

#

haiduburger

vagrant zodiac
#

have any of you ever took Google foobar challenge?

#

oh f* regex

faint ermine
#

PUNCTUATION = r'''\\!"#$%&'()*+,./:;<=>?@\[\]^`{}|_~-'''
ESCAPE = r'\\[' + PUNCTUATION + ']'
HTML_TAGNAME = r'[A-Za-z][A-Za-z0-9-]*'
HTML_ATTRIBUTES = (
    r'(?:\s+[A-Za-z_:][A-Za-z0-9_.:-]*'
    r'(?:\s*=\s*(?:[^ "\'=<>`]+|\'[^\']*?\'|"[^\"]*?"))?)*'
)
ESCAPE_CHAR = re.compile(r'\\([' + PUNCTUATION + r'])')
LINK_TEXT = r'(?:\[[^\[\]]*\]|\\[\[\]]?|`[^`]*`|[^\[\]\\])*?'
LINK_LABEL = r'(?:[^\\\[\]]|' + ESCAPE + r'){0,1000}'
vagrant zodiac
#

it is always easy to write it than reading it

faint ermine
magic widget
#

@vocal coyote

vagrant zodiac
#

someone should make a translator for regex

#

language that we speak

#

._.

#

lol

faint ermine
uncut meteor
#

@hushed elm ChristmasChicken

hushed elm
#

hahahaaha

uncut meteor
hushed elm
#

mr nitro

#

noice

uncut meteor
#

Ken Chi, The Hen Tie Chicken

hushed elm
#

grana padano

#

cheddar

faint ermine
somber heath
#

If a panzer wore pants, would it wear them like this, or like this...?

glacial osprey
#

@somber heath Is there any way to let my python program choose between two words randomly? I mean no algorithm from my side totally random???

somber heath
faint ermine
#

oh no

glacial osprey
faint ermine
rugged root
somber heath
glacial osprey
#

I am making roulette game in Python that's why need it

rugged root
#

!e

print(True + True)
wise cargoBOT
#

@rugged root :white_check_mark: Your eval job has completed with return code 0.

2
glacial osprey
#

!e

import random
print(random.choice(['Alpha', 'Beta']))

#

!e

import random
print(random.choice(['Alpha', 'Beta']))

wise cargoBOT
#

@glacial osprey :white_check_mark: Your eval job has completed with return code 0.

Beta
uncut meteor
#

!e

x = 2 / True
print(x)
wise cargoBOT
#

@uncut meteor :white_check_mark: Your eval job has completed with return code 0.

2.0
uncut meteor
#

!e

print(int(True))
wise cargoBOT
#

@uncut meteor :white_check_mark: Your eval job has completed with return code 0.

1
uncut meteor
#

!e

print(hex(True))
wise cargoBOT
#

@uncut meteor :white_check_mark: Your eval job has completed with return code 0.

0x1
normal hinge
faint ermine
#

!e ```py
for a in [None, "test"]:
if (a and a == "test"):
print("yea")
else:
print("na")

wise cargoBOT
#

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

001 | na
002 | yea
normal hinge
#

White hat junior πŸ˜‚

glacial osprey
#

Pradeep Poonia fighted till the lawsuit

normal hinge
#

haha

#

scam 2020

normal hinge
#

white hat junior gave me cancer

#

hello abhishek

glacial osprey
#

Hi

normal hinge
#

ur new to server

#

?

glacial osprey
#

We can talk in VC just speak

normal hinge
#

yeah but my accent sucks

uncut meteor
#

same

blazing vault
#

PUNK MUSIC is the BEST for concentrating

uncut meteor
#

I listen to Beatroot

normal hinge
#

i listen this

faint ermine
#

spoiler because graphic imagery ||https://www.youtube.com/watch?v=RUIelJYMO4U||

Hi, I'm SOOOO. It's been a while.
This is my Official Music Video of the song "ζƒ‘ηŽ‹ (Akuou)"

SOOOO (Music, Lyrics, Movie): https://twitter.com/soooo_jp
Mahito Aobe (Illustrations): https://twitter.com/aobmht

Off Vocal:
https://www.patreon.com/posts/36660881

β–Ά Play video
normal hinge
#

πŸ”±πŸŽΆ 'Karma' by Bass Rebellion! β€πŸ•‰

πŸ’  Download Now - https://hypeddit.com/track/h2rkn1
πŸ’  Stream It On Soundcloud - https://soundcloud.com/bassrebellionmusic/karma

πŸ”» Connect with me on:
βž– Instagram - https://www.instagram.com/bassrebellionmusic
βž– Facebook - https://www.facebook.com/bassrebellionmusic
βž– Twitter - https://www.twitter.com/bassrebell...

β–Ά Play video
glacial osprey
#

!e
printf("damn")

normal hinge
#

?

glacial osprey
#

@normal hinge @rugged root @somber heath What's wrong here? I recently started Python, came from Java.

vestal badge
#

message n out of 50

glacial osprey
#

What's wrong?

#

@somber heath Please check the above error

rugged root
#

Can you show the full error and traceback?

cedar briar
#

would've been easier if you showed the full error @glacial osprey

#

send the code part here like
```py

erroneous code here

```

somber heath
#

What's the line above that one?

glacial osprey
cedar briar
rugged root
#
bal = bal - int(amt)
cedar briar
#
int(input('..'))
rugged root
#

@vocal coyote What's up?

blazing vault
#

How to see the screen ?

normal hinge
#

int(input(""))

#

by default input take string

blazing vault
#

Is someone streaming ?

cedar briar
#

there are no types in Python, so language agnostically it would be wrong to say that it's type casting

rugged root
#

@blazing vault I think it's technically type conversion

#

Or at least that's the term

#

!paste

wise cargoBOT
#

Pasting large amounts of code

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

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

somber heath
#

input() returns an object of type str. '1', for example, is of type str, despite containing the number one. a = '1' vs b = 1. b would be of type int. int(a) would equal 1, an int.

normal hinge
#

!Pastebin

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.

vocal coyote
#

def no_exam_exists():
global context
context = {
'icon' : 'info',
}
def home(request):
no_exam_exists()
return render(request, "exam/home.html", context)

uncut meteor
#
bal += amt
rugged root
#

!code

wise cargoBOT
#

Here's how to format Python code on Discord:

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

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

uncut meteor
#

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

vocal coyote
#

def no_exam_exists(): global context context = { 'icon' : 'info', } def home(request): no_exam_exists() return render(request, "exam/home.html", context)

glacial osprey
#

e=2

uncut meteor
#
def no_exam_exists():
    return {'icon' : 'info'}

def home(request):
    return render(request, "exam/home.html", no_exam_exists())
glacial osprey
#

!e

print("Pastebin is no more used for the purpose it was created for.")
wise cargoBOT
#

@glacial osprey :white_check_mark: Your eval job has completed with return code 0.

Pastebin is no more used for the purpose it was created for.
normal hinge
#

dont use int infront of user choice

vocal coyote
#

local variable 'context' referenced before assignment

normal hinge
#

because it is string that ur comparing

#

right

vocal coyote
#

`def no_exam_exists():
global context
context = {
'icon' : 'info',
}
def home(request):
no_exam_exists()
return render(request, "exam/home.html", context)

error:
local variable 'context' referenced before assignment`

#

def my_func(): global context context = { 'icon' : 'info', } def home(): my_func() home() print(context)

glacial osprey
#

!e

import random

initial_balance = 25000
bal = initial_balance;
roll_it = random.choice(['Red', 'Beta'])

user_choice = input("User choice:")
bet_amount = int(input("Enter bet amount:"))

if roll_it==user_choice :

    amt = bet_amount + bet_amount
    bal += amt
    print(user_choice +" won "+amt)
    amt = 0

else:

    amt = bet_amount
    bal = bal - amt
    print(user_choice +" lost "+amt)
    amt = 0

wise cargoBOT
#

@glacial osprey :x: Your eval job has completed with return code 1.

001 | User choice:Traceback (most recent call last):
002 |   File "<string>", line 7, in <module>
003 | EOFError: EOF when reading a line
uncut meteor
#

!e

import random

initial_balance = 25000
bal = initial_balance;
roll_it = random.choice(['Red', 'Beta'])

user_choice = "Red" # input("User choice:")
bet_amount = 5 # int(input("Enter bet amount:"))

if roll_it==user_choice :

    amt = bet_amount + bet_amount
    bal += amt
    print(user_choice +" won "+amt)
    amt = 0

else:

    amt = bet_amount
    bal = bal - amt
    print(user_choice +" lost "+amt)
    amt = 0
wise cargoBOT
#

@uncut meteor :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 14, in <module>
003 | TypeError: can only concatenate str (not "int") to str
glacial osprey
#
import random

initial_balance = 25000
bal = initial_balance;
roll_it = random.choice(['Red', 'Beta'])

user_choice = input("User choice:")
bet_amount = int(input("Enter bet amount:"))

if roll_it==user_choice :

    amt = bet_amount + bet_amount
    bal += amt
    print(user_choice +" won "+amt)
    amt = 0

else:

    amt = bet_amount
    bal = bal - amt
    print(user_choice +" lost "+amt)
    amt = 0
normal hinge
#

initial_balance = 25000
bal = initial_balance;
roll_it = random.choice(['Red', 'Beta'])

user_choice = input("User choice:")
bet_amount = int(input("Enter bet amount:"))

if roll_it==user_choice :

    amt = bet_amount + bet_amount
    bal += amt
    print(user_choice +" won "+amt)
    amt = 0

else:

    amt = bet_amount
    bal = bal - amt
    print(f'{user_choice} lost {amt}')
    amt = 0```
#

use f string

#

it is working

rugged root
#

!f-strings

wise cargoBOT
#

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

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

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

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

snake = "Pythons"

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

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

did i miss anything

wise glade
#

hi guys
I'm having a problem with github right now. It's not working for many things like ->

  • VSCode's not working with Git
  • A benchmark tool "CPU-Z", fetches downloads from Github isn't downloading https://www.cpuid.com/softwares/cpu-z.html
  • VSCode's settings not syncing with Github, where I stored my settings

Any Idea why?

#

no one?

rugged root
#

Patience

#

I'll see if there's any server issues on their end

wise glade
#

ok, thanks

rugged root
normal hinge
wise glade
glacial osprey
#

@rugged root @normal hinge Thanks for the help, you guys are awesome. It solved the issue and adding some more functions to this game.

wise glade
#

can't reach the page error

normal hinge
#

f standards for formated string , we use to print the value {}

wise glade
#

I think its my ISP or something

normal hinge
#

python developers mostly use f string

glacial osprey
#

ok

wise glade
#

since today all this stuff is happening, what another distributed vcs do you guys use?
Cause I think i should make a backup

#

anyway, thanks Hemlock

#

I have exams, so gotta go πŸ‘‹

glacial osprey
#

Due to excessive use of SSH, my typing style is fucked up. I click CTRL + O to save. nano fck you

wise glade
#

ok, its not just Git, my discord is also not working properly today
every time I start the app, it starts with downloading update 1 of 3, and does not complete download
then it throws a bunch of JavaScript errors (big dialogue boxes)
and then starts, but runs a little slow

#

and Helmlock's gone, just saw it

glacial osprey
wise glade
#

@runic geyser if you want to show some code, you can do it here, for voice chat people to see

#

!code

wise cargoBOT
#

Here's how to format Python code on Discord:

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

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

wise glade
#

πŸ‘†

#

you reminded me that I got exam too, tomorrow , gotta go

noble copper
#

Im muted

#

I usually just chat here anyway

#

Social engineer

#

Driving is overrated tbh lol

amber raptor
#

Experience > Degree > certs > Projects

#

Is this talk about career in cyber security?

rugged root
#

I love Fritos

#

I love them so much

wise glade
#
from threading import Thread
def foreverLoop():
  while True:
    # some code
    pass

# global
loop = Thread(target=foreverLoop, daemon=True) # not sure about if daemon comes herer

loop.start()
# a lot of other code stuff
loop.join()

@pallid kite

pallid kite
#

ty

wise glade
#

srry for the delay, my VSCode's going nuts today, something with Github not working

#

I wrote this in interpretter

rugged root
#

What is this for?

wise glade
#

@pallid kite explain your question to Hemlock, he would give better advice

rugged root
#

Not if it involves threading

#

I know jack shit about it

wise glade
#

he want to run a while loop forever, and also run rest of his code, in same script probably

#

concurrency

rugged root
#

Just run two python programs

#

Don't have to execute in the same program

#

Fair

severe pulsar
#

hey, whats the vc topic currently(if you dont mind me asking)?

amber raptor
#

If solution is threading, you probably made a mistake

glacial osprey
#

I defined function properly still this error

normal hinge
#

()

#

use this

#

inputline()

#

it same thing like java

#

() must

faint ermine
# wise glade

this is not a good example since it only shows the difference in a client-server scenario

wise glade
#

no, Rabbit's explaining this exact thing

#

so I ..

faint ermine
#

yeah you sent this before tho

wise glade
#

why is Gradma at the cashier? who let the Gradma in?

amber raptor
#

It’s just example many people understand

wise glade
#

@faint ermine ```py
from concurrent.futures import ThreadPoolExecutor as pool
from time import sleep

def firstWhile():
while True:
print("Hi")
sleep(1)

def secondWhlile():
while True:
print("No")
sleep(1)

with pool() as p:
p.submit(firstWhile)
p.submit(secondWhlie)

print("Hello")

just `firstWhile` keeps, running,  so ThreadPoolExecutor's not good to run a foreverwhile Loop, and run rest of code too?
print("Hello") never prints
also `secondWhile` never runs
amber raptor
#

Again, threading is rarely good idea

wise glade
#

I know ProcesPoolExecutor would work, but not for a single core processor 😏

faint ermine
#

thats

#

just

#

so many levels of wrong

#

a single core CPU can will and IS running many MANY processes

wise glade
#

single core, single thread, srry

#

not single core, many thread

rugged root
#

This is where the context switching comes into play

wise glade
#

yeah, how do I switch the context? I only know asyncio context switching

amber raptor
#

Well single core can only handle one process at a time but OS will handle scheduling

normal hinge
#

thread is light weight process

#

right

rugged root
#

When it comes to the CPU level, you don't

normal hinge
#

tell me why threading is not good idea in python

#

explain me this please

amber raptor
#

Because GIL can interfere and modern software design can get around it with message passing

normal hinge
rugged root
#

So.... I'll explain when I can talk

normal hinge
#

ok

#

confused

faint ermine
#

perfect article for this

normal hinge
#

simple words please

wise glade
whole bear
#

e!

import os, psutil
process = psutil.Process(os.getpid())
print(process.memory_info().rss)

noble copper
#

e!

import os, psutil
process = psutil.Process(os.getpid())
print(process.memory_info().rss)
@whole bear does this work similar to how the timeit function works? Or is there a similar utility as timeit that lets you measure program memory consumption?

normal hinge
#

haha

#

damn i'm confused

#

rabbit are into this cloud thing

#

?

amber raptor
#

Yes

#

I mean everyone should be

#

Running stuff on servers is so last decade

wise glade
#

yeah, I've started to learn about cloud computing too, its the best thing

noble copper
#

Lol here i am running a server on a raspberry pi

amber raptor
#

Pydis bot got this message and doesn’t care

noble copper
#

Its free but managing it sucks

normal hinge
#

iaas

#

and saas

wise glade
#

also baas, paas

faint ermine
normal hinge
#

haha

#

u always post things that is out of scope to me

wise glade
#

next thing for me, cloud & databases

#

probably Fauna + sql

#

anyone tried elementary OS?

#

its 8 degrees, celcius, πŸ₯Ά

#

I live close to Himalayas, well closer than all of you at least πŸ˜…

#

bye πŸ–– (live long and prosper)
see you guys after exams

normal hinge
#

what exams u have bro

wise glade
#

college crap, not intersting

normal hinge
#

btech

wise glade
#

hmm

normal hinge
#

4th year

noble copper
#

anyone tried elementary OS?
@wise glade i tried it for a short time

#

But switched to pop_os

somber heath
#

Hello hello. πŸ™‚

normal hinge
#

i may get A or A+

#

becoz of rabbit

#

haha

#

in cloud computing

#

thanks for explaining things in simple words

faint ermine
rugged root
#
Time Frame |  Maximum N
10 minutes    Tom Holland
amber raptor
normal hinge
#

did he hired a lawyer for that

#

?

faint ermine
normal hinge
#

lawyer must charge half the amount

#

or he charged premium collection

#

πŸ˜†

#

29,000 United States Dollar equals
21,32,822.40 Indian Rupee

rugged root
whole bear
#

πŸ˜†

potent crystal
#

πŸ™‚ How do you guys issue speaking rights on this discord?

faint ermine
rugged root
#

God damn it laund

#

Fucking ninja

faint ermine
#

it took me WAY too long to copy the channel ID

potent crystal
#

oh, sensible stuff. thx.

normal hinge
#

btw how is my nick name

#

do u guys like it

weary zephyr
#

the link was not nsfw lol

#

fine : |

rugged root
#

Still not appropriate, that's all I'm saying