Questions tagged [random]
For use when where a "random()" function or equivalent might be used, ie to generate random or pseudo random data. Not suitable for describing "nondescript" or "intermittent" issues.
29
questions
0
votes
0
answers
26
views
SSD write cost too much time
Recently I have been conducting some write tests based on SSD hard drives. The background is as follows: I developed a simple file upload server using the Go language. The key code is as follows:
for ...
0
votes
0
answers
45
views
How to randomly zoom video with a Batch script?
I deal with the processing and uniqueness of 9:16 videos.
I need to make the video take on a random zoom value to increase it in scale and crop it accordingly at the edges.
I need to make a random ...
2
votes
1
answer
1k
views
How To Make A Random Slideshow Through Folders and Subfolders
I use FastStone Image Viewer to manage and view the images on my Windows 10 PC. It can slideshow images in random order within a specific folder. However, if the images are scattered through more than ...
0
votes
0
answers
74
views
convert decimal random values to binary for ent testing
I have ascii random values from /dev/urandom in a file like:
435
678
437
897
They are uniformly distributed and have perfect average. feeding the file to ent test suite yields low entropy value and ...
3
votes
1
answer
690
views
Different behavior of $( … $RANDOM … ) in zsh and bash functions
This:
woof() {
/usr/bin/woof -p $(expr $RANDOM % 32768 + 1024) $@
}
Always returns same number for parametr -p on zsh. In bash $(...) is evaluated on every call. Replacing $( ... ) with $[ .....
3
votes
1
answer
9k
views
How to decrypt passwords generated by "openssl rand -base64 20"
I need to generate multiple random passwords and came across the "openssl rand -base64 14" command which does the base64 encoding inbuilt.
sh-3.2# openssl rand -base64 14
ktMgWKno9AbvRUq4wx0=
But, ...
0
votes
0
answers
41
views
PC randomly logs off
My windows10 HP pc randomly logs off for no apparent reason. I have disabled all sleep settings and screensavers yet it still does it randomly without warning or any kind of error message, my ESET ...
0
votes
0
answers
42
views
How to randomize sensitve numerical data in Excel while maintaining existing data format(s) for public post? RAND each digit each cell
How to randomize sensitve numerical data in Excel while maintaining existing data format(s) for public post? This is to supply Technical Support all information (format, shape ) except confidential ...
0
votes
1
answer
30
views
trying to randomize 2 cells adding values to it randomly to every week of the month for every employee
New Bei - First line >is dates, second is days and the third is week number.
This is how my data look like. it is a weekly off register wherein I need to add word "WO" randomly in only 2 ...
0
votes
1
answer
3k
views
When I copy and paste a link, it replaces it with random characters
Copied link: https://en.wikipedia.org/wiki/List_of_mergers_and_acquisitions_by_microsoft
Pasted link:
https://en.wikipedia.org/wiki/LdcxhrrmCTdLqs67V5Ps5omaHbbapv5as2y_microsoft
My win 10 replace an ...
0
votes
1
answer
80
views
Outgoing packages for port over 1024 dropped?
today i ran into a strange problem after setting up my Zabbix-Server and adding a Client.
As i tried to add my Client to the server, the server could not reach him.
After lots of troubleshooting i ...
0
votes
2
answers
1k
views
How to get a random filename from a directory and using it within a command?
play ~/Music/audio0.flac repeat -
A command for playing a single specific audio file on repeat.
play ~/Music/${random_audio_file} repeat -
A pseudo command for playing a single random audio file from ...
0
votes
1
answer
211
views
Excel - Selecting Random Cell followed by Filling
I am trying to select a random cell from an array AND then fill down, fixing the column but letting the row remain relative. For example, I am trying to select the contents of a random cell from A1:...
0
votes
0
answers
2k
views
How do I get real random in CMD?
I have some script which every PC in network download and execute, and the task is NOT to run script simultaneously. So, I used simple pseudo-random for timeout like
TIMEOUT /T 2%random:~0,2%
But as ...
0
votes
1
answer
666
views
Remove a registry key when it has a random name
A product that I use has just installed on my system, without my consent, a liveupdate process that runs on my system every hour, even when I am not using that product.
I don't know what this ...