#ot1-perplexing-regexing
1 messages ยท Page 584 of 1
!projects
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.
Extreme programming (XP) is a software development methodology which is intended to improve software quality and responsiveness to changing customer requirements. As a type of agile software development, it advocates frequent "releases" in short development cycles, which is intended to improve productivity and introduce checkpoints at which new ...
the reviews โฌ๏ธ
says who
ok im switching back
light mode is torture
mye eyes are tortured
help
please
i need an ambulance
k
k
Xddd light mode sucks idk why discord kept it
Woah
Xd @eager trout hows ur team going along ?
i think dc removes it once
*removed
almost done
Idk I just see it every day
Niceee
almost started
there is the same wifi clone
pretty sure it removed it, people felt uncomfortable and then wanted it back
Lol good luck anyway
Ohhh
mm
light mode is an accessibility feature, aside from a cosmetic choice
vision issues can make the dark theme hard to read in some cases
ohh i see
yes
?
bruh
autohotkey
basically
lmao
except cross platfor
oh damn
it can do many things
interesting
That looks pretty cool
now when I type date, with a colon behind it of course, it does 07/16/2021
one thing I like about rust. Things compile perfectly almost every time
this is interesting
ive actually wanted to build something like this
time to look at the code
surprising
this is very well done
i guess its just debug executables that takes up space
I'll be using rust more often
this is nice
can i install it with cargo
Yes
cargo install espanso?
Yes
Rust crushes c++
I'm done with c++. Just too hard and I don't like it. It's an old lang
same
neat, what framework is this using?
its too hard
i like c over cpp just because c is easier to understand :pain:
F1re built a web server in rust for link shortening and it worked really well
Easy to setup too
also i like how the slowmode is always enabled in ot0 and not other ots
ot3 is a godsend
:thonk:
maybe it might be an ot exclusive for helpers and mods
Finally
yo this is nice
Espanso
i have alwas wanted to make this
dayumn
Rust is fast too
based af
yeah but hard to learn
The graphics are so good too
But hey, it's rust
At least it isn't c++
I gave up on opengl with c++. I couldn't get the damn libs to link
stop hating cpp sm man lmao
Lol
yeah i miss those days when things could be solved with printf and scanf
No
<<
std::cout << "some shit" << std::endl;
ah damn
std:: ๐
printf("some shit");
seems so much better
!e
class Cout:
def __lshift__(self, value):
print(value)
cout = Cout()
cout << "Hello world"
@tranquil orchid :white_check_mark: Your eval job has completed with return code 0.
Hello world
Even better
Or just \n that bih
What the fudge
lol
this is interesting piece of code
yo hsp
henlo
Can you so the same with >>? For sending information to a variable?
u had that code of weird getatr for lists right?
that sum of list thing
:thonk:
!e```py
class Cout:
def rshift(self, value):
print(value)
cout = Cout()
cout >> "Hello world"
Nah like
nope sigh
cin >> x;
something like array[range(9)] will give output as 45 iirc
So basically input() is called and that value is assigned to x
Rust solves my dependency issues
Just dump the dep name and version under [dependencies] in the toml file and cargo handles the rest
Quick software dev
Hmm
and the rsut extension was working on it
Holdon I have a cursed idea
godsend
then windows defender staerted taking 60% cpu
Lmao
it was becoming sus
Defender is shit
I only use it for once in a while scans
me too
are you thinking what i'm thinking ๐
Bruh
hm
Perhaps
sus
Though I am questioning my sanity
oh my god
!e don't ask
import inspect
import traceback
class int(int):
def __pos__(self):
new_value = self + 1
var_name = traceback.format_stack()[-2].splitlines()[-1].split('+')[1]
inspect.currentframe().f_back.f_locals[var_name] = new_value
a = int(5)
+a
print(a)
@tranquil orchid :x: Your eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "<string>", line 13, in <module>
003 | File "<string>", line 7, in __pos__
004 | IndexError: list index out of range
wait
hmmm
It works for me
!e
import inspect
import traceback
class int(int):
def __pos__(self):
new_value = self + 1
print(traceback.format_stack())
#inspect.currentframe().f_back.f_locals[var_name] = new_value
a = int(5)
+a
print(a)
@tranquil orchid :white_check_mark: Your eval job has completed with return code 0.
001 | [' File "<string>", line 13, in <module>\n', ' File "<string>", line 7, in __pos__\n']
002 | 5
Ohhhh right
@eager trout theres some c/c++ used to make espanso work
Yeah it works fine on my machine, the bot must be running it differently
what does it do tho?
!e
std,cout,endl=type("",(),{'__getitem__':lambda _,i:i.step})(),type("",(),{'__rshift__':lambda _,x:print(x)or _})(),"\n"
std[::cout] >> "hello" >> std[::endl]
@acoustic moss :white_check_mark: Your eval job has completed with return code 0.
hello
epic
Wtf
!e oh, i can make it better
std,cout,endl=(c:=type("",(),{'__getitem__':lambda _,i:i.step,'__rshift__':lambda _,x:print(x)or _}))(),c(),"\n"
std[::cout] >> "hello" >> std[::endl];
@acoustic moss :white_check_mark: Your eval job has completed with return code 0.
hello
oh technically it should be print(x, end='') not print
!e
std,cout,endl=(c:=type("",(),{'__getitem__':lambda _,i:i.step,'__rshift__':lambda _,x:print(x,end='')or _}))(),c(),"\n"
std[::cout] >> "hello" >> std[::endl];
std[::cout] >> "world" >> std[::endl];
@acoustic moss :white_check_mark: Your eval job has completed with return code 0.
001 | hello
002 | world
readability stonks
๐
I'll be honest
I don't really know what happened here
import inspect
import traceback
class int(int):
count = 0
def __pos__(self):
if self.count + 0.5 == 1:
new_value = self + 1
var_name = traceback.format_stack()[-2].splitlines()[-1].split('++')[1]
print(f"Var name: {var_name}")
inspect.currentframe().f_back.f_locals[var_name] = new_value
self.count = 0
return new_value
else:
self.count += 0.5
return self
def __add__(self, other):
return int(self -- other)
a = int(5)
++a
print(a)
but it does work
Holdon I can probably figure out a version that'll let the bot run it
++a wait what
>>> a = 5
>>> ++a
5
breh
+++++++++++a still gives 5
no but
what does ++ play here
just some random valid python?
its the counterpart of the - in -5

Oh, yeah; I didn't remember
...: class Int:
...: def __init__(self, val, /):
...: self.val = val
...: self.pos_count = 0
...: def __pos__(self):
...: self.pos_count += 1
...: if not self.pos_count % 2:
...: self.val += 1
...: return self
...: def __repr__(self):
...: return repr(self.val)
...:
In [66]: a = Int(2)
In [67]: ++a
Out[67]: 3
In [68]: a
Out[68]: 3
``` why not make a wrapper
what does +a do?
omg I just spent like 20m trying to work out how css/html works and typing random things in order to make a wordwheel, and finally managed to get this beauty
then I open it in chrome and see this

These pictures are identical 
css moment
Turns out border and outline are different things
fixed that, although it's now off-center
This is it if anyone is interested https://codepen.io/wookie184/pen/NWjjPRJ?editors=1100
You're cringe
you want border, not outline
yeah
although that takes up space so makes it off center...
ah cool, I fixed it https://codepen.io/wookie184/pen/wvddKzr?editors=1100
Lmao just clicked that from mobile
fixed very very well
lol
works on firefox, what else do you need?
work on the other browsers that have a total of 97% market share
!e
class Cin:
def __rshift__(self, value):
input(value)
cin = Cin()
cin >> "Enter a number: ";
@rough sapphire :x: Your eval job has completed with return code 1.
001 | Enter a number: Traceback (most recent call last):
002 | File "<string>", line 7, in <module>
003 | File "<string>", line 3, in __rshift__
004 | EOFError: EOF when reading a line
could use a StringIO() for sys.stdin
!e
class Cin:
def __rshift__(self, value):
print(value, end="")
input()
cin = Cin()
cin >> "Enter a number: ";
@rough sapphire :x: Your eval job has completed with return code 1.
001 | Enter a number: Traceback (most recent call last):
002 | File "<string>", line 8, in <module>
003 | File "<string>", line 4, in __rshift__
004 | EOFError: EOF when reading a line
:(
!e
from io import StringIO
import sys
sys.stdin = StringIO("hello world")
x = input()
print(x)
sad
@acoustic moss :white_check_mark: Your eval job has completed with return code 0.
hello world
In [1]: class Cin:
...: def __rshift__(self, value):
...: input(value)
...:
...: cin = Cin()
...:
...: cin >> "Enter a number: ";
Enter a number: 10
hehhehehhehe
isn't cin supposed to store the result of the input in a variable too tho
hehehhehhehHEH
that won't modify var though
this is an operation python really doesn't support
IIRC, the way someone else did this is by analysing caller bytecode/ast, but it was quite the process
this is much easier in raku
The impl of snekbox doesn't
There's not a way the bot allows input()
oh nvm, raku can't have an >> operator
i could do it with inspect if i can figure out how to get the name of the variable passed
Yeah I used inspect
In [1]: import inspect
...: import traceback
...:
...: class Cout:
...: def __lshift__(self, value):
...: print(value, end="")
...:
...: class Cin:
...: def __rshift__(self, value):
...: name = traceback.format_stack()[-2].split(">>")[1].strip().strip(";")
...: value = input()
...: inspect.currentframe().f_back.f_locals[name] = value
...:
In [2]: cin = Cin()
...: cout = Cout()
...:
...: var = None;
...:
In [3]: cout << "Enter a value: ";
...: cin >> var;
Enter a value: 4560
In [4]: var
Out[4]: '4560'
Well, trackback and inspect
It's a little cursed
epic
i think you can do it without traceback and with only inspect
inspect.getframeinfo(inspect.stack()[1][0]).code_context
In [1]: import inspect
...: class A:
...: def __lshift__(self, i):
...: inspect.currentframe().f_back.f_locals.update({inspect.getframeinfo(inspect.stack()[1][0]).code_context[0].strip().split('<<')[-1].
...: strip():input()})
...: cin = A()
In [2]: x = None
In [3]: cin << x
5
In [4]: x
Out[4]: '5'
!e
from io import StringIO
import sys
sys.stdin = StringIO("this is input")
std,cout,cin,endl=(c:=type("",(),{'__getitem__':lambda _,__:__.step,'__lshift__':lambda _,__:print(__, end="") or _,'__rshift__':lambda _,__:(___:=__import__('inspect')).currentframe().f_back.f_locals.update({___.getframeinfo(___.stack()[1][0]).code_context[0].strip().split(">>")[-1].strip(): input()})}))(),c(),c(),"\n"
x = None
std[::cout] << "hello" << std[::endl]
std[::cin] >> x
std[::cout] << x << std[::endl]
@acoustic moss :x: Your eval job has completed with return code 1.
001 | hello
002 | Traceback (most recent call last):
003 | File "<string>", line 10, in <module>
004 | File "<string>", line 5, in <lambda>
005 | TypeError: 'NoneType' object is not subscriptable
F
works locally tf
In [15]: from io import StringIO
...: import sys
...: sys.stdin = StringIO("this is input")
...:
...: std,cout,cin,endl=(c:=type("",(),{'__getitem__':lambda _,__:__.step,'__lshift__':lambda _,__:print(__, end="") or _,'__rshift__':lambda _,
...: __:(___:=__import__('inspect')).currentframe().f_back.f_locals.update({___.getframeinfo(___.stack()[1][0]).code_context[0].strip().split("
...: >>")[-1].strip(): input()})}))(),c(),c(),"\n"
...:
...:
...: x = None
...: std[::cout] << "hello" << std[::endl]
...: std[::cin] >> x
...: std[::cout] << x << std[::endl]
hello
this is input
what the fuuuuuuuuuuu
c++ in python
ok
Making a space invaders type game in Pygame. Following a guide to do this but it's still cool to pull this off
epic
pov aliens invading earth?
!e
What did I just read
Nicee
have to say, it's a totally different experience coding the game in a framework (Pygame in this case) rather than in an engine (such as Unity or Unreal)
a lot more code involved and less abstract
more setup required too
yeah that is true
i went the opposite route
and i often end up reimplementing stuff in unity which already exist
hsp are u intended on making a cpp library in python?
lol
I mean it's not a bad idea
Anyone want a ciggy
cython exists lmao
Fuck CUDA
FUCK GPUS
Stupid pieces of hardware who cannot allocate memory at run time
:(
And then access memory they shouldn't
Took me so long to figure out this bug
I had an array, arr, and was passing arr[1:], arr[:-1] to my GPU device function, but it was somehow reading the whole array, not the slice.
No new memory was being made, but it had access to the whole memory somehow
pretty poggers, not gonna lie
stunt files have some affiliation with cpython
all we get is ord("E")
oh right yes
but do we get it
try run it, you'll know you have it
e
No, h is god
Despite the apparent triviality of such an unglamorous character, h holds much more importance than any sentient entity could comprehend. Unfathomably immense significance veils itself in the mundanity of the simple stroke and ellipse of the letter h. In the beginning, before the materialization of the universe itself, there was h. An unconfined, raw, power - so immense, so monumental, that out of the black seas of infinity, emerged our existence itself. Space, time, all of the fundamental abstractions which perpetuate our reality itself - all come from h. On its own, a framework of mechanics such as this has no real value. On its own, this deterministic notion of a basis of reality is nothing more than a calculation, of sorts. A useless blip of computation in a unending void. However, h has done something much more spectacular. For h has introduced entropy itself into our existence. This incalculability sanctions for the perpetuation of reality into the manifestation of sentience itself. The power of h flows throughout us all, providing us with the foundation of life itself. It is unfeasible to even begin to express the importance of h to us mere mortals. For the power held within h is so vast that it could snap every crumb of our reality out of its existence instantaneously. The most that such frivolous earthlings can do is dedicate our lives to praising our creator, the one true god, h itself.
What.
This is blasphemous to E.
just a piece of literature :)
thats because E holds only a fraction of the power of h
E is a god.
it is undeserving of appreciation when in the presence of h
h is part of the sith
damn
lmao I just read it xD
@raw beacon wrote it and its amazing
probably part of the hexagons are the bestagons group based on his pfp
nevermind 
yes
ok
why you ok man
they're okreo, they must be ok
Are you CGP Alec now?
have some 2.718281828459045
on a slightly-ish semi kinda related thing
i wanna make jan Misali style video for h
like w but h
๐ญ
!e
print('h'>'e')
@solemn leaf :white_check_mark: Your eval job has completed with return code 0.
True
also for some reason why does it look like the water is going into 2 pipes
idk
!e he said H, py print('H' > 'e')
@edgy crest :white_check_mark: Your eval job has completed with return code 0.
False

E and e are 32 characters apart
wow
also py In [2]: ord('E') Out[2]: 69
e is 101
!e
print('1' > '0')
@slender vector :white_check_mark: Your eval job has completed with return code 0.
True
!e
class str(str):
def __gt__(self,other):
if self.lower() == 'h':
return True
elif other.lower() == 'h':
return False
h = str('H')
e = str('e')
print(h > e)
print(e > h)
@solemn leaf :white_check_mark: Your eval job has completed with return code 0.
001 | True
002 | False
In [4]: class str(str):
...: def __gt__(self,other):
...: if self.lower() == 'h':
...: return True
...: elif other.lower() == 'h':
...: return False
...: h = str('H')
...: e = str('e')
...: print(h < e)
...: print(e < h)
True
False``` should be the same for less than no 
borken
no they dont
wait time to override one more thing
!e
class str(str):
def __gt__(self,other):
if self.lower() == 'h':
return True
elif other.lower() == 'h':
return False
def __lt__(self,other):
if self.lower() == 'h':
return False
elif other.lower() == 'h':
return True
h = str('H')
e = str('e')
print(h < e)
print(e < h)
@solemn leaf :white_check_mark: Your eval job has completed with return code 0.
001 | False
002 | True
i like this channel for no slow mode >:))
and no one talking
e
pablo
should i dual boot windows
if u wish
sad
debatable
e is best letter
@gritty zinc i havent had this much fun since making tetris so thank you ๐ these problems are fun to think about
do programmers treat objects as if they are objects from the real world?
an objects is bunch of data with some behaviour
||_E_||
it works sometimes
When I was trying to implement hexapawn and thought that my classes should just be like in real life
the pawn does nothing related to the board it's just there so I will have a class Pawn with only color since irl the thing that matters is the color and I will also have a class called board which has a 2d list and x, y and lastly a class for Logic which do the checking and everything else
i guess you could have a separate class that takes in peices and a board and validates moves.
that what Logic class does
that my classes should just be like in real life
last time I checked there weren't any classes in real life, tbh๐
thats way if you make up different rules just write a different logic class instead of making new pieces
yeah it is sort of an abstract class but its doing the rules and they are abstract anyways
..... is that a pun on online education ๐
actually no, but you may choose to believe that :p
what is this ?
im trying to figure out how to represent and draw a latices like Confused Reptile did
on the other hand: classes slow ๐
hmm
but I guess if you need speed (for, say, a good AI), even numpy arrays and numba functions would be a bad idea
simply because at that point it'd be easier to write it all in a compiled language
wdym by this.. i dont get it >:((
I'm saying that if you need quick evaluation of states (which is vital, for, say, a minimax-based chess AI), you probably want a different language from Python
ahh okayy
I'm making a sudoku solver in Rust right now, maybe will work on an AI for some simple game afterwards
backtracking ๐
sudoku solver.. seems an interesting thing to make
i mean honestly when it comes to hard difficulty even manually solving the sudoku is pain.. i wonder how u be making an algo
I calculate for each cell what numbers can go into it
if I find a cell with only one choice, I take it
i mean yeah thats how to go about it tho
if I don't, then I have to try some choice, and if it doesn't pan out, backtrack and try another
hmm yeah true
also @gritty zinc what was this about.. i might wanna try it too.. if i get time from assignments that is
well, what I was doing is visualizing vibrating crystal lattices with opengl
#ot1-perplexing-regexing message
oh and you make the crystal latices vibrate in the vertex shader right?
well, I distort it in the vertex shader, yeah
I calculate the actual parameters of the wave using an analytically derived formula depending on the wave vector's direction and magnitude
so the shader is pretty simple:
#version 330
in vec2 position;
in vec2 shift_vec_real; //Don't normalize; magnitude is meaningful.
in vec2 shift_vec_imag;
uniform vec2 k;
uniform float phase;
out float total_phase;
void main() {
float selfphase = dot(position,k);
// shift_vec * exp(i phase) = shift_vec * (cos(i phase) + i sin(i phase))
// That's: shift_vec_real * cos(phase) - shift_vel_imag * sin(phase)
float eff_phase = phase + selfphase;
float temp_mul = cos(eff_phase);
float temp_mul_2 = sin(eff_phase);
total_phase = temp_mul;
vec2 shift = shift_vec_real * temp_mul - shift_vec_imag * temp_mul_2;
gl_Position = vec4(position+shift,0.0,1.0);
}
why would you need a shader, just code indoors lmao
hmm sounds interesting.. that gets me to a question.. how do you well draw lattices in python
wots dat
!pypi pyglet
class Board:
def __init__(self, row, column):
self.row = row
self.column = column
def __repr__(self):
return f"<{self.__class__.__name__}, row = {self.row}, column = {self.column}"
def __str__(self):
board = self.board[:]
for index, row in enumerate(board):
row.append(str(index + 1))
board.insert(0, list(ALPHABET[:self.column]))
return '\n'.join([''.join([str(piece) for piece in row]) for row in board])
class Piece:
def __init__(self, color, str_repr = None):
self.color = color
self.str_repr = str_repr
def __repr__(self):
return f"<{self.__class__.__name__}, color = {self.color}, str_repr = {self.str_repr}>"
def __str__(self):
return str_repr if str_repr is not None else repr(self)
Time for the ChessLogic class

cool
@gritty zinc i mean i have an idea for how to get the connections and co-ordinates of nodes
but i have no idea how to draw lines/structures in python or stuff
nor do i have an idea how to make a moving structure .. i mean it is possible we can wrap it around a sin wave but i have no idea how to code it >:((
its ok just try to make a lattice that doesnt move first.
right now im seeing if i can map a hexagonal map to 3d space
at the worst
i might use matplotlib
to join the nodes
but i dont wanna do that
oh god wait
can we plot a graph within bounds
so far hexagonal space is mapping cleanly within 3d space but with some gaps
i want to see if i can represent a hexagonal map in 3d space so i can use a 3 dimensioanl array to hold my data
i think it works ..... but im going to need some time to wrap my head around it
i mean cubes have six sides hexagons have six edges so why not try to make sense of it
man isnt that neat it maps and no overlap. But there is a lot of space left over
so maybe this isnt efficient and there is a better way
oop nevermind its not working
its failing
instead of arrays i could use nodes that link up together
im trying to figure out how to represent hexagonal board data for a game.
or i can still have an array but modify how people access it to make it a hexagonal map
bruh ishowspeed and absorber got their addresses leaked
Who
absorber
some dude got all of his information somehow
My name is Hamzah but I go by Absorber on the internet. I'm 18 years old, I was born in New Jersey and I currently live in Houston, Texas. My goal is to inspire and motivate younger kids to follow their dreams, no matter what it is! I post mainly Gaming videos, but I plan on moving onto in-real-life content very soon. I also stream pretty often,...
Looks like he hasn't gotten any sleep too. In his last video he has super deep eye bags, and he just quits the video after 11 minutes
yeah lol
eh
That's his goal
You can have a goal, but meet it later
He likes to be funny and have fun
And enjoy himself
People messed that one up lol
Bruh, some dude called him and said that he had all of his information
He makes funny videos where he trolls people with a girl voice. I can see how that would anger some people, but it's been taken too far
How do you know this isnt a troll too
i'm pretty much the best programmer in the world
if you ignore all the failed attempts, i've written every one of my programs perfectly first try
You must be living in a world on your own
i would honestly just buy a new wire, if they aren't too expensive
youtube learning videos in a nutshell
https://www.youtube.com/watch?v=0oHoXlnv-RE
Pretty much sums up every instructional video on YouTube ever
WATCH MORE SKITS HERE: http://bit.ly/VLDLvideos
SUPPORT ON PATREON - http://bit.ly/VLDLpatreon
DISCORD - http://bit.ly/VLDLdiscord
FACEBOOK: http://bit.ly/VLDLfacebook
TWITTER: http://bit.ly/VLDLtwitter
INSTAGRAM: http://bit.ly/VLDLinstagram
---------------------------------- TWIT...
uh yeah
takes me back to the damn 2010-15
Faze is a meme now
the big brain scout play?
i mean it is possible we can wrap it around a sin wave but i have no idea how to code it >:((
That's roughly what I did
but i have no idea how to draw lines/structures in python or stuff
There's tons of ways, but the value of this project to me is that I did it by using OpenGL directly (well, through a wrapper), which is about the most efficient way of rendering things there is
hmm seems nice.. i some what made a code to 2d print the hexagon.. not the best one there though pretty bad i would say.. would definitely like some suggestions/ comments tho
numba is as fast as C more or less, but it also can't do more than C
also how did u wrap around a sin wave roughly ๐
So what are its limitation .?
it compiles a very specific subset of python which means that not everything is nicely expressible
and also, it is quite slow to compile
so I wouldn't expect much on the compile from a jit compiler ...
Expressive as in ??
Generating new intruction sets ??
no, you just aren't writing python, you are writing C with python syntax and some extras
which is good enough for writing extra functions for numpy
but it is very much a thing where you have to write code for numba, you can't just slap a jit on a python function and have it be faster
you can do that
it will error out
you need to provide types for the JIT to do its work
it removes all traces of python except for numpy arrays and a few other types from the function, turning it into native code
and not all python code can be inferred quite that easily
Ohhh sounds k to me. I guess imma give it a try to do my shit. Thanks laka
I will check it out. Dw.. u already explained me the important bits. Thnx heaps
well, I analytically solve the motion equation for this crystal, which ends up a wave, but with separate displacement vectors for the two kinds of atoms
previously for the rectangular grid, I just displaced using a planar wave with no fancy stuff
yay, I just made a sudoku solver good enough to allow me to cheat at solve expert sudoku

is it faster than my grandma using a nokia phone tho
"Rank: Top 1%"
damn
just brute force?
depending on what you mean by bruteforce. It calculates the number of possible choices for each cell, then takes the cell with the lowest choice count and tries one of the choices, then another... backtracking if necessary
prolog is really nice for this category of problems
don't see why I'd need a priority queue here
sudoku solver is a common beginner project in prolog
i made a thing
Hmm what thing?
wsg I'm searching for a man who codes bots
Discord bots?
yes
arthur deploy list
+----------+-------------------------+------------+
| Status | Deployment | Replicas |
|----------+-------------------------+------------|
| ๐ข | bitwarden | 1/1 |
| ๐ข | black-knight | 1/1 |
| ๐ข | bot | 1/1 |
| ๐ข | code-jam-management | 1/1 |
| ๐ข | forms-backend | 2/2 |
| ๐ข | ghost | 1/1 |
| ๐ข | grafana | 1/1 |
| ๐ข | grafana-image-renderer | 1/1 |
| ๐ข | graphite | 1/1 |
| ๐ข | hastebin | 1/1 |
| ๐ข | king-arthur | 1/1 |
| ๐ข | logcord | 1/1 |
| ๐ข | metabase | 1/1 |
| ๐ข | metricity | 1/1 |
| ๐ข | modmail-bot | 1/1 |
| ๐ข | modmail-web | 1/1 |
| ๐ข | mongodb | 1/1 |
| ๐ข | olli | 1/1 |
| ๐ข | pixels | 1/1 |
| ๐ข | policy-bot | 1/1 |
| ๐ข | postgres | 1/1 |
| ๐ข | postgres-exporter | 1/1 |
| ๐ข | prestashop | 1/1 |
| ๐ข | public-stats | 1/1 |
| ๐ข | quackstack | 1/1 |
| ๐ข | redis | 1/1 |
| ๐ข | redis-exporter | 1/1 |
| ๐ข | sir-lancebot | 1/1 |
| ๐ข | site | 2/2 |
| ๐ข | snekbox | 1/1 |
| ๐ข | traefik-auth-cloudflare | 1/1 |
+----------+-------------------------+------------+
i made that
can u make one for me?
for devops monitoring
No, I won't just make one for you
and devops stuff
I can help you make you one
Looks cool lol
Do you know the basics of python? Because discord.py is a quite advanced library
noo
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
Take a look here 
Could not find deployment, check the namespace.
is pyproject the future of py project config files
or do i just use my own yaml setup
if you can use pyproject, you probably should
the goal is for it to be the future
silly question but do other languages use pyproject toml for tools like black, taskipy, etc
i guess not black haha, oof
unified config is somewhat rare and even in python adoption is low
the plan is for the project to be language agnostic
i guess i'll stick to pyproject for now while im devving
anyone here able to help me with a windows issue that i cant seem to find on google
arthur certs ls
Subjects: pythondiscord.com, *.pythondiscord.com
Issuer: letsencrypt
Status: Certificate is up to date and has not expired
Expires: <t:1631746863:f> (<t:1631746863:R>)
Renews: <t:1629154863:f> (<t:1629154863:R>)
winner
omg it's King Arthur
that's pretty cool
hm... will it trigger some monitoring if someone starts their message with "arthur"? ๐ค
arthur certs ls
arthur notice me senpai
lol it will trigger an error
hm, but is it a general error or did you get this "notice me senpai" in error message? XD
lol
question: if I want to test breaking some of your creations, should I do this at this hour or earlier? I know you're often active during night hours but I don't want to make you debug at such hours if you don't want to, lol
lolol, feel free to try if I'm online, but most stuff won't crash (and if it does it'll get restarted)
You're online on such strange hours that I'm not sure it's healthy to make you look ar stuff then. Like now it's 1:30am for you. It feels weird because it's even later for me and I'm not sleeping either XD
Hm, when we talked about mountains and museums it was similar hour
@hot brook This plugin is called Code Time. Pretty neat
CODE TIME PROJECT SUMMARY (Last updated on Sun, Jul 18th 3:06am)
gitclient : Jul 18th, 2021 to Jul 18th, 2021
Active code time : 6.9 hrs
Code time : 12.1 hrs
Keystrokes : 12,140
Kpm : 15
Lines added : 735
Lines deleted : 263
Characters added : 21,491
Characters deleted : 10,556
...wow looks like git
oh yikes. TIL that soda + tamales are a horrible combination
Perhaps that goes for any spicy food but sheesh
Absolutely disgusting and spicy as heck
y'know there's not a :lemon_weary:? kinda depressing if you ask me
you can open an issue on the branding repo
Dunno, sounds too official for such a small and subjective request lol
you can also make one yourself and DM it to me so i can claim credit
"I demand there be a :lemon_weary:!"
it's the kind of request that the branding repo is for
Perhaps, but maybe I'm so depressed about it not existing that I've not got the motivation ๐ฉ โ perfect place for a :lemon_weary: btw
what about
and 
What about them? :lemon_weary:
Sorry but I just cannot relate to these emoji
๐
feels so cursed now
what's this!?

There are too many cursed lemon emojis to make up for that one
The rust server has a 

when you realize that our server is way better than any of the programming server in terms of non-toxicity
hmm nice
interesting
yo
i was typing in my search bar
and somehow it searched my query in the arch package reposityory???
Yeah, if you go do like... "youtube.com" and tab, you can search through YouTube
Edge has this, dunno about other Chromium browsers
edge is a chromium browser lol
and yes
I know that, that's why I said other Chromium browsers
does firefox have it?
oh i can't read
it has it for wikipedia for the very least
openstreetmap too
damn
Hey
Subjects: pythondiscord.com, *.pythondiscord.com
Issuer: letsencrypt
Status: Certificate is up to date and has not expired
Expires: <t:1631746863:f> (<t:1631746863:R>)
Renews: <t:1629154863:f> (<t:1629154863:R>)

Status: Ready
Kubernetes version: v1.21.1
Created: <t:1625965319:R>
Status: Ready
Kubernetes version: v1.21.1
Created: <t:1623793129:R>
Status: Ready
Kubernetes version: v1.21.1
Created: <t:1623793319:R>
arthur node cordon lke13311-16405-5fafd1b46dcf
lke13311-16405-5fafd1b46dcf is now cordoned and no pods will be scheduled to it.
arthur nodes ls
Status: Ready, NoSchedule
Kubernetes version: v1.21.1
Created: <t:1625965319:R>
Status: Ready
Kubernetes version: v1.21.1
Created: <t:1623793129:R>
Status: Ready
Kubernetes version: v1.21.1
Created: <t:1623793319:R>
lol
Bots that I have not noticed from long
same
wdym
the channel?
the commands are only invocable by those with <@&409416496733880320> role
(oops, didn't think that'd ping.... anyway: โฅ๏ธ )
@DevOps
dev ops role is pingable by you?
does this ping? 
yes, I think
oh my goodness its actually pingable, its showing up when I type.
hmm
!roleinfo
.roleingo
!role
sigh
whats that command that shows info on roles?
oh
dis bad
.roleinfo
409416496733880320
#a1d1ff
0.58 0.37 255
5
75
6442450944
helper+
-_-
๐ฅฒ ๐
F
big oof

smh vivek
he actually pinged!?
lol yes
haha
lemon doesn't have the role
oh 
Scragly and the bot, king Arthur
lemon probably got way too tired of pings haha
In case something goes down, feel free to harass us
lmao
what does that role actually mean?
deploying the bot and the website blah blah
It means that this staffer has access to our production servers to do maintance tasks
So if something goes down, we can try to pull the logs, check resources constraint, etc, etc..
That's most of what I do
cool
The others have extended privileges and can run migrations and the like
It is mainly Joe tbf
Yes
arthur deployment restart pixels
F
Thank you Arthur
lmao
arthur deployments restart pixels
Confirm you want to redeploy pixels in namespace default.
Restarted deployment pixels in namespace default.
Tadam!
buttons ๐
ye
api now allows buttons?
how tho
ye
Yeah
thats awesome
did you just bring pixels back up
discord.py 2.0 isnt out
discord.py doesn't yet
Nah, it is set to zero replicas haha
but this is a python server
oh so they removed the 100% coverage thing?
ah yes, zero copies of pixels brought up ๐
There are extensions though
itll get buttons in version 2.0
Exactly sir
wow which one
i might test stuff
then how did you get buttons on this bot? you didn't use d.py for this?
directly used the api
oh?
which one
Whatever is pinned in #discord-bots
hm
Or maybe not
no
cool
pyproject.toml line 11
discord-components = "^1.1.2"```
Because blah blah blah Danny said 2.0 blah blah blah
hmmmm
akarys
huh
what
french
oh
baguette lang moment
Yes
google translate lesgo
4. Use English to the best of your ability. Be polite if someone speaks English imperfectly.
But I do be French :D
lmao
when did you leave italy
He is an Italian Frenchman
is this high time to send :hipster_akarys:
I have one foot on each side of the boarder
๐ ๐
oh ok
woah
fritaly
Not UK, they suck
itance
frito lay
its funny that they lost the finals
you had to see reddit when that happened
i've been to the land of tea
I've been to the world with human
I wanna go somewhere
I've never been outside of the Europe to my knowledge either :/
yeet
I guess I have never been outside Asia if I've never been inside Asia?
UAE?
where's dat
I feel like 80% of off-topic is Indian, that's crazy haha
100%*
ah i c
Well currently everyone but me is indian, right
you're indian too
Yeah, guess I am now
yes
.topic
Suggest more topics here!
bruh
lol
there we go
NO
now debate
lmfao
duck sized horses will kick you in the shin
ikr
exactly
the smol ones will just be like ants following you
and you can run.
bold strategy, lets see if it pays off.
assuming they have the same ratio of speed to size, you're trampled.
โ
it's U+200C, to be exact
hm
also
unrelated but i sprained/broke somethingin my elbow
it paining af when i twist my hand
F
F
i c
is there any way to get (venv) or something similar to appear at the beginning of the prompt in windows terminal if a venv is already activated?
hmm it works for me with venv and I don't think I configured anything
hmm, for me it shows up for virtualenv, doesn't show up for pipenv
i see i am on powershell 5.1
I think the blame here might be on pipenv. Looking for how it adjusts the prompt. venv works fine for me on powershell 5.1
ah ok I got it
in regular cmd it works
not sure what to do with this information lol
chris you are using pipenv and powershell?
yea, poweshell 7.1
okie then i upgrade ps
who pinged
arthur deploy lads
arthur [deployments|deploy]
Commands for working with Kubernetes Deployments.
Commands:
list List deployments in the selected namespace (defaults to default).
restart Restart the specified deployment in the selected namespace (default...
Type arthur help command for more info on a command.
You can also type arthur help category for more info on a category.
+----------+-------------------------+------------+
| Status | Deployment | Replicas |
|----------+-------------------------+------------|
| ๐ข | bitwarden | 1/1 |
| ๐ข | black-knight | 1/1 |
| ๐ข | bot | 1/1 |
| ๐ข | code-jam-management | 1/1 |
| ๐ข | forms-backend | 2/2 |
| ๐ข | ghost | 1/1 |
| ๐ข | grafana | 1/1 |
| ๐ข | grafana-image-renderer | 1/1 |
| ๐ข | graphite | 1/1 |
| ๐ข | hastebin | 1/1 |
| ๐ข | king-arthur | 1/1 |
| ๐ข | logcord | 1/1 |
| ๐ข | metabase | 1/1 |
| ๐ข | metricity | 1/1 |
| ๐ข | modmail-bot | 1/1 |
| ๐ข | modmail-web | 1/1 |
| ๐ข | mongodb | 1/1 |
| ๐ข | olli | 1/1 |
| ๐ด | pixels | 0/0 |
| ๐ข | policy-bot | 1/1 |
| ๐ข | postgres | 1/1 |
| ๐ข | postgres-exporter | 1/1 |
| ๐ข | prestashop | 1/1 |
| ๐ข | public-stats | 1/1 |
| ๐ข | quackstack | 1/1 |
| ๐ข | redis | 1/1 |
| ๐ข | redis-exporter | 1/1 |
| ๐ข | sir-lancebot | 1/1 |
| ๐ข | site | 2/2 |
| ๐ข | snekbox | 1/1 |
| ๐ข | traefik-auth-cloudflare | 1/1 |
+----------+-------------------------+------------+
lads ๐
lmao
no wonder they made it the code jam qualifier, they just wanted to know how to do it properly, smh ๐
smh

code-jam-qualifier-driven-development
Discord emojis not monospaced in code blocks 
Monospace is difficult apparently... take the joy I discovered while doing the qualifier in VSCode 
mono-spaced font btw
it's because of that godawful font
what font did you use
I imagine the font doesn't cover all of the symbols
but that font is quite strange
It works perfectly in terminal.
same font?
Same font
Welp. nothing more to say than "VSCode bad"




