Better HN
topnewbestaskshowjobs
Log inSign up

bugstomper

3 karma · joined May 29, 2015 (11y ago) · 4 submissions

Submissions

comment 4y ago · link · parent

LastPass posted on their blog on Dec 28 that they identified a problem causing those emails to be incorrectly triggered:

https://blog.lastpass.com/2021/12/unusual-attempted-login-ac...

"However, out of an abundance of caution, we continued to investigate in an effort to determine what was causing the automated security alert emails to be triggered from our systems. Our investigation has since found that some of these security alerts, which were sent to a limited subset of LastPass users, were likely triggered in error. As a result, we have adjusted our security alert systems and this issue has since been resolved."

comment 4y ago · link · parent

LastPass posted on their blog Dec 28 that they have identified a problem that resulted in emails being sent incorrectly:

https://blog.lastpass.com/2021/12/unusual-attempted-login-ac...

"However, out of an abundance of caution, we continued to investigate in an effort to determine what was causing the automated security alert emails to be triggered from our systems. Our investigation has since found that some of these security alerts, which were sent to a limited subset of LastPass users, were likely triggered in error. As a result, we have adjusted our security alert systems and this issue has since been resolved."

comment 11y ago · link · parent

There are much simpler ways without using modulo than defining your own modulo and using it. For example (in Java)

   class FizzBuzz {
      public static void main(String[] argc) {
        int next5 = 5;
        int next3 = 3;

        for (int i=1; i<=100 ; i++ ) {
            String output = "";
            if (i == next3) {
                output = "Fizz";
                next3 += 3;
            }
            if (i == next5) {
                output += "Buzz";
                next5 += 5;
            }
            if (output.isEmpty()) {
                output = Integer.toString(i);
            }
            System.out.println(output);
        }
        return;
      }
   }