Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
redsaz
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
redsaz
2y ago
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 episode to require
2.
▲
by
redsaz
2y ago
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 pressur
3.
▲
by
redsaz
2y ago
tl;dr: Neanderthals needed to go clubbing more.
4.
▲
by
redsaz
2y ago
> 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 other
5.
▲
by
redsaz
2y ago
> 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 the task
6.
▲
by
redsaz
2y ago
> 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 (without type inference)
7.
▲
by
redsaz
2y ago
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.
8.
▲
by
redsaz
2y ago
Answer: because they don't want to be promoted to manager, they'd rather be coding.
9.
▲
by
redsaz
3y ago
> 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 same size?... If
10.
▲
by
redsaz
3y ago
> 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&#x
11.
▲
by
redsaz
3y ago
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!
12.
▲
by
redsaz
3y ago
> 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 colli
13.
▲
by
redsaz
3y ago
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 sp
14.
▲
by
redsaz
3y ago
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
15.
▲
by
redsaz
3y ago
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, functions, loops, condit
16.
▲
by
redsaz
3y ago
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
17.
▲
by
redsaz
3y ago
> 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, this probably refers
18.
▲
by
redsaz
3y ago
Randal Hyde now has an Art of Assembly edition for 64-bit.
19.
▲
by
redsaz
3y ago
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 more expensive
20.
▲
by
redsaz
3y ago
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-tru
21.
▲
by
redsaz
3y ago
Surely you mean LastPass, right? Or did the same thing happen to BitWarden?
22.
▲
by
redsaz
3y ago
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. Example:
23.
▲
by
redsaz
4y ago
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 worth it. You
24.
▲
by
redsaz
4y ago
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 could even run on ne
25.
▲
by
redsaz
4y ago
Sounds like (based on this thread of comments) that you're arguing that this should be a framework, where all the boring stuff is already taken care of, for run-of-the-mill, enterprisey projects. Some people are doing things that don&#
26.
▲
by
redsaz
4y ago
I could see Bluetooth being useful if the keyboard allows for easily switching between devices: your significant other texts you on the phone, so you quickly switch it to your phone to type out a message, then switch back. (I don't kno
27.
▲
by
redsaz
4y ago
Hmm, I'll have to check it out!
28.
▲
by
redsaz
4y ago
A satisfied user here. Found it very useful when tools like cut and sort weren't enough, usually when I need to do a join on two different tables (err, files). Left joins work, but I don't think right joins are supported. I'v
29.
▲
by
redsaz
4y ago
Has your team considered using feature flags? For large changes that can span weeks of effort, being able to PR and get small portions in to main branch and then "flip the switch" at the end usually works out better for us than &q
30.
▲
by
redsaz
4y ago
The page says the avarage size is 228kb. Many of the submissions agree with you :)
More ›