#voice-chat-text-0

1 messages ยท Page 944 of 1

molten pewter
mint canyon
#

wrong audio output lol

#

thanks

molten pewter
woeful salmon
#

!e

print(256)
print(int("100000000", 2))
print(int("100", 16))

@molten pewter

wise cargoBOT
#

@woeful salmon :white_check_mark: Your eval job has completed with return code 0.

001 | 256
002 | 256
003 | 256
oak gazelle
#

!voice verify

#

!voice verify

stable axle
#

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

stable axle
#
def __init__(self, name):
  self.name = name
  self.chicken = method()
#
    '''
    constructs a player data object that is saved to player_data.json
    
    :id: user id to request data from osu api
    '''
#
@unique
class ApprovedState(IntEnum):
gentle flint
#

Quick, step by step tutorial on how to disassemble the Logitech g pro wireless

I live stream on Youtube almost every night starting around 7-8pm Pacific Time

Follow me on Instagram
https://www.instagram.com/snipeyhaha/
Follow me on Twitch:
https://www.twitch.tv/snipeyhaha

Shop Ebay: 1 yr Xbox live under $50!!!
https://ebay.to/2Xh4kki
$6 Games...

โ–ถ Play video
stable axle
#

!index

wise cargoBOT
#

Indentation

Indentation is leading whitespace (spaces and tabs) at the beginning of a line of code. In the case of Python, they are used to determine the grouping of statements.

Spaces should be preferred over tabs. To be clear, this is in reference to the character itself, not the keys on a keyboard. Your editor/IDE should be configured to insert spaces when the TAB key is pressed. The amount of spaces should be a multiple of 4, except optionally in the case of continuation lines.

Example

def foo():
    bar = 'baz'  # indented one level
    if bar == 'baz':
        print('ham')  # indented two levels
    return bar  # indented one level

The first line is not indented. The next two lines are indented to be inside of the function definition. They will only run when the function is called. The fourth line is indented to be inside the if statement, and will only run if the if statement evaluates to True. The fifth and last line is like the 2nd and 3rd and will always run when the function is called. It effectively closes the if statement above as no more lines can be inside the if statement below that line.

Indentation is used after:
1. Compound statements (eg. if, while, for, try, with, def, class, and their counterparts)
2. Continuation lines

More Info
1. Indentation style guide
2. Tabs or Spaces?
3. Official docs on indentation

plucky mural
#

annoyance innit

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.

plucky mural
#

ohh

#

alright thanks

#

yes opal mist on his 20's

#

๐Ÿ˜Ž

#

just another smart man helping people out on the internet

#

age is of no concern lmao

#

who cares

#

help is help, opalmist is cool, that's it

gentle flint
plucky mural
#

im his fan ngl

stable axle
sleek brook
stable axle
#
class teams
  def method(thing):
    #code that returns something using (thing)

  def __init__(self, name):
    self.name = name
    self.attribute = method(thing)
#
class Person:
  def __init__(mysillyobject, name, age):
    mysillyobject.name = name
    mysillyobject.age = age

  def myfunc(abc):
    print("Hello my name is " + abc.name)

p1 = Person("John", 36)
p1.myfunc()
somber heath
#

!e py a = [] b = [] c = a print(a == b) #They are both empty lists print(a is b) #But they are not the same list print(a is c) #Both a and c point to the same list instance.

wise cargoBOT
#

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

001 | True
002 | False
003 | True
stable axle
#

identity = self

somber heath
#

!e py a = [] b = [] c = a print(id(a)) print(id(b)) print(id(c))

wise cargoBOT
#

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

001 | 139827553721920
002 | 139827553847616
003 | 139827553721920
stable axle
#

!e

taco = 1
print(id(taco))
wise cargoBOT
#

@stable axle :white_check_mark: Your eval job has completed with return code 0.

139793617240304
stable axle
#

def(taco=1)

#

print(h9aehf9ahifhjaio(taco=1))

somber heath
#

!e py print(1, 2, 3, sep="*")

wise cargoBOT
#

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

1*2*3
stable axle
#

!e

print(1, 3, 3947819287489, sep="|")
somber heath
#
def myprint(*args, sep=None):
    ...```
stable axle
#

!e

print(1, 3, 3947819287489, sep="|")
wise cargoBOT
#

@stable axle :white_check_mark: Your eval job has completed with return code 0.

1|3|3947819287489
stable axle
#

!e

print(1, 3, 3947819287489, sep="-|-")
wise cargoBOT
#

@stable axle :white_check_mark: Your eval job has completed with return code 0.

1-|-3-|-3947819287489
somber heath
#

!e ```py
class MyClass:
def test(self, v):
print(self is v)

a = MyClass()
a.test(v = a)

b = MyClass()
a.test(b)```

wise cargoBOT
#

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

001 | True
002 | False
stable axle
#
class Person:
  def __init__(mysillyobject, name, age):
    mysillyobject.name = name
    mysillyobject.age = age

  def myfunc(abc):
    print("Hello my name is " + abc.name)

p1 = Person("John", 36)
p1.myfunc()
#

myfunc()

somber heath
#

!e py print("text".upper()) print(str.upper("text"))

wise cargoBOT
#

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

001 | TEXT
002 | TEXT
stable axle
#

class Class(oieafiojawiodfj):

somber heath
#

!e ```py
class A:
name = "A"
def say(self):
print(self.name)

class B(A):
name = "B"

a = A()
a.say()

b = B()
b.say()```

wise cargoBOT
#

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

001 | A
002 | B
stable axle
#
class Teams:
  '''
  constructs a team object to then be used in the website
  
  parameters:
  
  match_name : string
    the match name(it needs to target a match)
  
  name : string
    the team name
  
  '''
  def __init__(self, match_name, name):
    with open(f"{match_name}") as f:
      match_data = json.load(f)
    self.name = name
    self.score = team_score(match_name, name)
woeful salmon
#

๐Ÿ˜ข i just took the dumbest L of my life @somber heath

somber heath
#

???

woeful salmon
#

i fell asleep with my headset on and snapped it in half in sleep

#

๐Ÿ˜ฆ

somber heath
#

I mean...damn.

#

I'm sorry to hear that.

woeful salmon
#

it is both sad and nice cuz

#

it was old and breaking down anyway so i wanted new one

#

but sad cuz i can't talk today

#

in vc

stable axle
#
"team metadata": {}
for team in match_data["team metadata"].keys():

      team_data = Teams(team, match_data)
somber heath
stable axle
#
    for team in match_data["team metadata"].keys():

      team_data = Teams(team, match_data)
      
      team_users = team_data.users

      teams[team] = [team_score(team), team_players(team)]
      
      teams_score_data[team] = team_score(team)
woeful salmon
somber heath
#

I've identified a seed for my next name suggestion idea.

woeful salmon
#

like i could repair it probably but way too much effort for something which is already breaking down

woeful salmon
#

what is it

somber heath
#

Seed. Not a fully grown idea.

woeful salmon
#

ah ok

somber heath
#

Not yet arrived at.

#

!e ```py
class MyClass:
def init(self):
print(self)

a = MyClass()
print(a)```

wise cargoBOT
#

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

001 | <__main__.MyClass object at 0x7f55b13acf10>
002 | <__main__.MyClass object at 0x7f55b13acf10>
stable axle
#
def __init__(self, match_name):
    with open(f"{match_name}") as f:
      match_data = json.load(f)
    self.score = team_score(match_name)
teal river
#

@somber heath idk why i am suppressed( cant speak), but hi, i have just joined this server.

stable axle
wise cargoBOT
#

Voice verification

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

teal river
#

!voice

#

alright thanks.

stable axle
#
class MatchName:
  def __init__(self):
    return(self)
cosmic lark
#

can i interact with windows registry using python?

somber heath
#

!e ```py
class MyClass:
def init(self):
return "Computer says no."

MyClass()```

wise cargoBOT
#

@somber heath :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 5, in <module>
003 | TypeError: __init__() should return None, not 'str'
somber heath
#
class Thing:
    pass```
stable axle
#

a = Thing()

wise cargoBOT
#

@dry dawn :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 5, in <module>
003 | TypeError: __init__() should return None, not 'str'
#

@dry dawn :warning: Your eval job has completed with return code 0.

[No output]
stable axle
#
class Teams:
  '''
  constructs a team object to then be used in the website
  
  parameters:
  
  match_name : string
    the match name(it needs to target a match)
  
  name : string
    the team name
  
  '''
  def __init__(self):
    with open(f"{match_name}") as f:
      match_data = json.load(f)
    self.score = team_score(match_name)
lusty marsh
#
from silicium_web import Text, HTML


html = HTML()

Text(html, text="Hello, Silicium!")
Text(html, text="Silicium is a progressive, infinitely scalable Python web-framework.")

html.run()
robust dragon
#

Well hello there

#

wha...

#

I am so confused

#

Hi

#

Whats up

#

:o

#

Sounds cool

#

you are @stable axle right?

#

My discord is bugging

#

And I can't see who is talking

#

xd

#

sorry man

#

:0

#

Yea

#

Thank you XD

#

I didn't know bout that

sturdy panther
#

The good old "turning it on and off again"

stable axle
#

its a caching thing

#

it happens more on servers like these

#

because there is a lot more going on

robust dragon
#

It seems like it

#

I was confused when someone joined who was talking

#

whats your github :)

#

Am I dub

#

I can only see your portfolio

#

ahhh

#

I think I need to sleep some more xd

#

But I am there

#

xd

#

Sorry

#

Let me know when you commit your changes

#

Sounds good,

#

I won't lie to you

#

II'm not sure I'll be able to contribute really xd

#

But I'll watch it,

#

I know

#

But I do want something to work on, "to gain experience" if you will

lusty marsh
#

../mydir

robust dragon
#

It is rather\

#

You on windows or linux Samimies?

#

nah, it doesn't really

#

../../

#

yea you would use what samimies said

#

You can use either slash

#

Yea xd

lusty marsh
#

\\

robust dragon
#

Windows likes the backslash for it directories

#

its dumb

stable axle
#

osu-api--crap\crap

team_crap.py

#

osu-api--crap\matches

example team match.json

#

f"../matches/{match_name}"

robust dragon
#

in python right?

#

maybe use os?

stable axle
#

FileNotFoundError: [Errno 2] No such file or directory: 'example team match.json'

robust dragon
#

like

dir_ = os.path.dirname(__file__)
file_dir = os.path.join(dir_, '..', 'path', 'to', 'file')
stable axle
#
  with open(f"../matches/{match_name}") as f:
    match_data = json.load(f)
sturdy panther
#

print(dir_) somewhere just to be sure?

lusty marsh
#
  with open(f"\"../matches/{match_name}\"") as fh:
    match_data = json.load(fh)
sturdy panther
#

Can I suggest using pathlib?

robust dragon
sturdy panther
#
file_path = pathlib.Path().parent / "matches" / match_name
print(file_path)
with file_path.open() โ€‹as fh:
    match_data = json.load(fh)
#

import pathlib

robust dragon
#

brb

stable axle
#

FileNotFoundError: [Errno 2] No such file or directory: 'example team match.json'

robust dragon
#

sup

#

back

#

Solved?

woeful salmon
sturdy panther
#

Oh. Should've been pathlib.Path(__file__) because you wanted script directory.

woeful salmon
#

ye

sturdy panther
#

Ooh, pathlib has globbing too.

robust dragon
#

working yet?

#

xd

#

GD?

sturdy panther
#

If this voice chat is anything to go by, programming = frustration!

whole bear
#

voice verfication is not working, can anyone help me?

robust dragon
#

xxxdddddd

robust dragon
#

It'll tell you what you are missing

whole bear
robust dragon
#

:)

#

You got it now?

whole bear
#

It's empty

robust dragon
#

wat

#

really???

#

Screenshot?

sturdy panther
#

Need to have preview on to see some bot responses.

robust dragon
sturdy panther
#

"Text and Images" -> "Show website preview ..."

whole bear
#

Ohhh

#

Yeah i see the mistake

#

I have to write more than 50 messages an the on the server for 3 day

sturdy panther
#

I see nothing with those bot commands.

lusty marsh
gentle flint
#

also you need to be in the server for 72 hours

lusty marsh
robust dragon
lusty marsh
frosty star
#

interessant

lusty marsh
#
from silicium_web import Text, HTML, DefaultTheme


html = HTML()

DefaultTheme(html)
Text(html, text="Hello, Silicium!")
Text(html, text="Silicium is a progressive, infinitely scalable Python web-framework.")

html.run()
languid furnace
#

pipip

lusty marsh
#

git clone "https://github.com/SamimiesGames/silicium.git"

#

pip install -e .

languid furnace
#

import this

#

python -m install pip?
sudo apt-get install pip

#

brew install pip

languid furnace
#

model view model (pattern)

#

controller view controller

frosty star
#

I use vscode + bash

languid furnace
#

there comes ssh

stuck sky
#

can i get help in deployment of

#

django site

languid furnace
#

for what

stuck sky
#

i mean

#

can i get help

#

XD

languid furnace
#

why aryan? is that name? where are you from

#

it sounds like name from my home tribe

stuck sky
#

India

languid furnace
#

i see, then it's not my tribe

stuck sky
#

lol

languid furnace
#

i can't help with django. maybe you want flask or fastapi?

stuck sky
#

i just wanted to know

#

how can i deploy in hostinger

#

i'll do the django side work

#

np

languid furnace
#

something like heroku?

stuck sky
#

nah

#

it isnt free

#

xD

languid furnace
#

i suppose, you can write tech support then for money

#

i mean, since you're already payed them

stuck sky
#

their work was to giving

#

a machine to host

whole bear
#

hlo there in vc

verbal hemlock
#

:{}

stuck sky
#

not to teach deployment in django

whole bear
languid furnace
#

Django the unchained one

#

(haha)

#

(ha)

whole bear
#

windows -> its been a long time for me

languid furnace
#

why you're came back

whole bear
#

what

lusty marsh
#

&theme=tokyonight

gentle flint
#

@whole bear please never ever make that sound again

#

thanks

frosty star
#

hi oof

woeful salmon
#

๐Ÿ‘‹

frosty star
#

noodles

#

how u been

woeful salmon
#

๐Ÿ˜ข i fell asleep with my headset and now the wire is snapped + the actual head part is also in multiple parts

frosty star
#

also hi everyone ~

woeful salmon
#

idk what i did in sleep but damn is it broken

#

lol

#

ordered new one for day after tommorow

#

๐Ÿ˜ฆ

frosty star
#

damnn that sucks

#

what dchu get

woeful salmon
#

same cheap local brand

#

cuz it worked nice for me for quite a while

frosty star
#

well if it works it's as good as any other brands

#

dyou have amazon in india?

woeful salmon
#

yep

frosty star
#

do u have the fast shipping prime subscription also?

woeful salmon
#

i buy cheap stuff anyway tho
i'm a person who loves gaming but haven't baught a new gaming pc even though my gpu is also dying
and i have the money

woeful salmon
#

if i had prime

frosty star
woeful salmon
#

i'm just waiting till this laptop literally one day goes black screen and doesn't even boot anymore

#

then i shall buy new pc

#

lol

frosty star
woeful salmon
#

๐Ÿ‘€ i wish discord had vim bindings

#

i keep pressing for example re to replace character under cursor with e to fix my typos
and then i have to fix that as well cuz it isn't a thing here

frosty star
#

hi jat

#

bye jat

gentle flint
#

well wow

woeful salmon
#

๐Ÿ‘€ i found an electron plugin for vim keybinds so it isn't even hard

#

i wish discord allowed 3rd party clients

frosty star
#

noodles are u in the VC?

woeful salmon
#

nope

frosty star
#

oh okay. i tot it was the bug thing

woeful salmon
#

i'm sitting in my balcony

#

don't want all my neighbors just listening to you guys xD

frosty star
#

oh yeah n ur headphones broke too ๐Ÿ˜ฆ

woeful salmon
#

so how's learning vim going btw

#

you got to buffers, tabs, splits and sessions yet?

frosty star
#

HaHaaa ok so I went on a vacation

#

so now I forgot everything

#

@lusty marsh wchu workin on

woeful salmon
#

its way easier to re-learn something

frosty star
#

ooooh cool

woeful salmon
#

๐Ÿ‘€ what tell me too

#

i'm curious

frosty star
#

do u speak french?

#

hah

#

i gotchu i gotchu

lusty marsh
#
from silicium_web import Text, HTML, DefaultTheme


html = HTML()

DefaultTheme(html)

Text(html, text="Hello, Silicium-web!")
Text(html, text="Silicium-web is a progressive, infinitely scalable Python web-framework.")

html.run()

frosty star
#

it's a web framework?

lusty marsh
#
class Component(AbstractComponent):
    def __init__(self, parent, add: bool = True, **kwargs):
        for name, value in kwargs.items():
            setattr(self, name, value)

        if not add:
            return

        if isinstance(parent, AbstractComponent):
            parent.children.append(self)
        else:
            parent.builder.add_component(self)

    @property
    @abstractmethod
    def code(self) -> str:
        ...

frosty star
#

it's looks kinda like JS

#

javascript

#

oh

#

i see

lusty marsh
#
from silicium import Component


class Text(Component):
    build_target = "html"
    text: str

    @property
    def code(self) -> str:
        return f"<p>{self.text}</p>"

frosty star
#

well i gtg. good luck on silicium @lusty marsh

robust dragon
#

@wind plinth you k bro?

frosty star
#

andd im back

primal yacht
woeful salmon
woeful salmon
#

to the point my mobile is like 8 years old
everything else i own except for clothes is even older

#

i stopped watching tv so even sold that

#

lol

primal yacht
#

omg Windows... AGAIN??

#

Like how many times is it not redirecting back to Headphones -.-'

primal yacht
topaz thistle
#

Do I have 50 messages to be able to speak now?

#

thats a lot !

primal yacht
#

!voice

wise cargoBOT
#

Voice verification

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

topaz thistle
#

should be 20 or less =(

primal yacht
#

See the channel, type command in channel, read bot message that it DM'd you with

sturdy panther
#

May be... that Realtek driver overriding Windows defaults.

primal yacht
#

bottom two

#

When using a Steam feature, sometimes it refuses to undo itself

sturdy panther
#

Didn't know Steam adds audio devices.

primal yacht
#

it's for that

#

Allows routing audio to other devices

#

and I do mean other devices

sturdy panther
#

Ah. I can see how that is necessary for remote play.

primal yacht
#

@whole bear

whole bear
#

Brad traversy

#

@primal yacht

mild agate
mild agate
primal yacht
mild agate
#

Ahh.. gr8

#

ig i havent saw ur msg

mild agate
lavish salmon
#

good morning

primal yacht
#

mornin's

mild agate
#

Btw @whole rover u hv nice looks bro!

#

hey @woeful salmon wassup!

woeful salmon
#

headset broke

mild agate
#

WTH!

#

LOL

woeful salmon
#

on 2$ cheap earphones rn o- o had to grab something quick

lavish salmon
#

interesante

primal yacht
#

at least mute your discord mic then if not going to use

mild agate
#

we're doin great

#

wbu

woeful salmon
#

@primal yacht i'm sorry if its too bad but i'm gonna try my laptop mic plz tell me if its too awful

primal yacht
#

my laptop mic is what im using

lusty marsh
#
from silicium_web import Text, HTML, DefaultTheme


html = HTML()

DefaultTheme(html)

text = Text(html, text="Hello, Silicium-web!")
Text(text, text="Silicium-web is a progressive, infinitely scalable Python web-framework.")

html.run()

mild agate
#

what laptop d u use? @woeful salmon

lavish salmon
#

Linux

lavish salmon
#

does anyone know good books to learn python?

primal yacht
#

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

lavish salmon
#

thank you very much sir

primal yacht
whole bear
mild agate
primal yacht
#

.... gender identity does not match birth gender

lavish salmon
#

๐Ÿคฆ

whole bear
woeful salmon
#

@lusty marsh logo_vim hjkl
ez

woeful salmon
#

๐Ÿ‘€ you could just say the name
that's what i do to avoid having to think about pronouns cuz i'm lazy

woeful salmon
#

that sounds like finding the height of a binary tree

primal yacht
#
longest_found_search = []
current_search = [
  [component, current_child_index]
  # ...
]
lusty marsh
#
    def dfs_enumerate(self):
        components = self.components
        depths = []
        path = []

        i = 0

        for component in components:
            print(component.__class__.__name__, component.children)

            components = component.children

            if len(component.children) != 0:
                path.append(i)
            else:
                depths.append(i)

                if len(path) == 0:
                    continue

                i = path[-1]

                continue

            i += 1

        print("DEPTH(s)", depths)

primal yacht
#

enumerate()

#

next()

lavish salmon
#

!rsources

#

!resources

#

interesting

#

๐Ÿค”

woeful salmon
#

@lusty marsh next() just calls __next__ method of the object you give it
(used for iterators and generators mainly to get the next value in them)

lusty marsh
#

html = HTML()

DefaultTheme(html)

text = Text(html, text="1")
text2 = Text(text, text="s2")
Text(text2, text="s3")

html.run()

woeful salmon
#

!e

foo = ["hello", "world"]
iter_foo = iter(foo)
while True:
  try:
      print(next(iter_foo))
  except StopIteration:
      break
wise cargoBOT
#

@woeful salmon :white_check_mark: Your eval job has completed with return code 0.

001 | hello
002 | world
woeful salmon
#

@primal yacht ^ python for loop

gentle flint
#

The Geek Code, developed in 1993, is a series of letters and symbols used by self-described "geeks" to inform fellow geeks about their personality, appearance, interests, skills, and opinions. The idea is that everything that makes a geek individual can be encoded in a compact format which only other geeks can read. This is deemed to be efficien...

primal yacht
#

w<

woeful salmon
#

@gentle flint how about vim inside emacs (aka evil mode)
have you tried it? ๐Ÿ˜ฎ

#

its quite nice

gentle flint
#

go
away

#

emacs makes my hand hurt

molten pewter
woeful salmon
#

you get the best of both

#

you get all the builtin stuff like a tetris and pong game in it

#

@glass forgeevil mode is basically vim emulation in emacs

sturdy panther
#

But can you use Discord in it?!

primal yacht
#

only official, unmodified clients on user accounts

gentle flint
sturdy panther
#

Yea, sadly.

gentle flint
woeful salmon
#

you can get presence in it tho if that helps

#

lol

molten pewter
sturdy panther
#

Hoping the resident Vim expert knows a way to do it!

frosty star
#

Hi again everyone

#

Yeaa

#

My neighbours cat

#

Opal is that you

#

I canโ€™t see u in the vc

#

Oh im on mobile

woeful salmon
#

thinkmon would you find a cat as cute without its fur?

gentle flint
#

no

frosty star
#

Iโ€™ll do that later maybe

#

Itโ€™s not a big deal for now

woeful salmon
#

i thought you said you were gonna trim its fur off

#

lmao

frosty star
#

Well actually Iโ€™ve always wanted one of those naked cats

#

Spinx

#

Naked spinx

#

Idk what its called

somber heath
#

"Get the spatula!"

robust dragon
frosty star
#

Naked Sphynx. I find them Pretty cute

somber heath
woeful salmon
# frosty star Naked spinx

i would like a zombie cat which doesn't eat meat
cuz

  1. i can't take care of shit if i have an alive cat it'd die
  2. it won't poop
    ๐Ÿคทโ€โ™‚๏ธ
frosty star
frosty star
#

Cats are fascinating creatures arent they

primal yacht
frosty star
woeful salmon
#

lol

twin haven
#

hi guys why i can't speak in Voice chat ??

woeful salmon
#

when someone from my family gives up and reminds me

primal yacht
#

!voice

wise cargoBOT
#

Voice verification

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

primal yacht
jovial nexus
#

any virtual machine masters here who can help me?

#

I got a couple questions

#

Remote login

#

@primal yacht
what does this mean to you?

frosty star
frosty star
primal yacht
#

100% sfw cat girls maybe? *giggle* >w<

#

or cute ones >//w//<

frosty star
frosty star
#

My all time favorite Azunyannn

woeful salmon
frosty star
#

Yeah

jovial nexus
#

guys what are OS hardening techniques

#

so what would that involve?

#

like the techniques?

woeful salmon
jovial nexus
#

Katie i thought you were good with VMs ๐Ÿ˜ฉ

#

is blue stacks for android?

frosty star
jovial nexus
#

can you link it @woeful salmon

woeful salmon
jovial nexus
#

I know that katie

#

you state the obvious

#

that its an emulator you run on your computer

#

come on man

woeful salmon
primal yacht
woeful salmon
#

i wouldn't remember to feed someone else

#

if i could i would have already gotten a pet

kindred herald
#

where do I get help with a code

somber heath
#

I often find that obviousness is relative to the observer.

jovial nexus
#

i asked there...now we wait

kindred herald
#

I have just started learning

gentle flint
frosty star
gentle flint
#

back later

#

cya

primal yacht
kindred herald
#

yes

#

sort of

primal yacht
#

!resources -- has a lot of stuff (see bot message below)

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.

frosty star
#

Well anyhow I should sleep now. See yaa its been nice

woeful salmon
#

gn

primal yacht
#

!voice -- @whole bear

wise cargoBOT
#

Voice verification

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

whole bear
#

๐Ÿ‘€

#

i guess i am bad

#

letme change my username

primal yacht
#

-.-'

whole bear
#

@woeful salmon u once mentioned u wanna open a Yt channel have u made it?

woeful salmon
#

i'm fixing old projects, improving them

whole bear
woeful salmon
#

then gonna create portfolio

#

put them in there

#

apply for job

#

then

#

i try youtube

#

lol

whole bear
whole bear
dry cave
#

Noodle Reaper

celest junco
#

@primal yacht Hello

woeful salmon
#

???

dry cave
#

Hello

primal yacht
#
class A:
    def __init__(self, value):
        self.value = value

d = {}
one = A(1)
d[one] = 1
d[A(1)] = 3
print(d)
woeful salmon
#

by Flavien Raynaud

At: FOSDEM 2017

When writing Python code, you might find yourself using lists and dictionariespretty often. But do you really know how they work? Fortunately, theirimplementation as well as their history are (really) well documented. In thispresentation, we will dive into CPython 3.6 internals, explain how these datastructur...

โ–ถ Play video
glass forge
#

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

glass forge
#

@celest junco ^

whole bear
#

i

#

need

#

50

#

messages

#

0.0

glass forge
#

@whole bear Don't spam

whole bear
#

i dont spam ๐Ÿคจ

#

tactical writing๐Ÿ™ƒ

glass forge
#

If you do spam messages to get voice, you'll be temp-banned or perma-banned from the voice chats and / or the discord

woeful salmon
#

alot of people try to get verified by spamming via typing each word or anything like that

#

then they get temp banned and take longer to verify

#

ye

whole bear
#

oh lol

glass forge
#

The "voice gate" is intentionally there to avoid trolls who were coming in, doing ear rape, and quickly leaving the vc

celest junco
glass forge
cinder herald
#

guys anyone knows how to disable google chrome window auto focus while uploading a file using python,selenium lemon_sentimental

glass forge
#

@cinder herald it's related to how Chrome is displaying the dialog

#

->

limber helm
#

->

cinder herald
#

like you are trying to automate uploading a pic by clicking on the upload button then the file explore pops out and takes all the focus

glass forge
cinder herald
#

๐Ÿ‘

primal yacht
#
def addTwoInts(a: int, b: int) -> int:
    return a + b
glass forge
primal yacht
#

!voice

wise cargoBOT
#

Voice verification

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

primal yacht
#

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

primal yacht
#

@celest junco

celest junco
primal yacht
#
d = {} # Create an empty 'dict'
#
d['foo'] = 'bar'
#
'foo' in d
celest junco
#

hash(d['foo']) # We take the hash from the object

primal yacht
#
a = A(1)
d[a] = a
# ...
print( d[A(1)] )
#

1

#
a = 1
a += 3
#
class Foo:
    def __hash__(self, /) -> int:
        # ...
#
class Bar:
    def __init__(self, /) -> None:
        ...

Bar()
#

\

celest junco
#

The in operator use the hash?

primal yacht
#
value in obj
obj.__contains__(value)
#

not in

#
class A: pass
# inherits '__hash__' method from 'object'
# which means the hash for `A()` is where it resides in memory
primal yacht
#

Hash maps in Python:
Best speed: O(1)
Worst speed: O(n)

#
>>> foo = [1, 2, 4, 5]
>>> print(foo, '::', len(foo))
[1, 2, 4, 5] :: 4
>>> foo[2:2] = [3] # replace from index 2 up-to but not including index 2 (pretty much "insert at")
>>> print(foo, '::', len(foo))
[1, 2, 3, 4, 5] :: 5
trail mural
#

im here

#

do your thing ๐Ÿ™‚

#

what doing?

wide saffron
#

sure

primal yacht
#

!voice

wise cargoBOT
#

Voice verification

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

trail mural
#

what doing?

primal yacht
#
for(;;);
#
while 1:0
#
while 1:pass
trail mural
#

:/

limber helm
primal yacht
#

JavaScript

limber helm
primal yacht
#

Ah ... I'm not good at C#

trail mural
#

while True: try: number = int(input("Please enter your age as a number: ")) except ValueError: print("Sorry, I didn't understand that.") continue else: break

primal yacht
#

```py

```

trail mural
#
    try:
        number = int(input("Please enter your age as a number: "))
    except ValueError:
        print("Sorry, I didn't understand that.")
        continue
    else:
        break 
#
while True:
    try:
        number = int(input("Please enter your age as a number: "))
    except ValueError:
        print("Sorry, I didn't understand that.")
        continue
    else:
        break
#

keyboardinterrup ๐Ÿ˜ฆ

#

how would you write this?

#

py

#

I don't want to be stuck in terminal D:

#

but this is the only method I found :(

primal yacht
#
base_message = 'Please enter your age as a number: '
extra_message = ''
while True:
    # Get the user's input and strip any spaces / etc. around it.
    user_input = input(extra_message + base_message).strip()
    # If nothing was typed (or it was just whitespace)
    if not user_input:
        # Clear the extra message if it was set.
        extra_message = ''
        continue
    try:
        # Convert it to an integer.
        # Default is to use base 10 for a 'str', which is
        # an optional "-" at the start, followed by 1 or more
        # of the digits "0" through "9" inclusive.
        number = int(user_input)
    except ValueError:
        # Input was not a valid integer.
        # "\n" in a string makes a new line.
        extra_message = 'Sorry, that is not a number I understand.\n'
        continue
    if number < 0:
        # How can they not be born yet?
        # "\n" in a string makes a new line.
        extra_message = 'Sorry, I do not think it is possible that you are not born yet.\n'
        continue
    # Clean up stuff
    del user_input, base_message, extra_message
    # Stop the loop
    break
trail mural
#

Sorry, I do not think it is possible that you are not born yet. \XD

#

thank you

#

this has given me alot of insight im just reading through

#

I hadn't used continue yet

#

is memory important to care for in python

#

Im listening to the pragmatic programmer atm and it reminds me of that

#

efficient and practical coding

#

your phone has 16 gigs ram?

#

ah

#

what phone?

#

when you said terminal i got it

#

yep

#

a bit

#

yes

#

yep

primal yacht
trail mural
#

Im used to stuff like that

trail mural
#

what is your fave distro?

#

why sadly?

primal yacht
#

Hacker: a computer expert who uses their technical knowledge to achieve a goal or overcome an obstacle, within a computerized system by non-standard means - often referred as "power" or "advanced" users. Hackers are not necessarily persons who uses their skills to breach computer system security.

trail mural
#

hmmm

#

how long have you been coding?

primal yacht
#

!voice @whole bear

wise cargoBOT
#

Voice verification

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

trail mural
#

I gtg. hope we "talk" again ๐Ÿ™‚

primal yacht
whole bear
#

โ–Šโ–Šโ–Š

#

โ–‘โ–‘โ–‘โ–‘

primal yacht
#

!e ```py
def a(*range_args):
for cp in range(*range_args):
yield chr(cp)
print(''.join(a(0x2581, 0x2588 + 1)))

wise cargoBOT
#

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

โ–โ–‚โ–ƒโ–„โ–…โ–†โ–‡โ–ˆ
glass forge
primal yacht
whole bear
#
import audioop
import speech_recognition as sr
import webbrowser
import time
from time import ctime
import playsound
import os
import random
from gtts import gTTS
import pywhatkit
import subprocess
import response

randomGoodbyeResponse = response.Goodbyes[random.randint(1, len(response.Goodbyes))]

r = sr.Recognizer()

def record_audio(ask = False) :

    with sr.Microphone() as source:
        if ask:
            onyx_speak(ask)
        audio = r.listen(source)
        voice_data = ''
        try:
            voice_data = r.recognize_google(audio)
        except sr.UnknownValueError:
            print("Sorry .. didnt quite hear that. ")
        except sr.RequestError:
            onyx_speak("Sorry .. alittle busy on the back end. ")

        return voice_data


def onyx_speak(audio_string):
    tts = gTTS(text=audio_string, lang='en', )
    r = random.randint(1,10000000)
    audio_file = f'audio-{str(r)}.mp3'
    tts.save(audio_file)
    playsound.playsound(audio_file)
    print(audio_string)
    os.remove(audio_file)

def respond(voice_data):
    if 'what is your name' in voice_data:
        onyx_speak('My name is ONYX.')

    if 'what time is it' in voice_data:
        onyx_speak(ctime())

    if 'search' in voice_data:
        search = record_audio("What do you want to search for ?")
        if 'YouTube' in search:
            url = 'https://www.youtube.com'
            webbrowser.open(url)
        else:
            url = f'https://google.com/search?q={search}'
            webbrowser.get().open(url)
        onyx_speak(f'Heres what i found for {search}')
        
    if 'play' in voice_data:
        song = voice_data.replace('play', '')        
        pywhatkit.playonyt(song)
        onyx_speak(f'heres what i found for {song}')

    if 'Onyx sleep' in voice_data:
        onyx_speak(randomGoodbyeResponse)
        exit()

time.sleep(1)
print("Listening ... ")
while 1:
    voice_data = record_audio()
    respond(voice_data)

soft loom
#

can anyone help me an error in python pytorch

sturdy panther
#

What is the point of this DRM thing? ๐Ÿค”

stable axle
sturdy panther
#

@whole bear Would you mind using push-to-talk? Your typing is really loud.

tidal salmon
#

@radiant surge can you hear me?

radiant surge
#

I can't, no

#

oh I can!

tidal salmon
#

rip

radiant surge
#

Yup

#

My volume was just on 2

#

I can't talk rn ๐Ÿ˜”

#

lol I'm sorry

#

An essay due tomorrow

#

Censorship in schools

#

haha I wish

young garden
#

Hello ๐Ÿ‘‹

#

oh can you hear me?

radiant surge
#

I can hear you

#

I can hear you both

whole bear
#

you are audible

#

this is a productive voice chat

radiant surge
#

You're very quiet Fronto

#

That's good

young garden
#

yeah sometimes my mic is quite far away

whole bear
#

ok i gtg

#

peace glasses

grizzled zenith
#

@tidal salmon

#

Part 2 - explainer video is here: https://www.youtube.com/watch?v=TGUteH93xNo

LEDs and solar panels are both made of diodes. A diode is just designed to allow electricity to flow in one direction but because we make them out of semiconductors they can do all these other things.

Video produced in cooperation with Merck (https://www.youtube.com/...

โ–ถ Play video
young garden
#

oh, I see

#

your brother is quite invested in his game wow

#

ngl I was really confused at first when I heard a screaming sound haha

#

yeah especially when they lose

#

ohh yea

radiant surge
#

We do

#

But it definitely does not get as much of a hype as football (american) and basketball

young garden
#

SyntaxError: unmatched ')'

radiant surge
#

If you said that to me I'd be gone in a minute

young garden
#

that's brutall

olive hedge
#

staff meeting?

young garden
tidal salmon
radiant surge
#

Fisher's not in here francis

grizzled zenith
young garden
#

10 PM is after hours I suppose

radiant surge
#

you do have a pleasant voice

young garden
#

^ you sound like someone who would speak for HeadSpace

#

in those meditation videos

radiant surge
#

oh that thing

#

that was...

young garden
#

gonna head out, have a great rest of your day/night everyone!

radiant surge
#

Imma head out for a couple minutes, but I'll be back in 10-20 minutes if you're still here

grizzled zenith
#

@olive hedge

olive hedge
#

!steam 900103657373196299

#

!stream 900103657373196299

wise cargoBOT
#

โœ… @whole bear can now stream until <t:1639366448:f>.

whole bear
#

The vc end?

whole bear
#

unable to talk

#

dont have permission

somber heath
wise cargoBOT
#

Voice verification

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

uncut meteor
#

brb

woeful salmon
#

Watch the official trailer for Spider-Man: Across the Spider-Verse, an animation movie starring Shameik Moore and Hailee Steinfeld. In theaters October 7, 2022.

Miles Morales returns for the next chapter of the Oscarยฎ-winning Spider-Verse saga, an epic adventure that will transport Brooklynโ€™s full-time, friendly neighborhood Spider-Man across t...

โ–ถ Play video
uncut meteor
#

@viral heron, Please don't use this guild to advertise external events.

whole bear
#

!voicechat

#

ok ๐Ÿ˜„

#

hello!

#

Hello OpalMist !

#

๐Ÿ˜„

somber heath
#

!voice

wise cargoBOT
#

Voice verification

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

whole bear
#

lol

woeful salmon
#

Davinder

somber heath
#

Mallardramatic.

gentle flint
#
print("||"+"||||".join(input())+"||")
#

||h||

#

||h||

uncut meteor
#

!e

print("||"+"||||".join("Griff")+"||")
wise cargoBOT
#

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

||G||||r||||i||||f||||f||
uncut meteor
#

||G||||r||||i||||f||||f||

#
print(f"||{'||||'.join(input())}||")
gentle flint
frosty star
half flare
#

which countru u from

woeful knot
#

@gentle flint ok :))

gentle flint
#

thanks!

woeful knot
#

i am glad to talk to you :))

#

i mean text to you

gentle flint
#

mmm yes

woeful knot
#

thanks :))

woeful salmon
#

๐Ÿ‘€ that's a bad example lol

wide trellis
#

!voiceverify

uncut meteor
gentle flint
gentle flint
rugged root
uncut meteor
rugged root
#

@old crown If you're wondering why you can't talk, check out the #voice-verification channel. That'll tell you what you need to know

frosty star
#

Haaaay

#

๐Ÿ˜จ

#

I heard you donโ€™t really get covid from food

#

Noodles dchu get ur new headphones?

whole bear
whole bear
rugged root
#

Suuuuuuuuuuuuuuuuuuuuuuuuup

whole bear
#

fiiiiiiiiiiiiiine wbu

whole bear
rugged root
#

I'm alright

whole bear
frosty star
#

22 tornados phew ๐Ÿ˜ฐ

gentle flint
woeful salmon
#

xD

#

they said will deliver on tuesday gave it to me on monday morning ๐Ÿ™‚

gentle flint
#

nyse

#

I think fake should be written as faike

#

or faik

frosty star
sweet lodge
#

@amber raptor, I took your advice about enabling all the security, regardless of Managment's opinions.
I haven't enforced 2FA yet, so I should still be fired.
But I did disable basic auth, which some people were still using, including the owner and his parents

woeful salmon
#

yeah also i just got a different model at same price and it turned out to have a better mic (also its flexible unlike the older one which is nice)

gentle flint
#

it's not Fisher's

woeful salmon
#

and i have blue cat ears (not real) i could probably glue on it

#

if i want / need at a later point

frosty star
woeful salmon
#

thinkmon well i have a stuffed toy i won at an arcade

#

and i really don't need it so it could go to a better use

sweet lodge
#

What's so bad about timezeones?

#

There's only like 50 values to check

#

Alright, that's about as much indifference as I can fake

#

I hate timezones

#

log4j

#

What could go wrong?

hard spruce
#

๐ŸŒฒ

#

๐ŸŽ„

rugged root
#

Wait

#

Shen are you in here and I'm just blind?

#

I refreshed and everything

#

@mystic bolt Ask in here

mystic bolt
#

Excuse me, you can tell 1 verboof that I want to talk to him about python and blemde r and that he send me slkictud of a, istad because he says that only he can

gentle flint
#

slkictud of a, istad
what?

hard spruce
#

workwork

uncut meteor
#

ooo what kinda work do you do?

rugged root
#

Professional llama wrangler

gentle flint
#

wrangle dem llamas

#

๐Ÿฆ™

mystic bolt
#

Please send me frined request

gentle flint
zinc magnet
gentle flint
#

๐Ÿ‘‹ LX

stuck furnace
#

๐Ÿ‘‹

zinc magnet
#

:(

#

:D

#

yes

#

servers down :(

mystic bolt
#

The other day I saw you using blender and do you know how to use a python addon to import files?

gentle flint
#

sorry, no clue

mystic bolt
zinc magnet
#

yes the intigrated wallhacks :.)

somber heath
#

Hallwacks.

gentle flint
#

wacky halls

zinc magnet
#

u need to do it fast and master it

somber heath
#

Fast'n'master.

zinc magnet
#

no permanent

mystic bolt
#

Well, someone knows how to do a blender script here.?

rugged root
#

I can point you to the blender server. They'd be better equipped to help you

stuck furnace
#

Verboof, weren't you doing something in Blender?

gentle flint
#

I'm modelling a plane for a flight sim

rugged root
gentle flint
#

since I've never really used blender much before this project it'll probably take 6 months or a year

#

smth like that, anyway

mystic bolt
#

I already asked but there is a problem is that in blender we only know about blender and here only about pyhon you need both things blender and python understand

gentle flint
# gentle flint

this fin sticking up with the bolts took about an hour to get just right

stuck furnace
#

Oh, does Blender use Python for scripts?

gentle flint
gentle flint
#

but after 2 weeks of blender I did not yet feel ready for that

#

also I like that emoji @stuck furnace

mystic bolt
#

my intention was to do the following to make a blender plugin to at least import and if possible export a 3d file of a videogame videogame

gentle flint
#

what format is the 3d file

stuck furnace
gentle flint
#

it's good

#

now I wanna make a lemon one

#

for this server

#

maybe tonight

stuck furnace
#

I can also offer you: linusPerfect pachaperfect

gentle flint
#

nah, I prefer the duckie

#

that twist on the mouth is good

stuck furnace
mystic bolt
stuck furnace
#

And also make a 'dewit' emoji while you're at it if possible.

mystic bolt
#

Looney Tunes Dash!

#

that's the game if you want to know to make a plugin that is a fmlb file I'll explain it here

gentle flint
mystic bolt
rugged root
#

We can't/won't assist with extracting assets from games. It is, in most cases, a violation of the end user license agreement as well as the copyright/trademark for the assets

stuck furnace
#

Yeah, wouldn't really work lemon_pensive

gentle flint
#

I'm thinking of how the lemon would look with dewit

#

yeah

#

exactly

mystic bolt
stuck furnace
#

Although this gets you 90% of the way to the other one:

gentle flint
#

of course, you could use this in a different server, though not really here

rugged root
mystic bolt
#

ok sorry if it bothers you is that they do not stop asking in another discord

gentle flint
#

well tell them to stop bothering you

somber heath
#

Shia Laverboof. @gentle flint

gentle flint
#

job done

mystic bolt
#

ok I doubt it a lot but I will try in fact calls call all day saying hey hey you could already because I said that maybe they will help me in python server but it was not like that I will tell them

rugged root
#

I mean I don't know what to tell you, dude

gentle flint
mystic bolt
#

ok if at least someone who knows could help me, it would be fine but if they don't want to, it's not necessary

rugged root
#

!ot Possibly ask in one of the off-topic channels?

wise cargoBOT
rugged root
#

That'd really be the only other place to ask

#

@somber heath

hard spruce
#

i'd watch that

rugged root
somber heath
#

Standard eye tea. Refreshing!

sweet lodge
#

!d os.write

wise cargoBOT
#

os.write(fd, str)```
Write the bytestring in *str* to file descriptor *fd*.

Return the number of bytes actually written.

Note

This function is intended for low-level I/O and must be applied to a file descriptor as returned by [`os.open()`](https://docs.python.org/3/library/os.html#os.open "os.open") or [`pipe()`](https://docs.python.org/3/library/os.html#os.pipe "os.pipe"). To write a โ€œfile objectโ€ returned by the built-in function [`open()`](https://docs.python.org/3/library/functions.html#open "open") or by [`popen()`](https://docs.python.org/3/library/os.html#os.popen "os.popen") or [`fdopen()`](https://docs.python.org/3/library/os.html#os.fdopen "os.fdopen"), or [`sys.stdout`](https://docs.python.org/3/library/sys.html#sys.stdout "sys.stdout") or [`sys.stderr`](https://docs.python.org/3/library/sys.html#sys.stderr "sys.stderr"), use its `write()` method.

Changed in version 3.5: If the system call is interrupted and the signal handler does not raise an exception, the function now retries the system call instead of raising an [`InterruptedError`](https://docs.python.org/3/library/exceptions.html#InterruptedError "InterruptedError") exception (see [**PEP 475**](https://www.python.org/dev/peps/pep-0475) for the rationale).
sweet lodge
#

Um - you probably don't need this

rugged root
#
with open(text_file_name, "w") as file:
  file.write(text_input_here)
hard spruce
#

for butter?

#

i agree, scale

#

if we're talking about baking

woeful salmon
#

i'm curious

sweet lodge
#

@rugged root - first - how much do you understand about DNS and SSL?

rugged root
#

I know the broad strokes

#

Enough to follow

molten pewter
stuck furnace
#

Heavy water is water but with a heavier isotope of hydrogen.

hard spruce
#

lmao

#

send it again lx

vivid palm
terse needle
#

I also get this lovely warning when I start bpytop too

/bin/bpytop:27: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
  from distutils.util import strtobool
stuck furnace
#

They're like insane.

#

Bailey's edition.

jovial nexus
#

irish cream

stuck furnace
#

Yep ๐Ÿ˜„ I assume they contain no actual alcohol?

jovial nexus
#

british people have bad teeth

zinc magnet
#

nim min

rugged root
#

I need to look at nim again

#

I keep meaning to go back to looking over it

stuck furnace
#

Does he just listen on x10 speed?

#

Yes. I like that they don't gloss over things in the Rust docs.

#

Which happens a lot in other docs, where they just assume that you know something that you obviously wouldn't know if you were reading the documentation ๐Ÿ˜„

rugged root
#

!doc functools.partial

wise cargoBOT
#

functools.partial(func, /, *args, **keywords)```
Return a new [partial object](https://docs.python.org/3/library/functools.html#partial-objects) which when called will behave like *func* called with the positional arguments *args* and keyword arguments *keywords*. If more arguments are supplied to the call, they are appended to *args*. If additional keyword arguments are supplied, they extend and override *keywords*. Roughly equivalent to:

```py
def partial(func, /, *args, **keywords):
    def newfunc(*fargs, **fkeywords):
        newkeywords = {**keywords, **fkeywords}
        return func(*args, *fargs, **newkeywords)
    newfunc.func = func
    newfunc.args = args
    newfunc.keywords = keywords
    return newfunc
vivid palm
#

curry

#

currying

#

o

stuck furnace
#

Haskell Curry ๐Ÿ˜„

#

Sorry

rugged root
#
def add(x, y):
  return x+y

stuck furnace
#

Erm, I started about half way in. But I did do all of them.

terse needle
stuck furnace
rugged root
#

!e

from functools import partial

basetwo = partial(int, base=2)
print(basetwo('10010'))
vivid palm
#

i like that

wise cargoBOT
#

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

18
terse needle
#

Tim Curry, the inventor of haskell

stuck furnace
#

Just pre-fill some of the args basically.

#

The syntax is the nicest part ๐Ÿ˜„

#

There's a fancy word for it...

trail mural
#

what happens if you click the trashcan?

#

im scared

stuck furnace
#

Erm, I'm trying to think of the term that describes how Lisp's code relates to its data ๐Ÿค”

trail mural
#

what doin existers and bill payers?

amber raptor
#

Lisp use of only () drives me crazy

stuck furnace
#

"homoiconic"

sweet lodge
# rugged root Enough to follow

So... (sorry for long story)
We're getting caught up with that vendor, so I thought I was going to get to have a relaxing end to the week.
And then....

Wednesday - I got the final reminder that our free (from COVID) Microsoft licenses would be removed Wed 12/15, and to avoid disruptions we need to apply a paid plan to our users before 12/15. I sent it to him again, he still hasn't given me authorization to purchase the licensing.

Thursday - Another vendor mailed us a label printer, and demanded we call their MSP and have them send a tech to install it for us. The MSP called back and said that they purchased the printer, but didn't purchase an installation, so they would have to get billing approval from the vendor. Vendor is calling multiple times a day asking why things aren't ready yet

Friday - My boss opened a ticket stating "The website is showing to have an invalid certificate. This is a new issue and we need to get it resolved".
He won't give me access to the website, which is a Joomla site on HostGator. (picture WordPress on Digital Ocean)
I don't know why he refuses to give me access. He keeps saying he has, and I should be able to "just fix it".
Turns out, HostGator had an error trying to automatically renew the SSL certificate. He called their tech support, and they ended up changing every single record, including our on premise records and our Azure records, to point to HostGator, wiping out our entire production environment on a Friday afternoon.
My boss started fixing the records, and he noticed that the on premise and Azure SSL certificates were valid, but his still weren't. He asked me why, and I explained that the different servers in the different environments would need their own certificates.
He then spent the next couple of hours blaming me for the issues, saying that "I'm sure they moved all the records for your servers because you can't have two certificates for the same thing"

Saturday - I finally got our printers to accept modern auth, so I disabled basic auth to test before Microsoft disables basic auth permanently. I did check the sign-in logs and only four people were still using basic auth (my boss included). And I sent my boss a three paragraph Teams message explaining exactly what I did.
I also went through the copy of the DNS records that he sent me and sent him a list of what I thought things were supposed to be.

Monday - He sends me a Teams message saying - "i have had several people with email problems including me. Do you know what is going on."
I pasted Saturday's message and added a note about my current progress.
I already know from Saturday that only four people are to be affected, and I've already fixed one, so I asked him who these "several people" were. He said "my wife and I are both having issues this morning"
He also has still only fixed like half the DNS records

At what point do I just give up and get a new job?
I really like everyone else here, and I don't want to watch the company have problems because I wasn't here to fix this crap.
But at some point I have to admit to myself that there's not much I can do if management won't let me do my job

#

Damn that was long

#

Now I feel bad

stuck furnace
#

I'll get my reading glasses...

sweet lodge
#

๐Ÿคฃ

stuck furnace
#

I don't have any but...

trail mural
#

why did I read that...

terse needle
#

this is lovely syntax

stuck furnace
#

Is that how they make plasma TVs? ๐Ÿค”

trail mural
#

they don't understand the pain of paying the bills ;-;

rugged root
#

Still..... Not great

amber raptor
stuck furnace
#

This was what I was thinking of: https://en.wikipedia.org/wiki/Homoiconicity

In computer programming, homoiconicity (from the Greek words homo- meaning "the same" and icon meaning "representation") is a property of some programming languages. A language is homoiconic if a program written in it can be manipulated as data using the language, and thus the program's internal representation can be inferred just by reading the...

trail mural
#

"acquired?"

sweet lodge
#

Network the printer

#

Problem solved

trail mural
woeful salmon
trail mural
#

stonks

mild agate
trail mural
#

you miss me ๐Ÿ˜ณ

sweet lodge
#

Last posted three years ago

#

Where do even find these things?

zinc magnet
#

xd

sweet lodge
#

Nope

jovial nexus
#

@rugged root you were a pretty boy

stuck furnace
#

I hope you weren't driving and vlogging Hemlock!

#

Ah

jovial nexus
#

I thought it was because you used to have long hair, and you had your locks in a 'hem' ๐Ÿคฃ

sweet lodge
#

I haven't even looked at Advent of Code since Thursday
Too much work crap to keep up with
Makes me sad

#

Want to be my replacment?

woeful salmon
#

i can't pronounce vulnerability

sweet lodge
#

Who can?

zinc magnet
#

does someone know about brick-force? :D

sweet lodge
#

I started job searching
I'm overqualified for dev jobs paying over double what I make
And those jobs are programming only

I could be being paid double to just develop and not have to deal with all this other crap

stuck furnace
#

Yeah I guess that's a part of imposter syndrome. You don't want to ask anyone, or risk revealing you don't know what you're doing.

sweet lodge
#

It's becoming very tempting

stuck furnace
#

Dude, you've got it.

amber raptor
#

Then do it

sweet lodge
#

Are you hiring?

#

Oh - Him?

#

Oh
That first name

woeful salmon
sweet lodge
#

Donald

zinc magnet
#

Trump

sweet lodge
#

Scrooge McDuck is a cartoon character created in 1947 by Carl Barks for The Walt Disney Company. Appearing in Disney comics, Scrooge is a Scottish-American anthropomorphic Pekin duck. Like his nephew Donald Duck, he has a yellow-orange bill, legs, and feet. - https://en.wikipedia.org/wiki/Scrooge_McDuck

sweet lodge
#

Notepad is lighter

zinc magnet
terse needle
#

I prefer atom's ui to vscode, but vscode just has the community backing it and one of them has to go

#

also, coffescript... ew get out of 2014

sweet lodge
#

What're we talking about?
Only available in VSC?