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:46 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 ... 99 100 101 102 103 [104] 105 106 107 108 109 ... 113next
2576
Thanks for the response.

I'm not sure I follow your suggestion.  Is there some way to set up watch expressions from the console?  If I knew this, I think I would understand your suggestion, but I have not figured out how to do that.  I looked at the following, but didn't managed to figure out anything relevant:


For global functions, IIUC, I can use debug(fn) to set up a breakpoint for a function, but there are two issues with this as I see it.  The first is that the breakpoint is set up on the first line of the function only (I suppose this is better than nothing).  The second issue is that there is only one global function in fulljslint.js -- all other functions are local in scope to that one function -- and so placing debug(fn) in a separate script doesn't seem like it will be that useful because none of the functions I want to examine (save the main JSLINT one) are visible (I tried debug(advance); in the FB console w/o a successful result).

I tried placing debug(fn) inside fulljslint.js but this gave an error: debug is not defined.  This seemed slightly odd as earlier I had success with placing console.log calls to fulljslint.js.

I guess I could try modifying fulljslint.js so that it made the functions I wanted to examine available globally...

Edit: I tried the modification I had in mind, but although I was able to successfully call debug(fn); from the console, execution doesn't appear to stop when the code runs -- perhaps the breakpoint is not being set or honored.  It'd be nice if I was just doing something wrong :)
2577
I've started to use Firebug (1.2.1) recently to trace execution of code in an attempt to verify my rather limited understanding of fulljslint.js (JSLint). 

So, I'd like to watch the code execute for different inputs (basically what one specifies as parameters for JSLint are: 1. source code, 2. options for what things to check for) to examine values and paths of execution. 

I'm finding it instructive to have certain watch expressions (e.g. token, prevtoken, nexttoken, syntax, funct, functions, scope, option, etc.) and breakpoints set up -- but I'd like to not have to enter / set these each time I start up Firefox.

I haven't had much luck determining whether this is possible -- does anyone happen to know?
2578
Multi Photo Quotes / Re: Multi Photo Quotes: What settings do you like?
« Last post by ewemoa on January 02, 2009, 07:47 PM »
Thanks for the tip - it seems to be working here :)
2579
Developer's Corner / Re: Excellent Javascript Reference
« Last post by ewemoa on January 02, 2009, 07:44 PM »
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.


I came across the following entry at Crockford's blog:

Mark Miller of The Google, by closely reading the ECMAScript standard, has discovered a simpler, more reliable test.

Object.prototype.toString.apply(value) === '[object Array]'
2580
Multi Photo Quotes / Re: Multi Photo Quotes: What settings do you like?
« Last post by ewemoa on January 02, 2009, 07:04 PM »
I've been trying to use the Quotes directory setting -- unfortunately, it looks like w/o much success.

BTW, I made a batch file to get to the configuration window more conveniently -- is there another way to get at it w/o entering the command line option at a prompt?
2581
It might be easier and it is what I'm more interested in:

https://www.donation....msg140183#msg140183

;)

It seems like it'd be nice to be able to support multiple persistence schemes though and my impression (just a complete guess) was that it's likely that the registry methods are the most widely used so I was trying to figure out what might be involved for it first.  If there appears to be enough interest though, I'm happy to consider working on the file-based persistence method [1] first.


[1] I'm not sure if there is more than one, but I have noticed there appear to be multiple portable PuTTYs derivatives.
2582
N.A.N.Y. 2009 / Re: NANY 2009 Wrap Up
« Last post by ewemoa on January 02, 2009, 07:27 AM »
Thank you Perry! 
2583
Living Room / Re: HAPPY NEW YEARS DC!!!
« Last post by ewemoa on January 01, 2009, 07:48 AM »
Trading Places reference?
2584
N.A.N.Y. 2009 / Re: NANY 2009 Rewards
« Last post by ewemoa on January 01, 2009, 07:45 AM »
Hysterical! 
2585
General Software Discussion / Re: Best Auto-complete Intelli-sense type utility ?
« Last post by ewemoa on January 01, 2009, 06:23 AM »
Does Type Booster count as an auto-complete intelli-sense type utility -- and does anyone have experience with it?
2586
N.A.N.Y. 2009 / Re: NANY 2009 Release: Keyser
« Last post by ewemoa on January 01, 2009, 05:19 AM »
Concerning NANY, the currently downloadable version [1] is intended as the entry submission.

Thanks to all who commented, tested, and provided support in other ways :)


[1] It's a bit different than my last description -- surprise awaits for some, perhaps...
2587
N.A.N.Y. 2009 / Re: NANY 2009 Release: HexCards
« Last post by ewemoa on December 31, 2008, 01:48 AM »
I tried the latest.  Saw a different image in the window but not much else seemed different.

Attached, please find a doctored console.log.
2588
N.A.N.Y. 2009 / Re: NANY 2009: CZB package
« Last post by ewemoa on December 30, 2008, 07:11 AM »
I've been trying it out a bit and so far have not encountered any problems.

What I've tried includes:

  • Deactivation + Reload via fssc
  • Activation + Reload via fssc
  • FSubScript help via the fssc help icon

Really nice work  :Thmbsup:


P.S. I tried w/ the latest alpha version of FARR that I was able to retrieve -- I haven't tested w/ any other version.
2589
Some notes about a potential PuTTY session plugin.

Regarding PuTTY sessions, it looks to me like some (recent?) versions of PuTTY don't store session names under:

  HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions

Instead the following type of location is where I see settings:

  HKEY_USERS\<SID>\Software\SimonTatham\PuTTY\Sessions

where <SID> seems like it is account-specific.

I haven't come up with a good way for determining (via JavaScript) an appropriate value for <SID> for the current user.
2590
Living Room / Re: Tech News Weekly: Edition 52
« Last post by ewemoa on December 28, 2008, 06:31 PM »
Thanks as usual :)

Re: 8. I'm not seeing the quote...is this a reference to the filtering system? ;)

Re: 11. Nice photos at the page!
2591
Developer's Corner / Re: i need some help, please?
« Last post by ewemoa on December 28, 2008, 05:22 PM »
It's been ages since I used PHP and I'm not sure I understand your question, but does the following help?

http://www.php.net/m...ed.variables.get.php
2592
FARR Plugins and Aliases / Re: FARR plugin: Akete
« Last post by ewemoa on December 25, 2008, 10:05 PM »
Ok, ok -- it is done :)
2593
General Software Discussion / Re: posted at Elite Freeware
« Last post by ewemoa on December 25, 2008, 09:51 PM »
Aha, mystery solved -- thought the avatar on the blog looked familiar :)
2594
FARR Plugins and Aliases / Re: FARR plugin: Akete
« Last post by ewemoa on December 25, 2008, 09:49 PM »
I wanted to make a distinction between what I considered more-or-less usable (what's in the first post) and what I considered more-or-less speculative :)

I suppose I could put 2 links in the first post...
2595
FARR Plugins and Aliases / Re: FARR plugin: Akete
« Last post by ewemoa on December 25, 2008, 07:47 AM »
Incorporated some feedback from mouser, removed a bug, and gave it a bit of polish.
2596
FARR Plugins and Aliases / Re: FARR plugin: Akete
« Last post by ewemoa on December 25, 2008, 04:58 AM »
I added a few more things -- and there is an updated README.txt ;)

If interested, please see attachment.
2597
Find And Run Robot / Re: farr slow to open from shortcut keys
« Last post by ewemoa on December 25, 2008, 02:10 AM »
Great news!

Thanks for reporting back and sharing what worked for you  :Thmbsup:
2598
Developer's Corner / Re: SpiderMonkey
« Last post by ewemoa on December 24, 2008, 08:59 PM »
Thanks Ehtyar and app103, for your comments!

W.r.t TriXUL: perhaps you are right about the redundantness -- from my brief examination of XULRunner (thanks Ehtyar for your detailed post elsewhere on this BTW), I got the sense that it covers quite a lot...so perhaps it will eventually end up being redundant w/ everything ;)  It's true that these two things aren't applications per se I guess, but I'm reminded of this JWZ saying.

Hadn't heard of Boxely and that chat server sounds amazing -- thanks for sharing these :)
2599
FARR Plugins and Aliases / Re: FARR plugin: Akete
« Last post by ewemoa on December 23, 2008, 11:07 PM »
With the latest FARR beta (2.42.03), it is possible to have custom context menu items per result.

I have modified Akete to make use of this functionality.

If anyone is interested, I can upload my latest -- if there is no hurry, there may be a few more things I might attend to before releasing another version.
2600
Developer's Corner / SpiderMonkey
« Last post by ewemoa on December 23, 2008, 02:00 PM »
Started looking into SpiderMonkey the other day and noticed some nice links at the bottom of a related Wikipedia page.  A selection of some (well, most) of them:

Scripting C++ with JavaScript using SpiderMonkey
wxJavaScript - porting wxWidgets using SpiderMonkey (and more)
SpiderApe - a C++ library built on top of SpiderMonkey [which] allows C++ developers to embed SpiderMonkey simply and easily into their client applications
jslibs - zlib, SQLite, NSPR, ode, libpng, libjpeg, libffi, (...) libraries for SpiderMonkey
TriXUL - XML-based GUI toolkit embeds SpiderMonkey, using JavaScript to implement logic behind its GUI, supporting calls from JavaScript to C++ objects.
Misc Projects - JavaScript Native Interface (JSNI), CPP to JS object wrapper, Script Host

If anyone has experience w/ SpiderMonkey already or is considering using it or has opinions about it, etc. would love to hear any related thoughts :)
Pages: prev1 ... 99 100 101 102 103 [104] 105 106 107 108 109 ... 113next