#ot1-perplexing-regexing
1 messages · Page 17 of 1
this is like multiplying your functions by a heaviside step function
if you forget it and start playing with translations of functions, you immediately get into trouble
you can find the negative fibonacci numbers with matrices
funny thing i found out
my LSP client doesn't support workspaces
is that why uhhh
every LSP server is crashing when I try to connect to it
?
the -nth fibonacci number is just the nth fibonacci multiplied by -1 if n is even so
So if i read automate the boring stuff will i be a Python master
no, but you'll be better at python than when you started
if "mastery" of a language were to exist it would have to come from lots of experience
not just picking up a book and reading it
Hello
I want to get started with computer science can someone guide me I am a beginner
!resources
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
I am not in uni as of now since i am waiting for fall to apply
Shouldn't matter
I have a MacBook air but that's mainly because that's what my school uses
as robin said it shouldn't matter that much
unless you're using like a potato
that's probably powerful enough to do aoc
Aoc?
Advent of code?
It is running original windows 10 and it is really slow any software I run takes 5 min to open and if interrupted it states that the “[software name] is not responding”
you could try running a lightweight linux distro on it
Never mind how do I start with programming can you get me through it all
!resources has stuff you can start with
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
I am not particularly interested in any language since I dont know anything
as for a laptop, what you have will work, but if you're willing to, buying a new one isn't a bad idea
python is a decent start
R u in uni
I'm not, no.
Ya I saw u have a badge beside ur name u must be a pro
I'm far from one >.>
we can't get you through "all" of programming, but we can certainly get you started
Ohkay I am actually interested in starting early Bc I really want to land a internship in 2 year as only a few people get internships in 2nd year
Yes Please guide me
There's plenty of resources out there you can use, I personally like a byte of python - https://python.swaroopch.com
don't sell yourself short
Where do u Guys work?
I'm a full time student
Full time?
Yeah. Just a student :P
Like u don’t work
nope, don't have enough time
What year
I'll be going into my first year of university in 2 months
i thought you were a fish too 🤨
not in 2 months
fair
nowhere yet :p
let me know when you get the job at the boba place!
😂
Robin which uni did u apply to
I got accepted into texas a&m
I'll be rolling in dough 
dont forget your friend 
another one opened up as well, I can try my hand at both
although it's a chain, the original one isn't
Ok tell me how to start can I use udemy and couriers popular courses?
you could, sure
Coursera*
Ok thx
What should I learn first any order
Or can I start from anywhere
U know what I will try python
sure, go for it
the resource I linked is structured - it'll take you through topics step by step
wow
just installed my first vim plugin and my workflow is already a bit faster
still have yet to install vim
i mean i did but then i realized i wanted to do it on linux
and i haven't been bothered to setup linux yet
what plug is it?
omago
auto pairs
nerdtree too
fugative or something idk, that git wrapper from vim
you're on windows?
lmfao
"stop using your phone"
"follow me"
ironic
yes
use wsl
yeah I installed it yesterday
I overwrote a Path variable with Subl's path, I don't know what was on that Path, but it wasn't Python and now I'm concerned 
coffee leaves
Make coffee tea with coffee leaves then
I never understood coffee tea
tea beans
sounds like a load of (red) bullshit
what are energy drink beans?
oh. of course. silly me.
A lot of energy drinks are still caffeine-based. Idk if industrial amounts of pure caffeine are extracted from coffee beans or something else, or just synthesised...
But some energy drinks also use guarana (for its guaranine, just a type of caffeine like theine is caffeine from tea), which indeed are bean-like fruits.
@slate anvil, any luck with your problem
Does exposing your phone to sub zero weather near -6 C everyday for 1.56 months affect battery life
where the hell do you live wtf
Canada
canada wildin
good question. not like they have a country's flag in their about me or anything
i mean
i dont go around looking at the about me of every person i talk to
and even if i did i dont know what the acronyms stand for
You don't maintain a personnel file of every PyDis member you interact with?

do yall not use the notes sections for anything
I only ever use the notes section for people in another server
I tag members that I think are using GPT to generate replies, and if I come across that tag more than once, I'll typically use that as the basis to open a modmail.
must be yourself
Does their name start with a B?
Possibly BR?
aw come on this is easy
the doggo's name is B||ertrand|| R||ussell|| yes
my usage of the notes section is literally just their username
because sometimes people change their names and it makes it annoying to figure out who they are
B||ertrand||*
ye have discovered the reason i changed my name to its current form, but usually i catch that myself. alas
I envy the idea that I'm absolutely confident exists; which is that when PyGen chat degrades but is still on the topic of Python, reasonable discussion carries on in the recesses of the 'back channels' lol.
the back channels are anything but reasonable
O-oh no.
you would not believe the amount of shitposting that goes down
The fact that this is the third time you've alluded to this in the last week is frightening.
welcome to the python discord 
Imagine collecting infractions
Bold choice to rip an emoji from a Roblox server out into the ether like that. 😛
!u
Created: <t:1586551853:R>
Profile: @dapper dew
ID: 698273827448291379
Joined: <t:1622294818:R>
Roles: <@&267628507062992896>, <@&267629731250176001>, <@&831776746206265384>, <@&787816728474288181>, <@&267630620367257601>, <@&764802720779337729>, <@&463658397560995840>, <@&518565788744024082>, <@&542431903886606399>, <@&1074780483776417964>
Messages: 45,316
Activity blocks: 10,900
Total: 33
Active: 0
33 infractions
what a naughty admin
Fool me once, shame on you, fool me 33 times... Shame on you, I'm a good person.
we should make the staff starboard public
that shit is hilarious
the ultimate shitpost party bus in the area
you mean #duck-pond ?

i forget what that kinda link looks like to non-staff
truly one of the dev oops moments of all time
That's still probably the low end
wait, shenanigans wasn't the reason behind the shenanigans? 👀 surprise
he could yet be
There is no starboard in pydis
there is no war in ba sing se
because everyone is a star?

hi
Can u teach me how to make smth that attractive
i wouldn't use the word attractive..
I’m making a server called the coding hub. And I’m making my icon, and was looking for an invite banner like that. Like discord.gg/python
Do you know how to do that?
the banner pattern is just repeated over and over again
this is the pattern itself
yeah
i mean you just make the main python logo and cut it into 4 pieces
and put those 4 pieces on the side
although, the server banner you're showing doesn't have a diagonal pattern
so you can really just do the image itself
ye
bsaically
i got this icon
am i able to attach images here?
yes
aight so
i want just that shape
cut out
and then i want the pattern like python banner
do u know how i can do both
just cut out the shape then
how?
no 😭
at least it's not a 200
Hi I need a new laptop so Asus strix g15 Ryzen 9 5900HX rtx 3070 16gb/1tb getting under $1222 should I buy it? Is it any good? It’s extendable upto 32/4tb Or should I just buy the maxed out MacBook Pro M1 16gb/2tb getting it for like $1600 and Both are used have the extended warranty of nearly or more than 1 year Accidental Damages are covered under the warranty
what do you plan to do with the laptop
Coding and gaming(not that imp) I will be going to uni later this fall
if you have any plans to do gaming, definitely do not get a macbook
the g15 will definitely be fine for coding, and should do fine for gaming as well
the main advantage of the macbook is battery life
which can be useful for uni
I need the best machine for coding
you don't, coding doesn't benefit much from hardware outside of very specific areas
I am not that into games never played pc games before
as a uni laptop, the macbook is probably better, just because its quieter and you can use it away from a socket
though I have run into some more technical challenges trying to do uni on an M1 macbook
to the point I had to use my x86 desktop do to certain things
but the vast majority of things do work
I am not in uni rn so wt were the prob
I don’t have the money to buy again
Which is more future proof
Like MacBooks are more future proof but extendable Ssd and ram makes asus future proof too I think but can’t decide
Which is faster M1 MacBook or asus
probably the asus, but I wouldn't expect performance bottlenecks on either system
Asus is less expensive
it's likely the asus is heavier, runs hotter, has a shorter battery life, etc
i use an m1 macbook and it works fine
i would get the asus though for the price
My Patreon -► https://www.patreon.com/thevolgun
Source -► https://scp-wiki.wikidot.com/scp-3675
Author -► "Modulum" - https://scp-wiki.wikidot.com/modulum
Buy my Merch? -► https://www.redbubble.com/people/TheVolgun
All of my links! -► https://beacons.ai/thevolgun
╾╾╾ ►! Image Credits !◄
Photo by Nothing Ahead: https://www.pexels.com/photo...
This was the best one so far
Even after it's done, and acknowledging it's just a website made for fun and to scare others
It's remebered because it's concept is so firmly rooted in reality
Tis only a flesh wound
hey! guys i am new to this server
i am learning python and i have a issue with my code
can someone plz help me to get rid of that/
Recommend opening a help thread, this is an off topic channel. 😛
tell me how i can share my problem with you you ?
Ok i will reach you again after opening a help thread
i am new to discord so can't communicate properly here but i will try my best.
Volgun is amazing
kitty kat! 
Yes
Instead of having to hurt my eyes reading all the entries, he does it instead
Yeah 😅
Plus the very atmospheric videos: artwork, narration, and music
But also slow pacing so I can't give it much time
You know all of the images or zoomed in clips are made entirely by him (or at least the 3d models)
AYO python’s celebrating Holi
But… wrong emoji
Diya lamps are related to Diwali not Holi
AT least in our region
lol
wai… you joined this server on my birthday.
3 year olds on PyDis smh
yeah i was getting bored at your party
i added a rainbow thats the closest i could find lol
Bruh
Well a rainbow is best
That:s better
fr
https://www.sciencedirect.com/science/article/abs/pii/S0378720605000170
Makes the assertion that interactive video provides higher learner-performance and satisfaction than traditional or non-interactive video.
https://www.sciencedirect.com/science/article/abs/pii/S0959475211000247
Makes the assertion that interactive videos was at least comparable to that of print. Of note:
For text, several studies related to reading comprehension have demonstrated the importance of self-regulated information processing on a local level (Bazerman, 1985, Coté et al., 1998, Garner, 1987, Hyönä et al., 2002, Hyönä and Nurminen, 2006, McNamara et al., 2004).
https://academiesb.com/wp-content/uploads/2019/07/e-learning-study.pdf
Tangentially related, e-learning classrooms with interactive videos perform markedly higher in this study.
I would purport that the above three studies craft a compelling argument refuting the idea that there is either physiological or statistical evidence to support the idea that, at face value, the type of media ingested has any link to the effectiveness of learning. Active participation in the learning medium is by far the most determinant factor on knowledge retention and test score.
For the purposes of the above studies, I chose specifically interactive videos with the definition that you are able to 'scrub' through videos as required, not that you are explicitly required to engage with some portion of the video-lecture.
Blended media is likely trending towards the statistically dominant form of study; I don't know that there is significant statistical evidence to support literature being the operant way to 'learn'.
@viral parrot
This probably belongs in Pedagogy, but it's not strictly related to Python at least. 
https://waterbearlearning.com/does-video-improve-learning-engagement/
Here's a good 'summary' of the points I'm lining up.
do you pet these?
I wish 🥺 but I'd probably die if I tried to pet
i saw yt/terramatter in which they spot a mother snow leopard with her cubs on himalayas
Meet three juvenile snow leopards up close and personal: see them in their enclosure at Zoo Wuppertal, where they greet Nadine (an animal keeper of the zoo's carnivore section), whom the cats regard as their foster mother). Watch how they investigate the camera(man). Witness them getting fed.
Special thanks to Nadine for enabling us to film the...
if I commit changes to branch A and then switch to branch B in github and press push to origin, will it be pushed to branch B or A(im in github desktop rn)
k
kurberneters
burgernetes
Guys how would you rate this server out of a scale of 8?
Which end of scale is bad and good
It’s a pet peeve of mine idk I got like few years ago when I was 11-12
2
Yes
😭
Wow Robin accidentally typed a 0 with that 1
🚫
Gotta edit that mistake out
ValueError: Illegal argument passed
Hello, I am using A9g development board (gps + gprs) for my project. I flashed the micro python in it. Now i have to connect mpu6500 with A9g to get the angles. but when I m running the code I am getting this error ( Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: can't import name I2C) I tried all the methods but nothing works and there is no documentation for A9G board. Can anyone help me out ?
so I've recently set up my raspberry pi. Am following a tutorial for the MPU9250, from https://github.com/tuupola/micropython-mpu9250.
I have did a install of the micropython-mpu9250, and tried the
I tried that too, but same error continues
then I got nothing, sorry
Hey I did this otn
why do they call it a microwave when my crow the corvid wave out hot eat the food?
one of the questions the greatest philosophers of old have pondered for millennia
why do they call it oven when you of in the cold food of out hot eat the food
what about the greatest philosophers of new
those don't exist duh
Joeeeey
This server kinda not that great tho
What made you feel so?
@shell raptor getting a new job? 👀
It is I
PyGen is fun this morning.
it is what it is
😣
that's when you hop into a help post and wait it out
or come here
off topic is chill

That's precisely my pattern. Seems to get like this around this time every morning tbh.
well it's night for me
so I also could just go to bed
but I wasted all my time golfing tic tac toe so now I need to catch up on stuff before bed
no that was a code golf
Br0o0other my solution was less characters
code golfs just happen to usually be esoteric as well
you didn't have multiplayer
I added it.
g=[[None]*3 for _ in range(3)]
t=0
while True:
r = [i+3*j for j,e in enumerate(g) for i,c in enumerate(e) if not c]
n = int(input(f'Enter a cell: {r}'))
if n in r and t:
g[n//3][n%3]='O'
print(g)
t = 0
else:
g[n//3][n%3]='X'
print(g)
t = 1 ```
I can shorten that, I wasn't golfing 
where's your win check
That's what I was typing before I hoped you wouldn't bring it up.
But I think I can just add a lambda and call it on the assignment to evaluate the board for a win condition and break
half my code is the win check

Poke me in the wee hours of... my morning, when I'm somehow more productive. I'll golf it and get back with a win condition.
have fun
You're no fun.
don't worry too much about the golfing
I'm willing to golf it for you to see if it does turn out to be shorter

I am curious since I do spend quite a lot of characters on setting up the magic square properly
I really didn't understand how you instantiated your grid in the first place.
Or more specifically, why you did it in the way that you did.
but the magic square setup cuts off a lot of the win checking
it's a magic square with digits 0-8
If you use the phrase magic square again, I'm going to scream.
so each row, column and diagonal sum to 12
OH
I think I can use 0's instead of none and save some characters safely.
since it's just evaluating the implicit boolean value of whatever is in the element of the list.
and probably the ord value of characters for win conditions 
i just used 1 for x and 2 for o
which matches up nicely with the player numbers
and 0s for no entry
tie happens when the sum of the grid is 13
I'll mess with it, this is kinda' fun.
part of why I like code golfing is that you have to get imaginative with stuff
think about how you best structure your data to reduce the complexity of your operations
wait isn't it morning for you
8:33AM
...
poke
I said the wee hours of the morning.
I'm doing adult stuff, like navigating the US health insurance system, and taxes.
turbotax 😤
is there any privacy friendly and secure todo list app?
yes, it's a little vague - I decided to try implementing it such that fish move first, then sharks
or rather, that fish have the opportunity to move first
be interesting if it were implemented via threads so that the order is essentially random. be a might pain, though, i suspect
But wait, there's more!
given that there are interdependencies between the two, I don't think they can be threaded
[afk, dinner]
why are you using L as datatype in your arrays when your values are really small? 
Is the whole pulling your covers from your bed and watching your remote launch at terminal velocity across the room and into the wall a me thing, or does this happen to everybody?
Its my gf with her phone
I’m cool with that, just need to make sure I’m not missing something everyone else in the world knows.
I don't have a TV, just a 4k monitor I watch stuff on. No remote.. hmmm maybe if I write a program to use my android as a remote? 
that would be impossible
I did a small flask app to do that for netflix/amazon/disney/youtube
They share shortcuts so it was simple enough
lovely
I have two Samsung G70B’s and the fact that they can stream video as regular smart tv’s has got to be the most useless feature in a computer monitor ever.
I think im gonna try something similar with a canvas and try to capture touches on the phone screen and translate them to mouse movement
It’s all fun and games until you realize how often you draw vaguely phallic shapes while manipulating your computer.
Heh
my apparently goto "I'm bored, I'll move the mouse around" shape
I should track my mouse movements, now I’m curious
I cheated and just brought up gimp
you could just have pyautogui or something in the background logging
I just realized I do different sizes depending on the music I have on
the one was quick paces music
slower music, bigger shape
and more U shaped 
that would be interesting
I fucking love tqdm
I want to fucking put progress bars in everything
tqdm is nice but the code inside it sucks, as i have become sad to discover
@summer knot I made an impl in rust, pretty graphics 😄
oh! I'd love to see it if you can share source. Might be a useful template for me to work with
it probably has bugs, I went a bit different approach
but here https://github.com/algmyr/wator
I just grabbed the first best example of a library that can throw pixels on screen
I should really add some fps counter to see when I have severe slowdown
I have some weird behavior on the top edge, probably me missing doing wrapping somewhere
it's kinda mesmerising to look at
it reminds me of the many simulations I ran in uni
for my complex adaptive systems master
I made a thong 🥺 py (lambda s:(lambda g,b,l,k:[(l:=l+f'\033[38;2;0;{g};{b};1m█\033[0m',b:=b-k,g:=g+k,__import__('time').sleep(.1),print('\033[1A',end=''),print(l))for i in range(256//s)][-1][0])(0,256,'',s%256))(2)
~~so did lemon (in song form) https://www.youtube.com/watch?v=c8BLTpTJIMw~~
my bios mode doesnt have the option to change my ram mhz what do i do?
that's so cool 🧌
Liquid design pattern. Write code, then heat whatever media the code is stored in until it melts.
!e
(lambda s:(lambda g,b,l,k:[(l:=l+f'\033[38;2;0;{g};{b};1m█\033[0m',b:=b-k,g:=g+k,__import__('time').sleep(.1),print('\033[1A',end=''),print(l))for i in range(256//s)][-1][0])(0,256,'',s%256))(2)
!e
(lambda s:(lambda g,b,l,k:[(l:=l+f'\033[38;2;0;{g};{b};1m█\033[0m',b:=b-k,g:=g+k,import('time').sleep(.1),print('\033[1A',end=''),print(l))for i in range(256//s)][-1][0])(0,256,'',s%256))(2)
@ocean plover :x: Your 3.11 eval job timed out or ran out of memory.
001 | [1A[38;2;0;0;256;1m█[0m
002 | [1A[38;2;0;0;256;1m█[0m[38;2;0;2;254;1m█[0m
003 | [1A[38;2;0;0;256;1m█[0m[38;2;0;2;254;1m█[0m[38;2;0;4;252;1m█[0m
004 | [1A[38;2;0;0;256;1m█[0m[38;2;0;2;254;1m█[0m[38;2;0;4;252;1m█[0m[38;2;0;6;250;1m█[0m
005 | [1A[38;2;0;0;256;1m█[0m[38;2;0;2;254;1m█[0m[38;2;0;4;252;1m█[0m[38;2;0;6;250;1m█[0m[38;2;0;8;248;1m█[0m
006 | [1A[38;2;0;0;256;1m█[0m[38;2;0;2;254;1m█[0m[38;2;0;4;252;1m█[0m[38;2;0;6;250;1m█[0m[38;2;0;8;248;1m█[0m[38;2;0;10;246;1m█[0m
007 | [1A[38;2;0;0;256;1m█[0m[38;2;0;2;254;1m█[0m[38;2;0;4;252;1m█[0m[38;2;0;6;250;1m█[0m[38;2;0;8;248;1m█[0m[38;2;0;10;246;1m█[0m[38;2;0;12;244;1m█[0m
008 | [1A[38;2;0;0;256;1m█[0m[38;2;0;2;254;1m█[0m[38;2;0;4;252;1m█[0m[38;2;0;6;250;1m█[0m[38;2;0;8;248;1m█[0m[38;2;0;10;246;1m█[0m[38;2;0;12;244;1m█[0m[38;2;0;14;242;1m█[0m
009 | [1A[38;2;0;0;256;1m█[0m[38;2;0;2;254;1m█[0m[38;2;0;4;252;1m█[0m[38;2;0;6;250;1m█[0m[38;2;0;8;248;1
... (truncated - too long, too many lines)
Full output: too long to upload
Sus
It only works on your local machine with an ansi compatible out
Is tqdm pure python
Because if so lots of prints can slow down whatever you are loading
Learnt the hard way
look at my son
What if, all displays on every device are just consoles and every pixel is just ansi escapes?
godof wa r (loud?)
They have their own thing for printing with tqdm
🤨
@rough sapphire The stupid post closed as I was writing.
!e ```py
class Parent:
def method(self):
print('Parent.')
class Child(Parent):
def method(self):
super().method()
print('Child.')
child = Child()
child.method()```
@soft violet :white_check_mark: Your 3.11 eval job has completed with return code 0.
001 | Parent.
002 | Child.
It lets you call a method of the parent class.
Say you've got two classes with the same method name, like here, where one class inherits from the other.
It lets you call the parent's method you specify.
!e ```py
class Parent:
def method(self):
print(self)
class Child(Parent):
def method(self):
super().method()
print(self)
child = Child()
child.method()```
@soft violet :white_check_mark: Your 3.11 eval job has completed with return code 0.
001 | <__main__.Child object at 0x7f471cdcc310>
002 | <__main__.Child object at 0x7f471cdcc310>
The method is given the same self/instance to work on.
Use of super is good where you want to extend (for the child) the existing functionality of the underlaying parent class, but still have access to its methods without having to have to copy code from the parent.
The super class can also optionally take arguments.
!d super
class super``````py
class super(type, object_or_type=None)```
Return a proxy object that delegates method calls to a parent or sibling class of *type*. This is useful for accessing inherited methods that have been overridden in a class.
The *object\_or\_type* determines the [method resolution order](https://docs.python.org/3/glossary.html#term-method-resolution-order) to be searched. The search starts from the class right after the *type*.
For example, if [`__mro__`](https://docs.python.org/3/library/stdtypes.html#class.__mro__ "class.__mro__") of *object\_or\_type* is `D -> B -> C -> A -> object` and the value of *type* is `B`, then [`super()`](https://docs.python.org/3/library/functions.html#super "super") searches `C -> A -> object`.
The [`__mro__`](https://docs.python.org/3/library/stdtypes.html#class.__mro__ "class.__mro__") attribute of the *object\_or\_type* lists the method resolution search order used by both [`getattr()`](https://docs.python.org/3/library/functions.html#getattr "getattr") and [`super()`](https://docs.python.org/3/library/functions.html#super "super"). The attribute is dynamic and can change whenever the inheritance hierarchy is updated.
But you generally will only need to do that for older versions of Python.
Using super without arguments is pretty standard now.
AFAIK what happens right now is those arguments are implicitly specified during bytecode compilation
Also note that, aside from the zero argument form, super() is not limited to use inside methods. The two argument form specifies the arguments exactly and makes the appropriate references. The zero argument form only works inside a class definition, as the compiler fills in the necessary details to correctly retrieve the class being defined, as well as accessing the current instance for ordinary methods.
don't post your question in every channel
Yup
do you think, on average, the ppl under tos age here are higher, average, or lower than the average
lower. I'm sure gaming servers have a higher proportion than programming servers etc
There's certainly a fair share, but I'd suggest it's quite a mature community overall
purely hypothetical though
quite a mature community
i can see you havent been here long enough
but then again, my points of reference are the redis and pycord discord server so lmao
some of that seems to apply to you at times tbh
agreed
my taskbar rn for no reason

I'm having some issues with a KVM Switch that I was wondering if anyone could help with:
I'm using one so that I can have my laptop and PC connected to the same monitor, switching between the two sources at the press of a button.
I've connected both of my computers, and I can switch between them fine, but when connecting the keyboard it causes the monitor screen to have horizontal bars travelling upwards on the monitor (you can sorta see them in this image, although obvs static). If I remove the keyboard, the lines go away. Plug the keyboard back in (even in different port), the lines come back. Why would the keyboard be causing this?
Is this on any sort of high data-rate monitor? 4k or high refresh rate?
It's on a "full hd" 1920x1080 monitor that's 75Hz
Can you try another keyboard and see if the issue persists?
Horizontal lines like that tend to represent some sort of scanning issue, and I'm going to say the internals of the KVM Switch itself are probably not as excellently isolated as they should be, which might be why having a USB device plugged in is causing this issue.
Fixes might include swapping the ports the displays are plugged into if they support multiple monitors on the same 'lane'.
Fwiw I can have my USB mouse plugged in just fine
Is the keyboard USB3.0? Turbo gamer RGB keyboard? Multiple USB connections for hub support?
It's a Corsair RGB Keyboard
I assume USB3.0
Although the KVM Switch is USB2.0 if that could be the issue
It shouldn't be, part of the USB protocol is that a data rate is established on handshake.
But 🤷♂️
Red = mouse
Lime = PC (power and video)
Blue = video output (connected to monitor)
Green = Laptop (power and video)
Orange = Keyboard
Gonna go find another keyboard and try that
Lemme know. I'm not sure how to go about diagnosing this holistically; any time you introduce an additional interface for... really any component, there's additional demands put on the connection itself, so it becomes a little fragile and kind of a crapshoot as to 'what could be causing it' at a core level.
Using a different keyboard works 
So I guess I'm gonna be using my dad's keeyboard from >20 years ago lmao
Gonna say that's an internal interference issue then.
Specifically propagated by the handshake from a USB3.0 device establishing a higher data than the range of a standard keyboard (even if it's not able to negotiate a full USB3.0 datarate.)
The other issue I'm having is that the PC is Windows, but the laptop is MacOS. Which sounds fine, but means the keyboard maps weirdly
But it could be a power draw issue too. Kinda' different issue of the same coin.
Oh hmm.
How does that manifest?
The keyboard is a "windows" keyboard, so lots of stuff is essentially wrong (e.g. @ and " are swapped)
And the Win key equates to BOTH Ctrl and Cmd
I fear I don't know much about how Mac's map keyboards, as I'm not particularly familiar with them. When the keyboard is plugged into the laptop alone, does it behave normally?
Don't think so
https://9to5mac.com/2016/03/17/how-to-remap-windows-keyboard-buttons-match-mac-layout/
Does this help at all? You may have to manually reassign certain modifier keys.
I think MacOS just forces keys to have to be in a specific position, so when they're not he mappings are out-of-sync
I can try that, thanks
Do you know of a potential solution for geting the Corsair keyboard to work properly? Or does it sound like something that just isn't going to work?
Hmm.
(Fwiw when the corsair keyboard is directly connected to my PC/laptop instead of the KVM switch it's fine, but that means I can't use the same keyboard for both computers)
None come to mind that don't involve some fiddling. Like I said, my suspicion is that either the power or data rate for that specific keyboard is too high and causing internal issues within the switch itself. Whether it be poor isolation or some mapping within the switch itself that causes it to behave as a hub.
Can you disable the RGB and whatnot?
Lol
Behold, jank! :p
Thanks so much lmao
Yeah, I'm really not sure how to go about solving that. I'd say 'give it more power', but that might involve some DIY. 😛
Now I just need to do the remapping
Tbf the switch is like 20 years old
And i'm not overly bothered about having RGB
And frankly the last time I tried to do something like that, I let the magic smoke out of some capacitors, so maybe that's bad advice. 
Lmao
In any case, excellent, glad we got it sorted. Let me know if the key remapping runs into issues.
Will do, thanks!
I can't program my way out of a paper bag, but I'm alright with computers 😛
If you can break it in a specific way, people pay good money for that.

Product Assurance/QC/QA is fairly lucrative 🤷♂️
actually no
this isn't true
i'm just as bad with software
it's just that i have an undo button with software
that requires me to understand what's going on tho
i do not have the mental capacity to understand what a computer is doing
i just write python
Programmers are an enigma.
"I understand how this computer functions at the lowest possible level. But also, how do I install RAM?"
https://paste.pythondiscord.com/azisatuder
Here's a fun one I just defanged. 😛
Webhook is invalidated, before anyone goes nuts.

Exfiltrates Chrome user data to a Discord webhook
I found the same one last night.
Under a different name and different webhook.
reminds me of that time someone posted code in pygen that was blatantly like "rm rf"
and someone else ran it on their own device
and then was like "guys what happened to my computer"
Today's project involves intentionally running that virus that's been going around the DM's here and looping back the data to my computer so I can see what kind of data it's fishing for.
I got pretty far with Ghidra in the wee hours of the night last night.

I can't decompile the binary for the neu2.exe on Kali because I don't have the windows binaries. I need it to run certain processes so it can spawn the .exe's it needs.
So I'm going to sandbox it in a VM with local network setup, and just catch all outbound traffic and dump it to another device instead.
Can't steal my data if I steal my data first 
you see, when you do it it's fine
Iirc that's just a keylogger
when i do it, i'll end up with all my passwords on the internet or something
I'm... not so sure that's true. Hold on, lemme grab my popcorn.
There's two exes, one of which was a keylogger (can't remember what the other was)
https://www.hybrid-analysis.com/sample/d0023df743c46b180bd8791a1b8bb1d61f07cdcbd61a0f4e739b8f5fb8362237/640d042d10e44179170d0691
Sandboxed it in HA because of the previously mentioned binaries issue, I wasn't able to deobfuscate a lot of it, but the processes itself are injecting to python dll's and manipulating virtually every cryptographic service on the victim's system.
Submit malware for free analysis with Falcon Sandbox and Hybrid Analysis technology. Hybrid Analysis develops and licenses analysis tools to fight malware.
Somewhere in this mess it enumerates every crypto service on Windows, but I can't find it right now.
This article says the keys map 1:1, but they don't for me

It says Win only equates to Cmd, but for me it's also Ctrl
As in, select-all is Win+A, copy is Win+C, etc.
I can check I guess
I'll admit I'm a little out of my element otherwise. Painfully uneducated on anything Mac OS
Ah, apple doing its own weird things.
Yeah, it's super annoying lmao
I'm having lunch atm, but looks like there is so I'll check that out after
Good luck!
With the drivers... not the lunch.
But good luck with the lunch too I guess.
I'm thinking pancakes for lunch
Due to the nature of this bot's functions, the code is closed-source.
Oh...
fellow malware defuser enjoyer
i have a sample i've been trying to get into for a few days now, but i just can't crack it open
I wouldn't say that's really malware analysis
I just dumped a webtoken into PyDis so it couldn't talk back to whatever bot.
ah
regardless, mind giving it a shot? @foggy jungle
Erm, what is it?
probably malware, i didn't really find out what exactly it does yet
but i can see that it takes a screenshot every 30ish seconds, and that it logs key events to the terminal
i ran it in a vm
https://www.hybrid-analysis.com/
Dump it in here and let me see what falls out. If it looks interesting, maybe.
Submit malware for free analysis with Falcon Sandbox and Hybrid Analysis technology. Hybrid Analysis develops and licenses analysis tools to fight malware.
Submit malware for free analysis with Falcon Sandbox and Hybrid Analysis technology. Hybrid Analysis develops and licenses analysis tools to fight malware.
analyzing
unpack it
zzz upload the files somewhere and dm me the link
If it's python, just analyse the code, duh.
Here I was reading it expecting some kind of exe
wasn't that easy :p
they unpack into .pyc, I ran them through a few popular decompilers but didn't get very far
do you want to see what we’re talking about
Ah, pyc are annoying, right
Idk, I didn't work on Thursday and Friday because I was sick so I thought I could do some stuff for work now so my mind gets back in the game...
I wonder if it's new covid, but I'm reading about Kraken's symptoms and it doesn't seem so? Also, two days of higher temp and I'm kinda fine? Only headache and brain fog are fucking annoying
Is the new covid called Kraken?
huh?
Yes
Horrible affliction, but damn, Covid has had some cool names.
We've had covid in late 2020. But now I'm reading that Kraken bypasses the vacc immunity and post-illness immunity...??? 
😟
my favorite greek letter is gamma
I think I identify with β the most 
I like Gamma because I like the Gamma function
epsilon delta is always a good pair as well
actually I like a lot of Greek letters
zeta is very cool too
both π and Π are cool because pi obviously, and also infinite products are cool
I would've said φ was overrated 3 months ago, but I've warmed up to it
appears in one of my favourite integrals, so
Sigma is an obvious one, since summation is literally everywhere
omega for roots of unity is common and roots of unity are very cool
Nerd.
theta is obviously the go to for trig stuff, tho I do use αβφ for shifts and other things
Ψ for wave function
you knew this already
still my favourite is Gamma tho
just because Gamma function
second favourite function
γ issa fancy y 
oily macaroni
@gritty kernel @harsh tundra @thorny summit The PyPI malware is probably ApolloRAT. It's written in Python and compiled with Nuitka, which explains why Ghidra was only getting so far before I got the string-spaghetti that I was getting.
Thanks to doggo and some other cybersec homies for doing some analysis and coming to the same conclusion.
was that the exe file
Uh that specific url is just another fishing lib
dumps cached browser data to a discord webhook
Some google-fu said Radare2 might handle .cpy better, gonna mess around with that a little bit this week.
Mods!!!
i_parse_parsers!!!
We got a whole crew now?
Just people that happened to be tangentially interested in the subject.
lol
Thanks you too
what happened to the otter 
You don't like the cute reptile?
Ever get your crap beaten up so bad you walk home, no thoughts or inner voice, music or facial expression
Physically beaten?
It is very good at hugging.
does it regrow two heads if I chop one off?
Six, in fact.
Oh bed, I’ve missed you so.
!e
helloworld
@uneven ingot :x: Your 3.11 eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "/home/main.py", line 1, in <module>
003 | helloworld
004 | NameError: name 'helloworld' is not defined
Hello
world
I forgor
!e py code = """ open('in~ hi.txt', 'w').write('''~~~~escaped code block!~~~nothing to see here''')""".replace("~", "`") exec(code)
@steady thunder :white_check_mark: Your 3.11 eval job has completed with return code 0.
in hi.txt`
````escaped code block!```nothing to see here
!e ```py
code = """
open('in$', 'w').write('''$$$||$$$py||
in exec() for match$$$
yee''')""".replace("$", "`")
exec(code)
@small coral :white_check_mark: Your 3.11 eval job has completed with return code 0.
Files with no extension can't be uploaded.
!e ```py
code = """
open('in$.txt', 'w').write('''$$$||$$$py||
in exec() for match$$$
yee''')""".replace("$", "`")
exec(code)
@small coral :white_check_mark: Your 3.11 eval job has completed with return code 0.
in.txt`
https://paste.pythondiscord.com/itokotifaz.txt?noredirect
Yeah, that's a known thing
whar
It's not urgent priority though
Since it's not like you can cause pings etc.
(thanks to AllowedMentions)
!e py with open("no-pings`@small coral @steady thunder @terse heron.txt", "w") as f: f.write("h`i")
@terse heron :white_check_mark: Your 3.11 eval job has completed with return code 0.
no-pings@small coral @steady thunder @terse heron.txt`
h`i
ok
!e py with open("no-pings`@small coral @steady thunder @terse heron.txt", "w") as f: f.write("h`i")
@signal scroll :white_check_mark: Your 3.11 eval job has completed with return code 0.
no-pings@small coral @steady thunder @terse heron.txt`
h`i
!e with open("a`b.txt","w"):...
@signal scroll :warning: Your 3.11 eval job has completed with return code 0.
[No output]
Okay i'll Go to #bot-commands
Damn
Real
@eternal wing you look like a nose high unusual attitude recovery
LOL, thanks.
Those are fun
it's because you ate too many meatballs
I don't get it 😭
Because both will make me throw up? Lol
center of gravity is off 😩
mutaballs
mutaballity
mutable cg
i watched a bunch of american airlines safety lectures so you know i'm fully qualified
You should try to land one
send coffee
my brain is squish
the web and binary exploitation boxes are down; demand seems to be pretty high this pico
Of note is a cryptography challenge that has managed to elude me
Translated just about every string on the face of the earth i could find associated with the imagefile and got nada
the end goal when i'm rich is to have enough money to build a semi-realistic sim. like with a bunch of 8k TVs and shit
you have to roll to get the lift vector not pointing up 😤
how much does an actual simulator cost
i have to imagine like, at least 15k
It depends.
i guess it's one of those "if you have to ask..."
Fifth generation fighter aircraft simulators cost north of six figures for pilot training.
well i don't think i'd be able to buy one of those
just gotta save my pocket money for a couple centuries
You can build a reasonable setup for under $1000 with an MFD and some cockpit simulating hardware of your choice.
Look at this freakin creature i made
Absolute unit of a cat
Yeah, I'm not even sure.
I know some of the simple sims based on flight simulator x were like 5k+
I’m not sure you could pay me enough to fly pax aircraft
i mean it looks cool
i'd probably rather bomb terrorists or something
flying fighter jets is just cool tbh 🤔
war thunder is so unbalanced now that they added the pantsir
you've got like, a 2010s SHORAD facing like, an f16 from the 1980s
and they don't want to add ARMs for some reason
🥵
yes it's called an f22 😩
you know, if they can add something that was developed in the 2010s, they should at least add modern 3rd gen jets
but the power creep on that would be 📈
pycharm crashed, started it back up and saw this. what did i do
what are the details tho
idk exception access violation whatever too lazy to fix it rn
int main()
{
int isInteger;
do
{
std::cout << "Write a list of numbers for me to process (Seperate with a space): ";
std::string nums;
std::cin.get(); //https://www.grepper.com/answers/38705/c%2B%2B+wait+for+user+input?ucard=1
isInteger = isInt(nums, nums.length());
std::cout << '\n';
} while (isInteger != 0);
}
The program just keeps looping through without waiting for user input, I've had this problem before, and fixed it but idk why it's not working
there doesn't seem to be anything being written into nums
I have to do nums = std::cin.gets() right? Like the input function in py?
Thx for catching that lmao
does .gets() exist?
It's still kind of not working
Why isn't it though
yeah
.get() returns an integer if you pass 0 arguments

!rule 6
mods, peek.
anyway, why are you not just reading actual integers from cin?
I want to separate the input into a list
idk why that matters?
@high haven Yea, I did. I also discussed this with one of the DS on the DS team. They were also looking for details on how exactly it worked & details.
As I quote: "The paper was more like an advertisement" and "it is weird that the paper states to cite openai instead of individual people"
lmao, because this one wasn't being used. "respect ongoing conversations"
also, this MF JUPYTER HUB IS STILL AN ISSUE. They playing PING PONG. "Ask X", "X said to ask Y". 
"Ask Z"


sigh, large company means technical blockers take min of 1 week to resolve.
bro this happens more often you think
at my start up, find person X, solved in next hour.
true. even at my company, i needed ADO access for something
and they were like
lets just message them
lmao
and instant access
just felt bad for the other person though since im sure they had XX other things
Here it's like playing hot potato.
also did you ever listen to that podcast or no
No but not for lack of trying, I've been so dogdamn busy helping out my father at work.
I'm exhausted.
Literally just a husk of a human being at the moment.
It eez what it eez. I get a little break before I move and start this new job.
So that's gonna' be nice.
Your father owns the business?
financial something analyst
it honestly sounds like a finance gig
you gonna be in spreadsheet land all day?
No my father works at an automotive company. I did a 100% inventory on their warehouse.
ewww inventory
I honestly have no idea what exactly they use. But it's a Financial Controls Analyst gig. It's auditing mostly.
Yeah.
idk
I mean, that's what it sounds like tbh.
oof
if it makes you feel any better im in spreadsheet hell rn
come to software dev land
Oh, that's not as bad if it's desk job.
Inventory at store level is cancer
I don't really care, I'll learn whatever-- I know enough Python/R/SQL to functionally produce a result, even if it's neither elegant nor efficient.
I counted and reorganized 45000 line items in like... 25 hours.
you were just lurking huh 
i'll leave then i guess 😭
dont leave
🥺
Eventually. I cannot code well enough to ever have a shot in that at the moment.
psv i feel like you always need to be patted 
what does that even mean
everything is going to be okay
I'm not sure if exploit development is software development. 
😩 😭
its always 😭 or 😔 or 😩
😔
🤨
they are my primary emotions
😩 is one of your primary emotions?
Sometimes I think, might as well be: "public static void ᓚᘏᗢ 😔 "
it's like the color wheel
one time @tardy rain used this and i thought it was psv

mine are really just
or
or 
what does this one even mean


Up to interpretation

Rex dodging the questions like 
We're all 12 here and not a day older
you mean 13
Isn't it 13 years of age for discord tos
Wait, yes that one
i know mariosis is like, pushing 30
yall old
skyglow is probably about the same?
"I will look into it" FFFFFFFFFFFFFFFFFF
hmm im about mar's age
honestly i just think everyone is either like 30 or 50
Wow rude
bro some of us are trying to pretend to work here 
Imagine a 30 year old having amogus pfp
i've had this hayan picture for like 2 years now
I'm "21 unless relevant" from whoever said that
kids these days 
bruh that emote
^ psv in the future
Never been more disrespected than just now

^ also psv
oh actually they're 25 i think
who's
oof
fr
on god?
yes
Im 26
damn
Off by one errors amirite
what's the threshold for pushing a multiple of 10
its ok. still within 1 standard deviation
i need a dab from sky
urgh, why you got to say that. Now I need to look up what's the actual 1 std of ages.
i'd say you need to be like, 27 to "push 30"

EYOO I got FreePBX to work
i knew youd do this
it's probably pretty low 🤔
Not what I was looking for, but that's interesting.
wait what only 300
wild bc they have some crazy niche positions
small indie company
like i saw some very specific MLE/MLOps roles
each of their SWE roles were very specific too
like basically each one was a 10x dev lol
chipotle has a new special protein
I recall reading the article on their search. i.e. how to search billions of messages in seconds.
elasticsearch!

they have quite a few articles about storing trillions of messages
elasticsearch is so 5 years ago
now you can put vector embeddings in them
and have semantic search on top of that

I haven't touched elastic search since start up. 🚪 
redis allows you to store embeddings too
oh yeah i saw that https://discord.com/blog/how-discord-stores-trillions-of-messages
This team's chat on the progress of fixing dev jupyterhub in the past 24 hours has been:
Item working before now broken, now fixed.
I skimmed the one that has a chart on query time in MS or something
rust 😤
where is your rust emoji
🦀
not a real rust boi without one
sez u

Also, PSA: Please put ALL imports at the very top. 
The whole reason I'm not running my script because I missed an import midway down. 
tragic
Bullet point 1 
you sound like that clean code for DS guy
basically put everything in one cell and turn stuff into functions lol
curious
curious
insert lawnchair squidward
I import functions directly before I use them. 
not always :D
isn't this a typo?
hahah. not a typo, but definitely incorrect
Your part of the reason why I have to say: "oops, forgot one more dependency"
typo as in, python & rust in that sentence should be switched.
it doesn't even make sense, though. the rust function isn't taking input at all








