OF FUCKING COURSE my System.FilePath import has NOTHING to do with `system-filepath` library.
Seriously, people who are rooting for simple #Haskell and against amazing initative of making #Haskell into a dependend language should go and fix "simple haskell" ecosystem instead of being toxic.
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.
For #doauth I need to capture detached signatures[1] in #API.
I made a `:> Capture ` query on #hackagesearch website[2] and after very very brief exploration, an API capturing something called `SessionToken`[3] caught my eye.
Upon inspection it turned out that they have B64 encoding as well, except significantly less deranged than mine.
[1]: https://hackage-search.serokell.io/?q=%3A%3E+Capture+
[2]: https://hackage-search.serokell.io/viewfile/battleplace-0.1.0.10/BattlePlace/WebApi.hs#line-44
Normally, I post #Mastodon threads on #Twitter. This time, it's the other way around.
Interesting and useful discussion on #frontend stack. Spoiler: #typescript with #frp frameworks win.
https://twitter.com/podmostom/status/1354036163665928192
https://twitter.com/gb_r/status/1354208805521920003
But https://github.com/purescript-halogen/purescript-halogen seems to be requiring another evaluation since it looks to be very mature:
Goodmorning #fediverse!
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.
Are you a #foss and #linux enthusiast AND a #feminist? And are you based around #Amsterdam? Apply before Feb 23!
Mama Cash is the oldest feminist fund in the world. They support women’s, girl’s and trans groups all over the world. 🌍
Very impressive https://www.youtube.com/watch?v=iB-c0T36-TI
(Thanks @pola, the master of procrastination).
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
https://www.youtube.com/watch?v=YKmiLcXiMMo
Awesome round-up of React hooks.
That https://doma.dev guy
#lean #elixir #typescript #react #nix
In my non-existent free time I design and run #TTRPG
If you use tools made by genocide-apologists, you are a genocide-apologist.
#lemmy users aren't welcome here.