#voice-chat-text-0
1 messages · Page 816 of 1
hi everyone !
hi

Python's mock module (unittest.mock in Python 3.3 and higher) allows you to observe parameters passed to functions.
what do you guys think of this keyboard ?:
https://www.zsa.io/moonlander/
An open-source keyboard for serious developers, gamers, and people who care deeply about their craft.
because i don't know if it is worth 360$
in fact i don't even ever tried ortholinear keyboards...
import unittest.mock as mock
def test_user_api():
inst = ProductionClass()
with mock.patch.object(inst, '_internal_api_one',
wraps=inst._internal_api_one) as monkey:
inst.user_api('foo', b=True)
monkey.assert_called_with('foo')
with mock.patch.object(inst, '_internal_api_two',
wraps=inst._internal_api_two) as monkey:
inst.user_api('bar', b=False)
monkey.assert_called_with('bar')
with mock.patch.object(inst, '_internal_api_two',
wraps=inst._internal_api_two) as monkey:
Here is the magic
with patch('__main__.Class') as MockClass:
... instance = MockClass.return_value
... instance.method.return_value = 'foo'
... assert Class() is instance
... assert Class().method() == 'foo'
tell me what this song is https://cdn.discordapp.com/attachments/821564790891479110/825945442793029662/video0_43.mp4
well, what sorta stuff do you find interesting
k, hang on
The Art Institute of Chicago's API provides JSON formatted data as a REST-style service that allows developers to explore and integrate the museum’s data into their projects. This API is the same tool that powers our website, our mobile app, and many other technologies in the museum.
!voice
Voice verification
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
(╯°□°)╯︵ ┻━┻
┻━┻
this is how you drop a table
(╯°□°)╯︵ ┻━┻
cry
Drop database.table;
use database;
give me BoBukds\
it's time for an existential crisis
What would the purpose of my life be if I were an egg?
that egg looks kinda high
hahahahaah @paper tendon
apparently one in four visitors to Stack Overflow copies code
according to Stack Overflow
omg XD
USE studentmanagement;
DROP TABLE AttendanceLog;
Msg 2809, Level 16, State 1, Line 2
The request for procedure 'AttendanceLog' failed because 'AttendanceLog' is a table object.
And how are you running this?
Does this help?
https://stackoverflow.com/questions/53584153/the-request-failed-for-procedure-because-it-is-a-table-object-error
response.json()
brb
def wrapper(k: int):
with open("file", "w") as f:
if k == 1:
f.write("line")
Looks like the aftermath of a meme-fest in this chat hahaha
how would i wrap that? like this?
@wrapper
@int
@lambda c:c()
class n:__index__=lambda s:1
cos then that would create an extensionless file file with the contents line if i wrapped 1
Interesting I'm also 13
Why?
At 6/7
Damn
Oh
I started last year
When I was 11
K
😉
alright man are you excited for learning python???
alright bro me 2
good luck in your journey
The new logo looks amazing.
cat server
@vivid palm minaaaa
I almost lost my pc #_#
i spent 4HR +
trying to fix it
finally I did x.x
it was painful
😆
As pranks go, this was superior to the previous one.
bro I was swatting at my monitor
same here xd
Hey @rugged root :)
Actually wait
This is #voice-chat-text-0 , when we're in #799641437645701151
That's not right >:(
Hey @vivid palm 👋
hi jake
How are you?
Ik haha me too
I am doing good, thank you.
.spookify
rip Gif's don't work 😦
Well is it just the fact the embeds don't support gif's?
I just realized we are in #voice-chat-text-1
haha
298 votes and 25 comments so far on Reddit
alias rm -rf to yeet
!e print(import("keyword").kwlist)
@tiny socket :white_check_mark: Your eval job has completed with return code 0.
['False', 'None', 'True', '__peg_parser__', 'and', 'as', 'assert', 'async', 'await', 'break', 'class', 'continue', 'def', 'del', 'elif', 'else', 'except', 'finally', 'for', 'from', 'global', 'if', 'import', 'in', 'is', 'lambda', 'nonlocal', 'not', 'or', 'pass', 'raise', 'return', 'try', 'while', 'with', 'yield']
4.1 Season 1 (2015)
4.2 Season 2 (2016)
4.3 Season 3 (2017)
4.4 Season 4 (2018)
4.5 Season 5 (2020)
🦶🏽
👀
sooo yum
what's a hop?
aah, it's one of those
yum
Scrumpy is a type of cider originating in the West of England, particularly Cornwall, Devon, Bristol, Dorset, Somerset, Wiltshire, Warwickshire, Gloucestershire and Herefordshire. Traditionally, the dialect term "scrumpy" was used to refer to what was otherwise called "rough", a harsh cider made from unselected apples.
Today the term is more of...

?

@sly gale What's your question?
Type it out if you don't mind, since there's already a conversation going on
@molten pewter Juice Sushi or Jew Sushi?
crabs
!stream 737321460435124285 1h
@flint hill
✅ @flint hill can now stream.
Gimme stream
What do you need it for
What all are you working on?
Python fresh doubts
"Fresh doubts"?
Yap
@eternal bough Hey sloth, just realized you were here
Whenever I have a question within python I will show screen regardless
I mean giving streaming permissions isn't permanent.
43v3r?
I mean I really don't understand what you're working on. "Fresh doubts" tells me nothing
it's like stale doubts but fresher :P
did someone break your heart @icy axle
Probably me
;(
Black Hole 👀
you broke your own heart 😦
https://paste.pythondiscord.com/adasanevov.apache is this considered and using recursion in a program
:(
🐈⬛ weee
Dropped it on the floor. Which would be into the black hole?
ouch, you want a new one?
def something():
print("recursion hell")
something()
something()```
ok i understand it now
!e ```py
def something():
something()
something()
@icy axle :x: Your eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "<string>", line 3, in <module>
003 | File "<string>", line 2, in something
004 | File "<string>", line 2, in something
005 | File "<string>", line 2, in something
006 | [Previous line repeated 996 more times]
007 | RecursionError: maximum recursion depth exceeded
it was a trap...
😅
unittest has posted an F in the chat
you used unittesting for only 1 test ?
!e
def recur_fibo(n):
if n <= 1:
return n
else:
return(recur_fibo(n-1) + recur_fibo(n-2))
nterms = 10
print("Bibonacci sequence:")
for i in range(nterms):
print(recur_fibo(i))
@rugged root :white_check_mark: Your eval job has completed with return code 0.
001 | Bibonacci sequence:
002 | 0
003 | 1
004 | 1
005 | 2
006 | 3
007 | 5
008 | 8
009 | 13
010 | 21
011 | 34
slightly more logical response
i just can't get enough
Thanks
!e x=lambda y:y(y);x(x)
@icy axle :x: Your eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "<string>", line 1, in <module>
003 | File "<string>", line 1, in <lambda>
004 | File "<string>", line 1, in <lambda>
005 | File "<string>", line 1, in <lambda>
006 | [Previous line repeated 996 more times]
007 | RecursionError: maximum recursion depth exceeded
These are multiples of 3
?
time to grow older
!e ```py
def x():x();
@icy axle :warning: Your eval job has completed with return code 0.
[No output]
!e ```py
def x():x();x()
@icy axle :warning: Your eval job has completed with return code 0.
[No output]
!e
py Def
@fresh python :x: Your eval job has completed with return code 1.
001 | File "<string>", line 1
002 | py Def
003 | ^
004 | SyntaxError: invalid syntax
Hhaha
Doesn't rust do the same thing
!e ```py
import garbage
garbage.disable()
!e ```py
import gc
gc.disable()
@icy axle :warning: Your eval job has completed with return code 0.
[No output]
!zen
Beautiful is better than ugly.
Explicit is better than implicit.
Simple is better than complex.
Complex is better than complicated.
Flat is better than nested.
Sparse is better than dense.
Readability counts.
Special cases aren't special enough to break the rules.
Although practicality beats purity.
Errors should never pass silently.
Unless explicitly silenced.
In the face of ambiguity, refuse the temptation to guess.
There should be one-- and preferably only one --obvious way to do it.
Although that way may not be obvious at first unless you're Dutch.
Now is better than never.
Although never is often better than right now.
If the implementation is hard to explain, it's a bad idea.
If the implementation is easy to explain, it may be a good idea.
Namespaces are one honking great idea -- let's do more of those!
!e import this
@humble geyser :white_check_mark: Your eval job has completed with return code 0.
001 | The Zen of Python, by Tim Peters
002 |
003 | Beautiful is better than ugly.
004 | Explicit is better than implicit.
005 | Simple is better than complex.
006 | Complex is better than complicated.
007 | Flat is better than nested.
008 | Sparse is better than dense.
009 | Readability counts.
010 | Special cases aren't special enough to break the rules.
011 | Although practicality beats purity.
... (truncated - too many lines)
Full output: https://paste.pythondiscord.com/ogahuhenuf.txt?noredirect
There should be one-- and preferably only one --obvious way to do it.
<script v=2>
Also, my markdown rendering thingie works now
Offloaded most of the work to markdown-it though because I'm lazy
That reminds me:
https://www.youtube.com/watch?v=H0Yirlo6WSU
hammie boye do thing
Music:
Alice DeeJay - Better Off Alone
Mia why are you biter
mina*
No
k
No,
I don't like competitive programming it's just not for me.
same here
I love it
I like to take my time when I code and make my code look nice but competitive programming is just making it work then submitting it.
Yeah
I am honestly just trying to expand my knowledge in python but don't know how so I am doing codewars lol
just try it
Yeah, I have been doing it for a bit. I am kata level 5
Anyone ever come accross this error while doing somthing with win32com?
com_error: (-2147352567, 'Exception occurred.', (0, 'Microsoft Excel', "Cannot access 'RegistrationsUpload220421.xlsx'.", 'xlmain11.chm', 0, -2146827284), None)
oh yellow zone
See like I am kinda getting out of the beginner stage of python and moving into intermediate/advanced but I have no clue where to start.
👍
!e
def total(number):
if number <= 1:
return number
return total(number - 1) + number
print(total(5))
did you find a way to explain recursion to me
@rugged root :white_check_mark: Your eval job has completed with return code 0.
15
total(5)
return total(5 - 1) + 5
total(4)
return total(4 - 1) + 4
total(3)
return total(3 - 1) + 3
total(2)
return total(2 - 1) + 2
total(1)
return 1
total(5) returns total(4) + 5
total(4) returns total(3) + 4
total(3) returns total(2) + 3
total(2) returns total(1) + 2
total(1) is 1
go on substituting the values backwards till you return the answer
def recur_fibo(n):
if n <= 1:
return n
else:
return(recur_fibo(n-1) + recur_fibo(n-2))
nterms = 10
print("Bibonacci sequence:")
for i in range(nterms):
print(recur_fibo(i))
return total(2 - 1) + 2
# turns into
return 1 + 2
You know what fibonacci numbers are right?
the next number is the sum of the previous 2 elements in the sequence
recursion is basically like a while loop
i understand it better now Thanks @rugged root , @humble geyser , @eternal bough for explaining recursion to me
No problem
Kskskskskssk
21 messages to go
How are you today @whole bear ?
pretty good! how about you?
I am alright just working on some stuff, thank you for asking!
You working on anything?
@stuck furnace hi
Impregnation resins are slightly viscous, organic liquids that are used in the forest products industry for wood modification. They typically contain formaldehyde and are composed of dimers and trimers of the main molecule. These can become polymer solutions upon curing inside of a wood substrate, imparting stabilizing properties. Impregnation o...
that's what the wood tastes of
add more cats to your name
Heyo
yup, optimizing my shitty code
lol, python code?
you can add manually right?
yup
not if the nickname has reached the length limit
What's it for? if you can talk about it.
the cat is not 3 character length?
An illustrated guide showing how oak barrels, used in winemaking, are made
Discord bot (:
Oh cool, I am working on a bot right now myself.
vatten = water
vätten ≈ goblin
Ich bin ein auslender und ich sprecht nicht gut deutsch
@rugged root how do you listen to music talk on discord read, discord messages and work at same time
Not very well honestly
The Dutch company J.W. Attema & Co started importing De Zwaluw brand matches from Sweden into the Netherlands in 1895. Dutch consumers have been buying De Zwaluw matches for over 100 years. De Zwaluw is a well-known brand of matches in the Netherlands and represents quality, warmth, light, tradition and safety.
I kind of phase in and out
oh!!
Our most-used matches are a brand called Redheads.
@vivid palm I know you know a lot about languages and stuff, so is Japanese the same as Chinese in the way as each symbol means a certain sound, or no?
hmm
hard to answer that ?
Mmmm, syllaberries
Apple Pencil but we will only make it for ipads
Shhhhhh
i heart my apple pen
I used my dad's it seems pretty nice
Yeah, I think it's great
Idk if that's true though can you only use them for ipads?
Yep
Like, they only work on ipads
no grip? :(
Is there any actual electronics in the pencil?
Yep
Surely not much different from "I forgot to refill my ink well"
Why do they even need electronics inside I only used it for like 2 minutes so I didn't really figure out all the features.
Looks sweet!
It's amazing how well you can do texture on an ipad.
I feel personally attacked, Jake
Idk how you can function with that lol.
Except add in multiple desktop-spaces for extra madness 🙃
Ooh, nice shading Vester.
Thanks LX
That looks awesome, do you do a lot of that realistic type drawings?
Way too little. I enjoy it, but only draw these things only like a couple of times a year
any recommendations for good offline games to buy
Damn, well they look good.
if we are already talking about art, here's my last job
if you r talking about art let's go
Minecraft
Klurio UF vann nyligen det Internationella Priset från Uddevalla Vänortskommitté, vilket uppmärksammades av Japans ambassadör — Shigeyuki Hiroki. Här är Klurios tacktal till ambassadören, på Japanska.
Tack till Kevin Ahrlind för hjälp med Japanskan!
i have that but offline part is not to good @dense ibex
look at that composition
the unfinished star symbolizes life and truth and meaning, amirite?
Oooh, that's cool
My claim to fame: I once played steel-pans while the queen walked past 😄
That looks really cool.
yeeeee
i was sad
when i did it
XD
then i figured i have to be sad
to do go things hahaha
then i quit art
Psychedelic/Trippy drawing are so cool to me.
XD
Xd
This is my sign, i actually came up with this when i was 7
any good offline game recommendation
Erm, sorry?
oh like the letter A? that's nice
the art bussin bro
That looks fantastic
thankss @icy axle
First letter from my last name
if i did BS in Uni, can i do BS again ? $_$
I did CS, I want to do mathmatics 😒
@rugged root it becomes you doing the work more
also when ppl join top uni they are already so good
Eh, kind of
@paper tendon , i agree with you that people who are less qualified and not willing to learn should drop the course. But, what @rugged root is saying that there's is not an encourgin enviroment
Academic status should have some value.
´•ᴥ•`
It's like the opposite of a polar bear in a snow storm
´•ᴥ•`
Naww
XDD
there are many points i agree with
espically about how to approach learning
and being courageous and allowing yourself to fail
and also the effect of "nobel prizes"
and how ppl can't except "normal" achievment after they already achieved something greater
-nods-
he cried when he retired
Understandable.
A whole lifetime of achievement being put on the shelf like a trophy. Looking at it longingly, remembering the glory days
From: Lec 11 | 8.01 Physics I: Classical Mechanics, Fall 1999 - Work - Kinetic Energy - Potential Energy - Conservative Forces - Conservation of Mechanical Energy - Newton's Law of Universal Gravitation
View the complete course: http://ocw.mit.edu/8-01F99
Instructor: Prof. Walter Lewin
@rugged root ^
Download and play AFK Arena for free ► https://bit.ly/3cvZ7dB
Use these bonus codes: BestRPG4BusyU and uf4shqjngq to get awesome rewards.
Become a Hacksmith member get exclusive perks, like watching our Lightsaber Test video right now! ►►► https://youtu.be/ey_EjSzKFWQ
You'll also get...
►Project design files (CAD)!
►Merch Discounts!
►Collabora...
A tokamak (; Russian: Токамáк) is a device which uses a powerful magnetic field to confine plasma in the shape of a torus. The tokamak is one of several types of magnetic confinement devices being developed to produce controlled thermonuclear fusion power. As of 2020, it is the leading candidate for a practical fusion reactor.Tokamaks were init...
Hey guys I was trying to make some really basic translator thing in python with some for loops and for some reason every time i wrote a designated letter if added a exactly 3 more of the same letters plus the translated string
def Jup1(words):
translation = ""
for letter in words:
if letter.lower() in "a":
translation = translation + "}«"
else:
translation = translation + letter
return translation
for letter2 in words:
if letter2 in "b":
translation = translation + "?wad"
else:
translation = translation + letter2
return translation
for letter3 in words:
if letter3.lower() in "c":
translation = translation + "p"
else:
translation = translation + letter3
return translation
for letter4 in words:
if letter4.lower() in "d":
translation = translation + "ª»"
else:
translation = translation + letter4
return translation
print(Jup1(input("Enter a phrase: ")))
now for somereason its just returning back the letter i input :( any one know the problem?
!p mehter marşı
Converting to "int" failed for parameter "pep_number".
!pep <pep_number>
Can also use: get_pep, p
Fetches information about a PEP and sends it to the channel.
!pep mehter marşı earrape
Converting to "int" failed for parameter "pep_number".
!pep <pep_number>
Can also use: get_pep, p
Fetches information about a PEP and sends it to the channel.
sa gülüm
no:)
ok
nice
now your'e my friend 🙂
what an interesting conversation
😂
interesting isn't it. 🙂
ye, leave no leaf unturned, mute urself too
Voice verification
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
nut
Oh this man. I love this guy. Follow him on Youtube.
yeah me too. Great professor
He is old and its good thing he survived the virus.
all right
I recall when the was last april staying at home as he is over 80 and still teaches. So anyway at least he recorded more videos on his channel now. 🙂
heyo
He recently hit 1 million subscribers
!help stream
!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 @dense ibex 1s
❌ @dense ibex can already stream.
Sadge 😦
!stream @flat sentinel 1M
@flat sentinel
✅ @flat sentinel can now stream.
like stuart little? lol
yes
so are we then
!stream @flat sentinel -10H
anyone tested for unsigned ints 😄
Could not convert "duration" into Duration or ISODateTime.
-10M is not a valid ISO-8601 datetime string
hehehe granade
pfff y'all doubting my code
!stream @cobalt fractal Nerd
Could not convert "duration" into Duration or ISODateTime.
Nerd is not a valid ISO-8601 datetime string
(I totally didn't mess up and actually give it to helpers for like 5 days)
!e ```py
import math
print("!stream @Marko#3496 " + str(math.abs(-10)) + "M")
@paper tendon :x: Your eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "<string>", line 1, in <module>
003 | NameError: name 'py' is not defined

!e ``` py
import math
print("!stream @Marko#3496 " + str(math.abs(-10)) + "M")
@paper tendon :x: Your eval job has completed with return code 1.
001 | File "<string>", line 1
002 | py
003 | IndentationError: unexpected indent
But can't you just say "it's just a prank"?
!e ```
import math
print("!stream @Marko#3496 " + str(math.abs(-10)) + "M")
@paper tendon :x: Your eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "<string>", line 2, in <module>
003 | AttributeError: module 'math' has no attribute 'abs'
it's a prank bro
abs is a built in?
oh jees
!e
print(abs(-234234))
@uncut meteor :white_check_mark: Your eval job has completed with return code 0.
234234
@paper tendon :white_check_mark: Your eval job has completed with return code 0.
!stream @Marko#3496 10M
✅ @paper tendon can now stream.
its not funny you are clickbaiting
imma have to tell modmail
Quackmail

hey @wise cargo
it has become sentient
how are you
When you start optimising dollar per ml of alcohol... you have a problem.
damn stupid "
my id 
@vivid palm not bitter anymore?
better now?
Crispy
It's called efficency
Mario : Come here, fishy fishy !
Sound Variations Community Discord : https://discord.gg/uWcnQsj
Made on Camtasia 2018 and Ableton Live 10 Lite.
Don't forget to leave a comment to propose a new Sound Variations video idea ! :D
A subscribe is good too.. you do what you want :)
Video Editing time for this video : 3 hours.
Upload : 2...
Eloctronic.

Sorry 😄
i hurt
why you muted griff 😦
Don't look at me 👀
LX how could you
.
I think he muted himself out of shame 🤔
Sounds right
sure
Letter Meaning
H Mobile Processors optimized for performance
HK Mobile Processors optimized for performance and overclockable
HQ Quad-core Mobile Processors optimized for high performance
K Unlocked Processors. Overclockable
S Special Edition
U Power-efficient Mobile Processors
Y Extremely low Powered Mobile Processors
T Moderately power-optimized Processors
G Desktop Processors including discrete/integrated graphics
F Desktop Processors excluding discrete/integrated graphics
E Embedded Processors
G1-G7 Graphics performance starting from Comet Lake (10th Gen) Processors.
that was good
AMDのCPUで焼肉しました。北海道産の黒毛和牛です。
この時代のCPUは簡単に死ななくていいですね。
今回の焼肉プレートはPhenom II X4 970 Black Editionです。
前使ってたPhenom II X4は焼け死にました。
CPU焼肉以外にも何かリクエストありましたら、コメントからどうぞ。
☆自作PCで色々遊んでます。よろしくお願いします!☆
☆My Channel☆
https://www.youtube.com/channel/MerryNightmare7710
☆My Outdoor Channel☆
https://www.youtube.com/channel/UCMmyxmuJBeE49M81EMtPcEA
☆My Twitter☆
ht...
Did the Fabreeze not work? 😄
Febreze*
free-breeze
Free Breeze he didn't do anything wrong
||
||
Don't move that laptop 1mm to the left... or it will be an ex-laptop floortop.
to the left... to the left...
I should have said that 
dude build a bear is the one
4 keyboards, one for each limb
||grif||

4 mice
I count 2
each USB 2.0 internal hub can support ~500 Mbits/s
so depends on how your USB hubs are split internally
🥺
Some mothboards have more than just 1 internal hub
So the USB ports on the back of your case go to different internal hubs
Yea, lemme just stick my hand in a running PC after walking on a carpet
dont forget to rub a balloon on yourself for good luck
lemme just send you a totally legit exe
!note @uncut meteor Seem's like a spammer 👀
:ok_hand: applied note to @uncut meteor.

ARM actually really massive
Proje Adı: Mors Alfabesi Çevirici
Proje Tanıtımı: Projemizde kullanıcı tarafından girilen metni mors alfabesine ya da mors alfabesi ile girilen metni anlayacağımız bir şekilde çeviren aynı zamanda sesli asistan kullanarak söylediklerimizi algılayan ve bunu mors alfabesine çeviren ve mors alfabesinin sesli bir şekilde geri dönüşünü yapan programı python programa dili ile yazılması.
🤔
please help
language Turkish
please ask your question in english
Project Name: Morse Alphabet Converter
Project Introduction: In our project, the program that translates the text entered by the user into Morse alphabet or the text entered with Morse alphabet in a way that we can understand, at the same time perceives what we say by using a voice assistant and translates it into Morse alphabet and returns the Morse alphabet in a voice way.
Use openCV to watch the green circle around fisher's pfp
what attempts have you made towards this project? without something to work with you’re not likely to receive any specific or targeted help
I just couldn't add the voice assistant
can I have some of the rice? My family hates rice and it makes me big big sad
save me from this hell
☹️
yo
can anyone help me with my code
can only concatenate str (not "bytes") to str
im doing some course but alot of it is python 2
All round of Track 1 (Limited deathmatch on a known map) of Visual Doom AI Competition @ CIG 2017, where AI agents can play using only raw visual input as the source of information.
Results: http://vizdoom.cs.put.edu.pl/competition-cig-2017/results
Details about the competition: http://vizdoom.cs.put.edu.pl/competition-cig-2017
Competition Goo...
can you share what code you have thus far
you can show your code, if you need help. You probably need to convert something to a string.
But we do not help with graded assignments here
we cant help with that here
why ?
Constructing agents with planning capabilities has long been one of the main
challenges in the pursuit of artificial intelligence. Tree-based planning
methods have enjoyed huge success in...
MuZero is a model-based reinforcement learning algorithm. It builds upon AlphaZero's search and search-based policy iteration algorithms, but incorporates a learned model into the training procedure.
The main idea of the algorithm is to predict those aspects of the future that are directly relevant for planning. The model receives the observat...
In 2016, we introduced AlphaGo, the first artificial intelligence (AI) program to defeat humans at the ancient game of Go. Two years later, its successor - AlphaZero - learned from scratch to master Go, chess and shogi. Now, in a paper in the journal Nature, we describe MuZero, a significant step forward in the pursuit of general-purpose algorit...
this type of program is mostly malicious, so we do not help with it here
@vivid palm If I write to you privately
!warn 165410132535148544 we are not going to argue semantics about our rules here. Packet sniffing is used for malicious purposes, so we will not offer help.
:incoming_envelope: :ok_hand: applied warning to @sharp hare.
!paste no DMs please
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.
They probably read it here: https://blog.codinghorror.com/the-cloud-is-just-someone-elses-computer/
But that's talking more about the business case for hosting your own computing resources.
I'm back
It's more about safety than efficiency.
NASA use a severely restricted version of C to prevent errors.
why not rust at this point
Jake, are you honoured to witness Griff's accomplishments?
awh
it broke
KJ's First Python Project
print("Hello World!")
# Return the image
return image
@uncut meteor
@echo crystal
❤️
thanks?
def add_two_things(x: int, y: int) -> int:
"""This adds two integers (x and y) together and returns their sum as an int"""
# Returns the sum of two integers
return sum((x, y)) # Is an integer
Software and technology has changed every aspect of the world we live in. At one extreme are the ‘mission critical’ applications - the code that runs our banks, our hospitals, our airports and phone networks. Then there’s the code we all use every day to browse the web, watch movies, create spreadsheets… not quite so critical, but still code tha...
!e
import typing as np
def do_the_thing(y: np.Any, y_Two: np.Any) -> np.Callable:
class theThing:
def __call__(self, *_: np.Any, **__: np.Any):
return self.__class__.__name__
return theThing
print(do_the_thing(23, "32")())
@uncut meteor :white_check_mark: Your eval job has completed with return code 0.
<__main__.do_the_thing.<locals>.theThing object at 0x7f14f33f5fd0>
LOL



Playing your hangman game Griff
formatting is fucked on the cooking page but Im too lazy to fix it
@proud turtle
we do not help with graded assigments
we can offer basic python guidance, but not homework help/answers

ok i kinda get it but i dont
🍋
just waiting on griff's example xD
!e
fisher_is_right = True
if fisher_is_right:
print("A: This is true")
else:
print("A: This if False")
print()
fisher_kda = 1.3
if fisher_kda < 0.5:
print("B: Fisher is noob")
elif fisher_kda < 1.0:
print("B: Fisher is kinda alright")
elif fisher_kda < 1.5:
print("B: Fisher is kinda godlike")
else:
print("B: IDK what Fisher is...")
@uncut meteor :white_check_mark: Your eval job has completed with return code 0.
001 | A: This is true
002 |
003 | B: Fisher is kinda godlike
so the first one is checking the condition, in this case it is fisher_is_right
while the second one will go through each if statement and check the condition.
once it is met, the indented code is ran. then it continues.
whats the problime with this
banned_list = ["Honest_Player","OffCrocodile","OffCrocodile"]
Honest_Player = str(input)
if Honest_Player in banned_list:
print("your banned")
else:
print("access granted")
are you getting an error?
yes
what does it say?
looks like you are missing some indentation
giddy?
you are not calling input() you need the parenthesis in order to get the actual input from the user
Indents...
You could answer "why" as in "why did the brain evolve to work that way".
we cant solve the assignment for you xD
jolly
tis the rules :C
im new and i dont know
W3 schools
yeah, we want to help you figure it out, not give answers
well looks like imma fail
w3schools is not it, tbh
Python for dummies
It helps with certain stuff
it's very bad at other things
and since beginners can't determine which is which
it's better to just stay away
if you want to get a user input, you can use input()
You are not calling input() because you are missing the (), so you will not be getting an input from a user. Which is what I think you are trying to do
you've also got indentation issues
but yes, if you do not want to learn, then that is what happens. Learning takes effort.
Yes, because playing with grenade indoors always goes well
how else are you meant to clean a room?
Nice boat
im going to leak my address to the entire world

DONT REMIND ME
I sleep, gn all
its so cute
||Sex Pistols -- God save the queen. For those who dont know song.||
||s||
|| ||
pipe delim
/spoiler
or that
||This is a test of the emergency spoiler system. This is only a test. If this wasn't a test then I have no other procedures for spoilers, and this would have spoiled something.||
||it worked||
||@molten pewter is a duck 🦆||
jerry == Jquery - qu
var1 === var1
plt.plot(varr, N(varr, *fit[0]), label=''.join([f"${n} = {v:.4f} \pm {e:.0E}$,{' ' if i % 3 != 2 else endl}" for (i, n, v, e) in zip(range(5), ("A", "\\mu", "\\sigma", "B", "\\epsilon"), fit[0], np.diag(fit[1])**.5)]))
osme?
Probably not too bad with some new-lines.
and new var names
Dylan Beetle art of code. And that is the quine
Software and technology has changed every aspect of the world we live in. At one extreme are the ‘mission critical’ applications - the code that runs our banks, our hospitals, our airports and phone networks. Then there’s the code we all use every day to browse the web, watch movies, create spreadsheets… not quite so critical, but still code tha...
print("\n".join([f"{a} = {b} {u} ± {c}/{b} = {b} {u} ± {(c/b)*100:.2f}%" for a, b, c, u in [("D", 661, 2, "mm"), ("V", 45.0, 0.2, "Volts"), ("d", 91.4, 0.5, "mm"), ("I", 2.48, 0.04, "Amps")]]))
A musical parody of Billy Joel's 'Piano Man', about JavaScript.
@molten pewter do your taxes 👀
Just don't pay your taxes 
anyone familiar with flask_sqlalchmey?
can you sttop
their population is decreasing
Based
"you can live your bidet fantasy"
@olive hedge that could get taken out of context so easily
that is why it is code blocked xD
||Doing Taxes||
Sergeant Tom Hunter explains what he and his men are taking cover from.
Watch the recent Q&A with Tom Hunter at a screening of "Restrepo" at the Angelika Film Center in New York City in our uploaded video section.
Join the discussion: www.facebook.com/restrepothemovie
Visit our website: www.restrepothemovie.com
i'm here for moral support
hmm
hmm
not a fast song but good: https://open.spotify.com/track/5f0mIaKIX1ZkDIfJn0KE5E?si=6f3d5b1e11fe470a
Long chungus
www.instagram.com/laserunicorns
www.kungfury.com ← Exclusive blog updates!
https://kungfury.merchants.se/ ← Webshop featuring shirts, vinyl, poster, and "The Jacket"!
Kung Fury is an over-the-top 80’s action comedy that was crowd funded through Kickstarter. It features Kung Fury, a Kung Fu renegade cop who travels back in time to kill his Neme...
Go to http://www.audible.com/danielthrasher or text danielthrasher to 500500 to get a free Audiobook, 2 free Audible Originals, and a 30-day free trial.
This video features my new Clavinova CVP-809 from Yamaha! Check it out:
https://yamaha.io/3d7GM5U
Follow my socials if ya want!
insta: danielthrasher
twitta: thrasherdan
yllig :o
@restive geyser
hey how I write python?
i saw that
@olive hedge 👀
trying to figure out how to compile my python script
hiiii my audio isn't working, so i need to fix it before i come back. lol
suhhhh
how you compile python?
need to compile so I can download my uni homework
huh?
(to)uted for compressa???
was the pick used by someone famous?
🙂
@orchid barn did you give it a listen?
yeah this is not really the right setting to listen to this song lol
😮 what's going on
ewww taxes. lol
What is a 5498 Form and why is it comming June 30th?
looks like it's for IRA Contribution
june tho?
but i don't do taxes any more. lol
why would this form come after taxes are due?
oof..
lemme see if i can find the publication for youuu
@vivid palm did you listen to Dernier Danse?
i'm guessing that form can just be submitted... later.. ?
@dire oriole hey jude 
f u fosher
born in the wrong generation 😔 @dire oriole
ok well let it be is good i'm not arguing that lol
@olive hedge come together vs hey jude?
hey jude all day
mina listens to anything but kpop?
surPRISE
Me listening to something other than death metal?
Provided to YouTube by DistroKid
War Games · Dual Core
Zero One
℗ Dual Core Music, LLC
Released on: 2007-04-27
Auto-generated by YouTube.
Provided to YouTube by DistroKid
Cipher Punks (Studio) · Dual Core
Zero One
℗ Dual Core Music, LLC
Released on: 2007-04-27
Auto-generated by YouTube.
@orchid barn are you down to try a very different genre?
lets go
^
XDDDDD
Write in C 🙂
might want to deafen while listening
wat
hahahahaha
lol
don't want to listen to fisher talk abt games while listening to this masterpiece
Provided to YouTube by Symphonic Distribution
SSH to Your Heart feat. Shannon Morse · Dale Chase · Shannon Morse
DCXX Comp
℗ 2012 Gravitas Recordings
Released on: 2012-08-07
Featuring: Shannon Morse
Auto-generated by YouTube.
deafen, enjoy~
Shannon and Dale doing the Linux music
looooooooool
🙂
i wish i understand mina
@vivid palm i'll stick
just think sad thoughts you don't really need to understand the lyrics for this type of music lol
XD
I could do without the chorus.
i'm not sure. but this form is completed by the trustee or issuer of your IRA...
As long as I can submit my taxes on time without SWAT busting down my door, I'll be happy.
ohhhhhhhhhhhhhh
that was saved from your playlist. and found some more. 🙂
lol. nah. that form is informational; it's not required to be filed w/ your return. but oh! i found out why it's due in june: because you can contribute to an IRA for the previous year thru mid-May.
If i DJed youd get ptsd
@vivid palm i feel touched by the song
right??
ye!
this the feeling of han or.. korean feels
ties into the shit times korea went thru as a country over the years
#_#
invalid question
LOL
alright can we not generalize and/or compare entire ethnicities?
+1
wait what
ok, so you went to 1 city out of 29384293847 in a country. lol


