|
everybody?
I hope that the users aren't now abandoning this place.
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
Yah, no one good or smart comes here any more. <==== (edit: This is a joke!)
I'm still here most days.
Here's my TLDR;
My wife was downloading photos from iCloud (iphone) so she could print them.
Discovered that 9/10 photos she downloaded were downloaded as zip files.
Apparently a lot of her photos were on "live photo" which includes a "video" portion.
So, when you take that photo and download from iCloud you get a zip which contains the .MOV and the JPEG.
We just want the JPEG so she can print some pix.
I wrote a .NET Core console app that:
1) allows user to point at directory where all those zips (100 or more) are and will pull out every JPEG and save them all into <target> folder provided by user
2) Run another command on the app and it'll tell you if any of the images are duplicates.
I'm really excited by this little utility because it is really cool and has a lot of uses.
You can use it to tell you if you have any duplicate files. It runs SHA256 hash on every file and then tells you if any two files are dups.
The CP Problem
See how excited I am to talk about this?
This would normally become a CP article. But should I do now?
Bummer
|
|
|
|
|
Sounds like a nifty utility! Does it also remove the duplicates?
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
Richard Andrew x64 wrote: Does it also remove the duplicates?
Not yet, but I am going to add a switch the user can provide to do that too.
Oh, you can see the (very quickly written code) at my github: GitHub - raddevus/iPhotoGrabr: Unzips photos from iCloud downloads (.NET Core 8)[^]
Hope you can use it too.
I also build the EXE as a standalone for win10 (though I'm dev on Linux) to make it easier to use on my wife's win11 machine.
Take a look at the buildForWin10.sh (shell script) You can use the command in that file to build on Win10/11 too.
|
|
|
|
|
Two more things (cuz I'm so excited!).
1) I used an honest-to-goodness C# Tuple in that code and I think it actually makes sense in this case.*
2) I'm also planning on writing a GUI** for this code later so user can traverse through folders for choosing source & target folders.
* I've never had a terribly good reason to use a tuple before but I've seen a lot of examples that seemed to be using them for tuple-sake.
** I will use Photino[^] to build the GUI when I do this. It'll be a great use of Photino, I think.
|
|
|
|
|
Sex appeal with the crowd, former royal has termite problems while travelling. (10)
|
|
|
|
|
Well done Pete -I was thinking of deputising for you today
In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP
|
|
|
|
|
I pulled one from the back catalogue. There's every chance that you've seen this one before.
|
|
|
|
|
All I've got is itinerants
sex appeal = it
with the crowd = in
ex Royal = er
termites = ants
In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP
|
|
|
|
|
That was quick. Congratulations.
|
|
|
|
|
I think it should be itinerant for travelling or itinerants for travellers - just sayin
In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP
|
|
|
|
|
This is a Winforms app. With clicking a checkbox, user enables a feature in the Settings form. Somewhere else in a form a tab named "Alarms":
Option 1: which was visible but disabled, gets enabled.
Option 2: which was hidden, added to the TabControl again.
In terms of UI design decision, which method you prefer?
Personally, I like option 1.
What, you, the community think is a better option?
Behzad
|
|
|
|
|
neither option. You do not store data in a form ever. You store data in an object, e.g. a "settings" object. Both checkboxes link to one field of that object. Do not ask any follow-up here. This is strictly a non-programming forum. Find your language in a forum above.
"If we don't change direction, we'll end up where we're going"
|
|
|
|
|
Sorry, but I think you did not get the point. My question is not about storing data. It's about UI design.
Behzad
|
|
|
|
|
That's just trolling now.
|
|
|
|
|
I promised him that I'd help.
|
|
|
|
|
I apologize if I gave you the wrong impression.
|
|
|
|
|
There have been many takes on this particular subject in the design community over the years. The consensus seems to be, at the moment, if a user is never going to be able to use that field, you should hide it. If it can be used in certain circumstances, you should disable it.
|
|
|
|
|
I prefer 1. It provides more information.
|
|
|
|
|
I would prefer option 1.
I would be more concerned about having the checkbox in the Settings form and the item being enabled/disabled on a tab in another form. What is the user going to think when they are in the Alarms tab and see a disabled section? Probably 'why is this disabled, I want to edit it.' Try not to make the user navigate away to the Settings form. Does it make sense to have the checkbox (or a duplicate) on the Alarms tab? At the least you need some way to indicate to the user why they can not access those controls. Users do not read manuals.
Make things that the user is likely to do easy to do.
|
|
|
|
|
I would go for option 1.
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
modified 3hrs 5mins ago.
|
|
|
|
|
As long as the checkbox is on the Alarms Tab so:
The Alarms Tab is always enabled
The checkbox on that tab is always enabled
When the checkbox is clicked, the other controls on the Alarms tab are enabled
|
|
|
|
|
If the Alarms tab is in the Settings form or its form is visible while viewing the Settings form I would choose Option 1.
Otherwise, it doesn't really matter unless being able to see the option in the Alarms tab would help the user understand what options might be available, in which case Option 1 is again preferred.
There are no solutions, only trade-offs. - Thomas Sowell
A day can really slip by when you're deliberately avoiding what you're supposed to do. - Calvin (Bill Watterson, Calvin & Hobbes)
|
|
|
|
|
I would disable the tab and display an informational icon with a tooltip that explains why the option isn't available, and hide the icon when the tab is enabled. #DontLeaveYourUsersGuessing
/ravi
|
|
|
|
|
Let's all pitch in to help our fellow member @DavesApps. He's making an honest effort to gather reviews for a book he has authored. I think it would be a nice thing to do for a fellow member in need of assistance. I know that if I were in Dave's position, I'd really appreciate the help.
His thread is located, here: Dave's Book Review Thread[^]
|
|
|
|