Welcome Guest.   Make a donation to an author on the site April 18, 2014, 08:14:32 AM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
Your Support Funds this Site: View the Supporter Yearbook.
   
  Forum Home Thread Marks Chat! Downloads Search Login Register  
  Show Posts
      View this member's profile 
      donate to someone Donate to this member 
Pages: Prev 1 ... 27 28 29 30 31 [32] 33 34 35 36 37 Next
776  DonationCoder.com Software / FARR Plugins and Aliases / Re: Query max. entries to display user setting on: March 18, 2009, 06:03:19 AM
Thanks!
777  DonationCoder.com Software / FARR Plugins and Aliases / Query max. entries to display user setting on: March 18, 2009, 04:32:56 AM
Sorry mouser to come with this again:

Would it be very hard/risky for you to add the possibility for plugins to query the 'Max. entries to display' user settings?

I think it would enable certain features for plugins using the list view.
778  Main Area and Open Discussion / General Software Discussion / Re: wanted: alternative to FastStone Image Viewer on: March 17, 2009, 05:09:58 PM
Maybe this would do it for you: http://www.fastpictureviewer.com/

Never tried it myself though, just have the link lying around on my desktop for months.

The two things that annoy me most about FIV (which I'm still using though) are: no keyboard shortcut for 'remove red-eye' and the (feels like) dozens of times it asks me if I really want to overwrite that image after using 'remove red-eye' or rotate (which should be lossless anyway). And yes, I reported these as well.
779  Other Software / Developer's Corner / Re: Beautiful Code: In your opinion, what makes code Beautiful? on: March 17, 2009, 12:32:46 PM
Concerning complicated code: we have a guideline that says if one thinks he needs to explain in a code comment what a certain piece of code is doing, he should consider rewriting the respective code to make it more self explanatory. For example, often refactoring a piece of code into its own function and giving that function a suitable name makes a comment obsolete. Obviously, this way functions make a one-liner out of a 20-line piece of code, i.e. it's useful to make a function even if that function is called only once.

While I think/agree that it is usually preferrable to write something 'simpler' (which often results in more lines of code) contrary to more clever (which often results in complicated one line statements) I tend to start making 'exceptions' to that rule myself. The questions that come up are: should one use 'advanced' language features of a programming language? Which features are considered to be advanced: the complicated ones?, or the seldom used ones?, or the new ones?, or even just the non-trivial (but still well-established) ones? How much knowledge about a programming language can you expect your collegues to have? How much can you expect them to learn?

My background is C++ programming. It's certainly not the easiest programming language to use or learn. And it's evolving. In an internal training, I was introducing my collegues to std::tr1::bind and std::tr1::mem_fn which will be part of the new C++0x standard (but are already available to us when using MSVC 2008 SP1 or the boost C++ library).

Let me show you an example to demonstrate my point:

I would expect a novice C++ programmer to understand the following piece of code. Assume _controls to be of type std::vector, which basically abstracts an array and which allows access to the items in the array via array[index].


void Controls::updateBay(IDeskPtr desk, IBayPtr selectedBay, ContainingBayInterface* containingBayInterface)
{
    const unsigned long controlCount = _controls.size();
    for(unsigned long index = 0; index < controlCount; ++index)
    {
        Control* control = _controls[index];
        control->updateBay(desk, selectedBay, containingBayInterface);
    }
}


Now our code usually looks like this:


void Controls::updateBay(IDeskPtr desk, IBayPtr selectedBay, ContainingBayInterface* containingBayInterface)
{
    ControlCollection::iterator it = _controls.begin();
    const ControlCollection::const_iterator end = _controls.end();
    for( ; it != end; ++it)
    {
        Control* control = *it;
        control->updateBay(desk, selectedBay, containingBayInterface);
    }
}


This makes the code more general (_controls could be any collection type supporting iterators) and is generally understood by all our engineers, but it already assumes you know what an iterator is.

Now the new std::tr1::bind lets me write this code like this:


void Controls::updateBay(IDeskPtr desk, IBayPtr selectedBay, ContainingBayInterface* containingBayInterface)
{
    std::for_each(_controls.begin(), _controls.end(), std::tr1::bind(&EmulationControl::updateBay, _1, desk, selectedBay, containingBayInterface));
}


Knowing about iterators is not enough any more. Now you need to know what for_each does and you need to know what bind does.

Everyone with a bit of programming experience understands what the first code example does. Some people claim the one-line for_each statement to be safer (or more efficient) but I'm not sure this is enough reason to prefer it over one of the hand-written loops. While I today prefer this kind of code, it's hard for me to explain why.

If someone wants to share her/his opinion, I would be very interested!
780  DonationCoder.com Software / FARR Plugins and Aliases / Re: FARR plugin: FARR Remember The Milk 0.4.5 on: March 15, 2009, 08:59:11 AM
Sorry for the late reply, I was on holiday last week.

Concerning your first question: FarrMilk supports overriding the alias. Actually, mouser added the possibility for plugins to query the alias because I wanted FarrMilk to support this. You're right that it doesn't work with "t" though (or with "y" for that matter). Maybe FARR plugin aliases have to be at least two characters long (I just tried "tt" and that works).

As for your other questions, let me think about these.
781  DonationCoder.com Software / FARR Plugins and Aliases / Re: Any "easy" way to create ActiveX objects (for use with JScript)? on: March 04, 2009, 05:04:11 AM
Maybe ecaradec could offer a useful selection of WIN32 functions through the IFARR interface. He did do that in the old FScript plugin (exec and getIniValue).
782  DonationCoder.com Software / FARR Plugins and Aliases / Re: Updated plugin: FARR MostRecentlyUsed 0.5.1 on: February 13, 2009, 07:19:02 AM
Hi daanvink

The readme.txt file should be in the download. You should also be able to open it from within FARR by going to the Options window, selecting the 'Plugins and Updates' category, pressing the 'Click to Examine and Configure Plugins..' button, selecting the FARR Most Recently Used plugin and finally pressing the 'View Plugin Readme/Help File'.

As an example look at the FarrMostRecentlyUsed.config file in the FarrMostRecentlyUsed plugin directory. Don't make changes in there but create a similar looking file called FarrMostRecentlyUsed.user with your configuration instead.
783  DonationCoder.com Software / Find And Run Robot / Re: Latest FARR Release v2.107.04 beta - Sep 23, 2012 on: February 06, 2009, 04:48:06 AM
Please fix this or maybe provide some settings where one can specify that the window should be centered and what size or even better which margins to the sides of the screen it should have. The last one would in fact be much better as FARR would nicely adjust itself to changing screen resolutions.
For centering you could use my FarrMultiMonitor (and center) plugin: http://www.donationcoder....13760.msg117762#msg117762

That wouldn't solve your other problem however...

Thanks for the pointer to the multimonitor plugin. Since I don't use multiple monitors I ignored this plugin. It's centering feature makes FARR's shrinking behavior bearable and the shrinking even seems to stop at some point. Very strange.

I was thinking about extending the FARR Multimonitor plugin to allow resizing the FARR window to some percentage of the screen's width. It turned out not to be very easy though and I haven't got much time to experiment at the moment. Obviously, it would only be fighting the symptoms.
784  Main Area and Open Discussion / General Software Discussion / Re: Awesome article re: organization and notetaking on: January 30, 2009, 04:44:07 AM
Well, I agree that you probably won't learn much about what makes a SW development project fail (or succeed) from 'Dreaming in Code'. Nevertheless, I found the book quite and interesting and enjoyable read. It reads and (feels) more like a novel than a technical book. Almost like a fiction book with well researched historical background. Only that it really is no fiction Wink An example of one thing that fascinated me (well, might not be that fascinating for the Americans in the DC community) was how people like Kapor, the main protagonist (speaking in novel terms) as well as some of the leading SW developers could spend their (working) lives doing almost whatever they pleased, without the pressure to make money to feed a family (well, most of them seem to only have dogs anyway Wink ). While Kapor had earned so much money in the beginning of his working career that he (alone) could fund a big multi-year SW project just out of ideological reasons, the others at least had made enough money in the first .com era to spend their lives doing what they liked most (programming) without actually getting money for it. Maybe the lack of pressure to actually succeed with what they were doing if only to make sure they could pay their bills at the end of the month was one of the reasons for the 'failure' of the Chandler project.
785  Main Area and Open Discussion / General Software Discussion / Re: Awesome article re: organization and notetaking on: January 29, 2009, 05:35:00 AM
Didn't see anyone mention yet that there is an interesting book called 'Dreaming in Code' which uses the Chandler project as its central theme. It's basically a case study that shows what can go wrong when developing a reasonably complex (open source) SW project, but also contains interesting historical information about SW development.
786  DonationCoder.com Software / FARR Plugins and Aliases / Re: FARR plugin: Akete on: January 21, 2009, 04:35:13 AM
Thanks. Works perfectly now!

Can I disable the 'Failed to look up value for' popping up for non-configured file types somehow? (not all files want to be opened by Akete Wink )

Now if only mouser could fix the 'wildcard matching not working anymore in alias result' problem...
787  DonationCoder.com Software / FARR Plugins and Aliases / Re: FARR plugin: Akete on: January 21, 2009, 02:23:32 AM
I'm afraid it's a 'doesn't' for me. See attached screen shot.

[attachthumb]
788  DonationCoder.com Software / FARR Plugins and Aliases / Re: FARR plugin: Akete on: January 16, 2009, 02:24:30 AM
I think I'll go with a default of "with" as the prefix, provide a way to change the prefix, and leverage any existing file extension association configuration so that it may be used with a keyword (e.g. if you have an association defined for 'html', then the plugin should recognize the keyword 'withhtml').
sounds good to me.
789  DonationCoder.com Software / FARR Plugins and Aliases / Re: FARR plugin: Akete on: January 14, 2009, 06:57:46 AM
I agree with mouser, looks very good!

As to the keywords that begin with "openwith", I chose this based on phitsc's example and am not particularly attached to it -- except that if it's changed, I guess trying to maintain backward compatibility might be something to consider.
And neither am I. Wouldn't give me a lot of work if you changed it. I'm no big fan of abbreviations though, so I still think openwithnpp would be clearer than something like e.g. ownpp.

What about just using the same definition as used for extensions, e.g. if one specified something like:

txt=%PROGRAMFILES%\Windows NT\Accessories\wordpad.exe

then it would open .txt files with Wordpad, but one could also do this:

C:\boot.ini +txt

and it would also open with Wordpad.

I could then choose whatever definition I liked (even openwithnpp Wink ) and since there are no files with an extension of .openwithnpp it would just work with this C:\boot.ini +openwithnpp. You would have to check if it might give problems with other keywords though.
790  DonationCoder.com Software / FARR Plugins and Aliases / Re: FARR plugin: FARR Remember The Milk 0.4.5 on: January 14, 2009, 05:36:51 AM
Did you ever try deleting the FarrMilk.ini file?

This would be in: C:\Documents and Settings\user\Application Data\FarrMilk

and maybe you still have an old one in the FarrMilk plugin directory.
791  DonationCoder.com Software / FARR Plugins and Aliases / Re: FARR plugin: FARR Remember The Milk 0.4.5 on: January 14, 2009, 04:42:06 AM
Hi TucknDar

Did any version of FarrMilk ever work for you? When you say 'a list of options', do you mean you get as far as the screen shot on the first post shows?
792  DonationCoder.com Software / Find And Run Robot / Re: Extremely slow searches when adding whole drives to the search folders on: January 14, 2009, 03:05:17 AM
Still had a good laugh smiley. Sorry about misunderstanding you!

Well, I had a look at "Everything" now. It only indexes file and folder names (not the contents), which I guess is what you want and probably what makes it so fast. Now if it offered an API ...
793  DonationCoder.com Software / Find And Run Robot / Re: Extremely slow searches when adding whole drives to the search folders on: January 14, 2009, 02:33:43 AM
 Grin Very good! Probably my favourite donationcoder post so far.

You should maybe read this thread: http://www.donationcoder....m/index.php?topic=13421.0

But seriously, there are ways to get both FARR and indexing. One which is available right now is the Locate32 plugin, which I have never tried to be honest. Another one would be my Windows Search plugin. It's not available yet though and I'm still hesitant if I should put the extra work in to make it releasable.
794  DonationCoder.com Software / FARR Plugins and Aliases / Re: FARR plugin: FARR Remember The Milk 0.4.5 on: January 09, 2009, 05:35:08 AM
Thanks Dinesh for reporting back. It is much appreciated!

It might be that FarrMilk has gotten popular enough for RTM to throttle its use. At least that is what they claim they will do when an API key uses too many of their API service resources. They request to keep server requests to an average of 1 per second (per user of the key, not per key). Both when authenticating as well as when loading tasks FarrMilk has to do several API requests in succession (e.g. getting list of locations, getting list of lists, getting list of tasks). Now I could imagine that while the first two succeeded, the last one (getting list of tasks) was blocked due to the throtteling, which is why FarrMilk gave you a list of lists, but no tasks.

FarrMilk 0.4.5 now makes sure that no more than 1 request per second is made on the RTM service.

Cheers
Philipp
795  DonationCoder.com Software / FARR Plugins and Aliases / Re: FARR plugin: FARR Remember The Milk 0.4.4 on: January 08, 2009, 06:33:08 AM
nbr, d4ni and sean2078

Would you guys mind to update to 0.4.5 and check if it makes a difference to your respective problems?

Thanks
Philipp
796  DonationCoder.com Software / FARR Plugins and Aliases / Re: FARR plugin: FARR Remember The Milk 0.4.4 on: January 08, 2009, 02:49:23 AM
I checked with 2.34.1 and have the problem there too. So it seems to be a FarrMilk problem. I'll investigate....
797  DonationCoder.com Software / Find And Run Robot / Re: Latest FARR Release v2.107.04 beta - Sep 23, 2012 on: January 07, 2009, 03:23:13 PM
Just updated from 2.34.01 to 2.45.01, but now the FARR window always stays open after launching anything (just using the Enter key to launch the #1 result). Any thoughts? I have downgraded to 2.34.01 for now.
How did you do that, downgrading? Can I download older versions of FARR somewhere?
798  DonationCoder.com Software / Find And Run Robot / Re: Latest FARR Release v2.107.04 beta - Sep 23, 2012 on: January 07, 2009, 03:22:16 PM
Please fix this or maybe provide some settings where one can specify that the window should be centered and what size or even better which margins to the sides of the screen it should have. The last one would in fact be much better as FARR would nicely adjust itself to changing screen resolutions.
For centering you could use my FarrMultiMonitor (and center) plugin: http://www.donationcoder....13760.msg117762#msg117762

That wouldn't solve your other problem however...
799  DonationCoder.com Software / FARR Plugins and Aliases / Re: FARR plugin: FARR Remember The Milk 0.4.4 on: January 07, 2009, 03:10:23 PM
I think it's a FARR bug. Is there a way to install an earlier version of FARR so I can verify?
800  DonationCoder.com Software / FARR Plugins and Aliases / Re: FARR plugin: FARR Remember The Milk 0.4.4 on: January 05, 2009, 07:26:50 AM
Hi Nathan

0.4.4 should have resolved the problem Pnikosis and vjcamarena reported. Are you saying that you have that problem after updating from 0.4.3 to 0.4.4? or do you have the 'Uh oh...' problem now?

Can you try removing the FarrMilk service in the rtm web interface and reauthenticate and if that doesn't help delete the FarrMilk.ini file.

Cheers
Philipp
Pages: Prev 1 ... 27 28 29 30 31 [32] 33 34 35 36 37 Next
DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.036s | Server load: 0.14 ]