News for hackers. Stuff that matters.

peterjuras

Re:A GitHub repository was public-viewable on Friday March 04, 2022 @01:25PM (#30558444)
Yep, that might be true for certain industries.

But logs don't count as the transactional data that needs to be kept for legal reasons.

Re:A GitHub repository was public-viewable on Friday March 04, 2022 @10:13AM (#30555929)
From a GDPR perspective, it also covers logs, internal training data etc. If a user requires to be deleted, you have to delete everything, there can be no trace of their existence.

Ask HN: How do you structure your to-do lists?

I'm curiuous on how you structure your to-do lists. For the past months I've been keeping two lists - high priority and low priority - but I'm still struggling since some tasks are larger and take more time vs. others that are completed quickly.

( Read More... | 15 comments | 30 points | on HN )

Feedback wanted: Two-factor-authentication for teams using online phone numbers

Hi,I wanted to get feedback on a service idea that we're already using internally:https://zd2blvtm6jfh.landen.co/We have a number of shared accounts in our team that don't offer individual accounts for users and the passwords for these are shared with a password manager for teams.Enabling two factor authentication for these shared accounts has been problematic for us - especially for phone...

( Read More... | no comments | 2 points | on HN )

Ask HN: How does you team name string resource ids?

We're developing a large application, consisting of many small packages. Each package has its own set of resource files for localization.What's your approach to organizing and naming the localization string identifiers?Here are our thoughts so far:It could make sense to name resources by content, maybe hinting at the kind of usage via prefix. So we may have labelOK = "OK", messageFileTooLarge =...

( Read More... | no comments | on HN )
That's a very weak reason not to use the messenger. You're confirming that if you want to create a good app, you should not listen to complaining users.

Judging by your comments you're not going to use the app period. You can just say so instead of creating artificial reasons which don't hold true for you anyways.

Re:Async and Await on Thursday June 02, 2016 @12:38PM (#11823923)
You can use the await keyword multiple times, and therefore make it easier to handle the error with try catch:

      async someNetworkCall() {
        let unlock = await this.m.lock();

        try {
          const result = await doSomethingAsynchronous();
          // handle result
        } catch (exception) {
          // handle error
        }
        unlock();
      }