#voice-chat-text-0
1 messages Β· Page 870 of 1
recursively
download windows terminal
L = []
def sequence(N):
if N == 0:
return
L.append(N-1)
sequence(N-1)
then later reverse it π€·ββοΈ
that's just the top of my head
you see @rain rose
What
@whole bear
Understandable
lets generate 0,2,4,6,8,
now the question is
if i give a formula
the generates a sequence
can you tell me whether the sequence will go forever
or it will "end" at some number
let me give you a formula
@orchid barn ```py
def generate_sequence(my_sequence, N):
if N == 0:
return
my_sequence.append(N)
generate_sequence(my_sequence, N-1)
def sequence(N):
my_sequence = []
generate_sequence(my_sequence, N)
my_sequence.reverse()
return my_sequence
print(sequence(10))
this works for me
been a while, since I've written any python π₯²
I feel like, Opal's gonna show something really good π
i just joined, is there any way i can contribute ?
idk, sukuna is doing it all π€·ββοΈ
_only fans will know π _
ah yeah why is it *2 when ur adding two to the previous number
for value in range(10):
print(value)```
The first time through the loop, `value` will have the first element from range assigned to it. The second, the second and so on. 0 to 9. A total of 10 values.
```py
for value in (9,5,3):
print(value)```
Similar again, but this time, value has 9 assigned to it the first time, 5 the second, 3 the third.
oh, common Opal π
I thought some list comprehension was coming at least
π€£
yeah u should put an elif n = 0: n+= 2 or something
shi*, Opal's on phone rn π
he wrote that on phone
with proper formatting and everything
ooh your just tracing the code
Don't sound too surprised.
idk, any recursice sequence
!e ```py
def func(v=1):
print(v)
func()
func(2)```
@somber heath :white_check_mark: Your eval job has completed with return code 0.
001 | 1
002 | 2
I once wrote something like this in C++ π c++ void myFunc() { try { while (true) { myFunc(); } } catch (StackOverflowException e) { while (true) { myFunc(); } }
what are we doing on here?
Kaden, seems to be a newbie, understanding about recursive functions
Sukuna is teaching
_only fans know π _
Impromptu masterclass.
how
wow good job
XD
dude, this is the best I can do @whole bear π
It's friday night, I watch anime today π
and don't work π
do I see
By every iteration the n increases by 1 until it reaches the threshold given
what not? π
i see
but if I tell you, what I'm watching rn
you're gonna kill me π₯² ( if you're a weeb too )
u cant be too sure
no to anime
not to ||AOT||, ||Death Note||, ||Haikyuu||, ||other good stuff||
what
lemme go check my server
Yaoi or nothing lol
then what have u watch
i see
Hello!
How are you guys doing today
I used to be in this server accidentally left though
now i cant talk
but its cool
oh nvm i thought u havent watched those either
ill get my messages back
sed
Hello π
@orchid barn I remember learning my recursive functions
with a pen and paper, then later code it
I believe it's mandatory for proper comprehension
no, proper Algorithms stuff
i see
I mean, just doing it for fun
I would just forget it, like, after a week later
lol
in fact, I think, I've never used recursion in any of my projects π
neither have i but it came as a question for my exam
so we had to write a program just for that
x = list(range(100))
y = [f(r) for r in x]
plt.plot(x,y)
yea @wise glade true
why do u use terminal tho
its not his main IDE ig
i see
well, Vim's pretty good for devs
for speedy development
I mean, I don't use it π
ayy high five XD
ooh god
too soon π
Same as linear programming
π
i see
@whole bear ```py
def recursiveFunction(n):
if (n == 5):
return
else:
n += 1
print("Hello")
recursiveFunction(n)
recursiveFunction(0)
do you understand this?
print('hello world')
import __file_name__
@orchid barn what does this return ? is it also recursive ?
yeah lol
wait
hey, this just runs for me twice
from os import system
system('pwd')
Is there a major difference between glob.glob and os when it comes to locating files on the PC??
from https://docs.python.org/3/library/functools.html
from functools import chache
@cache
def factorial(n):
return n * factorial(n-1) if n else 1
print(factorial(10)) # no previously cached result, makes 11 recursive calls
# 3628800
print(factorial(5)) # just looks up cached value result
# 120
print(factorial(12)) # makes two new recursive calls, the other 10 are cached
# 479001600
lmao cd and mkdir
@rugged root tell us something about this
when you come back
print('hello world')
import fileName
if you want to make it shorter use lambda function
that would be for lru_cache
Its just copy paste from the docs
python having an inbuilt cyclic import check
pretty nice π
ooh
flask is relatively simple i feel
oh ok
lol then what do i use
nah it doesnt
@orchid barn what did u say u use
Are Microsoft Visual Studio and PyCharm used for the same thing? I'm Data scientist sry I use only JupyterLab and Google Collab so dunno π
: (
oh ok
pycharm is just for python
python's support in VS is pretty shi*
it's almost non-existent
lol is this a class
nope they are different IDE, pycharm is is a little slow use vs code
Oh ok, thanks
In how far is the flask documentation not generated? It looks very much like sphinx
I used to do these DSA questions before.., I got in the industryπ
now I don't need to
hint for people who are actually doing this:-
?
you have n
and let's say you grab a from the list
now you just need to find b which would be .....?? using a + b = n .....?
looks fine to me
actually idk what are complexity and space
basically something like the number of dimensions used in the algo ?
everyone should know this at least π
see O(n^2), red color
it's the worst ( in that graph )
it's missing exponential π€
it's even worse
so lesser the derivative of the graph the better the algo is
well yeah,
the derivative or growth
you want it smaller as input size grows
the double for loop is much simpler to think of tho
unique value
for the problem he gave earlier about a + b = n
it'll be O(nLogn)
i dont think i understand
have you learned about big O complexity?
no
what is the name of the program you're using right now?
i basically had to learn most python myself
ms-paint
not tihs LOL
lmao
because my teacher barely taught anything
I would check out the link from @orchid barn
its ipython
the one who look like cmd
well, in programming
It's mostly you learn stuff on your own
unless...
i love math i dont mind
yeah i feel like its more interesting learning myself as well
unless you are exceptionally fortunate and have a great teacher :)
that would've been great as well
and what are the differences between a normal IDE and that
it's never too late to, unless you are 100% done with college and don't intend to pursue post-grad education
ah i got that but how do u think about reducing it for that program
just read any material on big O notation
and before you start solving some problems
Just look into Arithmetic Progression and Geometric Progression
and you're good
you will be able to calculate any problem's big O
ok, see you guys later π
its interactive
quick input and output
Thx!
!voice
Voice verification
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
basically just i += 1
ah ok
it's a shortcut common in c-based languages
what are we making here?
idk he's just explaining stuff
rn how to reduce runtime i think
def fun(l,n):
for x in range(len(l)):
if (n-l[x]) in l:
print(x,n-x)
wait i got it ig @orchid barn
For fun, I am making this as condensed as possible :) (it might not work, my js is not great)```js
let sum = (arr) => arr.reduce((total, x) => total + x, 0);
yay it works
@rugged root can you make me stream again ?
lmao
wait i always though O(log n) is better than O(1)
i think its better when n < 10
so what r people doing here?
we were discussing asymotic analysis
ye
is there some rule about chitchating?
@rugged root
@orchid barn What're you wanting to stream?
i'm doing some data strucuters and algor discussions
β @orchid barn can now stream until <t:1627062656:f>.
just curious if it's ok to talk about anything (even if it's not involved with python)
ok thx
i can just loop through ai and aj and find ak as ak = -ai - aj
A dict in Python is a good example of a hash map
but you did for j in range(i,l)
ooh ok
dude what i was saying is you cant use range function with a list input
yeah lol
oooof that was quick
it does ig
just append it into a list l and do s = set(l)
the one you remove first
e.sort() ?
del d[key]
d[l_k-1] = d[l_k]
select and press enter
that copies in windows atleast
right click and mark
you can
delete dots easily
shift + alt and drag select the dots
s = set()
...:
...:
...: for i in range(len(l)):
...: for j in range(len(l)):
...: if i == j:
...: continue
...:
...: l_k = -(l[j] + l[i])
...: if l[i] in d.keys() and l[j] in d.keys():
...: if l_k in d.keys():
...: e = sorted([l[i], l[j], l_k])
...:
...: l_i, l_j, l_k = e
...: d[l_k] -= 1
...: d[l_i] -= 1
...: d[l_j] -= 1
...: if d[l_k] == 0:
...: del d[l_k]
...: if d[l_i] == 0:
...: del d[l_i]
...: if d[l_j] == 0:
...: del d[l_j]
...:
...:
...: s.add((l_i, l_j, l_k))
...:
...:
...:
i tried π¦
I think im done for the day, thanks for explanations, twas fun
darn i'm late to the party, can I ask what we are trying to accomplish here?
same
alright guys i think i will sleep now, thanks i am so satisfied today XD
httpx.get("/my/url", params={"foo": "bar"})
gonna get cup of tea one min.
brb dogs barking
Buddhist cosmology is the description of the shape and evolution of the Universe according to the Buddhist scriptures and commentaries.
It consists of temporal and spatial cosmology: the temporal cosmology being the division of the existence of a 'world' into four discrete moments (the creation, duration, dissolution, and state of being dissolve...
@uneven yarrow don't mean to interrupt but since you said you are from Israel, one Israely girl got a statue in my town a few days ago: https://emedjimurje.net.hr/vijesti/drustvo/4073744/memorijalna-setnja-hrvatski-i-izraelski-vojnici-zajedno-u-spomen-na-junakinju-hannu-szenes/
Δakovec
Kiryat Tiv'on
brb
@strong arch programming linkedin
dayum
Psilocybin with psychological support is showing promise as a treatment model in psychiatry but its therapeutic mechanisms are poorly understood. Here, cerebral blood flow (CBF) and blood oxygen-level dependent (BOLD) resting-state functional connectivity (RSFC) were measured with functional magnetic resonance imaging (fMRI) before and after treatment with psilocybin (serotonin agonist) for treatment-resistant depression (TRD). Quality pre and post treatment fMRI data were collected from 16 of 19 patients. Decreased depressive symptoms were observed in all 19 patients at 1-week post-treatment and 47% met criteria for response at 5 weeks.
Quality pre and post treatment fMRI data were collected from 16 of 19 patients. Decreased depressive symptoms were observed in all 19 patients at 1-week post-treatment and 47% met criteria for response at 5 weeks.
Gotta go, have fun and thanks for talking everyone
u2
peace!
aeros, what's the idea behind they pronouns?
is it making an assumption can send a potentially harmful message?
that people have to look a certain way to demonstrate the gender that they are or are not
oh no, I just indentify as non-binary but if ppl use different pronouns I don't really mind much
im not the type to be offended :)
np!
aeros what is the tibetan music?
this is also another favorite of mine: https://www.youtube.com/watch?v=IXsI99aaFaw&t=8138s (although not strictly tibetan)
MEDICINE BUDDHA MANTRA CHANTS @285Hz
π§ββοΈ Best Healing Mantra Meditation
Chanting this mantra helps in eliminating the pain of true suffering. This mantra not only helps in reducing physical pain but also the suffering and pain caused by negative thoughts and emotions.
Complete MEDICINE BUDDHA MANTRA & ITS MEANING
Tayatha Om Bekandze Bekandz...
Having dwelt upon the nature of nirvana, the Buddha now explains its positive aspect and says that nirvana has the four attributes of the Eternal, Bliss, the Self, and the Pure ... the Buddha says: "O you bhiksus [monks]! Do not abide in the thought of the non-eternal, sorrow, non-Self, and the not-pure and have things as in the case of those people who take the stones, wooden pieces and gravel for the true gem [of the true Dharma] ... In every situation, constantly meditate upon the idea of the Self, the idea of the Eternal, Bliss, and the Pure ... Those who, desirous of attaining Reality meditatively cultivate these ideas, namely, the ideas of the Self [atman], the Eternal, Bliss, and the Pure, will skilfully bring forth the jewel, just like the wise person."
We are the leading independent Buddhist journal in the West. Teachings. Practices. Wisdom. Meaning. Utne Media award winner.
So of i want to talk in a voice channel i must send 50 messeges
:ok_hand: applied mute to @misty trout until <t:1627077144:f> (9 minutes and 59 seconds) (reason: burst rule: sent 8 messages in 10s).
single value decomposition
f(x;w) = w x, (w is number) (x is a vector)
X = [[1,2,3], [4,5,6], [7,8,9]]
[10,11,12]
y
X = [[1], [2],[3]]
y = [[2], [4], [6]]
f(x;w) = w x , w = 2
c = 1/m sum0_m ((y_hat - y)**2)
f(x) = x^2 + 2x + 1
d/dx
f`(x) = 2x + 2
x= -1
c(w) = 1/m sum0_m ((wx - y)**2)
f(x) = x^2, df(x)/dx = 2x
2x, gives us the steepest ascent, if we move along 2x
now if we want to minimize f(x)
we move against df(x)/dx
but how large should we move ?
w = w - (moving factor) * df(x)/dx
moving factor = learning rate, if it's too big it will overshoot
the minimum
if it's too low, it will be too slow to reach the minimum
(2,4)
f(x;w) = 5x
f(x;w) = w x
f(x) = 2
f(x) = 2 , -2
In mathematics, a function is a binary relation between two sets that associates each element of the first set to exactly one element of the second set. Typical examples are functions from integers to integers, or from the real numbers to real numbers.
f(x) = x
X = [1,2,3,.....]
f`(x) = 1
f(x) = wx + b
f(x) = 2x + 1
X= [[1],[2], [3]]
y = [[4], [7], [10]]
find me a function
f(x)
f(x) = mx + b
y
c(m,b) = 1/m sum(1,m) (mx + b - y)
m = 5
b = 2
!eval
def f(x):
@orchid barn :x: Your eval job has completed with return code 1.
001 | File "<string>", line 1
002 | def f(x):
003 | ^
004 | IndentationError: expected an indented block
@dense ibex gimme streaming please

What?
never mind thanks
a= []
b = ["Aplha "]
for i in b:
a+=i
print(a)
!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.
usually a+=i is a = a + i, but not in this case
Python's plus equals augmented assignment syntax is more complex than many people realize. Let's take a look.
(Sorry for the dark purple again! I've changed it in my ide to pink for the future!)
β mCoding with James Murphy (https://mcoding.io)
Source code: https://github.com/mCodingLLC/VideosSampleCode
Docs for iadd: https://docs.python.org/3...
@toxic bluff apparently a+=i behaves analogous to a.extend(i) in your particular case. extend iterates over the object on the right hand side. To get the same behaviour as you would with a.append(i) you would have to write a+=[i]. Performance wise other soultions should probably be preferred.
FYI if this behavior is not desired you can always override the __iadd__ in a custom version of the list class (details here https://docs.python.org/3/reference/datamodel.html#object.__iadd__)
something like this should work: ```py
class myList(list):
def iadd(self, other):
self.append(other)
sounds really not like best practice to be honest
it's okay if it's your own project and it's explicitly documented
also even if you never use it, good to be aware that the dunder functionality exists and where its derived from :)
but that's fair. If it were a large project where there's many distinct developers, it would be easier to just know of the odd behavior and adjust for it so there's no confusion around a custom list class with differing behavior.
In computer science and operations research, the ant colony optimization algorithm (ACO) is a probabilistic technique for solving computational problems which can be reduced to finding good paths through graphs. Artificial ants stand for multi-agent methods inspired by the behavior of real ants.
The pheromone-based communication of biological a...
A small exploration of an algorithm inspired by ants, and some little experiments into simulating some of the behaviour of ants and slime moulds. I hope you enjoy!
The slime simulation project files are available here: https://github.com/SebLague/Slime-Simulation
If you'd like to get support the channel, and get early access to future projects,...
oooh interesting
aeros join 0
@dense ibex wanna join 0
yeah hold on
ok
Hello all
hi there
Hi @errant nova
What's this one? It's unfamiliar to me.
the former image is how perlin noise should look like and the second image was due to a bug in my implementation (which I fixed by now + its 3 times faster than the solution before)
Pfeh. Accidents can make for some fun results.
Sometimes boring linearity. Sometimes less boring.
I prefer Worley over Perlin.
Sure looks nice - I didn't want to use something based on seed points/partitioning initially. Might try out other forms of noise but for now thats probably too much of a side track.
Sorry @whole bear I was just hopping in to say hi but appearently I can't talk for another two days
alr
hide you config file (im just assuming its config.json)
config.json
hide all json files
*.json
hide all json files in a specific folder
config/*.json
version: "3"
services:
postgres:
image: postgres
restart: always
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
ports:
- "5432:5432"
redis:
image: redis
blah blah blah
The PostgreSQL object-relational database system provides reliability and data integrity.
hi
The code will run EXACTLY the same way on deployment as it does during development
Because everything will be exactly the same with services and dependencies
Hm? No
Docker does nothing with kubernetes
But kubernetes uses Docker iirc
You commonly deploy to kubernetes with Docker images
Since docker images contain all instructions for getting dependencies and starting, Kubernetes uses it to easily start and close down pods.
Kubernetes is a way to host applications, it will smartly open and close pods (that's a single Docker image) as well as restart them when they die.
It's actually open source and used by EVERYONE
My dad works at Ericsson and I keep hearing about how much he complains about it haha
hmmm discord cant find my mic or headphones
Hahahaha everybody joins when you start GTA
lmao
I was watching for a second but it kept lagging when I was scrolling
This Chromebook is so old that I know the date it will stop getting updates
It's like this September
No that's not what I was responding to Jake
This Chromebook I have will get its last update this September
"This device will receive security updates until September 2021"
nice driving skills
BRUUUUHH
this game's physics is so realistic. your car fell from above and your character did not die
hey
cya
i use conda
no
use this for windows
heres a tutorial for virtual environment
where did opal go?
Amazon SageMaker is a fully managed service that provides every developer and data scientist with the ability to build, train, and deploy machine learning (ML) models quickly. SageMaker removes the heavy lifting from each step of the ML process to make it easier to develop high-quality ML artifacts. AWS Serverless Application Model (AWS SAM) is ...
Learn how to use identity-based policies to grant users access to your Lambda resources.
https://www.toptal.com/developers/gitignore @pastel linden
that was the paper explaining artifacts in different noise generation algorithms I talked about: https://graphics.pixar.com/library/WaveletNoise/paper.pdf
thats disappointing
It's several years old, last update I'll get is September this year
really? Google is giving their notebooks the same kind of support as for their phones?
Seems like it
I mean, this is really old: Toshiba cb30-b-104
I couldn't find the release year
2015 - really old?
my 4810tzg from 2009 just failed me this year
Damm.. RIP π
Can't say the same for my Chromebook π
Hey @pastel mesa, you have a lot of backgorund noise
Perfect
I'm writing my talk for EuroPython 2021
It is an online event, where different speakers around the world discuss different topic
Yeah, it is a conference
Recreating Git commit from scratch and how Python can be used to automate simple tasks
The command git commit
This one in particular
Basically you have a script that simulates what the command is doing, it is creating an actual commit
If you think about it in term of graphs, the script will create a new node
Yeah, the first part is about exploring how it is structured
and the script will emulate what the normal git executable is doing, and place the right files at the right place
Well, you can see that on Friday 16:15 CEST π
wdym?
Yeah
Yep
It does an hash check for efficiency, but yes
it is comparing files one by one
It won't save it again
It will only keep one version of each file
Yeah, it will only save it again if the content changed
Yeah, I can show you a quick example
So here, we create three files and add them to the repo
You can see on the bottom command it created three objects in the Git database
Yeah
yep
hah, it should be doable on windows, I think
Yep
There are different structures for that
Yeah, a commit object and a tree object
you looking at the stream?
Yeah
I can't talk because my family is around
but basically, you can see the commit object, bdffcc9
Yeah, an object is a file in .git/objects
akarys@mojito /t/example (main)> git cat-file -p bdffcc9
tree d672becf763d2a9b769b07940e87443f68c4afcf
author Matteo Bertucci <matteobertucci2004@gmail.com> 1627197944 +0200
committer Matteo Bertucci <matteobertucci2004@gmail.com> 1627197944 +0200
example commit
Yeah, every object is in the same folder
It pretty prints an object
If we look at the tree
akarys@mojito /t/example (main)> git cat-file -p d672becf763d2a9b769b07940e87443f68c4afcf
100644 blob 6f670c0fb53f9463760b7295fbb814e965fb20c8 test
I guess you could consider it like that, yeah
So here you can see there is a blob (so a file) named test with the hash 6f670c0fb53f9463760b7295fbb814e965fb20c8
aaaannnnddd if we look at that file
akarys@mojito /t/example (main)> git cat-file -p 6f670c0fb53f9463760b7295fbb814e965fb20c8
test 1
We have the content
Now, if we create another commit and don't change the file content
Yeah yeah
a tree is a directory
You can have trees inside of a tree
I guess it is more of a branch haha
akarys@mojito /t/example (main)> git commit -m "example commit 2" --allow-empty
[main 0c329fd] example commit 2
akarys@mojito /t/example (main)> git cat-file -p 0c329fd
tree d672becf763d2a9b769b07940e87443f68c4afcf
parent bdffcc922f6182eee13336d5467d2a8cede69b24
author Matteo Bertucci <matteobertucci2004@gmail.com> 1627198254 +0200
committer Matteo Bertucci <matteobertucci2004@gmail.com> 1627198254 +0200
example commit 2
So we create a commit without changing anything at the top
and it still points to the same tree, yep
Exactly
They are actually an hash of the content
Do you know what an hash is?
Well, there you go
If you have two huge files and have their hash you know that they are the same very quickly
Yes
It explodes
Basically
nah
It is almost impossible to have collisions
.wa 8^20
that's the amount of SHA1 hashes possible
I believe
So having two exactly similar files is almost impossible
One problem though is that you don't always use the full hash
In most cases you just abbreviate to the first 6 or 7 characters
because who the heck types 40 chars hashes
BUT
the linux project is very large
so large that they had to use the 10 chars, they ran into so many collisions
it is just crazy
I wonder how large it is
Weeeellll
I wonder if it is just the active directory or the whole history
gtg
yes
Oh boy, it is just the active repo
Well, since objects are saved by hash, it isn't really possible
Like, in the .git/objects folder
If you have a collision one file will override the other
I don't think they do
I mean, most softwares break on edge cases π
I think one file will have the content of another file
Same for trees
which would be more funny
You have a directory that is replaced by the content of another directory
but if you have a collision between two objects of a different type your database is corrupted
Like, if Git expects to find a blob of data and gets a commit instead it will be very confused
and flag that as a corruption
They are all in the same folder
trees, commits, blobs and tags
Yeah
Yeah
You can have a common interface I guess
but each file has its type at the beginning of the file
so that's a bit weird
>>> import zlib
>>> with open(".git/objects/b0/7f0ed953b8a24983dd5048cd2019b595692d74", "rb") as file:
... content = file.read()
... print(zlib.decompress(content))
...
b'blob 17\\u0000This is a README\n'```
If they already have type tags, they could be put in different folders
but I guess there isn't really a point to do that
No probs!
It also helps me prepare for the questions after the talk 
so if you have anything else to ask, please go ahead haha
fair 'nuff
cool, thanks
Haha, good question
Wikipedia has a table on the probability of Birthday Paradox collisions. There is no entry for a 40 character hash. But an interpolation of the entries for 32 and 48 characters lands us in the range of 5*1022 git commits for a 0.1% probability of a collision. That is fifty thousand billion billion different commits, or fifty Zettacommits, before you have reached even a 0.1% chance that you have a collision.
50 zettacommits haha
Someone tried it haha
yeah
error: object 0400000000000000000000000000000000000000 is a tree, not a blob
fatal: bad blob object
error: failed to push some refs to origin
Yeah
I guess it makes sense, they are the same thing technically
haha, how late is it for you?
oh boy
that's like.. far left of the US?
Cool, cool
Thank you
Night!
Yep :(
hello!
from what server?
oh, you mean voice banned
gotcha
@gloomy vigil I'm writing my EuroPython talk
it is an online presentation around programming, stressful stuff 
I mean, I did that to myself, I can't reallllly complain haha
yea it happens
baguettes
π
I don't think that's the right spelling
and bonjour
but I can't remember it
these are the only words i know
!rule 5
5. Do not provide or request help on projects that may break laws, breach terms of services, or are malicious or inappropriate.
!rule 4
4. Use English to the best of your ability. Be polite if someone speaks English imperfectly.
:x: Invalid rule indices: 69
!ban @balmy nymph Rule 4
There was a backslash at the start of the message, no idea if it works haha
!role 270988689419665409
270988689419665409
#000000
0.00 0.00 0
1
81
8589405951
!role 267629731250176001
267629731250176001
#ff9f1b
0.10 0.89 255
33
82
7784497094
oh lol then good
nah, it shouldn't
Surprisingly enough I didn't see any ping today yet
but please don't ping just for the lol
:incoming_envelope: :ok_hand: applied mute to @whole bear until <t:1627200935:f> (9 minutes and 59 seconds) (reason: discord_emojis rule: sent 21 emojis in 10s).
:incoming_envelope: :ok_hand: pardoned infraction mute for @whole bear.
First ping of the day haha
Bunch of 
nah, it is 10am
yes
Would I be right to say you are on UTC+5:30?
soooo 1:38 PM?
Noice, I for once recognized an accent haha
haha, yeah
Sorry, what sounds fun?
aaahh
hey yo
nice
libre office or power point?
google slides :P
by time it you mean like, getting the number of wods and then getting an avg human number of words per minute sutff?
I think I'll just run through it? That could work too tbh
yea thats good too
you could cut off the time by like drinking water while pseaking lol
lol
16 min π©
ugh, I only have 16 minutes according to the average reading speed
16 mins 30 seconds
drink water 30 seconds
you need 8 more mintues
I don't know how fast I speak though
which is roughly 500 words
speak slow
Lets try a random paragraph
take 3 per two minutes
lol
6
lol, I've just read a paragraph
like, quietly
110 words in 48s
.wa short 110/48*60
275 halves
XD
3300
24 minutes
perfect
slide time
live, yeah
nah, online
like, I'll speak in front of my webcam live
noice
nice logo
what is your live about
well i have to go
bye
bye
Recreating Git commit in a 80 lines script and how Python can be used for daily scripting
bye!
how do i join
If you wanna join on Friday please see my awesome announcementβ’οΈ here: #python-events message 
will you teach something thire
Yup
what will you teach
My talk is titled "Learn Python automation by recreating Git Commit from scratch"
which should sums it up
oh nice
What do you think of this color theme?
its nice
why does every company feel the need to use the word "empowered"
because powah
and they all have these pictures
XD
thanks
lol
haha
true
yes yse
oh yeah, I forgot that was a thing
I'm not good at LaTex at all haha
hmmm
ah, you mean the full slides in latex?
Yeah, but it will look like shit
how the heck do I do that
:(
that is okay-ish
Yeah, that's decent enough
yeah
well i am going to eat will come back in an hour or so
have y'all tried right-clicking user settings in bottom left
shortcut to the actual thing, but as a menu
Hi im gonna be on a break
for 1 week
Scam, don't click 
wat
?
you gonna... stop?
alright I've had enough thanks
!ban 819463667024003072 14d General weirdness, posting my face and making several odd statements. Please don't be weird.
:incoming_envelope: :ok_hand: applied ban to @fallen oyster until <t:1628482246:f> (13 days and 23 hours).
Hi guys
I have been learning python for 1 month
currently working on face verification libraries but I couldn't manage to run it this library on jupyter notebook
damn that was creepy
gonna not be talking cuz at work
people go to work now?
uh, yes?
ah
I thought covid existed
oh hmm m stuck rtc connecting
Weird
I created a file compressor π
ok here we go it works now
@leaden comet Hello there π
covid exists but with 10/100000 cases the last 7 days ....
ahhh that makes sense
so restrictions lifted?
where do you live
who authorized this
This is my file compressor that is capable of running the compressed files...
please don't multipost
That depends
Nope
Germany
Who are you? Are you Mina Loveberry?
hey guys
im also fully vaccinated
gotta uphold my dutchness
*in Ewan McGregor's voice* Hello there
congrats
I didn't actually ask where do you live 
but okay
that was a rhetorical statemnet
Β―_(γ)_/Β―
why pfp change
i have told people here the city where i live i dont care
i'm
's favorite
im at work so muted but hey @olive hedge
im at work work, not homeoffice
so collegues nearby, cant talk
ah that makes sens
anyhow gtg folks
Bye
okay
but why pfp change
why not?
sorry I didnt greet you!! did not recognize
when the script runs way too fast: oh no, oh no no no
That's fine, kinda is the goal actually
very nice though

I have an idea for @rugged root's variants...
Mr. Grimlock (a Transformer)
Mr. Cremelock (Hemlock with a ice cream head)
Mrs. Hemlock (Equivalent to Sylvie)
Mr. Hamlock (An anthropomorphic pig)
Comrade Hemlovich (Soviet Hemlock)
Mrs. Remlock (Rem from Re:Zero, but likes Python)
BTW have anybody watched Loki on Disney+?
when customers call you "my love" loll
looking at robot: how the hell do you define what Open Browser To Login Page actually does?
Just use a parser
im not asking how to do it in general, im asking specifically how robot is supposed to know what this means
π΅ welcome to the internet, have a look around
anything that brain of yours can think of can be found
we got mountains of content some better some worse
if none of its of interest to you you'd be the first.
ah, makes sense
but it still seems awfuly complex to implement whats basically a entirely new language and then do testing
when you could just do testing directly
and also, you proposed this as a alternative to selenium, but it needs selenium?
alternative to pytest/java testing framework I mentioned
i mean, its interesting, but it doesn't seem like a alternative to a testing framework
im not saying its useless, but you proposed this as if it was a alternative to whatever testing thing similar to selenium fisher was talking about
i mean, for something like that i would think that a proper DSL is better than trying to read it from normal english
@leaden comet Hey, I've created a "file compresser" that not only compresses Python files but is capable of running the compressed files, as if those files were executable files.
haha. okay. nice work
That "whistle" sound sounds like... high-pitched fart.
If your farts sound like some kind of space gun, see a doctor
Do you notice the difference in size?
The size of python/pygame/demo.py is 1315 bytes, whereas that of botan.py, which is compressed using my "state-of-the-art" compressor, is only 845, about 35,74% smaller.
what algorithm is this "state of the art" compressor using?
what dependecies does it need?
does it package the scripts dependecies too?
B64 encoding/decoding and gzip compression.
hmm, yes, very "state of the art"
When "compressing", the program encodes the input, and then compress it.
dont get me wrong, its a cool project, but please dont advertise gzip as state of the art
well maybe but why not just say "compressed using gzip"?
i dislike disingenuous marketing
Yeah, I know it's blatant cheating.
But for people who does not know anything about Python, you can't tell any difference...
that would actually be a fun project, pdf as database
lmao
i wonder whether gzip might be more efficient without the b64 step
yeah, just auto-upload all pictures to facebook
i remember a file called distorage.py that was part of the first discord bot i worked one. storing json in b64 in discord messages.
just buy discord
@short gate i just tested some code in cyberchef with gzip with and without b64 and without b46 compresses smalelr
python slack
How
The Cyber Swiss Army Knife - a web app for encryption, encoding, compression and data analysis
click the stop button on b64
im assuming its becasue normal code has less different chars than b64
also im sorry for everyone reading this chat for the enormous link above
trying to make a function generic over integers is so annoying in rust
It's okay. You could just use a link shortener.
i dont trust link shorteners, generally, so this is preferable if annoying
probably
its not public is it?
i mean, l.laundmo.com would be trustworthy, right?
if its me sending the links
@rugged root I've been waiting for minutes. I'm expecting a scam.
D-nice
it loooks like this
seems it has issues loading for you, are you on a recent browser version?
ahahaha
Of course I am. I'm using Firefox 89 or something...
404
hm, can you check the console?
What console?
that's the funniest thing i've heard in years
that seems like something is blocking it. maybe a overactive adblocker?
No, I haven't installed any adblocker on Firefox yet.
you only have to stop at stop signs if there's another car
could you look in the network tab in the devtools and reload the page?
this seems really odd, firefox should not stop blobs from the same domain due to security
helmets are for nerds
nice
And for people who like having their brain in their skull
so that works, guess you'll have to add it yourself
put some code in the input field, drag To Base64 and then Gzip into the Recipe part, and toggle base64 on and off
ah, he's not wearing a helmet, let me just hit him
if ANYTHING ELSE killed as many people as powered vehicles it would be a global crisis
then observe how the output character count changes when you remove b64
@rugged root : uhh corona
also hemlock: i mean theres tons of things that kill more that are not a global crisis
so hemlock, corona is not a global crisis?
if ebola was a global as vehicle deaths it would be a global crisis
and pollution is not a global crisis?
i mean, fuck governments opinion on pollution, its a goddamn crisis
why do you think it has to be actively acted upon to be a crisis?
why?
a crisis is impeding, but not immediete
Β―_(γ)_/Β―
did i say a crisis cant be immediate?
When I hear crisis I think of a moment of change.
im only saying it can be more than immediate. not that it can ONLY be more than immediate
okay here listen global warming is a crisis because we are seeing major rare weather events frequently like 50 degree in Canada, Floods in Germany and Extreme Forest Fire in California
i think a crisis is something people in general can recognize to be a danger to them, their way of life or culture
But arguably global warming is a crisis, because while the effects are slow and drawn out, the time to act is short.
we just need more trains tbh
every single traffic issue can be solved by suffecient trains
i think it depends whether the artist themselves separate their artistic work (and the gains from that) from their political opinions
razer smh
that is my issue with HP lovecraft. While the lore is very interesting from what I know, I have heard he used it to make direct comparisons to his beliefs
The funniest commercials in the world.. The Direct TV Russian guy and The spoof by the Divine Rags guy all in one.
The irony is clear. The rich Russian guy looks like a mafia or just a rich Russian guy, the Divine Rags guy looks like a ladies man or pimp. Dichotomy is always amazing - two parts that are compliments in logic yet the analysis was ...
so like, Micheal Jackson, there was a bunch of controversy about him but the artistic works can stand on their own
Bing chilling~
maybe we should steer away from this convo
@short gate did you figure out cybechef?
I found something from it called "x86 Dissassembly".
lol yeah it has a bunch of things, really cool imo
verbose be like
@rugged root its actaually a "dissasemble x86" thing in cyberchef
@tough panther i think you need this; https://pydis.com/coc
The Code of Conduct for our community.
just
WTF samiel
WTF
!warn 603610743811604513 when we say drop it, you drop it.
:incoming_envelope: :ok_hand: applied warning to @tough panther.
things are getting out of hand
I could see that being an awesome stop motion
@gentle flint in english the word "projector" is more commonly used i think
lol
its a "false-friend" word that sounds english but isnt
afaik
oh good a speeding insurance
"false-friend" is what english teachers here call words in german that sound english but are not @rugged root
like smarthphones are called "handy" in german but if i say that in eglish i sound like a idiot
even though it sounds english
quiet chat
shelf broke in half
These strings are precision manufactured to the highest standards and most exacting specifications to ensure consistency, optimum performance, and long life. These Air Guitar Strings are made from nothing wrapped around more nothing, with specially tempered nothing-plated high carbon nothing, producing a well balanced tone for your air guitar.
im gonna go home so cya
cookies re gud
i broke my table too
bye!
@gentle flint are you tryung to speak?
no, I am speaking.
i cant hear you
Also, I never knew you were French
I should have realized by what you posted in dev contributed yesterday (with the datetime display on French)

why i cant hear you @gentle flint
How should I know
i cant hear anyone
Besides joe, who is the worst shitposter on staff
perhaps you're going deaf
did you listen to too much heavy metal?
no
then idk
me
i think im going reinstall discord or resdtart my pc