Welcome Guest.   Make a donation to an author on the site September 01, 2014, 06:33:13 PM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
Read the full one-year retrospective report on DonationCoder.com.
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: [1]   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: IDEA: Random sequence generator  (Read 3037 times)
antonov2754
Participant
*
Posts: 5

View Profile Give some DonationCredits to this forum member
« on: March 08, 2011, 01:15:50 AM »

I would like to have a program that brings some randomness to my life. It seems rather simple and useful for others too.
This application helps to do something in random order like watching episodes of a film, reading periodical comic strips or accomplishing a to-do-list of actions.

What it should do:

1. Preferable output format is a text file with meaningful name chosen by the user. The file is saved in the application folder. Application should ask for overwriting the file.
Minimum: it contains random numbers, each on the new line.
Maximum: it can contain random numbers in several aligned columns (for convenience, number of columns chosen by user)

2. The program should produce randomness in several formats with range entered by user.
Minimum:
- completely random (integer numbers from A to B)
- random sequence (integer numbers from A to B in mixed order, including all numbers from A to B, no duplicates)
Maximum:
- random date sequence (days from A to B in mixed order, including all days from A to B, no duplicates)
- random date sequence with days of week filter (for example, only Mondays and Wednesdays)

3. There should be an option to leave space for completion marks at the left of the random numbers. I think a nice variant will be a space between square braces:
[X] 27
[X] 4
[ ] 14
[ ] 12

An example implementation can be found online: http://www.random.org/sequences/
Drawbacks:
- Does not work offline
- Does not work with dates
- No completion marks
- I have to copy data and save files manually

Thanks in advance for all your ideas and efforts.
Logged
awopbamboo
Honorary Member
**
Posts: 112



see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #1 on: March 09, 2011, 06:39:12 AM »

Hi

I'm kicking my heels a bit at work, so I'll give this a shot...

Logged

_____________________________________________
J.
jgpaiva
Global Moderator
*****
Posts: 4,710



Artificial Idiocy

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #2 on: March 09, 2011, 07:27:55 AM »

Sorry for not warning, but I've been working on this since yesterday  embarassed

(but hey, 2 solutions are better than one, right? Wink )
Logged

awopbamboo
Honorary Member
**
Posts: 112



see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #3 on: March 09, 2011, 07:33:47 AM »

Thats ok, I've not really started it...

Feel free to carry on, I just won't treat mine with any urgency!
Logged

_____________________________________________
J.
jgpaiva
Global Moderator
*****
Posts: 4,710



Artificial Idiocy

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #4 on: March 09, 2011, 02:06:58 PM »

Here's my proposed solution Wink
Logged

Pages: [1]   Go Up
  Reply  |  New Topic  |  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.028s | Server load: 0.15 ]