/top/
/new/
/best/
/ask/
/show/
/job/
^
slacker news
login
about
←back to thread
Dang is going to have 65,535 karma points soon
(news.ycombinator.com)
600 points
codetrotter
| 5 comments |
05 Apr 23 21:38 UTC
|
HN request time: 0.677s
|
source
Show context
unyttigfjelltol
◴[
05 Apr 23 22:58 UTC
]
No.
35461635
[source]
▶
>>35460732 (OP)
#
Does HN overflow to zero when dang gets there?
replies(6):
>>35461645
#
>>35461737
#
>>35461746
#
>>35461759
#
>>35461796
#
>>35462303
#
1.
phendrenad2
◴[
05 Apr 23 23:13 UTC
]
No.
35461796
[source]
▶
>>35461635
#
They should store karma points as floats, so it won't overflow, it'll just loose precision.
replies(3):
>>35461957
#
>>35463216
#
>>35466963
#
ID:
GO
2.
toast0
◴[
05 Apr 23 23:29 UTC
]
No.
35461957
[source]
▶
>>35461796 (TP)
#
Assuming karma is added and removed one at a time, there's a number that's not particularly large where you can't add any more.
replies(1):
>>35462160
#
3.
notepalf
◴[
05 Apr 23 23:52 UTC
]
No.
35462160
[source]
▶
>>35461957
#
Just keep adding karma
4.
dang
◴[
06 Apr 23 02:07 UTC
]
No.
35463216
[source]
▶
>>35461796 (TP)
#
HN runs on Lisps that don't lose precision, just slow down.
5.
rurban
◴[
06 Apr 23 11:32 UTC
]
No.
35466963
[source]
▶
>>35461796 (TP)
#
arc is written in mzscheme and/or racket, and not C. It has infinite integer precision.
https://github.com/arclanguage/anarki
↑