topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday June 20, 2024, 4:13 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - paradisusvic [ switch to compact view ]

Pages: [1] 2next
1
Wow, the days of DC fundraisers sure look like fun :-*

Skrommel is a mysterious person.  He came back this year and coded some new snacks.  He has $2,000 in donationcredits that have been there for years that he refuses to cash out.  :huh:

I'm happy to devote to coding a stream of requested snacks for $100/week.

If Skrommel doesn't want to cash-out, perhaps he can be convinced of transferring them to Mouser for putting them to work by sponsoring 20 weeks of DC member-requested "coding snacks" releases, under his kindness & name .

I can produce at least one (1) weekly new program to satisfy the request of a DC member of the present and past, posted anywhere in the snacks sections:


...With Jesse/Mouser transferring the PayPal at the end of the week, after successful software publication in the corresponding section .

Some weeks there will be more than one program, given some requests are quicker to be finished than others  :)

A consistent stream of user-inspired new releases can surely liven-up the rest of the year for DonationCoder.com  :Thmbsup:

2
PublicDomainVic / [dev] KeyStick
« on: June 18, 2024, 09:59 AM »
Development thread needed for the About box / Readme.txt of the upcoming KeyStick program.

(Already began pushing code to GitHub)

Code repo @ https://github.com/paradisusis/keystick

3
still run into annoying stuff like this with fuzzy match though :(

Bruiser
First list:
Bruiser
Gunbuster (1988)
buster.1988.internal.bdrip.x264-ghouls.mkv
Second list:
Buster (1988).mkv.torrent

Hello & good day! You may want to try with "Weighted" as algorithm and using different "cutoff" values.

Cutoff defaults to 75. In your case, you may want to try with 80, then 85, then 90 up to 95.

(Until you find the configuration that behaves closest to what you need/expect)

Cheers! :Thmbsup:

4
PublicDomainVic / Re: [dev] MovieList-compn-CLI (v0.1.0)
« on: June 16, 2024, 11:00 PM »
MovieList-compn-CLI is published:




It includes a "--directory" option for specifying the destination of the generated matched.txt, unmatched.txt and collisions.txt files.

The program is complete, with error handling and validation routines  :up:

MovieList-compn-CLI_v0-1-0.png

5
PublicDomainVic / Re: [dev] MovieList-compn-CLI
« on: June 15, 2024, 10:13 AM »
Updated help to contain all the valid algorithm names:

  -f, --first-list     Required. The file path to the first list.

  -s, --second-list    Required. The file path to the second list.

  -a, --algorithm      (Default: direct) The name of the comparison
                       algorithm. Must be one of the following: direct,
                       defaultratio, partialratio, tokenset, partialtokenset,
                       tokensort, partialtokensort, tokenabbreviation,
                       partialtokenabbreviation, weighted.

  -c, --cutoff         (Default: 75) The cutoff for the passed fuzzy
                       comparison algorithm.



MovieList-compn-CLI_v0-1-0-20052.png

6
PublicDomainVic / Re: [dev] MovieList-compn-CLI
« on: June 15, 2024, 09:38 AM »
The final implementation has these:

  -f, --first-list     Required. The file path to the first list.

  -s, --second-list    Required. The file path to the second list.

  -a, --algorithm      (Default: direct) The name of the algorithm.

  -c, --cutoff         (Default: 75) The cutoff for the passed fuzzy comparison.



MovieList-compn-CLI_2024-06-15_v0-1-0-190971.png



The program is basically done. Right now it's mostly validations and error messages.

GitHub publishing to follow  :Thmbsup:

7
Developer's Corner / Re: Any coders here on patreon?
« on: June 11, 2024, 04:25 PM »
If you're a programmer who hangs out here and you have a patreon account where you are asking people to support your coding, post a link here so those who want to support you can find your account easily. 

❤️ Patreon link @ www.patreon.com/paradisusis

It would be awesome to see more fellow DonationCoder members as supporters, since this community rocks so much!



It should possibly be a generic sort of icon- there are other platforms other than Patreon [...]

Generic or dedicated is fine! Patreon keeps on being the #1 regular support platform.

Liberapay is quite appealing as a recurrent donations platform as well.

Supporting the community creators steadily is the important thing. It does motivate as to continue gifting releases and helping

Those who appreciate what you do & are willing to extend their support truly are the fuel of the New Earth / Positive World, where we all share our gifts to bring global joy :-*

8
no more crashing!
also it doesnt use a lot of ram,  even on large lists. i am impressed!

Glad you're liking it! :Thmbsup:

In order to have separation of concerns, the new CLI version has been separated to its own thread and code:

https://www.donationcoder.com/forum/index.php?topic=54226.0

The current Windows/GUI version continues on v0.3.0 with drag&drop on the text boxes for the lists + other features, under its own code repository, as seen above

9
PublicDomainVic / [dev] MovieList-compn-CLI
« on: June 10, 2024, 06:26 PM »
Development thread for "MovieList-compn-CLI":

GitHub: https://github.com/paradisusis/movielist-compn-cli

Command line version of the MovieList-compn program to compare two different lists of strings/filenames for matches.



Discussion of the program happening in the replies below, in order to save this first post for the final release (commands are still malleable).

10
Hello & good day! New v0.2.0 is released:


1. command line interface ...

...On the way!

Cheers!

11
thanks vic

My pleasure 🤗

Please feel free to post a sorted list with the next functionality you need, in the order you want it developed :up:

e.g. progress bar, auto saving, drag and drop, command line interface... plus any other.

(simply place those you consider the most important ones to implement at the top of the list)



Meanwhile, I continue "tweaking" this version's code to release

Cheers!

12
another string that causes crash.

"FÃ¥rö Document    [Documentary]   [1970].mkv"

can we get an update program that doesn't crash on these? :)

It's solved! In the end the pre-processing is made with the regex "[^\u0000-\u007F]+" and then stripping all invalid path characters.

This approach solved everything regarding crashing due to weird symbols, in exchange of folding the foreign characters on the display title --of course, the actual passed file name remains intact.

I'm bumping the version to 0.2.0 to call main functionality complete :Thmbsup:

(Going to push to GitHub as time permits later today/tomorrow)

13
Wouldn't that all be fixed by handling strings as Unicode?

Hello & good day! You're right with your spot-on Unicode observation... yet, in this case, this particular app needs to have the lesser character pool to compare words in the movie title; we are currently folding characters to ASCII in order to help keep the program's complexity reasonable -- according to our standards, that is :)

Certainly, other implementations of fuzzy movie file name comparison can do it differently; it's just that we are really streamlining things here for our purposes... The lesser, the better in this case

14
PublicDomainVic / Re: AnyHandler ALPHA 5 + Usage video
« on: June 05, 2024, 01:49 AM »
The latest ALPHA 5 version of AnyHandler is out, along with an accompanying usage video:


Video:
https://www.youtube.com/watch?v=sYd_G2JmFKA





The renaming program used is "Bulk Rename Command Line" / BRC:

https://www.s3.tgrmn.com/bru/BRC_Unicode_32.zip



A reminder of program notes:

  • Activation needs the user to log off / restart.
  • App directory should not have spaces (e.g. C:\AnyHandler).
  • {src} = Source directory.
  • {dst} = Destination directory.

Cheers! :Thmbsup:

15
Dark Lady of Kung Fu µûŸoÓ° (1981) º£°¶°æ.avi.torrent

You're correct: pre-processing throws an error when processing such odd titles.

The easy way out would be to strip non-alphanumeric characters in the traditional file-friendly way ("[^A-Za-z0-9_. ]+") but it can lose some title-delimiter information in the process.

I'm fixing it by keeping the processing "as is" for the correct file names while stripping bit by bit when reaching the ones that throw the error.

16
Hello & good day @yutils

Just throwing an idea here: a possible workaround would be to record the mouse movements with a macro recorder software and then replaying it to repeat selecting the same size and location again as needed :up:

Cheers!

17
program crashes on more characters:

Dark Lady of Kung Fu µûŸoÓ° (1981) º£°¶°æ.avi.torrent

Thanks for the report

Next version is going to strip the remaining non-foreign-language characters for internal comparison --while caching the original title for output/display :)

18
The new ALPHA 4 version implements Fuzzy Matching :Thmbsup::


The new GUI has a checkbox for toggling between direct and fuzzy comparison:

MovieListCompn_ALPHA-4_encircled-checkbox.png

The library of choice is "FuzzySharp"
-paradisusvic (May 31, 2024, 06:22 AM)

The fuzzy algorithm and cutoff value are configurable:

MovieListCompn_ALPHA-4_expanded-combo.png



Time to proceed to the "Bells & Whistles" to make the program complete :)

19
Okay! Regarding the steps on Reply #5:

This is being tackled in two steps/releases:

- First, the MovieList for direct movie comparison.

- Second, Fuzzy-matching for adding more/partial results.
-paradisusvic (May 15, 2024, 07:38 PM)

Direct movie comparison is good enough, so, now we proceed to implement fuzzy matching on the pre-processed titles, as derived from this step :up:

The library of choice is "FuzzySharp", which is based on the previously-mentioned FuzzyWuzzy, hence it is functionally equivalent for our purposes.


20
Hello & thanks for your report; the latest ALPHA 3 version processes the file correctly:


MovieList_compn-Screenshot from 2024-05-30 19-56-47.png



There is internal processing and normalization of titles in place. The second file has "Stjärne" edited to "Stjarne" for comparison and it was a match:

Woman and Gramophone Johannes Stjärne Nilsson & Ola Simonsson,
First list:
Woman and Gramophone Johannes Stjärne Nilsson & Ola Simonsson, 2000
Second list:
Woman and Gramophone Johannes Stjarne Nilsson & Ola Simonsson, 2000

Also, this version has other minor internal pre-processing updates for punctuation and handling multiple spaces that should make direct title matching more efficient :Thmbsup:

21
Ping @ owlpotheosis. Are you around & ready to test?

Also @ IainB, if around :)

The program may be good enough with a timer for refreshing screen --need actual testers to confirm.

22
MovieList-compn ALPHA 2 is released :up::


New GUI:

MovieListCompn_ALPHA-2.png



BTW, it also works on Linux!

MovieListCompn_ALPHA-2_Linux.png

Ubuntu 22.04 + Mono runtime.

23
Hello & good day!  :) Coding has started; currently aiming at reducing flicker :Thmbsup:

WhiteEase_ALPHA-1.png

I'm trying different ways... giving the program some more love right now :-*)

24
N.A.N.Y. 2022 / Re: N.A.N.Y. 2022 - KeyLoop v0.1.0
« on: May 28, 2024, 06:39 PM »
This request is now "KeyStick" @ https://github.com/paradisusis/keystick

(Code was getting too messy with background input method + traditional method at once. e.g. internal KeyCodes are different. Having them separated streamlines things up :Thmbsup:)

25
separating content vs function words
-paradisusvic (May 21, 2024, 10:51 AM)

These are the function words that made it to the list:

a, an, the, this, that, these, those, my, your, their, our, some, many, few, all, and, but, or, so, because, although, in, of, on, with, by, at, over, under, he, she, it, they, we, you, me, him, her, is, am, are, was, were, has, have, had, can, could, may, might, shall, should, will, would, must, who, what, when, where, why, how

The processing conditions are:

  • Two or more words in the title (this prevents cases where the movie is just a function word in the list, such as "her").
  • At least one word must be present after filtering.

(I'm home & coding! :Thmbsup:)

Pages: [1] 2next