background preloader

S/W Devel

Facebook Twitter

Multithreadyng & Concurrency

Droid. Web. C++ and Beyond. IDE. Codepad. Online Training / Courseware. Security News. Java. Git in 5 Minutes. Many people consider Git to be too confusing or complex to be a choice for version control.

Git in 5 Minutes

Yet Git considers to grow in adoption, and many interesting things have grown up around it. This document is geared for someone wanted to get started with Git, often coming from a Subversion background. For most basic needs this document will cover 70 to 90 percent of your use. Getting Started To use Git you will have to setup a repository. To make your current directory a Git repository we simply run init. git init To make a new directory that is a Git repository we just specify a directory. git init newrepo From here on out we'll assume that you are in the root of the Git repository unless otherwise noted.

Adding New Files So we have a repository, but nothing in it. Git add filename To add everything in your directory try git add .. Committing a Version Now that we've added these files, we want them to actually be stored in the Git repository. Git commit -m "Adding files" Editing Files. Software optimization resources. C++ and assembly. Windows, Linux, BSD, Mac OS X. See also my blog Contents Optimization manuals This series of five manuals describes everything you need to know about optimizing code for x86 and x86-64 family microprocessors, including optimization advices for C++ and assembly language, details about the microarchitecture and instruction timings of most Intel, AMD and VIA processors, and details about different compilers and calling conventions.

Software optimization resources. C++ and assembly. Windows, Linux, BSD, Mac OS X

Operating systems covered: DOS, Windows, Linux, BSD, Mac OS X Intel based, 32 and 64 bits. Note that these manuals are not for beginners.


Algorithms. Baseball Project. Android. Linux. Cloud Computing, Managed Hosting, Dedicated Server Hosting by Rackspace. Web Devel. The Daily WTF: Curious Perversions in Information Technology. Textbooks. Boost C++ Libraries.

The Boost Statechart Library - Overview. (formerly known as boost::fsm) Overview Contents Overview Supported platforms Getting started Audience Tutorial [pdf: English, Japanese] UML to Boost.Statechart mapping summary Frequently Asked Questions (FAQs) Configuration Definitions Reference [pdf: English] Rationale [pdf: English] Performance Acknowledgments To-do list Change history Overview Welcome to Boost.Statechart, a C++ library for finite state machines.

The Boost Statechart Library - Overview

Straightforward transformation from UML statechart to executable C++ code and vice versa. Supported platforms Whether and how Boost.Statechart will work on your platform is best determined on the release branch status page. Getting started Follow the steps 1-4 described on the Boost Getting Started Page. Audience Throughout all Boost.Statechart documentation it is assumed that the reader is familiar with the state machine concept, UML statecharts and most of the UML state machine terminology. Revised 09 April, 2007. Asio. Copyright © 2003 - 2010 Christopher M.


Kohlhoff Boost.Asio is a cross-platform C++ library for network and low-level I/O programming that provides developers with a consistent asynchronous model using a modern C++ approach. Overview An overview of the features included in Boost.Asio, plus rationale and design information. Very Simple Server. I've changed server.cpp a bit.

Very Simple Server

First reconfigured acceptor_ on constructor. Removed while loop, added acceptor_.close(); I suppose, default acceptor can async_accept 200 connection events at a time. You open a socket and close it from the client side in an infinite loop. As a result you open and close a connection 200 times, but it is still 1 connection, 1 socket. Capping it to 1 by calling listen(1), would force the acceptor to fire an event. Last note: async io uses 1 thread to process connection events, retrieved data etc... Asio_doc.pdf (application/pdf Object) Boost Async Client sample. Current community your communities Sign up or log in to customize your list. more stack exchange communities Stack Exchange sign up log in tour help careers 2.0 Stack Overflow Ask Question Take the 2-minute tour × Stack Overflow is a question and answer site for professional and enthusiast programmers.

Boost Async Client sample

Making an asynchronous Client with boost::asio. The Boost C++ Libraries.


Upload & Share PowerPoint presentations and documents. Library of Recordings. Agile Software Development, Principles, Patterns, and Practices (9780135974445): Robert C. Martin. S/W Architecture. My Hacking Pearltree. C++