Skip to main content

Home/ Coders/ Group items tagged dos

Rss Feed Group items tagged

Joel Bennett

Powershell script blocks as .NET event handlers - 0 views

  •  
    How to handle Events in PowerShell (another example of things you just can't do in a string based shell?) a GREAT example of how using PowerShell leads to .Net programming (and how knowing .NET programming translates into knowing PowerShell).
Joel Bennett

Svn.NET - .Net bindings for SVN - 0 views

  • This is a project to build reliable .NET bindings for the Subversion version-control system libraries. This is a continuation of the SubversionSharp library initially created by Softec and released under the LGPL.
  •  
    Looks like a pretty good effort to create a .Net binding which would let you easily do SVN apps in .Net
Joel Bennett

Tracing in .NET and Implementing Your Own Trace Listeners - 0 views

  • TextWriterTraceListener
  •  
    A good place to start if you want to do trace or debug messages from .NET, this article explains the differences between trace and debug, how you can turn them on and off, and how you can set them to trace to file or event log without recompiling. Excellent.
Joel Bennett

Polyglot Programming | Dr. Dobb's | May 1, 2002 - 0 views

  • Everyone will benefit, even the Java community: Now that there's competition again, new constructs are—surprise!—again being considered for Java
  • Do languages have to sacrifice anything?
  • .NET goes much further: A routine written in a language L1 may call another routine written in a different language L2. A module in L1 may declare a variable whose type is a class declared in L2, and then call the corresponding L2 routines on that variable. If both languages are object oriented, a class in L1 can inherit from a class in L2. Exceptions triggered by a routine written in L1 and not handled on the L1 side will be passed to the caller, which—if written in L2—will process it using L2's own exception-handling mechanism. During a debugging session, you may move freely and seamlessly across modules written in L1 and L2. I don't know about you, but I've never seen anything coming even close to this level of interoperability.
  •  
    This ability to mix languages offers great promise for the future of programming languages, as the practical advance of new language designs will no longer be hindered by the library issue ...
Rick Fan

McCoy - MDC - 0 views

shared by Rick Fan on 11 Oct 08 - Cached
  • Once you have a key you need to add its public part to your add-on's install.rdf file. The simplest way to do this is to select the key then click the Install toolbar button. You must then locate your install.rdf for McCoy and the public part of the key will be added directly to the file. The file will be overwritten so take a backup if you need to.
  • You need to use McCoy to sign this file so that the application can verify that it really came from you. Simply select the key you originally added to the add-on's install.rdf, then click the "Sign" toolbar button, select your update.rdf file and the data in it will be signed. It's important to note that if you change any information in the update file then it must be signed again.
Joel Bennett

Save and Restore the Location, Position and State of a WPF Window. - The Code Project -... - 0 views

  •  
    Although it's nice to save the window position and size automatically ... it's frankly not worth an external library.  However, this is a good sample of how to do attached properties, and if you have a general utility library that you include in all your WPF apps, this would deffinitely be a useful addition to it.
Joel Bennett

CR_Documentor - The Documentor Plug-In for DXCore - 0 views

  •  
    A CodeRush Documentation Preview plugin -- lets you see what your xml-comment documentation would look like when generated to html, so you can usefully do formatting, etc.
Joel Bennett

/\/\o\/\/ PowerShelled: Large AD queries in Monad - 0 views

  •  
    For searching for huge result sets in AD you need to set a PageSize, or maybe do the paging by hand.

    Related:
    http://groups.google.com/group/microsoft.public.windows.server.scripting/tree/browse_frm/thread/32864b65a7a4fb70/14689e6f46898340
Joel Bennett

How to capture "legacy" program output in MSH and redirect them to MshHostUserInterface - 0 views

  •  
    I can't figure out how to do this, maybe they never enabled it properly.
Joel Bennett

Choosing a ClickOnce Update Strategy - 0 views

  •  
    Ways of doing updates using the VS2005/.Net2 ClickOnce deployement
Fabien Cadet

Use your singletons wisely - 0 views

  • I know where you live anti-pattern
  • Liskov Substitution Principle
  • the easier it is to test a class, the more likely a developer will test it.
  • ...3 more annotations...
  • Don't worry: the code will always tell you what to do. Just listen.
  • The key points here are that a class is only a singleton if all applications treat it exactly the same and if its clients can use the class without an application context.
  • "[c]ode wants to be simple."
  •  
    "singletons are unnecessarily difficult to test and may make strong assumptions about the applications that will use them [...] I know where you live anti-pattern [...] Liskov Substitution Principle". "To decide whether a class is truly a singleton: * Will every application use this class exactly the same way? (exactly is the key word) * Will every application ever need only one instance of this class? (ever and one are the key words) * Should the clients of this class be unaware of the application they are part of?"
Joel Bennett

C Programming.com - C++ and C Made Easy - 1 views

  •  
    CProgramming.com is an excellent resource with lots of good tutorials and even quizes to help you asses your skills.
  •  
    www.killdo.de.gg Most quality online stores. Know whether you are a trusted online retailer in the world. Whatever we can buy very good quality. and do not hesitate. Everything is very high quality. Including clothes, accessories, bags, cups. Highly recommended. This is one of the trusted online store in the world. View now www.retrostyler.com
Joel Bennett

jQuery: The Write Less, Do More, JavaScript Library - 0 views

  •  
    JQuery reduces the ammount of code you have to write for common web tasks...
Joel Bennett

Themed Windows XP style Explorer Panel/Bar - The Code Project - 0 views

  •  
    A .NET control to do collapsible control panels like Explorer has in "Open" view, which properly supports windows themes (with source code and everything).
Joel Bennett

The Code Project - ComboBoxTree - C# Controls - 0 views

  •  
    www.killdo.de.gg Most quality online stores. Know whether you are a trusted online retailer in the world. Whatever we can buy very good quality. and do not hesitate. Everything is very high quality. Including clothes, accessories, bags, cups. Highly recommended. This is one of the trusted online store in the world. View now www.retrostyler.com
Joel Bennett

A Free Plot / Graph / Chart Library for .NET (C#, VB.NET, etc) - 0 views

  •  
    www.killdo.de.gg Most quality online stores. Know whether you are a trusted online retailer in the world. Whatever we can buy very good quality. and do not hesitate. Everything is very high quality. Including clothes, accessories, bags, cups. Highly recommended. This is one of the trusted online store in the world. View now www.retrostyler.com
Joel Bennett

Krugle - 0 views

shared by Joel Bennett on 08 Feb 07 - Cached
  •  
    An elegant search engine for coders: finds code that Google doesn't (yet) because it indexes sourceforge (among others).
  •  
    www.killdo.de.gg Most quality online stores. Know whether you are a trusted online retailer in the world. Whatever we can buy very good quality. and do not hesitate. Everything is very high quality. Including clothes, accessories, bags, cups. Highly recommended. This is one of the trusted online store in the world. View now www.retrostyler.com
Joel Bennett

"Loading" gif generator - 0 views

  •  
    Slick little generator for "busy" animations (with a focus on the new circle-throbbers) in different colors (and only in .gif format)
  •  
    www.killdo.de.gg Most quality online stores. Know whether you are a trusted online retailer in the world. Whatever we can buy very good quality. and do not hesitate. Everything is very high quality. Including clothes, accessories, bags, cups. Highly recommended. This is one of the trusted online store in the world. View now www.retrostyler.com
Joel Bennett

BrowsrCamp - 0 views

  • easiest
    • Joel Bennett
       
      Short of actually having a mac, that is.
    • Joel Bennett
       
      And assuming you don't mind paying $2 for a day of access.
  •  
    Free screenshots of your site in safari ... for-pay access to a virtual machine on a mac so you can test all Mac browsers. Just how badly do you want to be ready for the two-percenters?
Matteo Spreafico

Fabulous Adventures In Coding : The Stack Is An Implementation Detail, Part One - 0 views

  • Almost every article I see that describes the difference between value types and reference types explains in (frequently incorrect) detail about what “the stack” is and how the major difference between value types and reference types is that value types go on the stack.
  • I find this characterization of a value type based on its implementation details rather than its observable characteristics to be both confusing and unfortunate. Surely the most relevant fact about value types is not the implementation detail of how they are allocated, but rather the by-design semantic meaning of “value type”, namely that they are always copied “by value”.
  • Of course, the simplistic statement I described is not even true. As the MSDN documentation correctly notes, value types are allocated on the stack sometimes. For example, the memory for an integer field in a class type is part of the class instance’s memory, which is allocated on the heap.
  • ...3 more annotations...
  • As long as the implementation maintains the semantics guaranteed by the specification, it can choose any strategy it likes for generating efficient code
  • That Windows typically does so, and that this one-meg array is an efficient place to store small amounts of short-lived data is great, but it’s not a requirement that an operating system provide such a structure, or that the jitter use it. The jitter could choose to put every local “on the heap” and live with the performance cost of doing so, as long as the value type semantics were maintained
  • I would only be making that choice if profiling data showed that there was a large, real-world-customer-impacting performance problem directly mitigated by using value types. Absent such data, I’d always make the choice of value type vs reference type based on whether the type is semantically representing a value or semantically a reference to something.
« First ‹ Previous 361 - 380 of 578 Next › Last »
Showing 20 items per page