Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Get your own USB PID. Parent comment
No, but there are thousands of preset IDs in the hundreds of drivers already present on the computer.
For this reason, isn't it safe to pick a random 32-bit identifier?
Devices don't just collide with others on the same computer, but with other drivers on the same computer.
Edit: Unfortunately sillysaurus3 deleted the parent comment. It had an interesting summary of a simulation of the collision problem.
There are no comments on this comment yet.
No, but there are thousands of preset IDs in the hundreds of drivers already present on the computer.
For this reason, isn't it safe to pick a random 32-bit identifier?
Devices don't just collide with others on the same computer, but with other drivers on the same computer.
Edit: Unfortunately sillysaurus3 deleted the parent comment. It had an interesting summary of a simulation of the collision problem.