News for hackers. Stuff that matters.

Toreno96

> Daniel J. Solove's "I've got nothing to hide" and Other Misunderstandings of Privacy

That was an interesting read, thank you!

Maybe they aliased `ls` to `ls --color=auto` or `ls --color=always`.
Re:Can you just move into an abandoned house? on Monday June 19, 2023 @03:49AM (#36388412)
> stone walls for each internal room seems like charming until you realize that you can't use wall space

Why is it not possible to use stone wall space?

Re:Writing - Human Interface Guidelines on Monday March 06, 2023 @06:47AM (#35039911)
> > Interjections like “oops!” or “uh-oh” are typically unnecessary and can sound insincere. > > This is a good observation.

I agree. That reminds me: > Imagine a doctor performing a procedure and then suddenly saying “Oops! Something went wrong…” That is the last thing anyone wants to hear when the stakes are high, whether it’s surgery or someone’s source of income. That is not the time to be cutesy or fluffy. > —https://wix-ux.com/when-life-gives-you-lemons-write-better-e...

Re:Don't Force Users to Register Before They Can Buy (2015) on Friday December 23, 2022 @09:03AM (#34105879)
> I also hate websites where they hide your password while typing it in. Who can enter a password like Xaa3$#%^&*JqUIx correctly while blind?

You may consider using a password manager[1] that allows to auto-fill the password field. Use xkcd-based passphrase[2] for the master password to make it easier to type.

[1]: just not LastPass with their regular security breaches. Personally, I recommend Bitwarden.

[2]: https://xkcd.com/936/

Re:Spotifyd on Tuesday December 20, 2022 @07:48AM (#34065115)
I believe you can use Spotify API [^1] to get that list and then reformat it in any way you would prefer and save it to a file.

Actually, I have this on my TODO list for a long time, maybe someday I'll finally implement it.

[^1]: https://developer.spotify.com/documentation/web-api/referenc...

Re:Signing Git commits with your SSH key (2021) on Wednesday September 14, 2022 @05:36AM (#32834965)
Wow, it seems promising. Did you have a chance to use their CLI? Is it indeed better (more intuitive, less complex, more idiot-proof) than the GnuPG one?
Re:Phrases in computing that might need retiring on Friday July 29, 2022 @06:16AM (#32275145)
> It's sorta like how snapchat used an obfuscated UI to keep parents out.

If anyone's else also confused about that part, there's some context: https://news.ycombinator.com/item?id=19022640

I'm genuinely curious, what are the reasons you wouldn't pay for Telegram? Is that only a matter of preference, or does Telegram have some critical issues?
Re:My New Sony NW-A55 Walkman on Monday July 04, 2022 @11:00AM (#31977757)
> you can only have playlist of songs. There's no way to collapse songs of a single album to one entry.

You could add the whole albums to the playlist, one by one, and then play the playlist w/ shuffle disabled. This last bit makes it a limited workaround, however.

On the other hand, Spotify API could allow to implement the custom solution to shuffle these, similar to https://spotifyshuffler.com/, if you have enough skills, time, and determination to do that.

Re:Ask HN: Can I see your cheatsheet? on Thursday June 30, 2022 @07:31AM (#31931098)
https://github.com/Toreno96/dotfiles/blob/master/commands.tx...

Beware: I started this long before I became a fan of markdown, so the syntax of the whole file could seem as pretty weird, but it works for me. I mainly do `rg <pattern> ~/commands.txt` in shell or `/<pattern>` in vim when I need to find something in there.

There are also definitely too much commands dumped into the `Etc` section. I should reorganize this some day.

Re:Ask HN: What tone to use in code review suggestions? on Monday June 27, 2022 @03:10PM (#31899299)
Complementary to other answers, I would suggest introducing this technique: https://dev.to/allthecode/moscow-the-best-code-review-techni... However, share this w/ the reviewee first!

I know some devs that are anxious if they don't fix _every_ single comment in their PR, even if I'm just suggesting something as "nice to have". This helped to mark which comments are actual priority.

Also, make sure you're using code formatter in your CI, to avoid reviewing the code style, as this can start some unnecessary wars and frustration.

Also, I suggest sharing this article https://mtlynch.io/code-review-love/ with your colleagues, especially step 8:

> As the author, you ultimately control your reaction to feedback. Treat your reviewer’s notes as an objective discussion about the code, not your personal worth as a human.

To some degree, as a reviewer you can keep your tone friendly, but ultimately _every_ sentence can be took as personal attack, and you can't really do anything about that. Keep that in mind, don't focus _too much_ on the tone, and don't let that prevent you from giving a comprehensive review.

One other thing I personally do, because I'm famous for giving _really_ thorough reviews, is to make sure from time to time that the other person is fine w/ that. Simple DM "I hope you don't feel too overwhelmed by my CR?" helps, especially that often people respond that they actually approve I'm so thorough. If you worry people get offended, it is easy way to make sure if these worries are valid or not.

Re:I'm a security engineer and I still almost got scammed on Thursday April 21, 2022 @11:07AM (#31110410)
The article references another one of the author's articles: https://robertheaton.com/2019/06/24/i-was-7-words-away-from-...

I find it quite amusing that the scam used the domain `people.ds.cam.ac.uk`, which contains `s.cam`.

Re:How can I get my boyfriend to stop digging his tunnel? on Wednesday April 20, 2022 @11:03AM (#31097971)
That reminds me this one book I've read in my teenage years: https://en.wikipedia.org/wiki/Tunnels_(novel)

Two main characters were meeting after-school to dig a tunnel, although their motivation was a little bit deeper (sorry, I couldn't help myself) than just digging itself.

Re:Show HN: Make your PDF look scanned in browser on Tuesday April 19, 2022 @11:04AM (#31084116)
At some point in my education, it was pretty common that some teachers sent us scanned PDFs instead of the original PDFs _or_ even more hilarious, gave us the printed scans of the PDFs.

I assumed that this software is basically a tongue-in-cheek reference to that, I had no idea this can actually have a practical purpose.