OF FUCKING COURSE my System.FilePath import has NOTHING to do with `system-filepath` library.
Some day I'll fork a bunch of stuff and rename clashing identifiers.
I don't know if you had or have this problem, but I used to be paralysed about choosing the order of variables for my functions.
But then I came up with a heuristic that helps me to spend no time on this. Here it is:
"The arguments that are less likely to change should go to the left, so that you get nice higher order functions via currying".
For example, a function that takes encoding table and needle (search item) will take "table, needle" because the same table can have differnt needles.
A function that takes a public key and a signature to check its validity will take "pk, sig" because we can try a lot of different signatures for a given key.
When it's not obvious what's more parametric, what's less parametric, I just yeet args in random order. But it's very *very* rarely the case.
On the subject of re-writing the same thing over and over again.
I made a `:> Capture ` query on #hackagesearch website and after very very brief exploration, an API capturing something called `SessionToken` caught my eye.
Upon inspection it turned out that they have B64 encoding as well, except significantly less deranged than mine.
But https://github.com/purescript-halogen/purescript-halogen seems to be requiring another evaluation since it looks to be very mature:
As of today you can apply to my former job! 🎉🎉 https://www.mamacash.org/en/vacancy-it-systems-network-engineer
Think selfhosted servers, IaaC (Ansible) virtualization (KVM, Ceph, Debian, Ubuntu), FOSS apps (Zimbra, Nextcloud, Rocketchat), and Linux Mint desktops.
Mama Cash is the oldest feminist fund in the world. They support women’s, girl’s and trans groups all over the world. 🌍
https://qz.com/africa/740313/somalias-new-love-affair-with-books-ramps-up-as-safety-returns-to-the-country/ I hope they keep it rolling! :)
Holy fucking shit.
@CptLuxx | https://www.zdnet.com/article/top-exploits-used-by-ransomware-gangs-are-vpn-bugs-but-rdp-still-reigns-supreme/
@CptLuxx | https://www.coveware.com/blog/dont-become-a-ransomware-target-secure-rdp
@CptLuxx | https://medium.com/enterprise-nxt/2020-ransomware-attacks-still-mostly-through-unsecured-rdp-b167fefcd490
@CptLuxx | ¯\_(ツ)_/¯
So, some guy named Coffeezilla who unmasks scammers and "fake-gurus" got his identity, friends and family, address revealed and blackmailed with false allegations. See this video journaling the events:
- Blackmailed and Doxxed For Telling the Truth - My Response: https://www.youtube.com/watch?v=AJCWbv6laHA
The least any human can do to send a message to doxx practitioners is to give these two videos as many views as possible to send an "it didn't work" message to doxxers:
- The Cult of Dan Lok - Brainwashed Student Lost $26,000 Testimonial: https://www.youtube.com/watch?v=4VDiM_PMmZA
- The Cult of Dan Lok PART 2: Losing $50,000 in 6 months: https://www.youtube.com/watch?v=ikIi3zDfYFA
Awesome round-up of React hooks.