Viewing profile — CloselyChunky
CloselyChunky
HN member- Joined
- Sat, Jan 30, 2021, 6:09 PM UTC
- HN karma
- 36
- Public activity
- 18 items
- HN profile
- View on Hacker News ↗
About CloselyChunky
No profile information was provided.
Recent public activity
-
comment
Comment #29266330
The easier, less invasive but also less accurate option would be to publish an empty crate with a random name that does not exploit typos (just some random junk) and check how ofte…
-
comment
Comment #27893331
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 "r…
-
comment
Comment #27677653
Well then you have to check the generated tests. That's just one more layer, isn't it?
-
comment
Comment #27369764
Could you share a link to your repo? This setup sounds interesting. Currently I have two separate repos for NixOS and home-manager.
-
comment
Comment #27209471
> 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…
-
comment
Comment #26896000
Dito for German: "vom Laster gefallen"
-
comment
Comment #26865412
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 …
-
comment
Comment #26781193
Sure, if you have an either/result type, the whole thing becomes a fold, where each validator is a function from user to Either and then validators.reduce(Either.right(user), (acc,…
-
comment
Comment #26780987
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 th…
-
comment
Comment #26780722
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 define…
-
comment
Comment #26748816
You can install nix side by side to your distro package manager and only install some packages using nix. You could also use something like lorri and direnv and let nix only manage…
-
comment
Comment #26712180
Yeah should have validated that claim first. Seems like the form on hibp.com always submits your input to the server... Still, if I had to chose between hibf.com and hibp.com, I'd …
-
comment
Comment #26712053
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 pref…
-
comment
Comment #26712009
From what I can see, this site sends your whole number to the backend to search for a number in the dump[0], while haveibeenpwned.com will hash the input, send only a prefix to the…
-
comment
Comment #26681855
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 …
-
comment
Comment #26123611
> Bitcoin consumes more energy than all of China This is not true. Bitcoin energy consumption is somewhere between Chile and Argentina.
-
comment
Comment #25972601
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 i…
-
comment
Comment #25971369
Small nitpick: The existence of one-way functions has not been proven, yet. Actually proving this would also prove `P != NP` so this would be a big deal (interestingly enough, prov…