#voice-chat-text-0
1 messages Β· Page 602 of 1
print(open('input.txt').readlines())
def fuel(mass):
christmas_fuel = []
for i in mass:
christmas_fuel.append(i // 3 - 2)
if 46916 in christmas_fuel:
print(sum(christmas_fuel))
fuel(mass)
I mean I don't know python, but I once created a system to open the files and read them.... In Python
so you wanna get the list
def function is great use it
Yeah that's important!
open('input.txt').readlines()
def fuel(mass):
christmas_fuel = []
for i in mass:
christmas_fuel.append(i // 3 - 2)
if 46916 in christmas_fuel:
print(sum(christmas_fuel))
fuel(mass)
f = open('input.txt', 'r')
def fuel(mass):
christmas_fuel = []
for i in mass:
christmas_fuel.append(i // 3 - 2)
if 46916 in christmas_fuel:
print(sum(christmas_fuel))
fuel(mass)
Great
@prisma stone dont go please
Hey. .
hello
What do you mean final goal? To complete the the advent code I guess
The 1st Day Exercise of the Advent Code.
Look in the #announcements
Got it
Well tell me the task of problem u r solving, as I can't find it..
@elder vapor??
yup
Nice
Well any problem in it??
fuel(mass)
I mean I never did python but problem is pretty simple
ya
Any help is just giving solution.
It just my output in my original does not give the exact answer I want
Im going to look into it a bit more
fuel(mass) is a problem
It's just that I wanna create a list out of this https://adventofcode.com/2019/day/1/input
If I can have help with that I can fix the rest
Have you used if statement
ooo return
What??
I never used Python , but it uses return statement that I that I know.....
Anyways now working??
I have used return statement
Nope
Great
f = open('input.txt', 'r')
def fuel(mass):
christmas_fuel = []
for i in mass:
christmas_fuel.append(i // 3 - 2)
if 46916 in christmas_fuel:
print(sum(christmas_fuel))
fuel(mass)
or this
f = open('input.txt', 'r')
def fuel(mass):
christmas_fuel = []
for i in mass:
christmas_fuel.append(i // 3 - 2)
if 46916 in christmas_fuel:
print(sum(christmas_fuel))
fuel(mass)
or
f = open('input.txt', 'r')
def fuel(mass):
christmas_fuel = []
for i in mass:
christmas_fuel.append(i // 3 - 2)
if 46916 in christmas_fuel:
print(sum(christmas_fuel))
fuel(mass)```
I mean what's this
The first one is the original one I made
input.txt
Well how u get inputs??
input.txt is the file name for https://adventofcode.com/2019/day/1/input
It says to log in which I can't sorry
why don't you use while loop
idk
we back baby
@leaden comet sorry
lol, weird place to reply
I came here for the first time and my English is a bit weak.
I try to follow the rules.
yep, that's okay, you're fine.
Hey
hi
@magic moon .aoc leaderboard
.aoc leaderboard
Sorry, but you may only use this command within #bot-commands, #sir-lancebot-playground, #ot0-psvmβs-eternal-disapproval, #ot1-perplexing-regexing, #ot2-never-nesterβs-nightmare, #414574275865870337, #517745814039166986.
Oh, for some reason I thought I was in #517745814039166986. My bad
"paladin": [paladin_emoji_id, paladin_id],
"warlock": [warlock_emoji_id, warlock_id],
"shaman": [shaman_emoji_id, shaman_id],
"rogue": [rogue_emoji_id, rogue_id],
"monk": [monk_emoji_id, monk_id],
"hunter": [hunter_emoji_id, hunter_id],
"druid": [druid_emoji_id, druid_id],
"dk": [dk_emoji_id, dk_id],
"dh": [dh_emoji_id, dh_id],
"mage": [mage_emoji_id, mage_id],
"warlock priest mage": [warlock_priest_mage_emoji_id],
"rogue monk druid dh": [rogue_monk_druid_dh_emoji_id],
"shaman hunter": [shaman_hunter_emoji_id],
"warrior paladin dk": [warrior_paladin_dk_emoji_id]
}
classes = input("enter classes please")
classes = classes.split(" ")
!e ```py
classes = "warlock mage priest"
classes = classes.split(" ")
print(classes)
@trim yacht :white_check_mark: Your eval job has completed with return code 0.
['warlock', 'mage', 'priest']
Hello
!e
Sorry, but you may only use this command within #bot-commands.
.bm test
.bm
what's going on here then
get in voice
just stuff. you know. π
I'm walking to work, unfortunately
listening
damn, shouldn't've forgotten my headphones
yeah.. I get the concept bisk
I got two machines.. each running nginx.. I'm practicing how to set up load balancer for their IPs
how do I size the load balancer..
yeah
ok.. I think I got it.. I'm gonna practice.. heavy docs is right..
what's a named port
where do I watch
I dont see anything
shouldnt you be sleeping
i can't see any link, to watch the stream
yo bisk
._.
C-
excellent graphics, have you considered doing this professionally
I'm calling the art police
yep.. got it
tell me something about sizing for load balancer.. does it matter at all
and is one enough..
for n machines
yeah for vms in a network
offloading?
thanks bisk
B+
im gonna study http load balancers now.. get some sleep man..
it'll help your drawing
(as in like defining http service, url maps, etc)
so you made the server banner, bisk
i am postermosteristic art
I was gone for two minutes
@whole bear Please don't ghost ping our members. If it was a mistake, then leave an explanation/apology rather than just deleting it.
tagged @whole bear on the wrong server sry
hello
Yes
oh ok well this discord is fucked up for me
Idk why
like I can hear u clearly
but I can't talk
if I leave and come back u you can hear me for a couple of sec and after that I start lag again
anyone know how to fix this problem?
@coral bay you know how to fix this problem?
@GamingBull#2048 W3school
@lime plaza W3school
corey schafer
@lime plaza you can learn it with me I am looking for a partner
let me know when you can I will leave because this shitty discord making me lag
@lime plaza I get 3$ per hour for data entry
they was scamming me
alright peace out guys
Me and my freind are making a discord bot anyone wants to participate?
that contraption traps mice.
haha, i remember having it but can't remember ever playing it. i probably did, just can't recall.
Yeah, I can still remember playing it, but I was quite young, probably
It's really a game for young kids
So, no surprise there
Solved it, it was the privacy config of windows, I hate it
I didn't heard what you wanted to say me, I wasn't with my headphones
oh its fine next time then sure
What are you streaming @errant helm ?
Doing homework rn, maybe later ^^
is that your game ?
is my mic working
hey there
hi
@gritty bison Not really the right kind of server for that kind of spam
hi
yo
ok
@dry dock
i know how to make hello world print thing: print("Hello World!")
me learn
:>
you two aren't in any voice channel that i can see. you might want to use an offtopic channel instead
...
https://askubuntu.com/questions/670648/what-does-rm-rf-do @opaque wraith
Hi After little fight with Kivy I have decide to rewrite my company inside render-manager in ... controlling progress and errors. It's even possible?
if cv2.waitKey(20) & 0xFF == ord('q'):
Just out of curiosity, what is it @opaque wraith? The design is pretty cool
it's a custom desktop enviroment plan picture
How did you made it?
its a plan so its just simple imaging software
no coding yet
i just want to have someone to help me teaching me GDscript
i heard its like python
and lookibg for someone to contribute with my project
but i dont know where to start like to me the files sync
idk if godot is really the best tool for it
i need some help on a text library program
i wrote this code but in the text file i made to store these copied strings they repeat
import pyperclip
lib = open('archive', 'r+')
pos = 0
insert = 0
while True:
insert = pyperclip.paste()
if lib.readline(pos) != insert:
lib.write('\n' + insert)
pos = pos + 1
!warn 549353294053507114 this is not your personal meme place.
:incoming_envelope: :ok_hand: applied warning to @whole bear.
!ban 549353294053507114 calling a member of staff gay after you just received an infraction only proves to me that you do not belong here. goodbye.
:incoming_envelope: :ok_hand: applied ban to @wet tartan permanently.
.>
woosh
if
I'm curious, is there any reason theres so many of you in voice chat?
Google cloud gives you 300 usd
sorry, not going to stick around, i though there was something happening about the jam, but seems unrelated, have fun!
Also for the guy with flask application, for development you can runn it also on loacl host
Pasting large amounts of code
If your code is too long to fit in a codeblock in discord, you can paste your code here:
https://paste.pydis.com/
After pasting your code, save it by clicking the floppy disk icon in the top right, or by typing ctrl + S. After doing that, the URL should change. Copy the URL and post it here so others can see it.
oooh, sorry
@gilded minnow you can write it here
They can tell
They could track you
There are different bot protections
For example Akamai or premiter x aka px cookie
Some websites also collect telemetry data like mouse movements etc
For example supreme
They have a bot protection called pooky
In python you only have lists
[]
{} can be a set or dict

!repl
Read-Eval-Print Loop
A REPL is an interactive language shell environment. It first reads one or more expressions entered by the user, evaluates it, yields the result, and prints it out to the user. It will then loop back to the read step.
To use python's REPL, execute the interpreter with no arguments. This will drop you into the interactive interpreter shell, print out some relevant information, and then prompt you with the primary prompt >>>. At this point it is waiting for your input.
Firstly you can start typing in some valid python expressions, pressing <return> to either bring you to the eval step, or prompting you with the secondary prompt ... (or no prompt at all depending on your environment), meaning your expression isn't yet terminated and it's waiting for more input. This is useful for code that requires multiple lines like loops, functions, and classes. If you reach the secondary prompt in a clause that can have an arbitrary amount of expressions, you can terminate it by pressing <return> on a blank line. In other words, for the last expression you write in the clause, <return> must be pressed twice in a row.
Alternatively, you can make use of the builtin help() function. help(thing) to get help on some thing object, or help() to start an interactive help session. This mode is extremely powerful, read the instructions when first entering the session to learn how to use it.
Lastly you can run your code with the -i flag to execute your code normally, but be dropped into the REPL once execution is finished, giving you access to all your global variables/functions in the REPL.
To exit either a help session, or normal REPL prompt, you must send an EOF signal to the prompt. In *nix systems, this is done with ctrl + D, and in windows systems it is ctrl + Z. You can also exit the normal REPL prompt with the dedicated functions exit() or quit().
Ty
!help
Alias
!aliases
Show configured aliases on the bot.
Big Brother
!bigbrother
Monitors users by relaying their messages to the Big Brother watch channel.
Bot
!echo <channel> <text>
Repeat the given message in either a specified channel or the current channel.
!embed <text>
Send the input within an embed to the current channel.
Clean
!clean
Commands for cleaning messages in channels.
!user
User Information
Created: 3 years, 9 months and 5 days ago
Profile: @dire folio
ID: 172395097705414656
Member Information
Joined: 1 year, 11 months and 23 days ago
Roles: <@&463658397560995840>, <@&352427296948486144>, <@&295488872404484098>, <@&587606783669829632>, <@&585529568383860737>, <@&267630620367257601>, <@&490216785547755530>, <@&267629731250176001>, <@&267628507062992896>
Infractions
Total: 2
Active: 0
!user @wooden quail
Actually, you might want to restrict people's code if you are trying to write expansive code
You need to ensure standardization persists
@dire folio
You have a library developer -> Front end developer
Library dude sometimes needs to make sure the developer dude formats their code in a certain way that allows for library expandability
Watch More Storyful Videos: https://www.youtube.com/watch?v=0EyGC0wODz0&list=PLtMSwy96r2CacKu7le1SvVB7ZSaaumKI0
It started with a vuvuzela, then a scream, and suddenly a seemingly quiet SΓ£o Paulo neighborhood erupted in deafening cheers as Brazil scored against Croatia in t...
"Speaker: Raymond Hettinger
Python's super() is well-designed and powerful, but it can be tricky to use if you don't know all the moves.
This talk offers clear, practical advice with real-world use cases on how to use super() effectively and not get tripped-up by common mis...
D inherits (b, c)
b inherits A
c inherits A
MRO is D-B-C-A
D.super -> B,
B.Super -> A
If all we had was b-a
B.super -> A
(<class '__main__.D'>, <class '__main__.B'>, <class '__main__.C'>, <class '__main__.A'>, <class 'object'>)
>>> class A():
... def __init__(self):
... self.name = 'sommersoft'
... def __repr__(self):
... return f'{self.name} says this is not a string.'
...
>>> foo = A()
>>> print(foo)
sommersoft says this is not a string.
>>>
π
class HelpMenu(menus.Menu):
def __init__(self):
super().__init__(timeout=10.0, delete_message_after=True)
so all this is doing is calling the init of menus.Menu and changing the timeout and delete_message_after of it
What if you have a red door and you want to change it's color to black?
Can you share the code file after the stream? @dire folio
smalahove```
class Door:
colour = 'brown'
def __init__(self, number, status):
self.number = number
self.status = status
@classmethod
def knock(cls):
print('Knock!')
@classmethod
def paint(cls, colour):
cls.colour = colour
def open(self):
self.status = 'open'
def close(self):
self.status = 'closed'
door1 = Door(1, 'closed')
door2 = Door(2, 'closed')
class SecurityDoor(Door):
colour = 'gray'
locked = True
def open(self):
if self.locked:
return
super().open()
def close(self):
super().close()
sdoor = SecurityDoor(1, 'closed')
Streaming Now on Disney+ β Sign Up at https://disneyplus.com/
Join the Muppets best sidekick, Beaker as he spreads his passion for the classics with his rendition of Beethoven's "Ode to Joy."
Subscribe for all new videos from The Muppets! βΊ http://www.youtube.com/subscri...
I want to write a software that reads books for my blind friend. I want to humanize this using artificial intelligence. What can you suggest to me? I have entry level knowledge of natural language processing. I will write the software for books written in Turkish. I couldn't find any software as I mentioned for the Turkish language.
this is a fairly difficult problem, do you already have a way to read turkish?
Yes, but I have no enough knowledge about this.
I continue to research on this subject.
so we're not starting with physical books right, (no need for OCR)
Yes.
you just need text to speech? turkish characters?
Yes but I try to make the software read any article like a human.
Sorry I can't speak English well
I hope I can express myself
oh no worries, everything makes sense. I just need to do a little research
You should make an infinity smart mirror
I will do more research on this subject. Thanks for your time @wraith ridge
@gilded rivet this should help to show that you're good without credentials
I cannot unmute myself ?
Server muted
your voice works when you use the discord mic test?
@soft vapor https://github.com/keithito/tacotron
I haven't had a chance to run it myself (still installing the dependencies) but seems really nice repository to create your own text-to-speech
yes but I'd have to search that as well lol, don't know it off the top of my head
Okay
This is still kinda old one
The recent models do more human voice ?
like it doesn't feel like a AI talking but more of human they have giving parameters such as pauses and everything
That would be kinda cool to try hands on
oh yea not sure, I haven't worked with text to speech models
sorry I'm not much help on this topic
What r u guys upto
If you want a soft introduction to statistics and statistical learning, this is an entry level book: http://faculty.marshall.usc.edu/gareth-james/ISL/
Thanks mang
A more advanced, but math-heavy, book is https://web.stanford.edu/~hastie/ElemStatLearn/
They share some of the authors and are generally considered a good combination
The former is a good introduction without being overly academic
Automate virtually anything with a collaborative robot arm from Universal Robots. From gluing and mounting to pick and place, and packaging, a robotic arm can streamline and optimise processes across your production operation.
Composer William Zeitler plays a glass armonica, invented by Benjamin Franklin in 1761. For more on this fascinating story read the full article here on the Toronto Star: http://on.thestar.com/2jmXp0E. Or read an excerpt of Joe Fiorito's article below:
Rare instrument makes ...
Say hello to FarmBot Express and Express XL, our most affordable FarmBots ever. Pre-order yours during the month of July to save $800 off MSRP. https://farm.bot
What is FarmBotβs Return on Investment? Dive into the economics of FarmBot to see how it compares to the average US grocery store Reading time: 8 minutes Many people think that having an expensive piece of farming equipment like FarmBot at your home will never pay for itsel...
Haha
Wow, busy voice channel today, haha
The jam ends on Sunday January 26 at 19:00 UTC. Changes made after the deadline will be reverted.
Where r u from @dire folio
Hey guys!
π
71.022427, 25.732023
we get depressed
Brrr
..
Must be so cold up here
I have never seen snow
good avatar name then π
π
Today in learn weather with bisk...
!ask
Asking good questions will yield a much higher chance of a quick response:
β’ Don't ask to ask your question, just go ahead and tell us your problem.
β’ Don't ask if anyone is knowledgeable in some area, filtering serves no purpose.
β’ Try to solve the problem on your own first, we're not going to write code for you.
β’ Show us the code you've tried and any errors or unexpected results it's giving.
β’ Be patient while we're helping you.
You can find a much more detailed explanation on our website.
what games do you guys play?
anyone tried war thunder?
yea
planes, tanks and ships
good night!
night!

Strong. Fast. Powerful.
Special thanks to Liam.
Featuring the top 2 Bulgarian cpm22 players, Nzr0 and HAL_9000
Called CPM22: A Buglarian Odyssey.
Part 1/2
- File Information
Resolution: 800x600 (full version) and 1280x720 (YT version)
FPS: 50
Length: 12:36
Size: 518mb
Code...
cya
later
it's nice to hear you're doing better @dire folio
π π
@chrome creek this is what i like to call a large bruh moment
@crystal fox that gives me quake vibes.
that's because it's quake, @north furnace
Q3 CPMA
the CPMA mod is closer to the fast paced nature of Q1 than Q3 is.
in fact it's actually faster than Q1 was in a lot of senses
it still has an active community of about ~200 people
There's an vs code extension for this @grave osprey
oops
@wraith ridge https://marketplace.visualstudio.com/items?itemName=VisualDevelopment.drpcvs2019
@grave osprey sorry about the ping
a bit shy of mic, it's going good, thanks for asking @grave osprey
sounds cool.
(don't forget the adult industry)
billions, more than google earns
peace super
pce
bye
omg. its superuser. hey π @main sleet
Hello
responses = {}
polling_active = True
while polling_active:
name = input("What's your name? ")
occupation = input("What do you do for a living? ")
response = input("If you could visit one place in the world, where "
"would you go? ")
responses[name] = {'occupation': occupation, 'response': response}
repeat = input("Receive a response from new entry? (y/n) ")
if repeat == 'n':
polling_active = False
print("\n")
for entry in responses:
print("\nName:",entry)
print("Occupation:",occupation)
print("Dream vacation:",response)
for entry in responses:
print(entry)
print(entry['occupation'])
for entry in responses:
print("\nName:",entry)
print("Occupation:",responses[entry]['occupation'])
print("Dream vacation:",responses[entry]['response'])
for state, capital in statesAndCapitals.items():
print(state, ":", capital)
dipping out
cool mate
!paste
Pasting large amounts of code
If your code is too long to fit in a codeblock in discord, you can paste your code here:
https://paste.pydis.com/
After pasting your code, save it by clicking the floppy disk icon in the top right, or by typing ctrl + S. After doing that, the URL should change. Copy the URL and post it here so others can see it.
wn = turtle.Screen
wn()
turtle.Screen()
wn = turtle.Screen()`
turtle.Screen()
paddle_a_up()
paddle_a_up
f(x) = xΒ²
def square(x):
return x * x
!resources
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
@elder crest hey
@grave osprey Hi
Hello.
hΓΌhΓΌ
Hello
hello
To help others lol
can u join?
was afk for a sec
Can anyone join?
If anyone knows how to start with machine learning (Neural nets and stuff like that), would you mind explaining to me how to get started in General? Thanks!
Hey I need some career advice. Anyone from india who went abroad to pursue higher studies in canada or actually anyone who is willing to give a little time. I'd really appreciate that.
You should ask #career-advice ^^
Okay thanks.
Hey
what r ya guys upto? @whole bear
ooh
Nothing much, just had dinner
Need to write docstrings for all methods now, for a PR
yep
Im working on https://github.com/python-discord/site/issues/178
I need to have doc strings on all methods before commiting or else the linter wont let me to haha
yea
This is my first issue for the site repo tho, I have been working on @viscid lagoon all this time
yea d bot
seasonalbot
the @wise cargo is mainly for moderation and useful stuff
like free command, tags, etc
@viscid lagoon (seasonalbot) is a bot that has features based on diff seasons
Hello. Now I got shy. LMAO
the name is @viscid lagoon insted of seasonalbot cuz its valentines month, haha
oh cool
these r fun projects, you should try these
oooh AI
there are plently of issues
Where are you from?
oh nice to meet you, Im from India
Ooh Tamil Nadu is close
I live in Bangalore
hi @whole bear
welcome π
see !resources in #bot-commands
tbh, idk which field to go for in IT sector so I chose python cuz i heard its a general prog lang
few
I still have plently of time tho, still in high school
So you work with lot of ML
cool
So you took part in the code jam
ooh the prev one was about GUIs
college=team projects=improve communication
U can prolly learn everything from youtube/udemy/or others
it does work but u guys cant hear me
which
I went from ubuntu mate -> ubuntu -> kubuntu -> ubuntu (cuz kubuntu dint work really well)
what?
i still cant talk but i want to ask questions
no
un-plug the mic and try to talk
use ur pc's microphones
and see if it works
if it dosen't then its windows messing up
Python is a great choice @whole bear
I heard something moro
!resources
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
@whole bear
youtube tuts
later on stop youtube tuts and try reading tutorials online, they take less time and you will enjoy it(I tend to find yt tutorials boring if they are long)
you wont get the latest python version on linux(ubuntu) pre-installed
you will get python2 and also python3.6
@whole bear you can ask in #career-advice
im trying to learn java.
I mean I learnt it in 9th and 10th but forgot most of it
thats nice
hey @whole bear
hi
I never look back into java until now
I started python in 11th
yea
in ICSE they do teach
lets stop that, lol
I myself suck in hindi
Ich bin ein Glenn
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
I'd better type until I get a new mic, haha
its a web framework

nop no framework front end
just html,css and js
node.js is javascript
we have something which can provide similar functionality
django, flask,etc
spring boot is popular i guess?
java backend web framework
can be done in kotlin also
i have no idea
I like IOT
so ML
But I dont like the technical part of IOT, like building the sensors, cuz I am not a fan of physics
you can go for electronics insted
nice
woah
good stuff
@whole bear the best way is project approach
do many projects
do discord bots, I learnt a lot from them
you learn a lot
nop
oh
noice
color
colour
colour
In this Python Object-Oriented Tutorial, we will begin our series by learning how to create and use classes within Python. Classes allow us to logically group our data and functions in a way that is easy to reuse and also easy to build upon if need be. Let's get started.
Pyth...
yep
hes too good
He is also in the community
even sentdex
nop
I always wanted to learn it from freecodecamp.org but never really put in effort
hey @twilit lagoon
noice
I always get emails for code wars
put ur code here and explain
Aaanndd.. Nope
lst = [j for i in set(word) then j = word.count(i) if j > 1]
Hun
!e
for x,y in enumerate(["hi","bye"]):
print(x,y)
Sorry, but you may only use this command within #bot-commands.
!e
a = ["a", "b", "c"]
for index, object in enumerate(a):
print(f"{index}, {object}")
@whole bear :white_check_mark: Your eval job has completed with return code 0.
001 | 0, a
002 | 1, b
003 | 2, c
for i in set(word):
j = word.count(i)
if j > 1:
lst.append(j)```
Lol
join @balmy nymph
!e ```python
t = (1, 1, 1)
print(t)
@whole bear :white_check_mark: Your eval job has completed with return code 0.
(1, 1, 1)
I can't, I'm not home
tuple does show dupes
:(
ahh
def main():
Sets doesn't show duplicates though
def my_func():
pass
if <condition>:
my_func()```
if 2 > 1:
main()
EDITED
ok
Hey @whole bear!
It looks like you tried to attach a file type that we do not allow. We currently allow the following file types: .3gp, .3g2, .avi, .bmp, .gif, .h264, .jpg, .jpeg, .m4v, .mkv, .mov, .mp4, .mpeg, .mpg, .png, .tiff, .wmv, .svg, .psd, .ai, .aep, .xcf, .mp3, .wav, .ogg, .md.
Feel free to ask in #community-meta if you think this is a mistake.
`
Pasting large amounts of code
If your code is too long to fit in a codeblock in discord, you can paste your code here:
https://paste.pydis.com/
After pasting your code, save it by clicking the floppy disk icon in the top right, or by typing ctrl + S. After doing that, the URL should change. Copy the URL and post it here so others can see it.
lst = [word.count(i) for i in set(word) if word.count(i) > 1]
y = paddle_b.ycor()
y += 40
paddle_b.sety(y)```
paddle_b_down():```
y = paddle_a.ycor()
y += -40
paddle_a.sety(y)```
y = paddle_b.ycor()
y += -40
paddle_b.sety(y)```
if paddle_b.ycor() > ball.ycor():
paddle_b_down()
Pasting large amounts of code
If your code is too long to fit in a codeblock in discord, you can paste your code here:
https://paste.pydis.com/
After pasting your code, save it by clicking the floppy disk icon in the top right, or by typing ctrl + S. After doing that, the URL should change. Copy the URL and post it here so others can see it.
You will need all those concepts if you wanna crack hard interviews(Like the ones in big tech companies, its never a waste of time)
y = paddle_a.ycor()
y += 40
paddle_a.sety(y)
def paddle_b_up():
y = paddle_b.ycor()
y += 40
paddle_b.sety(y)
def paddle_a_down():
y = paddle_a.ycor()
y += -40
paddle_a.sety(y)
def paddle_b_down():
y = paddle_b.ycor()
y += -40
paddle_b.sety(y)```
wn.onkeypress(paddle_a_up,"w")
wn.onkeypress(paddle_b_up,"o")
wn.onkeypress(paddle_a_down,"s")
wn.onkeypress(paddle_b_down,"l")```
paddle_b_down()
if paddle_b.ycor() < ball.ycor():
paddle_b_up() ```
brainfuck
The logistic map connects fluid convection, neuron firing, the Mandelbrot set and so much more. Fasthosts Techie Test competition is now closed! Learn more about Fasthosts here: https://www.fasthosts.co.uk/veritasium Code for interactives is available below...
Animations, cod...
paddle_a_down = lambda yeet : paddle_a.sety(paddle_a.ycor()-40)
def paddle_a_down:
f = lambda x: factorial(x)
from math import factorial as f
FUCk
n = [1,2,3,4,5]
print("{} is an {}".format('LightVading","AssHat"))
WTF
Noob= "LightVading"
print(f"{Noob} is n00b")
while not False:
print("LightVading is an Asshat")
!e
Sorry, but you may only use this command within #bot-commands.
set()
"abcdee"
lst = [j:=word.count(i) for i in set(word)]
list(set(x))
YEAH GO AWAY
output = [word.count(i) for i in set(word) if word.count(i) > 1]
for i in set(word):
j = word.count(i)
if j > 1: lst.append(j)```
lst = []
for i in set(word):
j = word.count(i)
if j > 1: lst.append(j)```
IM ANGRU
lst = []
for i in set(word):
j = word.count(i)
if j > 1: lst.append(j)
return lst
print(listPosition("word"))```
a = str(input("Enter the dumbass word"))
output = [word.count(i) for i in set(word) if word.count(i) > 1]
FUCKJOSIUHNF NOT OPTIMAL
:incoming_envelope: :ok_hand: applied mute to @shell dome until 2020-02-14 18:51 (9 minutes and 59 seconds) (reason: duplicates rule: sent 4 duplicated messages in 10s).
HAHAHA
import os.path t = 1 while os.path.isfile("ComboList" + str(t) + ".txt"): t += 1 newfile = open("ComboList" + str(t) + ".txt", "a") A = input("write the words(with a space between them): ") data = A.split() compelete_one = "" for x in data: compelete_one += x compelete_one = list(dict.fromkeys(compelete_one)) for x in compelete_one: for y in compelete_one: for t in compelete_one: for c in compelete_one: for m in compelete_one: for g in compelete_one: for p in compelete_one: for n in compelete_one: X = x + y + t + c + m + g + p + n newfile.write(X + "\n") print(X)
import os.path t = 1 with open("ComboList" + str(t) + ".txt", "a+") as newfile: A = input("write the words: ") data = A.split() compelete_one = "".join(data) compelete_one = list(dict.fromkeys(compelete_one)) for x in compelete_one: for y in compelete_one: for t in compelete_one: for c in compelete_one: for m in compelete_one: for g in compelete_one: for p in compelete_one: for n in compelete_one: X = x + y + t + c + m + g + p + n newfile.write(X + "\n") print(X)
NO
from itertools import permutations
t = 1
with open("ComboList" + str(t) + ".txt", "a+") as newfile:
A = input("write the words: ")
data = A.split()
for i in permutations(data):
newfile.write(i + "\n")```
THATS WHY YOU COMING TO HELL WITH ME
no please im still vergin
All the more better
SO COOL
hack the gibson
i cant count how many vaginas ur mom has
cool
8
:incoming_envelope: :ok_hand: applied mute to @shell dome until 2020-02-14 19:13 (9 minutes and 59 seconds) (reason: burst rule: sent 8 messages in 10s).
LOL
Please stop
Alright, it seems I'm going to have to start handing out mutes in here in general
lol no
!tempmute 546223641562710026 1d Yeah, let's NOT tell other users to "suck my ass". I hope to see a better attitude from you when you get back
:incoming_envelope: :ok_hand: applied mute to @static thicket until 2020-02-15 19:06 (23 hours and 59 minutes).
oh no
@rugged root Im sorry I just joined the server after reading the rules and we were having FUN
It shall not happen again I can assure you
You didn't read them very well I guess
!tempmute 221017995722489859 3d Where to even start. First, don't call other users "gay", don't yell at staff and tell them to get out for no particular reason, just clean up your attitude in general.
:incoming_envelope: :ok_hand: applied mute to @twilit lagoon until 2020-02-17 19:07 (2 days and 23 hours).
I was listetning at first
but they were all insulting
as in a joke
sorry about that
I thought they were actually friends
Moot point. This isn't the server for this kind of behavior
in my defense I havent insulted them
I was just listening and laughing
duly noted
thank you for the warning
!tempmute 546223641562710026 1d Let's not call other users noobs or asshats or anything like that. Fix your attitude before you come back.
:x: According to my records, this user already has a mute infraction. See infraction #5825.
damn no one is online on voice chat for code help :p
hemlock just served some beatdowns
@errant helm I'd like to join you but 1%. Are you going to be there for a while? I could join in 30 minutes or so :0
lol
:incoming_envelope: :ok_hand: applied mute to @quartz cedar until 2020-02-15 19:48 (9 minutes and 59 seconds) (reason: duplicates rule: sent 4 duplicated messages in 10s).
!unmute 100331707349086208
:incoming_envelope: :ok_hand: pardoned infraction mute for @quartz cedar.
lol
Thank you, but uhhh, how were those duplicates?
we have a pretty unforgiven spam filter @quartz cedar
I mean, none of the files had the same name lol.
well.. the message content for each image is empty
so is there anywhere i can post a picture without getting muted?
Ah, so send a message with each one?
so thats why it triggered
ohh
It got triggered faster than a mad feminist.
we have a fix for it on github
https://i.imgur.com/Wsdhlq5.png here's teh brown turtle man
@drowsy torrent lol
this is what comes up when you google turtle 3d graphics lol
@drowsy torrent why
@leaden comet sorry for the ping, but what was the book called?
Freakonomics
Danke
[]
{}
()
_ _
/
\ /
<>
/\/\/\ \/\/\/
Hey
Lmao
I need to go web mode
Discord please let me report this bug, yes.
Who did that
lmao
@ember glade Haha
No
Yo
peeps
I'm just listening in; I have to get dinner soon
hi
Ita help? <@&267629731250176001>
I would like to look into Kivy some time. I wish it had a way of making a more OS native look tho.
Watching how you do open source work and communicate on the repo is interesting. Ive never done it.
"Speaker: Eric Snow
Why come to yet another talk about CPython's GIL? [1] Sure, we'll spend a little time on what it is, who it affects (and doesn't), and how to work around it. However, what you want to come hear is what the future holds for the GIL.
We'll take most of th...
@dire folio Another one for your list 
ty
me too eivl!
well i just BSODed
fun times
my computer blue screen of deathed
love windows
You gotta love it
Eivl, what's that app?
Bruh cant i watch and talk at the same time
And also i cannot report this bug
noo
:(
@olive sentinel Oh, I wanted to work on that lmao, because iI worked on the error handler in the latest feature
Oh cool
I wanted to do that too
But
Idk lol
3 streams 
Lemon is like afk for 6 hours
Wth
Yoo you are all coding
I feel bad
I mean i can go live with my stupid web_api or the port sniffer with rust
@zealous wave What did you achieve so far?
What are you streaming guys?
Eivl is
, ves is
, gdude is 
hm I though it was kotlin
Yeah g is js and kotlin

Lemonade π

Oh wow, there are a lot of channels actually haha
You are in the blender server ves? 
!user
User Information
Created: 3 years, 10 months and 2 days ago
Profile: @dire folio
ID: 172395097705414656
Member Information
Joined: 2 years and 20 days ago
Roles: <@&542431903886606399>, <@&463658397560995840>, <@&352427296948486144>, <@&295488872404484098>, <@&585529568383860737>, <@&267630620367257601>, <@&490216785547755530>, <@&587606783669829632>, <@&267629731250176001>, <@&267628507062992896>
Infractions
Total: 2
Active: 0
Now you guys have to watch my stupid rust program
It went over to the dark side
Ves Savage
Yea haha
now it's 4 
_I read it as sausage _
π
Too many windows on your screen? Stop wasting your productivity. AquaSnap brings new easy and efficient ways to manage multiple applications, try it now!
That's not a sausage , but you will treat it like one π
This is all I have.
Oh wow
i3 is the best
The ram is kind of overkill for those cpu and GPU
I wish I could get it on my desktop
@tidal agate whacha doing
Nah, the RAM was very nice for when I needed it
I don't really use it a lot these days
but faulty wifi drivers on install keep killing my motivation
Hmm, is that really related to i3?
you keep deleting stuff 
Yeah lol
In the end i want to make line n-map cli
Or wireshark
But i need to learn
Ownerships are hard
I'm very sad that I can't access my computer right now
I'd have spammed you with low level Linux madness haha
Ohhh
I should ask Mark for some help
wth is &[&str;3]
I mean I'd rather not attempt to install different kernals over and over again
NsJail docs are so bad
is & some kiind of pointer
@bold moat its a refrence (its not c++ idk how its called) and an array of size 3
Which every item is a string ref
ah a reference
Technically ves is working a big project







and 