topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Saturday June 21, 2025, 1:48 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

Recent Posts

Pages: prev1 ... 11 12 13 14 15 [16] 17 18 19 20 21 ... 225next
376
Living Room / Re: Why did it never occur to me.. You can wash a keyboard in water.
« Last post by 4wd on December 27, 2019, 05:11 PM »
Spent an hour or so yesterday cleaning my G15 V2, (membrane type), first time in about 5 years. Split the case and popped all the keys out.

Chux wipe, sash brush, and a mild spray cleaner - did it while editing JavaScript, (plugged in an old PS2 KB).

Once you get into the flow it becomes pretty automatic and you don't need watch what you're doing, had an image of the kb on screen and popped the keys in as I went. Also didn't need to do anything in the way of drying as by the time I'd popped in a couple of keys any previously cleaned ones had air dried.

Never really noticed it the last time but the top half of the G15 was designed with no real ingress for dirt/etc into the bottom where the membrane/contact board/electronics are, that was still very clean and didn't need anything done.
377
General Software Discussion / Re: How to fix "NTLDR is missing" error in Windows 10?
« Last post by 4wd on December 24, 2019, 04:11 AM »
It seems Lazesoft was a bust. The home edition says it can "fix Windows Boot Problems due to corrupted MBR, Boot Sector, Boot File, Registry, etc." But in order to "fix missing file crash such as 'ntldr is missing', 'bootmgr is missing' etc." I need the pro version.

Damn, missed that in the comparison table ... however, the Pro version is available as a *Free Trial* ... don't know how far it'd get before asking to register/buy though.
378
General Software Discussion / Re: How to fix "NTLDR is missing" error in Windows 10?
« Last post by 4wd on December 24, 2019, 01:05 AM »
Could also try Lazesoft Recovery Suite if you're at the point where you might reinstall anyway.

Home Edition is free but you'll need a working computer to install it on to create the WinPE bootable drive/disc.

And mirinsoft has a couple of nice apps to prepare for the next time. :P
379
Just a FYI the bigger amount he most likely means, but that does make it a little confusing.

Could be the opposite since the higher amount seems to be an earlier post, ie. v5 70% complete as opposed to 75% for the lower amount.
A lower amount to get in more donations and hopefully cover all his time and effort.

Costs nothing to have him clarify it.

EDIT: Left him a message querying the discrepancy.
380
Coding Snacks / Re: The Best Way to handle finding and removiong Duplicate Files
« Last post by 4wd on December 22, 2019, 01:27 AM »
I'm looking for something with source code because I'm a bit wary of using a program that's going to be scanning a lot of files -- though in this case it's for someone who is unlikely to be using a non-GUI solution.

My preliminary searches turned up a couple of candidates.

Are there any reasons to not consider the current incarnation of dupeguru or Duplicate Files Finder?

https://github.com/arsenetar/dupeguru

Appreciate some opinions (informed or otherwise) :)

Used dupeGuru reasonably recently to remove something like 400+GB of duplicate backup files for a friend, (a laborious undertaking - backups of backups of backups of .... ), worked well.

There's also AntiDupl if you want to find primarily image duplicates, (or close duplicates), including across different formats - my go to software for that instance.
381
General Software Discussion / Sagelight Image Editor v4 returns as Pay-What-You-Want
« Last post by 4wd on December 21, 2019, 05:31 AM »
After being kind of dead for awhile it seems Sagelight is once more under development:

From the blog, (first post in 5 years):
SAGELIGHT IS BACK — AND ITS FREE

After a long hiatus, Sagelight editor is back.

Version 4 is now free, which is something I’ve wanted to try for a long time — give away Sagelight (or a version of it) and see of the pay-what-you-want/donation model can work enough to support Sagelight.  I’m looking at a donation model for version 4, and it would be great if it works.

I am currently writing Version 5 (which is about 70% completed), which has a lot of new changes, including a newly-revamped UI about which I am excited.

...

If you are a previous owner of Sagelight, download this version as an update.  It’s exactly the same except for the bug fixes and a few changes.

...

Rob

Sagelight can be downloaded from the main website: Sagelight Image Editor

After installation it has the version number 4.4h (b) which is the last paid version I have, (from 2013).

ADDENDUM: For an insight into what the author had to cope with during the time development was halted I recommend you read his forum post.
382
Living Room / Re: Share your photos! Travel shots, photoblogs, etc.
« Last post by 4wd on December 19, 2019, 12:23 AM »
Just one of those things that happen, one of the front wheels lift off, all the drive goes to it due to the differential, when it hits the ground again it stops spinning and a couple of teeth shear off the crown gear.

Damage continues because it's constant 4wd so the rest of the teeth deteriorate the longer you drive on it, we did have to use the winch a couple of times on the way out. ;D

Made a pretty good *bang* when it happened ... could avoid it by installing a diff-locker in the front diff, (the rear is an LSD).
383
Living Room / Re: Share your photos! Travel shots, photoblogs, etc.
« Last post by 4wd on December 19, 2019, 12:04 AM »
A bit more of Victoria's High Country ... back in November whilst out 4wding I managed to perform some "unscheduled" mechanical alteration to the vehicle:

IMG_20191129_103144714.jpg

Resulting in a slow journey back to the nearest civilisation, (5 hours to do 28kms).

But now it's December so out we went again ...

First night spent at the luxurious Moscow Villaw, (luxurious compared to how we usually camp):
IMG_20191212_163847038_HDR.jpgIMG_20191212_170153383.jpgIMG_20191212_170208989.jpg

The next day we pass a little bit of the USA, the Washington Winchw:
IMG_20191213_073114603.jpg

A relaxing second night next to the Snowy Riverw, the smoke is from the bushfires in New South Wales:
IMG_20191213_191756590.jpg

Historic School House, (~1860), at Suggan Bugganw...
IMG_20191214_072036355_HDR.jpg

... and Murphy's hut:
IMG_20191214_102727177.jpg

Passing a bushfire ...
IMG_20191214_140754334.jpg

... on the way to our third night at the bottom of Billy Goat Bluff Track:
IMG-7eb025013cca808bc5dd06fedb90dc07-V.jpg

Followed by the trip up it the next day to get back to (so called) civilisation:
IMG_20191215_075521-PANO.jpg
384
General Software Discussion / Re: youtube downloader?
« Last post by 4wd on December 15, 2019, 04:31 PM »
Re: 'repeat forever'; Okay, now that I know how to 'find' this option, how do I 'select' it? When I click on that 'option', the 'Apply' word does not highlight itself to confirm the choice.

Third image is where you can set a key shortcut for it, it's unassigned by default.

How do I add MPC-BE to my 'Open with' drop-down menu; all I show is VLC as an option.

Same way you add any program you want to the Open With... menu:
  • Right click the relevant file
  • Choose Open With...
  • If you don't see MPC-BE, click More apps
  • If you don't see MPC-BE, scroll down to Look for another app on this PC
  • Locate MPC-BE
385
DC Gamer Club / Re: Latest GOG Giveaway
« Last post by 4wd on December 15, 2019, 12:36 AM »
@Deo: Thanks, for some reason the DC version wasn't showing up when I tried it, go away for the weekend and return ... and it has appeared.
386
DC Gamer Club / Re: Latest GOG Giveaway
« Last post by 4wd on December 11, 2019, 04:14 PM »

The storefront description of Wasteland 2 says it comes with a code for Wasteland 1. And that includes this giveaway version.  :Thmbsup:

Not getting that here, maybe geo-specific?

2019-12-12 09_11_56-GOG.com - Slimjet.png
387
General Software Discussion / Re: youtube downloader?
« Last post by 4wd on December 10, 2019, 03:04 AM »
Yes, MPC-BE plays individual brainwave vids with throb. Tnx 4wd.  :Thmbsup:
edit; I don't see a way to loop playback or change playback speed, in MPC-BE.

2019-12-10 19_59_42-Options.png 2019-12-10 20_00_46-Options.png 2019-12-10 20_06_59-Options.png

Pictures, thousand words, and all that  ;)
388
General Software Discussion / Re: youtube downloader?
« Last post by 4wd on December 09, 2019, 08:21 PM »
Re: 1hr Delta Binaural Beat Session (0.9hz) ~ Pure
Using Brave browser and 4K Video Downloader set to 480 quality...
If I play direct from Youtube online, I get a nice throbbing effect, as; wooOOOoooOOOoooOOOooo
But if I download it and play it back in VLC, it loses the throb, as; woooooooooooooooooooooo.
What gives?

Downloaded and played back fine using SlimJet and MPC-BE.
389
General Software Discussion / Re: Good Freeware Video Editor?
« Last post by 4wd on December 07, 2019, 06:11 AM »
How would I use AVIDemux to process a musical track with Automatic Level Control, or ALC, that is too quiet and then too loud, to even it up?

In that case you need to normalize the audio track, AVIDemux doesn't have a filter for that.

You can, however, by adding a couple of steps do it outside AVIDemux and then mux it back in:
  • Open the file in AVIDemux
  • Save the audio track, Audio->Save Audio

Then use ffmpeg to normalize:

Code: Text [Select]
  1. ffmpeg -i input.aac -filter:a loudnorm -c:a aac -b:a 128k -vn -sn -dn output.aac

Then add the audio track into AVIDemux, Audio->Select Track, then choose ... Add audio track from the dropdown to select the the output from the ffmpeg operation.

2019-12-07 23_08_24-2018-03-10-113124-69.mp4 - Avidemux.png

Then it's just the same as my post above with regards to saving the remuxed output - if you set ffmpeg to output in the final desired audio codec then you don't need to encode it in AVIDemux, just set Audio Output to Copy, (same as it is for Video Output).
390
Here in Australia the ATO switched to online tax returns 3 years ago, (before then they had their own software you had to download and install): log in, fill it out, submit, done.

For an individual it takes about 60 minutes if you include a coffee break, most of it gets pre-filled with all the relevant info, (from investments, wages, interest, etc).
391
So you're talking about search and replace of a string within 100+ text files in one folder?

I say one folder because you're kind of contraindicating with this which indicates one folder:

... all 100+ text files in the folder while keeping the file names unchanged.

...

This has to be done to over a hundred urls stored as named text files in a master folder.

Followed by this which indicates a whole directory tree:

... walk the directory recursively ...


Anyways:

gsar.exe -sdomain1.com -rdomain2.com -o *.txt

Disclaimer: Thou who shalt not test before shall weather the consequences of thy actions.

PS. SOLVED: Recursive Search and Replace in Nested Folders
392
Coding Snacks / Re: [LONGSHOT] Passionate appeal to community - Costco price tracker
« Last post by 4wd on November 27, 2019, 06:05 PM »
I've talked to the author and he mentioned he created as a side hobby project and doesn't have the time to maintain it.

Have you approached him about having someone else take it over since he's almost abandoned it?

It would save a lot of duplicated effort.
393
General Software Discussion / Re: Good Freeware Video Editor?
« Last post by 4wd on November 25, 2019, 10:40 PM »
I would like to find a free video editor to reset the volume more evenly on about a dozen youtube music vids which vary widely in volume and are all under five minutes in length.

You could try AVIDemux, set it to Copy the video component and encode the Audio using the Automatic Gain Mode.
Choose whichever Audio Output format you prefer and the Output Format suitable for the chosen Video/Audio format, (eg. MP4 Muxer or MKV Muxer would be the most likely candidates).

2019-11-26 15_16_44-Andain - You Once Told Me (Unofficial video).mp4 - Avidemux.png
394
Edit 2:
I forgot I had this error message :
PS C:\Windows\System32\WindowsPowerShell\v1.0> C:\Users\E\Documents\tests\jityPDF.ps1
Add-Type : Cannot bind parameter 'Path' to the target. Exception setting "Path": "Cannot find path 'C:\Windows\System32\WindowsPowerShell\v1.0\itextsharp.dll' because it does not exist."
So I have copied "itextsharp.dll" in C:\Windows\System32\WindowsPowerShell\v1.0\itextsharp.dll
It may explain why if I try to use 4wd's code in another hard drive (example : L:\) even if I copied the 7z.dll, 7z.exe and itextsharp.dll files and adapt the code for new locations, the script doesn't show errors but it fails to run properly the Check-PDF part. It moves some image based pdf in folder2 instead of folder3 for some files ? So I stay in C:\ ;)

That's because with starting the script from outside the folder it resides in, the working directory is no longer it's folder.

PS C:\Windows\System32\WindowsPowerShell\v1.0> C:\Users\E\Documents\tests\jityPDF.ps1

Since you started the script from the folder in bold above, that becomes the working directory so if a file that's referenced by '.\' isn't found within that folder it'll fail with the above error.

PS C:\Users\E\Documents\tests> C:\Users\E\Documents\tests\jityPDF.ps1
PS C:\Users\E\Documents\tests> .\jityPDF.ps1

Changing your current directory to the same as the script would have let either of the above work OK.

An easier way would be just to use a shortcut and set the Start in parameter once you've set up the folder1/folder2/folder3 variables, then you can just double-click the shortcut.

I've attached an example shortcut.

I'll have a look at the other things.
395
Hi 4wd,
Wow. Many thanks. This is fantastic. ;)

You're welcome  :)

I did some tests and the only small things that are not working are :
- it doesn't delete empty folders of folder1 (if some subfolders are empty or not with other kind of files).

It just needs to call the Delete-SmallPDF function again after doing the Check-PDF function.

Not sure whether you mean folder1 should be completely empty at the end or not since files that aren't PDF will be remaining - ie. delete everything in folder1 after running the Check-PDF function.

In which case, what happens to the non-PDF files that were in the folders?
Delete or move with PDF?

Testing for text PDFs ...
Move-Item : Cannot retrieve the dynamic parameters for the cmdlet. The specified wildcard character pattern is not valid: [Lac_ven_Drnyvn,_Sr_ehajoe_Uduizn,_Giles_Suilo-Sm(e-kjd.org).pdf
At C:\Users\E\Documents\test\jityPDFt3v5_7zip.ps1:82 char:7
+       Move-Item "$($files[$i])" -Destination "$($outfile)"
+       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [Move-Item], ParameterBindingException
    + FullyQualifiedErrorId : GetDynamicParametersException,Microsoft.PowerShell.Commands.MoveItemCommand

Then, the test "for text PDFs" stops and the other same kind of files are not processed.

Also if the pdf file has "[" in its filename, it ignores it (but creates an empty folder in folder2 if the pdf is located into a subfolder).

The replace strange characters in the filename was going to be part of the too long filename function, just haven't got there yet.

Can you zip up some of the PDFs it stops on, (strange characters, etc - 3 or 4 would be good) ?

Unfortunately, going to be a bit busy this week so might not get back to this until next week, I'll see how I go.

EDIT: OK, besides having a full path less than 260 characters, you can apparently only have a full directory path of 247 characters maximum.

ie.

C:\plus 243 characters\                            (max 247 chars)
C:\plus 243 characters\16characters.pdf    (max 259 chars)

Otherwise you get this:
New-Item : The specified path, file name, or both are too long. The fully qualified file name must be less than
260 characters, and the directory name must be less than 248 characters.

ADDENDUM: Give the update a try, it should remove any special characters from file names and in theory it'll shorten filenames if it's the length of the filename that pushes the total path length over the 259 character limit.

If, however, it's the path that exceeds the 247 character limit then the file won't be touched, it'll remain in the initial folder ... so goes the theory :-\

ie.
- If the filename has diacritics and various other strange characters, they'll be removed. (At this point no rename happens.)
  An example: This: François-Xavier!!#@$%^&()_+}{ €$¥£¢ ^$.+()[{ 0123456789.pdf will turn into this: FrancoisXavier()_ Yc () 0123456789.pdf
- If the folder path is less than 248 characters and the full path is less than 259 characters, the file will be renamed.
- If the folder path is less than 248 characters and the full path is greater than 259 characters, the new filename will be truncated and then the file is renamed.
- If the folder path is greater than 247 characters, nothing happens - the file isn't renamed, it will remain in the initial folder.

I might have to tweak the Get-ChildItem statement in the Check-PDF routine to ignore file paths greater than 259 characters, see how you go.

Currently doesn't check for the existence of a file with the same name before renaming.
396
Okey dokey, most of the way there now ...

  • Deletes duplicate archives
  • Extracts archives, (including in sub-folders)
  • Deletes small PDFs and empty folders
  • Checks for text/image based PDFs and moves them into different folders, (recreating folder tree) - all it does is count the number of text lines in the first 5 pages, (or less if there's less than 5 total), and if the number is greater than a set threshold regards it as a text based PDF

Only thing left is the long names bit I think.

Updated
397
In fact I think the last big change for WinRAR was the new Version 5 in 2017 (https://www.ghacks.n...h-important-changes/). And alas 7Zip4Powershell won't be updated soon (see https://github.com/t...98f1e274d20675cc2e57 and https://github.com/t...f03ed9e4d0aa226a635f).
edit: "7-Zip v15.06 and later support extraction of files in the RAR5 format" https://en.wikipedia.org/wiki/7-Zip
I did a test with an old rar file and it worked.

I think the problem is with the intermediate DLL it uses, SevenZipSharp, which is actively maintained and did get updated for RAR5: SevenZipSharp

If I can get an updated DLL then it should work OK - might have to reinstall Visual Studio and compile it.

In the meantime I'll get it to use unrar instead.

Changed my mind and just made it use 7z.exe, see the updated script.  Just copy the latest versions of 7z.exe and 7z.dll into the same folder as the script.

Still doesn't do extracted archives ... still thinking about it  :P

You can uninstall the 7Zip4Powershell module by opening an Admin Powershell console and entering:
Code: PowerShell [Select]
  1. uninstall-module -name 7Zip4Powershell
398
Living Room / Re: Migrating from Ymail to Gmail
« Last post by 4wd on November 16, 2019, 06:38 PM »
Is there a way to migrate from yahoo to gmail without losing any data? I need to maintain records of all my emails, more than a decade ago.

1. Install email client with IMAP support
2. Add your GMail account to it using IMAP
3. Add your Yahoo account to it using IMAP
4. Drag all the messages in the Yahoo account to the GMail account
5. Go make coffee

Which is basically what sphere said above since it's the easiest way to do it.

I didn't know this was so easy!

Would this work from IMAP to POP? i.e., so I can archive my Gmail (IMAP) to a private account (POP) which I control and have a local copy of?

Sorry, I've only done IMAP to IMAP but there's nothing to stop you creating both IMAP and POP settings for the same account in the email client.
I suffix IMAP accounts with [IMAP] so I can tell them apart from POP, (using Thunderbird).

BTW, another email client based on Thunderbird: Interlink
399
Living Room / Re: Migrating from Ymail to Gmail
« Last post by 4wd on November 16, 2019, 02:34 AM »
Is there a way to migrate from yahoo to gmail without losing any data? I need to maintain records of all my emails, more than a decade ago.

1. Install email client with IMAP support
2. Add your GMail account to it using IMAP
3. Add your Yahoo account to it using IMAP
4. Drag all the messages in the Yahoo account to the GMail account
5. Go make coffee

Which is basically what sphere said above since it's the easiest way to do it.
400
What happens if the path is longer than 260 characters?
Some old softwares can't open the file later on (also it adds complexity to some of my hard drives and can cause various errors https://www.donation....msg373167#msg373167).

I meant if the path section of the full path to the file is longer than 260 characters, eg. "R:\a path\that is really\really long, like\over 260 characters\file.pdf"

Here is a simple rar file created by "WinRAR 5.71 64bits" for your tests : https://www.cjoint.com/c/IKprhRLGMRD

Well there you go - 7zip can't open that archive, was it created using some strange options?

First one I've come across that it can't handle, (admittedly I stopped using anything but 7z archives a long long time ago though).

Guess I'll have to do a workaround for rar archives and use unrar instead.

I am not sure that I understand but I would like to keep all the kind of files that could be inside the zip files even if there are not pdf files.

OK, just wondering since small PDFs were deleted and it didn't look like anything other than PDFs were being worked on.

Have updated the script above so it doesn't delete the archive if it gets an error.
Pages: prev1 ... 11 12 13 14 15 [16] 17 18 19 20 21 ... 225next