#voice-chat-text-1
1 messages Β· Page 115 of 1
You know, I've been thinking about this again
Hemlock, I am not breaking any rules by linking to a github repository am I?
It shouldn't take me telling someone that I'm an admin for people to not act unpleasant
Not specifically calling anyone out, it's just something that I think about a lot
@true valley Iβm not a narcissist, you were talking about me right?
dude, someone took my picture and posted it on reddit with a fake message π¦

That's socialism talk there Fury
perfect
Tanks can't swim, we will be ok
I live in major city, escalation won't matter, I won't be here to give my opinion
that was the best thing i heard
but his argument something else lol
if your an American and your under one of these dots, escalation won't matter for you, you won't be around to give your opinion
^^^^^^^
this article is the only reason I'm willing to give a number for the Ukraine thing
previous to reading this article I would have said "I don't have a clue" and refused to give a number
To the title, Yes π
they want to put math to their 8ball
thats why i like @crystal aurora
dope mindset
whos even speaking in vc
its not showing that green thing
might have to restart your client
ye, every time that happens just restart your client and it will fix it
I think China "allying" with Russia over Ukraine is just them using it as excuse to poke the US
NO @raw wren not JS, NOT EVEN ONCE!
it's typescript leave me alone
WHERE DID YOUR PARENTS GO WRONG?
lol typescript is good wym
and I am using cf workers
so my other option is rust
or transpiling python to js which is awful.
anyone wanna help me with java?
what are you talking about?
!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.pythondiscord.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.
two points:
- A healthy* thing to worry about something is something which poses a logical, fact-based, risk to you, your friends, or your family. Air pollution, cancer, car travel, covid are healthy worries: they are substantially likely to affect you and people you like.
2a) A base opinion of "escalation is not likely" seems sensible if you look at all points of high international tension since WW2, few of them have escalated. **
2b), If you're just watching the news and catching information about Ukraine incidentally, then the majority opinion is that escalation in the case of Ukraine specifically is not likely, very few serious pundits seem to be arguing that US troops on the ground is likely.
-
2a/b are not the only possible opinions, but any other opinions are atypical, so if you're differing from the base case then you should have come to that difference from a fair degree of consideration
-
If you accept this base case of escalation is not likely, then being scared - having a strong emotional response to a thing you logically understand to be unlikely to affect you or people you care about, - doesn't seem healthy. Worrying about Ukrainian friends seems perfectly healthy and understandable.
*I'm not entirely convinced healthy is the concept I'm grasping for. I can't provide a clear definition for healthy. Maybe this means my entire point about should/healthiness/whatnot is just bullshit and overly prescriptive
**I'm willing to be wrong about this, I'd need to sit down with a spreadsheet and trawl through the history of the 20th century
I like ice cream
@zenith wedge what does the \β mean?
Acknowledgment. The points made are reasonable.
The Divine Comedy (Italian: Divina Commedia Italian pronunciation: [diΛviΛna komΛmΙΛdja]) is an Italian narrative poem by Dante Alighieri, begun c. 1308 and completed in 1320, a year before his death in 1321. It is widely considered the pre-eminent work in Italian literature and one of the greatest works of world literature. The poem's imaginati...
Bye π @crystal aurora 
I would tell Putin, "I've been trying to call you about your cars extended warranty"
@raven flint u made me choke on my food lmao
π€£
lowkey blast this song with putin
In economics and consumer theory, a Giffen good is a product that people consume more of as the price rises and vice versaβviolating the basic law of demand in microeconomics. For any other sort of good, as the price of the good rises, the substitution effect makes consumers purchase less of it, and more of substitute goods; for most goods, the ...
The ANOVA Precision Cooker Nano makes it easy to achieve professional-level cooking results at home. To use, simply attach the cooker to any water-filled pot, put your food in a sealable bag, and set the time and temperature. The ANOVA Precision Cooker Nano heats and circulates the water to a pre...
you don't
He did... He read a book couple of hours ago...
technoblade?
I'm familiar with the species in general terms.
I've never kept any.
The birds I speak of are all wild birds.
@stuck bluff hi do u know js ?
objs = [{"blog":"test 1", "tags": ["blog 1", "blog1"]},
{"blog":"test 2", "tags": ["blog 2", "blog2"]},
{"blog":"test 3", "tags": ["blog 3", "blog3"]},
{"blog":"test 4", "tags": ["blog 4", "blog4"]}]```
how to get the value of ``"tags": ["blog 4", "blog4"]`` in js
console.log(objs[0]['tag'])
objs[3]["tags"]```?
str = `hi ${dude}`
let objs = [{"blog":"test 1", "tags": ["blog 1", "blog1"]},
{"blog":"test 2", "tags": ["blog 2", "blog2"]},
{"blog":"test 3", "tags": ["blog 3", "blog3"]},
{"blog":"test 4", "tags": ["blog 4", "blog4"]}]
console.table(objs)
num = 1;
objs.forEach(i => {
document.getElementById(num).innerHTML = `<h1 class="foreach ${num}" id="${num}">${i["blog"]}</h1>`;
num = num+1;
});
num2 = 1
function search() {
let tosearch = document.getElementById(num).value;
objs.forEach(i => {
if (objs[i]["tags"] == tosearch) {
console.log(objs[i]["tags"]);
console.log(objs[i]["blog"]);
document.getElementById(num2).innerHTML = `<h1 class="foreach ${num}" id="${num}">${i["blog"]}</h1>`;
}
});
}``` getting this error ```script.js:19 Uncaught TypeError: Cannot read properties of undefined (reading 'tags')
at script.js:19:20
at Array.forEach (<anonymous>)
at search (script.js:18:10)
at HTMLButtonElement.onclick (index.html:23:85)
(anonymous) @ script.js:19
search @ script.js:18
onclick @ index.html:23```
if (objs[i]["tags"] == tosearch) -> if (i["tags"] == tosearch)
I can't seem to be able to track down the actual source.
Yes.
I've found a nice way to make an old-looking, moldy paper-like texture in GIMP, and I've been fiddling with how to recreate a similar effect just with Numpy.
Yes.
you can quit maybe
Hello guys what are you doing
oh
do a project?
btw who is talking i cant see green thing when users speak
yea i can see green thingy on Opal
oh your 14?
when did u start learning python?
you started coding when you were 10?
oh i learnt some c when i was 10
sorry?
it was good i dont remember anything now only printf and scanf
lol
oh btw i am 14 too nice to meet you
8th grade
o so you are in 9th
your username is Furyo right?
this is me π
oh ok
Yeah, that's old data.
Four in the afternoon on my end.
Victoria.
1, 6, 8, 9, 0
But it's not invertable.
Oh.
Well.
||+x|
|| + ||
Can't, as a country, have a reputation for impeccable engineering without the mathematics.
you have to send 50 messages to talk here
You are not allowed to use that command here. Please use the #bot-commands channel instead.
Hello
hi
my class is over finally
yay
how many classes?
i have 7 classes in a day 40 mins per class
you have holidays on saturday?
bio class was boring :\
# for ~ fuer
# in ~ im | in
# range ~ intervall
# print ~ drucke
fuer i im intervall(9)[::-1]:
drucke i
# while ~ solange
# True ~ Wahr
# try ~ versuche
# except ~ ausser
# ZeroDivisionError ~ NullDivisionsFehler
# return ~ zurueck
solange Wahr:
versuche:
1/0
ausser NullDivisionsFehler:
zurueck
Good night yall!!
@true valley And the music
a nice touch
elegant
π€£
@crystal aurora I Like that range syntax
thats the way a range should be
he is
hmm i will join you guys in a bit
std::string::String::new
:: behaves like a namespace accessor. You can navigate through modules or specify locations like std::io::stdin() or call methods for objects like in String::new(). It can even be mixed, since an object may be in a module itself, so for example, the full path to the String new method would be std::string::String::new.
im following
whats up ty?
@warm tendon π€£
π
@crystal aurora what about a leprechaun?
π€£
thats a good exercise im not going to lie
Marco is like that teacher you dont want to mess with
RP Game has 2 characters
Characters can be different:
- Height
- Weight
- Colour
- Gender
- Talk
Colour is a good one
pigment?
:incoming_envelope: :ok_hand: applied mute to @granite nymph until <t:1645146724:f> (9 minutes and 59 seconds) (reason: mentions rule: sent 7 mentions in 10s).
!unmute 465123434322722817
:incoming_envelope: :ok_hand: pardoned infraction mute for @granite nymph.
Thanks @peak frigate
No more pings
I promise π
np lol
The user friendly C++ online compiler that allows you to Write C++ code and run it online. The C++ text editor also supports taking input from the user and standard libraries. It uses the GCC (g++) compiler to compiler code.
can you make an african leprechaun as a character?
as like the nemesis to the wizard
@warm tendon π€£
i came in late on this, whats a real world "reference" to use something like this?
@crystal aurora give him 15 man
@fluid heron you did their homework for them...how are they ever going to learn?
π
nice job
π€£
also never above doing ppls homework for them. Anyone needs their homework done just post it here
class RPG:
def __init__(self, colour, talk):
self.character_colour = colour
self.character_speech = talk
print("RPG Started...")
class Human(RPG):
class Wizard(RPG):
Yeah
Yeah
hi
i agree
you didnt make the leprechaun π’
π
i think you mean @fluid heron
talk later guys, im going to bed
bye man
Using T-Diagrams, Professor Brailsford shows us how to take our compiler to the next level.
Previous video on t-diagrams: https://www.youtube.com/watch?v=PjeE8Bc96HY
https://www.facebook.com/computerphile
https://twitter.com/computer_phile
This video was filmed and edited by Sean Riley.
Computer Science at the University of Nottingham: htt...
Use your geography knowledge to figure out the mystery country in as few guesses as possbile!
https://github-readme-stats.vercel.app/api?username=<USERNAME>&show_icons=true&theme=radical&count_private=true
git commit --amend --date="Wed Feb 16 14:00 2011 +0100" --no-edit
echo "Is some one down there?" > /dev/null
U laboratore 14
g++ *.c -g -Wall -pedantic
gcc -o fuckyou *.c -Wall -Wextra -g -I../src
||https://i.imgur.com/qTcLJQX.mp4 https://i.imgur.com/UU3lFqH.mp4|| Flashing lights advisory. @true elbow
import numpy as np
def magnitude(p, q, axis):
m = q - p
m = m ** 2
m = np.sum(m, axis)
m = np.sqrt(m)
return m```
Do What The Fuck You Want To Public License (zkratka WTFPL, Δesky VeΕejnΓ‘ licence DΔlej si co kurva chceΕ‘) je zΕΓdka uΕΎΓvanΓ‘ svobodnΓ‘ softwarovΓ‘ licence kompatibilnΓ s public domain. OriginΓ‘lnΓ verzi 1.0, kterΓ‘ byla vydΓ‘na v bΕeznu 2000, napsal Banlu Kemiyatorn. Verzi 2.0 pak napsal francouzskΓ½ programΓ‘tor Samuel βSamβ Hocevar, kterΓ½ byl od 17. ...
Though you can also look at scipy.spatial.distance_matrix.
do What The Fuck you want to Public License
Version 1.0, March 2000
Copyright (C) 2000 Banlu Kemiyatorn (d).
136 Nives 7 Jangwattana 14 Laksi Bangkok
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Ok, the purpose of this license is simple
and you just
DO WHAT THE FUCK YOU WANT TO.
hello
nodes = np.array[((0,1), (2,3), (4,5), ...)]
colours = np.array([(r0,g0,b0,a0), (r1,g1,b1,a1), (r2,g2,b2,a2), ...]) #Pairwise, so same len as nodes
frame = np.zeros((height, width, 3), dtype=float64)
#Per node/colour pair, add the colour to the entire frame, dividing the addition per position by the magnitude matrix of the node point against each point in the frame.```
Accounting for alpha if you like.
Which is fiddly.
Also not strictly necessary.
!e
!eval [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.
We've done our best to make this sandboxed, but do let us know if you manage to find an issue with it!*
!e
nodes = np.array[((0,1), (2,3), (4,5), ...)]
colours = np.array([(r0,g0,b0,a0), (r1,g1,b1,a1), (r2,g2,b2,a2), ...]) #Pairwise, so same len as nodes
frame = np.zeros((height, width, 3), dtype=float64)
@dreamy tusk :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 'np' is not defined
!e
import numpy as np
nodes = np.array[((0,1), (2,3), (4,5), ...)]
colours = np.array([(r0,g0,b0,a0), (r1,g1,b1,a1), (r2,g2,b2,a2), ...]) #Pairwise, so same len as nodes
frame = np.zeros((height, width, 3), dtype=float64)
@dreamy tusk :x: Your eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "<string>", line 2, in <module>
003 | TypeError: 'builtin_function_or_method' object is not subscriptable
ok
is c++ GOOD
i think im gonna learn it
because i wanna become a robotics
so we need python and c++ right?
bye
Hello
!e ```py
import numpy as np
def magnitude(p, q, axis):
m = q - p
m = m ** 2
m = np.sum(m, axis)
m = np.sqrt(m)
return m
frame = np.mgrid[:5, :10].T
node = 0,0
result = magnitude(frame, node, 2)
print(result) #An array whose values at each position are that position's distance from the node position.```
@stuck bluff :white_check_mark: Your eval job has completed with return code 0.
001 | [[0. 1. 2. 3. 4. ]
002 | [1. 1.41421356 2.23606798 3.16227766 4.12310563]
003 | [2. 2.23606798 2.82842712 3.60555128 4.47213595]
004 | [3. 3.16227766 3.60555128 4.24264069 5. ]
005 | [4. 4.12310563 4.47213595 5. 5.65685425]
006 | [5. 5.09901951 5.38516481 5.83095189 6.40312424]
007 | [6. 6.08276253 6.32455532 6.70820393 7.21110255]
008 | [7. 7.07106781 7.28010989 7.61577311 8.06225775]
009 | [8. 8.06225775 8.24621125 8.54400375 8.94427191]
010 | [9. 9.05538514 9.21954446 9.48683298 9.8488578 ]]
!e ```py
import numpy as np
def magnitude(p, q, axis):
m = q - p
m = m ** 2
m = np.sum(m, axis)
m = np.sqrt(m)
return m
frame = np.mgrid[:5, :10].T
node = 3,3
result = magnitude(frame, node, 2)
print(result) ```
@stuck bluff :white_check_mark: Your eval job has completed with return code 0.
001 | [[4.24264069 3.60555128 3.16227766 3. 3.16227766]
002 | [3.60555128 2.82842712 2.23606798 2. 2.23606798]
003 | [3.16227766 2.23606798 1.41421356 1. 1.41421356]
004 | [3. 2. 1. 0. 1. ]
005 | [3.16227766 2.23606798 1.41421356 1. 1.41421356]
006 | [3.60555128 2.82842712 2.23606798 2. 2.23606798]
007 | [4.24264069 3.60555128 3.16227766 3. 3.16227766]
008 | [5. 4.47213595 4.12310563 4. 4.12310563]
009 | [5.83095189 5.38516481 5.09901951 5. 5.09901951]
010 | [6.70820393 6.32455532 6.08276253 6. 6.08276253]]
what are you guys trying to do?
Replicate my fireworks in js.
oh?
import numpy as np
from matplotlib import pyplot as plt
def magnitude(p, q, axis):
m = q - p
m = m ** 2
m = np.sum(m, axis)
m = np.sqrt(m)
return m
y, x = 50,100
arr = np.full((y,x,3), (255,0,0))
node = 3,3 #The emission point
index_matrix = np.mgrid[:y, :x].T
mag_matrix = magnitude(index_matrix, node, 2) + 1
arr = arr / np.array([mag_matrix]*3).T
plt.imshow(arr.astype(np.uint8))
plt.show()```
[]
So you do this for each emission node.
and take each such arr and add it to your frame
clipping the excess once all arrs are added.
You want to know something sad? This is probably the cleanest I've ever written this.
I was contemplating a response.
i am fine thanks
I'm feeling like the man in the mirror, where, opposite, stands nobody.
-m "asgsag"
annoying keeb sound coming from your side, null
what is this? π
((point[4][0]*disspersion)/dist)*intensity+colorMatrix[x][y][0]
hey i have a dumb question can anyone help me?
That would depend on the question.
def checker(my_query_dict):
for i in my_query_dict.keys():
if i in inspect.getfullargspec(handler).args:
pass
else:
my_query_dict.pop(i)
return False
return True
while checker(kwargs) is False:
pass``` any better way to do this?
What is my_query_dict? What does it represent?
Describe what checker is doing in broad terms.
yea so query_dict has the args which are needed by the function and if a user passes a query which is not required by the function it will remove it and then pass the dict to the function so it will not break the code
Can you give an example of my_query_dict and inspect.getfullargspec(handler).args?
yes my_query_dict = {'q': 'somevalue', 'limit': 5} and inspectgetfullargspec(handler).args = ['q', 'limit']
!e print((1920*1080*3)^2)
@true elbow :white_check_mark: Your eval job has completed with return code 0.
6220802
!e print(((1920*1080)^2)*3)
@true elbow :white_check_mark: Your eval job has completed with return code 0.
6220806
!e print(((1920*1080)^2)*3*8)
@true elbow :white_check_mark: Your eval job has completed with return code 0.
49766448
Okay, let's see.
!e print(49766448/1024/1024)
@true elbow :white_check_mark: Your eval job has completed with return code 0.
47.46098327636719
btw if you telling something in vc i am deafen
i will be undeafen in a min
Right. Now I can concentrate.
huh?
can you repeat?
i dont understand
yes i did
hmm no
what if i do
def checker(my_query_dict):
for i in my_query_dict.keys():
if i in inspect.getfullargspec(handler).args:
pass
else:
my_query_dict.pop(i)
return checker(my_query_dict)
!e py the_dict = {"apple": 0, "grape": 1, "orange":6} legal_keys = {"apple", "pear"} for key in set(the_dict).difference(legal_keys): del the_dict[key] print(the_dict)
@stuck bluff :white_check_mark: Your eval job has completed with return code 0.
{'apple': 0}
@craggy mauve
This alters the dict object.
So if you pass a dictionary into a function that does this, the dictionary will be modified.
!e ```py
def func(d, legal_keys):
legal_keys = set(legal_keys)
return dict((key,value) for key, value in d.items() if key in legal_keys)
the_dict = {"apple": 0, "grape": 1, "orange":6}
legal_keys = {"apple", "pear"}
new_dict = func(the_dict, legal_keys)
print(new_dict)```
@stuck bluff :white_check_mark: Your eval job has completed with return code 0.
{'apple': 0}
this is creating new dict so first one should be more effiecent
i mean this one...
I understand.
am i correct?
I like the later one, because it's cleaner. Though it doesn't leverage sets.
Sets are zoomy.
oh ok
The later one does a linear search for each key in the_dict, which is meh...
Though it could be converted to a set.
There. Now it's lookup, per key.
Even if you give it a list for legal_keys.
Which should really be a set.
Okay. So.
In-place vs returning.
!e py my_list = [3,1,2] s = my_list.sort() print(my_list) print(s)
@stuck bluff :white_check_mark: Your eval job has completed with return code 0.
001 | [1, 2, 3]
002 | None
This, list.sort, is an "in-place" operation.
I've given my_list to list.sort, and instead of getting the sorted list out of it with s, I get None.
But, as you can see, it's sorted the list when I print my_list.
Hm.
Here's another in-place.
!e ```py
import random
my_list = [1,2,3,4]
r = random.shuffle(my_list)
print(my_list)
print(r)```.
Oh come on.
@stuck bluff :white_check_mark: Your eval job has completed with return code 0.
001 | [1, 2, 4, 3]
002 | None
There we go.
oh understood
Mm.
As opposed to returning functions and methods...
!e py my_list = [3,1,2] s = sorted(my_list) print(my_list) print(s)
@stuck bluff :white_check_mark: Your eval job has completed with return code 0.
001 | [3, 1, 2]
002 | [1, 2, 3]
It doesn't sort the original list object.
ahh i see
It does, however, create a sorted version of it, and returns it.
oh then my function was in place function
You took a dictionary object and used dict.pop on it.
That alters the dictionary object where it lives in memory.
!e ```py
def func(d):
d["Apples"] += 1
my_dict = {"Apples": 0}
func(my_dict)
print(my_dict)```
@stuck bluff :white_check_mark: Your eval job has completed with return code 0.
{'Apples': 1}
You might have heard about scope and functions.
This is an exception to that.
Sort of.
Not really.
What you're doing when you give things to functions are references to objects.
and if that thing references a mutable, then you can change it without having to return something and assign something.
ok but i have a doubt which is faster the first one or second cz if you working in a company they will tell you to write faster and neater code ig :\
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!
oh ok
def func(d, legal_keys):
return dict((key,value) for key, value in d.items() if key in legal_keys)```I'm partial to this.
ok
!e ```py
def func(d, legal_keys):
return {key: d[key] for key in d.keys() & legal_keys}
the_dict = {"apple": 0, "grape": 1, "orange":6}
legal_keys = {"apple", "pear"}
print(func(the_dict, legal_keys))```
@stuck bluff :white_check_mark: Your eval job has completed with return code 0.
{'apple': 0}
hmmm ok thanks once again :D
no progress since last time we talkedπ’
π¦
find it
That's important
dude its easy for you
Yeah rather you didn't describe it as that, Ty
you havent been coding for like a week
everytime i seen you you playing gamesπ€£
because i be on here on my free time π
50 hours doing what
Bit different
coding coding buddy
Fair, but dismissing how hard jmac has been working on it seems silly
dude i just need a break
no motivation can get somewhere somewhere
this is like mental jujitzu, or like sudoku
Positive reinforcement works better. What's the phrase, "You'll catch more flies with honey than you will with vinegar"?
if we play sudoku, and youve done too much, 6 days straight
you think your motivation is going to make me figure it out/become a better player?
Breaks are important @misty sinew
we're not robotsπ
but encouragement is important if no wall is hit, and im doubting myself
but this isnt that case. Im not doubting myself. I know ill figure it out
just need a break
we're not all @crystal aurora
π€£
it annoys me because ive done this before, last yearπ€£
you are motivational
you are doing this everyday
π€£
sudoku is awesome
I realize that's not what you're talking about
but I really like sudoku
@slender canyon Hey!!! HOW are you!!!
ERR day baby
evertime they cancel work due to weather concersn i just pop some bruno mars and code away
bruno marsπ€£
lmao
!poll "Is the level of complexity too high?" "Very complex" "Moderately complex" "About right" "Not very complex" "Not complex" "Why am I reacting to this poll?"
π¦ - Very complex
π§ - Moderately complex
π¨ - About right
π© - Not very complex
πͺ - Not complex
π« - Why am I reacting to this poll?
ive only been here for half an hour
but i need a break
@crystal aurora keep these people on track
its for education purposes
its not inappropriate
i approve of this room
i like the python community though
@fluid heron should be a helper
COMPLEX CODING GANG @elder wraith
@warm tendon is a good coder rabbit
i'm not a professional
but you could get paid if you wanted to...
not really
facts
!poll "How long have you been paid to do programming?" "5+ Years" "2 - 3 Years" "1 Year" "Less than 1 Year" "Never been paid for programming work"
π¦ - 5+ Years
π§ - 2 - 3 Years
π¨ - 1 Year
π© - Less than 1 Year
πͺ - Never been paid for programming work
For 4 years I guess stick it with A
@crystal aurora π
i got u
What is the project ?
i dont want you to change your project
@halcyon notch i agree
The Coffee Man is here
just trying to take a break
how about you?
π
whats that?
so its not like hackerone?
π€£
i respect your work ethic coffee
youre right.
trust your intuition
no
hackerone
you were right man
its that nap dude
naps are good though
just got to get in the groove
Reduce the risk of a security incident by working with the worldβs largest community of hackers. HackerOne offers bug bounty, VDP, & pentest solutions.
That was Charlie asking everyone
π
yea, but he said later on that he asked someone he met the first day he met them, and was agreeing with asking like charlie does
but yea, charlie does over ask π€£
@halcyon notch this conversation is reminding me of the 'garbage collector'
ive been watching too many maroloccio rust streams
@halcyon notch charlie was talking about that
i dont know if you were here...
@ember stream π€£
?
it is I........lemon.....π€£
Thank you @zenith wedge
thats so weird, someone at my college is from Macedonia π€£
i thought that was some old place/country that didnt exist anymore when he said it, i thought that was the equivalent of persians
hi
The Goliath birdeater (Theraphosa blondi) belongs to the tarantula family Theraphosidae. Found in northern South America, it is the largest spider in the world by mass β 175 g (6.2 oz) β and body length β up to 13 cm (5.1 in) β but it is second to the giant huntsman spider by leg span. It is also called the Goliath bird-eating spider; the practi...
Huh. "A Cluster of Spiders"
Oh dude
"A gang of weasels"
Relevant
Dog
seterra = 10/10
Aoife
Rwanda is near Uganda π€
The United States gave billions of dollars in aid to the wealthy European principality of Andorra, which it mistakenly assumed was a poor African country.
More coverage at: http://onion.com
Clue @halcyon notch 

help
this is what i am getting
I dont know why
when i am try to run this
Improve your Python skills by following along with 12 different Python project tutorials.
π₯ Course developed by Kylie Ying. Check out her YouTube channel: https://www.youtube.com/ycubed
βοΈ Course Contents βοΈ
β¨οΈ (1:40) 1. Madlibs
β¨οΈ (6:54) 2. Guess the Number (computer)
β¨οΈ (13:17) 3. Guess the Number (user)
β¨οΈ (21:14) 4. Rock Paper Scissors
...
import random
def play():
user = input("What's your choice? 'r' for rock, 'p' for paper, 's' for scissors\n")
computer = random.choice(['r', 'p', 's'])
if user == computer:
return 'It\'s a tie'
# r > s, s > p, p > r
if is_win(user, computer):
return 'You won!'
return 'You lost!'
def is_win(player, opponent):
# return true if player wins
# r > s, s > p, p > r
if (player == 'r' and opponent == 's') or (player == 's' and opponent == 'p')
or (player == 'p' and opponent == 'r'):
return True
import random
def play():
user = input("What's your choice? 'r' for rock, 'p' for paper, 's' for scissors\n")
computer = random.choice(['r', 'p', 's'])
if user == computer:
return "It's a tie"
# r > s, s > p, p > r
if is_win(user, computer):
return 'You won!'
return 'You lost!'
def is_win(player, opponent):
# return true if player wins
# r > s, s > p, p > r
if (player == 'r' and opponent == 's') or (player == 's' and opponent == 'p')
or (player == 'p' and opponent == 'r'):
return True
print(play())
@stuck bluff hey, sorry to bother, but I wrote a python program that can render a single picture of the fireworks/ lighting programs you make, while using the same math, but can render at 1920x1080 with 10 points(more points doesn't affect it much) in ~13 seconds. Here's the code: https://paste.pythondiscord.com/uwujadiroz if you want me to elaborate on how it works I will, but roughly it makes one matrix at the beginning that each pixel uses to find the correct light value for itself, without running any 2d distance functions when rendering the frame
this image is the secret sauce π if you will
here's an example frame
how much ram do you have opal??
Less than I would prefer.
8gigs?
Hello
What's up?
Yes i am from Russian
I'm taking a course
I have now 13:20
Yes
Yes
Cool
Just very cold
!voice
Voice verification
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
has to be 3 days aswell i think
Also I was typing in the wrong chat π
Yup. Im actually stuck on a project for colllege actually
I was wondering if anyone could help me with it
The project is to basically create a password cracker using a word list my instructor provided me. he wanted me to test it on his ftp server. but instead for now to test it on a variable
Yes
Currently im on line 30
He said it only takes like 50. Which makes me feel like im doing it wrong
Yep
I have a while loop. It runs until it reaches the end of the list
I could
Okay I added it
Do you mind taking a look at my code?
It wont let me go live
I could call?
im here
how duels work?
oh ok
hahaha
this is hard
i want to talk i hate this voice verification
ololo hahaha
nice one hahaha
didnt understand this but yea
partitionLists([8,2,5,10], [4,5,6,3,7,5,3]),
([2, 3, 3, 4], [5, 5, 5, 6, 7, 8, 10])
def partitionLists(listA, listB, largerFirst = False):
a = len(listA)
x = []
new = listA + listB
if largerFirst == False:
x =
neww = x[:a] + x[a:]
else:
x =
x = x.reverse()
neww = x[:a]
neww2 = x[a:]
final = (neww, neww2)
return tuple(final)
Erm, sorry just creating an account
Lx you think its possible i get video role?
my first thought was russia then i saw a truck with some english words
How do I join sorry π
:C
what game mode we are playing?
lets go
;-;
ghana
What if it's a false flag?
Just to catch out people playing geoguesser.
Road markings might be a clue π€
i thought it was brazil there was portuguese
just came south american countries ...
try the link
π
Oh, didn't realise the mode had changed 
Heading over to staff π
Nice playing with you guys π
still didnt understand how this gamemode works ahhaa
Griff moment 
this is hard to guess the ones from london
stadiums 
more 7 messages and i am voice verified
yes
Madeira
island
Acores Lisboa Porto
its an island
like on the middle of the Atlantic
the favorite dishes idk to be honest there are so many that i love but the for soup is caldo verde, main is Francesinha and the dessert Pastel de Nata
yes
no more lifes
why do you want to be a staff member?
@mint merlin
why do you want to be a staff member?
!> resource, !>resource should both be tokenized as !> and resource
LOL
!voiceverify
I have no idea about coding or programing
@solid gyro
What are yall talking about?
@mild flume
https://www.youtube.com/watch?v=nre0QT9LN6w skipto 'Self Driving Cars' @ 57:00
Rodney Brooks is a roboticist, former head of CSAIL at MIT, and co-founder of iRobot, Rethink Robotics, and Robust.AI. Please support this podcast by checking out our sponsors:
- Paperspace: https://gradient.run/lex to get $15 credit
- GiveDirectly: https://givedirectly.org/lex to get gift matched up to $300
- BiOptimizers: http://www.magbreakth...
More practically, if you can show 2-3 projects, that is very useful. @vivid acorn
ways to get there: 1) self-taught & tutorials
2) coding bootcamps
LP means 'networking' not 'luck'. Join meetups or do hackathons
Disclaimer: I am not a professional career coach. Since you asked, this is my advice.
Look for events that are related to the field of interest. Find as many in person events as you can. Reach out to people that are at the companies you want to work on linkedin. Ask to meet in person. Tell them you are interested in entering the field and you want to buy them a cup of coffee. Enter into all the interactions with the goal of making "professional friends". This method will be slow and will take significant time but the goal is to plant seeds. Try to stay in casual contact with as many as you can. If you are in a tight place financially or have a significant gap in your resume, take any job you can get. If you have good coworkers and managers, establish friendly relationships with them and explore their professional networks for more people you can meet. Nothing is better than a good manager who respects you and will give you a personal recommendation after you worked for them. Every job you take should be about creating new professional relationships and building yourself as a brand. Stay in touch with people you worked with previously. As their careers progress, they will be in a position to offer jobs.
Given a set of n items, we can choose k of them in ππΆπ ways. That is, if we have n=3 items (for instance, an apple, an orange, and a pear) and we want to select k=2 of them, there are 3πΆ2=3 ways to do this (an apple and an orange, an orange and a pear, or an apple and a pear).
We can compute ππΆπ recursively:
def choose(n,k):
if k == 0:
return 1
elif n < k:
return 0
else:
choose((n),(k))
!code
Here's how to format Python code on Discord:
```py
print('Hello world!')
```
These are backticks, not quotes. Check this out if you can't find the backtick key.
print("Question #4 Test Case #1:", tester(choose(3, 2), 3))
print("Question #4 Test Case #2:", tester(choose(5, 3), 10))
print("Question #4 Test Case #3:", tester(choose(20, 10), 184756))
It is an endless Loop
Okay
print("Question #4 Test Case #1:", tester(choose(3, 2), 3))
print("Question #4 Test Case #2:", tester(choose(5, 3), 10))
print("Question #4 Test Case #3:", tester(choose(20, 10), 184756))
```py
put your
code here
```
Limit of recursion
def choose(n,k):
if k == 0:
return 1
if n < k:
return 0
choose((n),(k))
AB, AC, BC
TOTAL_ITEMS_COUNT = 3
results = []
# for 2 item length
for a in range(ITEM_COUNT - 1): # ITEM_COUNT - (LENGTH - 1)
for b in range(a, ITEM_COUNT):
results.append((a,b))
def choose(total: int, span: int) -> int:
if span == 0:
return 1
if total < span:
return 0
#
n = 5, k = 3
|
v
1 2*k = 6 - 2 = 4
2 2*k = 6 - 3 = 3
3 2*k = 6 - 4 = 2
4 2*k = 6 - 5 = 1
5 2*k = 6 - 6 = 0
___+
10
n = 3, k = 2
|
v
1 2*k = 4 - 2 = 2
2 2*k = 4 - 3 = 1
3 2*k = 4 - 4 = 0
___+
3
I'm new to voice channel, what do you do in it?
Like I'm in voice chat 0 right now, so what are they making?
idk im in voice chat 1 and we r using the text channel to show stuff we r talking about
!e ```py
n, k = 5, 3
p = k # for loop variable
result = 1
while p > 0:
result *= (n - p)
p -= 1
print(result // k)
@fossil citrus :white_check_mark: Your eval job has completed with return code 0.
8
!e ```py
import itertools
def a(n, k):
v = 1
for i in range(k - 1):
v *= (n - i)
return v // (k - 1)
print(a(3, 2))
print(a(5, 3))
print(a(20, 10), sum(1 for i in itertools.combinations(range(20), 10)))
@fossil citrus :white_check_mark: Your eval job has completed with return code 0.
001 | 3
002 | 10
003 | 6772147200 184756
i can say that this is not correct
@crystal aurora you do be looking hot π
What language is that, marco?
Oh, sounds nice.
lol
could someone help me and teach me some code on leetcode
ΠΡΠΈΠ²Π΅Ρ
ΠΡΠΈΠ²Π΅Ρ
ΠΠ΄ΡΠ°Π²ΡΡΠ²ΡΠΉΡΠ΅
ΠΠ°Ρ
ΠΡΡΡΠΎ Π²ΠΈΠ΄Π΅ΡΡ Π½Π°ΡΠΈΡ Π² ΡΡΠΎΠΌ ΠΌΠ΅ΡΡΠ΅
Π ΡΠΎ ΡΠ΅Π΄ΠΊΠΎ Π²ΡΡΡΠ΅ΡΠΈΡΡ
ΠΠ°ΠΊ ΡΠ΅Π±Ρ Π·ΠΎΠ²ΡΡ?
ΠΠ΅Π·Π½Π°Ρ
ΠΠ΅Π½Ρ Π·ΠΎΠ²ΡΡ ΠΠ°Π½ΠΈΠ» ΠΌΠ°Π»....
Π£Ρ ΠΊΠ°ΠΊ ΠΌΠ½ΠΎΠ³ΠΎ ΠΈΡ Π² Π³Ρ ΠΊΠ°Π½Π°Π»Π΅
ΠΠ°ΠΌ Π±Ρ ΡΠ°ΠΊΠΎΠΉ Π°ΠΊΡΠΈΠ² :_)
Π Π²ΡΠ΅ΡΠΎΠ²Π½ΠΎ Ρ Π½ΠΈΡ ΠΏΠΎΡΡΠΈ Π²ΡΠ΅ Π±Π΅Π· ΠΌΠΈΠΊΡΠΎ
ΠΠ°ΡΡΠ΅Ρ ΠΎ?
@raw wren join me
that is the biggest link ever
ik
idk why it was so long
Hi Popcorn
@crystal aurora I have better knowledge in python than rust!
brb
okay
nvm gtg
lmfao
conquered
I could've gone to a wedding but nah
Dressing up is a task
and I don't even know the family that well
@gusty blaze @fervent notch @misty sinew @dull dew @tiny gust
eyo guys, i am gonna start this soon
π
fuck skriblle now gives a ad before creating a private room
yoyo
@misty sinew yo!
my fren!
hahaha
We just playing skribble
if you want you can join in!
oh you didn't
i'm in
that's great
Ok I just revealed my real name in the skribbl
oh that's why you on smoke haha!
oh cool
mhm
@misty sinew you left?
yea got it
you wanna join too?
Back in
aight haha!
changing my avatar
Yup I am in
Idk
π what ya'll talking about?
his job lol
O
should we do this game later?
birtch?
going hella boring
π
aight!
Cya!
π₯°
lets end this!
have fun!
Ping me if u play again!
Cya!
Help in the corn section
hellol hello
aight linus, so my mic is suppressed
because i joined the server 3 days ago
cuz I left the server
lol I am a long time user
@misty sinew you installed it?
les do it
uh?
lol you mean vibe?
sorry i don't get ou?
yeh
uh he left
i do
I am that guy
no, there was no one
he was just chatting
ok lets go
yeh
open the game and do multiplayer and select the second category
yeh
the server
sorry first one
vension
fundog
its under the 10 ppl
server
did you do multiplayer > join server?
share the screen
pls
yeh the kazemat
I am in that server
first one
ok cool
yes
haha
no offense
yes
@misty sinew the longer you take the flag the more your points you get
@misty sinew so you have to kill members for having frags, when you have flag you should not die if you get killed by a opponent then the other team gets a point
@lost falcon We're down here.
yeye
lemme get
earphones
someone say something
i have no idea if my earphones are working
well kinda
wow
my left one works the right one doesn't
yes
wanna play chess anyone
fffs
i hate wirless earphones so much omg
AYEEE IT WORKS
i'd speak but my mom's at home lmfao
and celebrations
THEY JUST WENT OFF
i think they're working??
ayee they work
for now
just gotta be sure not to press any buttons
NVIUFNVHIUGNFV
no vc for me
Oh well.
earphones are acting up
I completely understand.
just gonna chill in OT 1
i was making fractal visuals today with javascript and html canvas xD
@misty sinew i played this for like 3 hours and now my hand hurts
!e
def unhex(hex_color: int) -> tuple[int, ...]:
r = (hex_color >> (8 * 3)) & 0xFF
g = (hex_color >> (8 * 2)) & 0xFF
b = (hex_color >> (8 * 1)) & 0xFF
a = (hex_color >> (8 * 0)) & 0xFF
return (r, g, b, a)
print(unhex(0xFF00FFFF))
@stuck bluff π€ did i show you this? way to turn hex to rgb / rgba without converting to string
@cold trellis :white_check_mark: Your eval job has completed with return code 0.
(255, 0, 255, 255)
played wha?
a game
does it have to be python? xD
huh?
cuz i remember fcc maid a tutorial for making an entire java game engine using opengl to then make a mario game with it
i am making it in python i got a dead line
ah xD
@craggy mauvehttps://www.youtube.com/watch?v=YWN8GcmJ-jA
A tutorial on how to create a 2D Mario-style platformer that covers all the fundamentals of this type of game: Level scrolling, collisions, player animations, dust particles and quite a bit more.
Timestamps:
0:00:00 - Intro & overview
0:02:00 - Setting up the level
0:25:29 - Creating the player
0:34:55 - Creating the player 'camera'
0:42:12 ...
assault cube
I used to watch this guy a lot when I was into pygame
hmm yea i am watching that but that would be copy if i just copy the code and dont implement anything in it
True
π well you could watch it to learn how to do it
then do it yourself afterwords
you don't have to copy him line by line
well if i copy it and implement something it would not be copy i am watching whole video it teaches so well
i am gonna add a gun type of thingy and and main menu
@misty sinew thats it you are going hard duh!! hahah
haha those people are good
unlocking characters after gaining a certain amount of coins
!e py print(int("0xFF00FFFF", base=0))
@stuck bluff :white_check_mark: Your eval job has completed with return code 0.
4278255615
what game are u guys playing :\
the famous shooter of Assault Cube
i'm playing making 2d visuals in html canvas xD its fun stuff
o- o well if what you call a pro is someone who earns money from it then you are one too aryan
lol
yeah ahaha
they are old
you left?
@misty sinew
Yeah I am done for today^^
ok guys gtg bye :D
ok cool
!e py a = 5 b = 6 c = a, b print(c)
@stuck bluff :white_check_mark: Your eval job has completed with return code 0.
(5, 6)
!e
foo = "1 2 3"
print(tuple(map(int, foo.split())))
@cold trellis :white_check_mark: Your eval job has completed with return code 0.
(1, 2, 3)
!e py text = "1 2 3" result = text.split(" ") print(result)
@stuck bluff :white_check_mark: Your eval job has completed with return code 0.
['1', '2', '3']
!e py data = ["1", "2", "3"] result = [int(v) for v in data] #if you especially wanted it as a tuple result = tuple(result) print(result)
@stuck bluff :white_check_mark: Your eval job has completed with return code 0.
(1, 2, 3)
!e py data = ["1", "2", "3"] result = tuple(int(v) for v in data) print(result)β
@stuck bluff :white_check_mark: Your eval job has completed with return code 0.
(1, 2, 3)
!e
data = ["1", "2", "3"]
def foo(obj):
return obj
print(foo(int(v) for v in data))
@cold trellis :white_check_mark: Your eval job has completed with return code 0.
<generator object <genexpr> at 0x7fed7e2f3c30>
data = ["1", "2", "3"] # O(n) memory
result = [int(v) for v in data] # O(n) memory
#if you especially wanted it as a tuple
result = tuple(result) # O(n) memory
print(result)
# total O(n*3) memory
data = ["1", "2", "3"] # O(n) memory
result = tuple(int(v) for v in data) # O(n) memory
print(result)β
# total O(n*2) memory
!e py a = "1", "2", "3" b = (*(int(v) for v in a),) print(b)
@stuck bluff :white_check_mark: Your eval job has completed with return code 0.
(1, 2, 3)
foo = 3000
bar = 3000
print(foo is bar)
baz = 3000
buz = 4000
buz -= 1000
print(baz is buz)


