#voice-chat-text-0

1 messages · Page 633 of 1

gentle flint
hushed elm
#

server problems @sterile pagoda

fossil pebble
#

google it 502

sterile pagoda
#

I'm connected to the internet and my laptop is okay, don't where the problem's from.

#

Yea.

fossil pebble
#

no dude go goggle

hushed elm
#

aaahaaaaa

fossil pebble
#

just write

#

why i have problem

gentle flint
#

hear him hack

sterile pagoda
#

But I can access the site directly from a browser, while the request module is showing me the 502 error.

fossil pebble
#

dont make me google it

hushed elm
#

let's og

#

let's go

gentle flint
#

I will hack my keyboard into your ear so that you will all go mad

sterile pagoda
fossil pebble
#

come to chat

sterile pagoda
#

Okay.

wind cobalt
gentle flint
fossil pebble
hushed elm
#

i'm a big boy

fossil pebble
#

read this page

fathom compass
#

My ears 😫

gentle flint
hushed elm
#

u succ

gentle flint
#

u fucc

hushed elm
#

uh oh

#

watch out for admins

gentle flint
#

but do u succ at the fucc?

hushed elm
#

uh oh

#

shhh

#

the admins might hear u

gentle flint
#

loudly types after complaining of my noisy typing

wind cobalt
hushed elm
#

i'm the best

wind cobalt
#

@hushed elm shutup

hushed elm
#

u

gentle flint
#

@wind cobalt one wpm slower than me

#

u succ

wind cobalt
#

i typed quieter tho

gentle flint
#

that's not a good thing

hushed elm
#

no it ain't @wind cobalt

hushed elm
peak ember
#

oi we playing lichess???

hushed elm
#

gggg

wind cobalt
#

ggg

hushed elm
#

ron wanna play blitz?

gentle flint
#

gg

#

g

wind cobalt
#

macro is hax0r

hushed elm
#

hhhhh

gentle flint
#

he is haker boi

wind cobalt
#

aimbot boi

peak ember
#

ok

#

i played before lockdown so a bit rusty

hushed elm
#

no worries

wind cobalt
#

use WD40 then

gentle flint
#

^

hushed elm
#

hhhhh

gentle flint
#

or switch to Python

hushed elm
gentle flint
#

I mean, it's not a Rust server

wind cobalt
#

i use AGP

#

beat that

gentle flint
#

use a teletyper

wind cobalt
#

the last one is cool

gentle flint
wind cobalt
#

why tho?

#

big X to doubt

hushed elm
#

gg @peak ember

peak ember
#

gg

hushed elm
#

party?

#

i like to party

wind cobalt
#

at my house

#

tea party

#

and an American Revolution

hushed elm
#

yeee

wind cobalt
#

I had sausages in Germany and it's wurst there

stuck furnace
#

colour

#

flavour

#

organise

wind cobalt
#

@gentle flint

gentle flint
#

o
k
then

wind cobalt
#

sad JVM noises

#

"Furniture"

#

from Russians

stuck furnace
#

Or they just can't afford college...

#

Open University in the UK is great 😄

graceful grail
gentle flint
#

Open University in the UK is great 😄
are you attending it?

stuck furnace
#

Yep

gentle flint
#

me too!

#

lol

stuck furnace
#

Nice 😄

#

I dropped out of normal university 😄

gentle flint
#

oof

quasi condor
gentle flint
#

what modules for which qualification are you doing?

stuck furnace
#

Erm, this year I think I might be taking a hiatus...

gentle flint
#

fair enough
I took one for three months

#

just starting again with two modules

stuck furnace
#

But studying for an Open Degree because it allowed be to transfer the largest amount of credits from my other university 😄

gentle flint
#

sounds good

stuck furnace
#

Erm, focussing on statistics.

gentle flint
#

nice

stuck furnace
#

What are you studying?

gentle flint
#

bachelor of engineering

#

Q65

stuck furnace
#

Oh right. So do you sit your exams in the NL?

quasi condor
gentle flint
#

yep

#

in the Hague

#

except this year 'cuz coronavirus

#

so I got an EMA instead

stuck furnace
#

FPTP

#

Third options are spoilers.

#

They should use approval voting instead.

#

I mean, I don't think the electoral college is really the problem.

#

Approval voting is great: just select all the candidates you approve of, each gets one vote, the one with the most votes wins.

#

Removes the spoiler effect and promotes consensus-forming.

#

I think Skype uses a peer-to-peer protocol?

quasi condor
#

skype is p2p, and it's absolutely fuckin shit as an implementation

subtle orchid
#

As a begginer should i be foccusing on different types of projects to improve my phyton knowledge or should I be learning stuff like data bases data sceience data alogrithms and stuff related to this i.e clearing concepts I am very confused any kind of help is very appreciable

#

???

zenith radish
zinc sun
hushed elm
#

metrix

wind cobalt
#

l33t h4x0r

#

metric

#

he's using the metric system

hushed elm
#

lol

gentle flint
subtle orchid
#

ive had this one

#

its very tasty

#

but gives a lot of thirst cause of coconut in it

gentle flint
#

somebody deep-fried one

subtle orchid
#

lol

#

sounds fun

#

Dairy milk is the chocolate giant here

gentle flint
#

cadbury?

subtle orchid
#

yeah cadbury dairy milk

#

I am not a chocolate and literally any sweet fan for now unfortunately my right molar has a hole

#

😔

gentle flint
#

oof

subtle orchid
#

@gentle flint what should be I doing projects or learning stuff like alogrithms databases...data sciences i am very confused can u help please

gentle flint
#

you le3arn algorithms via projects

#

in fact, you learn everything via projects

subtle orchid
#

or should ive be doing projects and watching one or two videos on concepts is it a good video

wind cobalt
#

and books

#

get simple data structure and algo books for python

#

just for the lols (references)

subtle orchid
#

which one?

wind cobalt
#

i can't really say

#

i have one for C

subtle orchid
#

there are videos lectures from these books i guess

wind cobalt
#

but not for python

#

Sauce?

hushed elm
#

yeah lol

#

vodafone police

wind cobalt
hushed elm
#

lols

graceful grail
#

water

hushed elm
#

some people i know don't drink water

zinc sun
#

imagine receiving this from vodafone after typing 'sudo apt-get install *hacking-soft

vodafone be like
@wind cobalt *'

graceful grail
#

wudder

wind cobalt
#

woder

hushed elm
#

woder

graceful grail
#

watt er

hushed elm
#

watt er

wind cobalt
#

watt er those???

#

after u eat it , it's scone

quasi condor
alpine urchin
#

@hushed elm are you still racist?

hushed elm
#

i was never racist bro

alpine urchin
#

hahahhaha

wind cobalt
#

typing typist

alpine urchin
#

i'm gonna die young

zenith radish
alpine urchin
#

oh nonononono

#

@zinc sun on a fucking hoverboard

zinc sun
#

lol

wind cobalt
#

i regret buying things to live

alpine urchin
#

@wind cobaltsame

wind cobalt
#

okay

quasi condor
#

ruin

wind cobalt
#

is it pronounced data or data?

alpine urchin
#

wtf

wind cobalt
#

i think it's pronounced data

#

data is correct

#

in French, bread is pain

alpine urchin
#

why they call their bread fucking baguette

wind cobalt
#

beats me

dusky garnet
#

Eichhörnchen

rugged root
#

.... because it's their word for it?

wind cobalt
#

Geschwindigkeits­begrenzung

rugged root
#

Like... just feels like a really weird thing to get judgmental about

alpine urchin
#

hahaha

rugged root
#

"How DARE they have a different word for bread! Those bastards!"

alpine urchin
#

hahahahahahha

wind cobalt
#

Sausages is wurst in Germany than anywhere else

alpine urchin
#

nah

dusky garnet
#

Mehrwertsteuerharmonierungskompromisslösungskommissionsbeschluß

alpine urchin
#

in italy it's the same

rugged root
#

Looks like you brat-your-wurst to this punoff

wind cobalt
#

@dusky garnet ahh the language of the nords

alpine urchin
#

@dusky garnet fucking sick

wind cobalt
#

if you're sick, then go to a clinic

dusky garnet
#

you definitely need to try to pronounce Quietscheentchen

quasi condor
wind cobalt
#

sw0l0l0

zinc sun
#

these are actually at my screen right now

wind cobalt
#

bro

#

ask gabe newell for a scholarship

normal cave
#

what do i do

#

hello

#

hwo do i type

ashen oar
#
<script>
    const music = MusicKit.getInstance();
    music.play();

    function send_token() {
        let xhr = new XMLHttpRequest();
        xhr.onreadystatechange = function () {
            if (xhr.readyState === XMLHttpRequest.DONE) {
                window.close()
            }
        }
        xhr.open('POST', '/', true);
        xhr.onload = function () {
            console.log('Posted token')
        }
        xhr.send(music.musicUserToken)
    }
    if (music.isAuthorized) {
        send_token()
    }

    function authorize() {
        if (!music.isAuthorized) {
            music.authorize().then(function () {
                send_token()
            })
        }

    }
</script>
wind cobalt
#

nice

normal cave
#

is that english

ashen oar
#
class Auth:
    def __init__(self, developer_token: str, user_token: Optional[str] = None):
        self.developer_token = developer_token
        self.user_token = user_token

    def is_user_authed(self):
        if self.user_token:
            return True
        else:
            return False

    @property
    def headers(self):
        return {'Authorization': f'Bearer {self.developer_token}',
                'Music-User-Token': self.user_token}

def shutdown_server():
    func = request.environ.get('werkzeug.server.shutdown')
    if func is None:
        raise RuntimeError('Not running with the Werkzeug Server')
    func()

@app.route('/', methods=['GET', 'POST'])
def auth():
    if not auth_object:
        raise ValueError('No initialized auth_object')
    
    if request.method == 'POST':
        auth_object.user_token = request.data.decode('utf-8')
        shutdown_server()
        return ""
wind cobalt
#

how to use with different languages?

ashen oar
normal cave
#

what does it do

wind cobalt
normal cave
#

binary is so effiecient

ashen oar
normal cave
#

i would choose coffeescript

zenith radish
#

fun

#

fu+-

#

~fun

graceful grail
#

kind of fun

gentle flint
hushed elm
#

is that your cat?

gentle flint
#

yeah

hushed elm
#

she's nice

gentle flint
#

thx

hushed elm
#

looks old

gentle flint
#

she's 8

#

and she chirps
for some obscure reason

hushed elm
#

yeh pretty old

#

like what

normal cave
#

chirping is too draw in birds

#

its a evolutionary skill

gentle flint
#

o I see

normal cave
#

no, english isnt the hardest

graceful grail
#

one of the hardest??

normal cave
#

no

#

it can be

#

it varies on what language you first speak

hushed elm
#

yes, so for example if your first language is a romance language it's easy to learn another romance language

wind cobalt
#

inglish is iz

normal cave
#

how similiar english is to your home language will determine how hard it is to speak fluently

#

but, it is a strange language

wind cobalt
#

not really

#

i acquired english when i was a young boi

#

if u learn it as an adult, it can be quite hard

normal cave
#

its a very universal language, and people with different accents quite literally changes the pronuncation, and def

#

people who have a similiar word to english in their home language, may think that they have the same meaning, and that often changes the def

#

and people have a small amount of time to learn languages

#

1-12

#

after that, the brain doesn't want to learn

wind cobalt
#

not that it doesn't want to learn

#

it just gets harder to learn easily

normal cave
#

pussgetti

#

like the name dick

#

in the 1900's it was a very common name

#

grammer is hard to master, but when you speak it often, it is learned. I dont mean to sound condenscing but, language is quite literally in our brains. condenscing means talking down to someone

#

whos british here

viscid finch
#

me

graceful grail
#

pneumonoultramicroscopicsilicovolcanoconiosis

normal cave
gentle flint
#

this word is longer

wise cargoBOT
#

Hey @gentle flint!

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

gentle flint
#

frick

#

there

viscid finch
#

aww poor kid lol

gentle flint
#

time for one of you to try pronouncing that

zinc sun
#

no way

#

I just opened this

#

nope)

gentle flint
#

aww

#

so sad

normal cave
#

the longest word was a chemical, but it was surpassed by a planet with over 2000 characters, which was surpassed by the name of a particle

#

scientists are the best at naming things

zinc sun
#

the bestish

normal cave
#

bestestest

zinc sun
#

beastobestestest

normal cave
#

Buffalo, buffalo buffalo buffalo buffalo buffalo buffalo, buffalo buffalo .

zenith radish
normal cave
#

terrifying

zenith radish
#

/bin/cat

ashen oar
graceful grail
#

pylint

normal cave
vague rampart
normal cave
quasi condor
#

from gtts import gTTS

ashen oar
quasi condor
graceful grail
quasi condor
somber night
#

wassup sonic

gentle flint
#

not much

#

hbu?

somber night
#

mb just seem

#

I'm chillin

graceful grail
rugged root
#

cha-lee

gentle flint
#

take a look at the Python Discord server description

rugged root
#

Well done

gentle flint
#

thanks

graceful grail
#

^^ walking around walmart.

viscid finch
#

like whatup, i got a big glock

rugged root
#

Dude has to be like 2 feet tall

gentle flint
#

that thing just looks plastic

viscid finch
#

oh i thought it was photoshop

quasi condor
#

my pizza is here o/

rugged root
#

Hey Kat

viscid finch
#

i want pizza 😦

#

bakery doesn't open until 2am tho, so can't get pizza until then

rugged root
graceful grail
#

atomica

rugged root
#

Atomica

graceful grail
rugged root
viscid finch
rugged root
#

One sec, talking to wife

zinc sun
#

sure

graceful grail
#

nuitka

copper stream
#

that is interesting

potent jacinth
hushed elm
#
def f():
  if condition:
    order = 1
  else:
    items = []
  
  print(order)
wicked otter
#

its dead silent in the vc

sand surge
#

Not dead silent

#

you can hear my keyboard

balmy nymph
#

You are muted though

somber heath
#

conjunction vs conjugation

wind narwhal
gentle flint
somber heath
#

"The Boogaloo movement, which is seeped in the irony and self-reference of online groups, has embraced symbols such as Hawaiian shirts and igloos"

gentle flint
#

seeped or steeped?

somber heath
#

Ought to be the latter, indeed.

gentle flint
somber heath
#

I mean...igloos...really?

gentle flint
#

¯_(ツ)_/¯

#

@azure laurel

abstract glen
#

queston guys. How do i make gif pfp here on discord

rugged root
#

I think it requires Nitro

abstract glen
#

Ohh all right

#

i thought it was for free

rugged root
#

I don't think so... granted I've never tried

rugged root
#

Hey folks, how's it going

honest pier
#

you need nitro for that

#

hi hemlock

#

👋

rugged root
#

Figure I'd at least listen to conversations while I scan documents

#

More interesting than music right now

quasi condor
quasi condor
quasi condor
zenith radish
gentle flint
gentle flint
#

consists of flour, sugar, and huge amounts of butter

rugged root
#

@celest sky You might have better luck asking in one of the off-topic channels.

#

We're just in here to relax

#

!ot

wise cargoBOT
fair pulsar
gentle flint
#

^ looks good

whole bear
#

what y'all doing in VC?

gentle flint
#

discussing foods and place names

whole bear
#

noice

#

I have something cool to show

quasi condor
rugged root
#

Rick Rolls from the shadow world

quasi condor
#

Dame Edna ^

whole bear
#

lol

tulip seal
#

wssup

quasi condor
#

Depth perception is the visual ability to perceive the world in three dimensions (3D) and the distance of an object. Depth sensation is the corresponding term for animals, since although it is known that animals can sense the distance of an object (because of their ability to ...

subtle orchid
#

import requests
r=requests.get('https://www.daraz.pk/') #paste your link here
web_status=r.status_code

if web_status == 200:
print("Web is online")

if web_status == 300:
print("Web access is not Available for Guests....Login to check the contents!")

if web_status == 500:
print("Website is down")

#

here is my code

#

my first project

#

i wanna add flavour to it

#

like a box which says paste your link here i wanna make an program which checks if a web is online or down

quasi condor
#

@subtle orchid you're gonna have better luck in a normal help channel. If you want to do this in voice, the probably better off in Code/help and waiting for someone to join

subtle orchid
#

i will definately try to cooperate

quasi condor
#

i'm saying you should join code/help

#

if you have a problem to solve

subtle orchid
#

can't even understand process getting help in voice chat is way to i am not talking rn i am shy rn

edgy zinc
#

I need a project idea....

#

anyone?

#

please...

hollow haven
#

!kindling

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.

edgy zinc
#

ok then

#

Also wut is going on

quasi condor
rugged root
#

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

edgy zinc
#

I just remebered this is a thing

#

oh wait nvm

#

its broken

#

I mean

shy ravine
#
In total, there were 9640 graded submissions, broken down by language as follows:
 3920 C++11
 3052 Java
 1606 C++
  973 Python 3.4.0
   45 C
   44 Python 2.7.6
hollow haven
#

*shifty eyes at the 44 in python 2.7*

edgy zinc
alpine crater
#

one thing you could do is for every element find what you would need to add to that to get target, so target - element and check if it is in the list and get it's index. but the third example were there are 2 of the same value you would need to do something smart to get the right index.

edgy zinc
#
class Solution(object):
    def twoSum(self, nums, target):
        """
        :type nums: List[int]
        :type target: int
        :rtype: List[int]
        """

        for i in range(len(nums)):
            for j in range(len(nums)):
                if j == i:
                    continue
                else:
                    if nums[i] + nums[j] == target:
                        return [i, j]

        return None


p = Solution()
print(p.twoSum([3, 2, 4], 6))
rugged root
#
for i in range(len(nums)):
  for j in range(i, len(nums)):
edgy zinc
#

Approach 2: Two-pass Hash Table
To improve our run time complexity, we need a more efficient way to check if the complement exists in the array. If the complement exists, we need to look up its index. What is the best way to maintain a mapping of each element in the array to its index? A hash table.

We reduce the look up time from O(n)O(n) to O(1)O(1) by trading space for speed. A hash table is built exactly for this purpose, it supports fast look up in near constant time. I say "near" because if a collision occurred, a look up could degenerate to O(n)O(n) time. But look up in hash table should be amortized O(1)O(1) time as long as the hash function was chosen carefully.

A simple implementation uses two iterations. In the first iteration, we add each element's value and its index to the table. Then, in the second iteration we check if each element's complement (target - nums[i]target−nums[i]) exists in the table. Beware that the complement must not be nums[i]nums[i] itself!

#
public int[] twoSum(int[] nums, int target) {
    Map<Integer, Integer> map = new HashMap<>();
    for (int i = 0; i < nums.length; i++) {
        map.put(nums[i], i);
    }
    for (int i = 0; i < nums.length; i++) {
        int complement = target - nums[i];
        if (map.containsKey(complement) && map.get(complement) != i) {
            return new int[] { i, map.get(complement) };
        }
    }
    throw new IllegalArgumentException("No two sum solution");
}
rugged root
#
import webbrowser

webbrowser.open(url_goes_here)
edgy zinc
#
import webbrowser
link = input('Enter a valid website link')

webbrowser.open(link)
rugged root
#
import webbrowser

browser = webbrowser.get('firefox')
browser.open(url_here)
#

@ivory perch

edgy zinc
#
webbrowser.get('Safari').open('https://www.youtube.com')
abstract zealot
edgy zinc
#
browser = webbrowser.get('Safari')
browser.open('https://www.youtube.com')
whole bear
#

@rugged root mic is doing agine

#

ffv spelling lol

rugged root
#

Hmm? Mine?

whole bear
#

no myn

rugged root
#

Oh weird

whole bear
#

no just dont want to get kiked

rugged root
#

!projects @tawdry citrus @whole bear

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.

abstract zealot
#

A no code Gui for python programs

edgy zinc
#

Use Tkinter

#

its a good beginner library for GUI applications or PyGame

rugged root
#

https://pythondiscord.com/ Our website is also made in Django

severe lotus
#

test

rugged root
#

!resources We also have a bunch of great resources on our website

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.

edgy zinc
#

@tawdry citrus try Nylass

hollow haven
#

oh hey the self-bot got banned in ot1

edgy zinc
#

file.json

{
  "PASSWORD": "your password here",
  "EMAIL": "your email here",
}

Code to access it

with open('file.json', 'r') as configs:
  email = configs.get("EMAIL")
  password = configs.get("PASSWORD")
rugged root
#

!resources @whole bear

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.

edgy zinc
#
configs = json.load(open("file.json", "r"))
rugged root
#
import json

with open("file.json") as file:
    config = json.load(file)
hollow haven
#

%

edgy zinc
#
romanConvertions = {
            'I': 1,
            'V': 5,
            'X': 10,
            'L': 50,
            'C': 100,
            'D': 500,
            'M': 1000
        }\
zenith radish
edgy zinc
zenith radish
edgy zinc
rugged root
#

Both really cool

quasi sonnet
lost sapphire
#

WAIT, mac is better than windows?

#

bruh

rugged root
gentle flint
#

electroboom tries this every day

rugged root
#

Heading home, might be back later

honest pier
#

👋

glass fog
#

by cs do you mean cauchy schwartz

edgy zinc
#

yes

#

Cauchy Schwartz inequality

glass fog
#

yea

edgy zinc
#

try this

ivory perch
#

list = ['Step 1 - become sucker', 'Step 2 - become good at it' , 'Step 3 - your throat can hurt a bit']

for i in list:
print(i)

edgy zinc
#

No

#

O

#

OOOO
OOOO

ivory perch
#

?

edgy zinc
honest pier
edgy zinc
#

🔫

gentle flint
#

rip

tough panther
rugged root
#

Sorry one moment, talking to wife

#

Hopping off voice

fervent gulch
#

I need help with my project im waiting at general voice channel please come to help

smoky burrow
#

!warn 755920496671064165 don't spam the same thing in every channel

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied warning to @fervent gulch.

elfin ridge
#
from tkinter import Tk
from tkinter.ttk import *
root = Tk()
# Login in the left
login_frame = Labelframe(root, text='Login', padding=5)
login_frame.grid(column=0, row=0, padx=10, pady=10)
Label(login_frame, text='Username:').grid(column=0, row=0)
Label(login_frame, text='Password:').grid(column=0, row=1)
Entry(login_frame).grid(column=0, row=2)

# Search
search_frame = Labelframe(root, text='Search', padding=5).grid(column=1, row=0)
# ISSUE HERE
Label(search_frame, text='Anime title:').grid(column=0, row=0)
search = Entry(search_frame, width=100)
search.grid(column=2, row=0)
Button(search_frame, text='Search', command=lambda: find(search.get())).grid(column=0, row=1, padx=5, pady=5, columnspan=2)

root.mainloop()
#
Label(search_frame, text='Anime title:').grid(column=0, row=0)
white hamlet
#

from pyglet.window import Window, key

elfin ridge
#

Issue solved, it was me, the idea was correct, just did something wrong

#

correct code is:

from tkinter import Tk
from tkinter.ttk import *

root = Tk()
# Login in the left
login_frame = LabelFrame(root, text='Login', padding=5)
login_frame.grid(column=0, row=0, padx=10, pady=10)
Label(login_frame, text='Username:').grid(column=0, row=0)
Label(login_frame, text='Password:').grid(column=0, row=1)
Entry(login_frame).grid(column=0, row=2)

# Search
# Wrong code was 
# search_frame = LabelFrame(root, text='Search', padding=5).grid(column=1, row=0)
# search_frame should be Labelframe, but instead it got the returned value from .grid() that was called later.
search_frame = LabelFrame(root, text='Search', padding=5)
search_frame.grid(column=1, row=0)
# ISSUE Solved, 
Label(search_frame, text='Title:').grid(column=0, row=0)
search = Entry(search_frame, width=100)
search.grid(column=2, row=0)
Button(search_frame, text='Search', command=lambda: find(search.get())).grid(column=0, row=1, padx=5, pady=5, columnspan=2)

root.mainloop()
velvet mica
#

can i get clearence to share my screen please

#

im i na chat

#

and takign a quiz

#

that is timed with 13 minutes left

#

and i need helo

#

help

#

its like intro and im reading the textbook rn

#

but i need to trun this in tonight

#

Which of the following is NOT a valid C++ identifier?

#

_1user
April2018
theLittleBrownFoxWhoRanAway
1user
employee_number

slow hatch
#

1user

#

not _1user

velvet mica
slow hatch
#

that's what i am saying the 3rd option

velvet mica
#

theltitelbrownfox

#

ok

slow hatch
#

const double TAX_RATE = 0.75

velvet mica
somber heath
#

@tall grail https://en.m.wikipedia.org/wiki/List_of_ISO_639-2_codes Is this what you needed?

ISO 639 is a set of international standards that lists short codes for language names. The following is a complete list of three-letter codes defined in part two (ISO 639-2) of the standard, including the corresponding two-letter (ISO 639-1) codes where they exist.
Where two I...

somber heath
#

[x for x in range(10)]

#

[0,1,2,3,4,5,6,7,8,9]

#

[x for x in range(1000)]

#

[*range(1000)]

#

[(x,y) for x in range(10) for y in range(10)]

#

{a:str(a) for a in range(10)}

somber heath
#

buildozer

#

kivy launcher

gentle flint
#

An empty voice chat?

#

wtf

wind cobalt
#

It's the apocalypse

gentle flint
#

I notice

#

I'll expect to see trees flying past my window shortly.

wicked otter
#

yep

#

@charred nacelle srry dude

charred nacelle
#

its all good

#

do you want to do a dm call so i can stream the code

wicked otter
#

sure

#

@charred nacelle dude i cant even see a thing and ur voice is breaking as hell

#

maybe its the internet here

charred nacelle
#

shit

#

lemme post the code into here

wicked otter
#

@somber heath

#

need help

somber heath
#

Mhm?

severe elm
#

def function(a, b, c):
x = a+b+c
return x

print(function(1, 2, 3))

#

function (input, regex, e) =>{};

lusty marsh
solid atlas
#

[x for x in range(10)]

#

print("\n".join([x for x in range(10)])

#

print(i) if i % 2 else continue

#

print(i) if i % 2

#

i += 1

#

print(i) if i % 2 == 0

lusty marsh
#
GOTO 30
30: RETURN
    END
gentle flint
#

argh
windows decided to overwrite my GRUB bootloader
this was my daily contribution to this channel

quasi condor
quasi condor
wind cobalt
#

i like royale with cheese

honest pier
#

number 9 large

#

two number 45s

#

1 with cheese

#

and a large soda

quasi condor
#

Shane Dawson ^

honest pier
#

who

swift valley
#

Not a fan of said person lol

#

He comes off as insane to me somehow

quasi condor
#
first_thing_in_every_list = [x[0] for x in your_nested_lists]```
zenith radish
#

[0][0] [1][0] [2][0]

wind cobalt
#

use dict

zenith radish
#

use a struct

twilit lagoon
#

nums[1:5][0]

tough panther
#

[b[n] for b in a]

hollow haven
#

@whole bear can you mute?

whole bear
#

Sorry, my phone's speaker is always really poor quality

rugged root
#

No worries

wind cobalt
#

what is a higher-order function in python?

tidal junco
rugged root
tidal junco
#

@rugged root what do you think about this funny code I sent haha

wind cobalt
#

check disk health

rugged root
#

Well it's certainly a thing, Nek

fleet kettle
#

asus q524uqk

honest pier
#

when you ask your teacher for the zoom password but it's wrong

tidal junco
#

haha

quasi condor
#

can someone @ me when the SSD talk is done with?

wind cobalt
#

@quasi condor

rugged root
#

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

rugged root
#

@twilit lagoon Do you have the error?

twilit lagoon
rugged root
#
# imagine that the values are functions
commands = {
  1: bacon,
  2: spam,
  3: pork
}

commands[1]()

@wind cobalt

wind cobalt
#

i still don't understand why we do it

rugged root
#

So in this case it would essentially become bacon()

wind cobalt
zenith radish
rugged root
#

!e

name = "Steve"
food = "ham"

print(f"Hello, I'm {name}!  I love me some {food}.")
wise cargoBOT
#

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

Hello, I'm Steve!  I love me some ham.
hollow haven
#

read, eval, print, loop = REPL

zenith radish
#

2+2

#

4

wind cobalt
#

in 1984, 2+2 = 5

#

things changed since then

#

or did they?

#

Dart and Golang

rugged root
#

!e

name = "Steve"
food = "ham"

print(f"Hello, I'm {name}! I love me some {food}.")
print("Hello, I'm " + name + "! I love me some " + food + ".")
print("Hello, I'm {}! I love me some {}.".format(name, food))
print("Hello, I'm %s! I love me some %s." % (name, food))
wise cargoBOT
#

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

001 | Hello, I'm Steve! I love me some ham.
002 | Hello, I'm Steve! I love me some ham.
003 | Hello, I'm Steve! I love me some ham.
004 | Hello, I'm Steve! I love me some ham.
#

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

hollow haven
#

pipenv is nice to use

wind cobalt
#

-the guy who wrote C++

#

damn nematodes

twilit lagoon
#
<generator object moons.plot.<locals>.<genexpr> at 0x0000020F5F5917B0>
#
        for s in ss:
            pos = self.fpos()
            xs.append(p[0] for p in pos)
            ys.append(p[1] for p in pos)
            zs.append(p[2] for p in pos)
wind cobalt
#

C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do it blows your whole leg off.

#

"There are only two kinds of languages: the ones people complain about and the ones nobody uses"

rugged root
#

!e

def spam():
    print("I'm inside the inner function!")

def wrapper(func):
    def new_func():
        print("starting inner function")
        func()
        print("leaving inner function") 
    return new_func

bacon = wrapper(spam)
bacon()
wise cargoBOT
#

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

001 | starting inner function
002 | I'm inside the inner function!
003 | leaving inner function
hollow haven
#

decorators are magic

tough panther
#

no, they are not

#

they are just syntax for wrappers

rugged root
#
@wrapper
def spam():
    print("I'm inside the inner function!")
hollow haven
#

syntactic sugar~

fleet kettle
#

!e
def spam():
print("I'm inside the inner function!")

def wrapper(func):
print("starting inner function")
func()
print("leaving inner function")

bacon = wrapper(spam)
bacon()

wise cargoBOT
#

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

wind cobalt
#

sugar causes diabetes

hollow haven
#

sugar doesn't cause diabetes though?

rugged root
#

Currying

quasi condor
#

in a roundabout way it sorta does. Higher calorie intakes cause diabetes, and sugar has lots of calories

hollow haven
#

yeah, but that's usually not from sugar alone. Fat has a lot of calories, sugar doesn't really.

#

Like, people aren't addicted to just granulated sugar. It's the combo of fat + sugar + salt that makes food hyper-pallatable

wind cobalt
#

but sugar can cause diabetes

#

and sugar is addicting

rugged root
#

@frank falcon I don't think so. For data analyses stuff you might want to ask in #data-science-and-ml

glad canyon
rugged root
#

Any time!

glad canyon
#

Sugar does cause diabetes

rugged root
#

Sorry, my voice is shot

hollow haven
#

I do agree that there is probably too much sugar and sweeteners added in today's food

frank falcon
#

drink honey with salt

wind cobalt
#

American sugar has freedom

#

European sugar has bureaucracy

hollow haven
#

Food science as a whole has a lot of issues with scientific publications and "sponsorships"

glad canyon
#

Yeah, quite a bit of bias/lobbying involved.

wind cobalt
#

what happened to peer review

#

this is why we need sci-hub to show to those science people

rugged root
#

@wind cobalt Nice Family Guy reference

wind cobalt
#

indeed

rugged root
#

@hollow haven Lantern batteries

hollow haven
#

_> I usually just do can straight to mouth so I rarely notice the texture difference

wind cobalt
quasi condor
#

Sugar is the generic name for sweet-tasting, soluble carbohydrates, many of which are used in food. Table sugar, granulated sugar, or regular sugar, refers to sucrose, a disaccharide composed of glucose and fructose.
Simple sugars, also called monosaccharides, include glucose,...

wind cobalt
#

would you rather eat a baby goat or a matter baby?

wind cobalt
rigid nest
wind cobalt
#

biology 101

rugged root
#

Can't talk anymore now, our intern is back here and I don't want to disturb him

#

I'll still listen for a bit, though

hollow haven
#

have him join the discord =P

rugged root
#

I would if one of our partners wasn't making him try to learn so much

whole bear
stuck furnace
#

Acrylamide (or acrylic amide) is an organic compound with the chemical formula CH2=CHC(O)NH2. It is a white odorless solid, soluble in water and several organic solvents. It is produced industrially as a precursor to polyacrylamides, which find many uses as water-soluble thic...

rugged root
#

Deep fry some butter

#

Flash fry

#

Do it really quick

stuck furnace
#

Deep fried mars bars in Scotland.

wind cobalt
#

Deep fried mars bars in Scotland.
@stuck furnace tasty healthcare

rugged root
#

I've had deep fried Oreos

#

It was okay, not great though

wind cobalt
#

deep fry in animal fat

#

better than plant fat

#

plant fat higher chance that animal fat

stuck furnace
#

You always hear people talking about stupid EU laws, but I've never actually seen any.

wind cobalt
#

open the eu website then

#

or something

#

im asian

tough panther
stuck furnace
#

Surely if it seems stupid to you, it would almost certainly seem stupid to the law-makers, who are generally smart people.

#

There are some pretty crazy historical laws in the UK 😄

wind cobalt
#

sedition laws

stuck furnace
wind cobalt
#

chemical castration

stuck furnace
#

Alan Turing

rugged root
#

Was forced to do it, yes

#

@hollow haven Erotic banana talk

#

Yeah. Like I said

wind cobalt
#

dismantle governments

stuck furnace
#

There's even a word for it: https://en.wikipedia.org/wiki/Euromyth

The term euromyth is used to refer to exaggerated or invented stories about the European Union (EU) and the activities of its institutions, such as purportedly nonsensical EU legislation.Conversely, the same term has been applied by Eurosceptics to purportedly misleading or ex...

wind cobalt
#

and create a communist utopia

rugged root
#

Euromyth would be an awesome band name

wind cobalt
#

Eurometh is a cool name for a drug

rugged root
#

@graceful grail Just get a vasectomy

#

Ah, gotcha

stuck furnace
#

Can we change the subject? 😄

rugged root
#

Yeah proooooobably time to swap topics

#

It was yeah

#

Eugenics

#

It's more than that

quasi condor
#

the study of how to arrange reproduction within a human population to increase the occurrence of heritable characteristics regarded as desirable.

rugged root
#

Which is fucked up

#

That's.... not what I was saying

#

Like at all

wind cobalt
#

why not?

#

it can breed racism tho

rugged root
#

Racism, classism

#

All kinds of stuff, it's not a valid system.

#

@tough panther @graceful grail Either way, new topic

#

@quasi condor Stop

#

Stop now

#

Shit falls apart when I can't friggin' talk

wise cargoBOT
#

Hey @wind cobalt!

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.

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

rugged root
#

@honest pier You're coming in really quiet

honest pier
#

oop

#

moved my mic away :(

wind cobalt
#

@honest pier is eeviill

graceful grail
#
"""fibonacci sequence"""

def fib(runs):
    """main function"""
    num_a, num_b = 0, 1
    while num_a < runs:
        print(num_a, end=' ')
        num_b, num_a = num_a, num_a + num_b
fib(1000)```
rugged root
#

Yes

#

Please

meager crow
#

def fib(n):
if n == 1 :
return 1
elif n == 2:
return 1
else:
return fib(n-1) + fib(n-2)

print(fib(8))

rugged root
#

Better for Python specifically

#

Oh derp, right

#

Sorry, tired

#

But either way guys, if it's Python explanations, please take it to the Code/Help voice channel

#

That's why we have the separate ones

#

Same stuff we do in Off-topic

#

It's a chillout

#

It's compiled to bytecode

#

Then the interpreter takes that bytecode and tells the computer to do stuff

#

@graceful grail

graceful grail
#

@rugged root

rugged root
#

Yes

#

That

#

It's really not

#

It's fine

#

I'm so frustrated that I can't talk right now

wind cobalt
#

relax bro

rugged root
#

I really don't want to listen to another language war

#

Such a headache

#

That

#

Listen to Kat

#

@whole bear Stop

wind cobalt
#

apes together stronk

#

"There are only two kinds of languages: the ones people complain about and the ones nobody uses"

rugged root
#

Like Kat just said, it's named after Monty Python

wind cobalt
#

like global interpreter lock

#

scaryyy

rugged root
#

Also why examples use spam

#

Yep

#

I swear to god

#

JavaScript wasn't always called JavaScript

old kelp
#

A huge thick ||Python||

rugged root
#

Correct

wind cobalt
#

Java together crash

rugged root
#

So tired of this shit

#

I'm trying to moderate

#

Since the topics have been rather sketchy at times

old kelp
#

Ok

wind cobalt
#

it's a universal truth

rugged root
#

I swear to god, next mention of "I hate Java" WILL get muted

#

Please don't

#

Just fucking..... talk about games

#

Something else

old kelp
#

C++?

wind cobalt
old kelp
#

What?

#

im 15

rugged root
#

Well

#

Yes

wind cobalt
#

im miserable

rugged root
#

Better that than passing it to other people

hollow haven
#

welp, I feel super old now

rugged root
#

I'm 30

wind cobalt
old kelp
#

Your level 7?

#

wtf

rugged root
#

Stop

#

I shouldn't even have to fucking say that

#

It's made by Microsoft

#

And it's primarily aimed for it

wind cobalt
#

.NET used to be windows exclusive

#

now .NET Core is multi-platform

rugged root
#

Which honestly is pretty cool

#

@graceful grail Better to wait it out, let them get burnt out and have them fix stuff up

#

I am

wind cobalt
#

PS5 ftw

rugged root
#

@whole bear

#

I am 30

#

That's what I was saying

rugged root
#

They're not bad

old kelp
#

Hair?

wind cobalt
old kelp
#

SURE

rugged root
#

Hair band

#

That's Steel Panther

old kelp
#

Thats a girl band

wind cobalt
#

I like Weird Al Capon

rugged root
#

Kind of hard to read, though

wind cobalt
#

or something

old kelp
#

Wtf

rugged root
#

They're not bad

wind cobalt
#

I like TransistorLegs

rugged root
#

It's never been my thing

#

Like 90's hip hop was fun

#

It was so goofy

#

Lo-fi is a good choice for it

#

Nice and calm

wind cobalt
#

the message was good

rugged root
#

Same

#

Yeah, lyricless stuff is best for coding

wind cobalt
#

i just listen to white noise

rugged root
#

Same

wind cobalt
#

and the sounds of the C compiler doing its things

rugged root
#

It's what I'm doing now, in fact

wind cobalt
#

1010101

#

white noise kinda nice

rugged root
#

I'm glad you feel comfortable enough to hang with us

old kelp
#

Nah

rugged root
#

Imperial

wind cobalt
#

hey hovercraft

gentle flint
#

hey

wind cobalt
#

i have some spices

gentle flint
#

i have a nonworking bootloader

#

hurrah

wind cobalt
#

;p;

#

lol

rugged root
#

Weirdly TVs and Computer monitors are also measured in inches

#

No idea why

gentle flint
#

ye idk why

wind cobalt
#

the numbers look much better

rugged root
#

I have one

#

They're fun

gentle flint
#

I have an Apple Pi

rugged root
#

Wait

#

Is that actually a thing, Sonic?

gentle flint
#

no

wind cobalt
#

I have a Sheppard's Pie

gentle flint
#

lol

rugged root
#

Dang

wind cobalt
#

it runs in the microwave

gentle flint
#

^^^

old kelp
#

^^

rugged root
#

@tough panther Don't be sarcastic

#

Let people be excited

#

Oh my god

#

Just

#

Let people be stoked about cool stuff

#

No

#

No no no

#

Nooooo no no

#

The issue with that is that people will be incredibly dismissive

#

Yeah it's not a good idea, plenty of people would just be like "I'm not wasting my time" which is really shitty

gentle flint
#

it's actually a thing!

#

just googled it

wind cobalt
#

cool

rugged root
#

Also no

wind cobalt
#

just make smart-sounding noises

gentle flint
#

raspberry pie

wind cobalt
#

and people will try to correct you

#

ez

gentle flint
#

just say windows is best

wind cobalt
#

Windows break

rugged root
#

Hnnngggg

gentle flint
#

disclaimer: I do not think that Windows is best

rugged root
#

Please don't start an OS war

#

I don't need the migraine

gentle flint
#

lol

rugged root
#

Like the food or...

wind cobalt
gentle flint
#

mhm

#

shutters are better

rugged root
#

Huh, didn't realize that

#

I know that feeling

#

No preeeeeeeetty sure it's sarcasm

#

God I hope so

#

No no

#

The Chrome OS thing

wind cobalt
rugged root
#

Thank god

gentle flint
#

what fun

rugged root
#

Yeah, they have apps

wind cobalt
#

hard disk problem probably

gentle flint
#

I know

#

windows decided to be clever

rugged root
#

@tough panther I mean, for people who don't do much else, it's not a bad option

gentle flint
#

and overwrote my entire bootloader

rugged root
#

That's not uncommon

#

A lot of thin laptops don't have an ethernet port

wind cobalt
#

*pat windows on the back

rugged root
#

The laptops we bought as spares for work don't have ethernet ports

gentle flint
#

O_O

rugged root
#

I don't think it's technically possible

#

Since scratch needs an interpreter I think?

#

Ugh.... hate the Temple OS meme...

gentle flint
#

starts an OS war about TempleOS

rugged root
gentle flint
#

Hemlock's migraine intensifies

wind cobalt
#

and loses

gentle flint
rugged root
#

Quantum isn't really what would be needed for that

wind cobalt
gentle flint
#

^ true

rugged root
#

Is it on Netflix?

#

-sighs-

gentle flint
#

opens up Tor

wind cobalt
#

Torrent

gentle flint
#

i will torrent bill gates and dismember him

rugged root
#

Odd choice

#

Very creepy

gentle flint
#

for ruining my linux install

#

albeit indirectly

old kelp
#

It's Milky

rugged root
#

Who asked?

#

I didn't see

wind cobalt
#

dismember Satya Nutella

rugged root
#

Well

gentle flint
#

nutella?

#

honestly?