Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
rcme
on Feb 10, 2023
|
parent
|
context
|
favorite
| on:
Wi Flag (2002)
In your example, the weights need to add up to 100 to work correctly, right? The issue with the code in the article is that the weights did not add up to 1.
EarthLaunch
on Feb 11, 2023
[–]
Right, I'm using a percentage. The article's bug reminded me of this directly!
Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: