How can the machine generate random numbers [closed] - algorithm

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
The Computer is designed to execute certain tasks exactly.
It is not able to make arbitrary tasks : So how can It generate random numbers?

Yes, you are right. Computers cannot generate Purely Random numbers. Therefore, they are called Pseudo Random. Most common technique used, today, to generate a random number is by reading the machine time in milliseconds and perform arithmetic operations on it to get a new number every time. You can read more about it here

Related

Activity Monitor, what does %CPU represent exactly? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
Here is what I see in MacOS Activity Monitor, note %CPU column.
First item (Xcode process) shows 122.4 value. Any idea what it represents? If it is 122.4% then percent of what exactly?
The %Cpu usually represents the % usage of a single core on your processor. If you have a quad-core, you have a total usage possibility of 400%.
Your first process in your list has 28 threads spread accross more than one core which are using more execution than a full single core.

indesign cs5 numbered lists not sequencing [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
I am trying to create a paragraph style for number lists. Pretty basic, just some customized indents etc. But each item in my list is not sequentially numbered, i.e., each item starts with 1.
Please advise.
Have you looked at "Numbering style" option ?
In my french version, "Suite…" means increment previous number. And "Commencer…" means "Starts at…"

Elasticsearch getting http request performance [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
I have 10 ES Servers each one with 32Cores Cpu, 256G memory and 10Gb NIC. The ES cluster will face about 9000 times request(index or query) per second. Do you think this would be a problem, or any optimization I should do please.
It depends on the index structure, data amount and the queries you're doing. Hardware alone does not guarantee anything. I have seen clusters two times less powerful than yours which were capable to handle 10k/sec. However I can easily imagine queries and aggregations that will take some time to run on your cluster.

conky: how to refresh the display values? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
why conky duplicates the display after every minute as the picture
This looks like a common issue with Conky and graphics. You can try enabling double buffering:
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
or fiddling around with the own_window, own_window_type, and own_window_transparent settings.
I solved the problem by own_window_type normal
in the file ~/.conky

Traffic monitoring with SNMP [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I am trying to get bandwidth value of Wan interface in Open-Wrt router (WRT54GL) using
OID: 1.3.6.1.2.1.2.2.1.10.4
But I keep getting value around 4174517174
I was doing some calculations and it does not make any sense:
4174517174 / 8 / 1024 /1024 = 497 MB/s
Does this value contains more info like time or something or my OID is incorrect ?
I have got the answer. Its the whole traffic which has passed trow this interface. To get the bandwidth you need to get the difference between two past values...

Resources