Slashdot Mirror


User: ls671

ls671's activity in the archive.

Stories
0
Comments
2,940
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 2,940

  1. Re:Bullshit advice by RH on Red Hat Reverts Spectre Patches to Address Boot Issues (bleepingcomputer.com) · · Score: 3, Interesting

    Actually, here is the approach we have adopted with regards to this problem; Don't apply the patches until this is sorted out, I give it about 3 months before we can make up our minds but any guess is as good as mine.

    Something that critically linked to the hardware as to be tested with all available hardware and configurations which is pretty hard to do. So, as usual, let the users do the testing and the testing cycle isn't completed yet! ;-)

  2. AI crap again... (Not AI) on Lifesaving Drone Makes First Rescue In Australia (yahoo.com) · · Score: 1

    Artificial intelligence is being developed using thousands of images captured by a drone camera to build an algorithm that can identify different ocean objects. The software can differentiate between sea creature...

    There we go, AI crap again! (Not AI) ;-)

  3. Re:Title sounds like a breakfast cereal on Slack Now Available As a Snap For Linux (betanews.com) · · Score: 5, Funny

    oh come on! Everybody knows Slack == Slackware Linux
    http://slackware.com/

  4. They also tried to write the book on networking on Microsoft Tries To Write the Book On AI (axios.com) · · Score: 3, Insightful

    Microsoft also tried to write the book on networking and ended up retro-fitting their stuff with some flaws in performance when going over tcp-ip.

  5. Re:So I have to walk out and not have it at the do on Within Next Five Years Your Pizzas Will Probably Be Delivered by Autonomous Cars, Domino's Pizza CEO Says (thestreet.com) · · Score: 1

      In other words, I don't want to get dressed...

    So you answer the door naked when you order pizza?

  6. This one! ;-) on Which JavaScript Framework is the Most Popular? (infoworld.com) · · Score: 3, Insightful

    This one:
    https://en.wikipedia.org/wiki/...

    No seriously, wasn't there an article here a few days ago saying that the most popular js framework changes every six months and that things become a major cluster-fuck? I also remember an article saying that third party js libs loaded from third party sites sometimes disappear when the developer decides to pull them off. With regards to that, I always tell my devs not to load from third party sites and to download and install locally instead. It is also less scary for people with uMatrix or noscript looking at your site!

  7. Good for him! It makes you worry about the ones smart enough to avoid getting caught although.

    SWAT teams should better confirm their targets anyway...

  8. Re:First they came for FTP, then HTTP, then HTTPS. on 'The Web is Not Google, and Should Not be Just Google': Developers Express Concerns About AMP (ampletter.org) · · Score: 1

    EU law suit and sanctions coming up!

  9. I just submitted a patch to gcc so it makes more predictable code.

    The patch:
    if you write x=x+100;

    This will now translate into:
    for (int i=0; i<100; i++) {
      x++;
    }

    It will then be easier for the CPU to guess the next instruction is x++

    Alternatively, one may use the brainfuck programming language:
    https://en.wikipedia.org/wiki/...

  10. Re:The article didn't state on Alexa is Coming To Windows 10 PCs From HP, ASUS and Others (engadget.com) · · Score: 1

    Amazon will pay Linus to integrate it into the next build of the Kernel...

    I would bet they will pay Lennart Poettering to incorporate it into systemd instead.

  11. Re:How to cause panic with statistics on US Disaster Costs Shatter Records In 2017, the Third-Warmest Year On Record (cnbc.com) · · Score: 1

    Ssh don't give it away.

    Of course it doesn't. Ssh is encrypted.

  12. Hooray! (dupe) on Don't Pirate Or We'll Mess With Your Connected Thermostats, Warns East Coast ISP (engadget.com) · · Score: 5, Informative

    Hooray! I remember reading the exact same story on /. a few days ago.

    Let me google it, "connected thermostat site:slashdot.org". Here we go:

    https://yro.slashdot.org/story...

    Maybe editor should do the same and Google it before posting dupes ;-)

  13. Re:Cat Scan on Roombas Will Soon Build a Wi-Fi Coverage Map While They Clean (techcrunch.com) · · Score: 3, Funny

    cat 5 or cat 6?

  14. It's in TFS, the cameras were apparently part of a botnet. They might have gotten access to them with automated scripts and they might not even have realized that the cameras were outdoor in Washington DC as far as I can tell for now.

  15. They might not have realized that they were outdoor cameras in Washington DC, especially if they were building a botnet as suggested in TFS. Those cameras might just have been part of a much larger botnet.

  16. Who are you kidding? Everybody knows Romania is in Italy.

  17. Exactly how do you propose to provide protective gear to cosmic rays?

    That's easy! I am an air force pilot and I always wear my full body tinfoil suit when working.

    Here is a picture of another pilot and myself getting in a convoy to the airport in Iraq:

    http://www.absolutely-unbeliev...

  18. Re:Pentagon needs to check it's water pipes for le on UFO Existence 'Proven Beyond Reasonable Doubt', Says Former Head of Pentagon Alien Program (newsweek.com) · · Score: 1

    Here in Alaska, I regularly see giant UFOs moving really fast. Now, I know there is extra terrestrial in them because educated people from town call them "Aurora Borealis". I believe they come from the star system Borealis.

  19. Re: Aliens are plausible, after what Linux has bec on UFO Existence 'Proven Beyond Reasonable Doubt', Says Former Head of Pentagon Alien Program (newsweek.com) · · Score: 1, Funny

    No, I created my own specific user so I don't have to login as root but I gave it uid 0 otherwise I was getting permission denied on some stuff.

    Giving your own user uid 0 is the recommended way to avoid login in as root.

  20. Re:should be easy enough on Project Maven Brings AI To the Fight Against ISIS (thebulletin.org) · · Score: 2

    Be careful not to miss an "I" although, typing "ISS" might have unexpected consequences.

  21. Re:How about just forbidding XSS entirely on Firefox 57's Speed Secret? Delaying Requests from Tracking Domains (zdnet.com) · · Score: 2

    That's why I use both noscript and also uMatrix!

    Why would you use both?
    You can configure uMatrix to block everything by default just like noscript does. It is only a simple rule to edit.

  22. Still, it is a single query. Example, see " // ONLY ONE QUERY!!!!" below:

    public User login(String userName, String passwd)
                            throws LoginException {
                    if (userName != null) {
                            userName = userName.trim();
                    }
                    if (userName == null || passwd == null || userName.length() 1
                                    || passwd.length() 4) {
                            throw new LoginException("No such user/passwd found");
                    }

                    Session hsession = HibernateUtil.currentSession();
                    Query query = hsession.createQuery("from User where userName=:userName");
                    query.setCacheable(true);
                    query.setString("userName", userName);
                    User user = (User) query.uniqueResult(); // ONLY ONE QUERY!!!!
                    if (user == null) {
                            throw new LoginException("No such user/passwd found");
                    }
                    passwd = HashUtil.get(user.getSalt(), passwd);
                    long userStatus = UserConstants.USER_STATUS_WAITING_FOR_EMAIL_CONFIRM
                                    + UserConstants.USER_STATUS_WAITING_FOR_PASSWORD_RESET
                                    + UserConstants.USER_STATUS_DISABLED
                                    + UserConstants.USER_STATUS_QUARANTINE;
                    if (user.getPassword() == null || !user.getPassword().equals(passwd)
                                    || (user.getStatus() & userStatus) != 0) {
                            throw new LoginException("No such user/passwd found");
                    } else {
                            user.setLastLoginDate(new Date());
                            hsession.save(user);
                            return user;
                    }
            }

  23. Re:Non-downloadable? Then how to play it? on Amazon Files For 'AmazonTube' and 'OpenTube' Trademarks As Fight With YouTube Gets Pettier (theverge.com) · · Score: 2

    Brilliant! Just like my customers that don't understand how they bust their bandwidth limits; "But I don't download anything! I just stream it".

  24. Re:With the long hours we work now... on Older Adults' Forgetfulness Tied To Faulty Brain Rhythms In Sleep, Study Says (npr.org) · · Score: 2

    Dear M. Greenwow,

    May I suggest you slow down on smoking the green? There is reports that it affects short term memory. Things might not be so "wow" anymore but at least your short term memory should improve.

  25. Re: Don't mind the outage... on Two Major ISPs Are Suffering Outages, Making the Internet Really Slow Right Now (slate.com) · · Score: 2

    In Australia , you choose your speed of your connection. 1000mbit links should cost more than 5mbs links dumbass.

    Not if it is a 1000mbit by 200s link.