#ot1-perplexing-regexing

1 messages ยท Page 584 of 1

rough sapphire
#

lovely

molten stag
#

hi

#

python beginner project ideas?

lunar nexus
#

indestructible glass?

#

what are you afraid of

lunar crescent
#

!projects

royal lakeBOT
#

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.

eager cliff
#

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 ...

edgy crest
#

nice visibility of the picture

#

especially good on clicking

spare lance
#

the reviews โฌ†๏ธ

odd sluice
#

says who

#

ok im switching back

#

light mode is torture

#

mye eyes are tortured

#

help

#

please

#

i need an ambulance

last mantle
#

k

edgy crest
#

k

eager trout
#

artbreeder is wild

#

I'm trying to make myself

barren rune
barren rune
#

Xd @eager trout hows ur team going along ?

rough sapphire
#

*removed

eager trout
barren rune
barren rune
odd sluice
lunar nexus
#

there is the same wifi clone

rough sapphire
barren rune
#

Lol good luck anyway

rough sapphire
#

mm

uneven pine
#

vision issues can make the dark theme hard to read in some cases

barren rune
#

ohh i see

inland wolf
#

yes

eager trout
#

I just found something cool

#

07/16/2021

#

espanso

inland wolf
#

?

eager trout
inland wolf
#

bruh

#

autohotkey

#

basically

#

lmao

#

except cross platfor

#

oh damn

#

it can do many things

#

interesting

tranquil orchid
eager trout
#

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

inland wolf
#

this is interesting

#

ive actually wanted to build something like this

#

time to look at the code

eager trout
#

And dang, around 100 crates summed up to 6.6mb

#

Pretty nice

edgy crest
#

surprising

inland wolf
#

this is very well done

edgy crest
#

i guess its just debug executables that takes up space

eager trout
#

I'll be using rust more often

spare lance
eager trout
inland wolf
#

can i install it with cargo

eager trout
#

Yes

inland wolf
#

cargo install espanso?

eager trout
#

Yes

inland wolf
#

damn

#

neat

eager trout
#

Rust crushes c++

#

I'm done with c++. Just too hard and I don't like it. It's an old lang

eager trout
#

I mean it has its uses but I like rust more

#

I have no reason to use cpp

edgy crest
spare lance
#

its too hard

eager trout
#

They have a discord server

spare lance
#

i like c over cpp just because c is easier to understand :pain:

eager trout
#

F1re built a web server in rust for link shortening and it worked really well

#

Easy to setup too

spare lance
#

also i like how the slowmode is always enabled in ot0 and not other ots

eager trout
#

ot0 is where people go the most

#

More traffic

spare lance
#

well yes

#

so we use ot 1

eager trout
#

ot3 is a godsend

spare lance
#

:thonk:

inland wolf
#

07/16/2021 yo

#

damn

eager trout
#

Basically autocorrect

#

But you need to use a colon as a trigger

spare lance
inland wolf
#

Hello

#

from

#

your

#

wtf

#

damn that was quick

eager trout
spare lance
#

404

#

!error 404

#

ohno

#

what was the command

eager trout
#

Finally

inland wolf
#

yo this is nice

eager trout
#

Espanso

inland wolf
#

i have alwas wanted to make this

spare lance
eager trout
#

Rust is fast too

inland wolf
#

based af

eager trout
#

Nice

#

Im on Linux so no fancy icons

edgy crest
#

ok so veloren uses wgpu

#

hmm i think i should learn it

#

but its so low level D:

eager trout
#

Which is good to some extent

#

It means the game can run super fast

edgy crest
#

yeah but hard to learn

eager trout
#

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

spare lance
eager trout
#

Lol

spare lance
#

i mean cpp is quite a pain compared to python atleast

#

or even c

eager trout
#

C do be easier

#

super basic lang

spare lance
eager trout
#

Cout gout snout

#

Out of my house

spare lance
#

cout>> "some random shit" ;

#

is it correct?

#

nope idts

eager trout
#

No

acoustic moss
#

there has to be an endl ri

#

*should

inland wolf
#

<<

eager trout
#

std::cout << "some shit" << std::endl;

spare lance
#

ah damn

acoustic moss
#

std:: ๐Ÿ‘€

spare lance
#

printf("some shit");
seems so much better

tranquil orchid
#

!e

class Cout:
    def __lshift__(self, value):
        print(value)

cout = Cout()

cout << "Hello world"
royal lakeBOT
#

@tranquil orchid :white_check_mark: Your eval job has completed with return code 0.

Hello world
tranquil orchid
#

Even better

eager trout
#

Or just \n that bih

acoustic moss
#

lol

spare lance
#

yo hsp

acoustic moss
#

henlo

eager trout
#

Can you so the same with >>? For sending information to a variable?

spare lance
#

that sum of list thing

acoustic moss
#

:thonk:

spare lance
eager trout
#

Nah like

spare lance
#

nope sigh

eager trout
#

cin >> x;

spare lance
eager trout
#

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

inland wolf
#

bruh

#

i cloned espanso

#

and opend vscode

tranquil orchid
#

Hmm

inland wolf
#

and the rsut extension was working on it

tranquil orchid
#

Holdon I have a cursed idea

eager trout
inland wolf
#

then windows defender staerted taking 60% cpu

eager trout
#

Lmao

inland wolf
#

it was becoming sus

eager trout
#

Defender is shit

inland wolf
#

no

#

its protecting me ๐Ÿ˜Š

#

now its fine

eager trout
#

I only use it for once in a while scans

acoustic moss
inland wolf
#

it knows rust isnt sussy

#

espanso*

acoustic moss
#

are you thinking what i'm thinking ๐Ÿ‘€

eager trout
#

Bruh

inland wolf
#

hm

tranquil orchid
tranquil orchid
#

Though I am questioning my sanity

eager trout
#

3d waifu in wgpu

#

Rust syntax in python?

tranquil orchid
#

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)
royal lakeBOT
#

@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
tranquil orchid
#

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)
royal lakeBOT
#

@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
tranquil orchid
#

Ohhhh right

inland wolf
#

@eager trout theres some c/c++ used to make espanso work

tranquil orchid
#

Yeah it works fine on my machine, the bot must be running it differently

spare lance
#

what does it do tho?

tranquil orchid
#

Just need ++ now

acoustic moss
#

!e

std,cout,endl=type("",(),{'__getitem__':lambda _,i:i.step})(),type("",(),{'__rshift__':lambda _,x:print(x)or _})(),"\n"

std[::cout] >> "hello" >> std[::endl]
royal lakeBOT
#

@acoustic moss :white_check_mark: Your eval job has completed with return code 0.

hello
acoustic moss
#

epic

eager trout
#

Wtf

acoustic moss
#

!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];
royal lakeBOT
#

@acoustic moss :white_check_mark: Your eval job has completed with return code 0.

hello
eager trout
#

Use lshift for that

#

Rshift feels weird

acoustic moss
#

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];
royal lakeBOT
#

@acoustic moss :white_check_mark: Your eval job has completed with return code 0.

001 | hello
002 | world
acoustic moss
#

๐Ÿ“ˆ

tranquil orchid
#

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

rough sapphire
#

++a wait what

#
>>> a = 5
>>> ++a
5
#

breh

#

+++++++++++a still gives 5

#

no but

#

what does ++ play here

#

just some random valid python?

acoustic moss
#

its the counterpart of the - in -5

brazen ingot
rough sapphire
#
    ...: 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
acoustic moss
#

now set import builtins; builtins.int = Int

#

problem solved

little wolf
olive remnant
#

damn these names are on eivl

#

hes made of glass

#

and hes indestructible

wheat lynx
#

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

thick osprey
#

These pictures are identical rooCry

last mantle
solemn leaf
#

sadge

#

but how is this possible

wheat lynx
#

Turns out border and outline are different things

#

fixed that, although it's now off-center

solemn leaf
#

interesting

edgy crest
#

working for me

#

chrome cringe then ig

#

firefox beter

clear plume
#

You're cringe

graceful basin
#

you want border, not outline

wheat lynx
#

yeah

#

although that takes up space so makes it off center...

clear plume
#

Lmao just clicked that from mobile

mellow spire
#

fixed very very well

inland wolf
wheat lynx
#

works on firefox, what else do you need?

inland wolf
#

work on the other browsers that have a total of 97% market share

rough sapphire
royal lakeBOT
#

@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
rough sapphire
#

:(

#

:(

#

:(

acoustic moss
#

could use a StringIO() for sys.stdin

rough sapphire
#

!e

class Cin:
    def __rshift__(self, value):
        print(value, end="")
        input()

cin = Cin()

cin >> "Enter a number: ";
royal lakeBOT
#

@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
rough sapphire
#

:(

acoustic moss
#

!e

from io import StringIO
import sys

sys.stdin = StringIO("hello world")

x = input()
print(x)
rough sapphire
#

;-;

#

Doesn't Discord not allow input?

inland wolf
#

sad

royal lakeBOT
#

@acoustic moss :white_check_mark: Your eval job has completed with return code 0.

hello world
rough sapphire
#

ohhh

#

yeah

#

discord doesnt allow input lmfao

acoustic moss
#

this is why i test code before i !e it

rough sapphire
#
In [1]: class Cin:
   ...:     def __rshift__(self, value):
   ...:         input(value)
   ...: 
   ...: cin = Cin()
   ...: 
   ...: cin >> "Enter a number: ";
Enter a number: 10
#

hehhehehhehe

acoustic moss
#

isn't cin supposed to store the result of the input in a variable too tho

rough sapphire
#

Oh, yeah

#

yeah

#

let me add that

acoustic moss
#

that won't modify var though

graceful basin
#

this is an operation python really doesn't support

acoustic moss
#

you'd prolly need some inspect insanity for that

#

or maybe ctypes, idk

graceful basin
#

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

wraith hound
#

There's not a way the bot allows input()

graceful basin
#

oh nvm, raku can't have an >> operator

acoustic moss
#

i could do it with inspect if i can figure out how to get the name of the variable passed

tranquil orchid
#

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

acoustic moss
#

epic

#

i think you can do it without traceback and with only inspect

#

inspect.getframeinfo(inspect.stack()[1][0]).code_context

tranquil orchid
#

Oh my

#

I have needed that for so long

acoustic moss
#
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'
acoustic moss
#

!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]
royal lakeBOT
#

@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
acoustic moss
#

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
dire siren
#

what are you doing

#

I'm too weak to understand it

acoustic moss
#

c++ in python

dire siren
#

ok

arctic seal
acoustic moss
#

epic

rich moon
#

pov aliens invading earth?

rough sapphire
#

!e

arctic seal
#

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

acoustic moss
#

yeah that is true

#

i went the opposite route

#

and i often end up reimplementing stuff in unity which already exist

arctic seal
#

heh, noice

#

"gotta do it my way"

spare lance
#

hsp are u intended on making a cpp library in python?

acoustic moss
#

lol

spare lance
#

I mean it's not a bad idea

rough sapphire
#

Anyone want a ciggy

solemn leaf
proud scarab
#

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

naive hare
inland fiber
#

pretty poggers, not gonna lie

lunar nexus
#

stunt files have some affiliation with cpython

dire siren
#

all we get is ord("E")

spare lance
spare lance
dire siren
#

try run it, you'll know you have it

spare lance
#

i know the output

#

but

#

do we get it

odd sluice
#

E is god

#

worship the benevolent E.

#

E is the hero we didn't deserve, but we had.

solemn leaf
#

e

gilded prawn
#

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.

odd sluice
#

This is blasphemous to E.

gilded prawn
#

just a piece of literature :)

#

thats because E holds only a fraction of the power of h

odd sluice
#

E is a god.

gilded prawn
#

it is undeserving of appreciation when in the presence of h

odd sluice
#

h is part of the sith

inland wolf
#

damn

odd sluice
#

see

#

sit-H-

#

and e is part of the j-E-di

gilded prawn
#

@raw beacon wrote it and its amazing

odd sluice
#

probably part of the hexagons are the bestagons group based on his pfp

gilded prawn
#

pretty sure he's had that longer than that video has been out

#

yeah definitely

odd sluice
#

nevermind hahaCouldntBeMe

gilded prawn
#

that being said

#

hexagons are the bestagons

odd sluice
#

yes

solemn leaf
#

ok

odd sluice
gilded prawn
#

they're okreo, they must be ok

solemn leaf
#

a man has a right to be ok

#

yes

odd sluice
#

is this u

frozen coral
edgy crest
#

have some 2.718281828459045

odd sluice
#

yes

#

2.718

#

let us appreciate the incomparable glory of this statement

gilded prawn
#

i wanna make jan Misali style video for h

#

like w but h

frozen coral
#

๐Ÿ‡ญ

solemn leaf
#

!e

print('h'>'e')
royal lakeBOT
#

@solemn leaf :white_check_mark: Your eval job has completed with return code 0.

True
solemn leaf
#

see

#

H

odd sluice
#

NOOOOOOOOO

odd sluice
# odd sluice

also for some reason why does it look like the water is going into 2 pipes

#

idk

edgy crest
royal lakeBOT
#

@edgy crest :white_check_mark: Your eval job has completed with return code 0.

False
edgy crest
odd sluice
#

HAHA

#

if this dose not prove the supremity of E to you

edgy crest
#

no

#

e

#

not E

odd sluice
#

oh yeah

#

e is better than E

edgy crest
#

E and e are 32 characters apart

odd sluice
#

wow

edgy crest
#

also py In [2]: ord('E') Out[2]: 69

odd sluice
#

DAMN

#

E is the wait nvm
while e is god

#

wow

edgy crest
#

e is 101

slender vector
#

!e

print('1' > '0')
royal lakeBOT
#

@slender vector :white_check_mark: Your eval job has completed with return code 0.

True
solemn leaf
royal lakeBOT
#

@solemn leaf :white_check_mark: Your eval job has completed with return code 0.

001 | True
002 | False
solemn leaf
#

see

#

poggers

edgy crest
# solemn leaf see
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 ![KoishiSmug](https://cdn.discordapp.com/emojis/853998724846059601.webp?size=128 "KoishiSmug")
#

borken

spare lance
solemn leaf
#

!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)

royal lakeBOT
#

@solemn leaf :white_check_mark: Your eval job has completed with return code 0.

001 | False
002 | True
solemn leaf
#

the h class

#

lmao

spare lance
#

i like this channel for no slow mode >:))

inland wolf
#

and no one talking

sacred wasp
#

PABLO

#

@rough sapphire

olive prawn
#

e

sacred wasp
#

pablo

olive prawn
#

should i dual boot windows

inland wolf
#

if u wish

spare lance
olive prawn
#

e

#

all we get is e

inland wolf
#

debatable

inland fiber
#

e is best letter

rough sapphire
#

@gritty zinc i havent had this much fun since making tetris so thank you ๐Ÿ˜„ these problems are fun to think about

bright wyvern
#

do programmers treat objects as if they are objects from the real world?

gritty zinc
#

an objects is bunch of data with some behaviour

olive remnant
#

||_E_||

rough sapphire
#

it works sometimes

bright wyvern
#

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

rough sapphire
#

i guess you could have a separate class that takes in peices and a board and validates moves.

bright wyvern
#

that what Logic class does

gritty zinc
#

that my classes should just be like in real life
last time I checked there weren't any classes in real life, tbh ๐Ÿ˜›

bright wyvern
#

school classes

rough sapphire
#

thats way if you make up different rules just write a different logic class instead of making new pieces

bright wyvern
#

yyeah

#

that was what I thinking too\

#

so it will be abstract

rough sapphire
#

yeah it is sort of an abstract class but its doing the rules and they are abstract anyways

spare lance
gritty zinc
#

actually no, but you may choose to believe that :p

spare lance
#

what is this ?

gritty zinc
#

I wonder how stockfish stores its states

#

like, what the struct definition is

rough sapphire
gritty zinc
#

on the other hand: classes slow ๐Ÿ˜›

gritty zinc
#

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

spare lance
gritty zinc
#

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

gritty zinc
#

I'm making a sudoku solver in Rust right now, maybe will work on an AI for some simple game afterwards

#

backtracking ๐Ÿ‘€

spare lance
#

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

gritty zinc
#

I calculate for each cell what numbers can go into it

#

if I find a cell with only one choice, I take it

spare lance
#

i mean yeah thats how to go about it tho

gritty zinc
#

if I don't, then I have to try some choice, and if it doesn't pan out, backtrack and try another

spare lance
bright wyvern
#

This is my current code which I will rewrite

gritty zinc
rough sapphire
gritty zinc
#

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);
}
tardy rain
#

why would you need a shader, just code indoors lmao

spare lance
#

wots dat

#

!pypi pyglet

royal lakeBOT
bright wyvern
#
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

odd sluice
#

cool

spare lance
#

@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 >:((

rough sapphire
#

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

spare lance
#

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

rough sapphire
#

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

eager trout
#

bruh ishowspeed and absorber got their addresses leaked

tardy rain
#

Who

eager trout
#

absorber

#

some dude got all of his information somehow

#
#

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

tardy rain
#

Never heard of him

#

Looks like a zoomer

eager trout
#

yeah lol

last mantle
#

his videos and bio don't exactly match

eager trout
#

eh

last mantle
eager trout
#

That's his goal

last mantle
#

ah yes

#

good inspiration

eager trout
#

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

tardy rain
#

How do you know this isnt a troll too

winter terrace
#

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

latent scaffold
#

You must be living in a world on your own

winter terrace
#

i would honestly just buy a new wire, if they aren't too expensive

limber mantle
#

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...

โ–ถ Play video
solemn leaf
#

that csgo team?

last mantle
#

uh yeah

solemn leaf
#

takes me back to the damn 2010-15

last mantle
#

Faze is a meme now

solemn leaf
#

remember oloof

#

of team fnatic

#

oloofmeister

#

:pogg:

rich moon
#

the big brain scout play?

solemn leaf
#

yesh

#

that snipe

gritty zinc
spare lance
upper sand
#

Is numba really fast ??

graceful basin
#

numba is as fast as C more or less, but it also can't do more than C

spare lance
upper sand
#

So what are its limitation .?

graceful basin
#

it compiles a very specific subset of python which means that not everything is nicely expressible

#

and also, it is quite slow to compile

upper sand
#

so I wouldn't expect much on the compile from a jit compiler ...

#

Expressive as in ??

#

Generating new intruction sets ??

graceful basin
#

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

upper sand
#

Wait i thought I just need to use numba decorator

graceful basin
#

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

upper sand
#

Ohhh sounds k to me. I guess imma give it a try to do my shit. Thanks laka

graceful basin
#

yeah, give it a try

#

let me get the docs on what python it can compile

upper sand
#

I will check it out. Dw.. u already explained me the important bits. Thnx heaps

gritty zinc
#

previously for the rectangular grid, I just displaced using a planar wave with no fancy stuff

gritty zinc
#

yay, I just made a sudoku solver good enough to allow me to cheat at solve expert sudoku

latent scaffold
little wolf
inland wolf
#

damn

gritty zinc
#

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

tender smelt
#

๐Ÿ‘€ i did that ๐Ÿ‘€

#

did you use a priority queue?

graceful basin
#

prolog is really nice for this category of problems

gritty zinc
#

don't see why I'd need a priority queue here

graceful basin
#

sudoku solver is a common beginner project in prolog

bleak lintel
#

i made a thing

drifting sage
quaint owl
#

wsg I'm searching for a man who codes bots

drifting sage
#

Discord bots?

quaint owl
#

yes

bleak lintel
#

arthur deploy list

crisp fableBOT
#
Deployments in namespace default
+----------+-------------------------+------------+
|  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     |
+----------+-------------------------+------------+
bleak lintel
#

i made that

drifting sage
#

;-;

#

What's that?

quaint owl
#

can u make one for me?

bleak lintel
drifting sage
bleak lintel
#

and devops stuff

drifting sage
#

I can help you make you one

quaint owl
#

yes

#

help

drifting sage
drifting sage
# quaint owl help

Do you know the basics of python? Because discord.py is a quite advanced library

quaint owl
#

noo

drifting sage
#

Ok, first learn the basics of python

#

!resources

royal lakeBOT
#
Resources

The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.

drifting sage
#

Take a look here this

bleak lintel
#

oh

#

oh

#

oh

#

oh

#

I know what that can be

#

arthur deploy restart not-a-service

crisp fableBOT
#
'Tis but a scratch!

Could not find deployment, check the namespace.

tardy rain
#

is pyproject the future of py project config files

#

or do i just use my own yaml setup

graceful basin
#

if you can use pyproject, you probably should

#

the goal is for it to be the future

tardy rain
#

silly question but do other languages use pyproject toml for tools like black, taskipy, etc

#

i guess not black haha, oof

graceful basin
#

unified config is somewhat rare and even in python adoption is low

tardy rain
#

the plan is for the project to be language agnostic

#

i guess i'll stick to pyproject for now while im devving

vapid perch
#

anyone here able to help me with a windows issue that i cant seem to find on google

bleak lintel
#

arthur certs ls

crisp fableBOT
#
Certificates in namespace default
pythondiscord-com

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>)

bleak lintel
#

winner

latent scaffold
#

omg it's King Arthur

lunar nexus
#

that's pretty cool

harsh tundra
#

hm... will it trigger some monitoring if someone starts their message with "arthur"? ๐Ÿค”

#

arthur certs ls

#

arthur notice me senpai

bleak lintel
harsh tundra
bleak lintel
harsh tundra
#

๐Ÿ’”
and the certs ls I tried?

#

hm... but you still noticed me, so success? XD

bleak lintel
harsh tundra
# bleak lintel 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

bleak lintel
harsh tundra
#

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

thick osprey
#

@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
hot brook
#

...wow looks like git

latent scaffold
#

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

frozen crane
#

He's the one derived lemoji

latent scaffold
#

y'know there's not a :lemon_weary:? kinda depressing if you ask me

frozen crane
latent scaffold
#

Dunno, sounds too official for such a small and subjective request lol

acoustic moss
#

you can also make one yourself and DM it to me so i can claim credit

latent scaffold
#

"I demand there be a :lemon_weary:!"

frozen crane
latent scaffold
#

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

frozen crane
#

what about lemon_sentimental and lemon_angrysad

latent scaffold
#

What about them? :lemon_weary:

frozen crane
#

what about

latent scaffold
#

Sorry but I just cannot relate to these emoji

#

๐Ÿ‹

#

feels so cursed now

#

what's this!?

clear plume
finite sierra
#

The rust server has a ferrisWeary

brazen ingot
solemn leaf
#

when you realize that our server is way better than any of the programming server in terms of non-toxicity

spare lance
#

wow

solemn leaf
#

nah

#

joe's mysterious old bot

#

who came online after ages

spare lance
inland wolf
#

yo

#

i was typing in my search bar

#

and somehow it searched my query in the arch package reposityory???

latent scaffold
#

Edge has this, dunno about other Chromium browsers

inland wolf
#

lots of websites have started using it

#

very cool

little wolf
#

and yes

latent scaffold
little wolf
#

does firefox have it?

little wolf
edgy crest
timid frigate
#

openstreetmap too

bleak lintel
#

this week

solemn leaf
#

damn

pure oasis
#

Hey

bleak lintel
#

devops helper

#

arthur certs ls

crisp fableBOT
#
Certificates in namespace default
pythondiscord-com

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>)

acoustic moss
bleak lintel
#

nop

#

all stuff is internal

lime maple
#

Hi

#

Guys

#

Lemon emojis pog

bleak lintel
#

new features

#

arthur nodes ls

crisp fableBOT
#
Cluster nodes
lke13311-16405-5fafd1b46dcf

Status: Ready
Kubernetes version: v1.21.1
Created: <t:1625965319:R>

lke13311-16405-603672ea98f6

Status: Ready
Kubernetes version: v1.21.1
Created: <t:1623793129:R>

lke13311-16405-603672eaf94a

Status: Ready
Kubernetes version: v1.21.1
Created: <t:1623793319:R>

bleak lintel
#

arthur node cordon lke13311-16405-5fafd1b46dcf

crisp fableBOT
#
Cordoned lke13311-16405-5fafd1b46dcf

lke13311-16405-5fafd1b46dcf is now cordoned and no pods will be scheduled to it.

bleak lintel
#

arthur nodes ls

crisp fableBOT
#
Cluster nodes
lke13311-16405-5fafd1b46dcf

Status: Ready, NoSchedule
Kubernetes version: v1.21.1
Created: <t:1625965319:R>

lke13311-16405-603672ea98f6

Status: Ready
Kubernetes version: v1.21.1
Created: <t:1623793129:R>

lke13311-16405-603672eaf94a

Status: Ready
Kubernetes version: v1.21.1
Created: <t:1623793319:R>

mellow spire
#

arthur certs ls

#

bad arthur

bleak lintel
#

lol

#

everything (for now) is locked to devops

inland wolf
#

arthur give me ur sword

#

dang

solemn leaf
#

lol

brazen ingot
#

Bots that I have not noticed from long

twin charm
#

same

tribal aurora
twin charm
#

the channel?

quick ledge
# tribal aurora wdym

the commands are only invocable by those with <@&409416496733880320> role

(oops, didn't think that'd ping.... anyway: โ™ฅ๏ธ )

#

@DevOps

tribal aurora
#

oh

#

makes sense

twin charm
#

dev ops role is pingable by you?

quick ledge
twin charm
#

oh my goodness its actually pingable, its showing up when I type.

#

hmm

#

!roleinfo

#

.roleingo

#

!role

#

sigh

acoustic moss
#

ye devops is pingable

#

"roleingo"

twin charm
#

whats that command that shows info on roles?

twin charm
#

oh

odd sluice
#

dis bad

twin charm
#

.roleinfo

acoustic moss
#

lol

#

!role 409416496733880320

royal lakeBOT
#
DevOps info
ID

409416496733880320

Colour (RGB)

#a1d1ff

Colour (HSV)

0.58 0.37 255

Member count

5

Position

75

Permission code

6442450944

twin charm
#

oh

#

!role

acoustic moss
#

helper+

twin charm
#

!role 855822138590363678

#

oh

odd sluice
twin charm
#

๐Ÿฅฒ ๐Ÿ‘

acoustic moss
#

F

odd sluice
#

big oof

acoustic moss
#

smh vivek

twin charm
#

he actually pinged!?

solid pollen
#

lol yes

twin charm
#

haha

acoustic moss
#

who has devops actually

#

the three owners, akarys and ?

quick ledge
#

lemon doesn't have the role

acoustic moss
#

oh pithink

solid pollen
acoustic moss
#

O

#

ic

solid pollen
#

lemon probably got way too tired of pings haha

acoustic moss
#

it became pingable during pixels

#

not sure why it still is tho

solid pollen
#

In case something goes down, feel free to harass us

odd sluice
#

lmao

twin charm
#

what does that role actually mean?

acoustic moss
#

deploying the bot and the website blah blah

solid pollen
#

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

twin charm
#

cool

solid pollen
#

The others have extended privileges and can run migrations and the like

#

It is mainly Joe tbf

#

Yes

#

arthur deployment restart pixels

acoustic moss
#

F

solid pollen
#

Thank you Arthur

acoustic moss
#

lmao

solid pollen
#

arthur deployments restart pixels

crisp fableBOT
#
Confirm redeployment

Confirm you want to redeploy pixels in namespace default.

crisp fableBOT
# crisp fable
Redeployed

Restarted deployment pixels in namespace default.

solid pollen
#

Tadam!

acoustic moss
#

buttons ๐Ÿ‘€

solid pollen
#

ye

twin charm
#

api now allows buttons?

odd sluice
acoustic moss
#

ye

solid pollen
#

Yeah

twin charm
#

thats awesome

gritty zinc
#

did you just bring pixels back up

odd sluice
acoustic moss
solid pollen
odd sluice
twin charm
gritty zinc
#

ah yes, zero copies of pixels brought up ๐Ÿ˜”

solid pollen
acoustic moss
#

itll get buttons in version 2.0

solid pollen
odd sluice
#

wow which one
i might test stuff

twin charm
#

then how did you get buttons on this bot? you didn't use d.py for this?

#

directly used the api

solid pollen
#

We use an extension

#

Uhhh..

twin charm
#

oh?

odd sluice
solid pollen
twin charm
#

hm

solid pollen
#

Or maybe not

odd sluice
#

no

twin charm
#

cool

solid pollen
#

discord-components

royal lakeBOT
#

pyproject.toml line 11

discord-components = "^1.1.2"```
acoustic moss
#

no issues or PRs

#

mfw sus

solid pollen
#

Because blah blah blah Danny said 2.0 blah blah blah

twin charm
#

hmmmm

rough sapphire
#

Ya des FR je suis nouv

#

Bjr

acoustic moss
#

akarys

odd sluice
#

huh

twin charm
#

what

odd sluice
#

french

twin charm
#

oh

acoustic moss
#

baguette lang moment

rough sapphire
#

Yes

twin charm
#

google translate lesgo

solid pollen
#

Hey @rough sapphire, please speak English here

#

!rule 4

royal lakeBOT
#

4. Use English to the best of your ability. Be polite if someone speaks English imperfectly.

solid pollen
#

But I do be French :D

odd sluice
#

lmao

acoustic moss
#

when did you leave italy

quick ledge
#

He is an Italian Frenchman

twin charm
#

is this high time to send :hipster_akarys:

solid pollen
#

I have one foot on each side of the boarder

rough sapphire
acoustic moss
#

oh ok

twin charm
#

woah

acoustic moss
#

fritaly

solid pollen
#

Not UK, they suck

acoustic moss
#

itance

odd sluice
twin charm
#

its funny that they lost the finals

solid pollen
#

Nah, I would like to visit the UK

#

Say hi to everyone there

twin charm
#

you had to see reddit when that happened

acoustic moss
#

i've been to the land of tea

twin charm
#

cool

#

I've never been outside Asia

odd sluice
#

I've been to the world with human

twin charm
#

I wanna go somewhere

solid pollen
#

I've never been outside of the Europe to my knowledge either :/

twin charm
#

yeet

odd sluice
#

wow discord-components

#

buttons

#

nice

solid pollen
#

I guess I have never been outside Asia if I've never been inside Asia?

twin charm
#

UAE?

odd sluice
#

where's dat

solid pollen
#

I feel like 80% of off-topic is Indian, that's crazy haha

acoustic moss
#

100%*

odd sluice
#

ah i c

solid pollen
#

Well currently everyone but me is indian, right

acoustic moss
#

you're indian too

solid pollen
#

Yeah, guess I am now

acoustic moss
#

yes

odd sluice
#

ah yes fins in finland

#

I don't know why that sounds so funny to me

twin charm
#

.topic

median domeBOT
#
**Would you rather fight 100 duck sized horses or one horse sized duck?**

Suggest more topics here!

twin charm
#

bruh

acoustic moss
#

lol

twin charm
#

100 duck sized horses

#

I don't know how this is even debatable.

odd sluice
#

then i will tame it

acoustic moss
#

there we go

twin charm
#

NO

acoustic moss
#

now debate

twin charm
#

lmfao

odd sluice
#

duck sized horses will kick you in the shin

acoustic moss
#

ikr

twin charm
#

exactly

#

the smol ones will just be like ants following you

#

and you can run.

#

bold strategy, lets see if it pays off.

odd sluice
twin charm
#

uhoh

#

but they're not gonna chase me or anything right?

twin charm
#

is this a 0 width char?

#

or is it just not loading for me

odd sluice
#

yes

#

zero width char

twin charm
#

I love those chars

#

it makes emojis looks small

odd sluice
#

it's U+200C, to be exact

twin charm
#

hm

odd sluice
#

also
unrelated but i sprained/broke somethingin my elbow

#

it paining af when i twist my hand

twin charm
#

F

acoustic moss
#

F

twin charm
#

lemon_fingerguns_shades โ€‹

odd sluice
#

i c

distant hazel
#

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?

karmic gust
#

hmm it works for me with venv and I don't think I configured anything

distant hazel
#

no change in prompt when i enter or exit pipenv.. you are using windows terminal?

frozen coral
#

i use pwsh 7 and it works just fine

#

Not sure if old powershell does it

acoustic moss
#

hmm, for me it shows up for virtualenv, doesn't show up for pipenv

distant hazel
#

i see i am on powershell 5.1

thick osprey
#

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

frozen coral
#

ah ok I got it

distant hazel
#

in regular cmd it works

frozen coral
#

odd

#

Apparently pipenv shell spawns a new shell, so it might be a pew bug

distant hazel
frozen coral
distant hazel
#

not sure what to do with this information lol

#

chris you are using pipenv and powershell?

frozen coral
#

yea, poweshell 7.1

distant hazel
#

okie then i upgrade ps

bleak lintel
crisp fableBOT
#
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.
bleak lintel
#

shit

#

arthur deploy ls

crisp fableBOT
#
Deployments in namespace default
+----------+-------------------------+------------+
|  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     |
+----------+-------------------------+------------+
gritty zinc
#

lads ๐Ÿ‘€

acoustic moss
#

that table is off by 1

#

screech

gritty zinc
#

lmao

#

no wonder they made it the code jam qualifier, they just wanted to know how to do it properly, smh ๐Ÿ˜”

acoustic moss
#

smh

quick ledge
quick ledge
frozen coral
#

Discord emojis not monospaced in code blocks sadge

thick osprey
#

Monospace is difficult apparently... take the joy I discovered while doing the qualifier in VSCode rooSuffer

#

mono-spaced font btw

tender smelt
#

it's because of that godawful font

lunar nexus
#

what font did you use

latent scaffold
#

but that font is quite strange

thick osprey
#

It works perfectly in terminal.

latent scaffold
#

same font?

thick osprey
#

Same font

latent scaffold
#

Welp. nothing more to say than "VSCode bad"

thick osprey
#

I blame electron

#

Which is basically blaming css

#

which is blaming html

#

which is blaming the internet

#

which is yelling at clouds

latent scaffold
#

or we can just say... "VSCode bad"

#

:]

wraith hound
#

It's just that electron bad