#voice-chat-text-0

1 messages · Page 722 of 1

uncut meteor
#

🍜 + pika_dance + 🐰🐰🐰

#

pikachu is raving btw

rugged root
#

@cosmic thorn Muted you because you had some serious noise coming from your mic

uncut meteor
#

does that mean my cereal is ramen?

cosmic thorn
#

sorry

weary zephyr
#

which cereal is made of wheat tho

#

Isn't it flour or smthn

uncut meteor
#

Wheat-o-s

rugged root
# cosmic thorn sorry

It's fine, just letting you know. If you hop back on I can remove the mute so it won't still be on when you come back.

#

Mini-wheats

uncut meteor
#

weetabix

weary zephyr
#

It would make me appear less stupid if everything you named didn't have wheat in its name

uncut meteor
#

hahastinkypoop

#

its okie bud

#

you can get through it

rugged root
#

God help me

uncut meteor
rugged root
#

Of all the intense arguments to have

uncut meteor
#

there is no help

weary zephyr
#

Begun, the ramen wars have

undone falcon
#

Why didn't they teach me this information in school

uncut meteor
unkempt quail
uncut meteor
pure path
#

This was funny

weary zephyr
#

mindblowing

full flint
weary zephyr
#

why not

pure path
#

could somone link me that cause my pin bar not working

weary zephyr
#

the soup or the cow

vivid palm
#

i don't see it either lol

pure path
#

the soup

#

and the cow

pure path
#

oh lmao

#

joe

weary zephyr
#

art

pure path
#

lmfao

vivid palm
#

cat pictures :3

versed island
#

what does it mean when you pass "object" as a parameter to a class

        blah blah blah
pure path
#

nothing

#

in py3 it does literally nothing

versed island
#

okhay

vivid palm
#

lmao

weary zephyr
#

old habits die hard i guess

vivid palm
#

who's 13???????

#

30 club

#

30 gang

#

me me

weary zephyr
#

!remind-me 17 years

vivid palm
#

yes

#

sry who is? mr hemlock?

#

hey

#

we'll be old in... 15 years

weary zephyr
#

already are

vivid palm
#

omg lol

uncut meteor
#

!e

class Ramen:
  salt: int
  taste: int
  stinkiness: int
  
  def __init__(self, salt, taste, stinkiness):
    self.salt = salt
    self.taste = taste
    self.stinkiness = stinkiness

princes_ramen = Ramen(10000, 1, 30)

import pickle

pickled_ramen = pickle.dumps(princes_ramen)
print(pickled_ramen)
wise cargoBOT
#

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

b"\x80\x04\x95A\x00\x00\x00\x00\x00\x00\x00\x8c\x08__main__\x94\x8c\x05Ramen\x94\x93\x94)\x81\x94}\x94(\x8c\x04salt\x94M\x10'\x8c\x05taste\x94K\x01\x8c\nstinkiness\x94K\x1eub."
vivid palm
#

who else is 30?

uncut meteor
#

physically or mentally?

vivid palm
#

physically lol

#

born in 1990

limber blaze
#

classical music slaps

uncut meteor
#

1990 kids are 30?!?

#

damn

#

thats scary

limber blaze
#

yeah

unkempt quail
#

@rugged root

vivid palm
#

3️⃣ 0️⃣

#

that's not right math

#

time stopped after 2010

limber blaze
#

i feel like im painting rn j with code due to this soothing music

full flint
unkempt quail
digital jackal
#

cya guys

limber blaze
#

im abusing the walrus operator

vivid palm
#

you claim them

#

until your ? is answered

limber blaze
#

?

pure path
#

well i gotta go to sleep

#

cya

#

gn

rugged root
#

See you later, dude

vivid palm
#

it's the 2nd listed channel

#

not too bad lol

weary zephyr
#

that's what the dormant category is

vivid palm
#

is there any chance we'll get a 2nd off topic/general VC?

#

but everyone's engaging so......

cosmic thorn
#

what's the point

#

then?

vivid palm
#

there's no way they'd all get individual attention on that server then lol

#

KDC just use that server then 🙂

#

can we collectively mute him lol

rugged root
#

!server

wise cargoBOT
#

Server information
Created: 3 years, 11 months and 22 days ago
Voice region: europe
Features: COMMUNITY, WELCOME_SCREEN_ENABLED, PARTNERED, INVITE_SPLASH, ANIMATED_ICON, VANITY_URL, DISCOVERABLE, NEWS, RELAY_ENABLED, BANNER, PREVIEW_ENABLED, MEMBER_VERIFICATION_GATE_ENABLED, VIP_REGIONS

Channel counts
Category channels: 27
News channels: 8
Text channels: 149
Voice channels: 12
Staff channels: 63

Member counts
Members: 125,196
Staff members: 86
Roles: 80

Member statuses
status_online 36,436
status_offline 88,760

weary zephyr
#

80 roles!?

versed island
#

you can join a python facebook group and try that

vivid palm
#

no don't ask him questions lol

#

don't engage

#

PLS

rugged root
weary zephyr
#

why not

#

IT'S PRONOUNCED GIF!

unkempt quail
weary zephyr
#

not GIF

cosmic thorn
#

that's hilarious...

rugged root
#

!user

wise cargoBOT
#
Mr. Hemlock#2740

hypesquad_balance early_supporter

User information

Created: 5 years, 3 months and 1 day ago
Profile: @rugged root
ID: 98195144192331776

Member information

Joined: 2 years, 7 months and 28 days ago
Roles: <@&463658397560995840>, <@&764802720779337729>, <@&352427296948486144>, <@&295488872404484098>, <@&585529568383860737>, <@&267630620367257601>, <@&778378647618453545>, <@&587606783669829632>, <@&267629731250176001>, <@&267628507062992896>

Infractions

Total: 8
Active: 1

unkempt quail
#

!user

wise cargoBOT
#

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

unkempt quail
#

oh ok

cosmic thorn
#

!user

wise cargoBOT
#

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

uncut meteor
#

!oozer

cosmic thorn
#

kkkkk

weary zephyr
#

If I might use a personal anecdote, I joined this server 3 days after I joined Discord and I had 0 problems adjusting lel

cosmic thorn
#

guys

#

anyone can explain

#

what the discussion is about

weary zephyr
#

are there too many channels

#

in this server

cosmic thorn
#

yeah

amber raptor
#

just mute whatever you don't want to see

rugged root
amber raptor
#

glad I joined for this

obtuse gale
versed island
#

whats the highest place you guys have been ?

#

mountain / place

unkempt quail
#

my doctor's office

#

I don't go out much

#

"much" as in "not at all"

versed island
#

he might have had a bad day

unkempt quail
#

doesn't mean he needs to hate on a discord server

weary zephyr
#

no

vivid palm
#

he prefaced

#

by saying he was new to the server

#

his opening statement was "i'm new here"

#

good riddance i say! 😄

unkempt quail
#

some guy that was bitching about how the help channels are made

weary zephyr
#

he did lol

#

while I disagreed with him, kind of a dick-move to search up his history

vivid palm
#

drink anyone? 🙂

amber raptor
#

I do role for channel on another server, it's annoying

#

and mute system works better

vapid seal
#

can someone check help titanium

amber raptor
#

I'm using Py GUI App

#

I'm shocked it works as well as this does

meager shale
#

!e
import random
print(random.rantint(0,100))

wise cargoBOT
#

@meager shale :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 2, in <module>
003 | AttributeError: module 'random' has no attribute 'rantint'
meager shale
#

!e
import random
print(random.randint(0,100))

wise cargoBOT
#

@meager shale :white_check_mark: Your eval job has completed with return code 0.

17
meager shale
#

wow import works her

amber raptor
#

why wouldn't it? Random is in standard libraries

uncut meteor
#

|=

rugged root
meager shale
#

I wouldn't expect import commands to work, but random or math could wprk yea

amber raptor
#

why not?

#

BTW, with typing, you wouldn't have to do dict(a) = {"Hello":"Hemlock"}

versed island
#

there is loosely typed thing

whole bear
#

Am I meant to see this channel??

rugged root
#

Yep

#

It's a public channel

whole bear
#

Oh okay lol. 😂

weary zephyr
#

afaik Java has inferred types too now
with var

rugged root
#

Didn't know that, neat

versed island
#

these things were created decades back

whole bear
#

Did u hear about modmail bot??

rugged root
#

What about it?

weary zephyr
#

dammit

whole bear
#

It got hacked lmao.
Alot of info got leaked.

#

Big Oof

#

Their support server also got Raided lol.
I hope this server is raid protected. Apparently alot of servers are being raided.

#

I guess people are bored

rugged root
#

We get raided from time to time, but we manage to handle it well

#

I think the longest we've been down at one time was... I think an hour or so?

amber raptor
#

when webhook got leaked?

whole bear
#

Yeah. Just be careful because apparently raid that few servers have had is where banned everyone from the server.

amber raptor
#

that's probably due to permission elevation

#

people giving ModMail Admin privledges

whole bear
#

I dunno. Just make sure u have a bot that stops bots from joining and stops raids on server.

#

Just in case

#

Targeting huge servers.

#

Also few people are using @"everyone command to crash servers too before rading it.

#

So u need a bot that protects this server.
Just letting u guys know

#

Takes one person to @"everyone and it will ping all 120k people which will crash the server.

#

Discord is unstbale

#

*unstable

rugged root
weary zephyr
#

aight i gtg too
bye!

amber raptor
#

Office365 CAN

whole bear
#

Yeah. Usually u know if they are bot because user.id will say if it a boy when entered in a discord user.id search id.

Their are really good anti raids bot that's stop everything and are encrypted and basically impossible to hack. Preety sure the one I use is owned by discord or helped by discord

amber raptor
#

the server is protected, admins have it well under control

vivid palm
#

so new year's lol

whole bear
#

Okay if u say soo

uncut meteor
#

say soo if okay

whole bear
#

Alot of rude people in here.
Just trying to help and warn u guys.
No need to be nasty and sarcastic and up right toxic to be fair.

uncut meteor
#

arrays_index_at_0 🐰

amber raptor
#

People gave you a response, sorry if you find that rude

faint ermine
rugged root
#

@whole bear Who are you finding rude? If you found someone is being incredibly disruptive or problematic, please DM the @rapid crown bot to let us know.

somber heath
#

@faint ermine Ha. Ta. I was just looking at that exact video.

uncut meteor
#

Voting,

Change Python to Pyth as its not 100% Python

limber blaze
#

im boutta make my phone agents call eachother

hardy cape
uncut meteor
#

Pynth

rugged root
#

!tvban 589497499174043800 2w I'm really tired of having to tell you to behave. Talking over people while playing chess and ignoring user and staff requests to take it to a private call. And now you're jingling something loud and metallic in voice chat and when asked to stop, you decided to jingle them louder. If you don't improve your behavior after your voice ban is done, you will lose your privilege to use voice entirely.

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied voice ban to @scenic wind until 2021-01-13 21:09 (13 days and 23 hours).

amber raptor
#

Happy, my questions are: Have you already discussed Salary or is this is first time coming up? What is job type of FTE?

scenic wind
#

hahaha

#

he finally did it

rugged root
#

I prefer to choose my words carefully

scenic wind
#

took you long enough 😄 👍

rugged root
#

Although I somehow feel they'll have fallen on deaf ears this time

scenic wind
#

lol

amber raptor
#

happy, are you FTE or contractor?

scenic wind
#

its fine i can't be arsed to wait 14 days just to talk again i will leave the server i don't really want to talk to you anyway to be honest

#

cya

amber raptor
#

HORRAY!

#

🥳

rugged root
#

Your attitude shows you're not here to learn. I'm sorry that you're not a good fit for the community. Have a good night

amber raptor
#

Let's have cake

somber heath
#

Strictly SQL. Gameshow, teams of pairs, competitive SQL coding. Costumed appearances.

rugged root
#

Why do people go out of their way to disrupt a server whose sole intent is to help

#

I really don't get it

somber heath
#

Anthill.

hushed elm
#

i feel like they're miserable and like to spread their misery unto others

rugged root
somber heath
#

Nonono.

hushed elm
#

so they might feel justified in how they feel and not spend the effort to improve themselves

rugged root
#

@fast gyro Already got a conversation going on. What's your question?

hidden cove
#

Why do these trolls think anyone cares if they leave the server? Problem solved IMO. lol

somber heath
#

As in, kids playing with an anthill.

rugged root
#

Ah right

fast gyro
#

@rugged root

#

trying to create a while loop but wont work

#

dunno why

somber heath
#

"Ooh, look. Order. Let me introduce chaos."

fast gyro
#

I can sharescreen

rugged root
#

Better if you just share your code here

#

!codeblock

wise cargoBOT
#

Here's how to format Python code on Discord:

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

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

limber blaze
#

i don’t get it

fast gyro
#

Same xd

#

How do I do it/

hushed elm
#

code

limber blaze
#

oh u just use the one from javascript yk

#

the backwards thing

#

for their equivalent if f string

rugged root
#

Who are you talking to, @limber blaze?

limber blaze
#

efil

rugged root
#

Did he ask his question elsewhere and I missed it?

limber blaze
#

he just said same xd idk how to do it when referring to code blocks in disc

rugged root
#

Ohhhhhhhhhhhhhhhhhhhhhh

#

Okay, no I'm up to speed now

#

Sorry

limber blaze
#

yeah all good

fast gyro
#

sry got disconnected

#

!codeblock

wise cargoBOT
#

Here's how to format Python code on Discord:

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

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

fast gyro
#

!codeblock x = float(input('please enter the first value: ', ))
y = float(input('please enter the second value:', ))
z = str(input('please enter an arithmetic '))
while z != '+' or '-' or '/' or '*':
z = str(input('please enter an arithmetic value: ', ))
print(x)

rugged root
#

Oh derp

#

Oh I see the issue

fast gyro
#

cant sharescreen in the code help vc?

rugged root
#

!or-gotcha

wise cargoBOT
#

When checking if something is equal to one thing or another, you might think that this is possible:

if favorite_fruit == 'grapefruit' or 'lemon':
    print("That's a weird favorite fruit to have.")

While this makes sense in English, it may not behave the way you would expect. In Python, you should have complete instructions on both sides of the logical operator.

So, if you want to check if something is equal to one thing or another, there are two common ways:

# Like this...
if favorite_fruit == 'grapefruit' or favorite_fruit == 'lemon':
    print("That's a weird favorite fruit to have.")

# ...or like this.
if favorite_fruit in ('grapefruit', 'lemon'):
    print("That's a weird favorite fruit to have.")
fast gyro
#

oh

#

I see

hushed elm
fast gyro
#

!format x = float(input('please enter the first value: ', ))
y = float(input('please enter the second value:', ))
z = str(input('please enter an arithmetic '))
while z != '+' or z != '-' or z != '/' or z != '*':
z = str(input('please enter an arithmetic value: ', ))
print(x)

#

!format

rugged root
#

Three back ticks (the symbol the shares the key with the tilde ~ next to the 1 on the number row) before and after your code

fast gyro
#
y = float(input('please enter the second value:', ))
z = str(input('please enter an arithmetic '))
while z != '+' or z != '-' or z != '/' or z != '*':
    z = str(input('please enter an arithmetic value: ', ))
print(x)
whole bear
#

can someone come down and help me

somber heath
#

Another thing may well be that lot of people are just so wrapped up in their own worlds that the idea other people being annoyed isn't going to register, even when they're told. So when people blow up at them, it's legitimately a surprise for them. Like, neurologically, the pathways and neurons involving empathy are just not firing on all cylinders. We're not even in front of them, what do they care? They're entertained.

fast gyro
faint ermine
#

@fast gyro
this should be your message:
```py
your code here
```

rugged root
#

Okay, remind me. How do you do that so that the backticks don't disappear. The last set usually makes it trigger the block for me

fast gyro
#
x = float(input('please enter the first value: ', ))
y = float(input('please enter the second value:', ))
z = str(input('please enter an arithmetic '))
while z != '+' or z != '-' or z != '/' or z != '*':
    z = str(input('please enter an arithmetic value: ', ))
print(x)
rugged root
#

Boom

fast gyro
#

❤️

#

why when I set the value of z as +

fast gyro
#

it still tells me to enter an arithmetic value

rugged root
#

Oh it's a logic error

#

You need ands, not ors

#

And you can simplify it a little bit

#

Like...

#

while z not in ("+", "-", "/", "*"):

amber raptor
fast gyro
#

It workeddddd

#

❤️

#

but how

uncut meteor
#

Hemlock Employer?

rugged root
#

So what you're checking for is to see if the character the user entered is in that container or not

#

Or wait, do you mean the and thing

fast gyro
#

yh

#

why and

#

not or

#

I want the value of z To be 1 of those only

rugged root
#

The and thing is because can't be any of those

#

or implies that only one of those has to be true

fast gyro
#

like

#

How can z be all of them together ?

rugged root
#

It can't be, that's the point

faint ermine
#

i think doing it with == instead of != would be easier to understand, then you can use or

fast gyro
#

but that is what the code says

#

does the code say

#

lets say the value is +

faint ermine
#
if z == "+" or z == "-":
fast gyro
#

ummm

worthy granite
#

Hey👋

faint ermine
#

@fast gyro that last code i sent basically means: if z is + or z is -

which is very easy to read and understand

versed island
fast gyro
#

I think I understood it

rugged root
#

Well

amber raptor
#

@hidden cove If you are contractor, you need mindset of "Fuck you, pay me"

rugged root
#

Okay so how would that work with the while loop, laun?

faint ermine
#

wait hmm

rugged root
#

Because the implication is that you enter it when you have an invalid string

faint ermine
#

wrap it all in a not

rugged root
#

That feels redundant

#

if x not in would be the most advisable

faint ermine
#

yeah thats the correct way, but this is a bit easier to read without knowing the in operator ```
while not ( z == "+" or z == "-"):

rugged root
#

@placid bluff Hey, what can we do for you? Sorry, conversation already on going

#

I'd argue the other is more explicit

#

Tossing the not at the beginning feels like it confuses it at first

#

I get it from the standpoint of explaining or and and, but...

faint ermine
#

yeah no doubt in is the correct solution

placid bluff
#

@rugged root I was wondering does anyone know about Git lfs?

rugged root
#

I personally don't but you might ask over in #tools-and-devops. They'll know far more than I

amber raptor
#

to sum it up: I'd find out if you are W-2 to anyone, why is this payroll keeping their cut? What Services do they provide? How long is contract? Are any hours guaranteed?

#

Contractors are mercenaries, they always need to be looking out for themselves and be ruthless in cutting throat of anyone who looks like they won't pay as agreed

digital jackal
#

quick question

hidden cove
#

@digital jackal What do you need?

digital jackal
#

ummm

#

im having a problem with permissions

#

when it come to running some codes in python

#

like trying to read or write in files

somber heath
#

Linux perms?

digital jackal
#

it giving me an error

digital jackal
#

PermissionError: [Errno 13] Permission denied:

#

i tried searching

#

its just not giving me enough solutions

somber heath
#

What's the open call?

digital jackal
#

its just an open to a pictures files

somber heath
#

Okay. What is the line?

uncut meteor
#

@digital jackal dw i feel the same

#

everytime somebody says your name

rugged root
#

I feel like I'm going through menopause. Can't tell if I'm hot or cold

digital jackal
#

py_files = open(r"d:\Users\Marven\Pictures\Roxio 3D Samples", "r", encoding= "utf-8")

somber heath
#

@digital jackal Are you able to create a file from within Python?

limber blaze
#

my agents don’t like eachother

digital jackal
#

how can i fo that

limber blaze
#

something is breaking when i put them both on a call

digital jackal
#

like json.create?

#

or smth

uncut meteor
#

nope

somber heath
#

@digital jackal Just an open call.

uncut meteor
#

with open(file)....

digital jackal
#

its not opening

somber heath
#

Try without a path.

digital jackal
#

k

somber heath
#

Your mode is just 'w'?

digital jackal
#

"r"

uncut meteor
#

BIG IRON ON HIS HIP

#

🤠 Gunright

somber heath
#

I want you to create a file, not read a file.

digital jackal
#

k

uncut meteor
somber heath
#

So 'w'.

digital jackal
#

open("w")?

#

without any path?

somber heath
#

We're just creating a junk file.

digital jackal
#

im new to json and stuff

#

gotta help me here XD

somber heath
#
with open('junk', 'w') as file:
    pass```
digital jackal
#

ah k

#

yeah

#

i can

somber heath
#

See if that works, then add the path in.

digital jackal
#

k

#

but read right?

somber heath
#

The same path as your code.

digital jackal
#

not "w"

somber heath
#

No.

#

Not your file. Still use junk.

digital jackal
#

k

somber heath
#

But the same path.

digital jackal
#

ah

#

like the path of junk?

rugged root
uncut meteor
hidden cove
somber heath
#
with open(r'd:\Users\Marven\Pictures\junk', 'w'):
    pass```
#

@digital jackal

hidden cove
digital jackal
#

but i dont have such file path

somber heath
#

@digital jackal You don't have a Pictures directory?

digital jackal
#

i do

#

but the junk file isint in it

somber heath
#

@digital jackal The intent here is to create one.

digital jackal
#

oh k

#

it worked

#

i think

#

it worked @somber heath

amber raptor
#

HORRAY, CRAPPY WEATHER IN MY VIRTUAL FLIGHT SIM GAME!

rugged root
#

HA

amber raptor
#

can't even land at land airfield

vivid palm
#

@quasi ginkgo do you know the band called nell?

amber raptor
hidden cove
vivid palm
#

chemex?

whole bear
#

voice supressed

#

ok

#

50 messages

#

not sure how many messages i have left

#

hello

halcyon flare
#

Previously in British English (but not in American English), the word "billion" referred exclusively to a million millions (1,000,000,000,000). However, this is no longer common, and the word has been used to mean one thousand million (1,000,000,000) for several decades.

tough panther
#

1million = 1million
1billion = 1milliarde
1trillion = 1billion

faint ermine
#

@e

whole bear
#

L

uncut meteor
#

o

#

s

#

e

#

r

whole bear
broken jungle
#

so sad

#

i can't peak

somber heath
#

Too much yolk?

uncut meteor
somber heath
#

@broken jungle The inactive text fields need more contrast against the background.

broken jungle
#

more light

#

Than the background

somber heath
#

Probably.

broken jungle
#

Yup

#

👍

uncut meteor
#

it should be the current typing one that is highlighed

#

not the hovered

broken jungle
#

yea

#

That's one problem too

#

I'm new to Qt Creator 🙂

#

but i hope i'll do something better

rich cloud
#

im gewdd !!

broken jungle
#

hi

#

where do you live?

rich cloud
#

we can. someone discussing stuff,

rich cloud
broken jungle
#

😮

#

idk this country

rich cloud
#

😮

faint ermine
signal raven
whole bear
#

gus

uncut meteor
whole bear
#

yes

#

gus

signal raven
whole bear
#

gus

signal raven
faint ermine
uncut meteor
faint ermine
uncut meteor
uncut meteor
#

!projects

wise cargoBOT
#

Kindling Projects

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

uncut meteor
faint ermine
signal raven
faint ermine
uncut meteor
#

here

signal raven
#

nice!

faint ermine
uncut meteor
#

use ~English

faint ermine
uncut meteor
faint ermine
signal raven
uncut meteor
#
snake->score = 0;
    snake->x = 0;
    snake->y = 5;
    snake->oldx = snake->x;
    snake->oldy = snake->y;
#

=>

signal raven
uncut meteor
#

() =>

signal raven
uncut meteor
#
hello = function() {
  return "Hello World!";
} 
hello = () => {
  return "Hello World!";
} 
#
 hello = (val) => "Hello " + val; 
#
hello = function(val) {
 return `Hello ${val}`;
}
#
const materials = [
  'Hydrogen',
  'Helium',
  'Lithium',
  'Beryllium'
];

console.log(materials.map(material => material.length));
// expected output: Array [8, 6, 7, 9]
signal raven
#
fn main() {
  hello(val);
}

fn hello(val: &str) -> String {
  "Hello ".to_owned() + val
}
uncut meteor
#
hello = function(val): string {
 return `Hello ${val}`;
}
faint ermine
#
importScripts('https://cdn.jsdelivr.net/npm/idb-keyval@3/dist/idb-keyval-iife.min.js');

self.addEventListener('fetch', event => {
  event.waitUntil(saveUsername(event));
  event.respondWith(idbKeyval.get("username").then(username => {
    request = event.request;
    if (typeof username === 'string' || username instanceof String) {
      request = editRequest(request, username);
    }
    return fetch(request); // return request, edited or not
  })); // respond with header
});

async function saveUsername(event) {
  request = event.request;
  referrer = new URL(request.referrer); // make url object to easily extract hostname
  splitted = referrer.host.split("."); // extract hostname and split
  domain = splitted.slice(splitted.length - 2, splitted.length).join("."); // get last 2 elements of splitted hostname as string, this is the base domain
  if (domain === "example.com") { // check against base domain
    url = request.url;
    //console.log("url is: " + url);
    username = new URL(url).searchParams.get("username"); // set username from query parameter
    if (typeof username === 'string' || username instanceof String) {
      await idbKeyval.set("username", username);
      //console.log("store username: " + username);
    }
  }
}

function editRequest(request, username) {
  const newRequest = new Request(request, {
    method: request.method,
    headers: request.headers,
    mode: 'same-origin', // need to set this properly
    credentials: request.credentials,
    redirect: 'manual'   // let browser handle redirects
  })
  request = newRequest;
  request.headers.append("X-WEBAUTH-USER", username); // add user header
  // console.log("login to grafana with: " + username);
  return request;
}
uncut meteor
#
def world() -> str:
  return "Hello"
faint ermine
#
<!DOCTYPE html>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<body>
    <script>
        if ('serviceWorker' in navigator) {
            navigator.serviceWorker.register('/sw').then(function (reg) {
                if (reg.installing) {
                    console.log('Service worker installing');
                } else if (reg.waiting) {
                    console.log('Service worker installed');
                } else if (reg.active) {
                    console.log('Service worker active');
                }
            }).catch(function (error) {
                // registration failed
                console.log('Registration failed with ' + error);
            });;
        }

    </script>
</body>
uncut meteor
#

!e
print("Like this")

wise cargoBOT
#

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

Like this
#

Hey @signal raven!

Uh-oh! It looks like your message got zapped by our spam filter. We currently don't allow .txt attachments, so here are some tips to help you travel safely:

• If you attempted to send a message longer than 2000 characters, try shortening your message to fit within the character limit or use a pasting service (see below)

• If you tried to show someone your code, you can use codeblocks
(run !code-blocks in #bot-commands for more information) or use a pasting service like:

https://paste.pythondiscord.com

signal raven
wise cargoBOT
#

@signal raven :x: Your eval job has completed with return code 1.

001 |   File "<string>", line 1
002 |     https://paste.pythondiscord.com/nosuxuvuze.apache
003 |           ^
004 | SyntaxError: invalid syntax
uncut meteor
wise cargoBOT
#

@uncut meteor :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 'monké'
faint ermine
uncut meteor
whole bear
#

aww

digital jackal
#

hey guys

#
except sr.UnknownValueError:
            print("Google Speech Recognition could not understand audio")
#

can someone explain to me why every time this error is raised it keeps repeating the last command

#

i mean : lets say i said hi

#
if audio == "hi":
  print("hi")
#

if i dont speak the error is raised

#

but it keeps repeating the last command that it did

#

wich in this case is printing hi

hushed elm
#

probably because audio still has the value of "hi"

digital jackal
#

but its in a while True loop

#

its not supposed to save the value

#

should i put a audio ="": outside?

hushed elm
#

== compares, = changes the value on the left

digital jackal
#

but it cant be one =

digital jackal
hushed elm
#

== and = are different operators

digital jackal
#

oh

#

now i got you

#

kk

hushed elm
#

kkk

digital jackal
#

like this

#

i edited

#

audio = ""

#

yeah

#

not working

#

its still repeating it

#

nvm fixed it

#

ty

hushed elm
#

yw

grave osprey
#

yo

grave osprey
vague jungle
#

ok

whole bear
#

goose

#

gus

#

i learn js and PHP

somber heath
#

@whole bear Knowing English is not an indicator of intelligence.

whole bear
#

stop

#

i open a translator

hushed elm
#

he say you big brain

#

maybe

whole bear
#

ya

somber heath
#

**

whole bear
#

2021

hushed elm
#

2020 bad

whole bear
somber heath
#

Well...there's a whole year for shit to go wrong.

hushed elm
#

yeah

somber heath
#

Again.

whole bear
#

yes

#

gus

#

bash

somber heath
#

I can hear you.

#

I don't know Flask. 🙂

#

Sorry.

#

Of it, yes. People talk about it often enough.

#

Typically through times when I'm spending a lot of time indoors.

#

At least of late.

#

Though it's been fair weather recently, so...

#

Like, I'm a computer geek. What do you expect?

#

Going outside? Pfeh!

#

Which isn't strictly true, though I do spend a lot of time inside.

hushed elm
#

yeah

whole bear
#

missing tranavest

hushed elm
somber heath
#

Pretty.

hushed elm
#

what do you think about this?

hushed elm
somber heath
#

I like fog.

#

Mm. You can be out in public, but it's still private in a kind of cosy safety sort of way.

hushed elm
#

yeah

somber heath
#

@cloud stratus Sucks to be you.

hushed elm
somber heath
#

Being in 2020.

hushed elm
#

how about this one?

somber heath
#

Framing's a bit odd.

#

Is that a crop?

hushed elm
#

yes

#

the crop is odd, you mean the width/height?

#

or the framing

cloud stratus
somber heath
#

Something.

#

I think, also, cropping things can get you into trouble just in general, correct aspect or not. Maybe it's the lens curvature...I don't know.

#

But you can tell.

hushed elm
somber heath
#

That's a bit nicer.

hushed elm
#

aha

cloud stratus
#

yup the second one is nicer

hushed elm
#

i think it's the ratio of ground/sky

#

this one has less ground in it

cloud stratus
#

I haven't been doing much

#

"at least coding related"

hushed elm
somber heath
#

I'm...fine enough.

#

🙂

#

Well, you know what they say about assumptions.

hushed elm
sick cloud
#

@cloud stratus helo

cloud stratus
hushed elm
#

at least, i ASSUME they smell like that

#

hahahaha

hushed elm
somber heath
#

Hmmm?

#

No.

#

New year it is.

#

Drunk, celebrating, no.

#

It's 1:39am in 2021.

cloud stratus
#

it is amazing isn't it?

#

2021

broken jungle
#

I'm in 2020

somber heath
cloud stratus
#

Ah...

rugged root
#

On in a bit, having to double check with our IT folks why I haven't gotten the laptop back

#

It shouldn't have taken them this long

somber heath
#

@amber raptor Do you think they're planning on stiffing you on the bill?

#

I mean, they'd have to be pretty fucking stupid.

#

That's more of a smaller company bullshit move.

#

I would have thought.

#

I'd also have thought letting people go would have been a pre-Christmas thing.

hushed elm
#

i've been laid

somber heath
#

"Here. You're fired. Happy Christmas."

hushed elm
#

was great

cloud stratus
#

...

somber heath
#

Bukurk.

cloud stratus
#

whut @hushed elm

hushed elm
#

jk

#

admin plz don't ban me

cloud stratus
#

macro rip

#

cya man

hushed elm
#

uh oh

rugged root
hushed elm
#

uh ohhh i've been had

#

now you know i'm a chicken uh ohhh

somber heath
#

"On the internet, nobody knows you're a dog."

cloud stratus
#

we will let this one slide macro

#

just...

#

don't do it again

rugged root
cloud stratus
#

Dude don't share your photo to the strangers on the internet!

hushed elm
#

:(:( why am i so dumbb

cloud stratus
#

cuz you are a dog

hushed elm
#

who am iiiii

#

am i dog? am i chicken?

#

to be or not to be

#

chicken

cloud stratus
#

dogicken

hushed elm
#

chickog

cloud stratus
#

that's better

hushed elm
#

wife? i thought rabbits were polyamorous

rugged root
#

Chicken spaniel

hushed elm
#

maybe

rugged root
#

Yeah the n works better

#

Oh no I'm an idiot

#

Cocker spaniel is actually perfect

hushed elm
#

the r works better

rugged root
#

Why did I think I had to change it

hushed elm
#

uh oh

somber heath
#

Imagine me looking disapprovingly at you all.

rugged root
#

I always do

cloud stratus
#

...

hushed elm
rugged root
#

I feel like it's a constant look you give me

hushed elm
#

oh no dad, we've disappointed u

rugged root
#

Followed by an internal, "God damn it, Hemlock..."

somber heath
#

Are you in the call, Hemlock? No.

cloud stratus
#

cocker

rugged root
#

Oh I thought you meant with the text

sick cloud
#

@uncut meteor i'm kinda done with it

uncut meteor
#

Lit

#

show me

rugged root
hushed elm
#

eyyy glad u like it

#

too much blue in the sky maybe?

rugged root
#

No it's great. I'll likely hold onto it for spring

hushed elm
#

kk

sick cloud
#

i'm using the webversion

cloud stratus
#

Are we disappointments? @somber heath

#

oh

rugged root
#

Wrong Opal

sick cloud
#

cuz i can listen to songs while i'm here

uncut meteor
#

hjahahhaha

#

Opal dogeKek

whole bear
#

i need some help :/

wild flint
#

so

#

manyu

#

fgaireoubhg4eareg

#

5eh4wsy

#

5hyew4r

hushed elm
#

@night tiger impostor

rugged root
#

Sorry

uncut meteor
#

@wild flint hi O'pal

wild flint
rugged root
#

We ❤️ you

#

And apologize for the accidental pings

cloud stratus
#

we are just tagging the wrong person...

hushed elm
#

uh ohhh

cloud stratus
#

I'm a dissppointment

uncut meteor
#

@night tiger who is this faker?

somber heath
#

@rugged root, @cloud stratus To add tone flavour to my two previous messages, I meant them companionably and with mock affront.

whole bear
#

:((

rugged root
#

I know it's always in jest. I never worry about you, bud

#

Okay

#

I worry about your mental and emotional health

#

But not that you'll be a dick

cloud stratus
#

Yeah I was just keeping the mocking up

somber heath
whole bear
#

hey @uncut meteor can you help me?

cloud stratus
#

I was gonna say cocker spainel is not a phase, dad!

whole bear
#

🙂

#

lool

#

look*

sick cloud
#

@whole bear helo

whole bear
#

3

sick cloud
whole bear
#

uh

#

thx

uncut meteor
#

talking about the other @night tiger

wild flint
#

o.0

uncut meteor
#

yeh, its a army

rugged root
#

Their name was Opal on join

#

It wasn't part of the joke

cloud stratus
#

it turns out, not this one

somber heath
#

@wild flint Sorry, did someone @ you again somewhere?

sick cloud
wild flint
#

yes, it happens fairly frequently lmfao

whole bear
#

@uncut meteor print 'Starting call flood on target: %s. Placing %d calls per minute.' % (number, cpm) is this ok?

uncut meteor
rugged root
#

Doesn't help that OpalMist is such a popular guy

cloud stratus
sick cloud
wild flint
#

me, thinking that I can be original 13 or so years ago by identifying myself as opal: vibe_cat
me now: pe

sick cloud
verbal oasis
#

Hello, I have a question. what happens when I @ everyone on discord server?

cloud stratus
#

everyone will start to hate you

verbal oasis
#

yeahh!! but why?

wild flint
#

you can't....??

somber heath
#

"Decoy OpalMist". Pfeh.

wild flint
#

what kind of a stupid question..... jeez

verbal oasis
#

I donno I don't use discord a lot!

uncut meteor
rugged root
#

For the sake of Opal in here

somber heath
#

People were...alarmed when there were several people named OpalMist all talking in an ot room. "AMG! OpalMist is using alts! Ban him?"

cloud stratus
#

Maybe... this one is the decoy and took Opal's personality??!

wild flint
#

Eh, no

high ingot
#

@somber heath happy new year!

wild flint
#

I am my own person, and the same can be said for OpalMist

undone falcon
#

• Have been active for over 3 ten-minute blocks. This means you need to have sent your messages over a span of at least 30 minutes.
What does this mean

high ingot
#

2021🥳

cloud stratus
#

He doesn't talk 👀

#

He is fake!

somber heath
#

I wrote a Christmas song involving beer.

high ingot
#

Lol

sick cloud
#

@uncut meteor u can disable to actually

cloud stratus
#

You monster

#

light theme?

graceful grail
#

light theme FTW!!!

amber raptor
somber heath
#

Mm.

sick cloud
amber raptor
#

and they would do it at beginning of new FY for expense accounting reasons

somber heath
#

I know we say "Let people like things", but...

#

Really?

cloud stratus
#

asdlkasjflasda

#

Hemlock is corrupted too

amber raptor
#

Contractors get culled at end of Quarter, Employees at beginning of Quarter

somber heath
#

"How do you want your last paycheck?"

#

"In quarters."

rugged root
#

That would be incredibly heavy

somber heath
#

"You mean like in four installments?"

#

"What do you think?"

amber raptor
somber heath
#

"...we'll dust off the pallet jack."

amber raptor
#

Your last paycheck is delivered in same way as rest of your paychecks, in your bank account

somber heath
#

I can dream.

hushed elm
graceful grail
#

^ true true.

sick cloud
high ingot
somber heath
#

Having spelling as a metric for identifying phishing e-mails is going to result in emails from many bosses going in the naughty bin.

amber raptor
#

Meh, replace KnowBe4 with Microsoft ATP

high ingot
#

Lol

#

Ahhhh

#

Noooo

amber raptor
#

I'd love PyPy to replace CPython so it got backing of PSF

high ingot
#

It’s gonegrumpchib

uncut meteor
#

Just flick the 64 bit switch

amber raptor
#

JIT isn't a problem

high ingot
#

Should’ve taken a ss

#

So what do Australians do on January 1st? @somber heath

uncut meteor
#

dude

#

rocket league servers have been down for 24hours +

graceful grail
#

nice lol

uncut meteor
somber heath
uncut meteor
#

no car ball for me

amber raptor
#

If Microsoft Scripting Language can be JIT, Python can be JIT

#

I know this would come in Python 4

high ingot
#

Yea in Japan, ppl usually go to shrines but not this year

#

COVID blobbongocatangry

high ingot
uncut meteor
#

lets do it

high ingot
uncut meteor
#

When you realise you are Pyfonic awesomeDance

somber heath
#

Stepping back as a result of there being arguing is more believable than picking walrus non-inclusion as the hill to die on.

rugged root
#

!warn 113304266269003776 Don't be a dick to others

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied warning to @amber raptor.

wise glade
#

can anyone help me understand what's a refspec? This is the only reference to it that I have

amber raptor
#

Real reason is so other moderators can see it

#

Time for me to start on my New Year Goal

#

get my inbox to less then 10 emails

wise glade
#

this seems, it could take a while

amber raptor
#

there is ton of delete key pressing

#

and since it's Outlook, I'm not waiting for Browser

wise glade
amber raptor
#

Have you used Microsoft Graph API?

wise glade
#

don't even know what it is

amber raptor
#

it's how you access Microsoft Office365 Mailbox

pure path
#

Yo

whole bear
#

ey

amber raptor
#

my outlook is angry

rugged root
#

Hangry

wise glade
#

anyone watched tenet yet?

somber heath
#

Just because a server's in international waters doesn't mean countries or other interested parties couldn't or wouldn't go, "Hahaha, no."

wise glade
#

so can anyone help with this one? the :, why do we use this in git?

somber heath
#

"Do-wap doo-wap doo-wah. Sweet thing, let me tell you 'bout the world and the way things are..."

amber raptor
#

and now I'm quota limited

wind cobalt
#

same

amber raptor
#

Thanks Microsoft

whole bear
#

@uncut meteor bro

#

i can't

#

omfg

amber raptor
#

This is why {} is nice to have sometimes

wise cargoBOT
#

Hey @wise glade!

It looks like you tried to attach file type(s) that we do not allow (.pdf). We currently allow the following file types: .3gp, .3g2, .avi, .bmp, .gif, .h264, .jpg, .jpeg, .mkv, .mov, .mp4, .mpeg, .mpg, .png, .tiff, .wmv, .svg, .psd, .ai, .aep, .xcf, .mp3, .wav, .ogg, .webm, .webp, .flac, .afdesign, .m4a, .csv.

Feel free to ask in #community-meta if you think this is a mistake.

somber heath
#

I tried to do some dict multilining on mobile discord earlier today and it was an unmitigated disaster.

#

To start with, it looked right in composition. On send it just...wasn't. It went downhill from there.

wise glade
#

am I the only one seeing this "not allowed" message?

high ingot
#

Doesn’t that have to be print (“abc”) rather than print (‘abc’)

somber heath
#

You can't have linting errors if you disable the linter.

high ingot
#

Oh?

arctic oriole
#

HELLO

high ingot
#

I thought it always had to be double

rugged root
#

Nope, single or double will both work

#

There's no set convention as which you should use

amber raptor
#

No

wise glade
rugged root
#

The only convention is for using 3 double quotes for multiline/doc strings

high ingot
#

I see

amber raptor
#

most JSON parsers will convert '' -> ""

rugged root
#

Ah, my mistake

wise glade
#

@rugged root can I send you the 4 pages pdf that I just screenshotted and shared here

rugged root
somber heath
#

I switched devices and you all sound like you dropped down a few hz.

#

It's so weird.

whole bear
#

i meen

amber raptor
whole bear
#

@wise glade can you you say : indian scammer?

#

=)))))))

whole bear
#

what is sys.exit(1)

rugged root
#

That Hz to know, Opal

#

I'M NOT SORRY AND YOU CAN'T MAKE ME BE

somber heath
#

@rugged root One word. Vocoder.

high ingot
#

Why did you switch devices?

somber heath
#

@high ingot Moved to my room.

high ingot
#

O

amber raptor
#

generally branch == feature

#

multiple developers may work on same branch

#

but generally it's very serial, like Dev A will stop working on it, Dev B will pick it up

whole bear
#

"Exception has occurred: SystemExit"

#

=)))))))

amber raptor
#

it's very rare for Dev A and Dev B working on same branch at same time

#

Everyone hates Merge Conflicts

wise cargoBOT
wise glade
#

conflict only occurs if you change the same line of code, right? if u append more code, its fine?

high ingot
amber raptor
#

and if someone puts extra code in middle of a function, git may be wrapped around line code changes

amber raptor
#

commit often, push frequently is my motto

whole bear
#

Open the connection on that raw socket

    dos.connect((ip, port))

    # Send the request according to HTTP spec
    #dos.send("GET /%s HTTP/1.1\nHost: %s\n\n" % (url_path, host))
    msg = "GET /%s HTTP/1.1\nHost: %s\n\n" % (url_path, host)
    byt = msg.encode()
    dos.send(byt)
except socket.error:
    print ("\n [ No connection, server may be down ]: " + str(socket.error))
finally:
    # Close our socket gracefully
    dos.shutdown(socket.SHUT_RDWR)
    dos.close()
amber raptor
#

I prefer Commit Often so you are not stuck commenting out huge blocks of codes

#

and squash merge exist if your company hates heavy commit trees

high ingot
amber raptor
#

large commit history only sucks for those not using GUI Git clients

#

Github calls it Network

weary zephyr
whole bear
#

YO TEAM?? somebody was talking about these DDOS scripts being illegal? Why is THAT? The DDOS are being used against fraudulent call centers where people pretend to be IRS (fake) MS tech support (fake) credit card services (fake) and OTHER fraudulent persons. It is obvious that the US GOV does not have resources or time to get after these crooks?
Why could a DDOS against criminals be considered illegal?
What gives???
:/

#

:((

amber raptor
#

or how about we can't help because !rule 5

rugged root
#

Also yes

whole bear
#

lmao

#

brb

wise glade
#

see you Mr.hemlock, happy new year, for you in 13 hrs probably (he didn't see)

high ingot
#

:(

pure path
#

@uncut meteor but it is satisfying isn't it

#

watching those vid

uncut meteor
#

:3ildcat

high ingot
#

Get this one @uncut meteor

uncut meteor
#

ok deal

amber raptor
#

Why?

uncut meteor
high ingot
somber heath
pure path
#

hypnotism

somber heath
high ingot
neon sleet
#

XD

#

they actually look the same

high ingot
#

Ok, gonna sleep now

#

cya

whole bear
#

cyta

#

cya*

#

happy new year

somber heath
#

@uncut meteor The first, interference pattern. The second, trigonometric function intersection along x and y axes, the functions having time as a value included for frames of the animation.

whole bear
#

@somber heath are you ok?

#

bcz you speak for you

neon sleet
#

what do you mean intersection along x and y axes?

whole bear
#

just tell me edy

neon sleet
#

trig functions are represented on 2d or 3d axes?

#

I mean, if there is time, it would go 3d

#

what is your function looking like? f(x) = sin(x)

somber heath
#

@neon sleet Well, say you feed the x position into sin, and the y position into sin. The value of each point in the plane is a result of how close the results of the two functions are to each other.

neon sleet
#

guessed it

somber heath
#

This results in a sort of chickenwire pattern, I think.

#

But you can play around with the functions to achieve all sorts of fun things.

neon sleet
#

oh

#

wait

#

x and y are independent of each other?