Welcome Guest.   Make a donation to an author on the site August 02, 2014, 03:40:33 AM  *

Please login or register.
Or did you miss your validation email?

Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.

You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
Your Support Funds this Site: View the Supporter Yearbook.
  Forum Home Thread Marks Chat! Downloads Search Login Register  
  Show Posts
      View this member's profile 
      donate to someone Donate to this member 
Pages: Prev 1 ... 19 20 21 22 23 [24] 25 26 27 28 29 Next
576  DonationCoder.com Software / FARR Plugins and Aliases / Re: Definr.com plugin on: February 22, 2008, 07:43:55 AM
Great. I'll try it now.  edit: works fine"  Thmbsup

Two more things:
- the ninjawords plugin page says "nw - to start Definr plug-in" when you really mean "nw - to start Ninjawords plug-in".
- note that: "nw school, wall " is not needed for multiple lookups. "nw school,wall " is enough. That way the plugin accesses the Ninjawords site only once compared to twice.

Using http://ninjawords.com/definitions/getdef/test from the beginning would probably have been best, but I'm not sure if its needed now.
How many milliseconds do you think we'll save by using it? Grin
577  DonationCoder.com Software / FARR Plugins and Aliases / Re: Definr.com plugin on: February 22, 2008, 07:14:23 AM
I just tried your version of the Ninjawords script. It did not run here. After entering the search string I get "please wait..." and then nothing happens. Not sure why. Does it work for you? I updated my version some more based on your code (simplified the replace steps, made each search phrase bold). Feel free to use it.
[copy or print]
function doQuery(querykey,querynokeyword){
    var url = "http://ninjawords.com/"+querynokeyword;
    var xmlhttp=new ActiveXObject("MSXML2.XMLHTTP");
    xmlhttp.onreadystatechange = function(){
      if (xmlhttp.readyState == 4) {
        var string = xmlhttp.responseText;
string = string.replace(/\n|\t/g,'');
var splitString = string.split('<dt class="title-word">');
        var string ="";

for (var i=1;i<splitString.length; ++i){

    if (i > 1) {
               string +="\\par -----------------------------\\par ";
splitString[i] = "\\b " + splitString[i]
        splitString[i] = splitString[i].replace(/<\/dl>.*?$/,"");
splitString[i] = splitString[i].replace(/<dd.*?>/g,'\\b0 \\par\\par ');
        splitString[i] = splitString[i].replace(/ :<\/span>/g,": ");
splitString[i] = splitString[i].replace(/more&raquo;/g,'');
splitString[i] = splitString[i].replace(/&mdash;/g,'-');
        splitString[i] = splitString[i].replace(/<.*?>/g,"");
string += splitString[i];

I forgot to mention one more advantage with Ninjawords: if you spell a word wrong it automatically guesses the word and shows the definition - try "nw footbaall ". Definr on the other hand shows a list of terms and forces the users to choose one.

As for that XML thing I think I understand what you mean. Promising. I can already think of several websites that I'd want FARR to grab specific content from and display to me in an instant. But I'm not sure if people will prefer that over site specific plugins. And I don't know how to write XML so I can't help much I'm afraid.

edit: I now saw that you created a new thread ( http://www.donationcoder....m/index.php?topic=12421.0 ). The ninjawords version on your page does return definitions. But I think there is some error in the parsing code. Try "nw test,gone " and "nw gone,test ". In the first case, the bold "gone" is missing. In the second case, both "gone" and it's definition is missing. I'm not sure what the cause of that is.
578  DonationCoder.com Software / FARR Plugins and Aliases / Re: Definr.com plugin on: February 22, 2008, 04:08:44 AM
It's better that you do it since I based my version on your code and you have a page set up already.

I'm myself more and more convinced that ninjawords is better than definr. It is noticeably faster from my location. It also gives definitions that are shorter and more to the point (which is almost always enough). It also allows multiple lookups in one search. The only drawback I can find with ninjawords is that it gives errors when the search phrase contains dots (try searching for "i.e."). I'll email the ninjawords dev about that.

Perhaps in the future your plugin could be expanded with some option where the user can choose what definition site to use (Definr, ninjawords, possibly others...)? Since some might still prefer definr.

I also must make a general exclamation: these javascript plugins (and the underlying javascript SDK) has really opened up my eyes to how great FARR can be at interacting with the web (doing queries, grabbing content...).  Thmbsup
579  DonationCoder.com Software / FARR Plugins and Aliases / Re: Definr.com plugin on: February 21, 2008, 04:20:11 PM
I've now testdriven the plugin some more. The searches are not always incredibly fast, despite what definr.com claim. Pretty often they take several seconds.

I found a similarly clean site, http://ninjawords.com/ , that seems faster (at least from my location). We're only talking slightly faster, but still. So I tried to learn from your fscript.js to grab definitions from ninjawords.com instead. The resulting code follows below. Do you spot any errors? It at least seems to run ok but I don't really know javascript or the FARR javascript SDK so there might be errors. The many replace functions look very messy but I'm not sure how to simplify them.

Also, a general question (maybe mouser or someone else can answer this too): is it possible to make some phrases in the grabbed text into hyperlinks when displayed in FARR?

edit: I tweaked it some more so that it now supports multiple lookups at once. Just type "nw word1,word2 " (see http://ninjawords.com/info/about/ for more on that)

[copy or print]
// plugin script :
author="nod5 (based on Definr plugin by Oldrich Svec)";
longdescription="defines words through http://ninjawords.com";

regexstr="^nw (.*?) $";
scriptregex=/^nw (.*?) $/;

// type
// Postprocessing
// search state

var pre_string = "{\\rtf1\\ansi\\ansicpg1250\\deff0\\deftab709{\\fonttbl{\\f0\\fnil\\fcharset0 Arial;}}{\\colortbl ;\\red255\\green0\\blue0;}{\\*\\generator Msftedit;}\\viewkind4\\uc1\\pard\\lang2057\\f0\\fs18 ";
var post_string = "\\par\n}";

function doQuery(querykey,querynokeyword){
    var url = "http://ninjawords.com/"+querynokeyword;
    var xmlhttp=new ActiveXObject("MSXML2.XMLHTTP");
    xmlhttp.onreadystatechange = function(){
      if (xmlhttp.readyState == 4) {
        var string = xmlhttp.responseText;
string = string.replace(/\n/g,'\\par');
var splitString = string.split('<dt class="title-word">');
        var string ="";

for ( var i=1, len=splitString.length; i<len; ++i ){

    if (i > 1) {
               string +="\\par -----------------------------\\par ";
        splitString[i] = splitString[i].replace(/<\/dl>.*?$/,"");
splitString[i] = splitString[i].replace(/<dd.*?>/g,'\\doublepar ');
        splitString[i] = splitString[i].replace(/ :<\/span>/g,": ");
splitString[i] = splitString[i].replace(/more&raquo;/g,'');
splitString[i] = splitString[i].replace(/&mdash;/g,'-');
        splitString[i] = splitString[i].replace(/<.*?>/g,"");
splitString[i] = splitString[i].replace(/\t/g,'');
splitString[i] = splitString[i].replace(/\\par\s*?(\S)/g,'\\par$1');
splitString[i] = splitString[i].replace(/\\par/g,'');
splitString[i] = splitString[i].replace(/\\doublepar/g,'\\par\\par');
string += splitString[i];

function onSearchBegin(querykey, explicit, queryraw, querynokeyword) {
  if(!explicit) {
    if(aliasstr.indexOf(querynokeyword)!=-1) {
      FARR.emitResult(querykey,aliasstr, aliasstr, iconfilename,ALIAS,IMMEDIATE_DISPLAY,300);
  FARR.setStrValue("window.richeditmode",pre_string+"Type what you want to search and hit Space"+post_string);

function onRegexSearchMatch(querykey,querynokeyword) {
  FARR.setStrValue("window.richeditmode",pre_string+"Please wait..."+post_string);
  var match_reg = querynokeyword.match(scriptregex);

580  DonationCoder.com Software / Find And Run Robot / sort matches strictly based on date created criteria? on: February 20, 2008, 04:15:33 PM
Is this possible in the current version of FARR: The user does a regular search which yields N number of matches. Because a special command was added to the search FARR sorts the matches strictly based on the date the files where created (the newest are displayed first). This date sorting should override any other ranking rules.

Just to make things clear, I only want this for some special searches, not for most searches, so I'm looking for some extra command to use in such special cases.
581  DonationCoder.com Software / FARR Plugins and Aliases / Re: Definr.com plugin on: February 20, 2008, 01:56:43 PM
Nice work czechboy! Very useful plugin!  Thmbsup

A small suggestion: it takes me more time to find the "," key compared to the space key. I managed to tweak your fscript.js so that "df football " triggers the search instead of "df football,". The plugin can still look up definitions for space separated phrases: "df foul ball ". It starts to search for "foul" but interrupts that when new non-space characters are entered and then searches the whole phrase "foul ball" when the next space is entered. I hope you'll consider using space for triggering the search in your official version.

I just changed:
[copy or print]
regexstr="^df (.*?),$";
scriptregex=/^df (.*?),$/;
[copy or print]
regexstr="^df (.*?) $";
scriptregex=/^df (.*?) $/;

edit: I also decreased the font size (from f26 to f18) to lessen the number of linebreaks in the definition texts

582  DonationCoder.com Software / FARR Plugins and Aliases / Re: Google Translation Plugin on: February 17, 2008, 04:48:18 PM
This translation plugin looks great! It is quicke to use compared to having FARR opening a page in the browser. Has anyone thought about writing a similar plugin that replaces/supplements the default "define" action in FARR? Example: typing "df football" could trigger a plugin that shows the english definition for the english word football (="the greatest sport ever") in the FARR results field, similarly to how the translation plugin works. The definitions could be pulled from definr.com or from one of the site used in the current define action in FARR.
583  DonationCoder.com Software / Coding Snacks / Re: my app to quickly save page URL, title and tags to .url -- anyone interested? on: February 17, 2008, 03:44:42 PM
Tourl version 080217
The .zip file attached to this post contains
the compiled tourl.exe (md5 = dfc0b825750d78efe1146afd06ef532a)
the source code tourl.ahk (md5 = 36aab907237edce66a60d0a5f49f874b)

changelog:   - Added instruction for editing and compiling tourl.ahk to do site specific title replacement actions

Read "tourl_replacement_actions_instruction.txt" for details.
The .txt has replacement action code for: donationcoder , boingboing, askmetafilter, wikipedia
If you write some useful replacement actions then please post them to this thread!  Thmbsup

edit 080331: removed attachment, get latest tourl at http://nod5.dcmembers.com/tourl.html
584  Main Area and Open Discussion / General Software Discussion / Re: How many of you use encryption? on: February 09, 2008, 02:41:36 PM
You are right. I wasn't thinking (not enough anyway  cheesy) when I wrote that about CPU-heavy activities.
I want keyfile support only because it is so much more convenient, not more secure.
585  Main Area and Open Discussion / General Software Discussion / Re: How many of you use encryption? on: February 09, 2008, 07:53:13 AM
After doing a disk repair through the SeaTools for DOS boot-CD ( http://www.seagate.com/ww...upport/downloads/seatools ) I've now gotten truecrypt 5.0 system encryption to work.  Thmbsup

I've experience no performance hit and have no other major drawbacks to report either. But I haven't yet tried any CPU-heavy activities like gaming.

The system encryption supports passwords only, not keyfiles. I hope they add some smart support for that in the next version so that the bootloader at startup autosearches for a file with a certain name on any connection usb device and then tries to use that as a keyfile.
586  Main Area and Open Discussion / General Software Discussion / Re: How many of you use encryption? on: February 06, 2008, 05:23:33 PM
Great that it is released!

Has anyone gotten the new system encryption (WDE) to work yet?

I tried twice to do it on a test system with and without secure overwriting but got a CRC-error half way through each time. I did a chkdsk inbetween these two attempts and that showed no errors. Maybe something else installed on that machine is interfering with TrueCrypt.  huh Tomorrow I'll put an image of a clean XP install on the same testmachine and see if I succeed with system encryption on that.

Some interface issues for the new features definitely needs to be improved. For example, it would be very useful if TrueCrypt could give you an estimate of how long time the encryption will take BEFORE you start the actual encryption. That way, the choice of what level of overwriting you want would be easier to make. TrueCrypt currently only gives a scary fixed estimate saying that opting for overwriting (3, 5 or 35 times I think) may mean that encryption can take a week to complete, or something like that. Not very helpful.
587  DonationCoder.com Software / Post New Requests Here / Re: IDEA: Batch read nfo files in RAR archives on: February 05, 2008, 04:22:19 PM
I think the command line tool UnRAR , http://www.rarlab.com/rar_add.htm , can do what you want, at least in combination with some scripting language like autohotkey.

this command line phrase would extract only .nfo files from the archive:
[copy or print]
unrar e -n*.nfo ARCHIVE_NAME.rar
I don't have time to put together a working script at the moment. embarassed But hopefully you or someone else can do it.
588  Main Area and Open Discussion / General Software Discussion / Re: Simple audio DB app. to launch default player on: February 05, 2008, 04:05:30 PM
hi parpfish,
I would also love to find the kind of db application that you request here!  Thmbsup
I searched for something similar (as far as the separation of music catalog and music player goes at least) in this old thread http://www.donationcoder....ic=9125.msg68731#msg68731 . But I did not find what I was looking for. I hope some good suggestions crops up in this new thread!
589  Main Area and Open Discussion / Living Room / Re: How do you repair screw holes in computer case after too much use? on: February 04, 2008, 10:13:24 AM
When some screws for a computer case of mine went missing I successfully replaced them with small zip ties. Pull one zip tie through the hole until the "head" of the zip tie stop it. Then tighten it on the other side by using a second zip tie. Then trim the non-needed "tails" of the two zip ties. I hope you understand what I'm saying with "head", "tail" and so on here.
590  DonationCoder.com Software / Find And Run Robot / Re: [bug report] 'Switch from Large to Small Icons on Dirlist' display problem on: January 31, 2008, 02:00:32 PM
I have a problem similar to this so I'm posting in this thread...

The screencaps speak for themselves. This is a how a normal search with two or more matches matches looks like:
One match:
Zero matches (the search phrase was "xzyzx" or something like that):

The last case is especially problematic because whenever I mistype in FARR I run the risk of not seeing the editbox (since there are no matches). I then don't see what I mistyped and have tap backspace until the phrase is short enough to find some matches.

Can I somehow force FARR to always show the editbox, even when there are no matches?

Here are my current settings:
591  Main Area and Open Discussion / General Software Discussion / Re: How many of you use encryption? on: January 31, 2008, 01:18:46 PM
The truecrypt homepage now states:
"Next release 5.0 scheduled for:  February 4, 2008  "
So four days left until we have open-source WDE for windows!  Thmbsup
592  Main Area and Open Discussion / General Software Discussion / Re: Best free firewall for Windows? on: January 30, 2008, 04:02:02 AM
I've used Outpost Pro Firewall (non-free) in the past. What I like about it is the level of detail in the information it provides me and in the range of actions I can choose from. But despite being better at such things compared to other software FW I tried it was still somewhat limited. It often asked me for decisions based on scarce information and few choices.

Example 1: some component had changed but there was no easy way for me to get more details about it (its path, its "track  record" of changing, related components and I couldn't just copy its name to the clipboard for web searches)

Example 2: some process wants net access but I can only choose between "create rule" (subcategories always allow/always block/custom), "allow once" and "block once". (I don't remember the names Outpost uses exactly, but something like that). I would often have preferred "allow the next ___ minutes" where a dropdown would let me set the time.

So, can anyone here point me to an in other regards decent free firewall that provide VERY much information and have VERY many alternative actions?
593  Main Area and Open Discussion / General Software Discussion / Re: Idea: File note on: January 28, 2008, 11:31:11 AM
Hi Cuffy and others,
I haven't checked this thread for a while so I've missed some discussions. To reply to the most recent issue, filenoter.exe is written in the Autohotkey (AHK) language and compiled with the tool ahk2exe that come bundled with AHK. It is a well known issue that such compiled scripts from time to time get flagged by various AV and other security software as some form of malware despite not being anything of that kind.

See this thread in the AHK forum for some examples: http://www.autohotkey.com/forum/topic27562.html

Since is is possible to write malware with AHK (or any other language) it is a good to be careful if an AHK application gives these kinds of AV-warnings. But in many cases the AHK application is distributed together with the source code and then the matter can easily be settled by glancing through the source to assure no harmful code is included and then compile it yourself. If the resulting .exe still gives AV-warnings then it can be treated as a false positive and added to the exclusions in the AV-program.

The source for filenoter.exe is included in the .zip posted previously in this thread so feel free to check it out.
594  Main Area and Open Discussion / General Software Discussion / Re: Best free firewall for Windows? on: January 24, 2008, 03:43:19 PM
Does anyone here have experience from using an old computer, two or more network cards and running some linux firewall distribution ( http://en.wikipedia.org/w...ing/firewall_distribution )? If so, then I'd love to hear what you think the pros and cons of that compared to a regular software firewall are, since I'm thinking of putting such a "home made hardware firewall" together from various old computer parts.
595  Main Area and Open Discussion / General Software Discussion / Re: IM & online file host combination? on: January 24, 2008, 11:33:10 AM
jazper: thanks for confirming that.
nite_monkey: Yes, that would work for all IM systems that support offline messaging. ICQ also supports that. But I'd prefer some automatic solution.

Thinking some more about this, an automatic solution need at least these features:
1. IM system with support for offline messaging
2. IM system with support for plugins that can react to drag and drop of files
3. file host that supports "private drop spots" (password required to edit and download, but not to upload)
4. file host that support access to (uploading and downloading) private dropspots through external scripts or programs.

and as a bonus feature:
5. PGP encryption tool for encrypting/decrypting files before/after upload/download.

1, 2 & 5 seems to be available. I'm more unsure about 3 & 4.
596  Main Area and Open Discussion / General Software Discussion / Re: IM & online file host combination? on: January 23, 2008, 07:36:31 PM
hi jazper,
I didn't know about Share Folder in Messenger at all since I've actually never used Messenger so thanks for the info. This is what wikipedia says ( http://en.wikipedia.org/w...Messenger#Sharing_folders ) :
The Sharing Folder feature of Windows Live Messenger is an alternative to the "direct transfer" method of file distribution. When a user wants to deliver a file to another person on his or her contact list, the "sharing folder" window appears, which is an individualized representation of all previously shared items.

When files are added to the "sharing folder" for that particular person, the file will automatically be transferred to the corresponding computer when they are online. This means that the folder is literally "shared" between two computers. If a user deletes a file, for example, the file will also be deleted from the corresponding computer's shared folder.
Just to be sure, is this correct: when sending to an offline contact through this Share Folder functionality, nothing is sent to a third party (like a microsoft server). Instead, my local Messenger client puts sending the file on its todo list and later when the contact gets online, and the senders computer is still online, Messenger transfers the file automatically.
597  Main Area and Open Discussion / General Software Discussion / IM & online file host combination? on: January 23, 2008, 12:01:00 PM
The fields of IM (instant messaging) and online file hosting seems to be buzzing with activity and new developments. I'd like to hear if there currently are any interesting ways to combine them.  tellme

IM (instant messaging) is in itself often sufficient for sending files when both sender and recipient are online. But it would sometimes be useful to through the IM window initiate sending of files not to a contact's local computer but rather to some online hosted drop spot that the user has. Here's an example of what I'm looking for:

User A has user B in his IM contact list. B is currently offline. A drags and drops file X on B's name in the IM window. The file is then sent to a private drop spot online somewhere. When B logs on, he has a message saying X has been added to his private drop spot. B can click to download the file X to his local computer, or delete it or keep it in the drop spot.

With "private drop spot" I mean that only B can see and edit it and download from it. Others, maybe just approved others, can only upload to it. http://drop.io/ seems to be in the vicinity of what I have in mind for the online hosting part.

Possible extra feature that would be good: encryption through PGP (or some alternative) so that A's IM client encrypts the file utilizing B's public key before the file is uploaded to B's drop spot (as an extra privacy measure vs the online file host).
598  News and Reviews / Mini-Reviews by Members / Re: List of disc catalogers on: January 23, 2008, 05:09:56 AM
mwb1100, yes I know that but google still ranks the old site as no 1 so that's where I ended up. After writing about this here I hope I'll never make that mistake again. We'll see how that goes in six months or so Grin

noblejoker: I think most of the programs in this giant list are focused on cataloging discs (CDs, DVDs) and folders by scanning their filesystems. It sounds like you need another type of database. Just a thought: I haven't tried the range of programs by Collectorz.com http://www.collectorz.com/music/ (commercial), but according to their site they support importing items through bar code scanning. Maybe that works for LP:s too?
599  Main Area and Open Discussion / Living Room / Re: Cat on a Dolphin - amazing physics driven flash game on: January 20, 2008, 06:57:38 AM
I posted in the wrong forum section - can someone help me move this thread to the living room?
600  Main Area and Open Discussion / Living Room / Cat on a Dolphin - amazing physics driven flash game on: January 20, 2008, 06:53:34 AM
The creator of such amazingly innovative physics driven online flash games as Egg Way, Stick Remover, Double Wires, Cat With Bow Golf and Adventure of Cat is back.

Get ready for Cat on a Dolphin
You control a dolphin carrying a cat along a path from start to finish. Pressing left mouse button speeds up the dolphin, releasing the button slows down the dolphin and releases the cat from the dolphins back. That's all the controls. Here's the challenge: while in the water, the cat's air supply decreases. So you must release the cat at peak places so that so that the physics sends it on a trajectory upwards above the water. Next you must time the dolphins speed so that you catch the cat on its way down. This sounds simple but proves to be really tricky at times.

the air is running out! Toss the cat!

Now catch it on the way down!

This is the best game I have played in a long time. It's so simple yet has great gameplay and an incredible thrill to it due to the physics. You can really feel the cat hanging in mid-air for a second before plunging downwards. I also found myself yelling "NO!!" when I just missed the cat and laugh loudly and proudly when I succeded at a long toss catch. A game that gets you that engaged is bound to be good.  Kiss
Pages: Prev 1 ... 19 20 21 22 23 [24] 25 26 27 28 29 Next
DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.071s | Server load: 0.1 ]