topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Thursday March 28, 2024, 4:00 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

Author Topic: Ninjawords - closed  (Read 19093 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 AM »
This topic has been discontinued.
See:
https://www.donation...ex.php?topic=17153.0
My open-source online piano game: https://github.com/musicope/game
« Last Edit: June 29, 2009, 12:53 AM by czb »

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • 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 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 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: 1,169
    • View Profile
    • Donate to Member
Re: Ninjawords
« Reply #3 on: February 23, 2008, 12:35 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 https://www.donation....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:
  red
(adj): having red as its colour; of hair, having an orange-brown colour"the girl wore a red skirt."
alternative code:
  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 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 PM »
Should I be uninstalling the Definr plugin now that this one is better?

Nod5

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,169
    • View Profile
    • Donate to Member
Re: Ninjawords
« Reply #5 on: February 24, 2008, 05:42 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 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: 1,169
    • View Profile
    • Donate to Member
Re: Ninjawords
« Reply #7 on: February 25, 2008, 05:15 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 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 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 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 AM »
The plugin can't be found on the server.

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • View Profile
    • Donate to Member
Re: Ninjawords
« Reply #11 on: June 29, 2009, 12:19 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 AM »
thanks for pointing out ;) I have changed the first post
My open-source online piano game: https://github.com/musicope/game