#Beginner - mIRC Commands Listing IRC Information..... Quick Reference to mIRC Commands Download here a zip/exe file which runs a program giving you easy access to these commands. Very Kewl! Download the text version of this page. / Recalls the previous command entered in the current window A new feature in mIRC allows you to minimize mIRC and lock it with a password for strange eyes. Shift+Mouse on Switchbar - Did you know that you can 'fast-close' a window in mIRC by clicking its button on the Switchbar while holding the SHIFT key pressed down?? /uwho - Ever wondered who you're actually speaking with? ALT + Minus - Press the key combination ALT and 'minus' simultaneous to access the windows' System Menu's (found under that little horizontal bar in every top left corner of ANY window in mIRC and windows). /clear - Use the /clear command to flush away all old text you dont want to read again. Doskey - Remember that old doskey feature under DOS?
Red–black tree A red–black tree is a data structure which is a type of self-balancing binary search tree. Balance is preserved by painting each node of the tree with one of two colors (typically called 'red' and 'black') in a way that satisfies certain properties, which collectively constrain how unbalanced the tree can become in the worst case. When the tree is modified, the new tree is subsequently rearranged and repainted to restore the coloring properties. The balancing of the tree is not perfect but it is good enough to allow it to guarantee searching in O(log n) time, where n is the total number of elements in the tree. Tracking the color of each node requires only 1 bit of information per node because there are only two colors. History Terminology A red–black tree is a special type of binary tree, used in computer science to organize pieces of comparable data, such as text fragments or numbers. Properties An example of a red–black tree Analogy to B-trees of order 4 Notes
WCF and MSMQ - Dennis van der Stelt It’s been a while since I blogged about one of my favorite topics, Windows Communication Foundation. In this article I’ll explain how you can use MSMQ with WCF to really process messages asynchronously. It’s unbelievable how easy this is. Read my complete WCF series on how to set up your first service. The idea in this example is that we have to send some e-mails, but we don’t want that to be done immediately. We’ll setup the service with a Console Application. 1: Make sure MSMQ is installed. MSMQ must of course be installed. On the right you can see I’ve turned on everything. 2: Setup a class library. Create a new project and make it a class library. [ServiceContract(Namespace=" SessionMode=SessionMode.NotAllowed)] public interface ISendMail [OperationContract(Name = "SubmitMessage", IsOneWay = true)] void SubmitMessage(MailMessage message); Now we need an implementation for our service. public class SendMailService : ISendMail if (! <endpoint
Groovy (programming language) Groovy 1.0 was released on January 2, 2007, and Groovy 2.0 in July, 2012. Groovy 3.0 is planned for release in early 2014, with support for Java 8 features and a new Meta Object Protocol. Since version 2, Groovy can also be compiled statically, offering type inference and performance close to, or even greater than, Java's. Groovy is backed by GoPivotal, which comprises the team from VMware. VMware acquired SpringSource, which acquired G2One, the Groovy and Grails company. In November 2008, SpringSource acquired the Groovy and Grails company (G2One). In August 2009 VMWare acquired SpringSource. In March 2004, Groovy had been submitted to the Java Community Process as JSR 241  and accepted by ballot. On July 2, 2012, Groovy 2.0 was released, which, among other new features, added static compilation and a static type checker to Groovy. Most valid Java files are also valid Groovy files. Groovy's syntax can be made far more compact than Java. can be expressed in Groovy as:
Heap: Pleasures and Pains Murali R. Krishnan Microsoft Corporation February 1999 Summary: Discusses common heap performance problems and how to protect against them. (9 printed pages) Introduction Are you a happy-go-lucky user of dynamically allocated C/C++ objects? What Is a Heap? (If you already know what a heap is, you can jump ahead to the section "What Are Common Heap Performance Problems?") A heap is used for allocating and freeing objects dynamically for use by the program. The number and size of objects needed by the program are not known ahead of time. A heap uses parts of memory outside of what is allocated for the code and stack during run time. GlobalAlloc/GlobalFree: Heap calls that talk directly to the per-process default heap. LocalAlloc/LocalFree: Heap calls that talk directly to the per-process default heap. COM's IMalloc allocator (or CoTaskMemAlloc / CoTaskMemFree): Functions use the default per-process heap. The Windows heap is a thin layer surrounding the Windows run-time allocator. Summary
What should every programmer know about web development Disjoint-set data structure MakeSet creates 8 singletons. After some operations of Union, some sets are grouped together. Find: Determine which subset a particular element is in. This can be used for determining if two elements are in the same subset.Union: Join two subsets into a single subset. In order to define these operations more precisely, some way of representing the sets is needed. One common approach is to select a fixed element of each set, called its representative, to represent the set as a whole. Disjoint-set linked lists A simple approach to creating a disjoint-set data structure is to create a linked list for each set. MakeSet creates a list of one element. This can be avoided by including in each linked list node a pointer to the head of the list; then Find takes constant time, since this pointer refers directly to the set representative. When the length of each list is tracked, the required time can be improved by always appending the smaller list to the longer. We now explain the bound above.
WCF configuration default limits, concurrency and scalability - Paolo Pialorsi - Bridge The Gap! Often I need to enumerate to my customers all the main configuration parameters related to default limits, concurrency and scalability of WCF, thus I decided to keep truck of all those parameters and features in order to have a unique place for reference. From a configuration point of view, WCF provides some parameters that influence the availability and scalability of solutions. These parameters are: configuration/system.serviceModel/behaviors/serviceBehaviors/behavior/serviceThrottling/@maxConcurrentCalls: defines the maximum number of messages actively processed by all the service instances of a ServiceHost. These configuration parameters can also be configured by code using the ServiceThrottlingBehavior configuration. Another set of interesting configuration parameters are those related to the default limits of messages, serialization measures, etc. of the various bindings. Sorry for the big table layout. PerCall: a new InstanceContext object is created for each call. That's all.
What is foo? - Definition from WhatIs.com Just as economists sometimes use the term "widget" as the ultimate substitute for "something" that is being measured, programmers tend to use the term "foo" (pronounced FOO) as a universal substitute for something real when discussing ideas or presenting examples. Suppose you are defining a template for any group of programmers to follow when creating a new user command, you might specify that the syntax for the command should be in the form: Command foo (arg1, arg2) where the "foo" would mean "the name you give to this command." In other words, "foo" is a nonsense kind of placeholder for some value that will be provided when using this template to define a real command. Foo or any such word used this way is formally known as a metasyntactic variable. Also see FUBAR. Contributor(s): Kevin Barrett and R. This was last updated in December 2006 Email Alerts Register now to receive SearchSOA.com-related news, tips and more, delivered to your inbox.
What is heap and stack? The stack is a place in the computer memory where all the variables that are declared and initialized before runtime are stored. The heap is the section of computer memory where all the variables created or initialized at runtime are stored. What are the memory segments? The distinction between stack and heap relates to programming. When you look at your computer memory, it is organized into three segments: text (code) segmentstack segmentheap segment The text segment (often called code segment) is where the compiled code of the program itself resides. Now let's get to some details. What is stack? The two sections other from the code segment in the memory are used for data. Data is stored in stack using the Last In First Out (LIFO) method. What is heap? On the other hand, heap is an area of memory used for dynamic memory allocation. The stack is much faster than the heap but also smaller and more expensive. Heap and stack from programming perspective Why is stack and heap important?
Taste for Makers February 2002 I was talking recently to a friend who teaches at MIT. His field is hot now and every year he is inundated by applications from would-be graduate students. "A lot of them seem smart," he said. Taste. Mathematicians call good work "beautiful," and so, either now or in the past, have scientists, engineers, musicians, architects, designers, writers, and painters. For those of us who design things, these are not just theoretical questions. If you mention taste nowadays, a lot of people will tell you that "taste is subjective." Most of us are encouraged, as children, to leave this tangle unexamined. Your mother at this point is not trying to teach you important truths about aesthetics. Like many of the half-truths adults tell us, this one contradicts other things they tell us. What goes through the kid's head at this point? Saying that taste is just personal preference is a good way to prevent disputes. Whatever job people do, they naturally want to do better.