Page 40 of 78 FirstFirst ... 3036373839404142434450 ... LastLast
Results 781 to 800 of 1544

Thread: Today I learned...

  1. #781
    Benevolent Dictator
    complich8's Avatar
    Join Date
    Jul 2003
    Location
    some terminal somewhere
    Age
    44
    Posts
    2,189
    Blog Entries
    1
    Today I learned that when scaling decimal numbers to convert them to rgb in flash, it's important to trim your decimals before multiplying them by 256 or 65536.

  2. #782
    Awesome user with default custom title itadakimasu's Avatar
    Join Date
    Feb 2007
    Location
    Ebay
    Age
    41
    Posts
    1,612
    that i dont like to help ignorant people...

    edit : ok... this is going to the bitching thread sorry...
    Last edited by itadakimasu; Fri, 06-29-2007 at 03:10 PM.

  3. #783
    Moderator Emeritus Assertn's Avatar
    Join Date
    Jul 2003
    Location
    Hollywood
    Age
    41
    Posts
    11,053
    Quote Originally Posted by complich8
    Today I learned that when scaling decimal numbers to convert them to rgb in flash, it's important to trim your decimals before multiplying them by 256 or 65536.
    What's wrong with trimming after? Maintains greater accuracy that way =]
    10/4/04 - 8/20/07

  4. #784
    Benevolent Dictator
    complich8's Avatar
    Join Date
    Jul 2003
    Location
    some terminal somewhere
    Age
    44
    Posts
    2,189
    Blog Entries
    1
    it skews the color. We were using RGB, keeping R constant and varying GB. Wanted a gradient to progress along white->pink->red, but instead got a scale going on white->yellow->peach->red -- a curve instead of a line.

  5. #785
    Moderator Emeritus Assertn's Avatar
    Join Date
    Jul 2003
    Location
    Hollywood
    Age
    41
    Posts
    11,053
    er, oh. I'd probably just throw up a bit-shift routine like this (in AS3, anyway):

    var c:uint = Math.round(0xff * perc);
    var color:uint = 0xff0000 | c << 8 | c;

    Ok so yeah, round before merging ^_^
    10/4/04 - 8/20/07

  6. #786
    Benevolent Dictator
    complich8's Avatar
    Join Date
    Jul 2003
    Location
    some terminal somewhere
    Age
    44
    Posts
    2,189
    Blog Entries
    1
    ehh, not my code... one of my users wrote it and I was helping him debug. Probably would have been better if he were using int instead of Number, so decimals would have been truncated to begin with...

    The guy who wrote the code isn't particularly knowledgable about flash, and the project he's working on is the third thing he's programmed, ever.

    He's doing pretty well for having almost never programmed before...


    Oh, and today I learned that I would rather watch a downloaded TS version of the latest Die Hard movie than migrate configs to rhel. Not that this was exactly a big personal epiphany, mind you ...

  7. #787
    Today I learned that viruses and spyware fucks up internet cafe computers for some reason. It's sort of a good thing, because now I know that if I sit at a infected computer in an internet cafe I'll most probably notice it.

  8. #788

  9. #789
    What happens when they find out that you use Intel processor chips?

  10. #790
    I mentioned that in both of my interviews. I still offers for both in the end. I'm good at interviews and my skills/knowledge in this field speak for themselves. I don't think they give a crap about what CPU I use at home.

    That was another position, btw. I declined it because it involves "writing sample letters" and I want none of that.

  11. #791
    Teach me oh great one

  12. #792
    Moderator Emeritus Assertn's Avatar
    Join Date
    Jul 2003
    Location
    Hollywood
    Age
    41
    Posts
    11,053
    Today I learned that BOC's name is Bill
    10/4/04 - 8/20/07

  13. #793
    Today I learned what it was like to be without my favorite forums at lunch... It wasn't a happy afternoon.

  14. #794
    Banned SK's Avatar
    Join Date
    Apr 2004
    Location
    Amherst, MA
    Age
    36
    Posts
    2,007
    Quote Originally Posted by Board of Command


    I learned of my salary today.
    The Good: You're working for AMD.
    The Bad: You're getting paid shit.

  15. #795
    Actually it's the other way around for me.

    Good: Pay is pretty good for a co-op job. That is the average maximum for 2nd term students.
    Bad: I'm not a huge AMD fan. Hell, what if they go bankrupt during my work term?

  16. #796
    BoC's pay seems pretty fucking nice for a college student. And none the less he gets the money working with computers, which is awesome.

  17. #797
    Benevolent Dictator
    complich8's Avatar
    Join Date
    Jul 2003
    Location
    some terminal somewhere
    Age
    44
    Posts
    2,189
    Blog Entries
    1
    Yeah, that pay rate is about $17/hr. It's not terrible, but it's not insanely good either. Don't really know how much real buying power that is, since it's $CDN, but it sounds like a pretty good pay rate for someone with BoC's experience level ...

  18. #798
    Diego Quality rockmanj's Avatar
    Join Date
    Jul 2003
    Location
    Lovin' On the Run
    Posts
    2,959
    Quote Originally Posted by AssertnFailure
    Today I learned that BOC's name is Bill
    You coulda saw that on facebook..

  19. #799
    Quote Originally Posted by complich8
    Yeah, that pay rate is about $17/hr. It's not terrible, but it's not insanely good either. Don't really know how much real buying power that is, since it's $CDN, but it sounds like a pretty good pay rate for someone with BoC's experience level ...
    That rate will net me around around $4000 after subtracting rent and tuition for next term. Good enough since I live at home during my school terms.

    Most jobs will pay according to standard rates for the co-op program. My rate is the average maximum for 2nd term students. You'll get MUCH higher pay in later terms; 6th (final) term jobs can go as high as $25/h, which is pretty incredible for a student employee.

    Here's the salary guide for my school:
    http://www.cecs.uwaterloo.ca/pdfs/we...urvey-2006.pdf

  20. #800
    Awesome user with default custom title XanBcoo's Avatar
    Join Date
    Feb 2005
    Location
    In my own little world
    Age
    37
    Posts
    5,532
    Today I learned of the programming language, Lolcode: http://lolcode.com/

    It's based on those stupid "Im in ur..." cat macros and other internet phrases. For example, "I has a..." is used to declare variables and "O RLY" is used for If statements ("YA RLY" and "NO WAI" are "true" and "false" respectively).

    Reading through the examples and contributions is hilarious. I imagine ending loops with "KTHXBYE" would be strangely satisfying.

    <@Terra> he told me this, "man actually meeting terra is so fucking big", and he started crying. Then he bought me hot dogs

Posting Permissions

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