Exclamation You have stumbled across the development site for xeiaso.net. Please do not share this link with others, don't be the reason I need something more robust than the honor system.

Sometimes CPU cores are odd

Published on , 32 words, 1 minutes to read

This post discusses how dividing an odd number of CPU cores by 2 in JavaScript creates decimal thread counts, causing invalid responses in Anubis. The fix truncates decimal values using Math.trunc.


Facts and circumstances may have changed since publication. Please contact me before jumping to conclusions if something seems wrong or unclear.

Tags: