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
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, ...
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 $[ .....
2
votes
2
answers
1k
views
How to use random in BATCH script with ffmpeg?
I am having trouble getting them to work now. I am trying to create a text file with the random order of the files. I tried but it seems the order in the .text file is not as random as I want. Please ...
2
votes
0
answers
68
views
NIST Randomess Test Running
I am trying to run NIST randomness testing on an Input file having 3645018 bits. I can see that it's giving correct frequencies of Zero's and One's but I am not able to get the results of other test. ...
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 ...
1
vote
0
answers
107
views
Computer keeps restarting for no reason [closed]
My computer keeps restarting randomly for no reason. It can happen after 5 hours of use or it can happen after only 10 minutes of startup. I’m not quite sure what it could be but I don’t think it’s ...
1
vote
1
answer
181
views
Microsoft random fonts for alt characters
I often use simple alt codes (e.g. µ, °, Ω, ±, in the sub 256 range) in Microsoft products like Word, Outlook etc., and usually they work fine. But occasionally the software insists to change the font,...
1
vote
0
answers
88
views
Excel create a random sample of movies based on release year
I have a data set of 3229 movies, and I need to create random sample of 200 movies released before 2010, and also between 2010 and 2019.
I started with the trying to do the ones for 2009 and below ...
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
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 ...
0
votes
1
answer
3k
views
Computer randomly restarts - no indicators/crash logs/BSOD
So my desktop machine has started randomly restarting with no prompt, no BSOD, no error messages or the like.
There is no consistency to it, it can happen when the machine is idle, or under load when ...
0
votes
0
answers
26
views
SSD write cost too much time [closed]
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 ...
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 ...