#voice-chat-text-0
1 messages ยท Page 985 of 1
"etymology shoot the breeze"
thanksd
Hi @whole bear
well a little messy hahaha
lol
xD
@gusty birch
you know python right
its the error WinError 10061
you know how to fix that?
ah ok
do you have him added?
๐
Add me on the linkedin guys
What secret? ๐
Nah sorry
I used to know a bit of C++
But I've pretty much forgotten it.
It is still pretty active I think ๐ค
HAI 1.2
CAN HAS STDIO?
VISIBLE "HAI WORLD!"
KTHXBYE
kthxbye ๐
Have you heard of Befunge?
Erm, it's a 2d language.
So, you direct the flow of control around with arrows.
Example from the wiki page: ```
v>>>>>v
12345
^?^
? ?^
v?v
6789v
^ .<
Whitespace
Hello world in whitespace: ```
Guys, I am sorry but maybe I will send a lot of messages, just to have the 50 messages requirement
really?
hahaha
Yep, please don't spam to meet the requirement.
Ok โค๏ธ
It won't take long to reach it dw.
It's not an image.
It's the actual code
Try selecting it ๐
@stuck furnace my bad for ping but do yk error code 10061
Erm, not off the top of my head ๐ค
What's the context?
so i was just messing about and decided i was going to try to make a booter not for malicious use only for me because i was bored and now i am stuck and curious how to fix it lol
ive turned firewall and everything off
nocks my net off
๐
I SAID NOT FOR MALICIOUS USE LOL
it was only for me and to test on my friend which i got permission from
only sending around 500 request
its not that heavy of a load
All the same, we can't help with that sorry.
like 40 gigs
its been sent to me before
not fun
well this was because of a game call RUST
and there was a shitter
who was bad
and got mad
!rule 5
5. Do not provide or request help on projects that may break laws, breach terms of services, or are malicious or inappropriate.
its not malicious
i believe you have but im not wanting to do that
i started a code and want to finish it but cant ๐ฆ
Yeah it's just not something we help with. We're not a security-oriented server.
!guilds
Communities
The communities page on our website contains a number of communities we have partnered with as well as a curated list of other communities relating to programming and technology.
thats what i was thinking of doing
can u atleast tell me if there is a error in the code if i send it to you
understandable
but its just for my router lol im not wanting to do a malicious attack because its very very very very very wrong doing
understandable
Yeah we have no way of verifying how you intend to use it.
dangit
i was just trying to break my old router
is it that bad @sour imp
no i want to do it in a fun way where i learn
yea i stay safe on my digital footprints
well if i want to shut a system down i will run to there house and delete system 32๐จ
@sour imp i have a question
u are a a hecker
hecker
not hacker
but hecker
hecker is a nice hacker
yes
no
king
YES
who said destroying
i mean restart a router
yds
yes
no
kate can i dm u something i found on yt
which is crazy
its a video it will just pop a icture
picture
no need to clcik it
LOL i FELL FOR ONE OF THOSE
You'd be surprised how many people do ๐
Call me man? 
how many years into python
You might need to refresh yeah.
@sour imp IK that
i never said it was right

@somber heath how many years in py
yes
@somber heath you call me kritix.
absolute value is this 8th grade math
yee
ill send u the book in dm
The new edition of an introductory text that teaches students the art of computational problem solving, covering topics ranging from simple algorithms to information visualization.This book introduces students with little or no prior programming experience to the art of computational problem solving using Python and various Python libraries, inc...
Oh, I have a copy of that.
@thick swan thank-you
f = c**2 + 3*c + 9
g = -2*c**2 + 10*c + 8
intersect(f, g, 1, 3, 0.000001)
expected output = 2.1804604
โ @thick swan can now stream until <t:1646199846:f>.
Oh right ๐ค
@thick swan you want to find roots of a polynomial?
So you have to find the point at which f(x) == g(x), which is the same as when f(x) - g(x) == 0.
Alex
I would abstract away the f and g, by defining a new function h(x) = f(x) - g(x).
def intersect(a, b, eps):
c = (a+b)/2
f = c**2 + 3*c + 9
g = -2*c**2 + 10*c + 8
tot = (f - g)
while (tot != 0) or (abs(tot) > eps):
if tot > 0:
a = c
if tot < 0:
b = c
c = (a+b)/2
f = c**2 + 3*c + 9
g = -2*c**2 + 10*c + 8
tot = (f - g)
return c
x1 = intersect(1, 3, 10**-9)
I mean you could write a function py def find_root(fn, lo, hi): ... And then define your intersect function in terms of it: ```py
def intersect(f, g, lo, hi):
def h(x):
return f(x) - g(x)
return find_root(h, lo, hi)
f(x) - g(x) is also quadratic right.. you need to find zeros of it that's all..
find zeros,, then check if it is in domain...
So what you're doing here is a binary search right.
That method is for general polynomials...
This won't work... for general polynomials....
You know that the intersection lies between a and b. Each step you can take the midpoint of a and b, and discard half of the points.
Mhm
So think in terms of the function h(x) = f(x) - g(x)
We can't find zeros of general polynomial algebraically.. polynomials whose degree > 4
Is it assumed that there is exactly one intersection in the given range btw?
But the bisection method is for general polynomials...
Ah right. So h(x) either goes from negative to positive, or positive to negative.
looks dope
Then you should replace a with c.
Otherwise, h(c) has the same sign as h(b), so you should replace b with c.
Do you get what I mean?
Yep
Note I'm talking about the sign of h(x), not x.
Where x is a, b, or c.
Yep
good luck on your project
f(x) - g(x) is always a polynomial... it comes down to finding zero for f(x) - g(x)...
For qudratic, we know a algebraic formula...
-b +- (b^2 - 4ac)^0.5 / 2a
So we don't need this method for quadratics..
Erm, I tried to make a graph to explain it a bit better: https://www.desmos.com/calculator/asjvlqgft0
๐ Geno
This important question is... do you think he will accept this solution... or is he expecting you to implement this alogorithm to find general solution for all polynomials...
๐
Try moving the blue and red dots around. The blue line represents a, the red line represents b, and the purple line represents c = (a + b) / 2. Think about the cases where purple line lies either to the left or right of the root.
I didn't know.... wow, it works for general continuous function... that's cool....
Yep, so you either reject the region to the left of the purple line, or to the right.
Yeah Ay, so you need to replace the endpoint x for which sign(h(x)) = sign(h(c)).
The first rule of recursion club: refer to rule 1.
Basically you want to find the root whether the function is increasing or decreasing.
exactly
Right, the reason you can use the bisect method, is that there is a condition which is false for all points to the left of the root, and true for all points to the right of the root.
use two more variables
a2 = b
b2 = a
run both... at the same time in the same loop and check and break whichever meets first...
Think in terms of the simpler problem of finding the root of f (the point where f(x) == 0).
You start with two points either side of the root.
They must have different signs when passed through the function.
hello!
I.e. one point is below the x-axis, and the other point is above.
So because one of them is above the x-axis, and the other is below, and the function is continuous, it must pass through the x-axis.
Let's say the root is k.
All the points in the range from a to k have the same sign.
All the points in the range from k to b have the opposite sign.
When you take the midpoint of a and b, you get the point c = (a + b) / 2.
If c is to the left of k, then it will have the same sign as a.
If c is to the right of k, then it will have the same sign as b.
Btw, sorry, I mean the same sign when passed through the function f.
So if sign(f(c)) == sign(f(a)), then you want to let a = c.
If sign(f(c)) == sign(f(b)), then you want to let b = c.
I'm not the best at explaining sorry 
You could define a sign function, or you could just check that f(a) * f(c) > 0.
It would be helpful though to define the function f.
Btw, sorry if this is confusing but what I'm calling the function f is the function f - g.
I should have given it a different name like h.
But I would actually define a function within intersect.
Like ```py
def h(x):
return f(x) - g(x)
Ah yeah, those are numbers rather than functions though.
Yep, so I would define h inside intersect. It will make your life easier.
The problem of finding the intersection of f and g is the same as the problem of finding the root of h.
Your function needs to take an argument.
Yep, syntax error though 
Missing )
Close parenthisis
So now you can forget about f and g, and just use h.
Yep
Erm, I think you want that to be abs(a - b) right?
Because you want to stop when you've narrowed down the interval enough.
๐
Yep, in each iteration of the loop, you find the midpoint.
Then you need to decide whether to replace a with the midpoint, or b.
So if the sign of h(a) matches the sign of h(c), you know that c lies to the left of the root.
An easy way to check if they have the same sign is to multiply them, and check if the result is non-negative.
Because if they're both positive, their multiple is positive.
If they're both negative, then their multiple is also positive
But if their signs differ, then their multiple is negative.
0
Not == ๐ค
positive means >0
You want to check if it is greater than 0 right.
=
No worries ๐
ngl I forgot too
how did you guys manage the load of all the env vars?
i was thinking on create a class and load all the env vars there
and after that just use inheritance to access to all the env vars
on python

Yeah, I would like to make a better graph sorry 
This would be so much easier if I could draw a diagram ๐ค
Found this diagram:
Substitute f for h.
But let's say it sloped downwards instead.
Don't think about f, g... only about h
If it slopes up then f(a) < 0 and f(b) > 0.
If it slopes down then f(a) > 0 and f(b) < 0.
When you refine the interval, you discard half of the interval.
In the above diagram, the midpoint becomes the new a
Because, it's on the same side of the root as a.
Yep ๐
else: block..
On the next iteration, the midpoint looks as if it would lie to the right of the root.
So then that would become the new b.
We're using the test h(a) * h(c) > 0 to check that a and c lie on the same side of the root.
You've got it I think ๐
Nah it's fine ๐
What is h(c) in that diagram? ๐ค
Where is the point with coordinates (c, h(c))?
So c on the x-axis, and h(c) on the y-axis.
Yep
And h(a) is also negative.
So their multiple is positive yep ๐
No prob ๐
Anyway, I gtg too, cya ๐
gn!
Later!
@stuck furnace do you sleep?
Maybe, maybe not ๐
hii
I writing code, you?
๐ข 0
go to #bot-commands and run !verify
or ask someone how to be voice verified
#bot-commands
brb
same
idk why
no
if we get the id of the channel we can link it
now go have a convo with a few strangers
run a few commands
do shit
because to get the role you need to take part in the server
dam
HURL-OH-SEVENTY-SEVEN
hello former pink-person
dw pyweek's coming along
join the jam โข๏ธ
its just a mini code jam
i just know
never used
freecodecamp has a docker course btw
or just stick to their docs
buddha chris
๐
send the ss
lol
isolated environment + way waster
wait it works for me on windows out of the box
i just never used it enough
haha
that was the job of eivl /j
/j is typo no?
ffs this is looking spam
just kidding

๐
@wind raptor ๐ค
and that's how the Grinch learned to love Christmas
nice
dont โ๏ธ
gotta put away the dishes
Got asked to require MFA for a GitHub org
It kicked over half the people
biologists
I have the power!
And all it does is make me feel like a bad person for kicking people
wait is mfa like 2 factor thing
whats the full form
2FA = "two factor authentication"
MFA = "multi factor authentication"
oh
"MFA" is a more general term
2fa subset of mfa
MFA == Mother Fucking Awesome
understandable
what's 2FA then
speaking of distro , has anyone used popOS ๐ฅด
kinda interested in setting up mac theme in it
if thats cool ^^
I've been meaning to try pop
try
Coca-Cola
vintage
Pespi?
What are we Amish?
We can afford real soda
You can. You'll just really really regret it
live boot
?
hmm
i have had so many problems with my nvidia graphics driver so i usually keep myself away from linux lol
Then get me a ๐ฉ and call me Amish because I prefer Pepsi
if only i could sort some distros which comes with out of the box drivers
๐ฉ
Here you go you Amish Pepsi loving heathen
\๐ฅซ
I hate to tell you guys, the Amish don't drink Pepsi
Would you like some well made furniture or a Wednesday barn raising?
distracted ?
almighty dev build watermark
- i can not go back to stable
pain^:woozy:
done the dishes

lmao
One of us!
What about a Thursday barn raising?
๐
It would help if I sent messages in the right channel
how does it feel when you send ss which shows this and people reply you with "activate your windows man" though it is activated ๐ฅด
๐
nah i have the dev build
@rugged root - My Microsoft 365 license automatically updates Pro to Enterprise
speaking of the annoying watermark
there's some third party application to remove it tho
Wait
i forgor the name
Did they get rid of Pro?
oh
Ahhh, okay
i got it free due to microsoft teams school account lmfao
yes
.topic
nft heists
N/A
One liners belong in js
@rugged root - What license do you get at work?
cya
@plain rose cyaa
@sweet lodge you are on insiders right?
Yep - Insiders for everything
365 targeted release
Office beta
Windows Insider
speaking of startup
what makes people to leave FAANG/giant techs and start their startups ๐ฅด
oh nice
they dont even allow the option to switch to stable 11 but to install 10 wtf
No paauuunch!
If they come out with a new version, they could call it Edge Straight.
I'll be in the shame corner.
...that's not quite what they call me.
I went to school with someone who had a seizure because of how much energy drink he had.
@rugged root "Hello, my name is Gwen."
When you're on the beta builds, you're on a specific build, and you have a clear path to the release build
Dev is no longer tied to a specific build, so there's no straight line to get back to stable, so it requires you to reset to the latest stable
Nor is it coffee. Not really. Not reeeally.
Espresso has more caffeine than a cup of normal coffee if you have a cup of espresso.
i see , so it requires a fresh install of win11 i suppose?
leaving the insiders build will just stop the machine for receiving updates ig
Our kettle has temperature buttons.
I have a sleep rhythm. Sort of.
Sometimes it's a bit Persistence of Memory.
Body clock wise.
The Persistence of Memory (Catalan: La persistรจncia de la memรฒria) is a 1931 painting by artist Salvador Dalรญ and one of the most recognizable works of Surrealism. First shown at the Julien Levy Gallery in 1932, since 1934 the painting has been in the collection of the Museum of Modern Art (MoMA) in New York City, which received it from an anony...
Australia would be good if not for the whole pet quarantine thing, right?
Same with New Zealand.
Ireland would seem to make the most sense, given you were going there anyway.
Oh, so they know where it is?
Weasel! That's the name I was trying to remember the other day.
The closest I got was squeal.
@rugged root
tkinterbell
Sharp corners and vertices are...not great.
Write your resume in Python.
Carly Linux.
import *
exec("""
print('hello world')
""")
Metaprogramming is a programming technique in which computer programs have the ability to treat other programs as their data. It means that a program can be designed to read, generate, analyze or transform other programs, and even modify itself while running. In some cases, this allows programmers to minimize the number of lines of code to expre...
No.
!e
exec("""
print('hello world')
""")
@zenith radish :white_check_mark: Your eval job has completed with return code 0.
hello world
^
Metaprogramming is like...everything, man...it's part of the universe and so are you...you are the program...and the coder...
This is for metaprogramming with python
this but unironically
Beefstring.
Jouleia.
Nyaww
Dunno...
Voice gate?
hard to think it happens automatically
ya...
but internet is cabled and stable so ya
We didn't kick you
ok cool dunno what happened then
I would be the only one active in voice with that power
In fairness it's Discord. There's lots of little bugs going on with VC lately
Yeah sorry it happened to you!
Wish I had an answer other than "I didn't do it"
Tigger
no worries ๐
hello! i was just gonna ask if there's any way you can make this code shorter? and maybe make it able to ask for the pin again if you entered the wrong pin? sorry to bother,, btw here is the code
Beyond that, we're more than happy to have you around, even if you're not voice verified. We have this channel for folks who can't/prefer not to speak so that no one gets left out of the conversation
"Soon."
You screw with a people enough, there's going to be a swing back, and they're going to be more willing to follow some people and ideologies that they shouldn't in pursuit of that.
I don't like this.
That is Rodrigo Duterte. Current president of the Philippines.
Rescatux 0.73 desktop Rescatux is a Debian-based live distribution featuring a graphical wizard for rescuing broken GNU/Linux and Windows installations and boot loaders. Rescatux 0.73 hands on video https://www.youtube.com/watch?v=cusq-ZI3-2E Rescatux 0.32b3 Tutorial video http://www.youtube.com/watch?v=dGA8e_A2PeA VIDEOS - Boot Info Script, Cha...
Seems like a good tool for what I do
Yes. I don't like it.
Endowed with sentience a damaged police bot Chappie has the ability to learn quickly. However his hoomon family of gangstas corrupt Chappie's innocence.
Die Fuck mother.... boom!
I don't own Chappie's intelelctual property, Chappie is made my Columbia pictures and MEdia Rights Capital and Kinberg Genre
Yeah, the Dutch were super into slavery back in the day.
This is how I imagine every south african talks
Oh ZULU. I heard Sulu
It's just like this tribe of people, and they're all George Takei.
Leave snakes alone, and they'll generally leave you alone.
that's me...
Venomous
are you sure it wasn't special school...
If you bite it and you die, it's poisonous. If it bites you and you die, it's venomous.
What if it bites you and someone else dies
Voodoo.
because of the bite?
Holy crap
2 friggin TB
Vote Ricity!
I remember being impressed seeing a microsd card that was 1 or 2 TB a while back.
same problem in India sometime
All the world's a stage.
you at least have samsung have chines redmi ha ha
i want know that any one uses macbook if yes i have question
I wonder how sensitive to shock, heat, use, etc, they'd be vs lower capacities. I suppose it'd not necessarily be correlated.
Yeah not sure how they'd test it
And I can't get another one of the kind I currently have, as the company doesn't make them anymore
my MacBook battery is full and forgot to unplug does MacBook unplug itself?
Some part of me wonders that with the increased density, that would necessarily mean finer components that would take less of a beating to kill them.
such cool thing
I've had that thing for over a decade
But it's only 16GB
So ideally I want one that's got more storage and is USB 3
@rugged root working
how much you paid for that
I don't remember, it's been a long time
dang 10 years and still works huh
I'm telling you, this thing is insane
It looks like a launch key.
I didn't expect it to last like 1
backup for keychain
I'm spoiled by this one. No idea if something larger and with USB 3 would last nearly as long
And it's hard to find reviews for them that would have that kind of longevity
It is always better to use your device on a charge - discharge cycle. This means that for best battery maintenance, you should plug in the device when it is powered down (say around 15%) and then unplug when it is 100% charged. This would be the ideal usage and will prolong battery life.
@rugged root which brand
Visit us, explore, and be inspired by premium external hard drives, SSDs, and RAID solutions that give you field-proven reliability and bold performance. Trek the globe with Ruggedยฎ durability, sprint through projects with Thunderboltโข speed, and easily connect to the latest USB-C computers.
freelancer is good to make money in samll age
where are you from?
oh nice to meet you am from india
cool!
cya and gl
This old one
oh what
It's 404ing
there you go
my mistake, I thought it was kingston
I'm always wary of plastic
no plastic? good luck
from... 10 years ago...
oh really?
wow
ok
I mean it probably won't last 10 years hahaha
Yeah and that bums me out
pretty good though, might lose it if you're not careful lmao
But they're dirt cheap now so I probably shouldn't sweat the small stuff
would you say the 512 is less stable than the 256?
Potentially yeah
That used to be a thing, right?
But it's less likely to be an issue now
https://www.amazon.com/Samsung-BAR-Plus-128GB-MUF-128BE3/dp/B07BPKKTGL/
https://www.amazon.com/SanDisk-128GB-Ultra-Flash-Drive/dp/B07SYB38Q8/
These are the two I'm currently considering
And the fact that they're USB 3.1 is just a bonus
Oh huh
Forgot that SanDisk made the standard for CompactFlash
full cast metal. Wow. I'm impressed that's a thing
Right?
Might buy a couple today...
lol dude it's full cast metal. Bought two.
Which one?
!stream 222534282168631296
โ @cyan stirrup can now stream until <t:1646243737:f>.
You have me curious
@cyan stirrup , I use obsidian... its cool... what's the problem
tab is weird. Idk what it does, or how to do what i think it should do.
I also don't know what the functionality is called to start learning more about it
Like what...
example
Okay, never noticed it... I use vim bindings...
@cyan stirrup , I think you should learn vim... it will make your life way easier, if you type constantly...
@cyan stirrup This'll be handy as well
And the article is right that these kinds of things apply damn near everywhere
nice! thanks!
yes
unless... I don't
๐ค
It's just the ability to swap to a different window easily
oh then yes.
Hold Alt, press tab to cycle through
Yeah
Another fun one is, if you're on Windows, instead of hitting Ctrl+Alt+Delete to get to the task manager, you can do Ctrl+Shift+Esc, and that'll take you directly to the Task Manager
May work on other OS, not sure
I haven't used it as much since I installed a 3 monitor setup
On (most) Linux distros I know you can CTRL+ALT+T to open a terminal window
Another interesting one, on Windows you can hit Win+X, and that'll bring up a little window of handy shortcuts to various settings, as well as to PowerShell or Windows Terminal in Administrator mode
It's so fascinating that there are so many little shortcuts that are just laying in wait, ready to be useful
Except StickyKeys
Fuck you StickyKeys
Oh oh, two more (although they're still Windows specific, sorry). If you do Win+Tab, it'll give show you all of your windows and where they're at on their respective monitors
The other one is for quick access to the snipping tool. I'll list that when I get back to my desk
Win + Shift + S, I think.
I couldn't get org mode to work nicely with syncing to CalDAV for other people to view / edit.
@terse needle why is your IDE dirty, clean it
what
tokens...
it is dirty
what
what is that green dirt?
https://en.wikipedia.org/wiki/Part_of_speech or lexical items
In traditional grammar, a part of speech or part-of-speech (abbreviated as POS or PoS) is a category of words (or, more generally, of lexical items) that have similar grammatical properties. Words that are assigned to the same part of speech generally display similar syntaxic behavior (they play similar roles within the grammatical structure o...
oh
@cyan stirrup https://en.wikipedia.org/wiki/Lexis_(linguistics)
In linguistics, the term lexis (from Ancient Greek: ฮปฮญฮพฮนฯ / word) designates the complete set of all possible words in a language, or a particular subset of words that are grouped by some specific linguistic criteria. For example, the general term English lexis refers to all words of the English language, while more specific term English religio...
std::cout << "Hello World!" << std::endl;
pub fn run<T, F: FnOnce() -> T + Send + 'static>(main: F) -> T where T: Send + 'static {
main()
}
last week, I was playing around with C++... for 1hr... I was trying to compile C++ with gcc instead of g++.. error, architecture not found...๐ข , I spent 1hr like.. "is my complier broken... what the fuck.."...
@vocal coyote You've got lots of background noise
Kreya: The ultimate gRPC GUI client. Calling APIs made easy. File based storage for easy git syncing.
Vala is an object-oriented programming language with a self-hosting compiler that generates C code and uses the GObject system.
Vala is syntactically similar to C# and includes notable features such as anonymous functions, signals, properties, generics, assisted memory management, exception handling, type inference, and foreach statements. Its d...
Synonyms for veil from Thesaurus.com, the worldโs leading online source for synonyms, antonyms, and more.
Hey @terse needle what you working on?
Boids simulation in C
Trying to create some flocking behaviour, and getting a little distracted by spirals along the way...
Links and Resources:
Project source: https://github.com/SebLague/Boids/tree/master
Boids paper: http://www.cs.toronto.edu/~dt/siggraph97-course/cwr87/
Points on a sphere: https://stackoverflow.com/a/44164075
Fish shader: https://github.com/albe...
This is so cool! Didn't know this was a thing
@molten pewter "The bagel virgin"?
Perfectly toasted
@terse needle - What's this 0xbebebe... address?
common address used for address sanitisation
to check memory fuckery hasn't occurred
like leaks and stuff
I see.. But where does this address come from?
I'm not quite sure about the intricacies of why it's used
Ah cool
@whole bear How've you been? Haven't seen you in a while
i've been alright thanks. how are you?
ive been buisy with school work
perfect
Been alright. Between here and tax season I've been pretty exhausted, but I'm still happy where I'm at
hey guys how is everyone
Good, 'bout you?
ooooh taxes -.- yuk
very tired and sleepy but need to study
Thankfully I don't have to process them. But we've had a lot of tech issues and new hardware and what have you
So IT wise I've been running around a lot
can we talk about cats now
@whole bear The maggot talk is done now
lovely
Figured that's why you deafened
I grant it on a temporary basis as needed. The folks who have it on permanently are either grandfathered in from the old system or are folks I've personally vetted and trust
Darn it I should've come 10 minutes ago
LP * 5, hmmmm
basically the mystery will be kept...
what we talking about here
is it possible to make a rocket or drone without an engineering degree
or expieriance
you can hire others to make a rocket, actually, several if you're a big politician
model rockets..
@zenith radish you're drive is impressive
@zenith radish : it's about the drive, it's about the power
we stay hungry we devour

Yeah, you have to admire the dedication.
train rats to carry c4
and pigeons grenades
But it's kind of like watching someone trying to get a spoon out of a boiling pot
step 1: lift pot, step 2: decide to go lift some weights because you can't lift the pot
i mean that is possible just with the aftermath of pain and a possible hospital visit
After a while you just get enough scar tissue
and taking a nap in a casket
It's like organic gloves
oooor use a tool if it is not necessary to use your hand in this weird game
Comparison, not game
LP the kid was 16, obvi the relationship is the younger you are the better you can create nuclear weapons
so i have the best chance out of anyone here
the only thing stopping me from doing something like that is possible jail time due to my suspicious purchases
David Charles Hahn (October 30, 1976 โ September 27, 2016), sometimes called the "Radioactive Boy Scout" or the "Nuclear Boy Scout", was an American man who built a homemade neutron source at the age of seventeen.
A scout in the Boy Scouts of America, Hahn conducted his experiments in secret in a backyard shed at his mother's house in Commerce T...
suspicious purchases
intriguing
Were the suspicious purchase before the uranium or.....
so, context is, lp wants to make a nuclear reactor?
no...
then context
I'm trying to prove that anything is possible and that nay-sayers are just boors
no, a dirty bomb
if you wanna make a nuclear reactor, make one
David Charles Hahn (October 30, 1976 โ September 27, 2016), sometimes called the "Radioactive Boy Scout" or the "Nuclear Boy Scout", was an American man who built a homemade neutron source at the age of seventeen.
A scout in the Boy Scouts of America, Hahn conducted his experiments in secret in a backyard shed at his mother's house in Commerce T...
While he never managed to build a reactor,....
hmmmm
maybe we shouldn't use uranium and bombs as an example to prove anything is possible
Water injected with oxygen (or an alkali, acid or other oxidizing solution) is circulated through the uranium ore, extracting the uranium. The uranium solution is then pumped to the surface.
hehe activate it like that
?
srry wrong word
who is the guy with the deep voice?
and what kind of mic and software it is using
hahahaha
come on!
HAHAHAHAH
@zenith radish you're doing actual things, so presumably the answer is no, but do you want to play geoguessr?
anyone wanna do a type race
What part of the code is tripping you up?
see ya
I donโt understand most of it,
Does def defin everything underneath it as integer_ etc @rugged root
Mkay, I'll try and break it down
I will
@sand ermine please be quiet
@sand ermine We don't want to hear your phone conversation. ๐
@rugged root Help?
It's okay, just try to be aware of that in the future. ๐
๐
Haven't had a good help session like that in quite a while
Helps remind me why I'm a part of this server
ohh my bad
God does not want me to pay my storage unit bill
Well to be fair you could throw a dart at Russia and you'd still have the same chance
The website just refuses to let me in or take my payment
Unless u know ur trees
Apparently bollards are also a big tell
It's Cars
The movie?
the movie
But yeah, the side of the road people are driving on helps as well
remove pan and zoom and move and lets make it hard cmon ๐ฅ
Oh god that sounds impossible
There could he another version of this that is restricted to various racetracks. Call it Geegeeoguesser.
@uncut meteor is missing his chance to shine 
:incoming_envelope: :ok_hand: applied mute to @zenith radish until <t:1646257918:f> (9 minutes and 59 seconds) (reason: duplicates rule: sent 4 duplicated messages in 10s).
!unmute 409107086526644234
:x: There's no active mute infraction for user @wise cargo.
!unmute 82578210453192704
:x: There's no active mute infraction for user @zenith radish.
Hey
Typically we suggest checking out the #โ๏ฝhow-to-get-help channel and using the help system. But if it's something pretty quick, you can always drop your question in here and we can take a look
Ok
But it's likely that everyone's a bit distracted with GeoGuesser
What's a T second?
Well LP told me where it was
ยฏ_(ใ)_/ยฏ
Go Furyo!
I wonder ๐ค
Pretty sure this is Berlin
Should have zoomed in further 
@rugged root https://en.wikipedia.org/wiki/Tianducheng
Ah no 
learned of it from this mv https://youtu.be/hTGJfRPLe08
Taken from the album, In Colour, out now on Young Turks.
Get the vinyl and more here: http://yt-r.uk/InColourYT
Directed by Romain Gavras
Produced by Iconoclast
Executive Producer: Roman Pichon Herrera
Line Producer: Arnaud Le Mรฉnรฉ
Production Coordinator: Mรฉlodie Buchris
Director of Photography: Mattias Rudh
Movi and Drone Operator: M...
Go Charlie ๐
It's where I thought it was, but I didn't know where that is ๐
Ohh I know this ๐
Like the most famous house in the world...
:partydog:
Ahh second guessed myself :C
KJ, you joining? ๐

๐ค
I don't actually know where in Paris it is, despite having been there...
Oh yeah, this is down the street from me
This is a very famous place ๐
I used to be really into architecture
nerf LX
Ahhh, I've been there ๐คฆ
gg
@gentle flint loud noise
Big clue on the sign
"KAFKA MUSEUM"
To be fair the building its in is the one your would recognise.
Sitting this one out. Back in a bit ๐
Just the one I think ๐ค
He designed several buildings around Barcelona though.
Honestenge.
if __name__ == "__main__":
print("this file is being executed")
whole, remainder = divmod(numerator, denominator)
what if futur depand on apps, what will happend
and windows use apps
and linux so on
!e py a = 250 b = format(a, "x") # x is hexadecimal print(b)
@somber heath :white_check_mark: Your eval job has completed with return code 0.
fa
!e print(int("fa", base=16))
@somber heath :white_check_mark: Your eval job has completed with return code 0.
250
!e ```py
hexes = []
for i in range(50):
hexes.append(format(i, "x"))
print(hexes)```
@somber heath :white_check_mark: Your eval job has completed with return code 0.
['0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '1a', '1b', '1c', '1d', '1e', '1f', '20', '21', '22', '23', '24', '25', '26', '27', '28', '29', '2a', '2b', '2c', '2d', '2e', '2f', '30', '31']
!e py text = "apple" new_text = text[::-1] print(new_text)
@somber heath :white_check_mark: Your eval job has completed with return code 0.
elppa
!e ```py
def func(v):
return format(v, "x")
print(func(60))```
@somber heath :white_check_mark: Your eval job has completed with return code 0.
3c
def integer_to_reverse_binary(integer_value):
reverse_binary = ''
while integer_value > 0:
reverse_binary += str(integer_value % 2)
integer_value = integer_value // 2
return reverse_binary
def reverse_string(input_string):
return input_string[::-1]
if name == 'main':
intger_value = int(input())
input_string = int_to_reverse_binary(integer_value)
print(reverse_string(input_string))
!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.
!d format
format(value[, format_spec])```
Convert a *value* to a โformattedโ representation, as controlled by *format\_spec*. The interpretation of *format\_spec* will depend on the type of the *value* argument; however, there is a standard formatting syntax that is used by most built-in types: [Format Specification Mini-Language](https://docs.python.org/3/library/string.html#formatspec).
The default *format\_spec* is an empty string which usually gives the same effect as calling [`str(value)`](https://docs.python.org/3/library/stdtypes.html#str "str").
A call to `format(value, format_spec)` is translated to `type(value).__format__(value, format_spec)` which bypasses the instance dictionary when searching for the valueโs `__format__()` method. A [`TypeError`](https://docs.python.org/3/library/exceptions.html#TypeError "TypeError") exception is raised if the method search reaches [`object`](https://docs.python.org/3/library/functions.html#object "object") and the *format\_spec* is non-empty, or if either the *format\_spec* or the return value are not strings.
!d slice
class slice(stop)``````py
class slice(start, stop[, step])```
Return a [slice](https://docs.python.org/3/glossary.html#term-slice) object representing the set of indices specified by `range(start, stop, step)`. The *start* and *step* arguments default to `None`. Slice objects have read-only data attributes `start`, `stop`, and `step` which merely return the argument values (or their default). They have no other explicit functionality; however, they are used by NumPy and other third-party packages. Slice objects are also generated when extended indexing syntax is used. For example: `a[start:stop:step]` or `a[start:stop, i]`. See [`itertools.islice()`](https://docs.python.org/3/library/itertools.html#itertools.islice "itertools.islice") for an alternate version that returns an iterator.
y
reverse_binary = ''
while integer_value > 0:
reverse_binary += str(integer_value % 2)
integer_value = integer_value // 2
return reverse_binary
def reverse_string(input_string):
return input_string[::-1]
if __name__ == '__main__':```
reverse_binary = ''
while integer_value > 0:
reverse_binary += str(integer_value % 2)
integer_value = integer_value // 2
return reverse_binary
def reverse_string(input_string):
return input_string[::-1]
if __name__ == '__main__':
integer_value = int(input())
input_string = int_to_reverse_binary(integer_value)
print(reverse_string(input_string))
reverse_binary = ''
while integer_value > 0:
reverse_binary += str(integer_value % 2)
integer_value = integer_value // 2
return reverse_binary
def reverse_string(input_string):
return input_string[::-1]
if __name__ == '__main__':
integer_value = int(input())
input_string = int_to_reverse_binary(integer_value)
print(reverse_string(input_string))```
def integer_to_reverse_binary(integer_value):
reverse_binary = ''
while integer_value > 0:
reverse_binary += str(integer_value % 2)
integer_value = integer_value // 2
return reverse_binary
def reverse_string(input_string):
return input_string[::-1]
if __name__ == '__main__':
integer_value = int(input())
input_string = int_to_reverse_binary(integer_value)
print(reverse_string(input_string))
def integer_to_reverse_binary(integer_value):
reverse_binary = ''
while integer_value > 0:
reverse_binary += str(integer_value % 2)
integer_value = integer_value // 2
return reverse_binary
def reverse_string(input_string):
return input_string[::-1]
if __name__ == '__main__':
integer_value = int(input())
input_string = int_to_reverse_binary(integer_value)
print(reverse_string(input_string))
File "main.py", line 7
return reverse_binary
^
IndentationError: unindent does not match any outer indentation level
2
01
10
def integer_to_reverse_binary(integer_value):
reverse_binary = ''
while integer_value > 0:
reverse_binary += str(integer_value % 2)
integer_value = integer_value // 2
return reverse_binary
def reverse_string(input_string):
return input_string[::-1]
if __name__ == '__main__':
integer_value = int(input())
input_string = integer_to_reverse_binary(integer_value)
print(reverse_string(input_string))
def int_to_reverse_binary(integer_value):
reverse_binary = ''
while integer_value > 0:
reverse_binary += str(integer_value % 2)
integer_value = integer_value // 2
return reverse_binary
def string_reverse(input_string):
return input_string[::-1]
if __name__ == '__main__':
integer_value = int(input())
input_string = int_to_reverse_binary(integer_value)
print(string_reverse(input_string)) ```
!if-name-main
if __name__ == '__main__'
This is a statement that is only true if the module (your source code) it appears in is being run directly, as opposed to being imported into another module. When you run your module, the __name__ special variable is automatically set to the string '__main__'. Conversely, when you import that same module into a different one, and run that, __name__ is instead set to the filename of your module minus the .py extension.
Example
# foo.py
print('spam')
if __name__ == '__main__':
print('eggs')
If you run the above module foo.py directly, both 'spam'and 'eggs' will be printed. Now consider this next example:
# bar.py
import foo
If you run this module named bar.py, it will execute the code in foo.py. First it will print 'spam', and then the if statement will fail, because __name__ will now be the string 'foo'.
Why would I do this?
โข Your module is a library, but also has a special case where it can be run directly
โข Your module is a library and you want to safeguard it against people running it directly (like what pip does)
โข Your module is the main program, but has unit tests and the testing framework works by importing your module, and you want to avoid having your main code run during the test
!e py my_dict = {"Apples": 5, "Pears": 3} a = my_dict["Apples"] print(a)
@somber heath :white_check_mark: Your eval job has completed with return code 0.
5
!e py my_dict = {"Apples": 6} my_dict["Pears"] = 8 print(my_dict)
@somber heath :white_check_mark: Your eval job has completed with return code 0.
{'Apples': 6, 'Pears': 8}
!e py my_dict = {"Apples": 4} a = my_dict.get("Apples", 0) b = my_dict.get("Pears", 0) print(a) print(b)
@somber heath :white_check_mark: Your eval job has completed with return code 0.
001 | 4
002 | 0
!e py text = "abcdefg" for character in text: print(character)
@somber heath :white_check_mark: Your eval job has completed with return code 0.
001 | a
002 | b
003 | c
004 | d
005 | e
006 | f
007 | g
character = "a"
print(character)
character = "b"
print(character)
character = "c"
print(character)```
!e
text = "abcdefg"
for smurf in text:
print(smurf)
@pallid hazel :white_check_mark: Your eval job has completed with return code 0.
001 | a
002 | b
003 | c
004 | d
005 | e
006 | f
007 | g
!e py for i in range(10): print(i)
@somber heath :white_check_mark: Your eval job has completed with return code 0.
001 | 0
002 | 1
003 | 2
004 | 3
005 | 4
006 | 5
007 | 6
008 | 7
009 | 8
010 | 9
!e
res = []
x = 1
text = "abcdefg"
for smurf in text:
if smurf == 'a':
res.append(x)
else:
res.append(smurf)
print(res)
@pallid hazel :white_check_mark: Your eval job has completed with return code 0.
[1, 'b', 'c', 'd', 'e', 'f', 'g']
x = input
text = "x"
for char in text:
print(char)
no input in the bot here, so you have to trick it kind of.. provide a list, dict or other defined variable
!e
#x = input()
x = 'mypassword'
print(x)
@pallid hazel :white_check_mark: Your eval job has completed with return code 0.
mypassword
x = input()
text = "x"
for char in text:
print(char)
somevariablename = 'x'
text = input()
char = x
for char in text:
print(char)
!e pwd=input() d={8:B,6:&} for I,j in enumerate(PWD): if j in d.keys():PWD[I]=d[j]
Okay, so I have the problem where if I know of the right way to do something and the teacher is wanting you to do things in a different way, I get flustered and think of the most convoluted way to solve it.
pynoob was right about items..
So.
!e py my_dict = {"Apples": 5, "Pears": 4} for key, value in my_dict.items(): print(key, value)
@somber heath :white_check_mark: Your eval job has completed with return code 0.
001 | Apples 5
002 | Pears 4
!e py my_dict = {"Apples": 5, "Pears": 4} for item in my_dict.items(): print(item)
@somber heath :white_check_mark: Your eval job has completed with return code 0.
001 | ('Apples', 5)
002 | ('Pears', 4)
!e py my_dict = {"Apples": 5, "Pears": 4} for key in my_dict.keys(): #Same as for key in my_dict print(key) print() for value in my_dict.values(): print(value)
@somber heath :white_check_mark: Your eval job has completed with return code 0.
001 | Apples
002 | Pears
003 |
004 | 5
005 | 4
!e py text = "apples" text = text.replace("p", "k") print(text)
@somber heath :white_check_mark: Your eval job has completed with return code 0.
akkles
str.replace(old, new[, count])```
Return a copy of the string with all occurrences of substring *old* replaced by *new*. If the optional argument *count* is given, only the first *count* occurrences are replaced.
!e
new_char1 = 1
new_char2 = 'x'
exclude = new_char1, new_char2
text = 'abcd'
newtext = []
for char in text:
if char == 'a':
newtext.append( new_char1)
elif char == 'd':
newtext.append(new_char2)
elif char not in exclude:
newtext.append(char)
print(newtext)
print(exclude)
@pallid hazel :white_check_mark: Your eval job has completed with return code 0.
001 | [1, 'b', 'c', 'x']
002 | (1, 'x')
word = 'mypassword'
word = word.replace('i','!')
word = word.replace('a','@')
word = word.replace('m','M')
word = word.replace('B','8')
word = word.replace('o','.')
word = word + 'q*s'
print(word)
filters = {
"Happy": {
"Sky Color" : ["blue"],
"Time Of Day" : ["Noon","Twilight"],
"Weather" : ["Clear"]
},
"Terrible": {
"Sky Color" : ["Red"],
"Time Of Day" : ["Night"],
"Weather" : ["Thunder"]
},
"Okay": {
"Sky Color" : ["Grey"],
"Time Of Day" : ["Twilight"],
"Weather" : ["Overcast"]
}
}
df = pd.DataFrame.from_dict({
"Sky Color" : ["blue","blue","Red","Grey","blue"],
"Time Of Day" : ["Noon","Noon","Night","Twilight","Twilight"],
"Weather" : ["Clear","Thunder","Thunder","Overcast","Clear"]
})
# so far I have tried things like this
for item in filters.keys():
df.loc[(df[filters[item].keys()].isin(filters[item].values()).all(axis=1)),'Type of Day'] = item```



