#voice-chat-text-0
1 messages · Page 879 of 1
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 🙂
Oh boy
uh
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
i want to say something
there is no free speech
can i do in some server my stream about Flask framework
@zenith radish
you have to ask mod mail
for the perms
just dm him
mod mail
it
is a
bot
you can ask there
and you have to have a valid reason
who i must to ask !
lol
people start making discord bots without even knowing coding languages like nomral indentation
@opal mulch
please indent
how many grids will be in a 500x500 with each block of the grid being 10 pixels wide
@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
what?
!e
print((120 / 10) * (320 / 10))
@uncut meteor :white_check_mark: Your eval job has completed with return code 0.
384.0
12x32 grid
3/1 = 3
3*3 = 9
with 384 squares
if u assume height and width are equal
!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))
@uncut meteor :white_check_mark: Your eval job has completed with return code 0.
3.84
@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
Yes, not in FastAPI. But there's great 3rd party modules afaik.
Also, that's the type of thing where you want to have control of it, since it's authorization.
auth is pretty straight forward tho
id just use a jwt third party library
and keep all user date in the db
I really don't like the way Flask does stuff, the way you pass around variables by importing it :/
Like with blueprints?
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
Yeah, and FastAPI follows Starlette and calls then Routes, then you do include_router
its not quite as bad as perl...
@brave steppe
what do u do for a living bluenix
and how do u feel bout the new rocky os?
I live lmao
I am just a hobbyist
I don't know what to tell you 😅
I don't work in the industry, I guess you can say I study?
/copy :emoji:
@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
Alright
@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.
I'm starting now on python, which program do you recommend
program as in ?
D'y'all reckon the FAB is well placed? 
yes
editor
FAB?
They let you focus on learning the language rather than learning the editor and the language
the pink button
i know practically nothing about python, cosmetic to study now
!tools
Tools
The Tools page on our website contains a couple of the most popular tools for programming in Python.
https://pythondiscord.com/pages/resources/tools
We have a whole list of really handy ones
is it a mobile app?
Then yeah, Thonny or Mu
nope a web app
@uncut meteor
https://repl.it is also a good choice
then no, i think for desktop, buttons should in most cases be at the top of the screen
alright I'll try
jupyter is good option?
nope. its very specific.
@uncut meteor How am I only just learning this about you
like, jupyter is only meant for a few usecases and actually requires more knowledge than any normal editor, imo.
|| i am joking ||
fisher you and i are both at work on discord now
recommend any?
yes. I have a meeting in less than 3 minutes too
hemlock already recommended 2 and sent our list of resources which has a list of editors.
my eyes hurt now
your being awake paid off
For what?
Did they pitch a fit?
yes
@olive hedge do you remember what today is!?
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
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
Apologies
PhotoDNA is used by organizations around the world and has assisted in the detection, disruption, and reporting of millions of child exploitation images.
hemlock sir help
I don't know anything about flask
🥲
https://www.theverge.com/2021/7/13/22575809/discord-ai-anti-harassment-company-sentropy-acquisition-buy
https://www.sentropy.com/
what do you want to do
thaxx dude
!server
Thank you so much dude ! it's working
telegram store bot
yo splitgate is huge wth
lol yes
and discord bot
i remember when there was like, no more than 500 concurrent players on splitgate
hi
to create a gift card shop, as I do before handing the gift card to the customer, it is valid
discord's current nsfw image recognition sucks
sand dunes intensifies
cute dogs too
whats that
discord uses https://www.microsoft.com/en-us/photodna
PhotoDNA is used by organizations around the world and has assisted in the detection, disruption, and reporting of millions of child exploitation images.
it sucks though
telegram bot
sorry, at work, yes I do 
Again, if you're starting out and have never touched Python before
Thonny, Mu-Editor, or https://repl.it
@dense ibex HAPPY BIRTHDAY
its bed time @dense ibex
Jupyter, if we're talking about the notebook. It's a notebook.
Ty!!!!
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!
@summer crown please look at this. that is hemlocks recommendation for you
Bluenix, could I use your help with something related to condition variables in #help-pretzel ?
I'm downloading now
thanks @rugged root
IDLE is nice if you just want to start programming!
Great, have fun @summer crown! Read #❓|how-to-get-help if you get stuck
Which one is idle? It's that the one that comes with python?
Yup, very simple to just start coding
Just wish it had line numbers on by default
Okay, ACTUALLY brb this time (I always do this)
Why do you need line numbers??
is thonny an .exe?
its helpful when the error says
how else am i gonna use my goto?
error at line 356 or even 11
we
literally
had this discussion a while ago
was that not with you?
maybe
is thonny an .exe? @faint ermine
yes, it has a exe installer you can download here: https://thonny.org/
ok so, especially for beginners:
helping people gets a LOT easier if theres linenumbers visible. just communicating about code gets much easier.
for locating errors
now it's just knowing how to do something lmao
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
ok
This is very useful when you want to try things quickly!
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
you should really start with the basics up to functions and maybe classes first, before starting with actually making a bot. i recommend SoloLearn as a site that has free courses with the basics
Messi came to PSG
what fundamentals do i need to learn to get started with telegram robot
how do i install selenium on thonny?]
absolutely necessary: function, variables, basics of oop/classes, flow control
thanks
lets' go learn
i really dont think w3schools is a good resource
which one do you recommend
!resources
Resources
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
https://pythondiscord.com/pages/resources
ok
for specific recommendations i really like sololearn
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
}
from __futures__ import braces
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named '__futures__'
It's __future__
Yarp, I realize that now. I derp
!e
from __future__ import braces
@gentle flint :x: Your eval job has completed with return code 1.
001 | File "<string>", line 1
002 | SyntaxError: not a chance
!e ```py
xd_🤔 = "xd"
print(xd_🤔)
@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)
Hey
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}")
!e
_ = 'h'
__ = 'i'
___ = 'n'
____ = 'p'
_____ = 'r'
______ = 't'
_______ = '('
________ = '"'
_________ = ')'
eval(____+_____+__+___+______+_______+________+_+__+________+_________)
@gentle flint :white_check_mark: Your eval job has completed with return code 0.
hi
A simple visual scripting environment for Python providing a diagram-like structure for an intuitive interface while your nodes can execute any python code.
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
this is so cursed type
_£
They're just mad that hemlock pounds more than them 😏
my first code lmao
Yea!
__
_¬
_£
¬_
¬¬
£
£_
£¬
££
!e
__ = 'h'
_~ = 'i'
_£ = 'n'
~_ = 'p'
~~ = 'r'
~£ = 't'
£_ = '('
£~ = '"'
££ = ')'
eval(~_+~~+_~+_£+~£+£_+£~+__+_~+£~+££)
@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)
grrrr
!e ```py
£ = 1
print(£)
@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)
!e
__ = 'h'
_~ = 'i'
_£ = 'n'
~_ = 'p'
~~ = 'r'
~£ = 't'
£_ = '('
£~ = '"'
££ = ')'
eval(~_+~~+_~+_£+~£+£_+£~+__+_~+£~+££)
@gentle flint :x: Your eval job has completed with return code 1.
001 | File "<string>", line 2
002 | _~ = 'i'
003 | ^
004 | SyntaxError: invalid syntax
!e
__ = 'h'
_€ = 'i'
_£ = 'n'
€_ = 'p'
€€ = 'r'
€£ = 't'
£_ = '('
£€ = '"'
££ = ')'
eval(€_+€€+_€+_£+€£+£_+£€+__+_€+£€+££)
@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)
!e
£ = "hi"
print(£)
@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)
@somber heath
tetonic paper plate
what happens if you shake it
!e ```py
_1 = 1
print(_1)
@paper tendon :white_check_mark: Your eval job has completed with return code 0.
1
Fish fissures.
You can use
!e ```py
import string
for i, d in enumerate(string.ascii_lowercase):
print(d + " = _" + str(i))
@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
PowerArray simplifies that bads by expanding the Array prototype, adding simple but powerfull capabilities to any Array. Worried about changes on the Array Prototype?
lol
!e ```
import string
for i, d in enumerate(string.ascii_lowercase):
print(d + " = _" + str(i))
_0 = "something"
print(_0)
@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
lol
!e ```
import string
#for i, d in enumerate(string.ascii_lowercase):
print(d + " = _" + str(i))
_0 = "something"
print(_0)
@paper tendon :white_check_mark: Your eval job has completed with return code 0.
something
def my_function(fname, lname):
print(fname + " " + lname)
my_function("Emil", "Refsnes")
Welcome into Weeb 3.0
Looks like a string that is a single space.
possible_possum
@rugged root can you tell me?
rad = radian?
.
@summer crown In that case it's adding a space character between the two values
Can't sleep. Bats will get me.
So if you didn't have that, the two values would be squished up against each other
thanks
!e ```py
a = "Apple"
b = "pear."
print(a + b)
print(a + " " + b)```
@somber heath :white_check_mark: Your eval job has completed with return code 0.
001 | Applepear.
002 | Apple pear.
Huh. IronPython is not dead
Just behind
@amber raptor CLR applies to both .NET and .NET Core, right?
Yes
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.
THANK YOU for 13 million views!
This is a video I made to celebrate Tarja's epic voice when I was a 15 year old Nightwish fan. All photos were found using google, and images done in MS Paint. It was edited using Windows Movie Maker on a laptop that crashed every five minutes. Thanks everyone for commenting and rating and making my day.
wawation
we are in #voice-chat-text-1
this shit's next level
Voice verification
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
@noble copper you there?
brb
hi
Hai
I'll be on in a moment
Have some quick stuff here to take care of
!stream @verbal ibex
✅ @verbal ibex can now stream until <t:1628774206:f>.
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.
@little topaz #data-science-and-ml
does anyone know how to increase the height of https://doc.qt.io/qtforpython/PySide6/QtWidgets/QLineEdit.html#PySide6.QtWidgets.PySide6.QtWidgets.QLineEdit QLineEdit pyside6
@rugged root Have you looked between your ears?
...So you're a golem?
If only
...ha.
golem?
@rugged root I fixed it having got rid of those size_hint() things
Humanoid clay construct animated by, traditionally, divine magic.
Huh, well fair enough
Originates in Jewish folklore.
I need now to find out kinda alternative to size_hint or how to use it properly if I didn't so
k
Okay so from what I'm seeing, there's the COBOL side, an API intermediary, and then the outside world
oh this isn't bad at all
Got it. Our gateway is dying under load.
"we released threads and errr, oops too much load for us"
Microsoft didn’t buy us and now we need to cut costs!
They're finally adjusting things to be smarter about how they handle their stuff
Spider-Fi. Browse the web.
We love to find bugs
TCP/Spider. Spiders invade the house en masse. "Steve! Steve! Stop watching YouTube, right now!"
@paper tendon Please mute if you're going to do weird little trumpet noises
no i mean like three people started screaming at the same time
bbl?
Be back later
same
@gloomy vigil No no
I mean that's what bbl stands for
i know what you mean i just said same i would be bbl
like opal
Ah. The question mark confused me
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
Gooootcha, okay
hello
hello all embarking on python first time
any great resources do you all have to learn python problems with solutions
!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
Resources
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
https://pythondiscord.com/pages/resources
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
DUDE @alpine path do I WISHHH that I can one day make codes like you guys
I just started ://
You're so right
i recommed tryinv to make a python script to obfuscate another language
Just that It's still super impressive
Oh for sure
I just started but I promise I'll start with that too as soon as I'm capable
Can't wait tbh
thats what i did
@somber heath
stupid question but...is it just me or GENERALLY the coding community - the tech community actually, is nice and supportive towards eachother?
my bot code is wacky
you can do itttt
hahah thanks! You too!
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?
I mean, Amazon blew a gasket over JEDI, with amount of money on the line, no one is going to let it go
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
what about M$?
what about them?
Their profit yearly
that's revenue numbers
Azure is like 56 Billion a year but their "cloud" revenue includes Office365
@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
Hm?
@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
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.*
Daww
PRECIOUS BABY
@haughty pier #help-cake
@somber heath Forgot it had this as well https://docs.python.org/3/library/gzip.html
there is also SFML for cpp - I am now trying it to code a Tetris game
Had to break this QnA out into a separate vid because it was pretty phat. Hope that kinda clears up the question. Watch the rest here - https://www.youtube.com/watch?v=18hudUzZOxk
If you'd like to help support myself, the team, and the project - https://randy.gg/fund :)
Spotify Playlists - https://randy.gg/playlists
Instagram - https://www.ins...
colorscolor or list of color, default: rcParams["lines.color"] (default: 'C0')
A sequence of RGBA tuples (e.g., arbitrary color strings, etc, not allowed).
https://matplotlib.org/stable/api/collections_api.html#matplotlib.collections.LineCollection
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. 😄
I wanted to learn to be a freelancer
do you think it is used a lot?
where should i put the webdriver
!stream C:\Windows\System32\Logfiles\srt\srttrail.txt
Bad argument
Member "C:\Windows\System32\Logfiles\srt\srttrail.txt" not found.
!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.*
!stream 311739984094953472
✅ @cerulean ridge can now stream until <t:1628790845:f>.
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()
now can i convert this to like normal stuff
<PySide6.QtGui.QKeyEvent object at 0x7f105626ed70>
how does Qt does this like theres no overloading in python
@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
feels so good fixing something you been struggling with 🥲 lots of googling and crying but came right eventually lol
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()
huh
ohayo
this reminds of that airplane joke hi jack
well i am going to go to sleep now as i am stuck
@cerulean ridge applause
@paper tendon ?
@whole bear my vscode theme is monokai-charcoal high contrast, but i have added my own syntax highlighting modifications
Have you tried github.dev yet? Just press the dot key
@GitHub
a git account:
you will have to pass me
writing a snippet overlay app
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
Demis Hassabis, Co-Founder & CEO, DeepMind
Talk at MIT + Center for Brains, Minds, & Machines | 2019
Abstract: Demis Hassabis will discuss the capabilities and power of self-learning systems. He will illustrate this with reference to some of DeepMind's recent breakthroughs, including the AlphaZero, AlphaStar and AlphaFold systems, and talk abou...
Thank you!
See #❓|how-to-get-help. There's better places to get help!
I don't have answers either
@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!
are you able to speak yet?
type !voiceverify in the verify channel
yeah I did that
then just turn the mic on
@crisp star cannot speak
wdym
u need help on something?
to get verified
!voiceverify
no just chilling here
ok
cause I need less than 10 more
got it
🙂
where are you from
@north relic where are you from
Russia
ok
3 more guys
I thought you was from Vietnam XD
: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).
!code
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.
Anyone on the south east of the USA? https://www.accuweather.com/en/hurricane/behind-fred-invest-95l-tropical-threat-taking-shape-over-atlantic/997578
!pypi pyqt6
Have you tried github.dev yet? Just press the dot key
@GitHub
Why I can't see the streaming?
It keeps on buffering still and I have perfect internet connection
you need video role
you can dm modmail for it
Oh alright.. thanks man
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"
ok
docker run -it ubuntu -p 8000:8000
bbl
what lang is this??python?
idek what they trynna do
they doing a docker commit
oohh ye
this is py
not to sure of Shiva is a french dude but he sounds like it
koçer !
Guys do i lose my data when the container exits??
not to sure
ok ok i dont lose data
phew
So can i run more than one process in the container
??
yes
is it safe though?
that im not sure
FROM devbuntu
EXPOSE 8000
CMD ["fish"]
docker build -t devwithfish .
I hear russian accent
yours
Not russian Serbian
lp is russian then
You? Russian or Litvanian?
i just heard russian accent, lol
!mute @zenith radish
Morning, lovely computers
#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?
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]
I was having a issue while trying to update python on a redhat, can anyone help please?
apt install libdpp-dev
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
Is this for me?
@paper tendon https://img.laundmo.com/u/1MbcXb.png
@zenith radish What terminal are you using in emacs
vterm
oh ok
worst programming language is RPG
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
What are the guys discussing in voice
https://serverfault.com/questions/661978/displaying-a-remote-ssl-certificate-details-using-cli-tools
Server Fault
In Chrome, clicking on the green HTTPS lock icon opens a window with the certificate details:
When I tried the same with cURL, I got only some of the information:
$ curl -vvI https://gnupg.org
*
curl -vvI https://discord.com
Hey
@tiny socket do you reckon it's possible to get tls1.3 on python 1.6.1?
Hellllo, what’s going on?
uhhhh
¯_(ツ)_/¯
Why even bother?
Brb
@amber raptor go back to your soulless corporate shitjob and stop taking out your frustration on me 💖
Rawr!
Hello 👋
👋
Stop trying to make Rabbit feel insecure about the size of his safety sausage.
You win, I give up
How can we connect this to the internet of things? 🤔
screw it, put a chip in it. say hello: internetofshit@gmail.com
Tweets
7048
Followers
451884
connect your keyboard to IoT and then send keystrokes to your PC remotely over IP
no, over LoRa
wired, bluetooth, and wifi are outdated
10km range remote keyboard
reverse cooling
~cooling
two's complement go brrr
@brisk current Can you turn on PTT please.
"Alexa, remove my privacy"
"I cannot do that. You already did when you bought me."
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...
Mikæl
Michael
Mykæl
michael
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!
cursor.clearSelection()
cursor.movePosition(QTextCursor.NextWord, QTextCursor.KeepAnchor)
cursor.insertText("Hello World")
Hey
Hello
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
!resources
Resources
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
https://pythondiscord.com/pages/resources
Ohh thank you very much.
Like my basic purpose is to become data analyst
Anyways thank you again..
Hi
There are many resources, you just have to look around
how to be verified to stream?
Voice verification
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
i cant talk
why i cant stream?
Because people abused it.
so, no one can't anymore?
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.
i want to stream me coding my computer vision project
can i have permission for it?
how do i install python can some one please help em
ok thank you.
Yes i know that but but after few more research i realise that it's incomplete.
!voiceverify
!voice-verify
Bruhh
!voice verify
Voice verification
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
!voice-verify
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.
looks cool even I used python 2 just to experiment LMAO
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 I'm hearing cymbals or something.
and not you
Cymbals stopped.
and started
and stopped
👍
...
@zenith radish Why don't you use tmux
@verbal heron https://terasology.org/
Terasology is a game that pays ample tribute to Minecraft in initial look and origin, but stakes out its own niche by adopting the NPC-helper and caretaker feel from such games as Dwarf Fortress and Dungeon Keeper.
LP are you still making a discord bot in vba. i cant see the stream on phone :(
#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;
}```
o/ @languid furnace
lol
whats inside
\o
hi
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
Why bad?
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
Oh i see
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
Are you deving solo or with a team?
With a team
Django seems really good for large projects and team stuff. Because you cant go cowboy and code random stuff
Yeah, it saves a lot of time
@brisk current Yeah isometric
But isometric is much harder than just 3D
Or just 2D
I used 2D perlin noise to generate a heightmap for 3D terrain in Python and Pygame. While in my case, I used the noise for 3D terrain, it's also applicable to top down 2D terrain, textures, etc.
Project Code:
https://dafluffypotato.com/static/scripts/3d_terrain.py
Previous World-gen Video:
https://youtu.be/1yJI8znB5aQ
All my games can be foun...
@faint ermine send me your friend code
@terse needle And weapon progression you keep between runs
Cya. Kinda boring not being able to talk. have a good one
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
!stream 354271355069267980 15M
✅ @vagrant roost can now stream until <t:1628954643:f>.
can i be unmuted
!stream 354271355069267980 15M
✅ @vagrant roost can now stream until <t:1628955708:f>.
ssh-keygen -m PEM -t rsa -b 4096 -C "your_email@example.com"
brb
does anyone know how to check if a argument is a valid emoji
cat /etc/lsb_release
Where should I host discord bot for free?
if you are still here you can host it on heroku
it hosts 21days in a month
Experienced.
hello guy @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
very nice embed
@terse needle join this vc
!e ```py
def f():
print(test)
test = "test"
f()
@faint ermine :white_check_mark: Your eval job has completed with return code 0.
test
Ah right 😄
just had left over chips from the chippy 😋
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.
btw these are some of my results that I am going to use
markov chain monte carlo mcmc
That's just doing statistics in your head 😄
We banged on it with a hammer and it worked fine again. Problem solved.
Germany has a lot of small/medium sized companies though right?
Is this a Bruce Lee quote? 😄
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.
but that can just be confirmation bias
@wicked hinge how long you stay awake?
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
Do you want to write your problem out here?
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?
just give leinadl the invite link
so i dont want to redo everything cause i know i can use the same bot on his server somehow
which invite?
the one we generated in the Oauth tab
@wicked hinge open the link. and authorize it on your server
We're too old to understand 👀
@faint ermine how did you originally learn of the issue with the popular graph representation?
someone sent me a article about me
.wa define oldhead
@wicked hinge you here?
ye still looking for the link xD
kilian did you send leinadl the link?
i dont know the link anymore haha
you have to make it kilian, and then send it to leinadl
I asked because I would have been surprised if it was because of actually reading the study
how do i do that again
discord dev portal, oauth tab, select bot and application.commands scope, scroll down, select permissions, copy link
thx
.wa define skid
but you can impress a lot of people when the first thing you do on a computer is opening a console
i just read the news abt the nurse in germany swapping covid vaccine vials with saline 😧😧
hi
yea thats yikes
chilling
nice
(austrian)
it is dangerous isn't it? potentially misleading people to believe they're vaccinated when they're not
(what she did)
who is austrian ?
okay yeah that is but here there are literally no rule changes between vaccinated and unvaccinated
me, at least half
well forget that lol
we have 3G
so for the precautions it does not make a differnce
@rocky kiln ooh i didn't know
well i didnt tell anyone here yet 😅
what's your other half made of lol
47850
190584
