#voice-chat-text-0

1 messages · Page 774 of 1

tall latch
terse needle
#

finally finished my bubble sort visualiser in cpp

#

might install obs an try and record it working

stuck furnace
gentle flint
#

ffmpeg in general has huge amounts of deps iirc

tall latch
stuck furnace
gentle flint
#

the debian repo has a very minimally compiled ffmpeg so it only needs 14 dependencies

somber heath
#

@rugged root Barn Swallower.

gentle flint
tall latch
stuck furnace
gentle flint
#

...wow

honest pier
#

😔 9999h is not a valid datetime 😔

somber heath
#

!e python import datetime, time a = datetime.datetime.now() time.sleep(1) b = datetime.datetime.now() print(b-a)

wise cargoBOT
#

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

0:00:01.005458
terse needle
runic forum
#

!e ```py
import datetime, time
a = datetime.datetime.now()
time.sleep(1)
b = datetime.datetime.now()
print(b-a)

wise cargoBOT
#

@runic forum :white_check_mark: Your eval job has completed with return code 0.

0:00:01.003996
vivid compass
stuck furnace
#

I think many of those are listed as "recipes" at the bottom of the itertools documentation.

whole bear
stuck furnace
#

I was teaching someone about itertools.groupby yesterday 😄

#

I think Griff?

honest pier
#

yep

runic forum
#

!e ```py
def diference_in_time(first_time: datetime.datetime, seond_time: datetime.datetime):
difference = second_time - first_time
seconds_in_day = 24 * 60 * 60

# difference in minute, second tuple
# return divmod(difference.days * seconds_in_day + difference.seconds, 60))

# difference in seconds
return difference.days * seconds_in_day + difference.seconds
#

oh wait...

rugged root
runic forum
#

!e ```py
import datetime

def diference_in_time(first_time: datetime.datetime, seond_time: datetime.datetime):
difference = second_time - first_time
seconds_in_day = 24 * 60 * 60

# difference in minute, second tuple
# return divmod(difference.days * seconds_in_day + difference.seconds, 60))

# difference in seconds
return difference.days * seconds_in_day + difference.seconds
#

none

whole bear
whole bear
runic forum
#

i dont know python

rugged root
#

Well then you're in the right place!

stuck furnace
#

I think programming in Python can actually be cognitively hard. Something to do with having to keep more information in your working memory while you mentally simulate the execution of the program.

#

Because you can have things like lists that mix types.

hoary inlet
#

it's hard to knockoff the habit of declearing type before the variable

somber heath
#

Ambrosia.

ocean panther
#

EEL

#

import eel

rugged root
hoary inlet
#

brb

rugged root
ocean panther
#

is it like electron?

stuck furnace
#

gtg for a bit 👋

ocean panther
#

you actually put the html file as a string inside the python code XDDDD

rugged root
#

Yeah this is wild

#

It's directly using Chrome rather than Electron

#

That's really interesting

ocean panther
rugged root
#

Yep, because it uses the cefpython

#

From what I can tell, anyway

ocean panther
cloud rover
#

Hmmm.....

rugged root
#

Oh no, I'm wrong

#

It's its own beast

cloud rover
#

Something like this is what i need

ocean panther
#

<Greenlet at 0x4691a50: run_lambda> failed with OSError

Thanks for tat hahahah

swift valley
#

Evenin'

runic forum
#

hello

swift valley
honest pier
#

😔

versed island
#

lane detection is very basic now

swift valley
#

I really should restructure my project

versed island
#

you can use Intel's OpenVINO to do this

#

lane Detection

#

natural language is not precise

#

so what would a "beautiful girl" return

rugged root
#

In case I missed saying hello to anyone, hello!

versed island
#

halo

swift valley
#

Probably

#

.wa beautiful girl

viscid lagoonBOT
versed island
#

lol

#

wait are there only billions of stars

#

arent there billions of galaxies

swift valley
#

More than you could possibly conceptualize

crude pewter
#

can someone hop in voice chat with me

versed island
#

mr hemlock is not from earth

#

he is from andromeda galaxy

swift valley
#

Gonna push another site deployment tonight

#

Stay tuned™

versed island
#

python is a gud language ... when i cant do anything in java

#

i do it in python

whole bear
crude pewter
#

@whole bear yes

honest pier
#

!mutable-default

wise cargoBOT
#

Mutable Default Arguments

Default arguments in python are evaluated once when the function is
defined, not each time the function is called. This means that if
you have a mutable default argument and mutate it, you will have
mutated that object for all future calls to the function as well.

For example, the following append_one function appends 1 to a list
and returns it. foo is set to an empty list by default.

>>> def append_one(foo=[]):
...     foo.append(1)
...     return foo
...

See what happens when we call it a few times:

>>> append_one()
[1]
>>> append_one()
[1, 1]
>>> append_one()
[1, 1, 1]

Each call appends an additional 1 to our list foo. It does not
receive a new empty list on each call, it is the same list everytime.

To avoid this problem, you have to create a new object every time the
function is called:

>>> def append_one(foo=None):
...     if foo is None:
...         foo = []
...     foo.append(1)
...     return foo
...
>>> append_one()
[1]
>>> append_one()
[1]

Note:

• This behavior can be used intentionally to maintain state between
calls of a function (eg. when writing a caching function).
• This behavior is not unique to mutable objects, all default
arguments are evaulated only once when the function is defined.

crude pewter
#

@whole bear im new to coding so i dont think i could explain through typing so voice chat would be better for me

somber heath
#
def func(a = print('Hello, world.')):
    pass```
swift valley
#

There's always more than one way to do something in Ruby

#

Which is kinda ergh

honest pier
#
func f(i: Int, L: [Int] = [Int]()) {
    var L = L
    L.append(i)
    print(L)
}
f(i: 3)
f(i: 6)

out:

[3]
[6]
honest pier
#

swift

runic forum
#

ok

honest pier
#
func f(a: Int, b: Int) {
    print(a)
    print(b)
}

f(b: 5, a: 3)
``` won't compile
#
func f(random_name a: Int) {
  print(a)
}

f(random_name: 10)
rugged root
#

So can you do f(random_name: 10) as well as f(a: 10)? Or does specifying make it so that you can only use the random_name

honest pier
#

you can only do random_name when you call the function

#

in the function signature, the one before the space is the exposed name, the one after is the name inside the function

rugged root
#

Gotcha

#

That's so wonky

honest pier
#

yes

#

it makes sense, kinda, but like

#

¯_(ツ)_/¯

#

you can be descriptive to users of your API, and convenient to your programmers

rugged root
#

!mute 775376034634661898 Investigating

wise cargoBOT
#

failmail :ok_hand: applied mute to @whole bear until 2021-03-05 17:12 (59 minutes and 59 seconds).

wise glade
#

oohh.. burner phone, nice, yours?

#

ohh..

swift valley
#

sand mode best mode

#

Default Emacs is ugly

wise glade
#

company's making me take basic Udemy courses 😭 , they suck

runic forum
rugged root
wise glade
#

back to shi** udemy video for now

hoary inlet
wise glade
#

yeah, its basic, I might not know some of it
but I already know most of it

#

and it won't let me skip vidoes

#

I have to watch em

#

just I'm watching em on 2x speed

swift valley
#

@rugged root That font makes me think of "Live Laugh Love" for some reason

rugged root
#

It really really does

wise glade
#

I'm good with any font that makes __ into _ _ (separation visible)

rugged root
#

@cursive minnow You having connection issues?

hoary inlet
#

font suggestions, I don't like the jetbrains default fonts

wise glade
#

I'm using Input Mono Regular
also Hack in a diff editor

swift valley
#

Also I really should automate deployments

rugged root
#

Ah okay

hoary inlet
paper tendon
#

!ping

wise cargoBOT
#

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

honest pier
#

!ping

wise cargoBOT
#
Pong!
Command processing time

72.955 ms

Python Discord website latency

1.265 ms

Discord API latency

137.701 ms

wise glade
#

this course? no its a waste of time
no need to do it, if you don't have to @hoary inlet

hoary inlet
#

okay so scrum is ?

wise glade
#

idk

#

I didn't pay for this, its free for me

#

Scrum is section 10, I'm on section 5

runic forum
#

@rugged root who was it

hoary inlet
#

lol

faint ermine
swift valley
faint ermine
rugged root
amber raptor
#

Or last DM control I would want is servers could set an option where people would get notified about shared server setting

rugged root
#

How do you mean, Rab?

amber raptor
#

So they could be like “Hey, we are large public open server with very little vetting. We would recommend turn off allow DM from members if you have concerns”

tall latch
#

can i throw it out of a skyscraper

amber raptor
#

Like number of people on discord I’ve had to point to that option is too damn high

rugged root
spiral monolith
#

datetime.fromtimestamp(1172969203.1)
datetime.datetime(2007, 3, 4, 0, 46, 43, 100000)

hoary inlet
#

ok, so on downloading a font, you get a list of bold/italics etc, how do you apply all of them so they work together

#

like this

wise glade
#

ok

#

de-compile this ```py
_____ = True
def ___():
______ = False
if _ in {2,3}:
return _____
elif _ < 2 or _ % 2 == 0 or _ % 3 == 0:
return ______
___ = 5; __=2
while ___**2 <= _:
if _ % ___ == 0:
return ______
___ += ; = 6 - __
return _____

honest pier
#

🤔 it's not compiled 🤔

wise glade
#

I love the use of _ in python

honest pier
#

simple primality test, i think

swift valley
#

Caching is screwing me over, yikes

#

I just want to see my site

faint ermine
#

!e ```py
s = """
_____ = True
def ___():
______ = False
if _ in {2,3}:
return _____
elif _ < 2 or _ % 2 == 0 or _ % 3 == 0:
return ______
___ = 5; __=2
while ___**2 <= _:
if _ % ___ == 0:
return ______
___ += ; = 6 - __
return _____
"""

import ast
import dis
print(ast.parse(s))
print(dis.dis(s))

honest pier
#

😔

wise cargoBOT
#

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

001 | <ast.Module object at 0x7fd5453bcfd0>
002 |   2           0 LOAD_CONST               0 (True)
003 |               2 STORE_NAME               0 (_____)
004 | 
005 |   3           4 LOAD_CONST               1 (<code object ____ at 0x7fd5453b1190, file "<dis>", line 3>)
006 |               6 LOAD_CONST               2 ('____')
007 |               8 MAKE_FUNCTION            0
008 |              10 STORE_NAME               1 (____)
009 |              12 LOAD_CONST               3 (None)
010 |              14 RETURN_VALUE
011 | 
... (truncated - too many lines)

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

wise glade
#

so what does it do laundmo?
the code

honest pier
#

('____')

faint ermine
#

on A CALL GIMMME SEC

#

aa

swift valley
#

Fix is a madman

#

Also, quite a lot of people today

#

Hello folks

honest pier
#

〰️〰️〰️〰️〰️〰️〰️〰️〰️〰️〰️〰️〰️〰️〰️〰️〰️〰️〰️〰️〰️〰️〰️〰️〰️

wise glade
#

when you guys work on personal projects,
do you go for "test driven development",
or no tests at all?

#

Hemlock, come to India, we have ancient healing magic here

#

just like Doctor Strange

swift valley
#

I added tests retroactively for my site

runic forum
wise glade
#

look at the time I'm supposed to spend on these sections
😂 I'm going over them like 5-7 min each

runic forum
#

what's scrum

wise glade
#

I'm on section 9 right now

hoary inlet
#

that's what I said

honest pier
#

!src

wise cargoBOT
whole bear
#

nice one

zealous wave
whole bear
#

ikr lmao

rugged root
hoary inlet
#

is there any way to loop through something and it changes variable name ?

rugged root
#

You really really really don't want or need to do that

#

Variables are specifically for the coder, not the end user

#

If you need something with a similar name, better to put them in a list

honest pier
#

what if the end user is the coder 😔

hoary inlet
#

no, like I want the function to generate a new variable with a new name for each loop

honest pier
#

hmmm, don't do that

#

show code?

hoary inlet
honest pier
#

yikes

#

use a list

#
start_07 = datetime.date(2007,1,1)
end_07 = datetime.date(2007,12,31)
start_08 = datetime.date(2008,1,1)
end_08 = datetime.date(2008,12,31)
start_09 = datetime.date(2009,1,1)
end_09 = datetime.date(2009,12,31)
start_10 = datetime.date(2010,1,1)
end_10 = datetime.date(2010,12,31)
start_11 = datetime.date(2011,1,1)
end_11 = datetime.date(2011,12,31)
start_12 = datetime.date(2012,1,1)
end_12 = datetime.date(2012,12,31)
start_13 = datetime.date(2013,1,1)
end_13 = datetime.date(2013,12,31)
start_14 = datetime.date(2014,1,1)
end_14 = datetime.date(2014,12,31)
start_15 = datetime.date(2015,1,1)
end_15 = datetime.date(2015,12,31)
start_16 = datetime.date(2016,1,1)
end_16 = datetime.date(2016,12,31)
start_17 = datetime.date(2017,1,1)
end_17 = datetime.date(2017,12,31)
start_18 = datetime.date(2018,1,1)
end_18 = datetime.date(2018,12,31)
start_19 = datetime.date(2019,1,1)
end_19 = datetime.date(2019,12,31)
start_20 = datetime.date(2020,1,1)
end_20 = datetime.date(2020,12,31)

cmon bruh

#

!e

for x in range(7, 21):
  print(2000+x)
wise cargoBOT
#

@honest pier :white_check_mark: Your eval job has completed with return code 0.

001 | 2007
002 | 2008
003 | 2009
004 | 2010
005 | 2011
006 | 2012
007 | 2013
008 | 2014
009 | 2015
010 | 2016
011 | 2017
... (truncated - too many lines)

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

hoary inlet
#

but I have to give the date in the date format

faint ermine
zealous wave
honest pier
#

!e

for x in range(7, 21):
  print(2000+x, 1, 1)
wise cargoBOT
#

@honest pier :white_check_mark: Your eval job has completed with return code 0.

001 | 2007 1 1
002 | 2008 1 1
003 | 2009 1 1
004 | 2010 1 1
005 | 2011 1 1
006 | 2012 1 1
007 | 2013 1 1
008 | 2014 1 1
009 | 2015 1 1
010 | 2016 1 1
011 | 2017 1 1
... (truncated - too many lines)

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

honest pier
#

can you see how this is useful for what you're doing?

hoary inlet
#

yeah, I got that but that's why I was looking to change the variable name as well

honest pier
#

why

hoary inlet
honest pier
#

!e

datetimes = []
for x in range(7, 21):
  datetimes.append((2000+x, 1, 1))
  datetimes.append((2000+x, 12, 31))
print(datetimes)
wise cargoBOT
#

@honest pier :white_check_mark: Your eval job has completed with return code 0.

[(2007, 1, 1), (2007, 12, 31), (2008, 1, 1), (2008, 12, 31), (2009, 1, 1), (2009, 12, 31), (2010, 1, 1), (2010, 12, 31), (2011, 1, 1), (2011, 12, 31), (2012, 1, 1), (2012, 12, 31), (2013, 1, 1), (2013, 12, 31), (2014, 1, 1), (2014, 12, 31), (2015, 1, 1), (2015, 12, 31), (2016, 1, 1), (2016, 12, 31), (2017, 1, 1), (2017, 12, 31), (2018, 1, 1), (2018, 12, 31), (2019, 1, 1), (2019, 12, 31), (2020, 1, 1), (2020, 12, 31)]
hoary inlet
#

okay, I got it, so to generate the list and then give it in the pandas_dataframe by index

boreal spear
#

!e

Test = input('This is a test to see if we can do inputs here:')
wise cargoBOT
#

@boreal spear :x: Your eval job has completed with return code 1.

001 | This is a test to see if we can do inputs here:Traceback (most recent call last):
002 |   File "<string>", line 1, in <module>
003 | EOFError: EOF when reading a line
crude pewter
#

can anyone help me on voice chat

#

i dont have permission to talk here

rugged root
#

What do you need help with?

boreal spear
#

@crude pewter what you trying to do?

crude pewter
#

Im trying to derive a polynomial

honest pier
#

!e

import sys
from io import StringIO
sys.stdin = StringIO("hooray!")

print(input())
wise cargoBOT
#

@honest pier :white_check_mark: Your eval job has completed with return code 0.

hooray!
crude pewter
#

itll be easier if i could share my screen

honest pier
boreal spear
#

what are you tyring to do with a ploynomial @crude pewter ?

amber raptor
#

A sound-powered telephone is a communication device that allows users to talk to each other with the use of a handset, similar to a conventional telephone, but without the use of external power. This technology has been used since at least 1944 for both routine and emergency communication on ships to allow communication between key locations on...

faint ermine
versed island
#

Oh my god lawando

hoary inlet
versed island
#

Lol ... We just call laundmo that out of love

rugged root
#

!voice @frank delta This should tell you what you need to know. Sorry for only just now responding!

wise cargoBOT
#

Voice verification

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

versed island
# faint ermine

This can disrupt cell phone market ... Would go for 6 months in one charge

honest pier
#

not really

faint ermine
#

well, its still really low powered

wise glade
#

@hoary inlet so Scrum its a product development framework that companies adopt to make products for their clients
quite popular with tech companies
3 Roles in Scrum Model

  • Product Owner (who hired your tech company to make something)
  • Scrum Master ( probably tech lead)
  • Development Team ( slaves writing code )
    5 Scrum Events
    - Sprint Planning ( setting small goal to accomplish in certain amount of time like 15 days or so)
    - Daily Standup ( A meeting held everyday for like 20 min where everybody explains what they did recently and what they'll be doing today)
    - The Sprint ( coding )
    • Sprint Review ( after 15 days asking clients reviews on the product, so if we made something diff from what
      client wanted, its just 15 days or less wasted and we can make necc. changes)
    • Sprint Retrospective ( after getting yelled by client, back to whiteboard to prepare for next sprint )

** Probably should've just dm you all this **
** btw I'm Still not finished with this **

honest pier
#

it's the reason why wireless charging is ineffective past half a meter or so

fallow zinc
#

hi i made some progress in my code

versed island
honest pier
#

no, it doesn't matter

fallow zinc
#

but i have the problem with function break and return

versed island
#

U need different dangerous frequency for longer distance

honest pier
#

doesn't matter

#

inverse square law says no

amber raptor
wise glade
#

I liked the Lean Startup model more than Scrum

#

just 3 steps

amber raptor
#

Scrum is trying to combine Agile development with employing office drones

wise glade
#

yeah, didn't get what you mean by this?
also you're not in the chat
just realized that

hoary inlet
wise glade
#

well, yeah, I don't have to be concerned with this stuff for now
I'm just a newbie

#

back to videos, I really want to finish this before bed

amber raptor
wise glade
#

it said 8 hrs total, I argued max 2

hoary inlet
versed island
#

I like the way big companies steal each other's employees and then copy their products

versed island
#

Like apple recently hired a lot of Tesla employees

#

Because it wants to enter the car market

runic forum
#

oohh... right...

hoary inlet
#

at this point every is getting into cars

versed island
#

Naah it's tru ... Even the senior brass

hoary inlet
#

you can charge it at apple electric stations only

runic forum
hoary inlet
vivid compass
hoary inlet
#

It will, give it time

runic forum
#

how bout this one?

hoary inlet
runic forum
versed island
#

Apple car would have wireless tyres

terse needle
versed island
#

Tyres would run separately from car

terse needle
#

wireless battery

runic forum
#

like delorean

vivid compass
wise glade
#

🎊 🎊 🎊

rugged root
#

Nice

honest pier
#

🎉

rugged root
#

Feel like you learned from it?

wise glade
#

no 😂

#

except for Scrum

#

since luna asked about it, I paid a little attention to it

runic forum
hoary inlet
swift valley
#

Can we just have regular, cool-looking smart cars

honest pier
#

no

versed island
#

I won't have key atleast ... Your i phone would be your key

#

I guess

hoary inlet
swift valley
#

Reject modernity, embrace tradition, return to monke

honest pier
#

go back i want to be monke

vivid compass
#

harambe

wise glade
#

you know if the company's able to track my time I spent on these courses
idk what I am gonna say 😨

hoary inlet
vivid compass
#

🦍

swift valley
#

No thank you yikes

hoary inlet
#

I can't get the image of out of my head

vivid compass
wise glade
#

can I say something
I hate cars, they get stuck in Indian traffic a lot

swift valley
honest pier
#

just don't get stuck

glad spade
#

do apple cars have windows?

versed island
#

g9 guys

vivid compass
honest pier
#

j9

hoary inlet
glad spade
#

gud nyt

hoary inlet
vivid compass
honest pier
#

imagine being named after a glass disk

wise glade
#

ok, I'm gonna go sleep
bye, 👋

dire oriole
hoary inlet
honest pier
#

could not be me

dire oriole
#

😔

#

imagine having a name related to java

hoary inlet
honest pier
#

?

honest pier
dire oriole
#

:/

hoary inlet
#

I don't know about glob

#

why not load both the files into a dataframe concatinate them and then create a new file

#

they have any columns in common ?

pine ledge
#

Hi

livid brook
#

hi

hoary inlet
#

mods trying to show off

honest pier
#

flexin

rugged root
pine ledge
rugged root
hoary inlet
#

he must have made 76, then

#

lol

amber raptor
hoary inlet
tall latch
tall latch
tall latch
tall latch
hoary inlet
#

the presence of scalpers is good for the company, so they won't chase them off

amber raptor
#

Pretty bad will

hoary inlet
#

but the scalpers do ultimately sell it to the end consumers

#

and it makes the sale faster for the company

#

I have seen a couple of companies bragging about how fast their inventory cleared out

#

no there's a misunderstanding you guys are talking about devices which get sold through retailers

#

I was talking about when the companies ship directly

#

bestbuy I have no idea

uncut meteor
#

its a shitshop

hoary inlet
#

electronic products ??

uncut meteor
#

Baked Beans

dire gorge
#

eh

hoary inlet
#

ok, so they provide financing

#

and insurance/warranty

amber raptor
#

That’s where their money comes from

hoary inlet
#

for retailers I understand, what about manufacturing companies, like sony ?

#

Sony would be like a platform , which provides a gateway for game development companies ?

dense ibex
#

So can I not do this?

first_login = datetime.datetime.fromtimestamp(first_login).strftime(%A-%Y-%m-%d %H:%M:%S)
honest pier
#

is there an error

dense ibex
#

Yes

#

and I am getting highlights underneath

(%A-%Y-%m-%d %H:%M:%S)
#

this is what the error is

honest pier
#

...?

dense ibex
#

like thats where I am getting the error

honest pier
#

ok, but what's the error

dense ibex
#
  File "C:\Users\jakea\Desktop\StatPixel(Stixel)\bot\cogs\overall.py", line 45
    first_login = datetime.datetime.fromtimestamp(first_login).strftime(%A-%Y-%m-%d %H:%M:%S)
                                                                        ^
SyntaxError: invalid syntax
honest pier
#

check the line before

dense ibex
#

wdym

honest pier
#

or just show more code

dense ibex
#

ok

runic forum
#

RCP (Reality Co Processor)

#

also

dense ibex
#
            async with aiohttp.ClientSession() as session:
                async with session.get(
                        "API TOKEN"
                        f"{uuid}") as response2:
                    print('Connected To Player API')
                    api_info = await response2.json()

                name = api_info["player"]["displayname"]
                karma = api_info["player"]["karma"]
                rank = api_info["player"]["newPackageRank"]
                first_login = api_info["player"]["firstLogin"]

                karma = ("{:,}".format(karma))
                first_login = datetime.datetime.fromtimestamp(first_login).strftime(%Y-%m-%d-%H:%M:%S)
#

its spaced out weird because I just copied it from the file directly

honest pier
#

oh

#

argument to strftime is a string

#

*should be

dense ibex
#

Ohhhh

#

got it

swift valley
#

Just add more RAM™

#

There was this Japan-only SNES peripheral that connected to a satellite subscription

#

I think

terse needle
#

i have too much ram

hoary inlet
runic forum
terse needle
#

cus i can

uncut meteor
#

2 phone lines?

#

you guys rich?

plain mica
hoary inlet
plain mica
hoary inlet
#

hahahaha

terse needle
#

your gonna laugh lmao

hoary inlet
#

you gotta let the man finish the joke

uncut meteor
#

Rabbit giving out his number flusheduwu

#

"call me"

terse needle
runic forum
uncut meteor
#

32165MiB

runic forum
#

which is....?

uncut meteor
#

32165MiB

plain mica
amber raptor
uncut meteor
#

oof

#

I was born holding a cell phone

terse needle
amber raptor
#

lightweights 😛

runic forum
#

what was it like before social media?

uncut meteor
#

only 3.28GHz?

hoary inlet
uncut meteor
#

wait

#

384GB

#

MEmEORT

#

WAh

amber raptor
#

16 cores

uncut meteor
#

Holy Smackrel

amber raptor
#

it's my home lab serveral

uncut meteor
#

where ur GeePeeYew at?

amber raptor
#

Work SQL server

terse needle
#

2TB RAM, nice

plain mica
verbal oasis
#

Hello, just a quick question.
Can we scan all the devices connected to wifi via ethernet on the same network?

amber raptor
#

probably me logging in

plain mica
amber raptor
#

that's my home lab server

#

it was old virtualization host my company was getting rid of

plain mica
#

I see

amber raptor
#

it's 5 years old

honest pier
#

😔 software engineer salary 😔

amber raptor
#

second picture is a work server, that's in production

amber raptor
rugged root
#

Why do you need that?

verbal oasis
#

@rugged root me?

uncut meteor
#

you can arp-scan

#

if on linux

amber raptor
#

that won't tell you if they are wifi clients

uncut meteor
#

windows is shit

amber raptor
#

Windows will let you ARP scan

rugged root
verbal oasis
#

that means it is possible!.....

uncut meteor
#

ik, but its annoying

amber raptor
#

Sure, Raw Sockets is something few people need

verbal oasis
# rugged root Yes

Oh! I just reinstalled linux on my old desktop computer but I don't have wifi on it. So I was wondering if I can do some experiments over wifi while connected via ethernet

rugged root
#

Fair enough

#

Just have to check

hoary inlet
#

I use mine mainly to play games

amber raptor
dense ibex
#

┌──┌┬─┌─┐┌┬─┌─┐┬
└─┐ │ ├─┤ │ ├─┘│
──┘ ┴ ┴ ┴ ┴ ┴ ┴

honest pier
#

🤔

uncut meteor
#
jere

dense ibex
#
┌──┌┬─┌─┐┌┬─┌─┐┬
└─┐ │ ├─┤ │ ├─┘│
──┘ ┴ ┴ ┴ ┴ ┴  ┴
#
┌┬┐┌─┐┌┬┐┌┬┐┌─┐┬┬
││││ │ │││││├─┤││
┴ ┴└─┘─┴┘┴ ┴┴ ┴┴┴─┘
graceful grail
#
\ /
 X
/ \
uncut meteor
#

<

#
\  /
 \/
 /\
/  \
honest pier
#

!http 503

#

😔

dense ibex
#
┌──┌┬─┌─┐┌┬─┌─┐┬╲ ╱
└─┐ │ ├─┤ │ ├─┘│ ╳
──┘ ┴ ┴ ┴ ┴ ┴  ┴╱ ╲
uncut meteor
#
\ /
 ╳
/ \
honest pier
#

.status cat 503

viscid lagoonBOT
#
**Status: 503**
honest pier
#

ayy

graceful grail
#

.status cat 404

viscid lagoonBOT
#
.[http_status|status|httpstatus] 

Group containing dog and cat http status code commands.

Commands:
  cat Sends an embed with an image of a cat, portraying the status code.
  dog Sends an embed with an image of a dog, portraying the status code.

Type .help command for more info on a command.
You can also type .help category for more info on a category.
graceful grail
#

.status cat 404

viscid lagoonBOT
#
**Status: 404**
honest pier
#

.status cat 403

viscid lagoonBOT
#
**Status: 403**
uncut meteor
#
 _  _ 
( \/ )
 )  ( 
(_/\_)
#
   ____     _____    
  `.   \  .'    /    
    `.  `'    .'     
      '.    .'       
      .'     `.      
    .'  .'`.   `.    
  .'   /    `.   `.  
 '----'       '----'
honest pier
#

.status cat 420

viscid lagoonBOT
#
**Status: 420**
uncut meteor
#
xxxxxxx      xxxxxxx
 x:::::x    x:::::x 
  x:::::x  x:::::x  
   x:::::xx:::::x   
    x::::::::::x    
     x::::::::x     
     x::::::::x     
    x::::::::::x    
   x:::::xx:::::x   
  x:::::x  x:::::x  
 x:::::x    x:::::x 
xxxxxxx      xxxxxxx
runic forum
#

.ms start

viscid lagoonBOT
#

@runic forum is playing Minesweeper

#

Here's their board!
:stop_button: :regional_indicator_a: :regional_indicator_b: :regional_indicator_c: :regional_indicator_d: :regional_indicator_e: :regional_indicator_f: :regional_indicator_g: :regional_indicator_h: :regional_indicator_i: :regional_indicator_j:

:one: :x: :flag_black: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :bomb: :grey_question:
:two: :one: :two: :bomb: :grey_question: :bomb: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question:
:three: :stop_button: :one: :grey_question: :grey_question: :grey_question: :grey_question: :bomb: :grey_question: :bomb: :grey_question:
:four: :stop_button: :one: :grey_question: :grey_question: :grey_question: :bomb: :bomb: :bomb: :grey_question: :bomb:
:five: :one: :two: :bomb: :bomb: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question:
:six: :grey_question: :bomb: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :bomb: :grey_question:
:seven: :grey_question: :grey_question: :grey_question: :bomb: :grey_question: :grey_question: :grey_question: :grey_question: :bomb: :grey_question:
:eight: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :bomb: :grey_question: :grey_question: :grey_question:
:nine: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question:
:keycap_ten: :grey_question: :grey_question: :bomb: :grey_question: :bomb: :grey_question: :bomb: :grey_question: :bomb: :grey_question:

uncut meteor
#
      
      
__  __
\ \/ /
 >  < 
/_/\_\
      
      ```
honest pier
viscid lagoonBOT
#

:fire: @runic forum just lost Minesweeper! :fire:

uncut meteor
#
       ▄█  ▄▀▀█▄   ▄▀▀▄ █  ▄▀▀█▄▄▄▄ 
 ▄▀▀▀█▀ ▐ ▐ ▄▀ ▀▄ █  █ ▄▀ ▐  ▄▀   ▐ 
█    █      █▄▄▄█ ▐  █▀▄    █▄▄▄▄▄  
▐    █     ▄▀   █   █   █   █    ▌  
  ▄   ▀▄  █   ▄▀  ▄▀   █   ▄▀▄▄▄▄   
   ▀▀▀▀   ▐   ▐   █    ▐   █    ▐   
                  ▐        ▐        
#

u stink @dense ibex

runic forum
#

.ms start

viscid lagoonBOT
#

@runic forum is playing Minesweeper

#

Here's their board!
:stop_button: :regional_indicator_a: :regional_indicator_b: :regional_indicator_c: :regional_indicator_d: :regional_indicator_e: :regional_indicator_f: :regional_indicator_g: :regional_indicator_h: :regional_indicator_i: :regional_indicator_j:

:one: :grey_question: :grey_question: :x: :grey_question: :grey_question: :bomb: :grey_question: :grey_question: :grey_question: :grey_question:
:two: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :bomb: :grey_question: :grey_question: :grey_question: :grey_question:
:three: :grey_question: :bomb: :grey_question: :grey_question: :bomb: :grey_question: :bomb: :grey_question: :grey_question: :grey_question:
:four: :grey_question: :grey_question: :grey_question: :grey_question: :bomb: :grey_question: :grey_question: :bomb: :bomb: :grey_question:
:five: :bomb: :grey_question: :bomb: :grey_question: :grey_question: :grey_question: :bomb: :grey_question: :bomb: :grey_question:
:six: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question:
:seven: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :bomb: :grey_question:
:eight: :grey_question: :two: :grey_question: :bomb: :bomb: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question:
:nine: :bomb: :grey_question: :bomb: :grey_question: :bomb: :bomb: :grey_question: :grey_question: :grey_question: :grey_question:
:keycap_ten: :grey_question: :grey_question: :bomb: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :grey_question: :bomb:

honest pier
viscid lagoonBOT
#

:fire: @runic forum just lost Minesweeper! :fire:

amber raptor
#

Everyone here

runic forum
#
 ▄▀▀▀█▀ ▐ ▐ ▄▀ ▀▄ █  █ ▄▀ ▐  ▄▀   ▐ 
█    █      █▄▄▄█ ▐  █▀▄    █▄▄▄▄▄  
▐    █     ▄▀   █   █   █   █    ▌  
  ▄   ▀▄  █   ▄▀  ▄▀   █   ▄▀▄▄▄▄   
   ▀▀▀▀   ▐   ▐   █    ▐   █    ▐   
                  ▐        ▐ 
uncut meteor
#
____ ___ ____ ___ ___  _ _  _ 
[__   |  |__|  |  |__] |  \/  
___]  |  |  |  |  |    | _/\_ 
                              
pine ledge
#

Hi

#

Teach me some cool python tricks

honest pier
#

.pyfact

viscid lagoonBOT
#
Python Facts

If you type import this in the Python REPL, you'll get a poem about the philosophies about Python. (check it out by doing !zen in #bot-commands)

Suggestions

Suggest more facts here!

uncut meteor
#

!e

a = 1
b = 2
a, b = b, a

print(a, b)
wise cargoBOT
#

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

2 1
graceful grail
#

!e import this

wise cargoBOT
#

@graceful grail :white_check_mark: Your eval job has completed with return code 0.

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

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

uncut meteor
#

!e

import that
wise cargoBOT
#

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

001 | Traceback (most recent call last):
002 |   File "<string>", line 1, in <module>
003 | ModuleNotFoundError: No module named 'that'
uncut meteor
pine ledge
#

!e print('efhiDf'.swapcase())

uncut meteor
#

woah

#

thats a thing

honest pier
#

huh

#

it's only 19

#

!e

import sys
from io import StringIO
old = sys.stdout
new = sys.stdout = StringIO()
import this
L = new.getvalue().split("\n")
sys.stdout = old
print(len(L))
print(L)
wise cargoBOT
#

@honest pier :white_check_mark: Your eval job has completed with return code 0.

001 | 22
002 | ['The Zen of Python, by Tim Peters', '', 'Beautiful is better than ugly.', 'Explicit is better than implicit.', 'Simple is better than complex.', 'Complex is better than complicated.', 'Flat is better than nested.', 'Sparse is better than dense.', 'Readability counts.', "Special cases aren't special enough to break the rules.", 'Although practicality beats purity.', 'Errors should never pass silently.', 'Unless explicitly silenced.', 'In the face of ambiguity, refuse the temptation to guess.', 'There should be one-- and preferably only one --obvious way to do it.', "Although that way may not be obvious at first unless you're Dutch.", 'Now is better than never.', 'Although never is often better than *right* now.', "If the implementation is hard to explain, it's a bad idea.", 'If the implementation is easy to explain, it may be a good idea.', "Namespaces are one honking great idea -- let's do more of those!", '']
graceful grail
honest pier
#

why are there random newlines

#

😔

dire oriole
#

just one at the end and one between the title and actual thing

graceful grail
pine ledge
#

Power bi

#

What's power fx

hoary inlet
#

there's a programming app for kids right ?

pine ledge
#

Vba

#

I did once

#

You can record

#

It generates

hoary inlet
#

wow

dire oriole
#

i am female

pine ledge
honest pier
pine ledge
#

grumpchib who's this

plain mica
#

!e import this

wise cargoBOT
#

@plain mica :white_check_mark: Your eval job has completed with return code 0.

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

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

plain mica
#

.pyfact

viscid lagoonBOT
#
Python Facts

If you type import antigravity in the Python REPL, you'll be directed to an xkcd comic about how easy Python is.

Suggestions

Suggest more facts here!

pine ledge
#

Yea other language I am not able to swap case

plain mica
#

!e ```py
import antigravity

wise cargoBOT
#

@plain mica :warning: Your eval job has completed with return code 0.

[No output]
pine ledge
#

Because there is no built-in function

plain mica
#

.pyfact

viscid lagoonBOT
#
Python Facts

Python was named after Monty Python, a British Comedy Troupe, which Guido van Rossum likes.

Suggestions

Suggest more facts here!

pine ledge
#

.pyquiz

#

My dream of getting job seems to be fading

honest pier
hoary inlet
#

nope

#

one-ui ?

whole bear
#

okie

shy elk
#

How can i raise exception and responce at the same time

honest pier
#

what do you mean by response?

shy elk
#

Json response

pine ledge
#

👽

honest pier
#

how do you raise a json response?

shy elk
#

I cant use python when it goes to a framework

pine ledge
#

raise JsonResponse

shy elk
honest pier
#

can you show code of what you want

shy elk
#

@pine ledge is it what i think it is

pine ledge
#

Zuckerberg?

shy elk
#

Pardon

pine ledge
#

Someone is saying they met Mark

shy elk
#

I have no clue about what youre talking about

honest pier
#

mark the core dev

pine ledge
#

Of?

honest pier
#

@wise cargo

pine ledge
#

I do not understand

#

Isn't it guido

honest pier
#

the bot

pine ledge
#

Which bot

dire oriole
whole bear
#

ill brb

pine ledge
shy elk
honest pier
#

the code underneath the raise Exception is unreachable

shy elk
#

Ok

hoary inlet
#

remove the .01 %

shy elk
#
@api_view(['POST'])
def create_order(request):
    data = request.data
    if 'pocket_name' not in data:
        raise Exception("enter pocket_name")
        return JsonResponse({"message": "enter pocket_name"}, status=status.HTTP_400_BAD_REQUEST)

    global balance 
    url = settings.WALLET_URL + "/list/wallet/pocket_name"
    res = requests.get(url, params={'pocket_name': request.data.get('pocket_name')})
    balance =  res.json().get('data').get('object_list').get('1').get('balance')
    
    serializer = OrderSerializer(data=data)
    if not serializer.is_valid():
          return JsonResponse(serializer.errors, status=400)
    
    serializer.save()
honest pier
#

why do you ywant to raise an exception there

shy elk
#

my dirty code

shy elk
honest pier
#

i don't follow

pine ledge
#

Colon

shy elk
#

:

terse needle
#

global variables?

#

when do you ever need to use those

shy elk
terse needle
#

you should never really be using global variables

pine ledge
#

If you remove exception does it work

shy elk
#

ye it works correctly but i should code more

pine ledge
#

Ok.yes

#

I want to learn to be able to code

shy elk
#

actually i want to manage those kind of things out of my views

terse needle
shy elk
#

ye i think i got something

hoary inlet
#

three mods

#

come on !! I am not the only who thought something

shy elk
#

let me try

strong arch
icy axle
tidal salmon
#

@olive sentinel looks like I won't be able to get a word in -- what are you working on?

#

(I can't listen to that many concurrent voices so I'll have to head back out)

olive sentinel
#

async-rediscache

#

I should switch to pytest

#

getting tired of unittest

hoary inlet
#

what can I say ?

#

There are crazy people, it's sad but true

faint ermine
#

this is my mouse, got it simply for the thumb button layout

dire folio
hoary inlet
stuck furnace
#

I chose my mouse by searching "mouse" on Amazon, and clicking the first link 😄

spring iris
#

why cant i talk

olive sentinel
stuck furnace
spring iris
#

thanks

hoary inlet
#

like it is detached from the base

spring iris
faint ermine
#

too many small thumb buttons: -20 points

spring iris
#

you're objectively wrong tho

olive sentinel
#

but why?

spring iris
#

are you in voice chat Sebastiaan?

stuck furnace
#

Guys... use vim 😄

dire folio
fiery badge
#

can i get voice permissions please?

stuck furnace
hoary inlet
#

I like how we went from mouse to psychology

fiery badge
#

"• You have been active for fewer than 3 ten-minute blocks."... is that in voice?

olive sentinel
#

No, in general

fiery badge
#

i was a helper here years ago but been inactive - do I really need to wait for that?

#

oh in Discord? that's awkward

#

maybe 1-2 years ago I was super active here

hoary inlet
#

okay, now I get the appeal for the mouse

fiery badge
#

feature implemented after that? lol

honest pier
#

yep

fiery badge
#

so can I override it?

honest pier
#

it only counts starting from aug 25 of last year

honest pier
#

maybe, i'm not a mod/admin

faint ermine
#

i mean no offense, but you have 500 messages is total @fiery badge

fiery badge
#

so?

faint ermine
#

i had about 3000 messages when the voice verification was implemented, and i still had to wait.

fiery badge
#

both are > 50, i don't understand what's the difference 🙂

faint ermine
#

i guess what im saying is that neither really matter

stuck furnace
#

Yeah, I think the policy currently is not to bypass voice-verification otherwise people would be constantly asking the mods to do this.

fiery badge
#

well for sure history and context matter more than number of messages, lol

faint ermine
#

i also asked "ive been active for a while, can i bypass" and the response was. no

stuck furnace
#

It won't take very long to meet the verification requirements 👍

fiery badge
#

what does "active" mean in those 3 ten-minute blocks?

stuck furnace
#

Posted a message, I think.

fiery badge
#

texting? reading? having the server tab opened?

rugged root
#

Having sent a message yeah

fiery badge
#

hmmm

#

oh Hemlock is one of the old ones 🙂 i remember you

icy axle
rugged root
#

One of the who and the what now?

fiery badge
#

one of the folks that were here when I was a helper ~2-3 years ago maybe?

green bone
#

I agree that there's nothing wrong with granting permissions given context. The voice gate isn't a sacred relic, it's just a tool to keep trolls away from the voice chat. But that's to the discretion of admins.

rugged root
#

Yep!

#

OH YEAH

#

Dude, it's been quite a while

fiery badge
#

right, I think I used the name Mon tho

rugged root
#

Yeah yeah. Glad you're still alive

fiery badge
#

😂 surviving through covid... but yeah, work has been killing me

rugged root
#

I hear you there. It's tax season, so the accounting firm I'm at is a mad house

#

Lots of short fuses

fiery badge
#

oh, yep.. but it's one of the few months you guys actually work right? lol jk

rugged root
#

If only that were true

#

I'm just glad I don't have to do accounting

#

I'm content being our in house IT

fiery badge
#

oh @olive sentinel i joined to watch your test cases and you left lemon_angrysad

#

yeah I was just kidding

#

happy for you that you're not part of that bureaucracy hahah

rugged root
#

Same. I'm crazy enough as it is

hoary inlet
#

this is in vr ?

stuck furnace
#

What colour-scheme is this?

gritty garden
#

@rugged root please help me, I have a question about Cows

#

🐮

#

It's related to Python

#

but Cows are involved

violet spoke
#

sounds cow related

gritty garden
#

can you please help me ?

tidal salmon
uncut meteor
#

what are you using other than pytest?

amber raptor
#

pssst all of them do this

#

Oracle doesn't do this, MSSQL doesn't do this

#

PostGres won't do this

#

empty space will be reused

uncut meteor
#

RIP my interwebs

faint ermine
#

@whole bear here

whole bear
#

@faint ermine Try switching some things over to a different setting I geuss then

#

Hmmm

#

Oh well

#

Itś much better now

#

Hehhehehehehe

faint ermine
zealous wave
#

!e ```py
math = import("math")

print(math.sqrt(9))

wise cargoBOT
#

@zealous wave :white_check_mark: Your eval job has completed with return code 0.

3.0
zealous wave
#

fuck that normie import shit

tiny socket
#

!e

math = __import__("math")
sqrt = getattr(math, "sqrt")
print(sqrt(9))
wise cargoBOT
#

@tiny socket :white_check_mark: Your eval job has completed with return code 0.

3.0
rocky kiln
#

!epy (math := __import__("math")).sqrt(9)

#

fuck

#

!epy print((math := __import__("math")).sqrt(9))

zealous wave
#

!e ```py
(math := import("math")).sqrt(9)

wise cargoBOT
#

@zealous wave :warning: Your eval job has completed with return code 0.

[No output]
rocky kiln
#

!e

wise cargoBOT
#
Command Help

!eval [code]
Can also use: e

*Run Python code and get the results.

This command supports multiple lines of code, including code wrapped inside a formatted code
block. Code can be re-evaluated by editing the original message within 10 seconds and
clicking the reaction that subsequently appears.

We've done our best to make this sandboxed, but do let us know if you manage to find an
issue with it!*

rocky kiln
#

!e py (math := __import__("math")).sqrt(9)

wise cargoBOT
#

@rocky kiln :warning: Your eval job has completed with return code 0.

[No output]
rocky kiln
#

!e py print((math := __import__("math")).sqrt(9))

wise cargoBOT
#

@rocky kiln :white_check_mark: Your eval job has completed with return code 0.

3.0
rocky kiln
#

!e py print(("Take an umbrella.", "Have a nice day!")[bool((re := __import__('re')).match(r"^y$", input("Is it raining? "), re.IGNORECASE))])

wise cargoBOT
#

@rocky kiln :x: Your eval job has completed with return code 1.

001 | Is it raining? Traceback (most recent call last):
002 |   File "<string>", line 1, in <module>
003 | EOFError: EOF when reading a line
rocky kiln
#

!e py print(("Take an umbrella.", "Have a nice day!")[bool((re := __import__('re')).match(r"^y$", input("Is it raining? "), re.IGNORECASE)])

wise cargoBOT
#

@rocky kiln :x: Your eval job has completed with return code 1.

001 |   File "<string>", line 1
002 |     print(("Take an umbrella.", "Have a nice day!")[bool((re := __import__('re')).match(r"^y$", input("Is it raining? "), re.IGNORECASE)])
003 |                                                                                                                                         ^
004 | SyntaxError: closing parenthesis ']' does not match opening parenthesis '('
rocky kiln
#

fuck

zealous wave
#

some things that these dumb fucks made and I had to patch: ```py
getattr(getattr(getattr(ctx, 'bot'), 'http'), 'token')

rocky kiln
#

lol

zealous wave
#
bot.__dict__.get("http").__dict__.get("token")
amber raptor
#

(╯°□°)╯︵ ┻━┻

icy axle
#

Nice

swift breach
#

joe never heard your voice before. nice to hear it for the first time

#

Oh my I got the nose thing too

#

I dont think they put the swab deep into my nose though

hoary inlet
#

we have different ideas of beautiful

swift breach
#

Super cracky though

#

You seem exhausted

wild blaze
#

did you make all the bots for this server?

faint ermine
normal belfry
#

your code looks so confusing for a beginner ))

#

cool

wild blaze
#

i like the pretty colours

normal belfry
#

btw what does your code do?

wild blaze
#

how long have u been coding in python

normal belfry
wild blaze
#

him

normal belfry
#

that makes sense ))

wild blaze
#

do you work as a software engineer?

#

good pay?

normal belfry
#

sounds cool

#

did you practice competitive programming?

#

well, good luck with the project

#

@pastel mesa me

#

yeah

#

lmao in my country is 2 am ))

pastel mesa
hoary inlet
#

who is white ?

#

laund, quick question. What is the use of an api ?

#

yeah, but like for end users, like api, would be backend of online apps ?

#

I am trying to figure out what could be the use of apis for all these financial companies

normal belfry
#

@pastel mesa i'll take the revenge later

hoary inlet
#

you mind explaining the game ?

#

like mate in one step

normal belfry
#

looks so confusing, i like it

hoary inlet
#

no pressure

#

Safe to say, it will take me some time to wrap my head around it.

#

night

#

✌️ ✌️

amber raptor
#

Most APIs are written because SPAs need something to get data from

normal belfry
#

at begining did you follow online courses or you did you python in school?

pastel mesa
glad spade
#

.status cat 503

viscid lagoonBOT
#
**Status: 503**
glad spade
#

.status cat 404

viscid lagoonBOT
#
**Status: 404**
glad spade
#

.status dog 404

viscid lagoonBOT
#
**Status: 404**
viscid lagoonBOT
#
Command Help

AdventOfCode
.adventofcode
All of the Advent of Code commands.

AprilFoolVideos
.fool
Get a random April Fools' video from Youtube.

AvatarEasterifier
.avatareasterify [colours...]
This "Easterifies" the user's avatar.

Battleship
.battleship
Play a game of Battleship with someone else!

BeMyValentine
.bemyvalentine <user> [valentine_type]
Send a valentine to a specified user with the lovefest role.

flat sentinel
#

.status

viscid lagoonBOT
#
.[http_status|status|httpstatus] 

Group containing dog and cat http status code commands.

Commands:
  cat Sends an embed with an image of a cat, portraying the status code.
  dog Sends an embed with an image of a dog, portraying the status code.

Type .help command for more info on a command.
You can also type .help category for more info on a category.
flat sentinel
#

.status cat

viscid lagoonBOT
#
.[http_status|status|httpstatus] 

Group containing dog and cat http status code commands.

Commands:
  cat Sends an embed with an image of a cat, portraying the status code.
  dog Sends an embed with an image of a dog, portraying the status code.

Type .help command for more info on a command.
You can also type .help category for more info on a category.
flat sentinel
#

.status cat 505

viscid lagoonBOT
#
**Status: 505**
flat sentinel
#

.status cat 122

viscid lagoonBOT
#
**Status: 122**
flat sentinel
#

.status cat 404

viscid lagoonBOT
#
**Status: 404**
flat sentinel
somber heath
#

@flat sentinel

green path
#

hey guys how are you doing

#

@somber heath for some reason i am muted

#

yeah i know that but i do not have 50 messages lol

#

oh ok

#

btw @somber heath can you code in Haskell do you know anything about it

#

ok tysm

#

any functional programming language

#

??

#

at all

#

honestly python is the best language ever

#

like you dont even need other languages do you agree @somber heath

#

huh?

#

true that you need lower level languages

#

sure

flat sentinel
green path
#

are you using unity or unreal??

#

It looks really cool what packages are you using? @flat sentinel

#

oh btw do you do any data science stuff

#

do you know any data science algorithms( like apriori or PCY) ? @somber heath

#

its a bunch of last names

#

like the finders of the algorithm

#

neural network?? do you dabble

#

k- clustering

pine ledge
#

Wow maze generations

green path
#

true its just that the code is weird

#

it takes a lot

#

of brain power to understand the code

#

lol

#

bruh i took the class twice and was lost both times

somber heath
trim night
#

is that painting in python!?

green path
#

damn that is cool like very cool

somber heath
#

I don't know if I'd call it painting, but yes.

green path
#

damn too many for loops and recursion lol

#

what are the time complexity of your final code

#

This is a really cool project

#

i have to give it to you

#

ok like nlogn

#

nlogn is not bad at all

pine ledge
#

It looks beautiful

green path
#

2050: no more artists just coders on vs code making paintings lol

somber heath
trim night
#

can we see some of the code?

green path
#

yes some code please

somber heath
trim night
#

you should sell them as nft and make sheer bank

#

not the code but the end products

#

some of the code, wouldn't spill all the secrets

pine ledge
#

You're expert coder

green path
#

yes definitely nft material

#

this is so cool honestly

trim night
#

agreed

#

he has the code, he's not willing to sure for obvious reasons lol

#

share*

somber heath
#

Happy to explain the process in broad terms.

trim night
#

you should build a diffuse modifier that blurs the edges so it doesn't look so sharp. It'd have the water affect your after.

#

not saying i'd know how to do that though, just a suggestion for realism

green path
#

i just wanna see like a screenshot of a part of his code to kinda see what he has to go through to create such mesmerizing visual effects

trim night
#

i wanna see how many loops it has

green path
#

exactlyyyyy

trim night
#

throughput

somber heath
flat sentinel
flat sentinel
somber heath
paper tendon
tall latch
runic forum
#

it cant

flat sentinel
pine ledge
#

I think w=mg

#

Data has size

runic forum
#

in bytes

tall latch
somber heath
#

Worley

mossy iron
#

tell us about you opal, what do you do?

#

yes

#

full stack django

#

nice stuff, ML ?

#

good old pandas

maiden shell
#

hi @somber heath

mossy iron
#

do you have public github stuff?

#

no no i meant about those

mossy iron
#

you'll need to parallel it

#

i assume you're drawing left to right, up to bottom

#

ahhh

#

it will lose current state

#

yes i understand

#

train a set above it it would work 😄

#

you'd need a huge data set first

#

yes

#

well that contradicts its purpose, to have a unique appealing

#

hahaha

#

itteration in numpy has to be done on the vectorized one, that's the problem

#

if you convert to python then back to numpy its slower

#

such as .apply

#

its beautful which is the purpose

lunar pendant
#

@somber heath hello

#

So, how's your day

#

got it

mossy iron
#

we're getting bored here in Jordan

lunar pendant
mossy iron
#

yup, you guys?

lunar pendant
#

I think you already guess opalmist

#

by his accent

mossy iron
#

irish ?

lunar pendant
#

he doesn't irish because he didn't say cu*t anytime

mossy iron
#

hahahah

lunar pendant
#

yaa

#

hahah

#

australia is famous for that

#

So, according to you what australian are famous for in west?

tall latch
#

hello

mossy iron
#

kangaroos

lunar pendant
#

kangaroos can beat the shit out of you

#

and hands

#

And there tail act as third leg

#

haha

mossy iron
#

hahah

versed island
#

yeah girls are allowed in australia

mossy iron
#

here its not allowed to carry loaded gun for police

#

but all policemen have guns

#

docker expert here

versed island
#

yeah

#

docker

mossy iron
#

what are you trying to do? @wise glade

lunar pendant
#

In lockdown in some US state gun are one of the essential item

versed island
#

its just a good way to manage your dependencies ... both in development and production

#

you can have a Gun factory

#

in india

#

you just need to be smart enough

wise glade
wise glade
mossy iron
#

docker thing is dockerfile ? or dockercompose ?

lunar pendant
#

I new zealand dildo is the most essential item during lockdown

versed island
#

@wise glade are you able to run that flask app

mossy iron
#

dockerfile -> docker image

wise glade
#

we don't have public shootouts ( is that what's it called )

wise glade
mossy iron
#

you can run multiple images in docker compose

lunar pendant
#

@somber heath Iam not kidding

wise glade
mossy iron
#

docker image is like a snapshot of OS with all dependancies installed

versed island
lunar pendant
#

@wise glade which state are you from in india?

wise glade
#

here's what I have when I do docker ps

lunar pendant
wise glade
mossy iron
#

inside container it links to port 8000 and serves it to port 5000

lunar pendant
versed island
#

why are you running it on docker ... are you thinking about microservices

lunar pendant
#

I can also fake my accent

wise glade
mossy iron
#

it makes all envs matching, so you can run it locally,cloud on premise that same, just docker build and it will run the same

wise glade
#

this part in my docker file,
would I need to change the EXPOSE 5000 to something else?
in azure

wise glade
mossy iron
#

depends, are you serving on ssl? keep it as 5000 and map nginx to it, if you want to serve it on domian directly map it to port 80

lunar pendant
#

@mossy iron In india their is a very famous youtuber and he is from jordan

versed island
#

@wise glade are you making something or you are doing this out of hobby

wise glade
mossy iron
wise glade
versed island
#

is it so ... that you wont use flask commercially

#

whats the prob

wise glade
#

don't exactly know how to 😂

mossy iron
#

one of the projects I worked on, had a flask app, and a django app, when the microserver purpose is small Django would be an overkill

wise glade
#

one question about kubernetes
so I learned something called docker-compose
is kubernetes used for doing the same thing?

mossy iron
#

kubernetes iis a bit different

versed island
#

kubernetes i guess is used for handling multiple docker containers

mossy iron
#

more like docker-compose

wise glade
#

also docker-compose, it said in text I read

mossy iron
#

but it also has more server stuff, like you can collect all cpu ram in one bulk and divide them on services

versed island
#

software engineering is so crap

#

everything is so incompatible with other thing

wise glade
#

so if I want to stop these docker images running
should I use commands to stop it
or better just close this?

mossy iron
#

docker-compose stop, or or stop them one by one, using docker containerID stop

versed island
#

the amigoscode channel has a very good docker explanation

#

on youtube

mossy iron
#

docker-compose down would also delete cached data

wise glade
#

I clicked that taskbar icon, this popped open
didn't even knew there was a UI for this stuff 😂

#

hey, if I accidentally added some passwords in docker-hub via image push
not a big deal right? 😅