where credit is due

first of all, to Dan for giving me hope by pointing out that 0–>127 is 2^7, while i waited for the email from Mad Bull pointing out that tinyint only goes up to 127, and mediumint was what my clueless ass should have set the id# column to in the first place.

it’s a learning journey. i love that i have friends that help.

11 responses to “where credit is due”

  1. kd

    whether or not that makes any sense, defines how deeply geeky you are. i’m getting in deeper every day. and i love it.

  2. kd

    and you know everything i input past, like, the p’s on my secondary linklist, and on to the freerange list links, never got into the db. i don’t care, i’m so happy right now i have no issues with re-inputting the last 50 links or so.

  3. dan

    Heh.

    Congrats!

  4. clueless

    Would you, Dan, or Mad Bull please explain what that original post says in English? I can figure out “int” might mean integer or interval, so tiny or medium makes a bit of sense, but that first bit has thrown me.

  5. kd

    from zero to 127, spans 128, or 2 raised to the seventh power, so, that clue meant it was definitely not something random like, say, an error creeping into the database at that point. it was a limit, of some sort. a setting.

    the the second part is column types, in MySQL. tinyint (integer), goes from 1 to 127, anything above that the database wouldnt’t auto-increment the number. just kept returning an error that 127 was a duplicate entry. i entered a whole bunch because i didn’t bother to put in error handlers. bad me.

    so, mediumint will hold much bigger numbers. when i set it up i was thinking of the id# as being, well, a tiny integer.

  6. linkmeister

    Ah. 2^7 = 2 to the 7th. That’s what threw me off. Thanks.

  7. Mad Bull

    No, medium int is fine… That should hold more than 2 GL (gigalinks :-) ) )

  8. kd

    i’m not even sure if i’m done, but i almost think i am. i’ve put some of those things in, like, four times.

    everything’s worked out, as far as the database issues.

    now… did i forget anybody? let me know.

  9. kd

    that would be 160 links. yeah.

  10. dan

    Still a ways from 256, if that’s the next threshold…

  11. kd

    eeks maybe i better go the next up from ‘mediumint’ then. i get carried away with my links. i loves me some linkys.

Leave a Reply

note: you will either want to turn yoru speakers up, or down. me? i turn them up.

RSS@dotlizard

randomly

  • remember: all talk 2003

    for however long, it was all need, all the time; then abruptly the urgency was...

  • creative writing 2003

    i would like to rant about the way the morning went but i would have...

  • channeling lava 2003

    baptism by fire extinguished consumed with torrential rage & i swallow my bitter...