- ((RAND_MAX+1)%N)
(Beware the undefined behaviour in the above line if you try C.)
Basically you want one less than the largest by N dividable number
in your range.
With numbers:
rand():
0 1 2 3 4 5 6 7 8 9 10 11 12
rand()%5 with discarding 12-((12+1)%5)=9:
0 1 2 3 4 0 1 2 3 4 discarded
---
null_ptr
On 02/04/14 16:02, Douglas J Hunley wrote:
On Wed, Apr 2, 2014 at 2:29 PM, Alan McKinnon alan.mckin...@gmail.comwrote:
man 5 make.conf
What isn't listed in the man page is if you should simply unset it:
PORTAGE_COMPRESS=
or set it to something like /bin/true
Any thoughts?
How about
On 23/03/14 11:06, Tom Wijsman wrote:
On Sat, 22 Mar 2014 12:29:03 +0100
null_ptr rhan...@gmx.de wrote:
I attached them. Old config/lsmod/dmesg is the first
parameter of the diff.
Looks okay to me; I see in the other thread that it was clarified that
this is a problem through the speakers
On 22/03/14 23:40, Volker Armin Hemmann wrote:
Am 22.03.2014 02:08, schrieb null_ptr:
On 21/03/14 14:41, Lee wrote:
I can't think of the name of the module, pcspkr IIRC or some such,
but it
prolly isn't loaded. Modprobe can tell you if it's available load it.
On Mar 21, 2014 12:41 PM, Dat G
?
null_ptr
B: Are you pondering what I'm pondering?
P: Well, I think so, Brain, but do I really need two tongues?
00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory
Controller Hub (rev 0c)
Subsystem: Hewlett-Packard Company Compaq 6710b
Kernel driver in use
, at 18:51, null_ptr wrote:
Module for my sound card is running and SND_HDA_INPUT_BEEP is activated
in kernel config. Am I missing something else?
Perhaps you need CONFIG_INPUT_PCSPKR.
I tried building with that and it didn't fix it.
modprobe pcspkr doesn't change anything. It is still
6 matches
Mail list logo