#voice-chat-text-0
1 messages · Page 96 of 1
I hate this type inference style
var life_points := 4
That's gdscript
var damage: float = 10.5
var ham: int
VBA?
there are some windows APIs for clipboard
and they can be accessed from python too
(including pasting RTF instead of plain text)
func _on_body_entered(body: PhysicsBody2D) -> void:
var player := body as PlayerController
if not player:
return
player.damage()
🥴
looks like a mix of a lot of languages
speaking of games causing mental illnesses
still doing minesweeper gaming
Jesus
Subscription and open access journals from SAGE Publishing, the world's leading independent academic publisher.
PDF | Psychological studies invariably find a positive relationship between video game play and aggression. However, these studies cannot account for... | Find, read and cite all the research you need on ResearchGate
"usually gets banned"
Hey LX
Dewit 
Purim (; Hebrew: פּוּרִים Pūrīm, lit. 'lots'; see Name below) is a Jewish holiday which commemorates the saving of the Jewish people of Persia from being anhilated according to an evil decree instituted by Haman, an official of the Achaemenid Empire as recounted in the Book of Esther (usually dated to the 5th century BCE).
Haman was the royal vi...
2 * pi (aka tau)
1 rad = 1
Well did
I've seen radians more often in physics than in mathematics
They're apparently used a lot in game dev as well
no one really uses degrees after like, high school math
Well mathematicians don't use units because units are about mapping numerical values to physical quantities.
in maths a right angle is referred just as (pi/2) not (pi/2) radians, from what I've encountered
it's both
yes
2 pi radians = 360 degrees = 1 turn
1 rad = 360/2pi degrees
The fact that we use pi instead of tau complicates things a bit.
trigonometric functions work better/easier with pi/tau
Wellll, in maths, we conventionally define the sin function based on radians.
That's a bit circular.
.wa taylor expansion sin
The reason we use the radian form of the sine function is that it simplifies taking the derivative.
Whelp
Looks like I'm going to be reteaching myself basic trig
..... or I can stop being dumb and just move on and actually complete something for once
Mathematicians just treat it as a function from (dimensionless) real numbers to real numbers.
Khan Academy is pretty great for this kind of thing.
function sin, given that 1=1rad, acts on real numbers the same way as those real numbers corresponded to radians
HA, I was actually reading over it right now
sin(pi/2)=1
sin(pi/2 rad)=1
sin(turn/4)=1
sin(90 deg)=1
and in each case the sin taylor series is different
you choose the correct series based on your units
this isn't "default". if you have f(90)=1, f is not a sin function.
or whatever it is in other languages:
enum Angle {
Radians(f64),
Turns(f64),
Degrees(f64),
}
That sounds like a win
😤
hi🙌
or trait Angle which implements conversion both to radians and to turns depending on the usecase
Ah lol
If using turns, you could use an unsigned int to represent an angle.
Just treat it as a fixed point number between 0 and 1.
if you only needed an angle and not direction of the turn
You just have 2^32 notches on your circle.
Not sure if that's actually a practical way to represent angles.
¯_(ツ)_/¯
With an unsigned int you automatically get angle normalisation by overflowing 🤔

angle may also mean how many times something turned, not where it ended up
Oh yeah 🤔
And also if you want to represent multiple turns.
it's able to represent the outcome you want, but not the way you want to turn
I did a mobile robot project at uni, and dealing with angles was like the most common source of bugs lol
Especially when those bugs only become apparent after your robot has turned around a certain number of times.
Just do it ¯_(ツ)_/¯
Build a little robot 😄
Alright cya 👋
hmmm
bye guys! I might comeback later
I think the angle argument killed the chat 😔
the raidans one?
too anglry
How are interviews going? 😄
😬
so i had one earlier today, and i think it went ok?
and they said i was going to be scheduled for another one later this week, but i haven't gotten an email or anything that confirms when it is?
and have another one on wednesday
Oh 
What kind?
it was like, "technical"
Hey Rab 
they asked me about the software development lifecycle 🤔. then they asked me like, if i was manually testing an app, what i would do
Quit because how do you not have testing framework already!
😔
lol
The guy in the show 🤔
Cya
And my nazist pikachu
lol
You should try being from England
You never know whether you should be looking for UK, United Kingdom, Britain, Great Britain, England, ... in drop-downs.
Did you ever see this site Pub? https://userinyerface.com/
User Inyerface - A worst-practice UI experiment
no 🤔
"Your password can have at least 1 cyrillic character."
Can you mute your mic please @left flower
@left flower your rocket do so much disturbing sounds
oof
shit
my bad
lol
lemme go on my phone
its cus of my laptop
alr unmute me
I got my phone
I love that the country flags are greyscale 😄
@left flower do you have any programming skills ?
the age slider is amusing
Im learning
python
No
!resources
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
In general please use push-to-talk.
@left flower but you have to
Right, I'm heading off for a bit cya 👋
i fell like i dont have a purpose learning python
like
i dont work with python
and my python skills still basic
i think
i can hear you
My discord is not working
can i spam?
:incoming_envelope: :ok_hand: applied mute to @velvet roost until <t:1678159746:f> (10 minutes) (reason: duplicates rule: sent 4 duplicated messages in 10s).
The <@&831776746206265384> have been alerted for review.
Ur defeaned
😢
aw i see
ok thanks @winter plover
im still very new-ish to python
Learning as i go i guess
dont laugh but thats one of my first 2D drawings for a JS game i made lol
this Guy too:
Hi @pulsar sable
see u man
fml lol
code
!eval [python_version] <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.
If multiple codeblocks are in a message, all of them will be joined and evaluated, ignoring the text outside of them.
By default your code is run on Python's 3.11 beta release, to assist with testing. If you run into issues related to this Python version, you can request the bot to use Python 3.10 by specifying the python_version arg and setting it to 3.10.
We've done our best to make this sandboxed, but do let us know if you manage to find an issue with it!
:incoming_envelope: :ok_hand: applied mute to @velvet roost until <t:1678194811:f> (10 minutes) (reason: burst rule: sent 8 messages in 10s).
The <@&831776746206265384> have been alerted for review.
:incoming_envelope: :ok_hand: applied mute to @velvet roost until <t:1678195455:f> (10 minutes) (reason: duplicates rule: sent 4 duplicated messages in 10s).
The <@&831776746206265384> have been alerted for review.
@velvet roost If your intent is to get voice permissions, doing what you're doing is going to have the opposite effect to the one you want.
@carmine trellis👋
how did you make this wave
** ASMR **
Standard emote library on Discord.
If activity is what you want, hang around.
Things are going to get weird.
By which I mean Mr Hemlock will be joining us.
ok
Which triggers a lot of others to join as well.
ok
i am doing some computer network practical on cisco tracer
re weird
I see. Does this mean that you are lighting your router on fire?
Hello, Parker.
can u explain me this question https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal/description/
@somber heath looks like a userbot ngl.
Beep boop.
@somber heath i didn't have permission to share screen
Also, you can talk. Pixel display picture.
Which, granted, we all kind of have.
Space invader or something?
try live coding
Nope.
why?
Please finish the CaptCha below:
https://patrickhlauke.github.io/recaptcha/
(Not made by me)
Does no work for you?
It works for me.
Okay, so, binary tree thingy.
yeah
ok bye opal
top usin graM m a r
Seriously
stop using grammar
This is something I've not attempted before, so I'm not really sure what the best way to go about it would be. Sorry.
Maybe poke around in #algos-and-data-structs.
@willow lynx , you india?
comensal your are from india?
Lol You are also from india
No. Live a long, fulfilling life mad about it.
yes
which state?
Same
Hmm
!voice
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
@steel pilot
@somber heath userbot guy
🙂
can u check out personal website
Yours?
ye
I can. I won't.
Y
I type this massage because I want see your reaction
Give me a reason to want to.
I am Russian
cause i dont want to waste $0.99
Right, well, good luck.
!voice
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
@obsidian dragon On your what?
huh @rugged root
@lavish rover 👋
"Sss."
"Sss."
🤝
There's knowing a language then there's knowing what to say.
How to say it.
Why you're saying it.
How to say it clearly.
Speaking concisely.
@whole bear👋
can someone help me ?
im trying to intall customtkinter
but its returning this error
i already searched to solve
but
didnt work
You're doing things in a way I'm not used to doing things, so I'm not sure I know how to help off the top of my head. I'd just be looking stuff up. I can give that a go.
def foo(lower, upper):
....
return num_odds, num_evens
@whole bearHave you tried python3 -m pip install customtkinter instead?
it return the same error
I'm seeing people say that a venv might help.
It's not something I use often enough to explain.
I'd just be reading from instructions.
def foo(lower, upper):
range_ = upper - lower
Like I know that's an important part...
I saw someone su themselves to pip install stuff, which is almost definitely the wrong thing to do.
0,8 -> e=4, o=4
0,9 -> e=5, o=4
su ?
if i%2 > 0:
odd
else:
even
i think thats it
Unfortunately not, I don't want to loop over all the numbers
Superuser, yeah. Do stuff as root.
oh im sorry
But don't.
i dont even know what youre trying to do
1, 2, 3, 4 -> e=2, o=2, range=3
1, 2, 3 -> e=1, o=2, range=2
2, 3, 4, 5, 6 -> e=3, o=2, range=4
range_ = upper - lower
half = range_ // 2
if lower % 2 == 0 and upper % 2 == 0:
odd = half
even = half + 1
elif lower % 2 == 1 and upper % 2 == 1:
odd = half + 1
even = half
else:
odd = half
even = half
Is the problem statement here somewhere in the chat? Can anyone point to it?
If I'm understanding this correct, the input parameters are a small number and a larger number and we gotta return the number of odd and even numbers in that range?
without using loops?
start is inclusive and end is exclusive right?
xD
Was Humpty Dumpty royalty?
!ot
Please read our off-topic etiquette before participating in conversations.
CTRL + K
@whole bear you still trying the problem?
Yess Dr. DRE!
I do
😔
still trying
xD
end = 20
total = end - start
even = int(total / 2)
odd = total - even
print(f"total even = ", even)
print(f"total odd = ", odd) ```
you do
!e py var = True print(f'{var = }')
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
var = True
@formal ember
@whole bear is this what you guys were trying??
👋
How did we end up talking bout weed 💀
Competitive programming or combative programing?
Competitive programming
Chienese and russians are very good in Competitive programming
@lavish rover is this what you need?
Looks too simple
def moostaffa(lower: int, upper: int) -> tuple(int, int):
even_numbers = set()
not_even_numbers = set()
for num in range(lower, upper):
if num % 2:
even_numbers.add(num)
else:
not_even_numbers.add(num)
return sum([1 for _ in even_numbers]), sum([1 for _ in not_even_numbers])
lower_bound = int(input("Enter the lower bound: "))
upper_bound = int(input("Enter the upper bound: "))
# Count of even numbers between the range
even_count = (upper_bound - lower_bound - 1) // 2
# Count of odd numbers between the range
odd_count = (upper_bound - lower_bound) // 2
print("The count of odd numbers between", lower_bound, "and", upper_bound-1, "is:", odd_count)
print("The count of even numbers between", lower_bound, "and", upper_bound-1, "is:", even_count)
@lavish rover
def solve(l, r):
o = (r - l - 1) // 2 + (l % 2 or (r - 1) % 2)
return (o, r - l - o)
alternatively, use bitwise operations,
o = (r - l - 1) >> 2 + (l & 1) | ((r - 1)&1)
What is the air-speed velocity of an unladen swallow?
O(1)
Depends on how hard you throw it
Once you've finished kneading it, cover it with a towel and put it somewhere warm but not hot.
Not too warm, though.
lmao wtf is happening here
Oh I see it
Is improvement demonstrating that you exist?
"There are people whose entire job is just watching a panel of lights to make sure that nothing goes wrong in a factory."
"Steve, your lights are all red, aren't you going to push the evacuation button?"
"I could, but it's not in my job description."
Hidden Figures. Good movie.
Hidden Figures is a 2016 American biographical drama film directed by Theodore Melfi and written by Melfi and Allison Schroeder. It is loosely based on the 2016 non-fiction book of the same name by Margot Lee Shetterly about three female African-American mathematicians: Katherine Goble Johnson (Taraji P. Henson), Dorothy Vaughan (Octavia Spencer...
int compute(int *input, int *output) {
if (*input > 10) {
*output = 1;
}
if (*input > 5) {
*output *= 2;
}
}
``` @rugged root
The most beautiful man alive.
People buy guard grease
They can swim.
To protect chickens it's a real thing
You raise them from chick
With the chickens
Source
Yeah it's dumb to trust one person with all of that
You seem trustworthy but from the company stand point there should be more checks
That's fair
How does python help you in your job?
That is cool!
I tried to use Docker for LaTeX
I failed
haven't tried since then
@honest pier Found the reference https://proconnect.intuit.com/support/en-us/help-article/systems-performance/improving-performance-document-management-system/L8wp2Ig9R_US_en_US:
The Data01a.dat file is extremely large (Over 50 Megabytes)
😔
🐐
🙂
!stream 158020687850766338
✅ @tepid edge can now stream until <t:1678207569:f>.
bash-5.2# nslookup github.com
;; connection timed out; no servers could be reached
``` @amber raptor 😔
Passes the few tests I have at least, thanks for contributing to amazon code base
For legal reasons this is a joke
that code is GPL
rofl
I'll use demorgans to change that or into an and watch me
@vernal bridge Sup
Reset your docker weasel
Embrace the WeaSeL
😔 i solved it by setting "dns": ["8.8.8.8"] in /etc/docker/daemon.json
oh maybe it's because i'm not using docker desktop 🤔
Oh, you are on your own then
lol
this did fix it though
I’m sure it did
The Halo effect
Teabagging your enemies?
as long as it is accredited, it's fine
Why can't we just have rockets that implode?
Luke, instead of thrust out the bottom, you have suck from the top.
Then when things go wrong, thwrp! Implosion. Small, compact ball falls back to earth.
@somber heath lol he left
who
Hi
gtg bye👋
New dance move?
Provided to YouTube by Universal Music Group
A Bitch Iz A Bitch · N.W.A.
N.W.A. And The Posse
℗ 1987 Priority Records, LLC
Released on: 1987-01-01
Producer: Dr. Dre
Composer Lyricist: Dr. Dre
Composer Lyricist: O'Shea Jackson
Auto-generated by YouTube.
Topic reminded me this song.
or rap XD
@lucid blade did you tried to work with something like this??
ctrl+R no longer works correctly in the app, from what I've experienced
Watch the official music video for "It's Five O' Clock Somewhere" by Alan Jackson and Jimmy Buffett
Listen to Alan Jackson: https://AlanJackson.lnk.to/listenYD
Watch more Alan Jackson videos: https://AlanJackson.lnk.to/listenYC/youtube
Subscribe to the official Alan Jackson YouTube channel: https://AlanJackson.lnk.to/subscribeYD
*************...
@rugged root If vertical scaling is chucking more hardware into a machine, and horizontal scaling is chucking in more machines, what's orthogonal scaling?```
(orthogonal scaling)
|
| (vertical scaling)
| /
| /
| /
x------------ (horizontal scaling)
orthogonal scaling: Chucking more people at the problem
I'll take it
time
I've seen the same in #python-discussion roughly 10 hours ago with the same question: "Just wait faster"
Is it me or Hemlock's mic is worse than usual today?
@upbeat leaf
Opinion on Ruby's cube?
Solve the insides, then the edges
Not that I've done that myself, just advice I've heard from others
@upbeat leaf What's the jewel world's most famous rapper?
||2Paz||
@rugged root "you didn't know it because you thought it was aluminum oxide not aluminium oxide"
Aluminium oxynitride (marketed under the name ALON by Surmet Corporation) is a transparent ceramic composed of aluminium, oxygen and nitrogen. Aluminium oxynitride is optically transparent (≥ 80%) in the near-ultraviolet, visible, and midwave-infrared regions of the electromagnetic spectrum. It is four times as hard as fused silica glass, 85% as...
@rugged root May I offer you a bad joke cooked up at 02:30?
Trimethylaluminium is one of the simplest examples of an organoaluminium compound. Despite its name it has the formula Al2(CH3)6 (abbreviated as Al2Me6 or TMA), as it exists as a dimer. This colorless liquid is pyrophoric. It is an industrially important compound, closely related to triethylaluminium.
@rugged root ||A DevOps engineer walks into a music shop and is disappointed to see all music being sold as digital. No CD.||
Many thanks to Dave for sending this over to me. It's the rather awesome CGL Frogger electronic game from 1980. Dave had been keeping it in storage and it seems to have been badly corroded. Consequently, it has no power and doesn't turn on at all.
Hopefully we can get Frogger Frogging again!
Let's try and fix it!
Hope you enjoy!
Steve
PS....
adit
Colagu St David's Gold Mine
Chat + AI = Chai. We enable content creators to build compelling AI experiences. Like Roblox for conversational AI.
sigh.. hemmy... so my new endeavor to buildout a central starting location for all the different tools i wrote is so annoying..
like script 1 is running in 2 diff frameworks, but change one entry variable to line up with new start point.. well, breake a framework.. its like all day fixing cascading failure points.. but i guess is to be expected trying to remap the scripts entry points back to a central location.
i think at somepoint Ill have to pull the "card" ... you know .. when asked todo one of these tools for others to use I say.. Whats my budget? .. to have them rewritten from my use to a typical user use.
Subterranea Britannica is a society devoted to the study and investigation of man-made (including Nuclear Bunkers) and man-used underground places.
it certianlly doesnt help that since starting with python.. i wrote this tool to use csv, this one sql, this one json, this one yaml.. etc.
Chai is a THE destination for compelling conversations with AI. On Chai, you can build and deploy AI chatbots to thousands of users.
@runic cave If you're wondering why you can't talk, check out the #voice-verification channel. That'll tell you what you need to know about the voice gate
Hey 👋
Errrrm, uneventful lol
How about you?
What're you up to now?
Just wasting time. Figuring out what I should actually be doing.
Did you get your old office back?
Ah right
Yo @rugged tundra

Does anyone want to help me with a basic coding google forum?
Not sure what you mean
@steel sable You might be best off asking in the help forum: #❓|how-to-get-help
thanks
Ah 😄
Is it more proof based, or application?
Oh yeah
Ah right yeah that was roughly the format of the math exams I took.
First half multiple choice, second half proofs.
Contradiction?
Basically show that something is false by showing it leads to a contradiction.
time youll never get back...
I'm okay with that
have you see that netflix show.. sec.. lol i have to go look up the name standby.
the consultant
||just gotta get to level 317||
spoiler dont look if you havent seen it
!kindling
The Kindling projects page on Ned Batchelder's website contains a list of projects and ideas programmers can tackle to build their skills and knowledge.
@left flower ^
oh
Check out the Vessi StormBurst and their other styles at http://vessi.com/ShortCircuit Use code SHORTCIRCUIT for 15% off your entire order and free shipping.
Gameboys are cool but they're sooooo big/cumbersome. If only there was something even smaller I could carry around... Luckily, Anthony is here to check out the Arduboy FX and Arduboy Mini...
Username generator: purely random? Based on a dictionary? Random but pronounceable? Lots of possibilities.
i dont know how to make this
like random
should i just put every name i can think of in a dicitonary
and pop it out
??
brb
NOUN_1 = input('Enter a noun: ')
ADJECTIVE_1 = input('Enter a Adjective: ')
PLURAL_NOUN = input('Enter a Plural Noun: ')
ADJECTIVE_2 = input('Enter a Adjective: ')
NOUN_2 = input('Enter a noun: ')
print(f"""
Yesterday, I went to the {NOUN_1} to buy some {ADJECTIVE_1} {PLURAL_NOUN}, but when I got there,
I realized that I had left my {ADJECTIVE_2} {NOUN_2} at home.""")```
SCROLL DOWN FOR THE TUTORIAL LINK.
In this video we'll be delving in to the world of pygame and looking at some basic game coding. The first tutorial focuses on setting up your development environment using linux, ninja-ide, pygame and python allowing you to opening a blank game window ready for drawing sprites and shapes to.
Full tutorial and ...
clock = pygame.time.Clock
A fairly simple Pong game to help you learn the basics of Pygame. We will talk about the fundamentals of Pygame and then incrementally add more elements.
Files can be found at:
https://github.com/clear-code-projects/Pong_in_Pygame
import pygame, sys
pygame.init()
clock = pygame.time.Clock
screen_width = 1280
screen_height = 960
screen = pygame.display.set_mode((screen_width,screen_height))
pygame.display.set_caption('PONG')
while True:
for event in pygame.event.get():
if event.type == pygame.QUIT:
pygame.quit()
sys.exit()
pygame.display.flip()
clock.tick(60)```
for event in pygame.event.get():
if event.type == QUIT:
return
elif event.type == KEYDOWN:
if event.key == K_ESCAPE:
return```
import pygame, sys
pygame.init()
clock = pygame.time.Clock
screen_width = 1280
screen_height = 960
screen = pygame.display.set_mode((screen_width,screen_height))
pygame.display.set_caption('PONG')
while True:
for event in pygame.event.get():
if event.type == pygame.QUIT:
pygame.quit()
sys.exit()
pygame.display.flip()
clock.tick(60)```
import pygame, sys
pygame.init()
clock = pygame.time.Clock
screen_width = 1280
screen_height = 960
screen = pygame.display.set_mode((screen_width,screen_height))
pygame.display.set_caption('PONG')
while True:
for event in pygame.event.get():
if event.type == pygame.QUIT:
pygame.quit()
sys.exit()
elif event.type == KEYDOWN:
if event.key == K_ESCAPE:
pygame.quit()
sys.exit()
pygame.display.flip()
clock.tick(60)
from pygame.locals import *
one sec
LOL K
rect(surface, color, rect, width=0, border_radius=0, border_top_left_radius=-1, border_top_right_radius=-1, border_bottom_left_radius=-1, border_bottom_right_radius=-1)
pygame.draw.rect()
pygame.draw.rect(surface, color, pygame.Rect(30, 30, 60, 60))
pygame.draw.rect(surface, (50,50,50), pygame.Rect(30, 30, 60, 60))
pygame.draw.rect(screen , (50,50,50), pygame.Rect(30, 30, 60, 60))
import pygame, sys
from pygame.locals import *
pygame.init()
clock = pygame.time.Clock
screen_width = 600
screen_height = 700
screen = pygame.display.set_mode((screen_width,screen_height))
pygame.display.set_caption('PONG')
while True:
pygame.draw.rect(screen, (200,200,200), pygame.Rect(30, 30, 60, 60))
for event in pygame.event.get():
if event.type == pygame.QUIT:
pygame.quit()
sys.exit()
elif event.type == KEYDOWN:
if event.key == K_ESCAPE:
pygame.quit()
sys.exit()
pygame.display.flip()
clock.tick(60)
`# Importing the library
import pygame
Initializing Pygame
pygame.init()
Initializing surface
surface = pygame.display.set_mode((400,300))
Initializing Color
color = (255,0,0)
Drawing Rectangle
pygame.draw.rect(surface, color, pygame.Rect(30, 30, 60, 60))
pygame.display.flip()`
import pygame, sys
from pygame.locals import *
pygame.init()
clock = pygame.time.Clock
screen_width = 600
screen_height = 700
screen = pygame.display.set_mode((screen_width,screen_height))
pygame.display.set_caption('PONG')
while True:
pygame.draw.rect(screen, (200,200,200), pygame.Rect(30, 30, 60, 60))
for event in pygame.event.get():
if event.type == pygame.QUIT:
pygame.quit()
sys.exit()
elif event.type == KEYDOWN:
if event.key == K_ESCAPE:
pygame.quit()
sys.exit()
pygame.display.flip()
clock.tick(60)
`HIGHFIVE
if event.type == KEYDOWN:
if event.key == K_DOWN:```
screen.fill((0,0,1))
if ballx >= screen width then ballmotionx = -1
screen_width
if ballx <= 0 then ballmotionX = 1
ballx = ballx + ballmotionx
pygame.draw.rect(screen, (200,200,200), pygame.Rect(ballx, bally, 60, 60))
ballx = ballx + ballmotionx
bally = bally + ballmotiony
if ball_x <= 0 then ball_direction_x = 1:
if ball_x <= 0: ball_direction_x = 1
if ball_x <= 0:
ballx = ballx + ballmotionx
circle_x = circle_x + circle_direction_x
pygame.draw.rect(screen, (200,200,200), pygame.Rect(ballx, bally, 60, 60))
if circle_direction_x <= 0:
circle_direction_x = 1
circle_x = circle_x + circle_direction_x```
import pygame, sys
from pygame.locals import *
pygame.init()
clock = pygame.time.Clock
circle_x = 0
circle_y = 0
circle_direction_x = 1
circle_direction_y = 1
screen_width = 600
screen_height = 700
screen = pygame.display.set_mode((screen_width,screen_height))
pygame.display.set_caption('PONG')
while True:
screen.fill((255,255,255))
pygame.draw.circle(screen, (0,0,255), (circle_x,circle_y), 15, 1)
for event in pygame.event.get():
if event.type == pygame.QUIT:
pygame.quit()
sys.exit()
elif event.type == KEYDOWN:
if event.key == K_ESCAPE:
pygame.quit()
sys.exit()
if circle_direction_x <= 0:
circle_direction_x = 1
circle_x = circle_x + circle_direction_x
if event.type == KEYDOWN:
if event.key == K_DOWN:
circle_y += 1
pygame.display.flip()
clock.tick(60)
import pygame, sys
from pygame.locals import *
pygame.init()
clock = pygame.time.Clock
circle_x = 0
circle_y = 0
circle_direction_x = 1
circle_direction_y = 1
screen_width = 600
screen_height = 700
screen = pygame.display.set_mode((screen_width,screen_height))
pygame.display.set_caption('PONG')
while True:
screen.fill((255,255,255))
pygame.draw.circle(screen, (0,0,255), (circle_x,circle_y), 15, 1)
for event in pygame.event.get():
if event.type == pygame.QUIT:
pygame.quit()
sys.exit()
elif event.type == KEYDOWN:
if event.key == K_ESCAPE:
pygame.quit()
sys.exit()
if circle_x >= 0:
circle_direction_x = 1
circle_x = circle_x + circle_direction_x
if event.type == KEYDOWN:
if event.key == K_DOWN:
circle_y += 1
pygame.display.flip()
clock.tick(60)
import pygame, sys
from pygame.locals import *
pygame.init()
clock = pygame.time.Clock
circle_x = 0
circle_y = 0
circle_direction_x = 1
circle_direction_y = 1
screen_width = 600
screen_height = 700
screen = pygame.display.set_mode((screen_width,screen_height))
pygame.display.set_caption('PONG')
while True:
screen.fill((255,255,255))
pygame.draw.circle(screen, (0,0,255), (circle_x,circle_y), 15, 1)
circle_x = circle_x + circle_direction_x
if circle_x >= 0:
circle_direction_x = 1
if circle_x >= screen_width:
circle_direction_x = -1
for event in pygame.event.get():
if event.type == pygame.QUIT:
pygame.quit()
sys.exit()
elif event.type == KEYDOWN:
if event.key == K_ESCAPE:
pygame.quit()
sys.exit()
if event.type == KEYDOWN:
if event.key == K_DOWN:
circle_y += 1
pygame.display.flip()
clock.tick(60)
@lucid blade @left flower im so curious on whats going on in the screen, is there anyway i can see your screens ?
@lucid blade @left flower sure, is he sharing his screen ?
@lucid blade good luck
@left flower i cant view ur screen if u are sharing it 💔
@left flower im new, as a CS student in uni 👍🏼
@left flower yeah i can tell
, big respect to u tho !
(ModelItem1(server=29, sources=[Source(file='https://t-eu-1.artdesigncdn.net/_v10/6ddf426441e1dd979d0ea844098c7a5602785fc5fa9481876b7829bdcf24368fb9b5886d687c489b67a6238ab290b7e1180cfdfdb59f91ec3810d3f013d4e2348e1621aa3496dc7c3b9afd61533d76144c7a1814b28cd8f3e913dabc1a919e58ee69e5a4061575f9434759114f526b8a6352c405f830d1d1f5afc766715474da/playlist.m3u8', type='hls')], tracks=[Track(file='https://cc.2cdns.com/8c/3b/8c3ba5f02da895f25e8b25526ec4c26d/8c3ba5f02da895f25e8b25526ec4c26d.vtt', default=True, kind='captions', label='English 1'), Track(file='https://cc.2cdns.com/74/37/743786ea5d2ced634645cf3ee5cf07d2/743786ea5d2ced634645cf3ee5cf07d2.vtt', default=False, kind='captions', label='English 2'), Track(file='https://prev.2cdns.com/_m_preview/8f/8fbfb9e0777d4fad2139afb91684673b/thumbnails/sprite.vtt', default=False, kind='thumbnails', label=None)]), ModelItem2(server=18, sources=[Source(file='https://b-g-eu-5.feetcdn.com:2223/v3-hls-playback/6ddf426441e1dd979d0ea844098c7a5602785fc5fa9481876b7829bdcf24368fb9b5886d687c489b67a6238ab290b7e13d16f09fcc9ab569f976e8b72051340215b61524fcbe1376a7f09e7560f3eaf8a95e7e88b50d7b9af619b9b2c816276e46ca3c701133bfd28c9fa1644312f1550dae85b997d1fc6741e03986435adaf9259363c387278e1dc6fa7926b864234bb9274e2801ee367c3b04f486e5d6d5d1/playlist.m3u8', type='hls')], tracks=[Track(file='https://cc.2cdns.com/8c/3b/8c3ba5f02da895f25e8b25526ec4c26d/8c3ba5f02da895f25e8b25526ec4c26d.vtt', default=True, kind='captions', label='English 1'), Track(file='https://cc.2cdns.com/74/37/743786ea5d2ced634645cf3ee5cf07d2/743786ea5d2ced634645cf3ee5cf07d2.vtt', default=False, kind='captions', label='English 2'), Track(file='https://prev.2cdns.com/_m_preview/8f/8fbfb9e0777d4fad2139afb91684673b/thumbnails/sprite.vtt', default=False, kind='thumbnails', label=None)]))```
class Source(BaseModel):
file: str
type: str
class Track(BaseModel):
file: str
default: Optional[bool] = False
kind: Optional[str] = None
label: Optional[str] = None
class ModelItem1(BaseModel):
server: int
sources: List[Source]
tracks: List[Track]
class ModelItem2(BaseModel):
server: int
sources: List[Source]
tracks: List[Track]
class Original(BaseModel):
file: str
label: str
type: str
class Result(BaseModel):
Original: Original
class ModelItem3(BaseModel):
message: str
result: Result
status: str
token: str
type: str
@dark topaz 👋
import requests
api_key = 'your_api_key_here'
city = 'New York'
url = f'http://api.openweathermap.org/data/2.5/weather?q={city}&appid={api_key}'
response = requests.get(url)
weather_data = response.json()
print(f'Temperature in {city}: {weather_data["main"]["temp"]} K')```
@left flower Stop following me. Do not talk to me.
!e
code
why am i muted?
!voice
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
thanks
python``import discord
from discord.ext import commands
client = commands.Bot(command_prefix='!', intents=discord.Intents.all())
@client.command()
async def helpme(ctx):
embed = discord.Embed(title="Help", description="List of available commands:", color=0x00ff00)
embed.add_field(name="!greet", value="Greets the user")
embed.add_field(name="!ping", value="Returns the bot's latency")
await ctx.send(embed=embed)
@client.command()
async def greet(ctx):
await ctx.send(f"Hello, {ctx.author.mention}!")
@client.command()
async def ping(ctx):
await ctx.send(f"Pong! {round(client.latency * 1000)}ms")
client.run('your-bot-token')
``
got it 👍
from discord.ext import commands
client = commands.Bot(command_prefix=".",intents=discord.Intents.all())
@client.event
async def on_ready():
print("Bot is Activated!")
@client.event
async def on_message(message):
if message.author == client.user:
return
if message.content.startswith('!help'):
embed = discord.Embed(title="Help", description="List of available commands:", color=0x00ff00)
embed.add_field(name="!greet", value="Greets the user")
embed.add_field(name="!ping", value="Returns the bot's latency")
await ctx.send(embed=embed)
```
@client.command()
async def helpme(ctx):
embed = discord.Embed(title="Help", description="List of available commands:", color=0x00ff00)
embed.add_field(name="!greet", value="Greets the user")
embed.add_field(name="!ping", value="Returns the bot's latency")
await ctx.send(embed=embed)
no for
the command
to work
import discord
from discord.ext import commands
client = commands.Bot(command_prefix=".",intents=discord.Intents.all())
@client.event
async def on_ready():
print("Bot is Activated!")
@client.command
async def helpme(ctx):
embed = discord.Embed(title="Help", description="List of available commands:", color=0x00ff00)
embed.add_field(name="!greet", value="Greets the user")
embed.add_field(name="!ping", value="Returns the bot's latency")
await ctx.send(embed=embed)
Shard ID None has connected to Gateway (Session ID: 4ad46613a5831aff807ccc064851f994).
Bot is Activated!
2023-03-08 16:38:58 ERROR discord.ext.commands.bot Ignoring exception in command None
discord.ext.commands.errors.CommandNotFound: Command "helpme" is not found
import discord
from discord.ext import commands
TOKEN = "PUT YOUR TOKEN HERE"
client = commands.Bot(command_prefix='!', intents=discord.Intents.all())
@client.command()
async def helpme(ctx):
embed = discord.Embed(title="Help", description="List of available commands:", color=0x00ff00)
embed.add_field(name="!greet", value="Greets the user")
embed.add_field(name="!ping", value="Returns the bot's latency")
await ctx.send(embed=embed)
client.run('your-bot-token')
import discord
from discord.ext import commands
TOKEN = "PUT YOUR TOKEN HERE"
client = commands.Bot(command_prefix='!', intents=discord.Intents.all())
@client.command()
async def helpme(ctx):
embed = discord.Embed(title="Help", description="List of available commands:", color=0x00ff00)
embed.add_field(name="!greet", value="Greets the user")
embed.add_field(name="!ping", value="Returns the bot's latency")
await ctx.send(embed=embed)
client.run('your-bot-token')
!e py print(format(9001, 'b'))
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
10001100101001
!e py print(bin(9001))
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
0b10001100101001
!e py print(f'{9001:b}')
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
10001100101001
@modest relic 👋
hey can u help me about my question?
Let me see if I can
Find the sum of all the multiples of 3 or 5 between (0,100]
Find the average of all values between [n,m] where n and m values are entered by the user
Im beginner in Python
total = 0
for num in range(1, 101):
if num % 3 == 0 or num % 5 == 0:
total += num
print("The sum of all multiples of 3 or 5 between 0 and 100 is:", total)
n = int(input("Enter the value of n: "))
m = int(input("Enter the value of m: "))
total = 0
count = 0
for num in range(n, m+1):
total += num
count += 1
if count == 0:
print("No values between", n, "and", m)
else:
avg = total / count
print("The average of all values between", n, "and", m, "is:", avg)
If u re beginner try to understand logic first. I prefer u hyperskill.org
Just morning here also my daughters here and making noise 🙂
Pleasure friend
hello
i'm not sure whether you remember me
but if i'm not wrong you're the person who specialize in images with respect to python right ?
i'm the person who spammed and got myself blocked back then
like 1,2,3
spammed
hello @somber heath 👋🏻
by the way i need to make a paper presentation (with a help of ppt) on the topic "creating images from text "
have any recommendations to concise it under a 15 slide and the topic to cover on ?
i thought I'll brief about the existing technology and talk about DALL E 2
it's just for my college work
i totally i agree
yea that's what I mean
yea the thing is there is a lot of domains included in it
i'm not sure how should i go about it
like the time allotted is 7-10 mins
to talk about it
and how shall i address this to the room of people who aren't aware of it
and could you repeat what you just said
like you tell them what you tell them.....?
Tell people what you're going to tell them. Tell them. Tell them what you've told them.
yea totally agree
need to make the ppt and figure out what i'm goona talk about it in a concise manner
and practice the rhythm as you said
@somber heath did you say you making chai at the moment ?
you go with water or milk as the medium ?
@somber heath true that
For Chai Marsala? Milk, please.
the real cook comes around when you remake great dishes using leftovers
Though I had to improvise for this one because we're running low on milk.
like adding eggs to the curry
and the mixture of it onto rice or a bread or something
@north rock👋
hi
!e py result = print("Hello, world.") print(result)
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
001 | Hello, world.
002 | None
!e ```py
def func():
return 5
result = func()
print(result)```
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
5
print(func())``````py
print(5)```
A call to a function, method or class is "replaced" by the object given to return of that function, method or class.
All such callables that complete, return.
If nothing specific is given to be returned from a function or method, the object None is returned.
Corey Schafer, YouTuber, playlists.
!resources
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
!e ```py
class MyClass:
pass
instance_a = MyClass()
instance_b = MyClass()
print(instance_a)
print(instance_b)
print(type(instance_a))
print(type(instance_b))```
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
001 | <__main__.MyClass object at 0x7f13d8a78090>
002 | <__main__.MyClass object at 0x7f13d8a780d0>
003 | <class '__main__.MyClass'>
004 | <class '__main__.MyClass'>
!e ```py
class MyClass:
def init(self):
print("Hello, world.")
instance = MyClass()```
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
Hello, world.
== vs is
!e py a = [] b = [] c = a print(a == b) #True. The list referred to by the a variable is equal to the list referred to by the b variable. They are both empty lists. print(a is b) #False. The list referred to by the a variable is not the same list as referred to by the b variable. They are not the same list. print(a is c) #True. The a and c variables both point to the one, same list.
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
001 | True
002 | False
003 | True
Equality vs identity.
!e ```py
class MyClass:
def method(self):
print("Hello, world.")
instance = MyClass()
instance.method()```
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
Hello, world.
!e ```py
class MyClass:
def method(self, value):
print(value)
instance = MyClass()
instance.method("Hello, world.")```
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
Hello, world.
Hii Guys!! WHat r u doing!!
!e ```py
class MyClass:
def method(self, value):
print(self is value)
instance_a = MyClass()
instance_b = MyClass()
instance_a.method(instance_a)
instance_a.method(instance_b)```
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
001 | True
002 | False
"self is the object that you're calling on " typing it to revert back
!e py a = 'abc'.upper() b = str.upper('abc') print(a) print(b)
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
001 | ABC
002 | ABC
Rust gives me feel of c++
@tranquil raven👋
what're you trying to do? @midnight agate
lmao
@vernal lance👋
muted
!voice
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
@midnight agate
you might want some other theme(?)
try solarized or something ig
@whole bear👋
@midnight agate
Hi
@slow kiln👋
!voice @gilded kettle
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
👋🏼
🙌 hi
Hi
hii
what's up?
Do you guys how can I get permission to speak on this channel?
Yes please
How are you amirreza
!voice
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
Why the Government Loves the Lottery
Go to our sponsor https://betterhelp.com/johnnyharris for 10% off your first month of therapy with BetterHelp and get matched with a therapist who will listen and help.
Seeing the billion dollar jackpots pop up all over the news had me wondering: why does the government run the lottery and what do they do wi...
Can python use morse code
@thin drift https://pypi.org/project/morse-code/
@manic canopy👋
Greetings fellas.
Hey @lucid blade!
You either uploaded a .txt file or entered a message that was too long. Please use our paste bin instead.
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
!e py trans = str.maketrans({"a": "AAA", "b": "BBB"}) text = "black abacuses" result = text.translate(trans) print(result)
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
BBBlAAAck AAABBBAAAcuses
@narrow mango👋
I DO NOT OWN ANY RIGHTS TO ANYTHING I UPLOAD!
Like me on Facebook?
https://www.facebook.com/pages/ReD-Rocks/309226776213
Follow me on Twitter?
https://twitter.com/RedRocks024
Check out (AND SUBSCRIBE)to my main YouTube Channel HERE!
https://www.youtube.com/user/cliffjumper1984
Retro video games, Cars, Music, comedy, and more!!!
Space Battleship Yamato (Japanese: 宇宙戦艦ヤマト, Hepburn: Uchū Senkan Yamato, also called Cosmoship Yamato and Star Blazers) is a Japanese science fiction anime series produced and written by Yoshinobu Nishizaki, directed by manga artist Leiji Matsumoto, and produced by Academy Productions. The series aired in Yomiuri TV from October 6, 1974 to March...
Teknoman: Created by Ippei Kuri, Kenji Yoshida, Tatsuo Yoshida. With Bryan Cranston, Michael Forest, Barbara Goodson, Stephen Lee. Tekkaman Blade takes place in the year 2300 AD. On a certain moment, the Radam attack earth. A few months after the beginning of the invasion, a tekkaman appears, he calls himself Blade and with the help of the Space...
Samurai Pizza Cats is an American animated television adaptation of the anime series Kyatto Ninden Teyandee (Cat Ninja Legend Teyandee), produced by Tatsunoko Productions and Sotsu Agency. The series originally aired in Japan on TV Tokyo from February 1, 1990 to February 12, 1991 for a total of 54 episodes. Saban Entertainment picked up the Nort...
Stable Diffusio Online Demo. FREE forever. Create beautiful art using stable diffusion ONLINE
Stable Diffusio Online Demo. FREE forever. Create beautiful art using stable diffusion ONLINE
!stream 760820946612518922
✅ @formal ember can now stream until <t:1678286645:f>.
@formal ember r-strings
oh, you have weird highlighting
this syntax highlighting is off
Hello
@tawny siren@old junco👋
@whole bear you can get coursera courses for free
How many courses do you guys usually take on at a time?
now that Rust almost allows proper Monads, I wonder when Python typing will provide something similar
@whole bear👋
hi
Hello 8080, Hem, Opal, ProgrammerX, SMR, AF, Maro
Ah checked your videos 8080, brilliant video editing for ~11 years ago 👍
Coinbase launches wallet API to help integrate Web 2.0 devs into web3 world
isn't web3 already dead?
waiting for web 11
web3 is literally google ouath that integrates with an extension
?
web3 is a buzzword for blockchain-based tech, iirc
"decentralised" but actually (mostly) not
i mean thats my experience with it
@inland gorge 👋
i feel like they made web3 seem way more complicated and advanced that it was
ideologically, it shouldn't involve any google auth at all
i dont get this weird voiceverify thing lol
hy
@old junco We're usually paying attention in here.
im not saying it involves - im saying its like
@somber heath i think i know you . do u recall python sucks and so do i ?
yessss
it was 3ish years ago
right now web3 experience is quite cursed
oh my cant beleive t . i was very active with a different id which is delted now but lmao id run into you and also recall u like dat
hahah
Ethereum is pretty much the majority of "traffic" there
fucking hell
its been a while
also ik mrhemlock too
wtf is this
never changed
💀
@somber heath is there also still a min time spent in vc requirement ?
hmm got it
F
@pure elk 👋
hows it that i still stand on the same level of python as i was like 2 years ago lol
my school had a weakass numpy dataframe and python matplotlib so i learned that in new
i doubt its of any use but wtv
it got unlocked
im more into cyber sec stuff tho. i actually look forward to learning like web scraping and bots stuff in a week once my exams are over
not that data science geek
the main thing nice about those voice chats is being able to keep the voice up without having to tab over. but yea visability and/or having two is annoying/confusing.
mobile sucks for everything
web scrapping is very tedious
totally Opal.
I think it's odd how many people quickly shut down learning/understanding multiple things
i had to scrape thousands of electronic products for "Finding the best price". Getting the image, title, desc, price, price by choice, price by multiplechoice, rating based of reviews, etc...
its not fun
oh yeh def get ur point
and yk the worst thing is when sites generate their class and id tags
i made a few ez pz scripts over summer like changing mac adress or network scaneer or like self replicating virus
stuff like dat
it gave me kick
1000%
me no hacker sir me too noob but yeh i do get paranoid sometimes
paranoid by definition is when your fear is unreasonable.
I use to think I was paranoid, then I found out many of the possibilities and realized I was totally reasonable for fearing that kinda stuff lol.
yessir ppl often contest my ill make and ill learn the language as i make approach but its my method so eh
ppl are trash anyways
💅
lol, so true
100%
yeh, homelabs and such are great
Hello magicalgirl, rabbit, pynoob
It’s not that common
ive only had red team experience coz yk hey only teach to break in in the online courses lol . plus most of the practice ive done is on remote machines(intended for practice) idk if yk VULNHUB or HTB
but its all very montonous or smth idk . there are 10 or 15 sets of ways u can get the machine so eh
@ocean harbor 👋
sir ive tried enough ctfs to know im too noob at it . i did google ctf this year i sucked too hard 0 points . ik about pico ctf tho
CMU organizes it
remove one space from line 68 before print(...)
ohh thanks
oh i see . i liked doing beginner portion of google ctf it had all these logic circuit things which were immediate love
tracing back 1s and 0s was fun
Best thing to learn for InfoSec is writing
i was while back but nothing really went on there except movie nights smh
shoot, I've only been on the 2600 irc way back, what's their discord?
I hadn't used discord in a long time, then the last 3 years or so I've been using it alot
oh i hosted minecraft server for 3 days a while back. had to rip off alot of settings from router but did it
I loved skype but it did have issues.
had it on psp, vita, phone and of course pc.
longest dnd campaign i'd ever been a part of was on skype
anyways ill leave now cya later
take care
also @somber heath do u give life advices as well or just code kekw
yeah, I liked that
It does tend to happen.
lmao
People ask me stuff.
ppl ask experienced ppl
i mean atleast they dont sell your info
hello
Today, I'll be showing you a quick Python project that you can work on to hone and practice your skills, while learning some new Python features!
💻 Start scanning your code with CodeSec by Contrast Security for free! https://bit.ly/3VLR0P0
💻 Master Blockchain and Web 3.0 development today by using BlockchainExpert: https://algoexpert.io/blockc...
i tried to do this project and i do exacly like him but my code
Squickbooks.
also it very much seems as if you hate pretty much all accoutning softwares
I don't know if I'm going to like pylint.
Lacerte Tax, Fixed Assets, ATB TenKey, TPS Time and Billing, QuickBooks, Sage.... I'm sure I'm missing more of them
Positive I am actually
Behind every Rickroll is a technology designed at the height of the Cold War to guarantee nuclear annihilation.
but it did die didn't it?
protonmail is nice
I like protonmail.
hotmail was my first and I am bumbed I can't access mine :c
@mortal burrow What issues are you running into with pylint?
fudge, I probably can't even recover that now but now I wanna try
ur mom's a test monkey
:'c
def identity(num):
"""This is my docstring."""
return num
probably gonna head out soon,
glad to meet you all and I'm excited to learn together!
no worries
crab makes more sense but I've heard both and they seem natural either way
no sweat
lol, yeh
also, coordinate ordering is y, x in some* contexts
(because yth row, xth column, with indexing being rows-first)
* PIL.Image.fromarray
in images it's usually row-by-row
(the way they're stored in memory)
so, array[y] corresponds to something that would be a continuous piece of data
unlike array[:, x]
although with numpy you can always just transpose
which is O(1) given that it doesn't copy/move data
!voiceverify
Radlink's latest AI-enabled Pre-Operative Templating Software for Orthopedic Surgery. Featuring a newly redesigned user interface and fully automated workflow, OrthoPlan 2.0 provides orthopedic surgeons with a streamlined surgical planning tool capable of analyzing key measurements, selecting the correct implant size, placing the implant automa...
hemmy want to hear something funny..
22 months* without an adequate sleep schedule 👍
* so far
you mean fully inside the browser, like via wasm?
yes with the javascript on the node
node.js?
if you're running node.js, that'd imply you can run code server-side, so you should probably run python server-side too
(can't really see why running python in browser would be beneficial enough to bother with wasm)
I dont have server. I'm trying to run this on the github pages
http://pvseniors.org
These videos are produced by Peninsula Seniors volunteers Betty and Jarel Wheaton in Rancho Palos Verdes, California. They have produced over 300 videos/documentaries for local cable TV channels and YouTube. Key topics include aviation history, car shows, classic cars, museums, general interest, and experiences from our ve...
On July 19, 1989, United Airlines Flight 232 was en route to Chicago when a mechanical failure caused the plane to become all but uncontrollable. In this unsurvivable situation, the flight crew saved more than half of those onboard. How did they do it?
Flight crews and software teams actually have a lot in common, and there’s much we can learn ...
Join us for our next conference: https://goo.gl/B2bqQ6
Long before Agile and Lean became buzzwords, a scrappy group of aerospace engineers at Lockheed's Skunk Works were using similar practices to produce some of the most amazing aircraft ever built. The famous U-2 spy plane, the SR-71 Blackbird, and the F-117A Stealth Fighter are among the incr...
Is there context to this?
Hermeus is building the world's fastest commercial aircraft. And we got to tour their hypersonic flight lab.
Subscribe to Freethink on YouTube ► https://freeth.ink/youtube-subscribe
Watch the Challengers playlist ► https://youtube.com/playlist?list=PLXthoedLVIdKeeuwpDPSyHSC54obntRxB
The aircraft startup Hermeus is aiming to do something unpre...
A rotating detonation engine (RDE) is an engine using a form of pressure gain combustion, where one or more detonations continuously travel around an annular channel. Computational simulations and experimental results have shown that the RDE has potential in transport and other applications.In detonative combustion, the results expand at superso...
Hi Internet stranger!
Welcome to my Channel! This is the start of hopefully a loooong career of entertaining make videos. Though this channel is still fairly new I have been on Youtube for a long time. My older channel is "Foam and tape" if you want to go check it out!
Back on Track, This channel is more of a kickstart to where I want to be a...
were talking about rc stuff and people that make quality oc
and they're great independent creators
original content
Visit https://SimpliSafe.com/rctestflight to learn more and to get at least 30% off your SimpliSafe security system!
1st Banana Slug video: https://youtu.be/P70vn8QD9wA
2nd Banana Slug Video: https://youtu.be/8zetRlliUO4
Learn more about Ardurover: https://ardupilot.org/rover/docs/gettit.html
Support rctestflight: https://www.patreon.com/dani...
SimpliSafe is award-winning home security that keeps your home safe around the clock. It’s really reliable, easy to use, and there are no contracts. Visit https://simplisafe.com/rctestflight to get a special holiday offer!
Flying the Solar Plane V4 over 100 miles and following it in the car.
Support this channel: https://www.patreon.com/daniel...
Good Luck, Have Fun (GLHF) is Relativity Space’s first mission taking off from Launch Complex 16 (LC-16) at the Cape Canaveral Space Force Station, USA. This launch will be the first 3D printed rocket to ever take to the skies. Since this is a test flight for the company to prove Terran 1’s capabilities there’s only a small 3D printed metal plug...
@whole bear If you're wondering why you can't talk, check out the #voice-verification channel. That'll tell you what you need to know about the voice gate
I know, I know
No worries!
Force of habit to mention it
For sure
uwustafa @lavish rover
I'm administrative support at an accounting firm
Mostly IT and tax/payroll delivery
Might be, but all I need is simple 2D, so this felt less intimidating to me
Not for hosting it online
And the JS game frameworks are..
A hassle
I'm just happy being babied
And honestly, with how powerful the new version of Godot is
I think I'll be happy
Very true
Slowly
Unreal and Unity dominate the market, so it's going to be more work
I'm sure you can wrap those engines with Python or augment it with scripting
But honestly, GDScript is more or less Python anyway
Example:
func _process(delta):
var velocity = Vector2.ZERO # The player's movement vector.
if Input.is_action_pressed("move_right"):
velocity.x += 1
if Input.is_action_pressed("move_left"):
velocity.x -= 1
if Input.is_action_pressed("move_down"):
velocity.y += 1
if Input.is_action_pressed("move_up"):
velocity.y -= 1
if velocity.length() > 0:
velocity = velocity.normalized() * speed
$AnimatedSprite2D.play()
else:
$AnimatedSprite2D.stop()
That's GDScript
They built it to be very Pythonic
Essentially
Rate of change
Or difference between two times
No idea
"Flying kitty"?
I think those mixes are made by people
Not auto gen
Probably then
I don't think that's a racist thing
More just bad tagging
I know what you mean
In relation to the VC convo
@raw carbon Sup brah
@raw carbon this you?
i preferred Seth
there there, we all have our days