Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
donkulator304814dStage 1: Hmm, I wonder if I can replace this whole screen full of code with one regex?
Stage 2: Marvel at the beautiful, elegant simplicity of the regex.
Stage 3: Work on something else for a few days.
Stage 4: What the fuck is this regex doing? What does any of this mean? Is that a negative look-behind? What the fuck is a negative look-behind? This is stupid, I'm stupid, everyone is stupid, life is stupid. -
CoreFusionX349314dWhen you try to solve a problem with regex, you tend to end up with two problems.
-
Demolishun3497914dSo I solved a problem that I should have considered with a regex today. When I look at the code again I will know what it does without looking up regex syntax. And it won't run off and do stupid shit because of a corner case.
-
awesomeest120914dDude... if you only knew...
Since i was a kid (7 or 8... so 25yrs ago) i started using basic regex for shit like filtering logs...
Then i started scripting the shit that annoyed me... like everything default set to run... updates, scans, sysrestore... and stuff like temp files, recycle bin, internet history... etc
Then i got annoyed going through log outputs, including ones i generated from manually scripting and automatically checking to make sure nothing broke... and keyloggers (several reasons and varieties)... malware thatd just change little shit about their files so it wouldnt match the lists, or sht that mimicked/deleted real files (a HUGE regex script so id know what exactly got changed in updafes or when file info had tiny mismatches)
So many scripts by middle school... too many macros to tolerate hotkeys... so i started making my own file extensions, regex to find/sort/relocate and the program to read
Ofc cli regex to generate/append custom files
All b4 16. Imagine now -
awesomeest120914dI have a very low tolerance for envs that arent mine... so ofc, i also have scripts to do stuff like remap system variables... even to an external hard drive for several programs, drivers, their paths, the registry keys of shit that annoys me... regex to check for bad registry keys... and stuff that puts it back to normal when im done.
Me without regex and a tolerable env... historically, that's dangerous. -
CoreFusionX349313d@retoor
Nah, don't think so, sorry.
Free time is for beers, playing guitar, or drums, or what have you with the folks, which I haven't done in ages, and travel a bit. -
awesomeest120911d@retoor
Make a bunch of programs/scripts/networks/encryption methods/etc... but do it like the mentality of those apocalypse preppers that invest so much time/energy/money/etc into their supposed survival.
So going super overboard, but leaving out anything involving thought or learning outside of an overly simplified scope... like how most preppers learn about guns/knives/making pointy sticks... etc... yet dont consider packing a microscope and some basic knowledge/highly magnified pics of common protozoa or very easy to make, broad use, pharmaceuticals like penicillin (aka bread mold that's still one of the most widely used antibiotics in existence).
Those prepper people never learn about basic chemical reagents either...foolish imo -
awesomeest120910d@retoor just read your bio...
If you like collabing on stuff and dont mind signing an nda or 2, between my company and the new(im literally writing up the legal stuff now) partnership company with a very experienced(impressive CV too) dev friend we have tons of space for people we can tolerate to collab... whether in actual code writing or some version of an advisory capacity.
Technically im also fluent in Dutch... super rusty in verbal communication and i assume my grammar/word choice has dropped quite a bit due to years of mainly just reading it ...but i do fully comprehend the vast majority of typed Dutch and most spoken ...if slow and clear enough (aka, would appreciate the practice)
Here's my info if interested (anyone else is welcome to use it... im not exactly hard to find... unless youre quite dense):
Tg- awesomeest
Discord- sara.awesomeest
Email- awesomeest@gmail.com -
awesomeest120910d@retoor
I was very tempted just now to quickly hack your site and fix the typos/minor language issues.
Tbh, even as much as typos in good content annoy me... it was probably only 50% of my temptation. The other half was likely my urge to procrastinate since what im doing now is boring but i gotta do it...
*sigh*
Im gonna zone out/clear my head, then go back to hours of hyperfocus to get this boring administrative crap done.
Sometimes i forget how powerful regex are
random