Page 43 of 43 FirstFirst ... 33414243
Results 421 to 427 of 427

Thread: The Work Thread

  1. #421
    Darth Small Macheath's Avatar
    Join Date
    Sep 2010
    Posts
    15,595
    I have a badge to get into work, as I imagine many of you do... for a while, I kept it in an RFID wallet. Intuit wants them visible at all times though, so now I wear it around my neck. Oh well.

    LPL just pointed out that my RFID wallet probably didn't do anything for me anyway. Interesting, I had no idea. I also thought his solution to malicious RFID readers (at the end of the video) was elegant, though I'm sure he didn't invent it himself. It's something I never thought of myself, regardless.


  2. #422
    Senior Member
    Join Date
    Sep 2010
    Location
    Burnsville, Minnesota, United States
    Posts
    2,896
    I have an RFID wallet, I know it doesn't work because I keep my card in my wallet and the reader works fine. It is very picky about getting the card as close as possible which seems consistent with the range reduction he was talking about.

  3. #423
    Administrator
    Join Date
    Sep 2010
    Location
    Tucson / San Francisco
    Posts
    780
    my wallet has RFID shielding and i know it works because it was always super damn annoying that i had to take my friggen clipper card out of my wallet to tap the sensor multiple times a day in order to ride BART and Muni when i was still living in San Francisco

  4. #424
    Senior Member
    Join Date
    Sep 2010
    Posts
    3,775
    The young kid we hired last year is very green. But with 15 months under his belt some things should probably be expected. And then I get a drawing that's so absurdly wrong it takes me 10 minutes to see that it's completely wrong and I ask him to just start over before I do any reviewing.

    The part that really gets me is that he almost never asks questions. He just carries on doing things wrong making up random shit and then gives it to me for review. Then I look at it and wonder, why didn't you ask me about this while you were working on it? You left this big blank space devoid of information so clearly you knew something needed to happen but you didn't consider asking what should go there? What the fuck?

  5. #425
    Darth Small Macheath's Avatar
    Join Date
    Sep 2010
    Posts
    15,595
    I deal with guys like that who are not green, they just haven't kept up with tech over the years. They've been at the company for 10-15 years, and they're dinosaurs now.

  6. #426
    Senior Member
    Join Date
    Sep 2010
    Location
    Burnsville, Minnesota, United States
    Posts
    2,896
    Go to hell, numbers!
    Quote Originally Posted by JUnit
    @Test
    public void TestNumbersThatAreNotWhatYouThoughtTheyShouldBe() {
    Float[] floats = {22.96f, 0.00f, 0.90f,};

    System.out.println("Float only");
    Float sum = 0.00f;

    for (Float f : floats) {
    sum += f;
    }
    System.out.println(sum);
    System.out.println(sum.floatValue()+ "\n");

    System.out.println("Float to BigDecimal");
    BigDecimal sumBd = new BigDecimal("0.0");
    for (Float f : floats) {
    sumBd = sumBd.add(new BigDecimal(f));
    }
    System.out.println(sumBd);
    System.out.println(sumBd.floatValue()+ "\n");

    System.out.println("Float to String to BigDecimal");
    sumBd = new BigDecimal(0.0);
    for (Float f : floats) {
    sumBd = sumBd.add(new BigDecimal(f.toString()));
    }

    System.out.println(sumBd);
    System.out.println(sumBd.floatValue() + "\n");
    }
    Quote Originally Posted by output
    Float only
    23.859999
    23.859999

    Float to BigDecimal
    23.85999906063079833984375
    23.859999

    Float to String to BigDecimal
    23.86
    23.86
    Seriously, fuck right off.

  7. #427
    Senior Member
    Join Date
    Sep 2010
    Posts
    1,091
    What's the problem? Looks like working as intended to me

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •