Message from @Eirshy
Discord ID: 602208010114433043
SQL parameter with a database type of TIME, you feed it a DateTime, it fucking crashes because the system can only ship a TimeSpan as an SQL TIME value. Never mind that when you pull that TIME back from SQL you'll be handed a DateTime again.
Then comes in the beauty of user made libraries
Shit like that is all over the place
And you import a library you've found online
And it just.. *works*
>importing a lib
Fuck that I wrote my own
lol
>it just works.
Just importing libs is the 'Python' way
"Eh, someone's already wrote it"
Okay Todd Howard.
It's super lazy
And I had to go digging for a lot of the shit.
Deepest arcane depths I've gone was figuring out what the fuck the W meant at the end of a function imported from AdvAPI32.dll
If I had just used the code I found I'd have had a bad memory leak and an even worse security risk due to keeping multiple user credentials in memory long past their logout.
Reason I hate using other people's code tbh
Unless it's from a known competent
If I'm doing anything involving security, then I'm probably going to look for other peoples, open source code
Writing security related code, generally isn't a good thing
Writing your own crypto isn't a good thing. Your own security-related stuff isn't a problem so long as you actually do the legwork
When chances are, there's an opensource library which has been vetted and checked for 2+ years out there
It depends on the scenario I suppose
But then I've gone pretty deep on that end of things as well and have an idea of what to look for when it comes to even timing attacks.
Yeah, experience comes through actually doing the thing
You'll never learn if you don't do it I suppose
But even with that argument- still never roll your own crypto if you need actual crypto
Agreed
That is the one thing I don't care how experienced you are
Since it's so easy to mess up..
Open Source ONLY on crypto
You can *contribute* to said open source
but do not ever write it yourself by yourself
and definitely don't come up with your own algorithm
Yeah agreed
I'm just trying to git gud tbh
advancing my career, etc