←back to thread

600 points codetrotter | 6 comments | | HN request time: 0.834s | source | bottom
1. dang ◴[] No.35462970[source]
I periodically cut the karma total on my account. Now I think I should set it to -1.

  (when (is (karma "dang") 65535)
    (add-karma "dang" -65536))
Edit (after skimming the thread): here I was thinking my joke was original...I forgot who I was dealing with here.
replies(3): >>35462984 #>>35463008 #>>35499916 #
2. ncr100 ◴[] No.35462984[source]
I was going to suggest that perhaps it was already rolling over.

Maybe do a signed short, just for you instead?

replies(1): >>35463589 #
3. metadat ◴[] No.35463008[source]
Or perhaps pin it at 1. Hilarity ensued.

Edit: @AH4oFVbPT4f8: touché ;)

replies(1): >>35463078 #
4. AH4oFVbPT4f8 ◴[] No.35463078[source]
42 is the correct answer
5. eru ◴[] No.35463589[source]
Just make sure you don't use C anywhere in the stack, because overflowing signed integers is undefined behaviour.
6. LoveMortuus ◴[] No.35499916[source]
Since you're the moderator, is there any point in you having karma, especially since you've just admitted to partake in often karma-manipulations (joke).

Maybe instead karma it could just say 'Moderator' or something funny like, 'A cog that keeps the HN turning in the right direction '.

Or, do it prestige style, every time you loop around, you get +1 prestige.

Glad to have you around and hope to meet you one day in the real world over a cup of tea! ^^