#voice-chat-text-0
1 messages · Page 775 of 1
data['Close'] /= data['Close'][0]
data['Close'] = (data['Close']/(data['Close'][0])) - 1```How do I condense the lower code into the first line ?
does it really matter? you really want you code to be that much "pythonic"?
just use the second line
I know, I just want to know that I can do it
Opal, it really hurts to not have video permission at these times
data['Close'] /= data['Close'][0]
data['Close'] -= 1
data['Close'] = (data['Close']/(data['Close'][0])) - 1
this?
ok, if I have some .env files, containing secrets
I can't put it on github ( i understand )
but then where do I put em for safe keeping?
let's say I wanted to do it in one line, what would be the command
data['Close'] /= (data['Close'][0]) - 1```
doesn't work
Yes, but with a server this prolific, I happen to agree with the general prohibition.
you can do it in one line using ; 😂
what, you can use ';' in python ?
where ?
just put ; after the first line, then put the second line just after that
"python community" absolutely hate this practice
I'd think so
@somber heath @gusty hatch some isps block internet traffic
"buy static IP"
that's the name of the scam here in my country
"static IP to unblock traffic"
i tried all of them, the one I found easiest to start an app with one server/instance was gcp, but aws for doing complete pipelines was easieer
auto scalling auto deploy etc
they're not free to use, right? like free to use with some limitations?
there is a free tier in all, gcp limited to 3 months
aws limited to shit metal
haven't tried azure free tier
what happened to Ivar ?
I haven't seen it, yeah go ahead
If he dies, then I won't watch it
fxxx this
I know, I will watch anyway
just some characters whose worldview I understand and appericate
I agree
a code I posted yesterday here got mocked the shit out of it, so I was just trying to make it a bit respectable
ep 10
I will have to binge it
okay wait
The fight in kattegat, where Ivar beat Bjorn, I guess I can't remember his name
ironside, yeah
brb
It's been a journey, from ragnar to ivar, and ragnar's wife and others
I dropped it in the middle
the first one ofc
oh, it was great and the storyline b/w her and ragnar
and then came the queen/princess
same
nah
yeah, had a one night stand with some deity as well
That character was uncomfortably relaxed
I heard "somebody gonna get hurt real bad" in the background
what ?
Iam just talking to myself
I just force myself to understand the villain's POV
today he soldiering on alone in place of mr.hemlock
I'm missing Mr. Hemlock
I just came to this server to listen opalmist and hemlock
when they leave i leave
It's fun to listen to something in background
😂
@vivid palm Finally !!
is no one's talking?
just be on mute
😅
we just want to hear opalmist
only
opal's voice is like wisdom speaking itself
dah-tah~
hey guys i have no idea why my database not working

So as I
you need to stop changing your name
i just change it rarely
ooh.. web sockets, I wanna learn those soon
I'll start with flask-socket-io , probably
would be able to use in my project
You going to accelerate your learning
couple of languages mixed in there
just choked
I just now got the refrence. lol
nope
you finished the scrum class yesterday, no ?
ok, now I'll finish these videos quickly
PAAS ( platform as a service )
I think a version of it is,
i've seen videos on youtube people using it to make stuff
Joma (Joma Tech) made a player to sync his video play with his girlfriend (imaginary)
so they can watch videos in sync
What do I code today
Really but you'll need user ID password
that was quite graphic
Hello
lol
no
!tempmute 704514100746518691 2d spamming to get voice verification
:incoming_envelope: :ok_hand: applied mute to @honest zenith until 2021-03-08 17:02 (1 day and 23 hours).
!tvban 704514100746518691 2w spamming to get voice verification
:incoming_envelope: :ok_hand: applied voice ban to @honest zenith until 2021-03-20 17:02 (13 days and 23 hours).
Thanks
No snow here
hey anybody uses plist here
like does anybody writes in plist
has anybody here made an app using xcode
we are never going to hear the end of this
what language is that?
thats python
ok


call CoInitalize before?
that is what is implied from the last line
!e
t = [1,2,3,4,5,6]
for i1, i2 in zip(t[0::2], t[1::2]):
print(i1, i2)
@uncut meteor :white_check_mark: Your eval job has completed with return code 0.
001 | 1 2
002 | 3 4
003 | 5 6
@faint ermine
@faint ermine what are you coding currently?
i fixed my database issue by resetting the db
what is that
idk
im trying to speak
Griff, I have a code sample, I would like your comment on this, like what should I learn to be able to do this
Sierra Chart is a professional Trading platform for the financial markets. Supporting Manual, Automated and Simulated Trading.
I know c++
there are so many files and they are so interconnected
I can't even figure out what most of them are supposed to do
okay, so it is a program which mainly enters a position or exits them
based on a technical signal
I just found it surfing online
im doing python at school, but the python in school is really basic
Nope, I think this has something to do with quant
financial/trading
The main reason I learned whatever basic programming I know
Sierra Chart is a professional Trading platform for the financial markets. Supporting Manual, Automated and Simulated Trading.
do you consider vs code or pycharm ?
as a good ide
i find pycharm annoying >_>
the warning things never dissapear
ok
does somebody know how to add the python extension on vs code?
i installed it
but its not coming up as interpreter
oof
what is github?
changing the data of graph, it has to be coded or it just takes the input and finds the data itself ?
like in the gif, the recorder is accessing various columns in the data, right ?
but to plot graphs using seaborn or matplotlib, you have to filter out the data for them ?
you put a sort of emphasis
nice now lel?
wait
i changed it
SOMEONE TALK
ye
yik
what kinda music do u guys listen to?
doing cls when the command line is messy is like snapping your finger as thanos
its satisfying
:)
just play lofi hip hop or smth
people would like that
wasssup
ooo nice
lol
hi!
hihi
hllo
wassup
whats the operator?
i have no idea
ye lmao
This is good
Cranked Up
I have always scene that happen in movies only
yes
if (input == 'a'):
break```
In this video, I tell you the best IDE to use for programming. No matter what kind of programming you do.
📚 Video courses from JomaClass:
🎓 New to programming? Learn Python here: https://joma.tech/35gCJTd
🎓 Learn SQL for data science and data analytics: https://joma.tech/3nteQih
🎓 Data Structures and Algorithms: https://joma.tech/2W89H33
Music...
How many times have you been relaxing with a drink when, suddenly, you accidentally knock it over? It’s even worse when the spill is red wine on the carpet, craft brew onto a laptop, or scotch over your pants.Well, we put a stop to the madness. Move aside old-fashioned drinkware! The Mighty Mug Barware collection grips
you can do some serious damage with those bases
🤣
me who is underage >_>
its like the wine glass is wearing Doc Martins
lol
colourama?
yep
"\033[91m {}\033[00m"
Like this basically
No changing color of TEXT not the whole bash
how is my cmd theme
I use powershell right now
I get this output : You chose the ←[91mWarrior←[0m
Exactly
def prRed(skk): print("\033[91m {}\033[00m" .format(skk))
print "You chose the ",
prRed("Warrior "),
print "!"
Yes it's python 2.7
woah
pip install colorama
Alright thanks a lot !!
it has support since 2
On Windows, calling init() will filter ANSI escape sequences out of any text sent to stdout or stderr, and replace them with equivalent Win32 calls.
data structures ?
YOU GUYS TALKING ABOUT TWT?
yeh
TWT looks like a crying face.
ye
i was thinking about participating in his timathon
but there are godly people there
but you need to make revneue tho
idm
i was trigerred on his setup video tho...
man has 3 pcs
;/
YE
i am trigerred by every oc building vid tbh
why are people triggered about this, he does whatever, who gives a fxxx?
15
just wait until ethereum goes from proof to stake
you're smart kid @meager crow
i have not
thanks
this is the fourth time you've posted that in this channel
i dont have nitro ;/
this might finally make me upload a profile picture
well yes it is very informaive
animated pfp
ye
i am gonna get nitro just for :partyblob:
i say it as geeeeeeeeeeeeeeeeeeef
Ooooh I have a friend named Guilherme
XD
giraffe
Rules...
garage
Rules are made.
🤫
gibberish
it depends from word to word
Giga Giraffe
And have you tried Alt + f4
joblet
yeah examples can be provided for both
"The creators of the format pronounced the word as "jif" with a soft "G" /dʒɪf/ as in "gym". Steve Wilhite says that the intended pronunciation deliberately echoes the American peanut butter brand Jif, and CompuServe employees would often say "Choosy developers choose GIF", spoofing this brand's television commercials." - http://www.olsenhome.com/gif/
lol
I can get behind that
Jif
evloution doesnt always win tho
yeah, that's how humans survived
evolution doesnt matter now cuz there genetically modified shit everywhere
@somber heath CMD
that was sarcasm
xD
my dad asked me why there is people talking
i said im in a python webinar
he said ok and left
lel
bruh
the topic is dead
how do you say your name @uncut meteor
jriff
lel
im gonna be afk for a while i gotta make some garlic bread for my dad
it's better to visit the saudi consulate
lol this is so thorough love it
@random ridge You're quiet.
ye, it is jreat
oh lord
ok me back
hi back
_>
tf is that
reddit pages
a random stranger sent me this
oh it isnt
i think you shoud be happy that they only sent you that
lel
I like the product
gonna buy it for $100k ?
plus its not made of stornges metal on earth
if it was a carbon fibre fork
i would by that
if two arguments can't be passed at the same time in a function; it has to be one or the other, and someone passes both anyway, what exception should I raise?
I would like to invest in the manufacturer
RunTimeError ig
i'll follow ur path lol
so basically there's no specific exception for that
K, thx
yep ig
NoodleFriendly©️™️
hmmmmmmm i want sushi
same, I haven't had it in time
🔥
how do you get colour to change in cmd
how do i write a print statement in python which changes colour when in cmd
too much banana is bad tho
my max is like 3
etcomorph body type
im jealous
those are three body types >_>
import os
green = "\033[31m"
os.system("cls")
print(green+"my string")
tysm
np
no programmer is this slim
xD
lol jk
yes there are slim ones
thats pretty accurate ngl
i would scream at pycharm if i lived alone
vs code is clean
IDLE?
brUH
MS WORD IS BETTER THAN IDLE xD
no one can beat this
how do you make it green even when it isnt a command?
can you guys help me?
i have laptop
what do you mean sorry?
dm me
after the "``" add py
IT WORKS
yay
IT FUCKING WORKSSSSSS
i mean my program ive been working on
im gonna go now oof
dinner time
and then my mum turns off wifi ;/
def __call__(self, method: str, path, ignore_statuses=[], *args, **kwargs):
resp = requests.request(
method,
urljoin(self.url_base, path),
auth=HTTPBasicAuth(self.key, None),
*args, **kwargs)
if resp.status_code not in ignore_statuses:
resp.raise_for_status()
self._header = resp.headers
return resp.json()
!e ```py
class A:
def call(self, *args, **kwargs):
print(args, kwargs)
a = A()
a.get("b")
@faint ermine :x: Your eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "<string>", line 6, in <module>
003 | AttributeError: 'A' object has no attribute 'get'
JavaScrypyt
I think he can C that for himself
'Plus' i should be careful
.topic
Suggest more topics here!
.topic
soup of the day
a/(b+c) + b/(a+c) + c/(a+b) = 4
Funny scenes from Van Wilder UNRATED version movie.
!e
a = 4
b = -1
c = 11
print(a/(b+c) + b/(a+c) + c/(a+b))
@uncut meteor :white_check_mark: Your eval job has completed with return code 0.
4.0
.wa a/(b+c) + b/(a+c) + c/(a+b) = 4
Oof
.wa
Your input was invalid: query is a required argument that is missing.
Usage:
.wolfram <query>
look at the solution
.wa T = 2π√L/g
@faint ermine damn bro you speak so fast
damn bro
bye
My attempt at creating a little chess playing program!
Think you can beat it? Give it a go over here: https://sebastian.itch.io/chess-ai
If you'd like to support the creation of more videos (and get early access to new content), I'd greatly appreciate the support here: https://www.patreon.com/SebastianLague
Project Source:
https://github.com/S...
Good Night Guy’s
unicode
Chess symbols are part of Unicode. Instead of using images, one can represent chess pieces by symbols that are defined in the Unicode character set. This makes it possible to:
Use figurine algebraic notation, which replaces the letter that stands for a piece by its symbol, e.g. ♘c6 instead of Nc6. This enables the moves to be read independent ...
ANSI control codes for the tiles/background/highlighting
Maybe.
Apple software gonna Apple
yeah
reminds me of a starfish
looks like a fleshy fidget spinner
Hey guys 😄
How goes?
Ah, shame. Looks cool
Looks kind of otherworldly tbh.
Anyone want to do BinarySearch?
Alright 😄
Easy, or easy and medium?
I'm not sure how they grade the problems on this site...
Ah right, I see
Here's the link: https://binarysearch.com/room/The-Palindome-TrfbcFgTMx
Learn algorithms together on binarysearch. Create a room, invite your friends, and race to finish the problem.
Might ask in general if anyone else wants to join in....
Ah, it's started! 😄
Stream on discord too, don’t have a account there and not feeling like making one
Oh, didn't realise it says O(1) space...
wait what
Yeah, it would be difficult to check I suppose
Luckily for me 😄
Wait, does it say the round ends in 46 minutes. Must have misunderstood the settings 
😔
Oh, it's 4 problems per round
😔
I thought each question was going to be 50 minutes 😄
Ah, I just figured out the O(1) memory solution.
It's the XOR thing I was talking about the other day 😄
Or, maybe not...
lul
Hey Griff
I didn't realise you could move to the next question 🤦
I was trying to figure out the O(1) solution.
I'm an idiot
collections.Counter would be O(n) space
return all(nums.count(num) % 2 == 0 for num in set(nums))
Erm, pretty much the same.
I guess you could sort it, then compare adjacent elements...
class Solution:
def solve(self, nums):
cd = Counter(nums)
for i in cd.values():
if i % 2 != 0:
return False
return True```
contacts = [
["b@gmail.com", "c@gmail.com"]
]
I think the idea is that if they share any email, then they are the same person.
Barely an acceptable solution tbh 😄
lmfao
IRC was a thing when I was growing up, but never really used it.
I think Discord has kind of filled that niche now.
Yeah, not sure about that 😅
Wait, how did I win?
I thought you'd already finished Pasta?
Btw, for the island problem, neighbouring cells in the grid are cardinal directions (N, S, E, W) not ordinal (NE, SE, etc.). They don't state this in the question...
Here's the invite for anyone who wants to join: https://binarysearch.com/room/The-Palindome-TrfbcFgTMx
Learn algorithms together on binarysearch. Create a room, invite your friends, and race to finish the problem.
I think I'll change it to 1 question per round next time.
😔
I still don't get how to solve the first problem in O(1) space 😄
me neither lol
Other than to sort.
MacOS gang
I also use a tiling window manager, so I'm clearly confused about what I want 😄
I just really can't be assed to configure Linux.
😔
nah, I was talking about LX
Oh sorry Griff
@stuck furnace
Yeah, I hate how they make you put everything in a class.
i kinda forgot about ||S = [n]|| lol
ooh i kinda like those font ligatures
on the <=
if u aint talking leave the call
ok, time for dinner
my b thought my headphones for my phone were in
We're doing programming problems. Join in if you want to 🙂 https://binarysearch.com/room/The-Palindome-TrfbcFgTMx
Learn algorithms together on binarysearch. Create a room, invite your friends, and race to finish the problem.
sorry wanking it rn
maybe later
Erm, not appropriate
look at my team
how
Assuming that means the same thing where you live as it does in the UK 😄
!mute 757587813461000265 Take a break
:incoming_envelope: :ok_hand: applied mute to @real ivy until 2021-03-07 01:04 (59 minutes and 59 seconds).
Minor drama
Yeah, not sure what that other guy meant though 😄
Round is starting.
Yeah, it's a weird question tbh.
You have to add up the total for each show first.
Learn algorithms together on binarysearch. Create a room, invite your friends, and race to finish the problem.
Not sure what you mean 😄
Ahh right.
||Probably need a dict...||
||...or a defaultdict||
I've actually had a few beers 😄
Definitely exceeded my units this week.
😔
Griff... what were we talking about yesterday?
Ah
You could do it with regex...
Yep, something in the itertools module...
Sorry, that was mean 😄
😔
Tbf, it's hard programming when there are other people watching.
i'm not watching ¯_(ツ)_/¯
itertools.groupby(iterable, key=None)```
Make an iterator that returns consecutive keys and groups from the *iterable*. The *key* is a function computing a key value for each element. If not specified or is `None`, *key* defaults to an identity function and returns the element unchanged. Generally, the iterable needs to already be sorted on the same key function.
The operation of [`groupby()`](#itertools.groupby "itertools.groupby") is similar to the `uniq` filter in Unix. It generates a break or new group every time the value of the key function changes (which is why it is usually necessary to have sorted the data using the same key function). That behavior differs from SQL’s GROUP BY which aggregates common elements regardless of their input order.... [read more](https://docs.python.org/3/library/itertools.html#itertools.groupby)
Gotcha: it returns key, group pairs. The groups are iterators not lists.
So to get the length, you need to convert the group to a list, or use sum or something.
🤔
Weird.
Oh, nice touch 😄
It's alright Griff.
I would send a headpat emoji, but I don't have Nitro
@uncut meteor
- from @stuck furnace
Anyone listen to Jessie Ware? I'm loving this album 😄
Her, yes 😄
Ahh
Might be random error?
Or function name lookup.
Actually, it only needs to look the name up once.
!docs str.count
str.count(sub[, start[, end]])```
Return the number of non-overlapping occurrences of substring *sub* in the range [*start*, *end*]. Optional arguments *start* and *end* are interpreted as in slice notation.
Needs to be sorted by number of 1s, then numerical value as the tie breaker.
You can convert int to a binary string with the bin function.
Then how would you count the number of 1s?
Also, bin returns a string.
You can include the tie breaker in the key function, using a tuple.
Yeah, any orderable value.
First element first, then second... like alphabetical sorting.
😔
just, 0?
Tried that and got tle 🤔
I'm dying here
||squroot||
I give up tbh
n ln n - n = ln n!
Is it cheating to use math.gamma?
But I can never remember if its (n+1)! or (n-1)!
Ohhhh
Yeah, I should have done it your way.
math.gamma is funne ¯_(ツ)_/¯
wait isn't math.gamma just math.factorial but for floats also?
idfk
😔
hola
We're doing Binary Search: https://binarysearch.com/room/The-Palindome-TrfbcFgTMx
Learn algorithms together on binarysearch. Create a room, invite your friends, and race to finish the problem.
I know of Ubuntu
Yep, a pretty simple one, if you think about it.
Actually, probably depends on whether you already know it.
How many places are there to put the rook in the first column, then the second column, etc.
Yeah
😔 that's a bit embarassing 😔
That could help
But there's actually a really simple solution.
Yeah, same tbh Griff 😄
it is pain
||Think about the binary representation.||
ps aux | grep config.dat
My school was pretty rough, but somehow was still ranked "outstanding" by Ofsted. I couldn't imagine what a school ranked "poor" would be like 😄
jacoby 3656066 0.0 0.0 9044 2648 pts/0 S+ 19:14 0:00 grep --color=auto config.dat
yeah exactly 😄
😔
lsof
i learned this algo when i used langs that didn't have bin
https://binarysearch.com/room/The-Palindome-TrfbcFgTMx if you wanna join 👀
Learn algorithms together on binarysearch. Create a room, invite your friends, and race to finish the problem.
i'll join once you're done this round 👀
Just waiting for Griff 😄
||How many 1s?||
!e
print(" ".join(str((n, bin(n))) for n in range(100)))
@honest pier :white_check_mark: Your eval job has completed with return code 0.
(0, '0b0') (1, '0b1') (2, '0b10') (3, '0b11') (4, '0b100') (5, '0b101') (6, '0b110') (7, '0b111') (8, '0b1000') (9, '0b1001') (10, '0b1010') (11, '0b1011') (12, '0b1100') (13, '0b1101') (14, '0b1110') (15, '0b1111') (16, '0b10000') (17, '0b10001') (18, '0b10010') (19, '0b10011') (20, '0b10100') (21, '0b10101') (22, '0b10110') (23, '0b10111') (24, '0b11000') (25, '0b11001') (26, '0b11010') (27, '0b11011') (28, '0b11100') (29, '0b11101') (30, '0b11110') (31, '0b11111') (32, '0b100000') (33, '0b100001') (34, '0b100010') (35, '0b100011') (36, '0b100100') (37, '0b100101') (38, '0b100110') (39, '0b100111') (40, '0b101000') (41, '0b101001') (42, '0b101010') (43, '0b101011') (44, '0b101100') (45, '0b101101') (46, '0b101110') (47, '0b101111') (48, '0b110000') (49, '0b110001') (50, '0b110010') (51, '0b110011') (52, '0b110100') (53, '0b110101') (54, '0b110110') (55, '0b110111') (56, '0b111000') (57, '0b111001') (58, '0b111010') (59, '0b111011') (60, '0b111100') (61, '0b111101') (62, '0b111110') (
... (truncated - too long)
Full output: https://paste.pythondiscord.com/gucigisupi.txt
Oh, you also do something like ||n & (n-1)||
Ah right. Couldn't see your solution.
😔
is this all easy questions?
Hello @wicked sundial 👋
Want to join in? https://binarysearch.com/room/The-Palindome-TrfbcFgTMx
Learn algorithms together on binarysearch. Create a room, invite your friends, and race to finish the problem.
What’s that?
yes
one question per round?
yes
cool
ooh intersection was a nice touch
Thanks 
Intersection between to sets is the set that contains all objects that are in both sets.
!eval ```py
xs = set('abcde')
ys = set('cdefg')
print(xs & ys) # intersection
print(xs | ys) # union
@stuck furnace :white_check_mark: Your eval job has completed with return code 0.
001 | {'e', 'd', 'c'}
002 | {'c', 'e', 'b', 'f', 'a', 'd', 'g'}
Starting!
@stuck furnace ||i didn't expect a simple test to work||
What did you do? It's showing the last round's solution.
Oh nice
Might have been those optimisations. Going to make a few changes to mine now 😄
huh, 100k isn't even that bad
i would've been confident in a faster lang but i had some doubts with python ¯_(ツ)_/¯
Check out Sieve of Eratosthenes if you have the time.
Literally an ancient algorithm 😄
I'm not familiar with 'sieve' outside of this algorithm.
my data is this (209236.43631378212, -4922.464295096201, -599339.2900889512) (210798.5646790759, -5095.09755163024, -598379.1943603134) (212167.78835370587, -5249.762483773174, -597398.3471446899) (212564.75949264746, -5295.237132226962, -597087.9369477513) (212922.321415558, -5336.452777283411, -596797.671745098)
can I somehow remove the ( and )?
!docs str.replace
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.
Hello @noble copper 👋
!e
x = """
(209236.43631378212, -4922.464295096201, -599339.2900889512)
(210798.5646790759, -5095.09755163024, -598379.1943603134)
(212167.78835370587, -5249.762483773174, -597398.3471446899)
(212564.75949264746, -5295.237132226962, -597087.9369477513)
(212922.321415558, -5336.452777283411, -596797.671745098)
"""
x = x.replace(")","")
x = x.replace("(","")
print(x)
@uncut meteor :white_check_mark: Your eval job has completed with return code 0.
001 |
002 | 209236.43631378212, -4922.464295096201, -599339.2900889512
003 | 210798.5646790759, -5095.09755163024, -598379.1943603134
004 | 212167.78835370587, -5249.762483773174, -597398.3471446899
005 | 212564.75949264746, -5295.237132226962, -597087.9369477513
006 | 212922.321415558, -5336.452777283411, -596797.671745098
if it is a iterable
use
''.join
@noble copper can you repeat
what are the entities
how much data transfer would the chases require?
if it is small
go for it
if not, split them
You could make a decorator to count the number of times any function is run.
now it does ['184461.7555061611,', '-2543.148952307994,', '-600221.5256528192'] ['185092.01487300097,', '-2598.2400189750015,', '-600426.6554807136'] ['185671.26865263944,', '-2648.9332728401896,', '-600607.736067098'] ['186246.48933695946,', '-2699.3504768093567,', '-600780.3518364455'] ['186806.30339703805,', '-2748.4771924740126,', '-600941.2743878695'] ['187383.9142503482,', '-2799.277939840758,', '-601099.9320797671']
cause I am doing ```python
for line in input:
x,y,z = line.split()
print(x,y,z)
Did anyone manage to get the O(log n) solution?
yeah, petri dish and i
Ah right. I figured out the idea, but not the details.
yay 202599.7132532507 -4227.101161375229 -601863.5303955283 204313.8977579791 -4401.434067076382 -601424.2580397886 206042.38583603536 -4580.742212419328 -600840.0528324466 207682.13939383504 -4754.39181544232 -600142.3004928054 209236.43631378212 -4922.464295096201 -599339.2900889512 210798.5646790759 -5095.09755163024 -598379.1943603134 212167.78835370587 -5249.762483773174 -597398.3471446899 212564.75949264746 -5295.237132226962 -597087.9369477513 212922.321415558 -5336.452777283411 -596797.671745098
Really?
Ah 
it is pretty cool though
I can't see yours...
I actually know another way to do it, but need to get the math right.
Oh yeah
That's it 😄
Thanks. Wasn't sure if it would be fast enough.
Oh, paste the error message
TypeError: can only concatenate list (not "float") to list
Yeah, mylist.append(1.23) or mylist += [1.23] but not mylist += 1.23
Have you seen Coding Train on youtube? 😄 He does cool things with processing.js
He's like the embodiment of caffeine.
Btw, we're doing coding problems. You can join in if you want: https://binarysearch.com/room/The-Palindome-TrfbcFgTMx
Learn algorithms together on binarysearch. Create a room, invite your friends, and race to finish the problem.
Yeah, don't be discouraging please.
Not the kind of culture we want on this server.
File "D:/0PhysicsCode/pmoczPic/KerbalSpace/ploting.py", line 37, in <module>
ax.plot_wireframe(xaxis, yaxis, zaxis)
File "D:\0PhysicsCode\pmoczPic\venv\lib\site-packages\mpl_toolkits\mplot3d\axes3d.py", line 1793, in plot_wireframe
if Z.ndim != 2:
AttributeError: 'list' object has no attribute 'ndim'``` wtf??
@frozen jacinth try f12

bedders time
two bottles of wine be like that
Sorry Pasta 😄 See ya
t'was fun
Indeed
nice
Is there a known way to get answers in google forms?
yes
What is the method?
It's not inspect element right?
then you cant know answers
unless
the author of the form give you permission to do so
H.264/MPEG-4 AVC ist ein H.-Standard zur Videokompression. Nachfolger sind H.265, VP9 und Daala. Er wurde zunächst von der ITU unter dem Namen H.26L entwickelt. Im Jahr 2001 schloss sich die ITU-Gruppe mit MPEG-Visual zusammen und führte die Entwicklung gemeinschaftlich im Joint Video Team fort. Ziel des Projektes war es, ein Kompressionsverfahr...
Bro Ken comes with Bro Ken phone. From Mattel.
Verkehrswegeplanungsbeschleunigungsgesetz
damnn
Hottentottententententoonstellingsterreintjes
longest sentence in Finnish: epäjärjestelmällistyttämättömyydelläänsäkäänköhän
aansprakelijkheidswaardevaststellingsveranderingen
suurtehokolmivaihekilowattituntimittari
Teeskentelemättömyydellisyydelläänsäkäänköhänköhän
arbeidsongeschiktheidsverzekeringsmaatschappij
labour-incapacity-insurance-company
insurance company for incapacity for labour
Tomaattisipulimajoneesiavokadoretiisikurkkupekonisalamikamarasinihomejuustovoileipä
uit de roulatie
what does that mean?
That's very big word
not compared to mine
learn any germanic language
it'll be a lot easier
except the iron biscuits ones
his are a nightmarish jumble of alien sounds in finnish
It's very difficult to pronounce German
nein
ei ole vittu
What does it mean :)
matplotlib
Excel
How do you read an image
Mini Chin
this is with noise cancellation
on the other end of the house
my room door was open
it went on for about 2 months
including, occasionally, at 10 pm
sounds like a fart
farts do not make my room vibrate
with the right frequency and volume, they can
if its humanly possible or not is a mystery
well if you ate much beans and took laxative after, youd have the largest fart (and diarrhea)
I can't hear anything
!voice
Voice verification
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
that's for ssrf initally
i am just confused about last 2 cve's they were both same
why microsoft would have differentiated those
both include unauthorized file writing
in django do we have to use collectstatic again and again to include css and js
such a colorful town
it's a district of london
@abstract whale some example highlighting config that i have for python:
"editor.tokenColorCustomizations": {
"textMateRules": [
{
"scope": "string.regexp",
"settings": {
"foreground":"#ff8888"
}
},
{
"scope": "meta.class.python",
"settings": {
"foreground":"#50f0a0"
}
},
{
"scope": "meta.function-call.generic.python, support.function.builtin.python",
"settings": {
"foreground":"#e6ffb4"
}
},
]
},
reminds me of telegram themes
eh its just TextMate which is used in many editors
o
REMASTERED IN HD!
Official video of Blondie performing Heart Of Glass from the album Parallel Lines.
Buy It Here: http://smarturl.it/tshaz0
Like Blondie on Facebook: http://www.facebook.com/Blondie
Follow Blondie on Twitter: https://twitter.com/#!/BlondieOfficial
Official Website: http://www.blondie.net/
See More Videos Here: http://www.youtub...
that sounds like a lot of autotune
I'll brb
Do you have any AI-lings?
I'm gonna actually send this headset back for repair
savage AI
that AI bit was excellent. thanks @faint ermine
What is this bro
I didn't understand
its a json file or what
it's his config file for python
its part of my vscode settings.json responsible for adjusting syntax highlighting
Ohh
Thanks
@faint ermine I was just reading up and experimenting with that feature. Since that theme doesn't change $var = "example" from white. What a coincidence.
i mean, i sent the example there specifically for you. or did i misunderstand what you're referring to?
oh/ HAHA. Context from my side. Sorry. Ill go look at it more closely
oh I see , i think. That's why it doesn't understand me.
Gotta specifically tell it what scope to hit.
Thanks!
!voice @whole bear
Voice verification
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
!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
import time, numpy
n = 999999
def measure_time(funktion):
t0 = time.time()
funktion()
t1 = time.time()
return float(t1 - t0)
var = 0
def calculate_pi():
global var, pi
for i in range(n):
sol = (i + 1) (-2)
var += sol
pi = (var * 6) .5
return pi
t = measure_time(calculate_pi)
print(f"Calculated PI: {pi}")
print(f"Actual PI: {numpy.pi}")
print(f"Difference between both: {abs(numpy.pi - pi)}")
print(f"Computing time: {t}")
@remote kettle :x: Your eval job has completed with return code 1.
001 | File "<string>", line 21
002 | pi = (var * 6) .5
003 | ^
004 | SyntaxError: invalid syntax
!e
import time, numpy
n = 999999
def measure_time(funktion):
t0 = time.time()
funktion()
t1 = time.time()
return float(t1 - t0)
var = 0
def calculate_pi():
global var, pi
for i in range(n):
sol = (i + 1) ** (-2)
var += sol
pi = (var * 6) ** .5
return pi
t = measure_time(calculate_pi)
print(f"Calculated PI: {pi}")
print(f"Actual PI: {numpy.pi}")
print(f"Difference between both: {abs(numpy.pi - pi)}")
print(f"Computing time: {t}")
@remote kettle :white_check_mark: Your eval job has completed with return code 0.
001 | Calculated PI: 3.141591698659554
002 | Actual PI: 3.141592653589793
003 | Difference between both: 9.549302393274672e-07
004 | Computing time: 0.4498860836029053
ohaaa, sooo accurate
!e
import time, numpy
n = 99999999
def measure_time(funktion):
t0 = time.time()
funktion()
t1 = time.time()
return float(t1 - t0)
var = 0
def calculate_pi():
global var, pi
for i in range(n):
sol = (i + 1) ** (-2)
var += sol
pi = (var * 6) ** .5
return pi
t = measure_time(calculate_pi)
print(f"Calculated PI: {pi}")
print(f"Actual PI: {numpy.pi}")
print(f"Difference between both: {abs(numpy.pi - pi)}")
print(f"Computing time: {t}")
@remote kettle :warning: Your eval job timed out or ran out of memory.
[No output]









