topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • January 17, 2018, 08:14 PM
  • Proudly celebrating 10 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

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - PhilKC [ switch to compact view ]

Pages: [1] 2 3 4next
1
Finished Programs / Re: RRunner
« on: May 21, 2014, 06:23 PM »
Somehow managed to remember my password after 6 and a half years. . .

I'll have a dig and see if I can find the original RRunner source, however it may be lost to time. If that's the case I'll try and build something similar this weekend.

2
FARR Plugins and Aliases / Re: New C# FARR Plugin: FARRGoogleSuggest
« on: December 30, 2007, 06:43 AM »
Hey jpgrosen. What did you compile it with? I had a problem with mouser with FARRTunes when I compiled it under VS2008, still not sure why.

Perhaps because VS2008 defaults to using .NET 3.5 (3 != 3.5) (See Project -> Properties -> Target Framework)?

3
FARR Plugins and Aliases / Re: New C# FARR Plugin: FARRGoogleSuggest
« on: December 29, 2007, 03:28 PM »
The lib is indeed using 2.0, and I presume Vitalyb's to be doing the same.

Sadly, user side support for .NET is patchy at best, mainly due to Microsoft not pushing it upon people. Most people will have 1/1.1, some will have 2.0 and only devs will likely have 3.x.

Looking at the refactored code it would appear that the library would need a total rewrite to bring it down to 1/1.1 standard, no fun at all: I would instead suggest that the .NET wrapper should use the Visual Studio deploy magic to install .NET 2 if it is not found.

.NET 2.0 framework: http://www.microsoft...5&displaylang=en

(Be sure to check Windows Update for patches etc)

PhilKC

4
Sounds a bit like something McAfee do; SiteAdvisor. It gives some basic stats about how 'nice' websites are, examples follow:

http://www.siteadvis...es/donationcoder.com
http://www.siteadvis....com/sites/bbc.co.uk
http://www.siteadvis...m/sites/slashdot.org

Phil

5
Developer's Corner / Re: Detect unused code (C#)
« on: March 08, 2007, 04:33 AM »
FXCop can do that, I think..
http://www.gotdotnet.com/Team/FxCop/

PhilKC

7
Living Room / Re: Is IRC Down?
« on: August 09, 2006, 06:26 PM »
[00:24:15] <@MouserBot> [DC Forum] Is IRC Down? - http://www.donationc...21.msg33386#msg33386 - by Rover

^

It's you... Any error or just timeouts?

8
Living Room / Re: CPU 100%
« on: June 25, 2006, 10:12 AM »
What is CPU and how does it relate to RAM??

The CPU is the "Central Processing Unit" of your computer, this is often made by Intel, or AMD, it's the brains of your PC, and everything you do relies upon it.

RAM is "Random Access Memory", and is used as a 'quick access' store for your applications, by storing variables in RAM, retrieving them is faster...

The two are in no real way realted...

PhilKC

9
Living Room / Re: CPU 100%
« on: June 24, 2006, 02:14 PM »
I'm also going to have a stab at this >_>

Running services.msc and disabling the Zero Configuration service manually would also work...

It all depends if the belkin suppied exe does anything else which you might need...

If it does, go with the services.msc way, else, mouser's link would be best...

PhilKC

10
Living Room / Re: CPU 100%
« on: June 24, 2006, 02:00 PM »
WinXPDisableZeroConfigation.exe   140   60.71   Disable zero config   XPDisable0Conf

Eeeeeer, Not good.

http://www.google.co...eZeroConfigation.exe

PhilKC

11
General Software Discussion / Re: download monitoring in network
« on: June 23, 2006, 09:24 AM »
I've just been doing normal surfing to 3 forumn sites, and the program says i've download 1.2 mb of data. Is that normal?? for 20 mins of forum surfing???

Depending on your client (and forum) settings... Yes...

If you want to save some bandwidth, disable avatars, and sigintures, consider disabling images (Or only allows those from the originating site)...

As for the rouge client, unless your routing devices has some functionality to show bandiwdth consumtion, I think you're out of luck.. (Short of installing an app to do so on every PC)

PhilKC

12
Post New Requests Here / Re: Start Delay
« on: June 20, 2006, 09:24 PM »
Brother_S (A user on this forum) has a program to do just that, I can't remember it's name...

Anyone with a less crap memory recall it?

PhilKC

13
Windows task schedular (Start->Run    tasks) can be set to run anything when the computer has been idle x number of minutes... I know it's not exactly what you want... But similar...

PhilKC

14
I need a job or something >_>

http://bluescreenofd...o.uk/DC/RPS%2025.exe

Code: C++ [Select]
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. void fillArrays();
  6. int getHand(bool);
  7. int findWinner(int, int);
  8.  
  9. const int maxValue = 25;
  10. static char* names[maxValue];
  11. static int values[maxValue];
  12.  
  13. int main()
  14. {
  15.     cout << endl;
  16.     srand (time(NULL));
  17.     fillArrays();
  18.     int player = getHand(false);
  19.     int cpu = getHand(true);
  20.     int win = findWinner(player, cpu);
  21.     if (win == 0)
  22.        cout << "YOU WIN!";
  23.     else if (win == 1)
  24.        cout << "I WIN!";
  25.     else
  26.        cout << "Draw :(";
  27.     cout << endl;
  28.     system("PAUSE");
  29.     return EXIT_SUCCESS;
  30. }
  31.  
  32. int findWinner(int player, int cpu)
  33. {
  34.     if (player == cpu)
  35.        return 2;
  36.     if (player > 12)
  37.     {
  38.        if ((player < cpu) && (player > (cpu - 12)))
  39.           return 1;
  40.        return 0;
  41.     }
  42.     if (cpu > (player + 12))
  43.        return 0;
  44.     return 1;
  45. }
  46.  
  47. int getHand(bool cpu)
  48. {
  49.     int hand = 0;
  50.     if (cpu)
  51.     {
  52.        hand = rand() % maxValue;
  53.        cout << "I picked " << names[hand] << endl;
  54.     }
  55.     else
  56.     {
  57.         cout << "Pick your hand! (By number): ";
  58.         cin >> hand;    
  59.         cout << endl << "Ok, you picked " << names[hand] << endl;
  60.     }      
  61.     return hand;  
  62. }
  63.  
  64. void fillArrays()
  65. {
  66.      names[0] =         "Gun";
  67.      names[1] =         "Dynomite";
  68.      names[2] =         "Nuke";
  69.      names[3] =         "Lightning";
  70.      names[4] =         "Devil";
  71.      names[5] =         "Dragon";
  72.      names[6] =         "Alien";
  73.      names[7] =         "Water";
  74.      names[8] =         "Bowl";
  75.      names[9] =         "Air";
  76.      names[10] =        "Moon";
  77.      names[11] =        "Paper";
  78.      names[12] =        "Sponge";
  79.      names[13] =        "Wolf";
  80.      names[14] =        "Cockroach";
  81.      names[15] =        "Tree";
  82.      names[16] =        "Man";
  83.      names[17] =        "Woman";
  84.      names[18] =        "Monkey";
  85.      names[19] =        "Snake";
  86.      names[20] =        "Axe";
  87.      names[21] =        "Scissors";
  88.      names[22] =        "Fire";
  89.      names[23] =        "Sun";
  90.      names[24] =        "Rock";
  91.      int i;
  92.      for (i=0;i<25;i++)
  93.      {
  94.          values[i] = i;
  95.          cout << i << " - " << names[i] << endl;
  96.      }
  97.      cout << endl;    
  98. }

PhilKC

15
Personally I think memory usage is a better goal to aim for. With careful pruning of services I used to get sub 70mb for XP usage after boot.

*cough*

http://bluescreenofd...ath.co.uk/vmware.jpg

PhilKC

16
I'm quite partial to the ol' new line key... Ya know, "Enter" ;)
Quite hard to get things done without it...









</Celebration of the enter key>

PhilKC

17
Living Room / Re: When you make your 100'th Post
« on: May 29, 2006, 05:34 AM »
PhilKC - I knew you'd want this captured for preservation...  :P

It's like Christmas all over again!

18
How about some sort of donation based fund for getting people to the meeting?

</crazy idea>

PhilKC

19
Post New Requests Here / Re: IDEA: Avatar Resizer
« on: May 25, 2006, 03:20 PM »
If no one has come up with anyhing by the morning, I'll have a shot at this :)

PhilKC

20
Hey, for 1.09, is there a way to make it so that you can enter the URL of the page to be checked for the update that way it isnt hard coded into the app. Perhaps this can be stored in a registry key, and loaded each time the program starts. That way, if symantec were to change their page, you wouldnt have to update the program.

Done.

Also, the exception is thrown when you click an empty spot in the log window. Also, ntvdm.exe isnt being killed in task manager. I still show it running.

Fixed.

One thing I did notice is that when you change the amount of time between updates, its not remembered when you restart the app and its also not updated on the timer. Is there a way to do this via a registry key? You could store whether or not silent updates are enabled, auto update is enabled, the update interval and the default log file to use all in registry. Would this be feasible? One final thing, when you press update to do a manual update, it doesnt reset the timer (at least in the titlebar of the app). Thanks again!

Changed. (Although the title bar wont update instantly)

1.09 ahoy!

PhilKC

21
Ok, as of 1.04 that exception should be fixed, and the manual update button has been added.

EDIT: 1.05 is out, some minor fixes and the ability to abort an update, GUI changes...

EDIT: 1.06 is out, rewrote most of the code, focusing on the threading...

PhilKC

22
nUpdate /silent
Will launch silently

nUpdate /silent "C:\log.txt"
Will launch silently, and log to C:\log.txt

PhilKC

23
Ok, that took longer than expected, sorry.

http://bluescreenofd...co.uk/DC/nUpdate.exe

Usage:
   Normal: Just double click...
   With logging to file: nUpdate "C:\Log.txt"

Minimise to hide in the tray... That's about it...
It doesn't delete after running, but it does overwrite the same one each time, so not much space is lost...

EDIT: I do not own Norton *... Hence I couldn't test this as much as I would have liked to...

Errors/bugs/etc, either post here or email the address in the progam...

PhilKC

24
I'm working on something now... Shouldn't take too long to finish up and GUI-ify...

*cough* Assuming it stops creating 80MB files *cough*

PhilKC

25
Mircryption / Re: Ignore messages containing a special word
« on: May 21, 2006, 04:42 AM »
if (fuckoff isin $1-) {
       haltdef
}

How about that?

Pages: [1] 2 3 4next