#voice-chat-text-0

1 messages · Page 879 of 1

gentle flint
#

found this on reddit

whole bear
#

yo bbs

#

I need some halp

#

🙂

#

I kinda scuffed my project, and I'm not sure how to unscuff it

#

I have a poetry package going

#

Everything was great, and all of my source code was in a folder called src

#

I renamed src to something else, and everything broke

#

I renamed it back, and that fixed some things, but now my pytest doesn't acknowledge it

#

All of my tests are complaining about their imports

#

yes

#

I deleted all pycaches in the structure

#

should I try deleting pytest cache?

#

no dice

#

and also when I try to poetry install, it complains that it can't find my package

#

cheers 🙂

amber raptor
#

Oh boy

opal mulch
spiral jay
#

hello

#

good morning

jagged thicket
#

@leaden comethey

#

good even

leaden comet
#

uh

zenith radish
# amber raptor Oh boy

Vue seems like the most simple front end thing I can use and I'm most proficient in golang, makes sense to me
I'm still thinking of how I'm gonna be doing the actual bot system and I'm pretty sure I'm gonna use code generation, so maybe something with an actual macro system like a lisp or rust?
Otherwise, go has some code generation functionality that I'm looking into right now

formal badger
#

i want to say something

flat sentinel
#

there is no free speech

formal badger
#

i want to speak about Python

#

i'm practising it

flat sentinel
formal badger
#

can i do in some server my stream about Flask framework

flat sentinel
#

@zenith radish

flat sentinel
#

for the perms

#

just dm him

#

mod mail

#

it

#

is a

#

bot

#

you can ask there

#

and you have to have a valid reason

formal badger
#

who i must to ask !

gloomy vigil
#

lol

#

people start making discord bots without even knowing coding languages like nomral indentation

faint ermine
whole bear
#

@opal mulch
please indent

slate viper
#

how many grids will be in a 500x500 with each block of the grid being 10 pixels wide

whole bear
#

@zenith radish
hey l

#

@slate viper
u can just divide mate...

#

i think he means rows or columns

#

whats the height?

#

devide 500/10

#

that will give u columns

#

@uncut meteor

#

yes

#

divide by the height

#

to get rows

#

then u #row*#column

#
500/10 = row + column
row*column = total_in_grid
slate viper
#

120 x 320

#

120/10

#

320/10

whole bear
#

what?

uncut meteor
#

!e


print((120 / 10) * (320 / 10))
wise cargoBOT
#

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

384.0
whole bear
#

yes

#

should be

#

this is like primary school math

gloomy vigil
#

what are you trying to calc

#

@slate viper

slate viper
whole bear
#

3/1 = 3
3*3 = 9

slate viper
#

with 384 squares

whole bear
#

if u assume height and width are equal

uncut meteor
#

!e


class Grid:
  def __init__(self, height: int, width: int):
    self.height = height
    self.width = width

  def cell_count(self, cell_width: int, cell_height: int) -> float:
    return (self.width / cell_width) * (self.height / cell_height)

grid = Grid(12, 32)
print(grid.cell_count(10, 10))
whole bear
#

rows are horizontal

#

columns are vertical

#

wait no no

wise cargoBOT
#

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

3.84
gloomy vigil
#

horizontal

#

=rows

whole bear
#

@uncut meteor
what do u do?

#

like for a living

#

wanna get me a job there 😉

#

Whats ur exp?
just python?

#

ima guess web dev with flask

#

or django

#

what do u do then?

#

fastapi?
ever used quart?

#

its a async fork of flask

#

its legit flask but async

#

@faint ermine
what would u recm quart or fastapi?

#

What are the benefits of faastapi?

#

ooo
well my project isnt static...

#

like most websites

#

lol

#

never does flask?

#

@brave steppe
does fastapi have modules for session management etc?

#

Also why would u recommend fastapi over flask/quart

brave steppe
whole bear
#

auth is pretty straight forward tho
id just use a jwt third party library

#

and keep all user date in the db

brave steppe
whole bear
#

Like with blueprints?

brave steppe
#

FastAPI has this ^

whole bear
#

then u import it into the main app and run it

#

u can then register it as a view

#

ewww php be shit

#

why would u put ur self thru that

brave steppe
#

Yeah, and FastAPI follows Starlette and calls then Routes, then you do include_router

whole bear
#

its not quite as bad as perl...

tiny socket
whole bear
#

@brave steppe
what do u do for a living bluenix

#

and how do u feel bout the new rocky os?

brave steppe
#

I am just a hobbyist

whole bear
#

really?

#

dont have a position u seem rather experienced

#

*in the industry

brave steppe
#

I don't know what to tell you 😅

I don't work in the industry, I guess you can say I study?

tiny socket
#

/copy :emoji:

uncut meteor
rugged root
#

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

opal mulch
rugged root
#

@summer crown Easier to talk about that in here. When you say what program you should start out on, do you mean which editor?

#

@summer crown Again, please ask in here.

faint ermine
tiny socket
summer crown
#

I'm starting now on python, which program do you recommend

slate viper
#

program as in ?

rugged root
#

Editor

#

For just starting out, I suggest either Thonny or Mu-Editor

zenith radish
#

D'y'all reckon the FAB is well placed? thinking_pepe

rugged root
#

They let you focus on learning the language rather than learning the editor and the language

zenith radish
#

the pink button

summer crown
#

i know practically nothing about python, cosmetic to study now

rugged root
#

!tools

wise cargoBOT
#
Tools

The Tools page on our website contains a couple of the most popular tools for programming in Python.

rugged root
#

We have a whole list of really handy ones

faint ermine
rugged root
#

Then yeah, Thonny or Mu

zenith radish
#

nope a web app

tiny socket
#

@uncut meteor

rugged root
faint ermine
uncut meteor
zenith radish
#

alright I'll try

summer crown
#

jupyter is good option?

faint ermine
olive hedge
#

@uncut meteor How am I only just learning this about you

faint ermine
#

like, jupyter is only meant for a few usecases and actually requires more knowledge than any normal editor, imo.

uncut meteor
#

|| i am joking ||

tiny socket
#

fisher you and i are both at work on discord now

summer crown
#

recommend any?

olive hedge
faint ermine
gloomy vigil
#

my eyes hurt now

gentle flint
#

@rugged root i got paid

#

the proper amount

gloomy vigil
#

your being awake paid off

brave steppe
rugged root
gentle flint
#

yes

dense ibex
#

@olive hedge do you remember what today is!?

whole bear
#

html
{% for post in posts %}
<h2 class="post-title">
{{ post.id }}
</h2>
<hr>
{% endfor %}

py file

posts = requests.get("http://localhost:3000/records").json()

on console its printing data but it's not fatching in html

im using flask

#

helppp

tiny socket
#

for the love of god can one person speak at a time jesus christ

#

its ridiculously stressful to sit here and hear 7 people talking at the same moment

rugged root
#

Apologies

tiny socket
whole bear
rugged root
#

I don't know anything about flask

whole bear
#

🥲

faint ermine
gloomy vigil
whole bear
gloomy vigil
whole bear
rugged root
#

!server

wise cargoBOT
#
Server Information

Created: <t:1483877013:R>
Voice region: europe
Roles: 88
Member status: status_online 47850 status_offline 190584

Members: 238435

Helpers: 122
Moderation Team: 32
Admins: 15
Owners: 3
Contributors: 39
Leads: 15

Channels: 298

Category: 32
News: 9
Staff: 71
Stage_Voice: 1
Text: 177
Voice: 8

gloomy vigil
#

there are a lot of anime servers, youtuber serevers

#

which have 300k+

whole bear
summer crown
gloomy vigil
#

i dont think alot of 18+ join these servers

faint ermine
#

yo splitgate is huge wth

undone idol
#

lol yes

summer crown
faint ermine
#

i remember when there was like, no more than 500 concurrent players on splitgate

obsidian phoenix
#

hi

faint ermine
summer crown
#

to create a gift card shop, as I do before handing the gift card to the customer, it is valid

faint ermine
gloomy vigil
#

discord's current nsfw image recognition sucks

faint ermine
#

sand dunes intensifies

rugged root
gloomy vigil
#

cute dogs too

whole bear
#

whats that

rugged root
#

It's from Dune

#

It was an attempt at continuing Laund's comment

#

It did not work

tiny socket
summer crown
#

now i really don't know which editor to use

#

to create discord bot

gloomy vigil
summer crown
#

telegram bot

olive hedge
rugged root
#

Again, if you're starting out and have never touched Python before

tiny socket
#

@dense ibex HAPPY BIRTHDAY

uncut meteor
#

its bed time @dense ibex

gloomy vigil
brave steppe
dense ibex
brave steppe
#

Yes, @rugged root listed some good editors. I would like to add Visual Studio code, it is what I use.

The IDLE is also good enough!

faint ermine
whole bear
#

Bluenix, could I use your help with something related to condition variables in #help-pretzel ?

summer crown
#

thanks @rugged root

brave steppe
#

IDLE is nice if you just want to start programming!

rugged root
#

True

#

I keep forgetting it's gotten better

#

Also brb

brave steppe
deft leaf
#

Which one is idle? It's that the one that comes with python?

brave steppe
rugged root
#

Just wish it had line numbers on by default

#

Okay, ACTUALLY brb this time (I always do this)

zenith radish
#

Why do you need line numbers??

summer crown
#

is thonny an .exe?

gloomy vigil
uncut meteor
#

how else am i gonna use my goto?

gloomy vigil
#

error at line 356 or even 11

faint ermine
zenith radish
#

maybe

summer crown
#

is thonny an .exe? @faint ermine

whole bear
faint ermine
faint ermine
# zenith radish maybe

ok so, especially for beginners:
helping people gets a LOT easier if theres linenumbers visible. just communicating about code gets much easier.

gentle flint
summer crown
#

well (:

faint ermine
summer crown
#

now it's just knowing how to do something lmao

brave steppe
# summer crown well (:

Nice and simple. Type your code at the top, press save and run it.

At the bottom you see what is called a REPL

#

Read-eval-print-loop

#

That means that you can write one line of code, and Python will run it, then print it

#

Try typing 5 + 10 and press enter

summer crown
#

ok

brave steppe
#

This is very useful when you want to try things quickly!

summer crown
#

can you recommend me where to start to learn how to do telegram bots?

#

I wanted to learn how to create and not just copy

gentle flint
faint ermine
obsidian phoenix
#

Messi came to PSG

summer crown
#

what fundamentals do i need to learn to get started with telegram robot

#

how do i install selenium on thonny?]

faint ermine
faint ermine
summer crown
faint ermine
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.

summer crown
#

ok

faint ermine
#

for specific recommendations i really like sololearn

zenith radish
#
from __future__ import braces
class Employee:
   'Common base class for all employees'
   empCount = 0

   def __init__(self, name, salary): {
      self.name = name
      self.salary = salary
      Employee.empCount += 1
   }

   def displayCount(self):  {
     print "Total Employee %d" % Employee.empCount
   }

   def displayEmployee(self): {
      print "Name : ", self.name,  ", Salary: ", self.salary
   }

summer crown
#

what does the () not final mean

rugged root
zenith radish
#
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named '__futures__'

brave steppe
#

It's __future__

rugged root
#

Yarp, I realize that now. I derp

gentle flint
#

!e

from __future__ import braces
wise cargoBOT
#

@gentle flint :x: Your eval job has completed with return code 1.

001 |   File "<string>", line 1
002 | SyntaxError: not a chance
zenith radish
#

!e ```py
xd_🤔 = "xd"
print(xd_🤔)

wise cargoBOT
#

@zenith radish :x: Your eval job has completed with return code 1.

001 |   File "<string>", line 1
002 |     xd_🤔 = "xd"
003 |        ^
004 | SyntaxError: invalid character '🤔' (U+1F914)
clear shadow
#

Hey

zenith radish
rugged root
#
class Employee:
  emp_count = 0

  def __init__(self, name: str, salary: float):
    self.name = name
    self.salary = salary
    Employee.emp_count += 1

  def display_count(self):
    print(f"Total Employees: {Employee.emp_count}")

  def display_employee(self):
    print(f"Name: {self.name}\nSalary: {self.salary}")
gentle flint
#

!e

_ = 'h'
__ = 'i'
___ = 'n'
____ = 'p'
_____ = 'r'
______ = 't'
_______ = '('
________ = '"'
_________ = ')'
eval(____+_____+__+___+______+_______+________+_+__+________+_________)
wise cargoBOT
#

@gentle flint :white_check_mark: Your eval job has completed with return code 0.

hi
faint ermine
rugged root
#

What's the Python library for making like... mapped nodes. Like visual ones

#

I can see the homepage of the site in my head but not the name

gentle flint
#

_£

rugged root
zenith radish
whole bear
#

They're just mad that hemlock pounds more than them 😏

summer crown
rugged root
summer crown
#

my first code lmao

rugged root
#

Looking good

#

We all started there

#

Keep it up!

whole bear
#

Yea!

gentle flint
#
__
_¬
_£
¬_
¬¬
£
£_
£¬
££
forest zodiac
#

hi

#

anyone who can help me in C?

gentle flint
#

!e

__ = 'h'
_~ = 'i'
_£ = 'n'
~_ = 'p'
~~ = 'r'
~£ = 't'
£_ = '('
£~ = '"'
££ = ')'
eval(~_+~~+_~+_£+~£+£_+£~+__+_~+£~+££)
wise cargoBOT
#

@gentle flint :x: Your eval job has completed with return code 1.

001 |   File "<string>", line 2
002 |     _¬ = 'i'
003 |      ^
004 | SyntaxError: invalid character '¬' (U+00AC)
gentle flint
#

grrrr

paper tendon
#

!e ```py
£ = 1
print(
£)

wise cargoBOT
#

@paper tendon :x: Your eval job has completed with return code 1.

001 |   File "<string>", line 1
002 |     _£ = 1
003 |      ^
004 | SyntaxError: invalid character '£' (U+00A3)
gentle flint
#

!e

__ = 'h'
_~ = 'i'
_£ = 'n'
~_ = 'p'
~~ = 'r'
~£ = 't'
£_ = '('
£~ = '"'
££ = ')'
eval(~_+~~+_~+_£+~£+£_+£~+__+_~+£~+££)
wise cargoBOT
#

@gentle flint :x: Your eval job has completed with return code 1.

001 |   File "<string>", line 2
002 |     _~ = 'i'
003 |      ^
004 | SyntaxError: invalid syntax
gentle flint
#

!e

__ = 'h'
_€ = 'i'
_£ = 'n'
€_ = 'p'
€€ = 'r'
€£ = 't'
£_ = '('
£€ = '"'
££ = ')'
eval(€_+€€+_€+_£+€£+£_+£€+__+_€+£€+££)
wise cargoBOT
#

@gentle flint :x: Your eval job has completed with return code 1.

001 |   File "<string>", line 2
002 |     _€ = 'i'
003 |      ^
004 | SyntaxError: invalid character '€' (U+20AC)
gentle flint
#

ARGH

#

for goodness' sake

rugged root
gentle flint
#

!e

£ = "hi"
print(£)
wise cargoBOT
#

@gentle flint :x: Your eval job has completed with return code 1.

001 |   File "<string>", line 1
002 |     £ = "hi"
003 |     ^
004 | SyntaxError: invalid character '£' (U+00A3)
gentle flint
#

oh

#

alright, whatever

rugged root
#

@somber heath

gloomy vigil
#

what happens if you shake it

paper tendon
#

!e ```py
_1 = 1
print(_1)

wise cargoBOT
#

@paper tendon :white_check_mark: Your eval job has completed with return code 0.

1
rugged root
#

You hamburger falls off the plate

#

Also volcanos

#

(of ketchup)

somber heath
#

Fish fissures.

rugged root
#

Oh no

#

Fishtula

paper tendon
#

You can use

#

!e ```py
import string
for i, d in enumerate(string.ascii_lowercase):
print(d + " = _" + str(i))

wise cargoBOT
#

@paper tendon :white_check_mark: Your eval job has completed with return code 0.

001 | a = _0
002 | b = _1
003 | c = _2
004 | d = _3
005 | e = _4
006 | f = _5
007 | g = _6
008 | h = _7
009 | i = _8
010 | j = _9
011 | k = _10
... (truncated - too many lines)

Full output: https://paste.pythondiscord.com/muyomofolu.txt?noredirect

rugged root
#

PowerArray simplifies that bads by expanding the Array prototype, adding simple but powerfull capabilities to any Array. Worried about changes on the Array Prototype?

gentle flint
paper tendon
#

lol

#

!e ```
import string
for i, d in enumerate(string.ascii_lowercase):
print(d + " = _" + str(i))

_0 = "something"
print(_0)

wise cargoBOT
#

@paper tendon :white_check_mark: Your eval job has completed with return code 0.

001 | a = _0
002 | b = _1
003 | c = _2
004 | d = _3
005 | e = _4
006 | f = _5
007 | g = _6
008 | h = _7
009 | i = _8
010 | j = _9
011 | k = _10
... (truncated - too many lines)

Full output: https://paste.pythondiscord.com/adiguwadoz.txt?noredirect

paper tendon
#

lol

#

!e ```
import string
#for i, d in enumerate(string.ascii_lowercase):

print(d + " = _" + str(i))

_0 = "something"
print(_0)

wise cargoBOT
#

@paper tendon :white_check_mark: Your eval job has completed with return code 0.

something
gentle flint
summer crown
#

def my_function(fname, lname):
print(fname + " " + lname)

my_function("Emil", "Refsnes")

paper tendon
#

Welcome into Weeb 3.0

summer crown
#

someone explain to me how the " here

somber heath
#

Looks like a string that is a single space.

paper tendon
#

possible_possum

rugged root
summer crown
gloomy vigil
#

rad = radian?

rugged root
#

@summer crown In that case it's adding a space character between the two values

somber heath
#

Can't sleep. Bats will get me.

rugged root
#

So if you didn't have that, the two values would be squished up against each other

summer crown
#

thanks

somber heath
#

!e ```py
a = "Apple"
b = "pear."

print(a + b)
print(a + " " + b)```

wise cargoBOT
#

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

001 | Applepear.
002 | Apple pear.
paper tendon
#

@zenith radish notworking networking

#

🙂

rugged root
#

Huh. IronPython is not dead

#

Just behind

#

@amber raptor CLR applies to both .NET and .NET Core, right?

rugged root
#

The MIT License (MIT)
Copyright © 2021 <copyright holders>

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

paper tendon
zenith radish
#

wawation

graceful grail
#

!voiceverify

#

!voice

wise cargoBOT
#

Voice verification

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

royal hearth
#

lmao

#

i love this thing

#

so funny

cyan quartz
haughty drift
vivid palm
#

@noble copper you there?

whole bear
#

hello guys

#

can someone in voice chat help me out for a minute

timber vale
#

brb

leaden comet
whole bear
#

hi

ocean night
#

Hai

tidal kelp
#

join the voice chat

#

anyone?

gloomy vigil
rugged root
#

I'll be on in a moment

#

Have some quick stuff here to take care of

#

!stream @verbal ibex

wise cargoBOT
#

✅ @verbal ibex can now stream until <t:1628774206:f>.

verbal ibex
gloomy vigil
#

i solved the Qt problem that i was having

#

lol

verbal ibex
#

If you increase it, and you still get the issue, that doesn't mean it
not working, that's mean you've a recursive Clock iteration somewhere.

rugged root
gloomy vigil
somber heath
#

@rugged root Have you looked between your ears?

rugged root
#

It's just an IOU card

#

And a single penny for my thoughts

somber heath
#

...So you're a golem?

rugged root
#

If only

somber heath
#

...ha.

gloomy vigil
#

golem?

verbal ibex
#

@rugged root I fixed it having got rid of those size_hint() things

somber heath
#

Humanoid clay construct animated by, traditionally, divine magic.

somber heath
#

Originates in Jewish folklore.

verbal ibex
#

I need now to find out kinda alternative to size_hint or how to use it properly if I didn't so

#

k

rugged root
#

Okay so from what I'm seeing, there's the COBOL side, an API intermediary, and then the outside world

alpine path
dense ibex
#

oh this isn't bad at all

amber raptor
alpine path
#

"we released threads and errr, oops too much load for us"

amber raptor
#

Microsoft didn’t buy us and now we need to cut costs!

rugged root
#

They're finally adjusting things to be smarter about how they handle their stuff

somber heath
#

Spider-Fi. Browse the web.

rugged root
#

We love to find bugs

somber heath
#

TCP/Spider. Spiders invade the house en masse. "Steve! Steve! Stop watching YouTube, right now!"

rugged root
#

@paper tendon Please mute if you're going to do weird little trumpet noises

somber heath
#

Repetitive?

#

Tanking?

gloomy vigil
#

no i mean like three people started screaming at the same time

somber heath
#

Animated?

#

bbl

gloomy vigil
rugged root
#

Be back later

gloomy vigil
rugged root
#

@gloomy vigil No no

#

I mean that's what bbl stands for

gloomy vigil
#

like opal

rugged root
#

Ah. The question mark confused me

gloomy vigil
#

no at first i didnt knew the meaning of bbl

#

but when you told me the meaning i said same

#

i would be bbl like opal

rugged root
#

Gooootcha, okay

zenith radish
rugged root
stable otter
#

hello

limber wyvern
#

hello all embarking on python first time

#

any great resources do you all have to learn python problems with solutions

rugged root
#

!resources @limber wyvern Yep! We've got quite a few great resources listed on our site. For getting the basics, we typically recommend "A Byte of Python". There's also https://codingbat.com/python which has some nice little exercises

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.

whole bear
#

i have no idea why i am still temp ip banned from discord

#

all i did was fetch a invite 100 times (for testing because i kept getting errors and tried to fix them)

#

its been 18 hours

#

i cant join any servers

#

ok

fresh pulsar
#

DUDE @alpine path do I WISHHH that I can one day make codes like you guys

#

I just started ://

#

You're so right

whole bear
fresh pulsar
#

Just that It's still super impressive

rugged root
#

Oh for sure

fresh pulsar
#

Can't wait tbh

whole bear
#

thats what i did

spiral jay
#

@somber heath

fresh pulsar
#

stupid question but...is it just me or GENERALLY the coding community - the tech community actually, is nice and supportive towards eachother?

whole bear
#

my bot code is wacky

fresh pulsar
#

hahah thanks! You too!

whole bear
#

what have you people been coding tday?

#

you know how bots can have their own tos privacy policy and stuff

#

are you allowed to say that if you want to use the bot you have to follow the developers annoucment channel?

#

if your attracted to a ai does that mean you are attracted twards code?

paper tendon
amber raptor
#

Last I saw, AWS makes about 53 Billion a year so 10 Billion isn't chump change

#

but it's like 10 Billion over X amount of years

paper tendon
amber raptor
#

what about them?

paper tendon
#

Their profit yearly

amber raptor
#

that's revenue numbers

#

Azure is like 56 Billion a year but their "cloud" revenue includes Office365

whole bear
#

@rugged root of couse he does not, he takes it from stack overflow

#

@rugged root its because you like the pain of everything not working

#

yes

#

0️⃣

#

and that feeling where you find something so good you think of all the possibilitys

somber heath
rugged root
#

@wooden meadow If you're wondering why you can't talk, check out the #voice-verification channel

#

That'll tell you what you need to know

somber heath
#

As quoted.

>>> "upper" in dir(str)
True
>>> "mro" in dir(str)
False
>>> str.mro
<built-in method mro of type object at 0xac4940>
>>> str.mro()
[<class 'str'>, <class 'object'>] ```
 Look at this bullshit. *Look at it.*
gentle flint
rugged root
#

Daww

zenith radish
#

PRECIOUS BABY

gentle flint
rugged root
zenith radish
gentle flint
cerulean ridge
cerulean ridge
rugged root
feral plume
#

there is also SFML for cpp - I am now trying it to code a Tetris game

faint ermine
cerulean ridge
summer crown
#

is it worth studying selenium?]

#

@faint ermine

#

or

#

@rugged root

haughty pier
#

it depends on what you want to do

#

if you specifically want to automate web page interactions, yes. If you want to go to the beach and read a book on something, find a topic with a broader applicability... assuming you know Python, take a Haskell book to the beach. 😄

summer crown
#

I wanted to learn to be a freelancer

#

do you think it is used a lot?

#

where should i put the webdriver

rugged root
#

!stream C:\Windows\System32\Logfiles\srt\srttrail.txt

wise cargoBOT
#
Bad argument

Member "C:\Windows\System32\Logfiles\srt\srttrail.txt" not found.

#
Command Help

!stream <member> [duration]
Can also use: streaming

*Temporarily grant streaming permissions to a member for a given duration.

A unit of time should be appended to the duration.
Units (∗case-sensitive):
y - years
m - months∗
w - weeks
d - days
h - hours
M - minutes∗
s - seconds

Alternatively, an ISO 8601 timestamp can be provided for the duration.*

rugged root
#

!stream 311739984094953472

wise cargoBOT
#

✅ @cerulean ridge can now stream until <t:1628790845:f>.

faint ermine
#
class MyLineEdit(QtWidgets.QLineEdit):
    def keyPressEvent(self, event):
        print("event", event, "happened")
        super().keyPressEvent(event)

class MyWidget(QtWidgets.QWidget):
    def __init__(self):
        super().__init__()
        self.input = MyLineEdit()

gloomy vigil
vivid palm
gloomy vigil
#

#292929 this is the type of dark mode i like

#

or this #2b2b2b

gloomy vigil
#

how does Qt does this like theres no overloading in python

gloomy vigil
#

@faint ermine how to do you change the cursor postion in a QLineEdit widget i tried setCursorPosition but it didnt work is there any other way? or i am doing something wrong

faint ermine
vocal raven
#

feels so good fixing something you been struggling with 🥲 lots of googling and crying but came right eventually lol

faint ermine
#

https://img.laundmo.com/u/ZvJ1fK.png

import matplotlib.pyplot as plt
fig = plt.figure()
ax = fig.add_subplot(111, projection='3d')
ax.scatter([0, 1, 2, 3], [0, 1, 2, 3], [0, 1, 2, 3])
plt.show()
faint ermine
#

so your brain is a laptop on fire @vivid palm

#

?

vivid palm
#

huh

paper tendon
#

oh hi yo

#

@vivid palm ^

vivid palm
#

ohayo

gloomy vigil
#

this reminds of that airplane joke hi jack

#

well i am going to go to sleep now as i am stuck

vivid palm
#

@cerulean ridge applause

strong arch
#

@paper tendon ?

amber raptor
summer crown
#

help*

faint ermine
#

@whole bear my vscode theme is monokai-charcoal high contrast, but i have added my own syntax highlighting modifications

deft leaf
#

that cursive really isn't that bad

#

it's not bad at all really

faint ermine
narrow crag
#

a git account:

summer crown
#

@faint ermine what are you doing there ??

#

answer by chat

narrow crag
#

you will have to pass me

faint ermine
#

writing a snippet overlay app

narrow crag
#

rewriting wireshark and tshark but a worse version

#

I have this doubt for months are you guys really talking or is IA

#

because one day someone post a link of AI in music and I decided the python server is the place

paper tendon
summer crown
#

please

brave steppe
summer crown
wise cargoBOT
#

@main rampart Please don't try to ping @everyone or @here. Your message has been removed. If you believe this was a mistake, please let staff know!

north relic
#

hi @whole bear I cannot speak here yet

#

no

obsidian phoenix
north relic
#

no

#

need to send some more messages

#

🙂

obsidian phoenix
#

type !voiceverify in the verify channel

north relic
#

yeah I did that

obsidian phoenix
#

then just turn the mic on

north relic
#

It's saying that I sent less than 50 messages

#

So I need to send some more

obsidian phoenix
#

cuz you're in the afk channel

#

XD

north relic
#

@crisp star cannot speak

north relic
obsidian phoenix
#

oh

#

oh

north relic
#

@crisp star sorry cannot speak

#

yeah I know

#

sending some more messages

crisp star
#

u need help on something?

north relic
#

to get verified

obsidian phoenix
#

!voiceverify

north relic
#

no just chilling here

crisp star
#

ok

#

\

north relic
#

ty

#

we can chat a little bit more

crisp star
#

ok

north relic
#

cause I need less than 10 more

crisp star
#

got it

north relic
#

🙂

obsidian phoenix
#

where are you from

north relic
#

How are you?

#

poor you

#

get some rest

obsidian phoenix
#

@north relic where are you from

north relic
#

Russia

crisp star
#

ok

north relic
#

3 more guys

obsidian phoenix
#

I thought you was from Vietnam XD

north relic
#

what do you do with python?

#

btw

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied mute to @crisp star until <t:1628823206:f> (9 minutes and 59 seconds) (reason: duplicates rule: sent 4 duplicated messages in 10s).

north relic
#

!code

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.

paper tendon
gloomy vigil
#

!pypi pyqt6

wise cargoBOT
#

Python bindings for the Qt cross platform application toolkit

paper tendon
errant ridge
#

Why I can't see the streaming?
It keeps on buffering still and I have perfect internet connection

gloomy vigil
#

you can dm modmail for it

errant ridge
#

Oh alright.. thanks man

magic rose
#

guys

#

I know this is a python server

#

I have a doubt regarding CSS

#

I used bootstrap and I am unable to style using "class" I can only style using "id"

magic rose
#

ok

paper tendon
#

docker run -it ubuntu -p 8000:8000

gloomy vigil
#

bbl

dusky nymph
#

what lang is this??python?

rotund inlet
#

idek what they trynna do

dusky nymph
#

they doing a docker commit

#

oohh ye

#

this is py

#

not to sure of Shiva is a french dude but he sounds like it

rotund inlet
#

yes hes a frenchie

#

read his profile bio

#

its french

paper tendon
stoic ore
#

koçer !

dusky nymph
#

Yess

#

FRANCEEE

rotund inlet
#

Guys do i lose my data when the container exits??

dusky nymph
rotund inlet
#

ok ok i dont lose data

#

phew

#

So can i run more than one process in the container

#

??

rotund inlet
#

is it safe though?

dusky nymph
#

that im not sure

paper tendon
#

FROM devbuntu
EXPOSE 8000
CMD ["fish"]
#

docker build -t devwithfish .

languid furnace
#

I hear russian accent

paper tendon
#

On whom you meant?

#

@zenith radish ?

languid furnace
#

yours

paper tendon
#

Not russian Serbian

languid furnace
#

lp is russian then

paper tendon
languid furnace
#

i just heard russian accent, lol

paper tendon
zenith radish
#

!mute @zenith radish

wispy turtle
#

Morning, lovely computers

still quartz
#

#include "stdio.h"
int x[100];
int y[100];
int main(void)
{
int n, m;
int a = 0;
int b = 0;

scanf("%d %d", &n, &m);

for (int i = 0; i < n; i++)
{
    scanf("%d", &x[i]);
    a += a * x[i-1];
}
for (int i = 0; i < m; i++)
{
    scanf("%d", &y[i]);
    b += b * y[i-1];
}

if ((a%b) == 0){
    printf("YES\n");
}else {
    printf("NO\n");
}

}
im getting : Floating point exception
why?

paper tendon
#

macOS has ARM support starting with macOS Big Sur as of late 2020.[188] Rosetta 2 adds support for x86-64 applications but not virtualization of x86-64 computer platforms.[189]

cobalt spruce
#

I was having a issue while trying to update python on a redhat, can anyone help please?

paper tendon
#

apt install libdpp-dev

cobalt spruce
#

After extracting python, when i try to install using this command ./configure --prefix=$HOME/python there is a error "no acceptable C compiler found in $PATH",,, I believe GCC is installed

cobalt spruce
waxen radish
#

is this the common topic on the channel?

#

who has good audio?

faint ermine
versed sapphire
#

@zenith radish What terminal are you using in emacs

zenith radish
#

vterm

versed sapphire
#

oh ok

waxen radish
#

This awkward...

#

wtf

versed sapphire
#

what's going on lol

#

why u fighting

waxen radish
#

first time in this

#

trying understand is this normal

versed sapphire
#

no it's not

#

lollll

waxen radish
#

worst programming language is RPG

paper tendon
#

anyway what I meant on linux you could run the 192k for everything else and then have the pulse audio stream on pipewire which goes for discord and webrtc being always downsampled to 96k or something else. 🙂 that is what I meant @faint ermine

gentle flint
sterile ledge
#

What are the guys discussing in voice

paper tendon
clear shadow
#

Hey

zenith radish
#

@tiny socket do you reckon it's possible to get tls1.3 on python 1.6.1?

cerulean moth
#

Hellllo, what’s going on?

amber raptor
#

Why even bother?

cerulean moth
#

Brb

loud karma
#

dhina

#

quiet voice chat.

#

oh no typos

zenith radish
#

@amber raptor go back to your soulless corporate shitjob and stop taking out your frustration on me 💖

stuck furnace
#

Hello 👋

dense ibex
#

👋

stuck furnace
#

Stop trying to make Rabbit feel insecure about the size of his safety sausage.

stuck furnace
#

How can we connect this to the internet of things? 🤔

tiny socket
#

connect your keyboard to IoT and then send keystrokes to your PC remotely over IP

faint ermine
#

no, over LoRa

tiny socket
#

wired, bluetooth, and wifi are outdated

faint ermine
#

10km range remote keyboard

tiny socket
#

recursive descent parsers, or as i like to call them, pain

#

ux not ui

#

oops

uncut meteor
tiny socket
#

no

#

no

#

no

faint ermine
stuck furnace
uncut meteor
#

~cooling

honest pier
#

two's complement go brrr

stuck furnace
#

@brisk current Can you turn on PTT please.

tiny socket
#

"Alexa, remove my privacy"
"I cannot do that. You already did when you bought me."

amber raptor
paper tendon
#

In software development, the programming language Java was historically considered slower than the fastest 3rd generation typed languages such as C and C++. The main reason being a different language design, where after compiling, Java programs run on a Java virtual machine (JVM) rather than directly on the computer's processor as native code, a...

tiny socket
#

mikael

#

Mikle

brave steppe
#

Mikæl

dense ibex
#

Michael

brave steppe
#

Mykæl

tiny socket
#

michael

dense ibex
#

Franklin

#

Trevor

faint ermine
#
GitHub

Create agents that monitor and act on your behalf. Your agents are standing by! - GitHub - huginn/huginn: Create agents that monitor and act on your behalf. Your agents are standing by!

GitHub

Main repository for munin master / node / plugins. Contribute to munin-monitoring/munin development by creating an account on GitHub.

gloomy vigil
faint ermine
#
cursor.clearSelection()
cursor.movePosition(QTextCursor.NextWord, QTextCursor.KeepAnchor)
cursor.insertText("Hello World")
steel cargo
#

Hey

tidal sage
#

Yes... I'm new here

#

And i wanted know that is there any site or something that can i start to learn code in python

#

Like i never code before

faint ermine
#

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

tidal sage
#

Ohh thank you very much.

#

Like my basic purpose is to become data analyst

#

Anyways thank you again..

whole bear
#

Hi

whole bear
languid furnace
#

how to be verified to stream?

somber heath
#

@drifting tide

#

!voice

wise cargoBOT
#

Voice verification

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

drifting tide
#

i cant talk

languid furnace
#

why i cant stream?

somber heath
#

Because people abused it.

languid furnace
#

so, no one can't anymore?

somber heath
#

This is a prominent server. You wouldn't give people unlimited access to display what they want on a Times Square display screen.

#

Limited streaming permissions are granted on a discretionary basis.

languid furnace
#

i want to stream me coding my computer vision project

#

can i have permission for it?

drifting tide
#

how do i install python can some one please help em

somber heath
#

There will be installation instructions available.

drifting tide
#

ok thank you.

tidal sage
whole bear
#

!voiceverify

true violet
#

!voice-verify

#

nvm

young garden
#

!voice-verify

true violet
#

Bruhh

young garden
#

!voice verify

wise cargoBOT
#

Voice verification

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

true violet
#

Oh

#

nvm

whole bear
#

!voice-verify

young garden
#

#voice-verification

#

???

stuck furnace
#

Hello 👋

#

Good thanks, you?

#

Fair enough 😄

#

Is this some kind of self-punishment? 😄

#

A discord bot in COBOL would be pretty great tbh.

#

Ah

#

Yeah give it a try!

#

The only thing about Kakoune, is it will totally mess up your muscle memory for Vim.

#

¯_(ツ)_/¯

#

The one weird thing is, there's always a selection.

#

Movements and selections are the same thing.

#

Rather than dw to delete a word, you do wd.

#

Generally upper-case keys extend a selection.

#

So like WWW would select three consecutive words.

#

I still haven't really learned the ins and outs yet.

#

Yep, it's very similar to Vim.

#

The | key in Kak allows you to pipe the current selection through a shell command, and paste the output in its place.

trail pebble
#

looks cool even I used python 2 just to experiment LMAO

stuck furnace
#

Select some lines, then do |sort then enter.

#

Nono, you enter a shell command, and the selection is stdin.

#

You could do, e.g. |python -

#

🤔

#

I have to go, cya 👋

zenith radish
#

👋

somber heath
#

@zenith radish I'm hearing cymbals or something.

#

and not you

#

Cymbals stopped.

#

and started

#

and stopped

zenith radish
#

gonna restart

#

computer

#

I suppose :d

somber heath
#

👍

zenith radish
#

...

versed sapphire
#

@zenith radish Why don't you use tmux

strong arch
#
loud karma
#

LP are you still making a discord bot in vba. i cant see the stream on phone :(

somber heath
#

The stream resolution is probably set too high.

#

That's what happens for me.

verbal heron
#
#version 120


//#define WORLD_SPACE        //Implements the deformation in World Space. Uses Screen Space if not enabled.


uniform mat4 gbufferModelView;
uniform mat4 gbufferModelViewInverse;

uniform float frameTimeCounter;

varying vec4 color;


void main()
{
    vec4 position = gl_ModelViewMatrix * gl_Vertex;
    
    #ifdef WORLD_SPACE
        position = gbufferModelViewInverse * position;
    #endif
    
    float distance2D = position.x * position.x + position.z * position.z;
    
    position.y += 5.0 * sin(distance2D * sin((frameTimeCounter * 20 + 36000.0) / 143.0) / 1000.0);
    
    float y = position.y;
    float x = position.x;
    
    float om = sin(distance2D * sin((frameTimeCounter * 20.0 + 36000.0) / 256.0) / 5000.0) * sin((frameTimeCounter * 20.0 + 36000.0) / 200.0);
    
    position.y = x * sin(om) + y * cos(om);
    position.x = x * cos(om) - y * sin(om);
    
    
    #ifdef WORLD_SPACE
        position = gbufferModelView * position;
    #endif
    
    gl_Position = gl_ProjectionMatrix * position;
    
    
    gl_FogFragCoord = sqrt(position.x * position.x + position.y * position.y + position.z * position.z);
    
    
    color = gl_Color;
}```
paper tendon
#

o/ @languid furnace

paper tendon
#

lol

paper tendon
languid furnace
#

whats inside

languid furnace
clear forum
#

hi

inner hemlock
#

Howdy

#

@dense ibex Teamspeak does do reporting now

#

A long time ago it didnt

#

This game is FPS portal? @dense ibex

#

2 minutes is considered a queue? LOL @dense ibex

#

My company works with Django. But it seems like a bad framework to get stuck in @autumn kraken

#

I havent deved on it much. Couple bug fixes

autumn kraken
#

Why bad?

inner hemlock
#

Super opinionated

#

Makes things really easy via abstracting a lot of complicated stuff

#

But then if you need to do something custom, its a pain in the neck

autumn kraken
#

Oh i see

inner hemlock
#

The way it models data makes it kinda touch to swap from Django to something else

#

tough*

#

This is what the devs I work with keep telling me

#

It may just be that they were bad at implementing their designs and Django is fine though lol

autumn kraken
#

lol

#

I'll keep that in mind

inner hemlock
#

Are you deving solo or with a team?

autumn kraken
#

With a team

inner hemlock
#

Django seems really good for large projects and team stuff. Because you cant go cowboy and code random stuff

autumn kraken
#

Yeah, it saves a lot of time

inner hemlock
#

@brisk current Yeah isometric

#

But isometric is much harder than just 3D

#

Or just 2D

brisk current
dense ibex
#

@faint ermine send me your friend code

inner hemlock
#

@terse needle And weapon progression you keep between runs

#

Cya. Kinda boring not being able to talk. have a good one

paper tendon
#

Minion Masters: The realm's greatest Masters face off in a never-ending conflict for glory. Will you play Control, Aggressive, Swarm or Giant Minions? Choose a Master matching your playstyle and build the best deck to overthrow your opponents in intense games of 2 to 6 minutes.Join millions of players worldwide and discover one of the best ever ...

Recommendations

1353

▶ Play video
frigid panther
#

!stream 354271355069267980 15M

wise cargoBOT
#

✅ @vagrant roost can now stream until <t:1628954643:f>.

strong mauve
#

can i be unmuted

frigid panther
#

!stream 354271355069267980 15M

wise cargoBOT
#

✅ @vagrant roost can now stream until <t:1628955708:f>.

faint ermine
#

ssh-keygen -m PEM -t rsa -b 4096 -C "your_email@example.com"

frigid panther
#

brb

whole bear
#

does anyone know how to check if a argument is a valid emoji

paper tendon
#

cat /etc/lsb_release

faint ermine
tender citrus
#

Where should I host discord bot for free?

gloomy vigil
#

it hosts 21days in a month

whole bear
#

@vagrant roost i can help i you want i am expreienst with discord.py

#

oh

somber heath
#

Experienced.

whole bear
#

hello guy @paper tendon

paper tendon
#

Minion Masters: The realm's greatest Masters face off in a never-ending conflict for glory. Will you play Control, Aggressive, Swarm or Giant Minions? Choose a Master matching your playstyle and build the best deck to overthrow your opponents in intense games of 2 to 6 minutes.Join millions of players worldwide and discover one of the best ever ...

Recommendations

1353

▶ Play video
whole bear
#

very nice embed

dense ibex
#

@terse needle join this vc

faint ermine
#

!e ```py
def f():
print(test)

test = "test"
f()

wise cargoBOT
#

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

test
faint ermine
stuck furnace
#

Ah right 😄

terse needle
#

just had left over chips from the chippy 😋

plucky cave
stuck furnace
#

This is Python? 🤔

#

Nice use of \ there 😄

#

At the very least, indent the next line.

#

I would not be able to re-factor this code. My brain would just reject any attempt to understand it,

#

We need to psycho-analyse this code 😄

#

Or with some alpha, so that the density doesn't get saturated.

plucky cave
#

btw these are some of my results that I am going to use

eternal bough
#

markov chain monte carlo mcmc

stuck furnace
#

That's just doing statistics in your head 😄

stuck furnace
#

Sorry, debt or depth?

#

Oh right

faint ermine
stuck furnace
#

We banged on it with a hammer and it worked fine again. Problem solved.

faint ermine
stuck furnace
#

Germany has a lot of small/medium sized companies though right?

stuck furnace
#

Is this a Bruce Lee quote? 😄

faint ermine
#

Bruce Lee Quotes
I fear not the man who has practiced 10,000 kicks once, but I fear the man who has practiced one kick 10,000 times.

plucky cave
faint ermine
#

the actual dunning kruger

errant nova
#

but that can just be confirmation bias

vagrant roost
#

@wicked hinge how long you stay awake?

wicked hinge
#

meh. maybe 1 hour or so?

#

@vagrant roost

vagrant roost
#

ah ok. so i will hurry up then

#

@faint ermine hey so i wanted to ask if you could help me for a few minutes. probably would take like 5 minutes not more

stuck furnace
vagrant roost
#

i could yeah

#

so i created a bot with @faint ermine in a vm and docker and my mate @wicked hinge wants the same bot on his server so i want to add my bot to his server as well

#

you know?

faint ermine
#

just give leinadl the invite link

vagrant roost
#

so i dont want to redo everything cause i know i can use the same bot on his server somehow

#

which invite?

faint ermine
#

the one we generated in the Oauth tab

vagrant roost
#

@wicked hinge write some more to talk

#

ok so what do we do now?

faint ermine
#

just invite the bot using the link

#

thats it

#

done

vagrant roost
#

@wicked hinge open the link. and authorize it on your server

stuck furnace
#

We're too old to understand 👀

errant nova
#

@faint ermine how did you originally learn of the issue with the popular graph representation?

faint ermine
#

.wa define oldhead

viscid lagoonBOT
vagrant roost
#

@wicked hinge you here?

wicked hinge
#

ye still looking for the link xD

vagrant roost
#

dm?

#

wait

faint ermine
#

kilian did you send leinadl the link?

vagrant roost
#

i dont know the link anymore haha

faint ermine
#

you have to make it kilian, and then send it to leinadl

errant nova
#

I asked because I would have been surprised if it was because of actually reading the study

vagrant roost
#

how do i do that again

faint ermine
#

discord dev portal, oauth tab, select bot and application.commands scope, scroll down, select permissions, copy link

vagrant roost
#

thx

faint ermine
#

.wa define skid

viscid lagoonBOT
errant nova
#

but you can impress a lot of people when the first thing you do on a computer is opening a console

vivid palm
#

i just read the news abt the nurse in germany swapping covid vaccine vials with saline 😧😧

#

hi

faint ermine
#

yea thats yikes

vivid palm
#

chilling

rocky kiln
#

nice

vivid palm
#

yes and i wanted to see if you were online laundmo

#

and i see two germans lol

rocky kiln
#

he always is

#

stays up way too late

rocky kiln
vivid palm
#

it is dangerous isn't it? potentially misleading people to believe they're vaccinated when they're not

#

(what she did)

vivid palm
faint ermine
#

okay yeah that is but here there are literally no rule changes between vaccinated and unvaccinated

rocky kiln
vivid palm
#

well forget that lol

faint ermine
#

so for the precautions it does not make a differnce

vivid palm
#

@rocky kiln ooh i didn't know

rocky kiln
#

well i didnt tell anyone here yet 😅

vivid palm
#

what's your other half made of lol