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, 2:17 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 ... 26 27 28 29 30 [31] 32 33 34 35 36 ... 48next
751
Living Room / Re: Need a New Mouse
« Last post by phitsc on December 27, 2010, 04:48 AM »
The cool thing about the MX revolution is (and I've already mentioned that), when it runs out of juice, the cable to charge it plugs in right at the front, where the cable of a non-wireless mouse goes. It just feels like a wired mouse then, while you charge it.
752
Living Room / Re: Need a New Mouse
« Last post by phitsc on December 26, 2010, 04:59 AM »
There must be something wrong with your mouse. Mine lasts a week or more. I'm using it five days a week 8 hours a day for work.
753
Mini-Reviews by Members / Re: StartSSL.com Certificate Provider: Mini-Review
« Last post by phitsc on December 23, 2010, 06:51 AM »
Go to the address bar then delete that 's'. You'll see DC works that way too.

I understand that. My initial question was actually just if there's a way to force donationcoder to always use https (well, without wanting to discuss if it makes sense or not).
754
Mini-Reviews by Members / Re: StartSSL.com Certificate Provider: Mini-Review
« Last post by phitsc on December 23, 2010, 06:15 AM »
No. If you check the address bar, you'll see HTTP.

Well, mine says https right now.

Not using https as a means to protect the environment. Never thought about that ...
755
Mini-Reviews by Members / Re: StartSSL.com Certificate Provider: Mini-Review
« Last post by phitsc on December 23, 2010, 05:29 AM »
Gmail has the 'Always use https' setting. Does the donationcoder forum have that?
756
FARR Plugins and Aliases / FARR plugin installer with Inno Setup
« Last post by phitsc on December 22, 2010, 02:53 PM »
I've made installers for most of my plugins a while ago to make them better accessible to users that don't feel comfortable unzipping and copying files into a directory of an already installed application. Amongst the FARR users, that might not be too many. Nevertheless, I just felt that the process of installing my FARR plugins was too cumbersome and error prone.

I'm using Inno Setup, a free tool to create windows installers. Inno Setup is quite easy to learn and use. Apart from the files that should be installed, it needs an ini-like configuration file that describes parameters relevant for the installer being created.


As an example, this is what FarrWebMetaSearch.iss, the Inno Setup file for FarrWebMetaSearch, looks like:

[Setup]
AppName=FarrWebMetaSearch
AppVersion=1.6.1
DefaultDirName={reg:HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Find and Run Robot_is1,InstallLocation|{pf}\FindAndRunRobot}\Plugins\FarrWebMetaSearch
OutputBaseFilename=FarrWebMetaSearchSetup
Uninstallable=no
Compression=lzma2
SolidCompression=yes
DirExistsWarning=no

[Files]
Source: "..\Deploy\CloseApp2.dll"; DestDir: "{tmp}"; Flags: onlyifdoesntexist
Source: "..\Deploy\FarrWebMetaSearch.dll"; DestDir: "{app}";
Source: "..\Deploy\FarrWebMetaSearch.ico"; DestDir: "{app}"
Source: "..\Deploy\FarrWebMetaSearch.dcupdate"; DestDir: "{app}"
Source: "..\Deploy\icons\*.ico"; DestDir: "{app}\icons"
Source: "..\Deploy\searches\*.conf"; DestDir: "{app}\searches"
Source: "..\Deploy\searches\*.ico"; DestDir: "{app}\searches"
Source: "..\Deploy\searches\*.html"; DestDir: "{app}\searches"
Source: "..\Deploy\FarrWebMetaSearch.html"; DestDir: "{app}"; Flags: isreadme

[Code]
// importing DLL functions from closeapp2.dll
procedure SendMsgUnloadPlugins_OnInstall(farrApplicationName: String);
external 'SendMsgUnloadPlugins@files:CloseApp2.dll cdecl setuponly';

procedure SendMsgLoadPlugins_OnInstall(farrApplicationName: String);
external 'SendMsgLoadPlugins@files:CloseApp2.dll cdecl setuponly';

//
procedure CurStepChanged(CurStep: TSetupStep);
begin
    case CurStep of
        ssInstall: SendMsgUnloadPlugins_OnInstall('FindAndRunRobot.exe');
        ssPostInstall: SendMsgLoadPlugins_OnInstall('FindAndRunRobot.exe');
    end;
end;


I've highlighted two interesting parts:
  • DefaultDirName: this defines the value for the {app} variable which is used in the [Files] section. I try to get the FARR installation path by querying the respective entry in the FARR uninstaller registry entry. If it's missing I'm assuming 'Program Files\FindAndRunRobot'. The user still has the possibility to choose a different installation location or directory name during the installation process.
  • CloseApp2.dll: This is a DLL provided by mouser that allows unloading and reloading the plugins so that they can be replaced while FARR is running. It can be downloaded from this thread.

The [Code] section at the end is where the unloading / reloading of the plugins happens.


I'm using a batch file to automate the creation of both the .zip package as well as the Setup.exe installer and use my UpdateVersion tool to update the version information in both the DCUpdater files as well as the Inno Setup .iss 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%\FarrWebMetaSearch\Deploy\FarrWebMetaSearch.dll \
        -t %PHI_PROJECTS%\FarrWebMetaSearch\Deploy\FarrWebMetaSearch.dcupdate \
        -t %PHI_PROJECTS%\FarrWebMetaSearch\Package\versioninfo.xml \
        -t %PHI_PROJECTS%\FarrWebMetaSearch\Package\FarrWebMetaSearch.iss
%SevenZipPath% a Output\FarrWebMetaSearch.zip %PHI_PROJECTS%\FarrWebMetaSearch\Deploy\*.* -r -xr!.svn -tzip -mx7
%InnoSetupPath% FarrWebMetaSearch.iss



I've tested the installer on Windows XP and Windows 7 32.
757
Living Room / My Blackberry Is Not Working!
« Last post by phitsc on December 22, 2010, 02:07 PM »
A friend sent me this one today. Hope some of you haven't seen it yet ;)

http://www.youtube.c.../watch?v=kAG39jKi0lI
758
Living Room / Re: Getting an HTC Desire HD -- Android Phone
« Last post by phitsc on December 22, 2010, 04:37 AM »
I'm using Swiftkey and quite like it so far.
759
Developer's Corner / Re: Motivation For Freeware Maintenance?
« Last post by phitsc on December 22, 2010, 03:31 AM »
My primary motivation was always that what I code is useful for myself. Either because it's something I think I need or because it's something I can learn from. In other words, I usually don't start a project with the idea of releasing it as freeware. I rather make it freeware when I think it is something which is useful also for others, and when I'm convinced it is reasonably good quality.

It certainly gives you a good feeling when someone praises what you've done or gives you a donation. But you really can't rely on this happening.

And then there's the question of obligation. If I have given you something for free I usually assume that I have no obligation whatsoever to answer (feature) requests. Don't get me wrong, if I get bug reports, or feature requests which I see make the SW better also for myself, I'd typically get to it (once I have time). But I really don't feel any obligation to do so. Private time is limited, and interests change. That's just how it is ...
760
Living Room / Re: Need a New Mouse
« Last post by phitsc on December 21, 2010, 05:10 AM »
I can recommend the Logitech Performance Mouse MX. It's rather expensive, but certainly the best mouse I've ever had.

Love its form factor (if you're right handed). The free-running wheel is just excellent (*). Love how it uses a standard Micro-USB cable for charging (can use it to charge my phone too 8) ) and the way it connects at the front so it feels like a wired mouse if you need to use it while charging. It works on just about any surface without a mouse pad.




(*): interesting anecdote: The idea of a free-running mouse wheel actually came to me about two years before the first Logitech mouse with such a wheel was released. I've tried to modify one of my own mice to have such a free-running wheel, but failed because the wheel did not have enough mass to keep on spinning (was made of plastic).
761
Living Room / Re: Fast Food: Ads vs. Reality
« Last post by phitsc on December 10, 2010, 07:39 AM »
Just remember the story about the guy who developed burgers for McDonalds. Asked what his biggest mistake was he said: when I came up with a burger that tasted better (and was therefore sold better) than the Big Mac. The Big Mac obviously is McDonalds most cost-effective burger (the cost being optimized over all these years).
762
Living Room / Re: A NAS server for my home
« Last post by phitsc on December 09, 2010, 01:16 AM »
I saw that hack but since it's going to be retired in favour of a FreeNAS solution I haven't bothered doing it.

Mind you, it wasn't a hack. I've implemented my own nice (though not very cheap) solution involving a PICAXE ;) I actually had to put everything into an external casing because it didn't fit into the NAS case :-[. But at least I now have a nice blinking LED telling me that everything is ok and that the NAS will actually power on  :)
763
Living Room / Re: Fast Food: Ads vs. Reality
« Last post by phitsc on December 08, 2010, 08:56 AM »
then again,
maybe he could get some of the big fast food chains to advertise on the page . . .

Or maybe he also accepts lunch coupons ;)

I'm not eating in McDonalds or Burger King very often. But when I do, I'm usually disappointed about what I'm getting because it's so much different to what I see on the pictures.
764
Living Room / Re: A NAS server for my home
« Last post by phitsc on December 08, 2010, 06:11 AM »
Though I did wonder about setting up the media streaming (as we get content free internet radio which is better quality than over the air). Have you looked into that?

I use the media streaming to watch photos and videos via PS3 on my TV. I've also installed the official Squeeze Server plugin to access my music library from my stereo.

The reason for me to leave it running is that I have the NAS in the basement somewhere. And I don't want to go there to turn it on when I want to listen to music in the living room. I'm never listening between say 2 and 6 in the morning though (and also don't access any files), so it could be switched off during that time which I would do if the NAS could turn back on by itself. The NAS actually can turn on by itself when mains comes back, but only after a power outage, not after regular shut down, and I'd rather not cut power on purpose ;) As I said, all the newer models can also turn on on a schedule.
765
Living Room / Re: A NAS server for my home
« Last post by phitsc on December 08, 2010, 06:06 AM »
Also little things like not being able to power on to standby at power restoration after a power failure - it's a NAS for heavens sake.  One of a NAS' main functions is backups and the damn thing can't recover from a power failure to continue it's main function.

Yes, that was a problem for me as well. I've actually modified the HW for it to auto-power on when mains comes back. I have it on an auto-timer now that powers in on once a week to do network backup from the Synology to the DLink. Then a cron-job powers it down again once everything _should_ be complete.
766
Living Room / Re: A NAS server for my home
« Last post by phitsc on December 08, 2010, 04:44 AM »
I have the Synology DS207+ as well and am also very happy with it. It works very well, is reliable, comfortable to set up and use. The company left a very good impression as well. They are providing regular SW updates, also for older models. And they seem to really care about reliability. If they release SW that still has a problem they usually fix it very quickly. There are only two problems I have with it: although I think it has the feature to shut down on a schedule, it can't restart on a schedule any more. The newer models do that though. The other is that I'd like to have a better network backup solution. And I mean backup from the NAS to some other server. Although it can do that and does it well, I'd like to have something more Time-machine-like.

I have the D-Link DNS-321 as well, but was very disappointed about the reliability and frequency of SW updates. I'm using it as a backup server now (i.e. I backup from the Synology to the D-Link). I can well imagine though that it is reliable now, as the product is already quite long into the market and I'd expect the initial problems to be fixed.

I was concerned with wasting power too, and I set it up to shut down overnight.

Perry, how do you restart it?
767
I'm going to have a little boy and I might be a little tired once he'll be there ;)

Congratulations from we as well! :Thmbsup: (I'd replace that 'might' with a 'will' though ;))
768
well, you know, it's not really rocket science either ;) I take it as a compliment though :D
769
Thanks mouser. Works perfectly for installing my plugins with Inno Setup now. I'll post a cleaned up, working example Inno Setup config file in the FARR plugins forum with a link to this topic.
770
Living Room / Re: Getting an HTC Desire HD -- Android Phone
« Last post by phitsc on December 06, 2010, 10:35 AM »
Finally got my Desire HD last Friday. So far so good. I also had a chance to compare it to a friend's Samsung Galaxy S that has a Super AMOLED screen. I have to admit that the Samsung screen looks quite a bit nicer (well, more vibrant at least). The Desire HD's screen still looks very good though, if you don't have a direct comparison. And the screen is huge! The phone's form factor is quite nice actually, despite the large screen. Although one handed operation is not very easy.

I very much like Android, for the short experience I have with it. Although I see the problem of putting all eggs into one basket the experience of only having to enter one email address and one password and having all of your contacts, calendar, news feeds (and probably more) is amazing. No other configuration required.

I also like HTC's interface (Sense) and am experimenting with Apps and Widgets now. I'll certainly go and find the respective thread on donationcoder to present my favourites once I've used them a bit more :)
771
Developer's Corner / Re: Article: Paid developers power the Linux kernel
« Last post by phitsc on December 05, 2010, 01:35 PM »
But isn't that the case with many of the larger well-known open source projects? Thinking about stuff like Firefox, Open Office, MySQL etc.
772
Living Room / Re: 5 New Favorite Sites
« Last post by phitsc on December 03, 2010, 06:35 AM »
One of my new favourites is the new Qt extended (formerly Qtopia) web site. Perfect for when you want to do some web surfing, but haven't got much time. Induces kind of a positive feeling too. And here it is:

http://www.qtextended.org/
773
Adventures of Baby Cody / Switzerland
« Last post by phitsc on December 03, 2010, 02:57 AM »
As little Cody already is in Europe, please send him my way as well, so he can learn how to ski. I'd also like to treat him to some Raclette and loooots of chocolate.

And I'm sure my kids wouldn't mind sharing their beds with the little cutie :D
774
Adventures of Baby Cody / Re: Request for BC - January 2011
« Last post by phitsc on December 03, 2010, 02:45 AM »
You can route him via me. It's not much of a detour. Doesn't hurt for the little guy to see some more of Europe. Going to make a thread for Switzerland now.
775
N.A.N.Y. 2011 / Re: NANY 2011 Release: UpdateVersion
« Last post by phitsc on December 02, 2010, 02:51 PM »
Thanks Ath. No, I didn't know. Well, it's not really a question of pursuing any further as what I need is already implemented in UpdateVersion. In fact, I've implemented UpdateVersion before I even thought about using Inno Setup to make an installer. I would also guess that there's no Inno Setup script yet that can update files required by DCUpdater? So I would have had to implement them anyway. But you might be right in that it would haven been better to do that with ISPP instead of C++ ;)
Pages: prev1 ... 26 27 28 29 30 [31] 32 33 34 35 36 ... 48next