#ot1-perplexing-regexing
1 messages ยท Page 599 of 1
bruh
wtf is eartrumpet
volume mixer with less steps
Right
lol
AwA @reef geyser

VwV
AwA
aWa
aัa
!charinfo ั
You are not allowed to use that command here. Please use the #bot-commands channel instead.
pain
Oh come on
!charinfo ั
\u0448 : CYRILLIC SMALL LETTER SHA - ั
get dunked
Dammit
idk why it's not allowed here ๐ฆ
that's right,
you can get char info
you're just a meer member after all
now, a meer helper
that's a whole new ballpark
The cyrillic alphabet is so advanced that it includes SHA from the ground up
SHA-2 I believe
What
Cyrillic Small Letter SHA
so cyrillic is just a hash of another alphabet, gotcha
256, 512, 1024?
I wonder is there a SHA 4096 or is that just for RSA
nah, ping him in microcontrollers 
open a help channel and ping him
You should have staff channels now rick iirc
mild stroke
no stroke
surprised nobody pointed this out
says the man who's got typos for literally every quote in the cat server
๐

Ok trump
english genius amirite
this man typoed in his edit
lies I'm aboo
went from fake nws to fake nes
you're down bad aboo 
Lol
phjto editiing
lmao
You're gonna what
wtf
Oh
yes I can
Lol no you can't
yes I can
Time to chsnel my iner abop
a b o p
lmao

cat
mans is a bop
well no I'm aboo
you're abop now
no I'm aboo
have I ever mentioned you look like ash ketchum
i what
@rough sapphire back me up on this
howd you know what I look like
Wait holy shit you're right
your sister drew your pfp which is actually just a drawing of you, right?
you still look like ash ketchum
well, perhaps
It doesn't last forever
12
I was shitposting with my 9th grade science teacher and all the freshmen made me feel like I was approaching my late 20s
lmao
runs
cya

Would that mean if we turned salt upside down we'd have sugar?
yes!
When I'm angry, turning me upside down does not result in happiness
Really?
Was not aware of that
yk what they say, turn that frown upside down :D
most efficient way of doing that is flipping them over D:
but the frown is relative to the face it's on, not the viewer's face
so now the whole face is upside down, so still frowning
turn that logic upside down :D
This doesn't surprise me
Bitterness is just disappointed sugar
๐
โโโ budgethelper
โย ย โโโ __init__.py
โย ย โโโ constants.py
โย ย โโโ databases
โย ย โย ย โโโ __init__.py
โย ย โย ย โโโ databaseabc.py
โย ย โย ย โโโ sqlite.py
โย ย โโโ dbconnection.py
โย ย โโโ exceptions.py
โย ย โโโ models
โย ย โย ย โโโ __init__.py
โย ย โย ย โโโ database.py
โย ย โย ย โโโ source.py
โย ย โย ย โโโ transaction.py
โย ย โโโ protocols
โย ย โย ย โโโ sqlcursor.py
โย ย โโโ sources.py
โย ย โโโ transactions.py
โโโ requirements-dev.in
โโโ requirements-dev.txt
โโโ requirements.in
โโโ requirements.txt
โโโ setup.cfg
โโโ tests
โโโ __init__.py
โโโ dbconnection_test.py
โโโ transactions_test.py

this tree is scaring me ;-;
how do u make a tree like that?
challenge: make a python program that does that for you (by looking at a certain folder in your computer >:)
I did my own tree code once. It was fun!
This was just tree -I "venv|__pycache__" in bash
sadge, i thought i guessed most people's answer
it shouldnt be bad stuff lol
just quite a bunch of os.walks ๐
.
โโโ LICENSE
โโโ Makefile
โโโ README.md
โโโ budgethelper
โย ย โโโ __init__.py
โย ย โโโ clients
โย ย โย ย โโโ __init__.py
โย ย โย ย โโโ databaseabc.py
โย ย โย ย โโโ source_client.py
โย ย โย ย โโโ transaction_client.py
โย ย โโโ constants.py
โย ย โโโ exceptions.py
โย ย โโโ models
โย ย โโโ __init__.py
โย ย โโโ database.py
โย ย โโโ source.py
โย ย โโโ transaction.py
โโโ requirements-dev.in
โโโ requirements-dev.txt
โโโ requirements.in
โโโ requirements.txt
โโโ setup.cfg
โโโ tests
โโโ __init__.py
โโโ dbconnection_test.py
โโโ transactions_test.py
Cleaner 
I think that's enough to start poking at the API tomorrow. Learn how the pieces fit together.
!pypi seedir ๐
its a nice lib
Anyone know why applpe won't let me install xcode, i have like 40 gigs of free space yet it tells me not enough space
Nice! Thank you 
Not a mac user but I'd start by looking up the exact error message it spits out at you. From there... well I'll let any mac users speak up 
it's just a not enough space eror
even though the app is 11 gigs and the other stuff is around 20 i got 40 gigs
Some quick searching tells me that apple has the concept of "Available" space and within that "Purgeable" space. Available might be 40gigs but how much of that is purgeable? xCode apparently looks at the diff between those two.
So this says 104 GB available but xcode would see 104 - 11
I take it that might have been the cause?
oops wrong reply
its supposed to be the "challenge" one
love this otname
that's awkward
when i typed it out
it didnt show any suggestions
so i thought there was no person named sugar
after i sent it pinged ๐
um
Don't ask, it's an inside joke with me and my friends ๐คฃ
this.. relating to #ot0-psvmโs-eternal-disapproval
bet salt is going to kill me for this ๐
its salty sugar tbh
Mix the salt and sugar in your kitchen
make sure to wear your gloves, apron and safety glasses while you do that
why not heat it to the point cl disassociates
then, you really do need some safety glasses and a mask
I made an auto draw script (original image is the right)
This is what I made
import win32con, win32api, keyboard, time, pyautogui
from PIL import Image
class Settings:
threshold = 230
pixel_skip = 1
new_line_delay = 0.1
def click(x_pos, y_pos):
win32api.SetCursorPos((x_pos, y_pos))
win32api.mouse_event(win32con.MOUSEEVENTF_LEFTDOWN, 0, 0)
win32api.mouse_event(win32con.MOUSEEVENTF_LEFTUP, 0, 0)
def main():
time.sleep(2)
img = Image.open("test.png")
offset = pyautogui.position()
w, h = img.size
for x in range(0, w, Settings.pixel_skip):
for y in range(0, h, Settings.pixel_skip):
color = img.getpixel((x, y))
if color[0] < Settings.threshold:
click(x + offset.x, y + offset.y)
if keyboard.is_pressed("q"):
return 0
time.sleep(Settings.new_line_delay)
if __name__ == "__main__":
main()
damn u worked with the win32 api
i didnt even know a python lib existed for that
i wouldve thought pautogui would be fast
hmmmm I didn't know that
I havent ever worked with pyautogui
it also uses the win32 api right
win32api is faster, but pyautogui is still pretty fast
good to know
Doesn't really matter too much in this project since I have a small delay. without the delay it starts making paint freeze
Here was a video from when I just got it working https://cdn.discordapp.com/attachments/879484719383855117/883269558989910036/Auto_Draw.mp4
before the delay, so paint would freeze. That would cause it to mess up sometimes.
I also had it skip every other pixel so it looks... odd.
visual studio code is now a glorified image viewer 
I didn't even know it could render show images until earlier this morning when I made the script.
if you can do it and it's a wanted feature there's probably an extension for it
Looks like you cannot natively
ah ok
Oh
salt die
I'm going to try to make my drawing script do color now... maybe 8 - 16 colors idk
learn rust
yes ๐
what was the way to get this emotes
It works
you have spotify prem hmm
damn

hi, is anyone free to help me out with my assignment about my project idea, im kinda struggle at choosing the tools and techologies to try to create it, it just idea doesnt have to be 100% accurate ;=;
whats ur idea
Ey up
i took the inspiration from supercook app, where we can type in what ingredients we have and they will make us a recipe out of it @odd sluice
ah sorry i misread that "rust requires premium version iirc"
bruh
premium rust.. Fe2O3.xH20
:incoming_envelope: :ok_hand: applied mute to @solemn leaf until <t:1630680598:f> (9 minutes and 59 seconds) (reason: newlines rule: sent 106 newlines in 10s).
Pasting large amounts of code
If your code is too long to fit in a codeblock in discord, you can paste your code here:
https://paste.pydis.com/
After pasting your code, save it by clicking the floppy disk icon in the top right, or by typing ctrl + S. After doing that, the URL should change. Copy the URL and post it here so others can see it.
!unmute 722075505230348358
:incoming_envelope: :ok_hand: pardoned infraction mute for @solemn leaf.
yay
what did oreo even do
i am sorry lmfao
message too much new lines
119 lines tf lmao
that was an embed
ah ohkay
true true
why would u do that ๐
that looks like a knife but the handle broke
lmao
Not beautiful
gps are not meant for stuff with more common ratios other than 1/2,1,2
testing how true is maths
it is 1/2 in that case
a = 1/2 , r = 1/2 lol
3/2*
eh sorry they are all "true" because no 0 there no false
1/2 + 1/4 + 1/8 .... infinity
lol
a = 0 r = infinity try this gp 
love the channelname

i mgiht be stupid, but wouldn't that approach 1 instead of infinity?
that would in fact approach one
wait
woulkd it?
it would keep adding a small amount so id say yes
but then again
oh god my brain hurts
yeah, oreo's just saying that you sum to infinite terms to get to 1
yes
but just because the terms keep getting smaller doesn't mean the sum approaches a finite value
1 + 1/2 + 1/3 + 1/4... doesn't have a limit, for example
yeah it really messes my brain up
the harmonic series, that's really quite something for me to wrap my brain around
it makes sense mathematically, but my head doesn't like the concept of a series getting infinitely smaller and yet still adding up to bigger and bigger numbers
@raven birch yes thats what i did , it approaches 1
yeah, on one hand the terms are getting smaller but on the other hand there's an infinite number of terms
just tried doing this with the harmonic series, because why not
this would be absolute torture as a loading bar, it loads slower the further it gets
i got to 12
but 13 is just painful
i just realised, this would make for an interesting CPU benchmark
since it would be a logarithmic(?) scale
a score of 14 would be significantly higher than 13
wait is it possible to make a dynamic graph
which keeps changing while the loop is running ๐ค
ye
yes but
its even possible with matplotlib afaik
having IO in a hot loop would make it considerably slow
yup, it can be done with matplotlib
cool
you need to be careful with it IIRC if you're drawing a lot of stuff to avoid redrawing stuff you don't need to redraw
but just to edit a plot of, like, 15 points, it's not hard
Rust on debug
Took 0.000001764s to reach 1, 1 iterations.
Took 0.000023909s more (0.00002586s in total) to reach 2.083333333333333, 4 iterations.
Took 0.000008563s more (0.000033384s in total) to reach 3.0198773448773446, 11 iterations.
Took 0.000007169s more (0.000039763s in total) to reach 4.02724519543652, 31 iterations.
Took 0.0000071s more (0.000045597s in total) to reach 5.002068272680166, 83 iterations.
Took 0.000007231s more (0.000051997s in total) to reach 6.004366708345567, 227 iterations.
Took 0.000016158s more (0.000067087s in total) to reach 7.001274097134162, 616 iterations.
Took 0.000012112s more (0.000078213s in total) to reach 8.000485571995782, 1674 iterations.
Took 0.000023013s more (0.000100225s in total) to reach 9.000208062931115, 4550 iterations.
Took 0.000050993s more (0.000150451s in total) to reach 10.000043008275778, 12367 iterations.
Took 0.000126388s more (0.000275671s in total) to reach 11.000017708636419, 33617 iterations.
Took 0.000273558s more (0.000547992s in total) to reach 12.000003051665617, 91380 iterations.
Took 0.000687847s more (0.001234975s in total) to reach 13.000001229480933, 248397 iterations.
Took 0.001817176s more (0.003051323s in total) to reach 14.000001362053249, 675214 iterations.
Took 0.004899324s more (0.007949849s in total) to reach 15.000000378267234, 1835421 iterations.
Took 0.012992333s more (0.020941392s in total) to reach 16.00000009545252, 4989191 iterations.
Took 0.035159487s more (0.056100043s in total) to reach 17.000000014847732, 13562027 iterations.
Took 0.109465132s more (0.165565208s in total) to reach 18.00000000371793, 36865412 iterations.
Took 0.355995022s more (0.521558351s in total) to reach 19.000000009732037, 100210581 iterations.
Took 0.895401003s more (1.416957426s in total) to reach 20.000000001618233, 272400600 iterations.
Took 2.972883484s more (4.389839074s in total) to reach 21.000000000402316, 740461601 iterations.
https://paste.pythondiscord.com/okuviqigeg.py
and on release
the ratio between the counts approaches e, so it closely tracks e^x with some coeffs
wait what
wdym ratio between counts
oh
4:11, 11:31, 31:83, ...?
dang that do be approaching e
In [31]: 2012783315 / 740461601
Out[31]: 2.718281828904724
2.7.. thats e

my min would be 2.718
i am more of a physics follower
e=pi=rootg=3
my motto 
๐ซ
def normal_form(self) -> Total:
terms = []
for term in self.terms:
terms.extend(term.normal_form().terms)
Total(terms=terms)
quiz:
- What's wrong here?
- What language have I been using lately?
Could you say your python is a bit.... rusty? 
@vale sedge
The following restrictions apply to your use of the Service. You are not allowed to:
access, reproduce, download, distribute, transmit, broadcast, display, sell, license, alter, modify or otherwise use any part of the Service or any Content except: (a) as specifically permitted by the Service; (b) with prior written permission from YouTube and, if applicable, the respective rights holders; or (c) as permitted by applicable law;
access the Service using any automated means (such as robots, botnets or scrapers) except: (a) in the case of public search engines, in accordance with YouTubeโs robots.txt file; (b) with YouTubeโs prior written permission; or (c) as permitted by applicable law;
use the Service to view or listen to Content other than for personal, non-commercial use (for example, you may not publicly screen videos or stream music from the Service)
whats wrong here?
tl;dr accessing youtube automatically is pretty much always not allowed
Lacks return.
ah
I remember downloading some music from some random website some years ago so I'll just use them instead, thanks though @sand inlet
My auto draw script does full color now. I had to cut a lot of corners for speed sake though, I'll just call it purposefully stylized.
What style would you call that?
Each dot is perfectly far apart from each other if you open the full image
Well, that was pretty fun.
Guess it's a bit mosiac-y. Very cool!
I could have it do it pixel perfect, but I would be here all day
It would be pretty interesting to see someone do this in another language (maybe C++, Rust, etc) and see if they can make it any faster.
The bottom one took around 6 - 8 minutes (I wasn't really paying attention)
u should try it in c++ which has direct access to the windows api
that would be interesting
I would if I knew C++
bro if u can make this
u can learn c++
or atleast the parts u need to make an equivalent in c++
I mean, I can, but if I try to learn more than one language at once I will die.
yeah
Actually.... I just remembered, I slowed it on purpose because mspaint was freezing if I went too fast and some other issues...
and btw
if u ever try out c++ for this project of urs
just google winuser.h
it has all the things u need to move mouse and stuff
I will look into it if I decide to try C++
ight
the only problem with being faster than light is that you can only live in darkness
This is as fast as I can get it to go without mspaint shitting the bed and mixing colors together (streaks of one color)
Like watching an image load on windows XP + dialup
Here is with no delays, mspaint dies.
meow
Does this string of seemingly random Unicode look like any sort of known data to anyone? It's happening some time between print('') and print('\x1b[25h', end='').
class ansiManager():
def __init__(self):
pass
def __enter__(self):
if sys.platform == 'win32':
print(ansi.conhostEnableANSI(), end='')
print(ansi.clear.entireScreen(), end='')
print('\x1b[?25l', end='') # Hide cursor
def __exit__(self, *args):
print('')
print('\x1b[25h', end='') # Show cursor
print('ANSI manager: Cursor showing.')
print('\x1b[39;49m') # Reset colors
print('ANSI manager: Colors reset.')
I don't need help fixing it right away, I was just curious if this meant anything.
It's different every time, but always between that blank print and the ANSI to re-enable the cursor.
I'd look at what the raw bytes look like when not encoded, maybe it's some struct?
idk
it's relatively patterned at least
and nowhere in my code do I intentionally print that out.
that snippet I posted is the only thing printing when it runs
@gritty zinc here's a hexdump
I might suggest trying another terminal
It's Windows conhost, would rather not change it up.
Something I notice is several repetitions in the most recent dump of 0x5852EFBFBDE2
Conhost has the advantage of when I do Win + R and type pwsh I get PowerShell 7 in conhost. If I were to use a different terminal for everything I have no clue how I'd get Windows to accept it as the default terminal.
ech, "Windows Terminal"
the other thing is that I simply haven't found a terminal emulator I like
Surely you don't prefer conhost over Windows Terminal
Well, there's Alacritty
It's what I typically use on Linux
You can change the default shell of Alacritty, but I don't think there's a way to make it the default terminal for any shell
I have an important question for you all
Would gaining a third eye grant you greater field of view?
I wouldn't think so
Eyes on the sides of your head
Face reveal???
doesn't seem to work very well
lightmode 
It just looks like the lighting bug where shadows are solid black.
Eh, I doubt it.
1.18 update gonna change everything
also the nether is completely different
same with oceans
and villagers r very good
idk
There already was one update called like that
That's around when I was originally playing a bit
unity discussion here
@fickle dirge https://itch.io/games/made-with-unity/tag-racing
either way i would like to save you some time by telling you not to even begin to develop games
why not?
websites of all sorts i guess
in python
np
hi
that's why I said "was" and "when I was originally playing"
I was just pointing out that there were already "huge", "world-changing" updates
HAHA
nop, 1.18 will change almost everything about mc terrain generation
it'll become BEAUTIFUL
world max height will incerease
and min height will also decrease?
ig
yes
now
instead of 0 to 256 you have
-64 to 320
why those numbers D:
because mojang didnt want to extend the height to 384
so they kinda cheated by increasing the depth too
also have you seen the new caves
i personally feel tiny. lost.
look how large they are
Nah
I've not played Minecraft in ages
I'll probably play with my brother when 1.18 releases
you should
they've changed a lot
and the new mountains
it looks like they'll extend up to 256
that's the old build limit
idk, I never reached 256 anyways
that doesnt matter
mountains look massive now
not the "small" ones that existed
ehh we'll see
damn
yeah ik
im just saying that 1.18 is gonna change a lot of generation
i thought you meant there waas an update called 1.18 (and i thought you meant 1.8)
they look so good :O
whaat does shipit mean again
like "ship it"


izzit?
definitely ok
Is it ok to name a command update bot just because it calls my custom app Api to fetch a new version and auto deploy
I have something similar, doesn't really matter what you call it. I just have the command called "reload".
Those are called embeds
like how can i send like this
no i have my own bot
!d discord.Embed
class discord.Embed(**kwargs)```
Represents a Discord embed.
`len(x)` Returns the total size of the embed. Useful for checking if itโs within the 6000 character limit.
Certain properties return an `EmbedProxy`, a type that acts similar to a regular [`dict`](https://docs.python.org/3/library/stdtypes.html#dict "(in Python v3.9)") except using dotted access, e.g. `embed.author.icon_url`. If the attribute is invalid or empty, then a special sentinel value is returned, [`Embed.Empty`](https://discordpy.readthedocs.io/en/stable/api.html#discord.Embed.Empty "discord.Embed.Empty").
For ease of use, all parameters that expect a [`str`](https://docs.python.org/3/library/stdtypes.html#str "(in Python v3.9)") are implicitly casted to [`str`](https://docs.python.org/3/library/stdtypes.html#str "(in Python v3.9)") for you.
Np
how do i set default path for wt (win term)
i dont want to start up and type infinite cds
or long cds
you could put a Set-Location into your $PROFILE
it's a powershell command
I have a rough memory of a way existing in the settings, but I am not sure
could also modify the command that launches the profile to use the pwd you want
oh thanks.
found another way is to modify windows terminal's settings json
hey so i want to make my python code faster
i already used multiprocessing
but i was thinking maybe i could precompile my python script or some other way?
i have looked at cython but then i would have to rewrite all my code
settings >> open with directory
Just dump cd whatever path into your profile script
Like what lak said
But i think $Profile is Microsoft.Profile.ps1, not necessarily what you might want
Sorry its Microsoft.Powershell_profile.ps1
Hmmm
oh
i am blind
yet again

wait
what do u mean by win term
windows terminal or something else?
i think windows terminal
Anyone else here with ADHD? I'm trying to do more projects but it's so easy to get distracted and wander off into lalaland until either I get too intimidated to finish or scope creep eats me alive lol
I was suspect long time ago but I am still thinking that it was a mistake ๐
I got diagnosed about a year ago and I'm still trying to get adjusted to the meds and all that and I was curious to see if y'all have anything ya did that particularly helped
Well we're not supposed to give medical advice, however for my case I may have a case of ADD (still trying to see about getting it confirmed) and I found that chewing gum actually helped me with focusing in math / just class in general
Oh, dw, I wasn't looking for medical advice, I was more looking for things like that. I've also noticed something similar; I have a weird way of always being chewing or drinking something. I might have to try that
honestly I'd be surprised if I didn't have ADD
I find myself messing with my airpods case and like, forgetting someone's talking to me in class
ironically enough I pay attention in the classes I like lol
sms_dtm <- DocumentTermMatrix(corpus_clean)
after running above code in r studio I am getting
"Error in simple_triplet_matrix(i, j, v, nrow = length(terms), ncol = length(corpus), :
'i, j' invalid"
anyone please help me
pls dont multipost
shotgunning
Chewing and drinking are forms of stimming, they are often helpful in staying focused
computer ftw
Pycharm is great just too heavy
And I constantly use a handful of different languages so vs code fits me really well
yes, they should get noble prize
That and emacs, but I use emacs less and less these days
i don't know about emac ๐
I don't recommend it unless you need an editor that's terminal based
It's like vim in that regard, but with sensibility and usability, also far more extensible
emacs is a hard to understand editor.. preferable to stay away ๐
I wouldn't really call it hard to understand
Not when vim is its only real competitor
terminal editor as a whole confuse me sometimes.. like i mean why terminal editor when other ones do exist ๐
except that they might be light
https://github.com/codebizarre/awoo-emacs I ended up making my own config at least
quite light for the matter
My case was that I constantly needed to edit stuff over ssh, or on headless servers in person
And vs code wasn't quite there with remote yet
However, it is now
Does GitHub auto-generates this background photo?
harder than normal editors or even full fledged ides in some case.. i mean the commands take some time to familiarize with ๐
And if you have a really crappy computer, emacs uses about 1/10th the ram of VS Code
Yeah
Looks fantastic.
ah ohkay.. also wdym headless servers ๐
I would say that emacs is about equal to vs code or atom to learn

Your repo name works nicely with my emoji sets
Servers with no display/desktop
ah ohkay.. wait how did you see the code then? or just trust your typing? ๐
SSH or a small monitor I hook up
I use vi all the time when I need to adjust something on the server
ah ohkay
Vi is great if you need to do like a 2 line edit
But at that point I use nano
Because it's easier
Ye, I don't use more
And makes more sense
so i can procrastinate using vim till i actually start messing with servers huh
sounds fair enough
I only use basic vi functionality for that, and having separate viewing and editing modes is nice not to accidentally do something... And the search in long files is nicd
View and edit mode is horrific imo. Your editor shouldn't make it easy to accidentally do sobering
Something*
Vim does and that's one of the reasons it's garbage
hmm i havent seen what that is lol
There's an extension you can use to extend the built-in WSL support to just work with regular SSH to any server
I prefer not being able to write if I don't want to write, so we're completely different in that matter :)
So you get full file access, full VS Code, including language server support if you install it on your server
And you can save your connections just like any other ssh client
ahh ohkayy
The built-in terminal in vs code also just instantly works through ssh
It's truly perfect
I was previously using bitvise but now that vsc has gotten to this point I don't at all anymore
I still keep emacs around
Cause sometimes I'll just use PowerShell to connect to ssh really quick and realize I want to edit something
ah damn ssh stuff always seems alien to me ๐
so does nano
The barrier to entry is high but once you get it, it's easy
Nano is simple... It's notepad with colors in terminal
All the key binds are displayed at the bottom constantly
So you never have to look it up :p
Driving brb
ah well yeah hmm right i messed up read bad with nano during the github thing
sheesh dont use phone while driving.. i mean how do yall guys do that.. i cannot get free hand to use phone while driving
that's why she said brb
probably while they were stopped at a red or something
I don't use my phone while driving... Hence me saying brb and not talking for an hour
I wasn't stopped at a red I was just getting in my car :p
๐
?
idk
how you don't know what you meant when you were the one who replied?
yo
I'm just overwhelmed by the Vi family and Emacs too and decided to not bother, so I went with a less overwhelming terminal based text editor called micro
micro is alright, it's more like nano than vi/emacs though
it also uses completely different keybinds, that aren't immediately obvious
so I ended up just switching back to nano
you use nano? just use vim lol
when I need the power of vim, I use emacs
vim's arcane and impossible for me to use effectively
I just use nano when I need to quickly update a config or something over the terminal
95% of the time I use vs code with the remote extension these days
4% of the time when I need a terminal editor I use emacs
and the other 1% is config edits with nano
Most of vim use comes down to moving across text, cutting/pasting text around and .
Its not as impossible as people think it is
and lemme just ggY"*nna
It's impossible for me
I spent two weeks using nothing but vim for 2+ hours a day
and by the end I was still less than 1/4 of the speed I can edit with VS code
not once did I ever remember "Oh yes it's just these seven keys in a row to do the simple action I'm trying to do"
In contrast to emacs I was up to near my equivalent editing ability in a couple of days
if vim works for your brain, great
but it's just not possible for me to learn it effectively
do the many available vim extensions not have that
to a degree yeah
specifically how vim handles it
emacs modes are much friendlier
but either way, now that VS Code Remote is to a point where it's bug free and works smoothly
I have very little reason to ever use a terminal-based editor
none of my computers are slow enough that VS Code is a problem
even on the 4GB RAM NUC it runs fine with all my extensions
Vscode is just an all around awesome product
Last week i found out i could diff files without an extension
yup
for someone like me who also jumps around languages often, there's nothing better
it's relatively speaking quite lightweight
it's fast and easy even on low-spec systems
the only other comparable editor is Atom and it's lacking about...half the features
I currently run 47 installed extensions
Yeah it's alright when I just need to do some minor edits, though I'll likely just use the WSL VS Code extension when I need a bit more
and with a large project open on python, including pylance running and stuff, it's only using about 260MB of RAM
that's DAMN impressive considering the features that are running in that space
I like multiroot workspaces
I switched to vim a couple of months ago and I like it so far. I find the biggest time-savers are simple tricks I use again and again - stuff like "delete through the next parenthesis" or "swap these two lines."
you need to swap things often?
Eh, sometimes.
ah hmm ohkay yeah
that's what i assumed so ๐
yeah mb sorry
Finally broke down and setup codecov into a workflow. Feels good.
#python-discussion message @acoustic moss
what do they do?
i think its the same as subclass/superclass but the julia docs dont use the word class
juliea?
yee
who uses julia? it is a meme language
:OOOOF:
being banned from the julia server lol
hey hsp dont tell anyone there. im just jokin :((
Ah
The nine straight hours of setting up a CircleCI workflow at work really helped me out though. Nothing is quite as complicated.
I have a lint-test workflows which runs four jobs to lint on both 3.8 and 3.9 (probably unnecessary in retrospect) and tests on both 3.8 and 3.9
Once they're all complete it runs the discord status embed workflow
secretbox hits four versions, three OS targets. But that was a copy/pasta workflow. https://github.com/Preocts/secretbox/tree/main/.github/workflows
but yeah, i'm unfamilier with workflows, docker, yaml, and the pieces between
Getting there though!
since if I support windows should probably be testing it yknow
sounds reasonable
just a tad
man I am so fucking proud of a system I wrote a few months ago
it lets me have 3 line commits to drastically change stuff
that's a good thing too
config changes?
How so?
Bruh my own level is so hard to play
paginatot damnit
prevents the cog from being unloaded
can be reloaded, but not unloaded
a literal single line change
hmmmm
for reference, in @median dome this is hardcoded
A good config option. 
just wanna note in sir-lancebot its hardcoded https://github.com/python-discord/sir-lancebot/blob/b555de4a6668745878bb5a9d1dfd3a08539dd407/bot/exts/core/extensions.py#L21
bot/exts/core/extensions.py line 21
UNLOAD_BLACKLIST = {f"{exts.__name__}.utils.extensions"}```
pagnitatot
meanwhile the EXT_METADATA variable is legendary
since it can store more information
like, what modes that cog should load during
this is where that set variable is used ๐
modmail/utils/extensions.py lines 68 to 75
ext_metadata: ExtMetadata = getattr(imported, "EXT_METADATA", None)
if ext_metadata is not None:
# check if this cog is dev only or plugin dev only
load_cog = bool(int(ext_metadata.load_if_mode) & BOT_MODE)
log.trace(f"Load cog {module.name!r}?: {load_cog}")
no_unload = ext_metadata.no_unload
yield module.name, (load_cog, no_unload)
continue```
EXT_METADATA, if it exists, must be an instance of ExtMetadata
right now it has two options, what mode, and if it is allowed to be unloaded
Clean, direct, and does the job. Easily pulled to the next layer if needed (config file) but living happily in the cog's global scope
there's three bot modes, Production, Developer, and Plugin
this is a bitwise enum, so multiple modes can be enabled at once
by default production is always on
disabling that basically disables most stuff of the bot--don't disable it
developer mode enables the extension manager command for dealing with the bot's own extensions
and plugin_dev mode enables commands on the plugin manager for more precise dealings with plugin extensions
I need to refactor plugins
how plugins work are they are a folder which can contain any amount of extensions
and from the user point of view, all of those files will be treated as one plugin
it is my current favorite feature on the main branch 
Anything that does work for you is super good.
My favorite features on two projects I created at work include the fact that they are heavily config driven. Need to change behavior? Edit the toml and done.
nice
Little things like that and what you made go underappreciated sometimes
Makes "Hey, Team Whatever needs the verbiage of their status updates to be changed to include the source" from a 2 hour process for me into a 5 minute process. #Priceless
That and, going full circle, the complete CI/CD pipeline I finally got working
So be proud! Config changes that make life easy are freakin' awesome
yeppp
I just made some bot commands be disabled if the bot is not in plugin_dev mode
Without code changes, in a sense
yeah
since I still want the cog to be loaded, but the user should not get the close commands without opting in
basically, prevents the user from loading or unloading specific files of plugins
since that goes against this view
@raven birch oh it's just my past warcriminal raid group self calling
c h a o s l e g i o n
ohhh
this is a rare image of sir lancebot accepting defeat
um. no
hwo did u blur
ShareX
many screenshot apps have that capability hmm
true
How does one go about auditing a python package
Context: trying to use an LGPL library in company code, before i ask any supervisor, is there an easy way to figure out if theres any security, licensing issues with the package?
Not really as far as I know
Assuming you understand what being licensed under LGPL means for your project
Im not licensing expert, LGPL is gpl but for proprietary projects too afaik (?)
I really should talk to my boss about this
Im just trying to cut down on the questions i'll have for him
lgpl is gpl but lighter
yeah, talk to your boss about this
no one here is qualified to help you with whether LGPL can be used with no strings attached in your project
since it is sadly a more complex license than just use it
so for vector spaces, do we take scalar from range of vectors or any scalar?
oh so if it should be say real number, does it imply that say N^2 space is not vector space as its not closed under scalar multiplication?
Usually you take scalars from the field your vectors are over
okay so what about subspaces? do we consider field of space for that or subspace?
you can have a vector space over the naturals but you'll have a problem with it not being a field under multiplication (no inverse)
oh yeah no reverse for multiplication i see.
but i mean this place says, we don't really need inverse multiplication for spaces.
so about taking scalar from the field, is it in definition? because uhm i did not see fields mentioned there.
altho i mean N will not follow it anyways because it does not hold additive inverse condition, but i still wonder about Z.
ah i see i see.
For a general vector space, the scalars are members of a field F, in which case V is called a vector space over F.
so if we consider R as field for scalars, its obvious Z^2 does not qualify.
hello, is anyone experienced when it comes to microsoft remote desktop and error 0x204 ?
hi , who uses linux? can u give me resoan why linus is better than windows ?
thinking of change
on Linux now, the best reasons for me are:
- built-in package managers make installing software an absolute breeze
- much easier to set up dev environments and tools than Windows
- faaaaaaast
Because if you use Linux you're
tbh I've forgotten all of my reasons for using Linux
I don't remember too much about Windows
@rough sapphire just be prepared to read articles online, it's got a learning curve
I agree but I've also been using Linux for 11 years now so I'm too biased to say
Fair
oh you know i am ๐
why u scaring me
ohh lol
it's okay lol Linux has gotten a lot more user friendly over the years
what are you planning to do on your Linux machine?
well, I'd say check out Kubuntu or Xubuntu
maybe web browsing and some dev work maybeee?
Steam does their testing on Ubuntu and Arch iirc
if i had a better system i would dual boot pc but thats not possible rn
yea basically all normal stuff along with programming
like browsing etc etc
ohh
is it better than ubuntu ?
The only real difference is the desktop environment
GNOME can be off-putting for beginners
is ubuntu debian's distro
o
is kubuntu ubuntu distro
yup yup
Kubuntu is Ubuntu but uses KDE Plasma instead of GNOME
it's all Ubuntu under the hood, just with different coats of paint
never really touch linux that deep. i only know about ez installations
idk whats kde and gnome
xubuntu would probably be good for you then ๐
this is also not bad
like how you interact with things
hmm, i still dont get it. what will you tell a native windows user's definition of it?
they're both pretty easy to set up, just know that Ubuntu is the poster child and Xubuntu is like its brother
imagine the differences between Win8 and Win10, except in our Linux world they're both "good"
got it
I mean realistically KDE Plasma and Xfce are the ones you want to look at
GNOME isn't as customizable and uses more resources
but Xfce is fairly light
GNOME feels more like macOS, KDE and XFCE feel more like Windows, but in the end you can make any of them work like any of the others
this is true
what would be the best for gaming in xfce, kde plasma etc ??
There'd hardly be a difference I'd think
KDE Plasma would be my bet, but XFCE works too in my experience
unless you're low on resources, they should perform about the same
recently KDE has gotten even more lightweight than XFCE, which was known to be hella lightweight for a long time
if you're low on resources, Xfce will help you there
Really? I'd not heard of that one
Hi :D
I've heard of KDE being more lightweight than before, but I'm not sure about it being lighter than xfce
yeeaaaah lol
kde works fine on 4gb ram
KDE has a built in theme library, if that tickles your fancy
and you can download some hot themes right from the settings menu
Cheesy conclusion
KDE Neon is basically Kubuntu but KDE Plasma is updated more frequently
as KDE Neon is maintained by... you guessed it, KDE
is that true
some themes on KDE Plasma
๐ well form what i have heard arch is tuff for first timers
Manjaro is easy Arch, but I still think it's not for first-time Linux users
umm
hhh
you've summoned him
dk about that
you kinda have to know how Linux works a bit to understand what's going on in Manjaro
No amount of experience will allow you to understand Manjaro
God only knows what they're doing
btw is linux and unix diffrent ?
I haven't touched it in awhile but it seemed like a weird "Arch but we're holding it back" mix
I argue this all the time but I guess I'll argue it again
yes
and that's that Arch doesn't have much merit to begin with
pull out the inner demon
but muh pacman
never head of that ๐
it's the package manager on SUSE distros
SUSE feels like a foreign country to me that I really need to culture myself on but never have
I love openSUSE distros
anyways
Manjaro tries hard to appeal to newbies but there's some flaws
- Beginners really shouldn't be messing with Arch
I mean seriously, Arch breaks enough as it is
then you have whatever bonked software Manjaro adds and it only gets worse
it's really not a pleasant experience unless you're lucky enough to dodge it all
that's the main reason why I left Manjaro
seemed like a lot of maintenance bonk-age going on
I made the mistake of starting out on Manjaro, and I chalked up a lot of my issues to either "Oh, it's just Linux things" or "Oh, my hardware just isn't capable"
ouch
chalked? is that the word? idk
makes sense to me lol
One of the issues I had was that my audio wasn't working
and the Manjaro people told me that I could either only have audio input or audio output
meaning I had to choose between my built-in mic or my built-in speaker
what the heeeeck








