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 19, 2026, 12:58 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 ... 28 29 30 31 32 [33] 34 35 36 37 38 ... 48next
801
Please note guys that I have a solution to this problem (GP options window popping up when FarrMilk is installed) which I have sent to s.newave. I have no idea if he's still around so if I shouldn't get a response from him within the next couple of days I'll post it here.
802
N.A.N.Y. 2011 / NANY 2011 Release: UpdateVersion
« Last post by phitsc on November 17, 2010, 12:10 PM »
NANY 2011 Entry Information

Application Name UpdateVersion
Version 0.3.0
Short Description Command line tool to update some program update files by the version of the respective program.
Supported OSes Windows
Web Page this page currently
Download Link http://updateversion...om/UpdateVersion.zip
System Requirements
  • PC
Version History
  • 0.3.0 - Added -v switch for verbose output
  • 0.2.0 - Added support for InnoSetup .iss files
  • 0.1.0 - Initial release
Author phitsc

Preface
I'm afraid I'm too lacy this year to do much spare time coding. Nevertheless, I've made a tool last year which might or might not proof useful for one or the other fellow coder and which I'd like to offer for this year's NANY. Some remarks: First, it's a tool made for programmers, i.e. SW end users probably won't have much use for it. Second, it's a tool that solves a problem which probably most programmers have already solved for themselves, one way or the other. And finally, I could well imagine that some other (and better) tool already exists to solve this same problem.

So here I present UpdateVersion!


Description
UpdateVersion is a command line tool that can update some target files containing version information with the actual version information extracted from some source file. It is implemented with some flexibility and extensibility in mind.

Currently supported sources are:
  • EXEs containing a version information resource
  • FARR plugins
  • text files (via regular expressions)

Currently supported targets are:
  • PAD files
  • .dcupdate files
  • versioninfo.xml files
  • InnoSetup .iss files

The way I use the tool is in combination with a batch file:

@ECHO off
SET SevenZipPath="C:\Program Files\7-Zip\7z.exe"
SET InnoSetupPath="C:\Program Files\Inno Setup 5\ISCC.exe"

%PHI_PROJECTS%\UpdateVersion\Deploy\UpdateVersion.exe
          -s %PHI_PROJECTS%\FarrMilk\Deploy\FarrMilk.dll
          -t %PHI_PROJECTS%\FarrMilk\Deploy\FarrMilk.dcupdate
          -t %PHI_PROJECTS%\FarrMilk\Package\versioninfo.xml
          -t %PHI_PROJECTS%\FarrMilk\Package\FarrMilk.iss
%SevenZipPath% a Output\FarrMilk.zip %PHI_PROJECTS%\FarrMilk\Deploy\*.* -r -xr!.svn -tzip
%InnoSetupPath% FarrMilk.iss


Executing that batch file will first update the two files required by DCUpdater using version information extracted directly from the plugin. It will then zip everything up ready to be uploaded to the web site.

While updating these two files is not very difficult, the advantage of the tool comes when you either do it very often (saves time), or when you do it very rarely (and have forgotten what you actually have to change).

Features
Description says it all really.

Planned Features
I'm open for suggestions.

Screenshots
Will come but will be very boring!

Usage
Installation
No installation required, just copy the .EXE and .XML to some directory.

Using the Application
See Closing remarks.

Uninstallation
Delete the directory where the .EXE and .XML file are.

Known Issues
None that I know of.

Closing remarks
I understand that this tool is of very limited value to most of the donationcoder community. Nevertheless, I'll make the following pledge:

If a single person states here that he might maybe have use for the tool, I'll actually add some documentation to it :) And of course I'm also open for feature requests if anyone should have some similar requirements.
803
N.A.N.Y. 2011 / Re: NANI 2011 : Help ecaradec decide which app to code
« Last post by phitsc on November 15, 2010, 08:26 AM »
That would be excellent!
804
Living Room / Re: What books are you reading?
« Last post by phitsc on November 13, 2010, 03:28 PM »
I'm halfway through, and enjoying thoroughly:

"The D Programming Language" by Andrei Alexandrescu:

(see attachment in previous post)

D is heavily based on C++, but attempts to modernize the language while still keeping a focus on efficiency and systems level programming.  It's an interesting language, with a lot to like about it for those who want to keep as close to the C++ spirit while still breaking away from backward compatibility and avoiding the messiness of C++0x.

I've previously read the earlier book "Learn to Tango with D" which is a good fast intro to the language, but recently D underwent a fairly dramatic change, labeled itself D 2.0, and this book is a much different fish.  Alexandrescu's book is deep, interesting, and serious.  It's a great book for those of us who are perhaps not as much interested in USING the language, but are keenly interested in programming language design decisions.  Very enjoyable reading, especially coming from a C++ background.

i'll note that this represents a redemption of Alexandrescu in my mind, since his previous book that i've read, Modern C++ Design: Generic Programming and Design Patterns Applied represented an impressively cool and twisted book on the use of C++ template programming that i think serves as a good example of exactly how not to program.

I've read an article about D written by Alexandrescu and really liked his writing style. Probably because we seem to share the same kind of humour. I can remember now that I thought I'd probably read that book once it's available just because of that :).

I honestly can't remember if I found Modern C++ design funny ;)
805
Living Room / Re: Getting an HTC Desire HD -- Android Phone
« Last post by phitsc on November 13, 2010, 11:30 AM »
:-[ Neglected to mention above that the irony of my endless ranting against HAVING to use iTunes with an iPhone/iPod Touch and the fact that I've bought a phone with pretty much the same limitation (I MUST use Zune software with the Windows Phone 7 device) isn't lost on me...

Besides price, this is the main reason why I didn't go for an iPhone 4.
806
FARR Plugins and Aliases / Re: FARR plugin: FARR Remember The Milk 1.1.2
« Last post by phitsc on November 12, 2010, 05:04 PM »
sboardman, if you've installed any other FARR plugins, make sure the FScript-based ones use at least fscript version 1.16. See here: https://www.donation....msg156890#msg156890

807
Living Room / Re: Getting an HTC Desire HD -- Android Phone
« Last post by phitsc on November 10, 2010, 03:51 PM »
tsaint, I really had to laugh when I read your biography ;D
808
FARR Plugins and Aliases / Re: FARR plugin: FARR Remember The Milk 1.1.2
« Last post by phitsc on November 10, 2010, 03:46 PM »
dismory, please update to 1.1.2 and check if tags and notes work ok for you now. Both should now support UTF8 characters. I've also changed the power user command for archiving a list to 'vl'.

Many thanks for reporting these issues! :Thmbsup:
809
Living Room / Re: Getting an HTC Desire HD -- Android Phone
« Last post by phitsc on November 10, 2010, 08:52 AM »
I've ordered a Desire HD as well. Been waiting for it for over a month now. I hope I should be getting it sometime within the next two weeks.

I have been using (still am, actually) a Windows Mobile 6 phone until now. But the UI is really not up to date any more and I'm not using any of the business features really. I considered Windows Phone 7, but just think it's too new. Maybe for the next phone after the Desire HD.

Why the Desire HD? I've been looking at the Samsung Galaxy S, but it really looks too much like an iPhone 3GS, but all in plastic. That might make it very light, I agree, but it just looks cheap I think. I also like HTC sense and didn't read much good about Samsung's Android 'addendum'.

The Desire HD might be big, maybe almost too big (I've never actually had one in my hands yet). I actually might have preferred the Desire Z, i.e. the one with the slide-out keyboard. But its specs. are disappointing for a new phone.
810
FARR Plugins and Aliases / Re: FARR plugin: FARR Remember The Milk 1.1.0
« Last post by phitsc on November 09, 2010, 04:12 AM »
Well, they all look quite unrecognisable to me ;) I'll see if I can fix this.
811
Developer's Corner / Diff before commit
« Last post by phitsc on November 04, 2010, 07:45 AM »
I was discussing this question with a colleague recently and we were of quite opposite opinions. I'm a proponent of diffing before commit, I consider it to be kind of my personal mini code review. He basically considers it to be a waste of time, saying that he knows what he changed and that he's just committing very often (which I try to do as well, by the way, but never mind).

I'd like to know how you people feel about this question.
812
Living Room / Re: I'm thinking about learning how to program.
« Last post by phitsc on November 01, 2010, 09:47 AM »
I think it's also important to mention that C# (also Python and others for that matter) are full-fledged programming languages targeted at practical use in productive environments and for that reason come with some advanced and non-trivial concepts. I don't think you can just say: start with C# and it will be easy. There's so much information on the web about theses languages nowadays that it's sometimes hard for the novice to distinguish the basic from the advanced concepts. These languages are definitely not developed to be first programming languages although obviously they do serve well also for that if you find out what features to ignore at the beginning.

I'd also say you can successfully learn how to program even with languages such as C# or C++ if you find and use a good book (or a good teacher  :))
813
Developer's Corner / Re: The Composed Method pattern
« Last post by phitsc on October 28, 2010, 01:51 PM »
Hmm, well, seems like you can make a pattern out of anything .... isn't that just the normal way of doing it??

And how is No. 3 (This will result in ...) a rule?
814
FARR Plugins and Aliases / Re: FARR plugin: FARR Windows Search 0.1.0
« Last post by phitsc on October 28, 2010, 01:46 PM »
As for the  version 1.16, I might try it, but... Only when I'll find it ;)

But it's there with the rest of them following the link you've posted (http://e.craft.free.fr/farr/FScript).
815
FARR Plugins and Aliases / Re: FARR plugin: FARR Windows Search 0.1.0
« Last post by phitsc on October 28, 2010, 10:27 AM »
ecaradec fixed the problem in version 1.16, see this thread:

https://www.donation....msg156890#msg156890
816
FARR Plugins and Aliases / Re: FARR plugin: FARR Windows Search 0.1.0
« Last post by phitsc on October 28, 2010, 09:41 AM »
I was never able to fix my problem either. As soon as I select/reach for a search result, I get an error :
 (see attachment in previous post)

Wasn't that the problem with an old version of the FScript plugin?
817
Living Room / Re: I'm thinking about learning how to program.
« Last post by phitsc on October 28, 2010, 07:27 AM »
Cute!

Also, since you're just beginning with C#, I'll point out that often-times the boilerplate code inserts using lines that you don't need.  In your program, you should be able to delete the following two lines without problems:

using System.Collections.Generic;
using System.Linq;

That depends on if he's using any generic collections or LINQ ;). Better: right-click anywhere in your C# code file, select 'Organize Usings', then 'Remove and Sort'.
818
Living Room / Re: I'm thinking about learning how to program.
« Last post by phitsc on October 27, 2010, 05:21 AM »
... but I didn't because it was very early in the morning and interfered with my swim team practice....

Who knows, one day your ability to swim might proof more useful than your (now non)ability to program Turbo Pascal! ;)
819
FARR Plugins and Aliases / Re: FARR plugin: FarrWebMetaSearch 1.6.0
« Last post by phitsc on October 27, 2010, 03:16 AM »
Not yet I'm afraid. With <tt>wms !Enable logging</tt> you can enable logging. I don't think it will help with tracking down timing problems though. I'll see if I can improve that.
820
FARR Plugins and Aliases / Re: FARR plugin: FARR Windows Search 0.1.0
« Last post by phitsc on October 27, 2010, 03:14 AM »
Thanks for the feedback justauser. I have no Windows 7 64 installation. Can anyone with such a setup confirm?
821
FARR Plugins and Aliases / Re: FARR plugin: FarrWebMetaSearch 1.6.0
« Last post by phitsc on October 22, 2010, 04:31 PM »
Thanks guys for the feedback. I should maybe go over all the available searches and check if others are not working properly any more either. I'll definitely integrate your suggested changes so thanks for that.
822
Developer's Corner / Re: The Fear of Programming
« Last post by phitsc on October 20, 2010, 02:01 PM »
Thanks Deozaan.
823
Developer's Corner / Re: The Fear of Programming
« Last post by phitsc on October 20, 2010, 02:24 AM »
kyrathaba, would you mind to distil the essentials of the video in writing? The topic sounds interesting, but not us much as to watch a 45 minutes video ;)
824
Developer's Corner / Re: Programming Ennui, Anyone?
« Last post by phitsc on October 15, 2010, 07:45 AM »
Another thing I notice is that, if I'm in a "programming mood" and work on my project for a considerable length of time prior to calling it a night and hitting the sack, I then have difficulty going to sleep.  ....

I don't think that's exclusive to programming. I have that with everything which I have been doing with much concentration before trying to sleep.
825
Developer's Corner / Re: Programming Ennui, Anyone?
« Last post by phitsc on October 15, 2010, 07:43 AM »
but to trust my memory and go to sleep satisfied

I always have pen and paper on the bedside table :Thmbsup:
Pages: prev1 ... 28 29 30 31 32 [33] 34 35 36 37 38 ... 48next