Messages - Hirudin [ switch to compact view ]

Pages: prev1 ... 25 26 27 28 29 [30] 31 32 33 34 35 ... 108next
146
Welp, I made a function that will do it. It uses a list of prime numbers (primes.txt) that must be in the same directory as the "Func_GreatestCommonDenominator.ahk" script.

Also included is an example ahk script that uses the function to reduce a fraction and report by how much the original was reduced.

* GCD 1.1.rar (22.95 kB - downloaded 227 times.)

147
I'm making some AutoHotkey scripts and need to reduce a fraction.

Can anyone help me find the most efficient way to find the highest common denominator between 2 numbers?

I figure I can do a brute force type thing where I make each number "numerator1" and "numerator2".
Take each numerator and divide it by a counter.
 - If the results for each division are integers then I'd make the results the new numerators.
 - If one of the results is not an integer then increase the counter over and over until the counter = the smaller of the numerators
But I figure there's probably a better way...

148
Anyone ever play "The Typing of the Dead"?

Until I set out to find a link to use with the title I didn't know it came out for PC, but it's really fun on Dreamcast!


150
KeePass is awesome! I love it. I pretty much wont consider another password program...

By the way, it works with everything. In the notes section there is 2 commands: "Auto-Type-Window" and "Auto-Type". A.T.W. lets KeePass know what window it's suppose to type into, A.T. tells it what to type.

Here's what I have for DonationCoder...
Auto-Type-Window: *DonationCoder*
Auto-Type: {USERNAME}{TAB}{PASSWORD}{ENTER}
The {USERNAME} variable types whatever is in the username field (like "SendInput" in AutoHotkey), {PASSWORD} types the password field. I use it for tons of stuff, like filling in my city and state when I use an online phone book, and for using DirectoryOpus' FTP Quick Connect. Also registration keys for programs.

It's portable (just unzip it), OS, etc. etc.! I can't say enough about it.

Pages: prev1 ... 25 26 27 28 29 [30] 31 32 33 34 35 ... 108next
Go to full version