#voice-chat-text-0
1 messages Β· Page 825 of 1
@whole bear can you please change your name
Change it for me if you got a issue
@whole bear read the rules
There's like 50 channels
also, https://pydis.com/rules
We're a large, friendly community focused around the Python programming language. Our community is open to those who wish to learn the language, as well as those looking to help others.
@quartz lynx pls shut kthx
@quartz lynx we can hear your background convo
Oh jheese man who has IW-SK Scorpion?
So I learned that it's a good the separate some critic files to different partitions for fixing the pc in some cases and etc but I couldn't figure out how can I encrypt them without formatting them does anyone know how to do that?
@graceful grail WHATS UP MAN!
Iβll be back in a little bit guys just eating dinner
Hard drive shredding
Are you guys working from home?
and burning?
π
Looks like sparks just from the shredding I donβt think itβs burning anything
could be
it's sparks from hard drive shredding
nothing was on fire
Linuxhackwr wonder what comes out of hard drive shredding, I said dust and I have a video
@flat sentinel i got a while loop test next week grade 10 python u think u can help me on that?
Btw, the shredder can handle drive caddies so we threw drives into shredder, caddies and all
thats a good shredder
also if u did something good will be multiplied...
yes
see yaa
escaper01 are you are muslim
In mathematics, the empty set is the unique set having no elements; its size or cardinality (count of elements in a set) is zero. Some axiomatic set theories ensure that the empty set exists by including an axiom of empty set, while in other theories, its existence can be deduced. Many possible properties of sets are vacuously true for the empty...
we use this kind of symbol as a prevention from people wants u to fail of bad luck
*or
this was the bottle
Did you mean:
reminder
reminders
remindme
remind
Reminders
Anyone have an idea?
GUYS YOU SAID THERE WERE TOOLS on this discord for solving such, right?
Ou
There's no option for fraction and if you use division it's going to need brackets which aren't there
I miss when math was funπ₯²
You are supposed to go from left to right when doing multiplication vs division.
So,
5*6/3-2
30/3-2
10-2
8
Got it @hollow bison ?
its saying i have active instacction
β’ You have an active voice ban infraction.*
!voice
Voice verification
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
Voice Chat 0
You're fine.
I been getting so much better at using the right Your π
It's not that I don't know the difference I just forget
someone tells me if im paranoid or not
Depends on what you're paranoid about
im schizo I can tell the difference
anyone free? I need abit of help with mySQL schemas
Not sure how much I can help, but I can take a look
I'm getting my data from https://rapidapi.com/bolorundurov/api/covidapi6 [Data for all countries]. And im trying to create a table from the data(json) but some the data nested...just wanted to know how to add it as a foreign key in that table
What tables do you already have and what are you wanting them linked to?
the states column has the data for the states, if i make it foreign key, what will be the primary key for the other table?
I can think of a way to do it with django ORM but not in SQL, lol, I need to start learning sql again π¬
Just don't drop your databases like me π
I have 1 postgres db hosted, and that never happened
tho once, I pulled from the wrong branch on git and ran the migration files
I'm actually re-teaching myself DB stuff again, so this is the perfect time for me to help
which messed up my postgres tables
rip
ye
Been a while since I've messed with the queries
Yeah, sadly my db was in a container and I didn't have any backups
Is states going into its own table?
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Here is the code for it and there is a picture example of it, it's crazy.
'address': 'Barbour, Alabama, US'
holala
o/
Hi mina o/
i was getting shut down by a guy that doesn't know what he's talking about
for work?
you let him shut you down?
constantly talking over me and interrupting me "but mina you're not getting X, Y, Z" and i'm like i knowwwwwwwwwww what you're talking about.
you literally don't know how databases work can you kindly shut up
i stopped talking and made a time out sign with my hands and forced them to stop and listen
actually what's funny
is everyone else in the meeting understood where i was going, buT THE ONE GUY WHO DOESn"T KNoW aNyThiNGggG had to speak his piece
beat him up
lolol
Eivl would be the best Santa
o/ @stuck furnace
o/
how are you doing
A bit delirious as I dozed off in the middle of the day π Other than that, good thanks, you?
@rugged root all the states listed are of uk,so what would be the value in I4
nothing wrong with taking a nap middle of the day haha
I am doing good too
Just woke up like "wtf happened, where am I"
happens π¬
Starting discovery in 1 files.
Discovering in /app/Invoke-Tests.ps1.
Found 15 tests. 115ms
Discovery finished in 214ms.
Running tests from '/app/Invoke-Tests.ps1'
Describing Check for server online
Context Ping Check
[+] Math Main is Online 167ms (117ms|50ms)
[+] Math Micro is Online 30ms (27ms|3ms)
[+] Date Main is Online 16ms (13ms|2ms)
[+] Date Micro is Online 17ms (14ms|3ms)
Describing Math Service
Context Micro
[+] Add Online 53ms (48ms|5ms)
[+] Subtract Online 14ms (12ms|2ms)
[+] Multiply Online 14ms (12ms|2ms)
[+] Divide Online 32ms (14ms|18ms)
[+] Expo Online 18ms (14ms|4ms)
[+] Remainder Online 18ms (15ms|3ms)
Context Main
[+] Calc Online 47ms (41ms|6ms)
Describing Date Service
Context Micro
[+] Day Online 33ms (29ms|4ms)
[+] Month Online 21ms (18ms|3ms)
[+] Year Online 16ms (14ms|2ms)
Context Main
[+] Today Online 35ms (32ms|3ms)``` So beautiful
π
its always scary to commit from git kraken than the terminal
yllig π
you can nominate me @rugged root π
!server
π
59 staff channels
Staff channels
yes exactly
you should ask jake to advise them
Oof
Not entirely wrong
that was joe that walk past hemlock and pub π
I love your angry rant stories
They're very satisfying for some reason
Understandably so
.randomcase just to play devils advocate
jusT To PLay deviLs aDVoCate
ugggh
Do you feel dirty for doing that? Because you should
wHy sHoUlD He
dude I hate it when people say that in a meeting
it's almost as bad as saying "lets loop back on this" or "we need to increase synergy"
uggggh
let's move that idea into the parking lot
shitty energy
corportate language for when you want to say a sentence but have it not mean anything
is this like the people who say "follow your dreams"
It's efforts which, when combined, result in an effect greater than the sum of its parts.
does anyone know React?
learning
nice, how, will you tell me please π
tHiS Is aN AuToMaTiCaLlY AlTeRnAtEd mEsSaGe
I've used react native in the past, but not plain react js
having an entire lineup of SPAAs is so cathartic
Each effort is, itself, improved by the efforts of others, and same for those efforts.
youtube π and docs
oof
just killing all the cas and helis
hmm, I watched 5hr video tuto by freecodecamp.org
now I guess I should move to docs
lol
π€
how OP are helis
they're just annoying, like for everyone
I just speed run videos and start a project and then google every little shit
but very easy to take down?
What were you doing mobile dev for?
that's how pros do it I guess π
don't you need to know react for react native? *Thonk
depends on the heli, but like, machine gun fire will work
ah
or a main gun round
the only time I flew a heli was during world war mode
it's easier to learn react native if you know react ^^
was just about to ask, how old are you actually
the issue is that like, you either get spawn camped by some guy with ATGMs late game, or rushed in spawn early game
honestly no idea, I've only ever used react native, so I should probably look into plain old react to see similarities.
Work π
I just watch the video and don't usually follow along
cuz it takes time
I just make note of what to use and when
then I just start a random project
I also don't know much css π
YES django docs are amazing @dense ibex
I try and use bootstrap
my friend asked me about how to learn javascript
so I told him you need to learn java first
been a week, he's struggling with java π
I think I should just tell him π now
thats not nice
yeah, childhood friend, you just gotta mess with em
like we played nintendo together
hey @frigid panther how do you create a react app?
npx create-react-app my-app?
cause this takes time, and a lot of npm modules are downloaded
thats the shortcut and also the best way I guess ?
Erm, making Wallace and Gromit gifs π
π
π€
I would make grilled cheese, but I only have one slice of bread 
Genius
- it's the end piece...
But everyone's touched it 
π
π¦
sorry to hear that, I will share my grill cheese with you.
Thanks. Can you ship internationally?
I was just watching news, the russian vaccine has like 80% potency, they calling it the ultimate vaccine
resistant against all mutants
just one shot required
instead of 2
I always believed in Lord Putin
Putin's huge in India π
Russia vs America is all usa's thing
not here
here we even adored Trump
it was a festival when he visited here π
I wonder why
Yeah, that's actually a thing...
Hemlock, did you see Starship landed successfully? π
@honest pier aviation is terrible in war thunder
Like my guy complains when we hit -5 g's like that would be fun
idk why he's complaining
π
the only reason I play war thunder is for aviation
g forces
- 5 lol
my planes hit even 12g
france
but if you want big guns, go USSR
germany has nice strike planes
40mm cannon on yak 9t/k
oh yes the bf109s
I have like 3-4 109s
3 spitfires
UK planes are fun
i'm at like, 3.0 on planes lol
π
which is basically useless
its so faking slow
even a prop plane will beat it
can't even catch a P-51
π
dogs are nice, but cats are smarter πΈ
@dense ibex have you tried realistic plane battles?
No, I dont think. Should I play those?
it's kinda wack lol
maybe?
I mean, you have to take off, land
mechanics get a lot harder
going at high speeds can break your plane
Also should I play air battles? or ground battles in air?
aircraft performance is more accurate
and spitfires love to break
what?
playing CAS is fun
So you know how there are ground battles with tanks and aviation
I usually take 4 tanks and 1 plane
ohh so you don't play full aviation
you can play CAS with the tanks which is nice
Okie
if you guys are bored https://smashkarts.io/
if you need to repair, you need to go back to base
or if you are out of ammo
or guns are jammed
I really need to learn some css to make sense of this thing
apparently i cant speak
!voice
Voice verification
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
Ah, maybe try chatting about python in #python-discussion, in one of our off-topic channels or help out in a help channel π
!ot Here are the off-topic channels
Off-topic channels
There are three off-topic channels:
β’ #ot0-psvmβs-eternal-disapproval
β’ #ot1-perplexing-regexing
β’ #ot2-never-nesterβs-nightmare
Their names change randomly every 24 hours, but you can always find them under the OFF-TOPIC/GENERAL category in the channel list.
Please read our off-topic etiquette before participating in conversations.
this looks really good π€©
I also played the video on 4k π
@dense ibex tutorial said don't shoot at the plane, shoot where the plane's gonna be in next moment
see you later guys π
Hello
No.
re: knowing sorting algorithms.
imo, it is important to understand the complexities involved in sorting as well as when to use it, but not necessarily the implementation
i have coded a ransomware with python
!rule 5
5. Do not provide or request help on projects that may break laws, breach terms of services, be considered malicious or inappropriate. Do not help with ongoing exams. Do not provide or request solutions for graded assignments, although general guidance is okay.
or my favorite "mina you need to think positive"
poop
@honest pier I am Gordon Ramsey
you makin a stupid sandwitch?
Nice to meet you, Gordon
No I am making an amazing sandwich
Nice to meet u too sir
that's my fav
Same lol
Looks tasty
tasty brains (well actually lack of) in between slices of bread
A community run wiki for the Bungie.net Platform APIs. - DestinyDevs/BungieNetPlatform
Got some American and Colby Jack on it
must be a huuuuge sandwich if y managed to fit a whole american into it
:musical_note: "Look at my food. My food is amazing. Give it a lick."
"Ooh, it tastes just like raisins."
"That's because it's raisin bread, Olga."
Though I'm not sure what kind of psychopath makes grilled cheese with raisin bread.
assert bool(' ') is True #Nonempty strings are truthy
assert bool('') is False #Empty strings are falsy```
f1ra code
!strjoin :D
Joining Iterables
If you want to display a list (or some other iterable), you can write:
colors = ['red', 'green', 'blue', 'yellow']
output = ""
separator = ", "
for color in colors:
output += color + separator
print(output)
# Prints 'red, green, blue, yellow, '
However, the separator is still added to the last element, and it is relatively slow.
A better solution is to use str.join.
colors = ['red', 'green', 'blue', 'yellow']
separator = ", "
print(separator.join(colors))
# Prints 'red, green, blue, yellow'
An important thing to note is that you can only str.join strings. For a list of ints,
you must convert each element to a string before joining.
integers = [1, 3, 6, 10, 15]
print(", ".join(str(e) for e in integers))
# Prints '1, 3, 6, 10, 15'
Hemlock, can Voice Server be moved back to EU?
@rugged root
American Take over!
ofc..
π«
class First:
def __init__(self):
self.conn = sqlite3.connect('first.db')
self.cur = self.conn.cursor()
def get_name(self, user_id:str) -> str:
self.cur.execute('SELECT name FROM first WHERE user_id=?', (user_id,))
data = self.cur.fetchone()
return data[0][0]
def add_name(self, first_name:str, user_id:str) -> dict:
a = self.cur.execute('INSERT INTO first (name, user_id) VALUES (?, ?)', (first_name,user_id))
data = self.cur.fetchone()
return data
def remove_name(self, user_id:str) -> None:
pass
def setup_db(self) -> None:
self.cur.execute('''CREATE TABLE IF NOT EXISTS "first" (
"name" TEXT,
"user_id" TEXT,
PRIMARY KEY("user_id")
);''')
self.conn.commit()```
@rugged root Do you play video games?
@dense ibex this is how it looks, in a lovely diagram
/ LΓ₯gstadie: 1β3
1: | Mellanstadie: 4β6
\ HΓΆgstadie: 7β9
2: Gymnasie: 1β3
3: Universitet
I do yeah. Currently playing through Horizon Zero Dawn's new game + on Ultra Hard
ah, interesting
x = "hey"
longervariable = "yo"
ultra hard dang
Honestly, it hasn't been
too good at the game π€
Hello there!!
Learn to make games from the minds at Nintendo with Game Builder Garage for Nintendo Switch!
https://www.nintendo.com/games/detail/game-builder-garage-switch/
Subscribe for more Nintendo fun! https://goo.gl/HYYsot
Visit Nintendo.com for all the latest! http://www.nintendo.com/
Like Nintendo on Facebook: http://www.facebook.com/Nintendo
...
brb
!voice @lethal seal
Voice verification
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
oh btw
IRS sent me a letter saying they have to review my return
it's gonna take up to 60 days..
my $2k π
nooo
uh
i have a feeling it's to do with the fact that i added my new middle initial on the return
i guess i didn't do that last year
so they're thinking hmm who dis
didn't have a middle name previously
pie cahrm
@wintry kernel Not upset with you, it's easy to talk over people
Just better to double check before when you join in a call
ok sorry
All good!
<html>
<div class="abtus-header">
<img class="abtus-header-img" src="images/wood.jpg" alt="wood">
</div>
</html>
look in the top left
Albert lol
lol
e-skis in dev
and it's pointing to the right file..?
looks like it is. but idk what chili's file structure looks like.
try the absolute filepath..
https://gist.github.com/ChiliMX/821bf6db53a5b6104bfcb516e2c5bd83 proper way to print hello world
Pycharm code reformat made my amazing oneliner(check out my other gist) into this - no longer a one liner.py
++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.
brainfuck :)
++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.
++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.
How can an omnipotent and benevolent god allow evil?
?help
Get Honey for FREE today βΈ http://joinhoney.com/reeves
Honey finds coupons with one click. Thanks to Honey for sponsoring!
come get yall juice
lilypichu came with me all the way to Boston to record a 10 second meme, thanks lily
Thanks Poki and Toast for helping w/ the dog
Songs:
Funky Galileo - https://open.spotify.com/track/0TAHhMjG17P5pzlS...
Which religion is correct?
Where is the garden of eden?
Where is the fountain of youth?
Have aliens visited us?
more like 10001010101100101010011001010100101100101010101?
and then insert 2
A scene from Futurama S02E07.
This video was uploaded for geeky laughing purposes only, no copyright violations were intended.
Which political ideology is the best?
thats a good idea
alright then, how about: How much wood would a woodchuck chuck if a woodchuck could chuck wood?
h
!projects @upbeat yacht
Kindling Projects
The Kindling projects page on Ned Batchelder's website contains a list of projects and ideas programmers can tackle to build their skills and knowledge.
This has a bunch of cool projects to try out, from beginner to intermediate and beyond
@flat sentinel Yo Trump you lost some weight
not any more
How can an omnipotent and benevolent joe allow eivl?
He's a busy boy
oof
mic being weird
think it had to do with having both canary and default open
brb
mic being very weird
fucking pos
brb again
so an example of the answer options would be
a. 3x +4y + z
b. 3x + 18y+z
c. 2x + 4y+z
d. 3x + 4y + 4z
the majority contains 3x, not 2x, so it starts with 3x
the majority has 4y, not 18y, so it has 4y
the majority has z, not 4z, so it has z
Hence it is 3x + 4y + z
which is option a
this was literally how an entire course of mine was structured
it was the best
math
Hey @faint ermine
Π‘Π΅ΠΌΠΎΡ ΠΠ΄ΡΠΊΠ°ΡΠΈΡΠ° β Π½Π°ΡΠ³ΠΎΠ»Π΅ΠΌΠΈΠΎΡ Π΅Π΄ΡΠΊΠ°ΡΠΈΡΠΊΠΈ ΡΠ΅Π½ΡΠ°Ρ Π·Π° ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡΠΊΠ° ΡΠ΅Ρ Π½ΠΎΠ»ΠΎΠ³ΠΈΡΠ° Π²ΠΎ ΠΠ°ΠΊΠ΅Π΄ΠΎΠ½ΠΈΡΠ° ΠΊΠΎΡ Π³ΠΈ ΠΏΠΎΡΡΠ°Π²ΡΠ²Π° ΡΡΠ°Π½Π΄Π°ΡΠ΄ΠΈΡΠ΅ Π²ΠΎ ΠΏΠΎΠ»Π΅ΡΠΎ Π½Π° ΠΊΠΎΠΌΠΏΡΡΡΠ΅ΡΡΠΊΠ° Π΅Π΄ΡΠΊΠ°ΡΠΈΡΠ°.
!stream 469961526149644310
@flat sentinel
β @flat sentinel can now stream.
Sorry, not doing well today.
This course will give you a full introduction into all of the core concepts in C# (aka C Sharp). Follow along with the course and you'll be a C# programmer in no time!
βοΈ Contents βοΈ
β¨οΈ (0:00:00) Introduction
β¨οΈ (0:01:18) Installation & Setup
β¨οΈ (0:05:03) Drawing a Shape
β¨οΈ (0:17:23) Variables
β¨οΈ (0:30:06) Data Types
β¨οΈ (0:37:17) Working With S...
try this one from freecodecamp
C# tutorial for beginners: Get up & running with C# and code in just 1 hour! No prior knowledge needed.
- Get my full C# course: http://bit.ly/2KJLPuS
- Subscribe for more C# tutorials like this: https://bit.ly/38ijYjn
βοΈWant to learn more from me? Check out these links:
Courses: https://codewithmosh.com
Twitter: https://twitter.com/moshhame...
hahahaha yes younger
yes
what made me confused at first was declaring variable types
but in Python π΅οΈ
if it was a void func there will be no return
Hoi
for loop like java
for (int i = 0; i < 10; i++) {
Console.WriteLine(i);
}``` @plain mica
System.out.println("a");
// Your First Program
class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello, World!");
}
}
Java is a very slav language
yes
Lmao
c# is 95% same as Java
@flat sentinel on le phone and in living room
Eee
Well
Thats an option
But, my mic doesnt work for some reason when i have headphones on and my dad is asleep
ΠΠ΅Π·
Π’Π΅Π±Ρ
Tebja
ΠΠ΅Π½Ρ
Menja
Etc...
Same lol @flat sentinel
Yep...
I read very very slowly in macedonian
In english. Iz no problem
Π΄Π°Ρ ΠΈΠ· ΡΠ΅ΡΠΈΠ±ΠΎΠ»
Bruh
lol
Wait
This is a song
Oh nvm its not a song lol
Lmao
LMFAO
LOL
I think im gonna die of laughter
LMAO
LOL
Kemal
You killed me
Jesus
Whistle
@flat sentinel sir. I think you really need to work on resding macedonian
ΠΡΠ΅ΡΠ°
It means like. uh. Like. Talking to someones back
ΠΠ΄ is ΠΎΠ΄
-Kemal 2021
odlecieΔ sam
!rule 4
4. This is an English-speaking server, so please speak English to the best of your ability.
@stuck furnace could i get stream perms pls
guys please help out... i need to check this site out
whats this for? why do you "need to check it out"?
Also its like trivially easy if you've done any kind of programming before
whats the site name. nice UI
you got to ask your question, no one will come to you and say i do web scraping
you can either ask in help channels, i.e. #βο½how-to-get-help , or #python-discussion
Yikes okay, so I am looking to find a certain name in a webpage and python helps me to find out their username from the email address.
No biggie bro i managed it just fine
https://developers.turing.com/
Here is the site... for y'all who want remote jobs.
Freelance with the best Silicon Valley companies in a number of software jobs, including Software engineer jobs, data engineering jobs, full stack engineer jobs, software developer jobs, Silicon Valley jobs, American software jobs, front end, back end, IOS, Android,Java, Python, C++, C#, server side engineer jobs.
Hey guess what?
You're mad and I'm not?
I don't have gas money
πππ
0.0123 eth required
If u have too much money send here
0xce55236cA2FB0E6055C612510A1f12D1B1d3A4Ce
ππππππ
U can send me tho
Go fish. π
??
No. π
ππΏππΏ
@languid cargo
oke nice
I am a beginner in coding
I have a question
I installed Visual studio
visual studio code
is it the best program ?
!tools
The Tools page on our website contains a couple of the most popular tools for programming in Python.
I would like to open my code in a browser but I don't know how π I am on mac btw
can you help me ...
!resources
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
nice thank you
how long have you been coding ?
So are you just doing this for fun or are you also a freelancer @rugged root
Entirely for fun, and a little bit of small stuff for work
nice
@rugged root I will continue to look at tutorials, thank you, glad to have met you
I appreciate that! Let me know if you need any other guidance
π
hi
Furyo is pro rounding up all java devs I've been told
Off-topic channels
There are three off-topic channels:
β’ #ot0-psvmβs-eternal-disapproval
β’ #ot1-perplexing-regexing
β’ #ot2-never-nesterβs-nightmare
Their names change randomly every 24 hours, but you can always find them under the OFF-TOPIC/GENERAL category in the channel list.
Please read our off-topic etiquette before participating in conversations.
.topic
.topic
Suggest more topics here!
my pc
PC, VR headset, money stash
uuuuu money stash
yes
yes

icon
RuntimeError
The Poetry configuration is invalid:
- [dependencies.discord] {'py': '1.7.1'} is not valid under any of the given schemas
at ~\AppData\Roaming\Python\Python39\site-packages\poetry\core\factory.py:43 in create_poetry
39β message = ""
40β for error in check_result["errors"]:
41β message += " - {}\n".format(error)
42β
β 43β raise RuntimeError("The Poetry configuration is invalid:\n" + message)
44β
45β # Load package
46β name = local_config["name"]
47β version = local_config["version"]
π
fun simple problem @stuck furnace from one of those 'problem of the day' things i subscribe to
Given a sequence of points, give the minimum steps required to reach them all, starting from the first point
in order
Isn't that travelling salesman?
no, you don't have to go back, and the order is fixed
Oh right
it's kinda neat cause diagonal is still 1 step
so i think you just maximize diagonal steps ?
Erm, so it's a 2d grid?
Tbh, I would just try doing n shortest-path searches π
Maybe not if you do A* search with a good heuristic.
Are some of the cells blocked?
Oh right, yeah π
prefer diagonal over up-down-left-right, and that would work
I mean, if its a grid and you can move any direction including diagonals without any obstacles, then I think you can calculate the shortest path in O(1)
huh? no way
Just the maximum of the x and y distances? I think π€
huh
Not sure if I understood the question correctly π
so for data = [(0, 0), (1, 1), (1, 2)]
the answer is 2, because it's one step from (0, 0) to (1, 1)
then one step from (1, 1) to (1, 2)
ohhhhhhh
.........
x........
.\.......
..\---y..
.........
i think i get what you mean
So the distance from x to y is 6
right, you meant between 2 points, it's O(1) right?
Yep
i thought you meant solving the entire problem
Ohh, yeah no
right, we agree lol
Right, I think I just didn't understand originally.
Are you doing the Codingame bot thing? π
You know what is quite nice. Rice + fried egg + oyster sauce.
Oh nah, the Spring challenge.
oh, no
actually, i don't even need to use a queue, the answer is the same if i start from the front or the back
i wonder if you can do everything in one zip(data, data[1:]) π€
you def can
ok it's not even that bad lol, must be why they called it an "Easy" problem π
π
hm, it is pairwise so maybe i don't have to unpack?
oh i do, just not that much
~~max((a - b for a, b in t) for t in zip(...)~~not that lol
i think?
hello
nice profile picture
ebola killed too many people to spread effectively
Doctors: "Hey, if you get vaccinated, you can still get infected. You won't get as sick if you do, though."
The public in general: "La-la-la what was that? We can't hear you!"
Newspapers: "AMG! People who are vaccinated still got infected!"
The public in general: "What? How could this happen? Doctors, what the hell?"
Plague Inc. taught me to not take any lethal mutations until late game
Ebola could have learned something from that
O.O
i thought we were changing the topic ;-;
How long you been on this topic?
15 min
damn
Nooo, Jake, what happened?
apparently, soviet tankers can survive a .50 cal round, but german tankers cannot
Glad to see Russian Bias extends to War THunder
lul
@amber raptor can you get one shot in WoT or does it usually take a few hits to die
huh, and each shell does like 25% hp or something
each Shell does +-25% amount of X damage
so light tanks could be 100HP per hit (but 2s reload) where Big TD could be 800HP per shot
i c i c
in war thunder, even in arcade mode you still get one shot, more often than in realistic, since your crosshair tells you where weak points are lul
@tough delta I highly doubt you have a sound card in your pc
Armor is a thing in WoT, so shot could bounce
yea, WoT has aiming circle, your shot will go somewhere in the circle
it's more like FPS mechanics
probably a lot more fun than war thunder lol
it's different
Β―_(γ)_/Β―
Hiya π
Hey vest
Integrate your service with Discord β whether it's a bot or a game or whatever your wildest imagination can come up with.
Sorry, wasn't really listening, but isn't that like the inode table in Linux?
another "Easy" problem @stuck furnace . given an even number find two prime numbers that sum to given number
- Sieve of Eratosthenes.
- Try all pairs.
I mean, find the other value in the pair by subtracting.
isn't it just like twosum
i think i'm just misunderstanding π
oh you can check if a number is prime after you made your sieve thing in O(1) so you can just do a linear scan
time complexity of uhhhhh,
N log log N right?
no that's the sieve, N for the linear scan at the end
oh but N log log N is bigger than N
eventually lol
Sorry, debugging...
def solve(num):
sieve = [False, False] + [True] * num
for i in range(2, num+1):
if sieve[i]:
for j in range(i*i, num+1, i):
sieve[j] = False
print(sieve)
for i in range(num):
j = num - i
if sieve[i] and sieve[j]:
return i, j
Yeah, but figuring out what the number should be takes effort π
yeah, but that should be faster
Could also skip all the even numbers except 2.
wait, isn't that just (num + 1) // i - 1
And could skip 2 in the final check because we know the sum is even.
right
Whoops, left in my debugging print.
wonder if filter(sieve.__getitem__, range(num)) would be faster lol
oh they could be the same number, e.g. assert solution(4) == (2, 2)
Oh yeah
Oh, didn't know that Vester π
Hehe
Jk jk
yuh
(30) Natural persons may be associated with online identifiers provided by their devices, applications, tools and
protocols, such as internet protocol addresses, cookie identifiers or other identifiers such as radio frequency
identification tags. This may leave traces which, in particular when combined with unique identifiers and other
information received by the servers, may be used to create profiles of the natural persons and identify them.
Member States shall ensure that the storing of information, or the gaining of access to information already stored, in the terminal equipment of a subscriber or user is only allowed on condition that the subscriber or user concerned has given his or her consent, having been provided with clear and comprehensive information, in accordance with Directive 95/46/EC, inter alia, about the purposes of the processing. This shall not prevent any technical storage or access for the sole purpose of carrying out the transmission of a communication over an electronic communications network, or as strictly necessary in order for the provider of an information society service explicitly requested by the subscriber or user to provide the service.β;
@mystic kernel https://www.hetzner.com/cloud
Cloud servers starting at β¬ 2.49. A little money gets you lots of cloud. Our flexible billing model and clever interface make it easy to use our cloud servers for all your IT needs.
"Cookies are sent via 3rd party code when the page is loads. Usually, it happens before a user gives his permission, and that is against the law. It is possible to insert the 3rd party code after getting permission, but you will need some fiddling with JavaScript. This process has a usability question because you need literally everyoneβs answer. So, you will need a full popup that asks for consent. More about cookies and GDPR read here." https://medium.com/@Ralabs/7-things-developer-need-to-know-about-gdpr-3afa05cddea9
Vladmir Putin today said that their vaccines are as good as their AK-47s
???
cheap and made out of metal waste?
an immediately visible notice that various types of cookies are being used by the website, providing information in a layered approach, typically providing a link, or series of links, where the user can find out more about types of cookies being used,
an immediately visible notice that by using the website, the user agrees to cookies being set by the websites,
information as to how the users can signify and later withdraw their wishes regarding cookies including information on the action required to express such a preference,
a mechanism by which the user can choose to accept all or some or decline cookies,
an option for the user to subsequently change a prior preference regarding cookies
nah bruhh
Me to not fan of pricing of Dominos.... they are nt pocket friendly but it taste yummy yummy yummy........
hahahahahha
inside of it TRUE
Horray corporate America dystopia
Can't We Just Go?
See more http://www.collegehumor.com
LIKE us on: http://www.facebook.com/collegehumor
FOLLOW us on: http://www.twitter.com/collegehumor
FOLLOW us on: http://www.collegehumor.tumblr.com
Credits
Cast
Travis - Bernard Jones
Jen - Emily Axford
Janitor - Nick Mundy
Androgynous - Annabel Osorio
Crew
Director - Matt Pollock
Produc...
App store is Ubuntu Software!
The restrictions on Mac and windows are made for Business! Ubuntu instead developed by users/developers for all communities!
Let's see
π
nobuntu
Vestergurkan was asking about good distributions of Linux for Mac.
lol
List are really easy to create
\begin{itemize}
\item One entry in the list
\item Another entry in the list
\end{itemize}
.latex $\frac{1 + 2}{4}$
.src latex
.latex
\begin{itemize}
\item One entry in the list
\item Another entry in the list
\end{itemize}
Ah
.latex e =mc
.latex $e =mc^2$
.latex $\int xdx = x^2/2+c$
Your input was invalid:
\intxdx = x^2/2+c
^
Unknown symbol: \intxdx, found '' (at char 0), (line:1, col:1)
Usage:.latex <text>
.latex $\int xdx = x^2/2+c$
.latex $\int xdx = x^2/2+c$
.latex \sqrt{x} = 5$
:thonk:
lol
.ping
Gateway Latency: 114ms
.latex wtf
.ping
Gateway Latency: 114ms
.latex $\pi$
.latex $\pi$
π¦
i love this sooo much
yeah, I wonder what other formats can be rendered on discord
π₯
brb
congo! :))
thx (X
@midnight agate I've managed to clean out quite a few gigabytes now. Thanks a lot π
habuger
I come to bury Caesar, not to praise him.
The evil that men do lives after them;
The good is oft interred with their bones;
So let it be with Caesar. The noble Brutus
Hath told you Caesar was ambitious:
If it were so, it was a grievous fault,
And grievously hath Caesar answerβd it.
Here, under leave of Brutus and the restβ
For Brutus is an honourable man;
So are they all, all honourable menβ
Come I to speak in Caesarβs funeral.
He was my friend, faithful and just to me:
But Brutus says he was ambitious;
And Brutus is an honourable man.
He hath brought many captives home to Rome
Whose ransoms did the general coffers fill:
Did this in Caesar seem ambitious?
When that the poor have cried, Caesar hath wept:
Ambition should be made of sterner stuff:
Yet Brutus says he was ambitious;
And Brutus is an honourable man.
You all did see that on the Lupercal
I thrice presented him a kingly crown,
Which he did thrice refuse: was this ambition?
Yet Brutus says he was ambitious;
And, sure, he is an honourable man.
I speak not to disprove what Brutus spoke,
But here I am to speak what I do know.
You all did love him once, not without cause:
What cause withholds you then, to mourn for him?
O judgment! thou art fled to brutish beasts,
And men have lost their reason. Bear with me;
My heart is in the coffin there with Caesar,
And I must pause till it come back to me.
β Julius Caesar (Act 3, Scene 2, lines 73β108)```
some people have to learn this
.mosaic
.mosaic
.mosaic 250
That's disturbing
.mosaic 128
Creepy
.mosaic 50
Your input was invalid: Squares must be a positive number less than or equal to 10,000.
Usage:.avatar_modify mosaic [squares=16]
.mosaic 10000
.mosaic 10000
.mosaic 100000
Your input was invalid: Squares must be a positive number less than or equal to 10,000.
Usage:.avatar_modify mosaic [squares=16]
.mosaic 10000
.mosaic 12464
Your input was invalid: Squares must be a positive number less than or equal to 10,000.
Usage:.avatar_modify mosaic [squares=16]
.mosaic 10000
.mosaic 1080
.mosaic 8888
.mosaic 666
.mosaic
.src mosaic
.mosaic 4
.mosaic 5
.mosaic 1
.mosaic 5
.mosaic 4
.mosaic 9
.mosaic 49
.mosaic 37
BOT COMMANDS π
@viscid lagoon is botting here
#bot-commands hahaha, I am jk though
wait!
wrong channel, I will yell at your there too
u r kidding?
!e ```py
print("1" + 3)
@faint ermine :x: Your eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "<string>", line 1, in <module>
003 | TypeError: can only concatenate str (not "int") to str
!e ```py
print("1" * 3)
@faint ermine :white_check_mark: Your eval job has completed with return code 0.
111
!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 `
@whole bear :x: Your eval job has completed with return code 1.
001 | File "<string>", line 1
002 | `
003 | ^
004 | SyntaxError: invalid syntax
!e ```
print(int("String") + 3)
@whole bear :x: Your eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "<string>", line 1, in <module>
003 | ValueError: invalid literal for int() with base 10: 'String'
!e
print(sum(map(ord, "String")) + 3)
50304
142883