Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror
Trust the World's Fastest VPN with Your Internet Security & Freedom - A Lifetime Subscription of PureVPN at 88% off. Also, Slashdot's Facebook page has a chat bot now. Message it for stories and more. ×

Comment Re:Hmm (Score 1) 485

It constructs filenames with certain numbers; if the number is outside a certain range (0 to 9999) it uses a default, but if not, it makes a file named demo#### where #### is the number left-filled with zeros. It does this by using a common rounding trick (based on ints being truncated).

It only generates the filenames deterministically from information given it, so its just a utility function for constructing names.

Slashdot Top Deals

Heuristics are bug ridden by definition. If they didn't have bugs, then they'd be algorithms.

Working...