AFAIK antivirus systems do (did?) not scan RAM, only persistent memory. So decrypting/decoding the malware in-memory and jumping into the code should avoid detection. That's how "runtime crypters" work or used to work a…
> Most of the tests I write aren't for pure functions In response to this, I recommend the "Functional Core, Imperative Shell"[0] talk/pattern. The idea is to extract your business logic as pure functions independent of…
Dito for German: "vom Laster gefallen"
During the quarantine, I started photographing on film, developing the film at home and digitize the negatives using my DSLR. At least for B/W film, the process of developing film yourself is dead easy and I'm happy to…
Sure, if you have an either/result type, the whole thing becomes a fold, where each validator is a function from user to Either<Error, User> and then validators.reduce(Either.right(user), (acc, next) ->…
When validation gets complex (e.g. there are many criteria to check), I like to build a list/stream/array (what ever the language offers) of tuples of predicates (functions from the object that gets validated to…
In my opinion this pattern is better if you write it like this: _ = isDefined(user) || throw new Error("user must be defined") This reads way more natural for me. "A user is defined OR throw an error"... I've also seen…
I think HIBP implements it like this: you hash your email/phone number and send only a prefix of the hash to the server. The server responds with a list of hashes matching the prefix. Now you can check if your hash is…
IMO tinc is really awesome. I've been using it for years to connect my servers, laptops and desktops into a VPN. Including my RPI (running PiHole in my LAN) into the tinc VPN gave me an easy way to access my home…
> Bitcoin consumes more energy than all of China This is not true. Bitcoin energy consumption is somewhere between Chile and Argentina.
This is in reference to "Hashes cannot be undone". One-way functions are functions that are easily computed given any input but where it is hard/impossible to compute the/a input if you only know the output. This is the…
AFAIK antivirus systems do (did?) not scan RAM, only persistent memory. So decrypting/decoding the malware in-memory and jumping into the code should avoid detection. That's how "runtime crypters" work or used to work a…
> Most of the tests I write aren't for pure functions In response to this, I recommend the "Functional Core, Imperative Shell"[0] talk/pattern. The idea is to extract your business logic as pure functions independent of…
Dito for German: "vom Laster gefallen"
During the quarantine, I started photographing on film, developing the film at home and digitize the negatives using my DSLR. At least for B/W film, the process of developing film yourself is dead easy and I'm happy to…
Sure, if you have an either/result type, the whole thing becomes a fold, where each validator is a function from user to Either<Error, User> and then validators.reduce(Either.right(user), (acc, next) ->…
When validation gets complex (e.g. there are many criteria to check), I like to build a list/stream/array (what ever the language offers) of tuples of predicates (functions from the object that gets validated to…
In my opinion this pattern is better if you write it like this: _ = isDefined(user) || throw new Error("user must be defined") This reads way more natural for me. "A user is defined OR throw an error"... I've also seen…
I think HIBP implements it like this: you hash your email/phone number and send only a prefix of the hash to the server. The server responds with a list of hashes matching the prefix. Now you can check if your hash is…
IMO tinc is really awesome. I've been using it for years to connect my servers, laptops and desktops into a VPN. Including my RPI (running PiHole in my LAN) into the tinc VPN gave me an easy way to access my home…
> Bitcoin consumes more energy than all of China This is not true. Bitcoin energy consumption is somewhere between Chile and Argentina.
This is in reference to "Hashes cannot be undone". One-way functions are functions that are easily computed given any input but where it is hard/impossible to compute the/a input if you only know the output. This is the…