Entries:
Comments:
Posts:

Loading User Information from Channel 9

Something went wrong getting user information from Channel 9

Latest Achievement:

Loading User Information from MSDN

Something went wrong getting user information from MSDN

Visual Studio Achievements

Latest Achievement:

Loading Visual Studio Achievements

Something went wrong getting the Visual Studio Achievements

Discussions

Herbie Smith Dr Herbie Horses for courses
  • Silent install of C# Windows Service?

    Hi,
       I'm looking (without much success) for details of how to install a Windows Service as a silent install. 
    It was written in VS2005 with an System.Configuration.Install.Installer-derived class present.

    I want to be able to install it from the command line (powershell would be fine) using the MSI file generated by VS2005.  I need to be able to specify a username and password for the service to run as. 

    Is there a method for specifying these parameters? It's for our test machines so it doesn't matter is the username and password are cleartext, our customers do a manual install.

    Any pointers appreciated.

    Herbie

  • UML, Good, Bad, Indifferent

    littleguru wrote:
    Our professor mentioned in one lecture that we are only going to do UML diagrams in 5 years. No more coding. Just "UML coding". 


    That's a bit like the 'This is the year of Linux' line.  I first heard the 'UML will take over in five years' line about, oh, five years ago. Big Smile

    UML is good for documentation, but not a useful tool for design (except when a diagram can help you clarify your thoughts).

    I only use 'simple' UML: basic class and sequence diagrams.  The rest is just academic 'dreamland' junk.

    I once saw a UML diagram of the UML syntax -- it spanned two pages in the UML book I was reading and was totally impenetrable. A picture might be worth a thousand words, but a big picture is too much to take in.

    Use UML to augment the plain english description, don't leave the words out completely.

    Herbie

  • Vista-Kitty Wallpaper (Comments?)

    jsampsonPC wrote:
    Aww, c'mon guys Out of 300 views, only 1% left comments? Where's the community, where's the criticism?


    OK, er ..., nice cat.

    Um. Is it USB compatible?


    Herbie

  • Why do some people not like .Net framework.

    TommyCarlier wrote:
    Imekon, how old are you? I think a lot of people here would agree that you sound pretty ignorant on the subject of .NET.


    Rephrased to sound less like a personal attack (made me wince when I read it):

    Imekon, how much programming experience do you have? 



    Imekon is asking about NET because he doesn't have experience with it.

    Herbie

  • Nice Vids Rory

    Tominator2005 wrote:
    Hey Rory,

    hows it going?

    Your vidoes rock!

    XNA looks totally cool!

    Im a developer too ( Haven't written anything cool )
    The last app I wrote was for a college project that sorted out
    football team scores in VB6, but I think .NET is totally cool.

    I'd like to become a professional programmer but in good old Sheffield, UK there arnt many IT positions available and the ones that are, require at least 2 - 5 yrs experience.

    But back to what I was saying, keep up the good work Rory!



    Lack of programming jobs is a similar story in the West Midlands.
    I move up from Hampshire at the start of this year.  Tons of jobs in Hampshore/Bershire, but took nearly a year to find a decent one in Shropshire/South Cheshire

    Keep looking, there are a few good jobs around. Good luck.

    Herbie

  • Why do some people not like .Net framework.

    Memory management in NET is non-intuitive.

    NET doesn't free memory immediately (for speed) so the memory usage appears to bloat very quickly. If memory is in short supply, NET will free it's unused memory.  If memory is not in short supply, NET will appear to chew through it at a rapid rate, as it allocates new memory without fully clearing freed memory.

    The point is that it doesn't matter if NET uses memory that's not needed elsewhere; it would only sit there unused.

    We had exactly this issue with a customer who complained that our .NET windows services showed ever-increasing memory consumption.  They were running on dedicated servers, so there was no competition for the memory.

    As an aside: If there are multiple .NET applications running on the same machine, does the framework share the memory allocations between them? Does this make for more efficient memory usage when there are multiple NET apps?

    As a developer, NET is attractive as it's easly to move to from unmanaged C++.

    Most development I have done in my career is similar -- database driven business applications -- and I have never needed to use calls to the windows API more that twice in 4 years. imekon is writing fairly minority appications (there aren't as many apps that use MIDI compared to database apps) so I would say that for Delphi to support the MIDI API is lucky; most frameworks would have not bothered for pragmatic, business reasons.

    Yes, Delphi is productive, but Pascal is still a minority language and business will not want to pay the cost of re-training it's developers. For example its been 12 years since I used Pascal -- I could probably read it, but developing it would be painful without training. Moving to C# took about two weeks (including the basics of the framework library).

    The whole framework download issue will go away over time as it is now included in the OS install.  This is exactly what happened with VB runtime DLLs.


    My 2p worth.

    Herbie

  • Sven Groot, MSc.

    Congratulations, Sven.
    Take a holiday and bask in the glow of success. It's a good feeling.

    Herbie

  • Smartest Niner

    SecretSoftware wrote:
    

    you have to give criteria for evaluation.



    Biologists/psychologists have been trying to give criteria for evaluating intelligence for decades. Haven't managed it yet.

    I say we go for something measurable, like how many mashmallows you can stuff into your mouth at once. It's probably as good a measure as anything else. Tongue Out

    Herbie

  • Smartest Niner

    jsampsonPC wrote:
    
    Dr Herbie wrote: Well, Rory already delcared himself the smartest man in the world, so I suppose it's him. 

    If you can believe a word he says.

    Herbie


    Rory didn't declare himself that, I believe it was actually Carl Franklin who did Rory didn't object


    Yeah, Rory says it was someone else ... Big Smile:D:D

    Herbie

  • Smartest Niner

    Well, Rory already delcared himself the smartest man in the world, so I suppose it's him. 

    If you can believe a word he says. Smiley

    Herbie