topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Friday November 21, 2025, 7:50 am
  • 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 ... 100 101 102 103 104 [105] 106 107 108 109 110 ... 113next
2601
Find And Run Robot / Re: farr slow to open from shortcut keys
« Last post by ewemoa on December 23, 2008, 04:46 AM »
Perhaps you will get more specific responses but in the mean time, if you haven't seen the following already, may be there might be something of use in one of them:

https://www.donation...ex.php?topic=11871.0
https://www.donation...ex.php?topic=12524.0
https://www.donation...ex.php?topic=12990.0
https://www.donation...ex.php?topic=14002.0
https://www.donation...ex.php?topic=14354.0
https://www.donation...ex.php?topic=14519.0

If you don't feel like messing with your existing installation, you might consider a second one:

https://www.donation...ex.php?topic=16003.0

If a fresh second installation (if you check the thread you'll see it's possible to leave your original installation in place) doesn't duplicate the behavior, perhaps knowing that might help in further investigations into the matter...
2602
Sorry about your current state -- I hope you have success in recovery soon!
2603
N.A.N.Y. 2009 / Re: NANY 2009 Teaser: HexCards
« Last post by ewemoa on December 23, 2008, 04:25 AM »
Ah well.

Perhaps some day :)
2604
PopUp Wisdom / Re: Two 'essential' features
« Last post by ewemoa on December 23, 2008, 04:24 AM »
Woohoo!  Thanks again for implementing this  :Thmbsup:
2605
N.A.N.Y. 2009 / Re: NANY 2009 Teaser: HexCards
« Last post by ewemoa on December 22, 2008, 08:15 PM »
I tried again and I did not perceive any difference in behavior.

I will attempt to attach another doctored console.log.

FWIW, I did compare the file sizes of the zip file I downloaded last time to the most recent one I downloaded and the sizes look different at least.  The console.log output is also very slightly different (other than the path info).
2606
N.A.N.Y. 2009 / Re: NANY 2009 Teaser: HexCards
« Last post by ewemoa on December 22, 2008, 06:29 AM »
My attempt resulted in a window w/ an image but not much else.

hc.png

I've also attached a slightly doctored console.log (renamed to have .txt extension for upload purposes) that I found in the app's directory.  I hope there isn't anything compromising in that file :)

FWIW, the box I have access to claims to have MacOS X 10.4.11 installed on it.
2607
N.A.N.Y. 2009 / Re: NANY 2009: The Challenge Graphic
« Last post by ewemoa on December 22, 2008, 05:47 AM »
LOL -- I like that interpretation  :Thmbsup:
2608
Living Room / Re: Tech News Weekly: Edition 51
« Last post by ewemoa on December 22, 2008, 04:38 AM »
Thanks again for your efforts :)

Re: 12: happy that they reduced the period they keep records ... but I don't use them very often.

Re: 15: sorry to hear this ... peace.
2609
Yes, thanks mouser and Darwin  :Thmbsup:
2610
Developer's Corner / Re: Can someone make an icon for me?
« Last post by ewemoa on December 21, 2008, 01:48 AM »
Niiiiice  :Thmbsup:
2611
FARR Plugins and Aliases / Re: FSubScript Feature Requests
« Last post by ewemoa on December 20, 2008, 11:43 PM »
FWIW, below is a segment of code that seemed to work w/ latest alpha from mouser and latest fscript.dll from ecaradec.

Code: Javascript [Select]
  1. // trigger modes
  2.       TM_NONEXPLICIT = 0, TM_EXPLICIT = 1, TM_PREPARECONTEXTMENU = 2,
  3.       TM_RESULTSELECTED = 3, TM_TABBED = 4;
  4.   // ...
  5.   function onProcessTriggerV2(path, title, groupname, pluginid, thispluginid,
  6.                               score, entrytype, args, triggermode) {
  7.     // ...
  8.     if (triggermode === TM_PREPARECONTEXTMENU) {
  9.       FARR.setStrValue("addmenu.contextmenu",
  10.                        "type=item|caption=MyTest|hint=this is hint|icon=help.ico|launch=restartsearch help");
  11.     }
2612
The BSH currently covers Internet Explorer 6 and 8

I took a brief look at the BSH -- who is going to understand all of that ;) -- and the impression I got was that for IE it covers 6 and 7 (and presumably after 8 is released it will cover that).
2613
Ah, it's by Michal Zalewski!
2614
N.A.N.Y. 2009 / Re: NANY 2009: The Challenge Graphic
« Last post by ewemoa on December 20, 2008, 01:09 AM »
Wow, nice!

Side note: I'm using virtual desktop software and have it configured to show a different DC background image per virtual screen ;)
2615
FARR Plugins and Aliases / Re: FSubScript Feature Requests
« Last post by ewemoa on December 19, 2008, 11:46 PM »
I miss the x flag and named capture for regular expressions that Perl and Python have.

I noticed that someone has an extended regular expression library for JavaScript:

http://stevenlevithan.com/regex/xregexp/

It appears to have support for both of these things (and the license is MIT) :)

May be others will find this of some use and perhaps at some point we might consider it for FSubScript.
2616
Developer's Corner / Re: Excellent Javascript Reference
« Last post by ewemoa on December 19, 2008, 11:07 PM »
A Crockford piece of an overview nature:

  http://javascript.cr...ford.com/survey.html

FWIW, I'm finding a combination of the following to be quite helpful in developing my understanding of JavaScript:

  • reading more than one of these overviews (and on more than one occasion)
  • dipping into ECMA 262 for clarification
  • use of Firebug to test/verify code samples

Edit: I should add one more item to the list: at least one concrete project to test ideas out on -- in my case FARR plugins via ecaradec's FScript (plus examining czb's myriad plugins) has been quite informative.
2617
General Software Discussion / Re: VLC making improvements
« Last post by ewemoa on December 19, 2008, 10:39 PM »
Ah, I hadn't noticed those two things, but I did notice a difference in the tray icon :)
2618
Developer's Corner / Re: Excellent Javascript Reference
« Last post by ewemoa on December 18, 2008, 07:42 AM »
I also came across the following today and so far am finding it to be pretty good too:

http://www.jgharris....jsfeats/JSfeats.html

Although I'm not sure about the following bit:

In outline, each object is a collection of properties. Each property has a name and a value. The value can be any member of any of the javascript types.

I've been under the impression that the value portion of a property can not have the value of undefined -- as I understand it, undefined is what is returned if one attempts to access a non-existent property.

Edit: this impression seems faulty -- at least testing under Firebug using Mozilla, it looks possible for a property's value to have the value of undefined.  Time for hasOwnProperty() and possibly additional code perhaps...

Edit 2: I think I know where I picked up my initial impression -- I think it may have been in the first video of Douglas Crockford's series "The JavaScript Programming Language" -- specifically, there is a slide titled "Dynamic Objects" which contains some text: "A name can be any string, a value can be any value except undefined"
2619
FARR Plugins and Aliases / Re: FSubScript Feature Requests
« Last post by ewemoa on December 18, 2008, 07:08 AM »
Since the typeof operator appears to be slightly broken, may be we can consider adding the following (typeOf function) in some capacity:

typeOf

The typeof prefix operator returns a string based on the type of its parameter. Unfortunately, it provides the wrong result if the operand is null or an array.

The new typeOf global function is intended to replace the defective typeof operator. It produces the same result as typeof, except that it returns 'null' for null and 'array' for arrays.

It can be implemented in JavaScript:

function typeOf(value) {
    var s = typeof value;
    if (s === 'object') {
        if (value) {
            if (typeof value.length === 'number' &&
                    !(value.propertyIsEnumerable('length')) &&
                    typeof value.splice === 'function') {             
                s = 'array';
            }
        } else {
            s = 'null';
        }
    }
    return s;
}

I found it at:

http://javascript.cr...d.com/recommend.html
2620
Developer's Corner / Re: Excellent Javascript Reference
« Last post by ewemoa on December 18, 2008, 06:57 AM »
FWIW, I think the following from the "re-introduction" may be mistaken:

JavaScript distinguishes between null, which is an object of type 'object' that indicates a deliberate non-value, and undefined, which is an object of type 'undefined' that indicates an uninitialized value — that is, a value hasn't even been assigned yet.

From the ECMA 262 Standard:

4.3.9 Undefined Value

    The undefined value is a primitive value used when a variable has not been assigned a value.

4.3.10 Undefined Type

    The type Undefined has exactly one value, called undefined.

4.3.11 Null Value

    The null value is a primitive value that represents the null, empty, or non-existent reference.

4.3.12 Null Type

    The type Null has exactly one value, called null.

Perhaps the text in the re-introduction is a result of the weirdness (broken-ness?) of the typeof operator.  According to:

https://developer.mo...tors/typeof_Operator

typeof returns "undefined" for values (there's only one as I understand it - undefined) of type Undefined but it returns "object" (!!) for values (again only one - null) of type Null.

On a related note, I came across the following at:

http://javascript.cr...d.com/recommend.html

typeOf

The typeof prefix operator returns a string based on the type of its parameter. Unfortunately, it provides the wrong result if the operand is null or an array.

The new typeOf global function is intended to replace the defective typeof operator. It produces the same result as typeof, except that it returns 'null' for null and 'array' for arrays.

It can be implemented in JavaScript:

function typeOf(value) {
    var s = typeof value;
    if (s === 'object') {
        if (value) {
            if (typeof value.length === 'number' &&
                    !(value.propertyIsEnumerable('length')) &&
                    typeof value.splice === 'function') {             
                s = 'array';
            }
        } else {
            s = 'null';
        }
    }
    return s;
}
2621
Developer's Corner / Re: Short Coder Essay: Plugins are Not For Users
« Last post by ewemoa on December 18, 2008, 01:32 AM »
Specifically regarding the essay:

My hope was that eventually people would write some plugins that other end users would like, and that this would save me from having to add these feature requests into the main program.  My main motivation in coding the plugin system was so that i could say to someone who made a feature request: "maybe someone will make a plugin for that feature", and feel ok about not implementing it.

The delegation / parcel-off task angle is very important IMO.  All other things being the same, without a plugin system the number of potentially code-contributing folks seems like it might often end up being smaller.  Even under conditions where source is available for all to see, getting one's head around a whole application or even a subsystem may be troublesome -- questions such as: what subsystem to start w/?  are there any subsystems?  will any potential changes I make be merged in?  how can I make some changes in a good / non-intrusive way?  come to mind.  From the application author's perspective, I imagine that even if source is available for anyone to read, there may be quite a bit of reluctance to accept changes (e.g. understanding the changes takes time, deciding whether they are a good idea takes time, etc.) -- but w/ a decent plugin system, it seems like this concern can be greatly mitigated if not eliminated at least for some parts of the application.

I guess the end bit there is hinted at by:

The clean separation of code means that you get the teamwork and facilitation, without any of the pain of version control conflicts that you have when working with a team on shared code.

I can relate to:

There are other benefits to the developer from adding a plugin system to your program; moving as much of the features out from the core of the system to a plugin system makes it easier for you to maintain and extend, and keeps the program lean and flexible.

I might add that it seems likely to me that a smaller application may be easier to test and since it is smaller it seems like it should be easier to think about (than something bigger) so it might often be easier to productively work on the application (which is a huge win IMO - thought precedes action?).

But for me the real surprise has been how much fun it is as a developer to interact with plugin writers, and how much it has added to my enjoyment of working on the program.

Until you pointed this out, this never occurred to me -- I think it's a great observation  :Thmbsup:

I have found working on plugins for FARR to be quite enjoyable  :-*

FWIW, I had previously written plugins for another similar system, but what I appreciate about the FARR situation specifically so far (in no particular order...really):

  • an especially responsive developer :)
  • a lot of sample code -- both JavaScript and not (thanks to czb and others)
  • not having to write an intermediate system to write plugins using something like JavaScript (thanks to ecaradec)
  • DC participants, its forums, IRC channel, and other related resources
  • not having to restart the application to test
  • not having to examine the running host process to learn how the system behaved ;)
  • existence of app-bundled documentation
  • an opportunity to learn some JavaScript
  • an opportunity to learn more about FARR (some of this knowledge might be applied in an end-user context)

Some additional things I imagine might be nice include:

  • An easier way to test plugins -- perhaps a "simulated" or "mock" FARR system (or mode) that plugins can run automated tests with somehow (GUI-testing blech!)
  • Community-updated plugin-API documentation - with links to sample code

I guess that's likely to be more (or less?) than my two local currencies worth.
2622
Living Room / Re: Tech News Weekly: Edition 50
« Last post by ewemoa on December 17, 2008, 08:44 PM »
Thanks for your continued efforts  :Thmbsup:

Re: 11 -- folks in East Asia wouldn't want to be 404 anyway:

https://secure.wikim.../en/wiki/Tetraphobia
2623
Thanks for mentioning this.  Appreciate the heads up  :Thmbsup:
2624
N.A.N.Y. 2009 / Re: N.A.N.Y. 2009 teaser: Crush Cryptonizer
« Last post by ewemoa on December 17, 2008, 07:12 AM »
2625
N.A.N.Y. 2009 / Re: NANY 2009 Teaser: Tree List
« Last post by ewemoa on December 16, 2008, 08:03 AM »
Thanks for the consideration...and good luck  ;)
Pages: prev1 ... 100 101 102 103 104 [105] 106 107 108 109 110 ... 113next