topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Sunday June 29, 2025, 4:53 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 ... 142 143 144 145 146 [147] 148 149 150 151 152 ... 225next
3651
Living Room / Re: Best Vodka IMHO
« Last post by 4wd on June 28, 2012, 05:11 AM »
Polish Pure Spirit (160 Proof) - guaranteed for a night you'll never remember  :Thmbsup:

Use the Rectified Spirit if you want to get there faster  ;D
3652
Living Room / Re: Google Tablet
« Last post by 4wd on June 28, 2012, 04:54 AM »
.... a double screen so it's like a proper book. (Someone has got to make such a device eventually - until then, I don't think we are anywhere near having a proper electronic book.)

Toshiba Libretto W105

51ZUpa+al-L._SL500_AA300_.jpg

They were a limited edition, update it with current 1280x800 IPS displays and a Tegra3 - I think that might fly.

I'm actually surprised you don't have one  ;D
3653
Living Room / Re: Google Tablet
« Last post by 4wd on June 28, 2012, 01:04 AM »
Also, theres nothing stopping anybody from hooking up a 64GB thumb drive for extra content.
-Stephen66515 (June 28, 2012, 12:15 AM)

Or just buying a tablet from a manufacturer who has foresight.  I haven't seen anything anywhere that says it will function as a USB Host, so how are you going to hook up a flash drive?

ASUS MeMo 370T 16GB + microSD vs Google Nexus 16GB - if they're at the same price point, (or even if the 370T is ~$20 more), then why would you even bother with the Nexus?
3654
Living Room / Re: Google Tablet
« Last post by 4wd on June 27, 2012, 11:08 PM »
Where's the freaking "Indifferent" smiley?  :P

Can't get more indifferent than this ->

 :P

But back to the tablet: Where the flock is the external storage you cretins!?!
3655
I'm not sure but I think what Contro is saying is:

a) If no file is selected, return the Window address field to the clipboard.
b) If a file is selected, return the full path of the file.

Feel free to ignore me if I'm wrong :)

Of course, with my non-knowledge of AutoHK you might have already answered the question, in which case feel free to  :trout:
3656
Living Room / Re: Google Tablet
« Last post by 4wd on June 27, 2012, 08:22 PM »
WANT WANT WANT OMG WANT!
-Stephen66515 (June 27, 2012, 06:42 PM)

I thought that was nudone's chant ?

 :P
3657
Finished Programs / Re: DONE: Are any of the files missing???
« Last post by 4wd on June 27, 2012, 08:13 PM »
It does do what I think you want, but as ever with GNU/FSF, is inscrutable.  Don't overlook that you can combine arguments.  Consider two files:

1.txt        2.txt    
-----        -----    
Ash          Ash      
Holly        Beech    
Oak          Holly    
Rowan        Rowan    
Whitebeam    Whitebeam

Then:

c:\Zdir>c:\dos\Utils\comm.exe -3 1.txt 2.txt
        Beech
Oak


Oh that is surely inscrutable, pretty much goes against my knowledge of the word suppress, ie. suppress = remove;hide;subdue       ;D


However, the File Intersection program looks pretty well spot on.  :Thmbsup:
It's good, but as I recall it, insists on writing all three files each time.  That means that in batch processes, you have to remember to delete the unwanted as well as wanted ones afterwards.  But, it seems more intuitive than comm.

But at least you would be able to associate an output file with an input list which would get you the path, (well, at least the initial folder path pertaining to each list).

I have an idea on how to get path output with filename but it involves modifying the sub-routine that returns the file list, (someone else's), into outputting a two dimensional array rather than one.
Speeding up the processing, I've realised, is easy (read: I'm stupid), but still wouldn't be as fast as the CLI C based alternatives I'd say.

Are we going to forgo the chance to call it TCBOO aka Highlander's There Can Be Only One?

I did think of that but I didn't want to sully the name of a semi-decent movie  ;D

In present test the progress bar has already gone from left to right, but job appears incomplete.

Mea culpa....I didn't realise the progressbar is virtually useless with large numbers so I've removed it and just added a statusbar that spits out the numbers as it progresses.

Also made each folder individually recurseable, (Am?), and will add a button to stop the process, (or change the Go button to Stop).

Update :up: thatta way
3658
General Software Discussion / Re: Checking Bad sector in HDD and ExtHDD
« Last post by 4wd on June 27, 2012, 03:27 AM »
Just ran across this thread, nobody mentioned Steve Gibson's Spinrite?
Hm-m-m ... haven't tried SpinRite for many a year.  But I'm doubtful that it'd do anything more than the tools mentioned.  It was developed for an older HD technology, when software could actually have an effect on the hardware.

I tried it once a while ago, (on an RLL based drive IIRC).  I was trying to see if it would sufficiently "rejuvenate" a drive to recover some files - I stopped it when the sector count reached a point that was four times the number of sectors on the drive.

After that I decided those types of programs weren't worth the trouble - zero fill & verify will be the most I do for a suspect drive now.
3659
DC Gamer Club / Steam Midweek Madness - 75% off L.A. Noire
« Last post by 4wd on June 26, 2012, 09:10 PM »
As it says, click the image:

2012-06-27_11-52-25.jpg

BTW, is it worth putting these up, (for Steam I mean) ?

I would think that most people who were interested would already have some method of notification.
3660
General Software Discussion / Re: Checking Bad sector in HDD and ExtHDD
« Last post by 4wd on June 26, 2012, 08:44 PM »
Just ran across this thread, nobody mentioned Steve Gibson's Spinrite?

1) friends don't let friends use SpinRite. Just thought I'd have to add it since it was mentioned.

If somebody starts using SpinRite on a drive with bad sectors and an upcoming head-crash... well...  :rip:

DRevitalize, Chkdsk, MHDD, etc could probably also fall into this category, since they both stress the drive to some extent you'd be well advised to recover as much data as possible before running any surface testing program over a marginal drive.
3661
General Software Discussion / Re: Checking Bad sector in HDD and ExtHDD
« Last post by 4wd on June 26, 2012, 08:08 PM »
Lets say you have a HDD that starts developing bad clusters and by the time you find out the problem there is N bad clusters:

.....

The longer one make his/her final decision the more data will be lost and the more he/she suffers. I really can't figure out why this matter can become purely subjective?

I don't know if you realise it but you are arguing for my case :)

Different circumstances = Different decision

As I've said all along.

An objective decision would be made if the drive stopped working completely, (eg. apply power and nothing happened)....but it hasn't so the choice is still up to the individual, (ie. subjective).

As soon as REAL bad cluster is found, trashing the HDD is a matter of affirmative and securing as much as possible data on it is an urgency... remember this:
Restoring backup to a new HDD is always easier and take much shorter time than rebuilding it from scratch.

The fact that manufacturers provide spare blocks shows that they expect there to be sector failures over the life of the drive - it's whether or not the number of those is excessive, in what circumstances, (time frame), they occurred and the life of the drive that would be of more interest to me in determining whether or not the drive is still suitable for my purposes.
3662
Finished Programs / Re: DONE: Are any of the files missing???
« Last post by 4wd on June 26, 2012, 07:48 PM »
Would be a plus for the program to give some idea it's still chugging along, especially on large comparison jobs.  In present test the progress bar has already gone from left to right, but job appears incomplete.  I'll keep letting it run for... a week.

If job completes successfully, will a text file list of the one-only files appear in the TIOOO directory?

It outputs a text file to your system temp directory, (currently WTFlist.txt because I forgot to change the output filename :) ).

Okay, list popped up in my default editor.  Worked like a charm!

So that was about an hour for how many files in total, (folder 1 + 2) ?

Maybe I can speed it up.  BTW, any chance you can ZeroZip the two folders and make them available for testing with?

However, it now occurs to me that in your case, another Unix utility might be better, comm, e.g. the one contained in GNU utilities for Win32:
Usage: comm [OPTION]... LEFT_FILE RIGHT_FILE
Compare sorted files LEFT_FILE and RIGHT_FILE line by line.

  -1              suppress lines unique to left file
  -2              suppress lines unique to right file
  -3              suppress lines unique to both files
      --help      display this help and exit
      --version   output version information and exit

I think that's the opposite of what we're trying to do - we want to suppress lines that are common to both files.

However, the File Intersection program looks pretty well spot on.  :Thmbsup:
3663
Living Room / Re: Odd cookie problem
« Last post by 4wd on June 26, 2012, 07:40 PM »
Have you tried deleting Firefox' two cookie sql files?

cookies.sqllite & cookies.sqllite-journal in your Firefox profile directory.

Maybe they've become corrupted, Firefox will create new ones the next time it runs, (well it should).
3664
Living Room / Re: Raspberry Pi's $35 Linux PC
« Last post by 4wd on June 26, 2012, 07:30 PM »
I was leaning toward the arduino for this very reason (I have a small robotics project in mind).  I've done a bit of research, and as you say there are any number of resources available, but as this is potentially a very complex subject I guess I was looking for a recommendation of a good entry point.

You could connect multiple Arduino together using it's I2C bus, ethernet or GPIO.  Using the Arduino Nano you could possibly break down a complex project into a set of discrete modules.

Arduino I2C interconnection
3665
Living Room / Re: Odd cookie problem
« Last post by 4wd on June 26, 2012, 07:18 PM »
Anybody? Anybody? :)
Seems like the whole DC community is "working" for kalos & contro nowadays.

You forgot nkormanik  :P


@Carol: OK, a far out idea but some sites know when you're logged in from two places, (eg. GMail).

Could it be that the Nectar site is the same and sets all cookies other than the first logon to be session only ?

ie.  If you log out of the site on your desktop, remove it's cookie (probably not necessary), and then log in from your laptop, will it remain logged in across sessions ?
3666
General Software Discussion / Re: Checking Bad sector in HDD and ExtHDD
« Last post by 4wd on June 26, 2012, 07:16 AM »
The OP has now said the drive was dropped, (it's like getting blood from a stone with some people :) ), if it was me, I wouldn't be using it any more - most likely the heads would have bounced which won't have done them any good.

...You gotta watch those pesky details.  :wallbash:


You got that right, I slammed my fist down on my desk a few months ago - a month later a 1.5TB suffered head detachment.

Coincidence ?  I'd like to say so but.......  

:-[
3667
Living Room / Re: Odd cookie problem
« Last post by 4wd on June 26, 2012, 06:28 AM »
Does a cookie actually get set, eg. Firefox->Options->Privacy->Show cookies ?

And does it show a use-by-date ?
3668
Finished Programs / Re: DONE: Are any of the files missing???
« Last post by 4wd on June 26, 2012, 06:22 AM »
TCBOO - output will open in your default text editor, where you can view or save it.

TCBOO = There Can Be Only One   :) (In honour of TaoPhoenix)

2012-07-02_22-04-17.jpg

Only files that exist once will be listed.

The interface is self-explanatory, tool tips for everything of interest.

Caveats:
  • It can, in theory, only handle about 16 million files but I still wouldn't like to wait for the output.  Technical reason: Array limits.
  • It uses strings for the comparison, maximum string length is ~2 Giga-characters - which is a lot.  However, if you're are doing a lot of really deep nested files, then this limit may be exceeded but it would really have to be a lot.
  • Source code is messy and uncommented but hey, that's the way I like it.  Technical reason: It keeps my brain active.

Update (starting at v0.4 which was a fairly large rewrite):
  • Comparison speed has increased due to skwire pointing out a rather simpler way of doing things - thanks skwire!
  • You can optionally exclude the folder tree, (relative to initial path), from the comparison
  • Filters and Folders are written to an ini file, (same name as executable), when you exit
  • It works for network shares, (ie. really hacky mod that stopped it is no more)

Update (v0.5)
  • Uses a much faster sort routine.

Differences from previous version:
  • It only looks for and removes from the output, files that occur in multiples of 2 - I had over-engineered the previous versions to remove any file that occurred 2 or more times, as skwire kindly pointed out  :-[
    eg. So if a file exists 3 times, it will appear once in the output.  If it exists 4 times, it won't appear in the output. (Dependant on Different Tree setting)

How much faster is it from the previous version?
On my computer, (3.3GHz x6):
Previous version: 54548 filenames in 281 seconds, (HDD uncached read)
Version 0.4:        54550 filenames in 5 seconds, (HDD cached read)
Version 0.4:        253350 filenames in 63 seconds, (SSD uncached read)
Version 0.4:        253350 filenames in 28 seconds, (SSD cached read)

Most of the time is spent getting the file lists as from v0.5.
3669
Finished Programs / Re: DONE: Generate sequential serial numbers
« Last post by 4wd on June 26, 2012, 12:15 AM »
@4wd your version of _IniBool() would never return True. The reason is values read from ini files using IniRead are always strings.

It would have returned True if $val = 1, $val = '1' or $val = True - the only case it failed was if $val = 'True' because the implicit Number() call returns 0 for 'True'.

So yeah, my goof  :-[

Code: AutoIt [Select]
  1. Func _IniBool($temp)
  2.   Return ($temp = 1 Or (Not StringCompare($temp, "true")))

My excuse is I was writing it on my netbook, lying in bed, with less than 3 minutes of battery remaining  :)
3670
Post New Requests Here / Re: Wish list program
« Last post by 4wd on June 25, 2012, 11:15 PM »
What can i do ?

Screenshot - 26_06_2012 , 14_13_33.png
3671
Finished Programs / Re: DONE: Batch adjust shortcut targets
« Last post by 4wd on June 25, 2012, 09:27 PM »
Albeit hard to find, there already is a GUI tool that can alter shortcuts: Shortcuts Search And Replace

I don't think that can change the actual target, just the target path, (and other bits).
3672
General Software Discussion / Re: Checking Bad sector in HDD and ExtHDD
« Last post by 4wd on June 25, 2012, 09:19 PM »
No offence, but I think it is very inappropriate to advocate the idea that HDD with bad sectors (or clusters) can still be healed ... by whatever program, you named it.

None taken, (and I hope I don't cause any), but my point was: until you know what you're dealing with, (software or hardware, temporary or permanent), then just saying the drive is terminal, (for me anyway), goes against all the years I spent as a technician.

But I also understand the point you and SJ make where you're dealing with business/critical systems, which is why I said it depends on the circumstances.

How much is your data worth?
How much time do you want to spend on it?
How much money do you want to spend?
Can you live with the potential failure or worry about it constantly?

It's a purely subjective decision.

The OP has now said the drive was dropped, (it's like getting blood from a stone with some people :) ), if it was me, I wouldn't be using it any more - most likely the heads would have bounced which won't have done them any good.
3673
Finished Programs / Re: DONE: Generate sequential serial numbers
« Last post by 4wd on June 25, 2012, 07:54 PM »
I'm one of those strange people that always try to use the smallest amount of space possible: in electronics I pack components together on a board, (and then have fun finding the faults); packing items, I'll try to use the smallest practical space; in code, I'll look for less lines.

Easy to see it as boolean instead of string.) That's why I came up with _IniBool() function. It seems trivial but with it you can actually use Boolean values in AutoIt variables and True or False will be written to the .ini using IniWrite. If the user changes it to 1 for true and 0 for false, it still functions as expected.

Func _IniBool($val)
    If $val = "True" Or $val = "1" Then Return True
    Return False
EndFunc   ;==>_IniBool


Code: AutoIt [Select]
  1. Func _IniBool($temp)
  2.   Return ($temp = 1 Or (Not StringCompare($temp, "true")))
3674
Finished Programs / Re: DONE: Are any of the files missing???
« Last post by 4wd on June 25, 2012, 07:03 PM »
Using a bit of Google-fu:

This batch file will get you a list of files sans paths, (rename output file before running a second time):

Code: Text [Select]
  1. REM listfile.bat
  2. @echo off
  3. for /r %1 %%g in (*) do echo %%~nxg>>list.txt
  4. sort list.txt /O sorted.txt
  5. del list.txt

eg. listfile.bat c:\ will give you a file called sorted.txt containing a list of every file on C: drive

WinMerge, (free), will let you compare two text files for differences.

BTW, WinMerge will also compare folders but my way added a bit of scripting  :P

I suppose a simple GUI frontend could be made using Auto(It|HK) to automate all the steps, ie. pick two folders, hit Go.
3675
Finished Programs / Re: DONE: Batch adjust shortcut targets
« Last post by 4wd on June 24, 2012, 01:33 AM »
OK, I was bored so I thought I'd have a play around and came up with BSM, (guess what that stands for).

2012-07-09_20-21-43.jpg

It'll modify shortcuts according to the regex entered - for modify read: it will delete and then create a new shortcut according to the modified information.

You can test what will happen by checking the Test box, only the first 20 shortcut manglings will be displayed.  If you enter nothing in the regex fields and hit the Go button then it will delete and then create the existing shortcuts with no changes - think of it as 'refreshing' your stale shortcuts.

****NOTE**** All the pictures changed with v0.2+ - that's why they're not here anymore.

For a roundup of the regex you can use, see here, for more than you ever wanted know, see here.

You can also click on the RegEx to have it open the first page in your browser, (images were grabbed before I added the RegEx link - I'm not going crazy, it only looks like it).

DISCLAIMER: Because I code for my enjoyment and not others: No error checking, trapping, safety nets, etc.  :)

By design the program should only ever effect shortcuts, (*.lnk), but if you get it to launch a pre-emptive nuclear strike against Melbourne, Australia, just remember......I won't be around to fix the bug.

It's all in the archive up here.

Are you saying that you have 32,220 rules/entries in File Punter?  If so, why?

I think he means running over two lots of 16110 files, (number of image files quoted in another post).
Pages: prev1 ... 142 143 144 145 146 [147] 148 149 150 151 152 ... 225next