Welcome Guest.   Make a donation to an author on the site April 19, 2014, 04:25:08 AM  *

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: Prev 1 [2]   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: DONE: Random (real random) file from folder and subfolders  (Read 33559 times)
Coeluh
Supporting Member
**
Posts: 273


Family Guy ^^

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #25 on: March 09, 2009, 11:45:54 AM »

I'm curious about the randomness of this script. Could you make a simple thing with the same random-engine as in Pick Me and then wait for user input of:
 - Number of choices
 - Number of times to do the experiment

And then a resultpage where it sums up the number of times each choice has been randomly chosen.

This all is because I sometimes think it's not that random.
Logged
scancode
Honorary Member
**
Posts: 634



I will eat Cody someday.

see users location on a map View Profile Read user's biography. Give some DonationCredits to this forum member
« Reply #26 on: March 09, 2009, 12:22:38 PM »

I'm curious about the randomness of this script. Could you make a simple thing with the same random-engine as in Pick Me and then wait for user input of:
 - Number of choices
 - Number of times to do the experiment

And then a resultpage where it sums up the number of times each choice has been randomly chosen.

This all is because I sometimes think it's not that random.

It's Visual Basic 6's rnd() function.

* rndtest.zip (12.2 KB - downloaded 218 times.)

What do you suggest? random.org? :-)
Logged

Coeluh
Supporting Member
**
Posts: 273


Family Guy ^^

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #27 on: March 09, 2009, 02:51:24 PM »

I'm curious about the randomness of this script. Could you make a simple thing with the same random-engine as in Pick Me and then wait for user input of:
 - Number of choices
 - Number of times to do the experiment

And then a resultpage where it sums up the number of times each choice has been randomly chosen.

This all is because I sometimes think it's not that random.

It's Visual Basic 6's rnd() function.
 (see attachment in previous post)
What do you suggest? random.org? :-)

Well I see that the first and the last number are getting a significant lower rate... What's that doc?
Logged
scancode
Honorary Member
**
Posts: 634



I will eat Cody someday.

see users location on a map View Profile Read user's biography. Give some DonationCredits to this forum member
« Reply #28 on: March 09, 2009, 03:23:30 PM »

Well I see that the first and the last number are getting a significant lower rate... What's that doc?

Fixed. It was a rounding issue.
Thanks mouser  Kiss



Feel free to redownload the app. Also added the splitted rar archives thingy.

* rndtest.rar (8.05 KB - downloaded 207 times.)
Logged

Coeluh
Supporting Member
**
Posts: 273


Family Guy ^^

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #29 on: March 09, 2009, 04:23:11 PM »

Ok but I still think it's not really random. I've click my shortcut to get a random file like 10 times, and i got the same one 4 times and some other one 2 times and another one 2 times. Total files: like 100.
Logged
scancode
Honorary Member
**
Posts: 634



I will eat Cody someday.

see users location on a map View Profile Read user's biography. Give some DonationCredits to this forum member
« Reply #30 on: March 09, 2009, 04:26:19 PM »

Ok but I still think it's not really random. I've click my shortcut to get a random file like 10 times, and i got the same one 4 times and some other one 2 times and another one 2 times. Total files: like 100.

Are you running the latest version? It doesn't do that to me!

Try this one.
« Last Edit: March 09, 2009, 04:29:29 PM by scancode » Logged

Coeluh
Supporting Member
**
Posts: 273


Family Guy ^^

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #31 on: March 10, 2009, 08:17:19 AM »

Ok but I still think it's not really random. I've click my shortcut to get a random file like 10 times, and i got the same one 4 times and some other one 2 times and another one 2 times. Total files: like 100.

Are you running the latest version? It doesn't do that to me!
Try this one.
I think it is better. Did you do something about the rnd function?
Logged
neptitude
Supporting Member
**
Posts: 5


View Profile Give some DonationCredits to this forum member
« Reply #32 on: March 10, 2009, 08:18:07 AM »

 Thmbsup Thanks for this! I've been looking for an app like this for ages, and when I saw it mentioned on LifeHacker, I got a big smile on my face, flew over here and joined up!

I have a request for the app, which actually would sort of help with the "real random" issue Coeluh is talking about. Right now, when you are dragging files out of the list and into a folder you are copying them. If you also had the choice to MOVE the files to the new folder, running PickMe again on the original folder wouldn't be able to have any duplicates! (I know this isn't really what Coeluh is thinking about, but...)

This would be very useful for me, since I'm trying to break up a folder of a couple of thousand images into several sets of 100. Is this possible?
Logged
scancode
Honorary Member
**
Posts: 634



I will eat Cody someday.

see users location on a map View Profile Read user's biography. Give some DonationCredits to this forum member
« Reply #33 on: March 10, 2009, 08:52:49 AM »

I think it is better. Did you do something about the rnd function?

No! :-P
I made the file extension case insensitive.

I have a request for the app, which actually would sort of help with the "real random" issue Coeluh is talking about. Right now, when you are dragging files out of the list and into a folder you are copying them. If you also had the choice to MOVE the files to the new folder, running PickMe again on the original folder wouldn't be able to have any duplicates!

Sure, gimme a couple minutes. Probably will have to do with right-click dragging :-)
« Last Edit: March 10, 2009, 08:56:50 AM by scancode » Logged

Coeluh
Supporting Member
**
Posts: 273


Family Guy ^^

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #34 on: March 10, 2009, 08:57:29 AM »

I think it is better. Did you do something about the rnd function?

No! :-P
I made the file extension case insensitive.
Does that give more randomness? I thought it wouldn't.
Logged
scancode
Honorary Member
**
Posts: 634



I will eat Cody someday.

see users location on a map View Profile Read user's biography. Give some DonationCredits to this forum member
« Reply #35 on: March 10, 2009, 09:16:26 AM »

I think it is better. Did you do something about the rnd function?

No! :-P
I made the file extension case insensitive.
Does that give more randomness? I thought it wouldn't.

It does.

Say you have

file1.mpg
file2.3gp
file3.avi
file4.3GP
file5.MPG
file6.AVI

and your extension list was mpg;avi;3gp

Pick me! would've used only the first three entries, and leave the rest alone.
Logged

mouser
First Author
Administrator
*****
Posts: 32,669



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #36 on: March 10, 2009, 09:21:11 AM »

Regarding neptitude's request, one thing you could do is have an "exclusion" list, and a button that adds the current results to this exclusion list.

That way you could pick 100 files for example, then click the button to add them to exclusion list (could just be a text editable memo); then if you clicked for another 100 files you would be garanteed not get any duplicates since the first picked files are now on the exclusion list.
Logged
scancode
Honorary Member
**
Posts: 634



I will eat Cody someday.

see users location on a map View Profile Read user's biography. Give some DonationCredits to this forum member
« Reply #37 on: March 10, 2009, 11:31:55 AM »

New version is out!

14:24 10/03/2009
  • Bugfix: When using ALT+F4 to abort the current operation, Pick me! kept running on the background.
  • Bugfix: More rounding issues.
  • Code cleanup.
  • XP Styles support (!)
  • Now tracks moved/deleted files.
  • Modified dragging code to use  right mouse button. Now you get a nice popup menu.

Download (VB6 runtimes required on Windows 9x/NT/2000)
Logged

Coeluh
Supporting Member
**
Posts: 273


Family Guy ^^

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #38 on: March 12, 2009, 10:33:15 AM »

New version is out!

14:24 10/03/2009
  • Bugfix: When using ALT+F4 to abort the current operation, Pick me! kept running on the background.
  • Bugfix: More rounding issues.
  • Code cleanup.
  • XP Styles support (!)
  • Now tracks moved/deleted files.
  • Modified dragging code to use  right mouse button. Now you get a nice popup menu.

Download (VB6 runtimes required on Windows 9x/NT/2000)
Awesome!
Logged
Glorfyboy
Participant
*
Posts: 1

View Profile Give some DonationCredits to this forum member
« Reply #39 on: November 10, 2010, 09:41:54 AM »

I hate to ressurect such an old topic, but this program is perfect for my needs, all except the fact that it writes to the registry. Is there any way to get it to write instead to a file within its containing folder? I use it as a portable application so the fact that it writes to the registry can cause some problems.
Logged
scancode
Honorary Member
**
Posts: 634



I will eat Cody someday.

see users location on a map View Profile Read user's biography. Give some DonationCredits to this forum member
« Reply #40 on: November 10, 2010, 10:18:08 AM »

Sure. I have the sources for it @ the office, will change it when I get there...

Also, I'm back!
Logged

scancode
Honorary Member
**
Posts: 634



I will eat Cody someday.

see users location on a map View Profile Read user's biography. Give some DonationCredits to this forum member
« Reply #41 on: January 21, 2011, 07:59:21 AM »

Download link fixed. Portable version in the works.
Logged

elfie
Participant
*
Posts: 1

View Profile Give some DonationCredits to this forum member
« Reply #42 on: September 16, 2012, 11:53:51 PM »

Hi,

So.. I have an external hard drive, marked H:
I have 500 files in H:, and I also have 9 subdirectories in H:

For some reason, when I use PickMe, it only finds files in the subdirectories, never in the root of H:
However.. when I move all 500 files into a new subdirectory, H:\blahblah, it now magically finds the files from the subdirectories it found before, as well as the new one, H:\blahblah.

Why can't it find files that are on the root of the drive? Why do they have to be in a folder, before PickMe recognizes them?

And yes.. I have included all the correct extensions.
I have run the program before on this computer and it worked just fine (on a different folder). Occurs on both Windows 7 and 8.
« Last Edit: September 17, 2012, 12:27:19 AM by elfie; Reason: more troubleshooting.. » Logged
panzer
Participant
*
Posts: 138

View Profile Give some DonationCredits to this forum member
« Reply #43 on: September 21, 2012, 03:06:52 AM »

http://www.ghacks.net/201...-try-pick-me-for-windows/
Logged
Yoshi8765
Participant
*
Posts: 1

View Profile Give some DonationCredits to this forum member
« Reply #44 on: December 10, 2012, 09:17:50 PM »

Apologies for reviving an old thread, but I have a problem with this program.
It gives me Error 76 (Path not found) in procedure DirWalk

But the path is correct... I picked a folder that exists...
Logged
celerygeneral99
Participant
*
Posts: 1


View Profile Give some DonationCredits to this forum member
« Reply #45 on: January 14, 2013, 11:00:04 PM »

Dude, thank you to the developer of this little program.  It was exactly what I was looking for...

And to answer the question as to WHAT on earth this could be used for:  I have a ton of emulator files for various gaming consoles (Sega, Nintendo, Playstation, etc) all in one folder with various subfolders for each corresponding system and the HUGE selection can be a bit overwhelming when just wanting to select a random game out of the lot.

So, I use the extensions "gb;n64;nes;bin;gg;sfc;smc" to randomly select a game from all consoles... or I can even narrow it down to a specific console.

Thank you for this.  This is extremely useful. Thmbsup
Logged
mouser
First Author
Administrator
*****
Posts: 32,669



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #46 on: January 14, 2013, 11:04:23 PM »

Always fun to see someone reporting that they find a program from a donationcoder member useful. thumbs up
Logged
Jon Codispoti
Participant
*
Posts: 1

View Profile Give some DonationCredits to this forum member
« Reply #47 on: June 06, 2013, 05:04:30 PM »

A cool enhancement would be the capability to select that the program pick it's files based on:

Number of results (as done currently)
-or-
Size of results

Being able to fill my media device to exactly the right level would be much easier this way.
If I only have 10 GB free on my device, I would like to be able to pick as many random selections as I can, but just no larger than 10 GB.
Logged
Pages: Prev 1 [2]   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.061s | Server load: 0.13 ]