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.

"random" is a technical term relating to data which is created in such a way as to be as unpredictable as possible, generally associated with the idea of entropy - ie a pool of entropy/chaos is used to create random data.

28 questions
3
votes
1 answer

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, once after generation, I would like to decrypt the…
yog raj
  • 33
3
votes
1 answer

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 $[ ... ] 'fixes' this 'problem' in zsh for me but what…
korda
  • 178
  • 5
2
votes
1 answer

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 one folder it goes sequentially from one folder…
Shadi
  • 149
2
votes
2 answers

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 help me give a solution. Thank you. @echo…
2
votes
0 answers

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. No one of the test is showing any P-value. I am…
Zeeshan Abbas
1
vote
0 answers

Computer keeps restarting for no reason

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 cpu overheating. My Specs are as follow: ASU’s ROG…
Caza
  • 11
  • 2
1
vote
1 answer

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, and the font appears random. For example, this…
1
vote
0 answers

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 2010. I managed to make it work for one cell but…
0
votes
0 answers

Left click on my mouse acts (randomly) as the back button, reverting me back to the previous page

There is a seemingly random issue with my mouse where the left click acts like a back button. This happens predominantly with webpages (like facebook) but occasionally it happens in file explorer and other apps. I've searched this issue before and…
0
votes
0 answers

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 value from +1% to +10%. From the original 100% The…
Farid
  • 1
0
votes
0 answers

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 content. IMHO, there should be a RAND formula to…
0
votes
1 answer

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 cells only for each employee within a week dates range and so…
0
votes
1 answer

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 figured out that all packages which come into my…
0
votes
2 answers

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 the given directory (~/Music/), also on…
0
votes
1 answer

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:E500 for use in a formula in F500 (I can do that).…
PeteU
  • 3
1
2