Thankfully the episode's interpretation of a Good Samaritan Law is completely wrong, at least in many (most?) US states. They protect citizens acting in good faith to help somebody, not like it was interpreted in the…
How should you conduct the interview, then, if: ... Classic interviewing techniques of "explain how X algo works" or "write code to solve Y" will unfairly bias against interviewees that don't test well under pressure,…
tl;dr: Neanderthals needed to go clubbing more.
> The only thing missing is a game I've seen this story of "I want to make a game" [proceeds to make a game engine instead] happen in my own life (my engines were never any good or complete though), and in countless…
[flagged]
> empirically measured that completing a task... is twice as fast in [Rust] than in [C++] I have not read up on which tasks you're referring to that are empirically measured, apologies. The reason I'm curious on what…
> This post can definitely be considered a “religious” opinion piece The author certainly has that right, because the post steps on two programming religion landmines, from how I read it: 1. strict static typing…
We have a similar saying: "You can lead a horse to water but you can't make 'em drink." At least, it seems similar to me.
Answer: because they don't want to be promoted to manager, they'd rather be coding.
> But the ideal tool should also try to handle the opposite case well too... a huge collection of unique ~100KiB files. and > But the pathological case is even worse -- what if nearly all of your files are about the…
> I'm not concerned about malicious, forced collisions Consider taking a look at xxh3, possibly. It seems a pretty decent contender, hashing speed-wise, to trade off of secure hashing: https://github.com/Cyan4973/xxHash
I like the strategy of only hashing the first part of a file as a multiphase approach of deduping in order to quickly eliminate unique files, I wish I had done it that way with my util. Maybe for v2!
> that tells you nothing about maliciously constructed files. Even if a hash function has no known collisions today, doesn't mean that they won't be found someday. This is what I meant by "barring any discovered hash…
I've considered adding a "just check the first {user-configged-bytes}" mode, which would offer enough of the speed up you describe, which I think jdupes does (maybe? It's been awhile since I looked at it). I think the…
This isn't the first time I've heard concerns about using hashes for checking file equality. I've considered adding a "paranoid mode" to do the direct byte-for-byte checks for such folks that don't even want to…
Writing a program like this is one of the first exercises I give myself when learning a new programming language, because it touches a little bit of everything (reading files, output, CLI, using libraries, hashmaps,…
I've not heard that version before, I like it. The way I usually hear it end: So, he yells out "102!" and... Crickets. "What'd I do wrong?" "Ehh, you must not have told it right." (...Or, in this case, "you're probably…
> Genesis 4:25 And Adam knew his wife again; and she bare a son, and called his name Seth: For God, said she, hath appointed me another seed instead of Abel, whom Cain slew. They had other children. For the sun part,…
Randal Hyde now has an Art of Assembly edition for 64-bit.
The idea of this have me a chuckle. Instead of worring about skynet destroying all of humanity, we should be worried about them constantly asking about our car's extended warranty. Seriously though, a real life robot is…
It's important to note that the author uses denormalized tables for data analysis only. It was never outright stated "don't do this for source-of-truth, authoritative data," but yeah, don't do this for source-of-truth,…
Surely you mean LastPass, right? Or did the same thing happen to BitWarden?
It's not the syllable count that matters, it's that anytime you have words with common endings, or words with unnecessarily added endings (like we're doing here), the root words need to rhyme as well as the endings.…
It can be worth it. What matters is how much time it saves your users over the course of using the app vs the time it took to develop it. So, if: #-of-users * total-time-saved-per-user > time-spent-optimizing Then it's…
My recollection of Vista was that everybody was complaining of its performance compared to XP because so much switched to .net-based apps, slogging everything down. It wasn't until Win7 that everybody was happy (it…
Thankfully the episode's interpretation of a Good Samaritan Law is completely wrong, at least in many (most?) US states. They protect citizens acting in good faith to help somebody, not like it was interpreted in the…
How should you conduct the interview, then, if: ... Classic interviewing techniques of "explain how X algo works" or "write code to solve Y" will unfairly bias against interviewees that don't test well under pressure,…
tl;dr: Neanderthals needed to go clubbing more.
> The only thing missing is a game I've seen this story of "I want to make a game" [proceeds to make a game engine instead] happen in my own life (my engines were never any good or complete though), and in countless…
[flagged]
> empirically measured that completing a task... is twice as fast in [Rust] than in [C++] I have not read up on which tasks you're referring to that are empirically measured, apologies. The reason I'm curious on what…
> This post can definitely be considered a “religious” opinion piece The author certainly has that right, because the post steps on two programming religion landmines, from how I read it: 1. strict static typing…
We have a similar saying: "You can lead a horse to water but you can't make 'em drink." At least, it seems similar to me.
Answer: because they don't want to be promoted to manager, they'd rather be coding.
> But the ideal tool should also try to handle the opposite case well too... a huge collection of unique ~100KiB files. and > But the pathological case is even worse -- what if nearly all of your files are about the…
> I'm not concerned about malicious, forced collisions Consider taking a look at xxh3, possibly. It seems a pretty decent contender, hashing speed-wise, to trade off of secure hashing: https://github.com/Cyan4973/xxHash
I like the strategy of only hashing the first part of a file as a multiphase approach of deduping in order to quickly eliminate unique files, I wish I had done it that way with my util. Maybe for v2!
> that tells you nothing about maliciously constructed files. Even if a hash function has no known collisions today, doesn't mean that they won't be found someday. This is what I meant by "barring any discovered hash…
I've considered adding a "just check the first {user-configged-bytes}" mode, which would offer enough of the speed up you describe, which I think jdupes does (maybe? It's been awhile since I looked at it). I think the…
This isn't the first time I've heard concerns about using hashes for checking file equality. I've considered adding a "paranoid mode" to do the direct byte-for-byte checks for such folks that don't even want to…
Writing a program like this is one of the first exercises I give myself when learning a new programming language, because it touches a little bit of everything (reading files, output, CLI, using libraries, hashmaps,…
I've not heard that version before, I like it. The way I usually hear it end: So, he yells out "102!" and... Crickets. "What'd I do wrong?" "Ehh, you must not have told it right." (...Or, in this case, "you're probably…
> Genesis 4:25 And Adam knew his wife again; and she bare a son, and called his name Seth: For God, said she, hath appointed me another seed instead of Abel, whom Cain slew. They had other children. For the sun part,…
Randal Hyde now has an Art of Assembly edition for 64-bit.
The idea of this have me a chuckle. Instead of worring about skynet destroying all of humanity, we should be worried about them constantly asking about our car's extended warranty. Seriously though, a real life robot is…
It's important to note that the author uses denormalized tables for data analysis only. It was never outright stated "don't do this for source-of-truth, authoritative data," but yeah, don't do this for source-of-truth,…
Surely you mean LastPass, right? Or did the same thing happen to BitWarden?
It's not the syllable count that matters, it's that anytime you have words with common endings, or words with unnecessarily added endings (like we're doing here), the root words need to rhyme as well as the endings.…
It can be worth it. What matters is how much time it saves your users over the course of using the app vs the time it took to develop it. So, if: #-of-users * total-time-saved-per-user > time-spent-optimizing Then it's…
My recollection of Vista was that everybody was complaining of its performance compared to XP because so much switched to .net-based apps, slogging everything down. It wasn't until Win7 that everybody was happy (it…