Skip to main content

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.

Filter by
Sorted by
Tagged 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, ...
yog raj's user avatar
  • 33
3 votes
1 answer
681 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 $[ .....
korda's user avatar
  • 178
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 ...
Lea... FFmpeg's user avatar
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. ...
user avatar
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 ...
Shadi's user avatar
  • 149
1 vote
0 answers
106 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 ...
Caza's user avatar
  • 11
1 vote
1 answer
173 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,...
Peter Selvey's user avatar
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 ...
Mitul Suchak's user avatar
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 ...
01AutoMonkey's user avatar
0 votes
1 answer
656 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 ...
user avatar
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 ...
Andreas Michael's user avatar
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 ...
Farid's user avatar
  • 1
0 votes
0 answers
40 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 ...
Edward Muniz's user avatar
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 ...
panes-rubrics.0l_icloud.com's user avatar
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 ...
Ajit Kumar's user avatar
0 votes
1 answer
74 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 ...
MaxiFlaxiBoii's user avatar
0 votes
1 answer
193 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:...
PeteU's user avatar
  • 3
0 votes
0 answers
1k 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 ...
alive-one's user avatar
0 votes
1 answer
105 views

Excel: Simulating multiple recalculations (F9) and then pasting outcome into a table

TL;DR: Want to recalculate a model based on random variables and take the result and put it in a table. What's best way to do that? Longer Explanation: I have a model that is built upon multiple ...
Merv Merzoug's user avatar
0 votes
0 answers
197 views

ffmpeg Windows split 1 video to chunks with random length (no re-encode)

i have 1 big video file and i need to split it to random length chunks without re-encode. for example chunks from 130 to 240 seconds. for windows ffmpeg tried this and .... nothing in output folder. $ ...
Anna Lone's user avatar
0 votes
1 answer
126 views

How can I make a screenshot log on Linux?

I wanted to take regular screenshots in Linux every 5 minutes, but with random drift of interval. Just like in this question: Linux: Take automatic screenshots at random times but I needed a solution ...
Maciej Łoziński's user avatar
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 ...
KleinSAO's user avatar
0 votes
1 answer
1k views

Week by week random lists without repeats

Definition of problem: I have a main list of 30 names. I want to allocate these names into 5 groups of two or three on a weekly basis so that: Each of the 30 names is randomly allocated to each group ...
ProblemAccount's user avatar
0 votes
0 answers
70 views

Why do we use pseud-random numbers when we have access to truly random numbers easily? [duplicate]

Is there any reason except being able to reproduce the same sequence of numbers, for using pseudo-random number generators while there is easy access to truly random numbers such as the number of ...
Amirreza A.'s user avatar
0 votes
1 answer
70 views

Copy files to a randomly named subdirectory

i'm a complete amateur when it comes to shell scripts so a little out of my depth. But I have an existing script which is -almost- doing its job, and i'm hoping to edit it to make it work right. So ...
Nanako's user avatar
  • 19
0 votes
0 answers
72 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 ...
M. A.'s user avatar
  • 99
0 votes
1 answer
251 views

Random Number Help - I have a confidence, max, and min, how should I do this?

For a class project, I need to create a list of 100 randomly simulated numbers, but I am struggling with the formula. According to the homework, I know that I am 95% confident that the range of the ...
theShuffle's user avatar
0 votes
0 answers
23 views

Is it possible to distinguish randomized devices (iOS) by two Wi-Fi scanners

I know that iOS uses a randomized media access control (MAC) address when conducting Wi-Fi scans. In these contexts, when I set-up two scanners in a certain location, can I distinguish the devices ...
jhyeon's user avatar
  • 101