Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • December 07, 2016, 10:07:41 PM
  • Proudly celebrating 10 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

Author Topic: Ninjawords - closed  (Read 12698 times)

czb

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 336
    • View Profile
    • My open-source online piano game
    • Donate to Member
Ninjawords - closed
« on: February 22, 2008, 05:09:38 AM »
This topic has been discontinued.
See:
http://www.donationc...ex.php?topic=17153.0
My open-source online piano game: https://github.com/musicope/game
« Last Edit: June 29, 2009, 12:53:53 AM by czb »

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 36,411
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Ninjawords
« Reply #1 on: February 22, 2008, 08:47:44 AM »
Lets remember to give Nod5 some credit for this one (see his original post here).

czb

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 336
    • View Profile
    • My open-source online piano game
    • Donate to Member
Re: Ninjawords
« Reply #2 on: February 22, 2008, 10:45:27 AM »
I have uploaded a new "testing" version. I have added some kind of temporary history (until FARR is closed or plugins reloaded). So try it and tell me if you like it or not ;)
My open-source online piano game: https://github.com/musicope/game

Nod5

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 858
    • View Profile
    • Donate to Member
Re: Ninjawords
« Reply #3 on: February 23, 2008, 12:35:03 PM »
The temporary history works fine. :up: I can see some neat uses for a feature like that. Someone might want to do a lot of separate lookups and then export all of the definitions in one go. They now only need to select all and copy and paste.

Did you try the alternative code for grabbing the definition that I posted http://www.donationc....msg103138#msg103138 ? It works fine here and I see no drawbacks. Possible advantages:
1. It seems slightly faster, but that might just be wishful thinking. :-)
2. it adds a dot and a space before any examples in the definition, which the old code didn't do.
regular code:
Quote
  red
(adj): having red as its colour; of hair, having an orange-brown colour"the girl wore a red skirt."
alternative code:
Quote
  red
(adj): having red as its colour; of hair, having an orange-brown colour. "the girl wore a red skirt."
3. When doing multiple lookups ("nw one,two ") the alternative grabbing code places the definition for "one" at the top of the FARR results window and the definition for "two" below it. That seems more intuitive to me. The regular code (and the regular ninjawords.com searchbox) gives the definitions in the reverse order ("two" at top, "one" below it). I guess an advantage with the regular code is that it gives a consistent search history ordering: the latest entered searchphrase always gets it definition displayed at the top. I still prefer the alternative code's ordering though.

Oh and at the top of this thread it says "Authors: Nod5". I'm proud to be mentioned but clearly you should also be there czechboy!
« Last Edit: February 23, 2008, 12:36:44 PM by Nod5 »

taichimaster

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 160
    • View Profile
    • Donate to Member
Re: Ninjawords
« Reply #4 on: February 23, 2008, 12:43:21 PM »
Should I be uninstalling the Definr plugin now that this one is better?

Nod5

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 858
    • View Profile
    • Donate to Member
Re: Ninjawords
« Reply #5 on: February 24, 2008, 05:42:51 AM »
Well the Definr plugin also works fine. It gives somewhat longer definitions. So it depends on what you prefer I think. Why not testdrive both for a while? I'll myself do just that. If I later still prefer Ninjawords then I'll tie the handy "df" alias (much easier to remember than "nw") to it on my local mod of the script.

czb

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 336
    • View Profile
    • My open-source online piano game
    • Donate to Member
Re: Ninjawords
« Reply #6 on: February 24, 2008, 06:18:52 AM »
Nod5: Ok, I have changed to the alternative code ;)
My open-source online piano game: https://github.com/musicope/game

Nod5

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 858
    • View Profile
    • Donate to Member
Re: Ninjawords
« Reply #7 on: February 25, 2008, 05:15:08 AM »
czechboy: confirming that it works. But I think your latest version (1.01.05) missed to include one previous line needed for displaying the history (@ line 58):
history = string + ((history == "")?"":"\\par -----------------------------\\par ") + history;

czb

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 336
    • View Profile
    • My open-source online piano game
    • Donate to Member
Re: Ninjawords
« Reply #8 on: February 25, 2008, 06:00:23 AM »
you are right. I just copied a paste. And didnt check what is inside :) sorry
My open-source online piano game: https://github.com/musicope/game

petrkoh

  • Participant
  • Joined in 2007
  • *
  • Posts: 1
    • View Profile
    • Donate to Member
Re: Ninjawords
« Reply #9 on: April 25, 2008, 03:18:58 AM »
Hi when I try to install the plug-in, FARR will crash, giving me error message:

Microsoft Visual C++ Runtime Library
Runtime Error!
Program C: .... \FindAndRunRobot.exe
This application has requested the Runtime to terminate in an unusual way. Please contact the application's support team for more information.

On other computer it works fine, here I had to remove the plug-in to prevent FARR from crashing at every start. Do you have an idea what is wrong? The only difference to the other PC where it runs that can figure out is that here I have the MS Visual Studio installed.

HA! I am an idiot, wanted to post this to the thesaurus plugin thread, can anyone help me move it there?
« Last Edit: April 25, 2008, 03:21:21 AM by petrkoh »

BRossMac

  • Charter Member
  • Joined in 2006
  • ***
  • default avatar
  • Posts: 3
    • View Profile
    • Donate to Member
Re: Ninjawords
« Reply #10 on: June 29, 2009, 12:14:09 AM »
The plugin can't be found on the server.

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,258
    • View Profile
    • Coding Snacks by Lanux128
    • Read more about this member.
    • Donate to Member
Re: Ninjawords
« Reply #11 on: June 29, 2009, 12:19:33 AM »
this plugin is combined with others by the same author and now is known as CZB pack.

czb

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 336
    • View Profile
    • My open-source online piano game
    • Donate to Member
Re: Ninjawords - closed
« Reply #12 on: June 29, 2009, 12:54:42 AM »
thanks for pointing out ;) I have changed the first post
My open-source online piano game: https://github.com/musicope/game