May 22 - Omni update

Discussion in 'Dev Blog' started by OmnipotentEntity, May 22, 2014.

  1. OmnipotentEntity

    OmnipotentEntity Code Monkey Forum Administrator

    mollygos submitted a new blog post:

    May 22 - Omni update

    Continue reading the Original Blog Post
     
    Last edited by a moderator: May 28, 2014
    Axe Garian, mo'guts, Zael and 12 others like this.
  2. Transhumanist

    Transhumanist Void-Bound Voyager

    keep it up!
     
    Morsus98 likes this.
  3. OmnipotentEntity

    OmnipotentEntity Code Monkey Forum Administrator

    On a side note. I spend a long time thinking about this overflow code, and I don't think there's any edge cases left. But no one's perfect, and if you can find a failing case, I'll figure out something nice to do for you.
     
  4. Quilapa

    Quilapa Space Hobo

    9,999,999 pixels! *pictures pixels falling like rain on some distant planet*
     
    SeaMichelle likes this.
  5. RizzRustbolt

    RizzRustbolt Existential Complex

    Somebody's a hardcore code-monkey.
     
    winman likes this.
  6. Kawa

    Kawa Tiy's Beard

    You're on fiyah, Omni!
     
  7. Carryall

    Carryall Big Damn Hero

    Glad to see those rusty gears hit the axle grease. Nice work.
     
  8. Anarchosyn

    Anarchosyn Industrial Terraformer

    This new initiative of daily updates is fantastic. Even if they don't manifest in playable content, it really keeps us in the loop.

    Thank you.
     
  9. Akado

    Akado Oxygen Tank

    Yes! Someone else knows about tech debt! AND they're willing to start paying it off!

    Can you talk to my managers?
     
  10. doubtful

    doubtful Void-Bound Voyager

    As a former wannabe programmer, I actually found this interesting. :Db

    As a former wannabe programmer, I was also dumbfounded by parts of your code, lol.
     
  11. This may be stupid on my part, but isn't the max value of an int 32767 and the min -32767? Or is there something I'm missing that defines it as a long int?
     
  12. Kawa

    Kawa Tiy's Beard

    I don't C++, but template <typename Int> as the first line seems to indicate something here. You're talking about the range of an int, lowercase i. This uses Int, uppercase. Things like std::numeric_limits<Int>::min() sound to me like it works on any integer type and range, not just int and 362767.
     
  13. Zurgh

    Zurgh Void-Bound Voyager

    Super code monkeys, keep up the cleaning & debugging!
     
  14. Gunslinger

    Gunslinger Existential Complex

    Although you lost me at "today", I'm really happy to see progress. Keep up the good work guys! We love you.
     
    Zouleena, PabloM and D T like this.
  15. Fiben Bolger

    Fiben Bolger Pangalactic Porcupine

    But I need 10,000,000 all at once. Cash up front; no exceptions.

    And it's none of your business for what.
     
    The | Suit likes this.
  16. fifidong

    fifidong Void-Bound Voyager

    Zael and Sakata-MC like this.
  17. Fireball14

    Fireball14 Void-Bound Voyager

    hmm... in my game i just use Math.Min and Math.Max on each serialization.
    Something like this

    var money = 99999;
    money = Math.Min(0, money );
    money = Math.Max(money, maxLimit);
     
  18. All the "std::numeric_limits<Int>::min()" line indicates is that it's calling the minimum limit of the variable type (in this case int). The question really boils down to the number of bits associated to int in this instance. As I thought, a standard int was 16-bit, where as a long int was 32-bit.]

    EDIT: My knowledge is admittedly a little dated and this may have changed since I last used C++
     
  19. Kawa

    Kawa Tiy's Beard

    No stop, stop right there. It's not calling the minimum limit of int, it's calling that of Int, which can be any integer type.
     
  20. Namiwakiru

    Namiwakiru Black Hole Surfer

    Me: *reads post* Hmmm....I see, I see.

    Omni: You have no idea what you're looking at do you.

    Me: Not a freaking clue in the world, but the fact you do is the most important thing here

    Omni: Get out.
     
    Akuma2142, MoLeZeN, vanella and 13 others like this.

Share This Page