#voice-chat-text-0

1 messages ยท Page 719 of 1

whole bear
#

I've never eaten Jamaican food

glad timber
#

precisely

regal badge
#

lol

glad timber
#

that was an idiotic question

regal badge
#

like jamaican dishes

whole bear
#

Canberra

glad timber
#

dont mock it

#

lmfao

regal badge
#

lolol

glad timber
#

no one can be reggae

#

lol

#

no

#

oh god

#

lmfao

#

HOW CAN A GENRE OF MUSIC BE A TYPE OF PEOPLE

#

LMFAOOO

regal badge
#

hippy

whole bear
#

Wah gwaan

regal badge
#

party pooper

glad timber
#

sounds nice

#

i wanna listen to wah gwaan one of these days

#

nah but imagine not being reggae

whole bear
#

Wait isn't that a roadman thing?

glad timber
#

what?

regal badge
#

go to toilet and hear your poop drop

#

same symphony

glad timber
#

i mean when u live in the most ghetto part of east london u have to adapt

#

the doo-doo hit the water and the water hit the booty

whole bear
#

I like Chip or whatever his name is

glad timber
#

lol

#

they left instantly

whole bear
#

Do you know Unknown P?

regal badge
#

lmao

glad timber
#

ofc

#

everyone knows unknown p

regal badge
#

spell it

glad timber
#

?

regal badge
#

that dut dut

#

is that precise

whole bear
#

Ok I'm heading out

glad timber
#

too late again

#

-nose breathes-

#

you underestimate my power

#

indeed you are @twilit lagoon

#

tell griff to get me some alcohol too

#

whatever hes got @twilit lagoon

#

isnt that nice

#

fuck sake

#

banana bread beer

#

ayt

#

i mean u only live once

#

so why not

uncut meteor
glad timber
#

IT ACTUALLY EXISTS

#

marshmallow beer

#

wtf

#

get Guinness and leave

uncut meteor
glad timber
#

ok

#

seems legit @uncut meteor

#

so like a shape wall @twilit lagoon ?

#

a membrane around the shape?

#

also @uncut meteor why is there a help channel for all the elements in the fucking periodic table

uncut meteor
#

l

glad timber
#

ur waffling

#

oh i thought u died @twilit lagoon

#

-nose breathes-

whole bear
#

helloo

#

everyone

#

trynna get voice verified

oak dew
#

I didn't get voice verified yet...

golden compass
#

is anyone here?

#

I need help a bit

#

fine, I'm waiting for u guys

atomic yarrow
#

yo whatsup

golden compass
#

hey

#

I'm sitting at CodeWars

#

and I can't solve a problem

atomic yarrow
#

whats the problem

golden compass
#

it has to be easy but I'm stuck

#

hey @jaunty lance

jaunty lance
#

k...

#

i could try

#

lemme see

golden compass
#

then try

#

I did something like that
def accum(s):
up = s.upper()
for i in up:
divider = i.split()

accum('asdf')

#

and dunno what to do next

#

hey @woeful spear

woeful spear
#

hey

#

suppp

golden compass
#

what's going on

jaunty lance
#

kinda tough doe

golden compass
#

yep

#

and how?

#

hey @steep tusk

jaunty lance
#

None*

golden compass
#

ohh

#

I forgot smth

#

def accum(s):
up = s.upper()
for i in up:
divider = i.split()
print(divider)
accum('asdf')

#

that's better

jaunty lance
#
def accum(s):
    up = s.upper()
    for i in up:
        divider = i.split()
        print(divider, end="-")

accum('asdf')

run it, each character in your string will be split but

#

but we need to form an algo for the 2nd part(like 0-01-012)

#

@golden compass

golden compass
#

yeah

#

I'm listening

#

it's better I think

golden compass
#

I mean this expression at the frame

jaunty lance
#

i just tried visualizing the problem

golden compass
#

no no, I mean look at your message and look at mine

#

your in the frame

#

which command I have to write to do so

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.

golden compass
#

! code
def accum(s):
up = s.upper()
for i in up:
divider = i.split()
print(divider, end="")

accum('asdf')

#

!code def accum(s):
up = s.upper()
for i in up:
divider = i.split()
print(divider, end="")

accum('asdf')

#

'''py
def accum(s):
up = s.upper()
for i in up:
divider = i.split()
print(divider, end="")

accum('asdf')
'''

jaunty lance
golden compass
#

I got it

#

but I don't understand where exactly should I write !code

#

!code

#

!code
print('Hello World!')

#
print('Hello world!')
jaunty lance
golden compass
#

well, thx

jaunty lance
#

this kinda tough

golden compass
#

yeah

#
def accum(s):
    up = s.upper()
    for i in up:
        divider = i.split()
        print(divider, end="")

accum('asdf')
jaunty lance
#
def accum(s):
    up = s.upper()
    for i in up:
        print(up, end="-")



accum('asdf')

for now i tried without the divider variable

golden compass
#

I think firstly we have to double, triple... letters

#

and then only divide them by '-'

#
def accum(s):
    up = s.upper()
    for i in up:
        divider = i.split()
        print(*divider, end="-")

accum('asdf')
#

I tried smth like that but it doesn't seem like we can easily upgrade it

#

@jaunty lance r u here?

jaunty lance
#

im trying

#

wait

golden compass
#

ok

jaunty lance
#

it is goof

#

good

#

but now we have to do the rest of the letter

#

letters

#

that is a big problem fir me

#

for me*

#

@golden compass

golden compass
#

yep

#

I'm here

jaunty lance
#

.

#

i was out now i came

golden compass
#

look, I think we don't have to divide them by '-' now

golden compass
#

firstly double, triple and so more

jaunty lance
#

ye

#

we need to visualize the problem

#

maybe a flow chart or smth..

golden compass
#

mb

#

wait a minute

#

it will be kidna hard

#

i've found great flowchart maker

golden compass
jaunty lance
#

it says i dont have access to it

golden compass
#

try again

#

hey!!

jaunty lance
#

k

#

im trying but im a noob in using this site

#

XD

golden compass
#

me too ๐Ÿ™‚

#

tap at mumbling button

#

and there're sticks

#

do u see them?

jaunty lance
#

i have the hand cursor

golden compass
#

what do u mean hand cursor

#

i've it too

#

ok, try to rename this button

jaunty lance
#

like, my cursor is a hand

#

i could only move and zoom

golden compass
#

ohhhh

#

i got it

#

it seems like I just can't give you full access

#

terrible

jaunty lance
#

give then

golden compass
#

I can't

jaunty lance
#

why

golden compass
#

look

#

-no access

#

-only view

#

-comment

#

I chose comment of course

jaunty lance
#

click reset

hushed elm
golden compass
hushed elm
#

ty

#

it's sexy

jaunty lance
#

oof

golden compass
#

yeeah

#

fine

#

then I will edit it

#

and you will see it

#

and if something will go wrong you will text me

#

nothing complicated

#

I've never done it before

#

write comments

#

i see it

jaunty lance
#

wait

#

im trying something

golden compass
#

that's hard

#

mb u should create ur own flowchart

#

and concept all this

jaunty lance
jaunty lance
#

How tf i forgot

golden compass
#

but I don't think it will be useful

#

1)We have a accum() function
2)To make from 'asdf' -> 'A-Ss-Ddd-Ffff' firstly we have to upper() it
3)Then we have to double, triple... each letter

#

look

#

how to do 3-rd clause

#

I'll left for while

jaunty lance
#

def accum(s):
  main=s.title()

  for i in range(0,len(s)+1):
    print(main*i,end="-")

accum('asdf')

Well, I cant figure out not to bring the entire word here LMAO

#

@golden compass

golden compass
#

I see

#

I'm thinking what went wrong

#

hey @whole bear

#

nice

#

html?

jaunty lance
#

i do a bit, not done html since a year or 2

golden compass
#

I learned it before with css and js, but forget for now @fiery hearth

#

khmmm

#

idk

jaunty lance
#

ummmm, well this is a python server though

whole bear
#

?

#

Hi

jaunty lance
golden compass
jaunty lance
whole bear
#

What is it

jaunty lance
#

read all old chat and check it out'

jaunty lance
whole bear
#

U using HTML

jaunty lance
#

python

whole bear
#

What u trying to do

jaunty lance
#

figuring out a problem

#

creating a function that could make a string(for eg- "asdf")converted to the following way="A-As-Asd-Asdf"

#

any idea?

neon sleet
#

str.title()

golden compass
#
def accum(s):
  main=s.title()

  for i in range(0,len(s)+1):
    print(main*i,end="-")

accum('asdf')
whole bear
#

Umm I am not sure. Try asking Reddit or google it but make sure you check the code before u out it in

jaunty lance
#

well @golden compass i gtg for lunch now, byr

#

bye

golden compass
#

bye

jaunty lance
#

it was fun trying to solve

golden compass
#

agree the friend request

#

mb we'll try to figure it out tomorrow or later

jaunty lance
#

i usually dont accept friend requests but i am saving it for now

golden compass
#

ok

#

hey @sick cloud

sick cloud
golden compass
#
def accum(s):
  main=s.title()

  for i in range(0,len(s)+1):
    print(main*i,end="-")

accum('asdf')
#

that's the latest version of our thinking

sick cloud
fiery hearth
#

hy @sick cloud

sick cloud
#

@fiery hearth helo

fiery hearth
#

how are you?

sick cloud
neon sleet
#

there you go

fiery hearth
sick cloud
neon sleet
#

by mistake lol

sick cloud
neon sleet
#

I converted that code into a function and forgot to do that

fiery hearth
sick cloud
#

but i do wonder what @tidal rapids is for..

#

@neon sleet @fiery hearth ^^^

#

any idea of why that bot exists ?

neon sleet
#

@fiery hearth you wanna display link on the side of the logo?

neon sleet
fiery hearth
#

i want to make a space between them

neon sleet
#

ModMail also

fiery hearth
neon sleet
#

In the blue strip?

golden compass
neon sleet
fiery hearth
#

no i want it to be on right hand side

neon sleet
#

on the right side of ?

fiery hearth
#

the screen

#

@neon sleet

neon sleet
#

right half of the screen?

sick cloud
#

i'm bad rn

golden compass
neon sleet
#

thats even easier

fiery hearth
#

from half

neon sleet
sick cloud
#

@versed island and my knuckles were bleeding before, on my right hand

whole bear
#

hello

sick cloud
whole bear
#

helo!

sick cloud
#

how u doing ?

whole bear
#

i'm coding

sick cloud
whole bear
#

nope

neon sleet
#

discord bot I see

whole bear
#

yes

#

how you guess?

sick cloud
whole bear
#

ok

hushed elm
#

@ebon junco too many diccs flying around that's why

#

it's cuz there's lots of teenagers around

#

well they don't care if you're a proper grown-up haha but i think that would be dope

sick cloud
#

?_?

hushed elm
#

it's hard to moderate 120k people server

#

that's why they do it

#

99%

#

from 120000 haha

jaunty lance
hushed elm
#

it does suck though

#

well that's you then, a teenager haha

sick cloud
hushed elm
#

i was a teen once aswell

#

then i took an arrow in the knee

#

picking the best one

#

hahahahahahahahaha

jaunty lance
#

oooooooooooooooooooooooooooooooooooooooooooooooooooof

hushed elm
#

it's a skyrim pc game reference

#

can't believe you haven't encountered it yet

#

Skyrim is a PC game

#

that's fine ha ha

jaunty lance
#

i dont play skyrim

hushed elm
#

it's bad to spend hundreds of hours in videogames

#

like i get

#

had*

#

27

#

makes me cry

jaunty lance
#

oof

#

im bored

hushed elm
#

how much programming experience do you have?

jaunty lance
#

im learning python basics

#

F

#

im currently learning functions

#

learnt loops, string, if else statements and all those basic stuff @hushed elm

hushed elm
#

nice

jaunty lance
#

im very bored

sick cloud
digital jackal
#

hey guys

#

quick question

#

i have a lot of paths of xml files and images, but i wanna make a UI

#

how can i share my exe file containing those pathes so that the users can also use

uncut meteor
#

Make a setup file that is ran to make sure the files are in the right location

#

And if not, put them there

whole bear
#

hey everyone!1

#

hows it goin??

oak dew
#

Not bad

#

What about you??

high ingot
hard wyvern
#

@uncut meteor @whole bear hello

uncut meteor
#

yo

hard wyvern
#

can u unmute yourself I have a doubt

#

@uncut meteor

uncut meteor
#

sure

versed island
#

nopes

#

what sort or task u wanna run

#

@hard wyvern

#

ohh gocha

#

u wanna bunk

#

i see

#

yeah its the same thing

#

run it and leave it for the day

#

selenium is good

#

for automation

#

yeah

craggy zephyr
versed island
#

we can work on this together @hard wyvern

#

okhaay

near ocean
#

hello

#

I can't speak :/

hard wyvern
versed island
craggy zephyr
#

yeah @near ocean you have to verify yourself first

near ocean
#

yep I know it

#

thanks ^^

uncut meteor
#
$TaskName = "NewPsTask"
$TaskDescription = "Running PowerShell script from Task Scheduler"
$TaskCommand = "c:\windows\system32\WindowsPowerShell\v1.0\powershell.exe"
$TaskScript = "C:\PS\StartupScript.ps1"
$TaskArg = "-WindowStyle Hidden -NonInteractive -Executionpolicy unrestricted -file $TaskScript"
$TaskStartTime = [datetime]::Now.AddMinutes(1)
$service = new-object -ComObject("Schedule.Service")
$service.Connect()
$rootFolder = $service.GetFolder("\")
$TaskDefinition = $service.NewTask(0)
$TaskDefinition.RegistrationInfo.Description = "$TaskDescription"
$TaskDefinition.Settings.Enabled = $true
$TaskDefinition.Settings.AllowDemandStart = $true
$triggers = $TaskDefinition.Triggers
#http://msdn.microsoft.com/en-us/library/windows/desktop/aa383915(v=vs.85).aspx
$trigger = $triggers.Create(8)
#

Note. In this case, a trigger is created that is activated during the boot (code 8). See the full list of codes below:

TASK_TRIGGER_EVENT 0
TASK_TRIGGER_TIME 1
TASK_TRIGGER_DAILY 2
TASK_TRIGGER_WEEKLY 3
TASK_TRIGGER_MONTHLY 4
TASK_TRIGGER_MONTHLYDOW 5
TASK_TRIGGER_IDLE 6
TASK_TRIGGER_REGISTRATION 7
TASK_TRIGGER_BOOT 8
TASK_TRIGGER_LOGON 9
TASK_TRIGGER_SESSION_STATE_CHANGE 11

versed island
#

In this video we are going to be automating zoom such that it automatically logs into one's meetings / classes on time. Python is used for this project and each step is explained.

Code from the video:
https://github.com/Anish-Malla/Zoom-Automation-Python

Thanks a lot for watching! Please like and subscribe if this video helped you!
Any feedbac...

โ–ถ Play video
#

havent seen this

#

may be this works

#

@hard wyvern

#

its using pyautogui

uncut meteor
hard wyvern
neon sleet
#

@whole bear

weak wharf
#

lol

uncut meteor
#

marquee

uncut meteor
fiery hearth
craggy zephyr
#

xD

uncut meteor
#

i'm crying

#

I am the best

rich cloud
#
print("I want to learn Python.")
uncut meteor
#

!e
print("Nice")

wise cargoBOT
#

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

Nice
rich cloud
#

!e
print("Thanks")

wise cargoBOT
#

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

Thanks
normal hinge
#

hi kiko

rich cloud
#

Hi @normal hinge

normal hinge
#

why don't u talk

rich cloud
#

Maintaining my edginess xD

#

dudebruh will be proud

#

bruh is rupesh lecturing?

#

xD

normal hinge
#

come on kiko

#

we are like friends to u

rich cloud
#
Thanks
normal hinge
#

where are u from bro

rich cloud
#

!e
print("Earht")

wise cargoBOT
#

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

Earht
rich cloud
#

lol spelled wrong.

normal hinge
#

|!e print("EARTH")

rich cloud
#

Who is?

normal hinge
#

u

rich cloud
#

xD

#

how you know?

#

Just imagine that i am gpt3

#

xD

normal hinge
#

so kiko is gpt3

rich cloud
#

Yeah :D

#

mr hemmy is online !!

rugged root
#

I LIVE

#

What?

rugged root
rich cloud
#

xD

rich cloud
#

alot

rugged root
#

Can't even imagine

#

He's..... excitable

uncut meteor
#

!e

from functools import partial
from types import FunctionType

class AddableFunctions:
    def __setattr__(self, key, value):
        if type(value) is FunctionType:
            assert len(value.__code__.co_varnames) > 0, "method requires at least one parameter to allow for self."
            self.__dict__[key] = partial(value, self)
        else:
            self.__dict__[key] = value

class Test(AddableFunctions):
    def __init__(self):
        self.val = 20


def my_test(self, var_a):
    print(f"Instance val: {self.val}")
    print(f"You passed in {var_a}")

a = Test()
a.foo = my_test
a.foo(5)
wise cargoBOT
#

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

001 | Instance val: 20
002 | You passed in 5
uncut meteor
#

!e

from types import MethodType

class A:
    def __init__(self):
        self.val = 20


a = A()

def test(self):
    print(self.val)

a.m = MethodType(test, a) #func, instance
a.m()
wise cargoBOT
#

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

20
uncut meteor
#

!e

from functools import partial
from types import FunctionType

class AddableFunctions:

    def __setattr__(self, key, value):
        if type(value) is FunctionType:
            assert len(value.__code__.co_varnames) > 0, "method requires at least one parameter to allow for self."
            self.__dict__[key] = partial(value, self)
        elif isinstance((prop := getattr(type(self), key, None)), property):
            prop.fset(self, value)
        else:
            self.__dict__[key] = value

class Test(AddableFunctions):
    def __init__(self):
        self._val = 20

    @property
    def val(self):
        return self._val

    @val.setter
    def val(self, _val):
        assert _val > 0
        self._val = _val

def my_test(self, var_a):
    print(f"Instance val: {self.val}")
    print(f"You passed in {var_a}")

a = Test()
a.val = 17
a.foo = my_test
a.foo(5)
a.val = 5
a.foo(12)
wise cargoBOT
#

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

001 | Instance val: 17
002 | You passed in 5
003 | Instance val: 5
004 | You passed in 12
wise glade
#

hey guys, anyone knows how git merge works? I have a conceptual thing to ask

#

hang on

#

just a sec

#

can you please explain how this worked

uncut meteor
wise glade
#

thanks, still not clear, but I think it I should just move on for now ๐Ÿ˜…

rich cloud
#

xD

wise glade
rugged root
uncut meteor
#

!e

def foo(s, x=[]):
    x.append(s)
    return ' '.join(x)

[foo(_) for _ in ["I", "didn't", "think", "this", "would", "work", "like"]]

print(foo("This."))
wise cargoBOT
#

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

I didn't think this would work like This.
fresh python
rugged root
uncut meteor
#

!e

class Test:
    def __init__(self):
        self.KEK = self.val()

    def val(self):
        yield "You"
        yield "stink"
        yield "lol"

    def ___(self):
        return next(self.KEK)

def foo(lol=Test()):
    print(lol.___())

foo()
foo()
foo()
wise cargoBOT
#

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

001 | You
002 | stink
003 | lol
neon sleet
#

print('hello world')

rugged root
#

@inland lance Talk in here

uncut meteor
#

!e

for(i)in range(1,101):print(["FizzBuzz",["Fizz",["Buzz",i][i%3!=0]][i%5!=0]][i%15!=0])
wise cargoBOT
#

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

001 | 1
002 | 2
003 | Buzz
004 | 4
005 | Fizz
006 | Buzz
007 | 7
008 | 8
009 | Buzz
010 | Fizz
011 | 11
... (truncated - too many lines)

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

rugged root
#

@inland lance Did you need anything or were you just trying to randomly get under my skin?

amber raptor
#

mighty noisy

rugged root
#

@inland lance If you're going to talk to me, talk to me in here

#

#discord-bots isn't the right channel to talk in if you're trying to communicate with us

gloomy scaffold
#

Someone has been naughty and needs to go to the principal's office O.o

versed island
#

is the world stilll programming on windows pithink

amber raptor
#

We use Windows at work

#

mainly for management

gloomy scaffold
#

Sounds like way to work to make a module to emulate that lul

#

prob already one on git tbh

#

the big boy vocabulary in here rn smh

fiery hearth
#

@versed island game of chess?

gloomy scaffold
#

O.o

amber raptor
fiery hearth
#

send a limk

uncut meteor
versed island
balmy nymph
#

CPython is following SemVer though

#

Dict operations

#

And builtin typehints lemon_hyperpleased

#

3.9 doesn't use the parser

amber raptor
#

for python 4, I want to see JIT

amber raptor
#

PyPy is great but PSF making it default would really give it resources it needs

balmy nymph
#

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

#

I can't speak english

#

The french accent is too strong

#

;-;

gloomy scaffold
#

lmao

balmy nymph
#

!note @tidal salmon bulli

wise cargoBOT
#

:ok_hand: applied note to @tidal salmon.

gloomy scaffold
#

xD

uncut meteor
#

!note @balmy nymph sike

balmy nymph
#

That's a mod command

#

What a note haha

gloomy scaffold
#

I kinda wanna try it ngl

#

!note @gloomy scaffold ๐Ÿ˜Ž

#

dam

#

not even a no access reply

rugged root
#

!user

uncut meteor
#

!loser

tidal salmon
#

!i a 25800 | Tried to bully Akarys into speaking to me with his French accent for my amusement. Treating people's speech as a novelty is very offensive.

pure path
#

user commands takes long

uncut meteor
#

!ping

wise cargoBOT
#
Mr. Hemlock#2740

hypesquad_balance early_supporter

User information

Created: 5 years, 2 months and 29 days ago
Profile: @rugged root
ID: 98195144192331776

Member information

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

Infractions

Total: 8
Active: 1

pure path
#

for me as wel

wise cargoBOT
#

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

pure path
#

see

balmy nymph
#

You can't do that here haha

#

!shadowwarn

amber raptor
#

Is gateway broken or bot broken?

gloomy scaffold
#

!user

wise cargoBOT
#

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

wise glade
#

hey @rugged root, remember u were telling me about "three way merge", and u mentioned rebase, i didn't know rebase at that time, now I read it & got confused, can you please explain it in reference to this image branches
they're rebasing experiment to master

rugged root
#

!server

wise cargoBOT
#

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

Channel counts
Category channels: 26
News channels: 8
Text channels: 151
Voice channels: 11
Staff channels: 67

Member counts
Members: 124,291
Staff members: 86
Roles: 79

Member statuses
status_online 33,546
status_offline 90,745

pure path
#

2015

#

iirc

balmy nymph
#

PyDis is future smh

pure path
#

nah pydis is a short

balmy nymph
#

.>

#

Not that again

pure path
#

xd

amber raptor
#

some ISPs will give you new IP when you restart modem

gloomy scaffold
#

I do assume that now tho

neon sleet
#

!e

import os
print(os.listdir())
wise cargoBOT
#

@neon sleet :white_check_mark: Your eval job has completed with return code 0.

['Pipfile.lock', 'Pipfile', 'config', 'snekbox', 'LICENSE', 'tests']
amber raptor
#

I don't rebase, it screws with History, I highly recommend merging, squash merge if you want

uncut meteor
#

oooo he hacking

neon sleet
#

whats a snekbox

uncut meteor
#

a box that contains sneks

neon sleet
#

its not hacking for sure

wise glade
uncut meteor
#

!e
import os
print(os.getlogin())

neon sleet
#

uh, what

gloomy scaffold
#

same xD

balmy nymph
amber raptor
wise glade
#

@rugged root if I have two branches 1 and 2, so what do I do to rebase 2 into 1?
checkout to 1 and do git rebase 2? or vice versa? I don't get this part

uncut meteor
#

!e
import os
print(os.getlogin())

wise cargoBOT
#

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

001 | Traceback (most recent call last):
002 |   File "<string>", line 2, in <module>
003 | OSError: [Errno 25] Inappropriate ioctl for device
amber raptor
#

probably checkout the target branch

neon sleet
#

!e

import os
print(os.curdir)
wise cargoBOT
#

@neon sleet :white_check_mark: Your eval job has completed with return code 0.

.
neon sleet
#

uh

pure path
#

#bot-commands

wise glade
#

i guess I'll read the link again, focusing more this time

neon sleet
#

X-{

gloomy scaffold
#

LUL

amber raptor
#

yea, I think if you ever push, rebasing becomes nightmarish, which is why we didn't do it

balmy nymph
#

@rugged root main lemon_enraged

wise glade
balmy nymph
#

@uncut meteor If you can throw it into the sun, you will get a virtual medal

uncut meteor
rugged root
#

@balmy nymph Aren't most of ours still master?

balmy nymph
#

Yes lemon_pensive

#

Well, at least our old projects

wise glade
#

what's snackbox?

balmy nymph
amber raptor
#

snekbox is system that runs !e commands

rich cloud
#

cpt. closet <3

balmy nymph
#

Basically, you only pull LFS when you need them

hushed elm
#

oh that's nice

balmy nymph
#

I don't think we ever had LFS, do we @rugged root

#

Like, we never had any file larger than 1Gb

#

Doesn't work, yeah

hushed elm
#

.git

balmy nymph
#

Fun fact: when you clone the pydis website, you download the whole CSS toolkit since someone accidentally commited it in the past

#

Rebasing isn't a replacement for merging

wise glade
#

i want to talk, but a lot of children are shouting playing right now in my house right now

#

and now hemlock will make a joke

amber raptor
#

what Akarys said, whatever, MERGE EVERYTHING!

balmy nymph
#

It is a tool, helping you to solve issues, but you shouldn't use them on a regular basis

amber raptor
#

and squash merge if you care about your history

balmy nymph
#

Also that

wise glade
#

my mother teaches children, elementary, and she's doing it right now

hushed elm
#

my mom slaps kids who talk too much

balmy nymph
#

@rugged root isn't that how programming work haha

#

"it's my best guess!"

#

We don't squash either

wise glade
hushed elm
#

or those spanish moms who have a flip flop

balmy nymph
#

We want to keep the attribution of the code to the contributors

hushed elm
#

chacla or what's it called

amber raptor
balmy nymph
#

Also, that makes the blame a little bit more meaningul

wise glade
grave osprey
#

did i hear my name

balmy nymph
#

"Commit 1: add this line"
"Commit 2: add the next line"
"Commit 3: add a dot at the end of the first line"

#

Stats!

#

Yeah, that make sense

wise glade
#

dev-ops commits? ๐Ÿ‘†
small changes, everyday commits, youtube taught me

amber raptor
#

everyone commit method is different

#

some people are commit often, others prefer larger commits

pure path
#

Hmm i just cloned the bot, but it's different from the one in github

#

for some reason

amber raptor
#

I prefer small

balmy nymph
#

I always try to commit working code

amber raptor
#

and if I've changed 4 files for two different reasons, I'll make two commits, one for feature 1, one for feature 2

balmy nymph
#

I try to never have a commit that'd just fail because of a parse error or so

amber raptor
#

I hate linting on commit, that's not the time to check it

wise glade
#

can we delete commits?

git log --oneline
fb2bcc5 (HEAD -> master) Fifth Commit iss53
0fbb14b Revert "Third Commit"
0835452 Useless commit
655ec85 First Commit hotfix
5fb9248 First Commit iss53
b1123fe Fourth Commit second_branch
56c5fa2 Fourth Commit to master
77ad30b Third Commit
6e19cd6 Second Commit
41f2836 (tag: v0.1) First Commit
66569b6 First Commit

wipe out 3-4 commits from top, or maybe bottom?

balmy nymph
#

Sure

amber raptor
#

check should be on push

wise glade
#

yeah, then how?

amber raptor
#

rewrite history

balmy nymph
amber raptor
#

but it's just big no no

wise glade
#

git reset --hard 655ec85, so everything below it, or above?

balmy nymph
#

Your top commit will be 655ec85

#

You could force push

#

Buuuuuuttt

#

Some people will hate you haha

wise glade
#

it won't matter, even if I am the author/creator?

amber raptor
#

if it's a solo repo, it won't matter

balmy nymph
#

If you are the only one to work on the branch, that's pretty okay

amber raptor
#

if it's a team repo, it's pretty ugly for coworkers

#

since they have to pull right away

balmy nymph
#

And your coworkers will not like you

amber raptor
#

in a work environment, if you want to rewrite history, you have to get Team Lead sign off

hushed elm
#

nice

wise glade
#

no I got the ethical part, but if I created the repo, and then did a hard reset, it would reset for everyone? if they did git fetch origin at some point, everyone will get hard reset?

amber raptor
#

and you better come with great reason, only reason we do it is secrets get committed and even then, we just roll the secret

#

time to find out how good your code is at dealing with secrets!

balmy nymph
#

Depends if they already fetched it or not

winter bloom
#

Hello voice chat

#

I would like to ask some questions

wise glade
#

so I get it, it might create conflicts, ask them to keep the current changes, or accept incoming ones

balmy nymph
#

Also, reseting commits that contain tokens won't work

winter bloom
#

Where do I start with coding when I have no prior experience

balmy nymph
#

It will still be on the server

winter bloom
#

What are the coolest things you can do with programming?

amber raptor
#

Akarys, if you rewrite and push, it should overwrite the history

winter bloom
#

Why is it so useful?

wise glade
winter bloom
#

How do I protect from hackers?

hushed elm
#

can i post a harry potter + french meme @balmy nymph ?

balmy nymph
winter bloom
#

How does the internet work?

balmy nymph
#

It is very tricky, but it is possible

amber raptor
#

even if you come back later?

winter bloom
#

What is the difference between computer engineering and computer programming

balmy nymph
#

Yeah, if GitHub hasn't purged them, and afaik they don't

amber raptor
#

I don't know, security has made us rewrite history

winter bloom
#

How long does it take on average to learn programming?

wise glade
amber raptor
#

๐Ÿคท

balmy nymph
winter bloom
#

Okay.

amber raptor
#

but I really dislike our security team

balmy nymph
winter bloom
#

Also all of you are developers, what do you develop?

balmy nymph
#

Maybe they purged it after that

wise glade
winter bloom
#

Where do I start with programming when I have no prior experienve

wise glade
#

yeah f*** coworkers

balmy nymph
#

Can I bitch on my schoolmates haha

winter bloom
#

Anyone have any recommendations for someone who is new to this programming world?

winter bloom
#

Alright.

rich cloud
#

damn.

winter bloom
#

lol

wise glade
#

people get jobs from facebook? ๐Ÿคจ

balmy nymph
#

That's how programming in enterprise work, right?

wise glade
#

is this before linkedin?

rich cloud
#

In my industry of civil engr, network is also majorโ€”obviously.

balmy nymph
#

"I don't know how, but I'm gonna do it!"

hushed elm
hushed elm
wise glade
#

nice, new keyboard, still not used to it

amber raptor
#

and by security, network security

wise glade
#

thanks everyone (Rabbit), I'll go learn rebase now

amber raptor
#

no, I like our security guard

#

enjoy accelerator

#

she is pretty interesting and politically, it's great to hear from someone who makes ton less then rest of us

rich cloud
#

144hz is the way

#

yeah

#

its butter

#

buttuh!

balmy nymph
#

I'd say thunderbolt since you can charge it at the same time

hushed elm
#

hmm interesting

rich cloud
#

Hi ! @eternal bough

amber raptor
#

HDMI will go better

#

if you dock, that's different

hushed elm
#

i gotta go, see you later

amber raptor
#

but I've had bad experiences with Thunderbolt port replicators

hushed elm
#

๐Ÿ˜—

rugged root
#

Later, bud

amber raptor
#

I'm still rocking old style dock at work because how much Thunderbolt docks suck

wise glade
#

ok, what is a detached HEAD?

amber raptor
#

like, I get why Surface line hasn't converted

wise glade
#
git branch
* (HEAD detached at 56c5fa2)
  master
  second_branch
  thirdbranch
balmy nymph
#

It means that you aren't on a branch

wise glade
#

this is what I did git checkout 'master@{1 days ago}'

balmy nymph
#

You are just at a random commit

#

You can't commit anything because of that

hushed elm
#

head DETACHED

balmy nymph
#

I am addressing reviews on my PR

hushed elm
#

hardcore programmers

wise glade
#

I rebased my master branch, and I was trying to roll back changes one commit, how do I do it?

balmy nymph
#

I gotta say, your form numbers are pretty funny

#

"I gotta fill the form XCE85-8"

wise glade
#
2eb91fc (HEAD -> master, thirdbranch) ThirdBranch Commit
fb2bcc5 Fifth Commit iss53
0fbb14b Revert "Third Commit"
0835452 Useless commit
655ec85 First Commit hotfix
5fb9248 First Commit iss53
b1123fe Fourth Commit second_branch
56c5fa2 Fourth Commit to master
77ad30b Third Commit
6e19cd6 Second Commit
41f2836 (tag: v0.1) First Commit
66569b6 First Commit

wanna roll back changes to fb2bcc5 Fifth Commit iss53

balmy nymph
#

Ah yes, of course

rich cloud
#

xD

wise glade
#

hard reset just to roll back changes?

pure path
#

bast?

balmy nymph
#

@uncut meteor Technical details! It is launching a new python process, applies kernel restrictions using cgroups and rlimits and remounting filesystem, and redirect stdout and err to the main snekbox process

wise glade
#

ok, git reset hashthingy works

balmy nymph
#

@rugged root fyi the issue we had on snekbox is that two folders were mounted in rw instead of ro

#

We just forgot to include them in the config

wise glade
#

also, since Rabbit's here, and he once said he works with powershell (I remember),
when I run some while loop, it doesn't stop with Ctrl + D/Z/C, any of it. why?
it used to in linux

amber raptor
#

it will if you give it second

#

you have to wait for CLR to get control C

#

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

amber raptor
#

you might consider learning Kotlin instead of Java

wise glade
rich cloud
#

programmer โ‰  coder ?

amber raptor
#

that's not Powershell

rugged root
#

@rich cloud Just in my head

#

And it's more like...

#

A programmer is a coder, a coder is not necessarily a programmer

amber raptor
#

also Python threading pydis_nope_py

frozen jacinth
#

everyone has their own definition

rugged root
#

Again, this is purely just my definition

rich cloud
#

I understand :D

uncut meteor
#

im a noob

rich cloud
#

me too xD

uncut meteor
wise glade
amber raptor
rugged root
#

@grave osprey Well at least you're modest about it

wise glade
#

srry my internet, its like I live right on cellular handoff region

amber raptor
#

oh, doesn't matter, Python executes

wise glade
#

also, if I run it on external powershell, it won't stop

amber raptor
#

does it work like you expect in cmd?

wise glade
#

let me check

amber raptor
#

so not Powershell

wise glade
#
from concurrent.futures import ThreadPoolExecutor
from time import sleep

def foreverHello():
    while True:
        print("Hello")
        sleep(1)
    
def foreverBye():
    while True:
        print("Good Bye")
        sleep(1)

if __name__ == '__main__':
    with ThreadPoolExecutor(max_workers=3) as pool:
        pool.submit(foreverHello)
        pool.submit(foreverBye)
grave osprey
#

ppl with a degree and interest > self taught/interest > just a degree

amber raptor
wise glade
#

you guys heard of IIT? google's CEO's from there
although I'm pretty sure he doesn't code, anymore ๐Ÿ˜…

rugged root
#

God damn it

#

@lime plaza What were you saying?

#

Hard to get a word in edge wise at times

amber raptor
#

accelerator sure

lime plaza
#

I was going to ask if an associates degree from a technical college would be enough and if a 4 year uni is needed.

amber raptor
#

Degree > No Degree

#

4 > 2

lime plaza
#

lol

#

true

amber raptor
#

but if you want to get associates degree before 4 year university, that's not a terrible idea esp if you are American

lime plaza
#

well i might be able to use my 2 years and switch into a university and complete to get the bachelors

wise glade
#

how do you stop powershell execution?

while True:
  print("Hello")

how do I stop this? CTRL + what?

rugged root
#

CTRL + C

uncut meteor
#

or ALT+F4 (closes the application)

wise glade
#

i ran the code in powershell

balmy nymph
#

shutdown -now

amber raptor
#

accelerator, this isn't a Powershell problem

uncut meteor
#

shutdown -later

amber raptor
#
Start-Sleep 180;Stop-Computer -Force```
lime plaza
#

am i supposed to know what your talking about

wise glade
amber raptor
#

I mean, to stop Python

wise glade
#

hmm, to stop python

rugged root
icy axle
lime plaza
#

WHAT

uncut meteor
#

Anglais, parlez-vous

#

๐Ÿค Gunright

amber raptor
#
get-process | where {$_.ProcessName -like "*python*"} | stop-process -Force```
wise glade
#

how many lectures max have you guys attended in a week?

balmy nymph
#

@rugged root That's from this morning haha

rugged root
#

That's amazing

balmy nymph
#

eivl turned into elvis

rugged root
#

Ahhhh

#

Okay

#

Solid

balmy nymph
#

Well, eivl's

wise glade
#

so I have to attend 46 lectures per week for a month, should I kill myself? 50 min each

amber raptor
#

Application process is public on website

lime plaza
#

no

#

sounds like fun

rugged root
#

If you're wanting to take the classes for the sake of taking them? EDIT: That was to you Cody

#

Do it

#

DOOO EEEEEEEEEET

amber raptor
#

Just apply

#

if youa re so well off, the application fee won't be that big of deal

wise glade
#

is it true fang's have changed their policy for jobs, to that they don't require a graduation degree anymore?

amber raptor
#

Yes, No

wise glade
#

so not all fangs

amber raptor
#

Google will hire you, you will be writing Javascript for GMail UI that your team leader told you to do

#

Google now has enough products they need line workers

wise glade
#

will they pay you 250k ?

amber raptor
weary zephyr
wise glade
#

๐Ÿ˜ข

rugged root
lime plaza
#

am I allowed to dm you or someone a link to the tech college i want to go to?

amber raptor
rugged root
#

You can, yeah

lime plaza
#

ok well after hes done talking

rugged root
#

If you're comfortable with sharing that

lime plaza
#

yea

#

its far away from me

wise glade
#

I gotta clear Toeffl first to go to american/canadian colleges

amber raptor
#

RegEx is American

uncut meteor
#

SNAKES ON THE GOD DAMN PLANE

faint ermine
#

(goddamnit i hate being scrolled up without noticing)

uncut meteor
#

it*

amber raptor
#

this is getting derailed

rich cloud
#

xD

wise glade
#

i think there's at least one discussion on mental health here everyday

rugged root
#

Usually my fault

grave osprey
#

is it even really a programming server if everyones not off topic?

balmy nymph
#

Mental health is a very interesting topic IMO

wise glade
#

japanese has 13

uncut meteor
#

^ me listening to this chat

wise glade
#

why do you think all japanese middle school anime have boyfriend-girlfriend theme going on

#

they show that stuff on their national television

frozen jacinth
#

Japan, what an interesting place

wise glade
#

people are in heat over there

uncut meteor
#

work is for nerds

#

lol

rugged root
uncut meteor
#

lol

#

nerd

#

Can you stop asking weird questions while people are talking

grave osprey
#

i dont get followed, i follow ๐Ÿ˜ˆ

hardy cape
#

wow very crowded chat

wise glade
#

ok, I'm going to bed, first lecture 9 am, last lecture 5pm, continuous for 1 month ๐Ÿ˜จ๐Ÿ˜จ๐Ÿ˜จ
talk about my mental health

grave osprey
#

lol sup griff long time no see

rich cloud
#

23/25 o_o

frozen jacinth
#

the squeaker

rich cloud
#

42

#

yo

balmy nymph
#

4269

#

Just kidding

rich cloud
#

42 is the answer to life, the universe & everything

frozen jacinth
#

does anyone know why "42" is the meaning of life?

balmy nymph
#

Because it is

rugged root
#

I hate this program, I hate this program, I HATE this program

rich cloud
#

After millions of years of computation.

frozen jacinth
#

yeah, but it's not just some random number, someone came up with it

rich cloud
#

lmaoo

rich cloud
frozen jacinth
#

I've heard that it's a reference to the Japanese god of death. basically the meaning of life is death

unkempt quail
#

if something is 4 items per dollar how much will 200 of it cost?

lime plaza
#

is that marvel

#

right?

#

ghost rider or something

#

les goo

rich cloud
#

someone said 50

lime plaza
#

he can beat thanos right?

frozen jacinth
#

I could beat thanos

rich cloud
rugged root
#

I want to punch this program

#

In the face

faint ermine
#

what program?

rugged root
#

Accounting CS

#

Specifically its report designer

balmy nymph
#

Does the program have a face?

rugged root
#

I'll make it one

#

Just so I have something to punch

balmy nymph
#

Fair enough

#

I think it is time for me to go, cya guys ๐Ÿ‘‹

rugged root
#

Take it easy

near niche
#

I have a question

#

I don't want to interrupt the call

rugged root
#

Shoot

#

I meant in text

faint ermine
near niche
#

I finished my "Email Santa Discord Bot" on the 24th, but I have a problem: it uses 100% CPU all the time. is this normal?

rugged root
#

Very no

faint ermine
#

nope

near niche
#

code

faint ermine
#

side note: add .vscode to gitignore

#

then delete it

near niche
#

ok

#

wait

faint ermine
#

also you dont need to do import gc

#

just leave all the gc stuff out

rugged root
#

The interpreter will handle that on its own

near niche
#

i was afraid of it running out of ram

#

people said that forcing gc will make the ram clear faster

rugged root
#

It does that even if you don't tell it to

#

No, that's not how that works

faint ermine
#

also,. use the discord.ext.comamnds extension for commands, not a startswith

near niche
#

oh no, do i have to re-write my entire code now?

faint ermine
#

yep

#

well

#

the on_message part anyways

near niche
#

is there a better way to do this? i feel like this could be what's taking up 100% cpu because it's constantly checking

# Task to send out finished emails to Santa (this ensures that two emails don't clash with each other)
@tasks.loop()
async def sendFinishedLetters():
    global finishedLetters

    for user, letter in list(finishedLetters.items()):
        await client.get_channel(letter[0]).send(letter[1])
        for line in letter[2]:
            if len(line.strip()) >= 4:
                await client.get_channel(letter[0]).send(line)
        await client.get_channel(letter[0]).send(letter[3])
        del finishedLetters[user]
grave osprey
#

@vivid gull The Quality of Life Scale (QOLS) originated from John Flanagan, who was an American psychologist (Burckhardt & Anderson, 2003). The Quality of Life Scale measures things like satisfaction, perceptions of control, involvement, commitment, and work-life balance, in terms of one's personal perception.

faint ermine
#

just dont check constantly? put a 30 sec delay on it?

near niche
#

the problem with that is that it increases the time that the user will have to wait to see their "finished letter from Santa"

faint ermine
#

seems like a library design problem in your emailsanta library

near niche
#

all it does is feed back a string

#

nothing too special

faint ermine
#

there should be a way you can just submit a mail and get the response without polling (checking in a loop)

near niche
#

it is that way already

faint ermine
#

why do you need to loop then?

near niche
#

but the problem is that if two people use the bot at the same time, it will look weird and like this:

#

Dear Felix,

#

Dear Laundmo<

#

Hi Felix! How are you doing? Such a good boy...

#

Hi Laundmo! etc.

faint ermine
#

okay i get it

#

so

hushed elm
#

Felix - good boy

near niche
#

this makes sure that they are sent out in sequence

hushed elm
#

Laundmo - etc

near niche
#

unfortunately this "fix" uses so much cpu

faint ermine
#

you should get rid of the loop and the polling, wait for the entire message to be done and send it in a single message

near niche
#

no, you are a good boy too Laundmo

faint ermine
near niche
#

it was a joke in response to @hushed elm

faint ermine
#

anyways

#

wait for the message to be done in your comamnd code

#

then send it at the end, as a single message

#

this will be much clearer once you use the commands extension

near niche
#

the reason i have to break up the letter from santa into multiple messages is because it exceeds the discord 2000 char limit

faint ermine
near niche
#

i tried embeds too

#

but i had trouble with them3

#

they have a char limit too i think

faint ermine
#

yea, its a bit more complex

#

they have a total limit of 6000 characters

#

afaik

near niche
#

like one entire embed in total?

faint ermine
#

yes, but each field has its own limit, so you need to split it across multiple fields

#

discord isnt meant for really long messages tho, so another alternative would be to send a message with a part of the reply and the rest in pastebin for example

weary zephyr
#

send a message with a part of the reply and the rest in pastebin for example
That sounds a bit ugly ngl

faint ermine
#

if you have a 2000+ char message...

rugged root
#

Yeah that's....

#

Pare it down if it's that large

near niche
#

it's an entire letter from Santa

weary zephyr
#

Maybe send an image?

near niche
#

and i wanted it to be legible without downloading stuff

#

images can't be copy-pasted

#

as text

weary zephyr
#

well you have to compromise somewhere

rugged root
#

Link them to the page that has their letter?

near niche
#

the page is dynamic

#

unfortunately

faint ermine
#

so host your own?

near niche
#

i don't have the code

faint ermine
#

or as i said, pastebin

near niche
faint ermine
#

no i mean, create a page that just stores the reply you get

#

and creates a permalink for it

#

like, your page would just get a text and store it, at which point you have created pastebin

#

lol

near niche
#

maybe i would try the embed technique then

weary zephyr
#

wait why was the embed idea discarded

#

yeah

near niche
#

because i don't think it will exceed 6000 chars