topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Friday June 27, 2025, 10:50 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

Recent Posts

Pages: prev1 ... 58 59 60 61 62 [63] 64 65 66 67 68 ... 113next
1551
Developer's Corner / Re: Code Koans
« Last post by ewemoa on January 11, 2012, 08:52 PM »
Liam McLennan's set appears to cover more basic ground and doesn't appear to be influenced much by jslint-ish concerns (e.g. placement of 'var', use of ++, etc.).  On a minor note, I noticed some typos and spacing felt odd at times.

It uses QUnit, so one can get some experience with that.

Also got quite stuck on the first part of the 'hasOwnProperty' test -- and looks like someone else did too:

  http://stackoverflow.com/questions/6807005/javascript-koans-cannot-solve-one-test

As of this writing, the answer at StackOverflow doesn't work here, FWIW.

For this particular item, node.js' repl was not helpful -- it doesn't provide a browser context.  A repl in a browser may not have helped either, as arrays had been modified by the test set specifically for testing...

details...
SO has 'fruits.prototype' for the third element of keys -- here what worked was 'equalTo'

1552
Developer's Corner / Re: Code Koans
« Last post by ewemoa on January 10, 2012, 08:08 PM »
Made it through David Laing's set -- punted the extra credit section for the moment.  A side effect of doing this set was that got some experience with Underscore.js and Jasmine.

Also, the coding style of the tests seems closer to that of Crockford / jslint than what I'm seeing in so far in Liam McLennan's set.
1553
General Software Discussion / Re: Refactoring
« Last post by ewemoa on January 09, 2012, 02:34 AM »
Looks interesting.  Thanks for sharing :)
1554
Developer's Corner / Re: Code Koans
« Last post by ewemoa on January 08, 2012, 01:03 AM »
On a pc, using an interactive shell / repl seems to be helpful for trying things out -- for JavaScript, I'm using the 'node' command from node.js with no arguments and this seems usable.

Haven't tried out anything similar for Android yet -- may be SL4A is worth considering...
1555
Developer's Corner / Re: Code Koans
« Last post by ewemoa on January 07, 2012, 08:59 PM »
Have had success running the JavaScript set by David Laing on an Android tablet.  The editing is a bit painful at times (using the built-in editor that comes with ES File Explorer), but at least it is doable.  I've tried with Opera Mobile so far.
1556
Developer's Corner / Re: Code Koans
« Last post by ewemoa on January 07, 2012, 08:50 PM »
Still working on the JavaScript ones, but found a CoffeeScript set by Nigel Runnels-Moss.
1557
Developer's Corner / Re: Code Koans
« Last post by ewemoa on January 06, 2012, 06:36 PM »
There appear to be more than one JavaScript set:

1558
Clipboard Help+Spell / Re: Program Will Not Start After Download and Install
« Last post by ewemoa on January 03, 2012, 09:49 PM »
I had problems running CHS as a non-admin user after having run it as an admin user -- this was with w7 pro x64.

I'm fairly new to w7 and have most of my older environments configured to show all the tray icons by default -- I noticed that in w7 the default is to hide certain tray icons (may be it's true in older windows versions, but I don't know off-hand).  It seemed that CHS' tray icon was hidden when I went looking for it -- but it appeared for me when I clicked on an area where such things appear to be hidden.

The following is a portion from an MS page:

arrow-for-show-hide-notification-area-icons.png

With the task manager (via Ctrl+Shift+Esc) I was able to locate a process for CHS -- I think it was named ClipboardHelpAndSpell.exe or some such.
1559
Clipboard Help+Spell / Re: Program Will Not Start After Download and Install
« Last post by ewemoa on January 02, 2012, 07:18 PM »
Are you using an admin account or launching CHS as user with admin privs?
1560
Clipboard Help+Spell / Re: Program Will Not Start After Download and Install
« Last post by ewemoa on January 02, 2012, 06:59 PM »
Out of curiosity, what OS are you using?
1561
N.A.N.Y. 2012 / Re: NANY 2012 Release : Qatapult
« Last post by ewemoa on January 01, 2012, 07:13 PM »
Nice logo!
1562
N.A.N.Y. 2012 / Re: NANY 2012 Release: Flipside
« Last post by ewemoa on January 01, 2012, 03:44 AM »
My system's unzipping doesn't seem to unzip all of the content, though using 7-Zip seems to yield more results...
1563
N.A.N.Y. 2012 / Re: NANY 2012 Release: Nea
« Last post by ewemoa on December 31, 2011, 10:09 PM »
Modified MayBeRunFARR to allow execution from Nea's menu.
1564
N.A.N.Y. 2012 / Re: NANY 2012 Release: Nea
« Last post by ewemoa on December 30, 2011, 08:19 PM »
Made some modifications to the included README.txt file and reuploaded.  Hope that doesn't cause any trouble.
1565
N.A.N.Y. 2012 / Re: NANY 2012 Release: Nea
« Last post by ewemoa on December 30, 2011, 07:57 PM »
Changed to "Release".

Also added "CommandPromptHere" -- as I don't tend to go for registry-modifying programs, but I like this functionality.  It has an option of specifying a batch file to get CALLed before the cd to the target directory.  See the source for details :)

I use this pretty much on a daily basis on an XP SP3 machine.  I know it has some problems under Windows 7, but YMMV depending on which scripts you choose to use.
1566
Developer's Corner / Re: Code Koans
« Last post by ewemoa on December 30, 2011, 02:55 AM »
Thanks for the info :)

I'm mostly through the Ruby ones -- though got diverted for quite some time trying to understand one of the koans [1]. Ended up opening a can of worms (or swallowing a red pill depending on your perspective) which seems better to have done sooner than later.

May be the Python ones will also end up pointing out huge unknown areas too.

Which set to try next...


[1]
diversion was about...
Meta-programming in Ruby

1567
N.A.N.Y. 2012 / Re: Gentlemen (and Ladies), Start Your Engines!!
« Last post by ewemoa on December 29, 2011, 11:21 PM »
Mmm...42 :)
1568
FARR Plugins and Aliases / Re: FARR plugin: Akete
« Last post by ewemoa on December 29, 2011, 11:08 PM »
Thanks for reporting back.

I hope it continues to function appropriately :)

Thanks to mouser for making it possible to achieve this functionality via plugins in FARR  :Thmbsup:
1569
FARR Plugins and Aliases / Re: FARR plugin: Akete
« Last post by ewemoa on December 29, 2011, 03:48 AM »
Do you happen to know how Total Commander stores file association information?  I've been thinking that being able to import such information into Akete (or have Akete utilize such info) might be handy.
1570
N.A.N.Y. 2012 / Re: NANY 2012 Pledge: Nea
« Last post by ewemoa on December 28, 2011, 07:14 PM »
Added "ShowFARRAtPointer" -- this should cause FARR's main window to show up close to the pointing device cursor.  I use this to shorten dragging distances.  

show-farr-at-pointer.png

odd tricks
As a side note, after dropping some file or folder on to FARR's main window, it's possible to then move the FARR main window close to some target destination and drag FARR's first result off on to some target.  This is a round-about way of doing drag and drop -- utilizing FARR as a sort of "raft".




Also been using Nea as a sort of AHK_L script manager of sorts and have added some non-FARR-related scripts:

  • SevenZipHere - requires 7-Zip
  • RakeHere - requires Rake (tested with Ruby 1.9.3)



SevenZipHere tries to detect some current path (e.g. active Windows Explorer window or containing folder of file open in Notepad++) and open 7-Zip with that path.



RakeHere tries to detect some current path (e.g. active Windows Explorer window or some window that has a title that starts with a full path) and if it finds a Rakefile, attempts to display a pop-up menu of Rakefile tasks (ones that have descriptions).  Invocation of a pop-up menu item should then lead to the corresponding rake task being executed.

So with a Rakefile like:

rake-here-rakefile.png

you might get a pop-up like:

rake-here-popup.png



I have punted on trying to support Windows 7 by the end of the year as I don't appear to have reliable access to the OS (due to sharing of computing resources).
1571
FARR Plugins and Aliases / Re: FARR plugin: Akete
« Last post by ewemoa on December 28, 2011, 05:11 PM »
I've tried modifying the stable version which doesn't include context-menu-related behavior.

If the stable version is what you are using, please let me know how the attached version works for you.

MD5: bff3767734f5e7d995881b40e24d5bff

* Akete-1.0.0.3.zip (90.39 kB - downloaded 557 times.)
1572
FARR Plugins and Aliases / Re: FARR plugin: Akete
« Last post by ewemoa on December 28, 2011, 05:02 AM »
Some experimentation here has the following results:

  • No success so far in adding to launch history if the launching is done via the context menu.
  • Adding to launch history seems possible when launching via non-context menu means (i.e. pressing enter with focus in FARR's main window text area).
1573
FARR Plugins and Aliases / Re: FARR plugin: Akete
« Last post by ewemoa on December 28, 2011, 02:39 AM »
I don't think there is a way at the moment.

May be mouser could comment on whether this should be doable from a technical standpoint.
1574
Clipboard Help+Spell / Re: 3 Feature Ideas
« Last post by ewemoa on December 26, 2011, 06:19 AM »
Thanks for the WordPress-related link.  

Looking at:

  http://core.trac.wordpress.org/attachment/ticket/4807/word-count3.2.patch

some relevant bits appear to be:

Code: Javascript [Select]
  1. tx = tx.replace( /[0-9.(),;:!?%#$¿'"_+=\\/-]*/g, '' );
  2.        tx.replace( /\S\s+/g, function(){tc++;} );

quoted code may be garbled
Not sure how to get the forums to accept the original code...


A brief glance suggests that after dropping characters from a certain set, a count is made of sequences of a non-space character followed by one of more space characters.

My current testing code takes a vaguely similar approach of trying to drop certain characters before attempting a count of modified text.

I'm having difficulty getting things to work out at the moment and it seems to have to do with the use of instances of the UTF-8 "RIGHT SINGLE QUOTATION MARK" that appear to be in your posts (e.g. see the word "don't" in the first sentence of the sample selection).  I'm not confident yet what the difficulty I am experiencing is, but it may have to do with Clipboard Help and Spell not being Unicode aware:

  https://www.donationcoder.com/forum/index.php?topic=24979.msg250346#msg250346
1575
Clipboard Help+Spell / Re: 3 Feature Ideas
« Last post by ewemoa on December 25, 2011, 09:19 PM »
I'm pretty ignorant about WordPress -- do you know if the word counting feature you use is part of the basic functionality of WordPress or if it's some kind of plugin?  Perhaps there is some documentation or  source code that can be consulted -- but to dig any of that up, it might help to have an idea of where to look first :)

Regarding character count, some basic functionality seems doable, but I don't know how much work it might be to try to conform to:

  https://dev.twitter..../counting-characters
Pages: prev1 ... 58 59 60 61 62 [63] 64 65 66 67 68 ... 113next