Konstantin Vlasenko

My name is Konstantin Vlasenko. I live and work in Saint-Petersburg (Russia).

Archive for the ‘1’ Category

Credential Security Support Provider (CredSSP) Protocol Specification

without comments

Written by Konstantin Vlasenko

March 9, 2010 at 12:51

Posted in 1

Tagged with

Sphinx Documentation: Remove Duplication

without comments

Let’s imagine that you need to show the same text on the several pages.
This one is not a footer or something like this. Just text you want to be on the several pages.
There are two options available in the reStructuredText:

  1. Inclusion
  2. Substitutions
Inclusion
The “include” directive reads a reStructuredText-formatted text file and parses it in the current document’s context at the point of the directive. The directive argument is the path to the file to be included, relative to the document containing the directive.

===Example===
—text.inc
Hello Collapsed World
—page.rst
Some text before
.. include:: text.inc
Some text after

—result
Some text before
Hello Collapsed World
Some text after

Substitutions
The “replace” directive is used to indicate replacement text for a substitution reference.

===Example===
—text.inc
.. |expand| replace:: Please Expand Me

—page.rst

.. include:: text.inc
Some text before
|expand|
Some text after

—result
Some text before
Please Expand Me
Some text after

Written by Konstantin Vlasenko

February 11, 2010 at 13:35

Posted in 1

Tagged with

GitHub is for Public Open Source and Private Business Code

without comments

http://github.com/

Have used it just once for a while to suggest SLIM_HOST patch to Fitnesse team. It was useful. But you can find an interesting point of view on stackoverflow

Written by Konstantin Vlasenko

January 23, 2010 at 02:29

Posted in 1

Tagged with , ,

Personal power system for mobile devices

with 2 comments

Read this http://www.dahon.com/news/releases/2009/august/dahon-brings-green-power-every-bike-0

I suppose you can use this tool with the baby carriage as well.

Written by Konstantin Vlasenko

November 23, 2009 at 18:59

Posted in 1

СМИ Франции: Ядерные отходы в России хранятся под открытым небом

without comments

http://top.rbc.ru/society/12/10/2009/336472.shtml

По данным французских СМИ, на улице находится около 13% ядерных отходов, отправленных на переработку в небольшой закрытый сибирский город, передает Reuters.

"Хранить на территории своей страны радиоактивные вещества с периодом полураспада в 24 тысячи лет слишком дорого, поэтому опасные для жизни грузы везут в Россию", – поясняют эксперты.

Written by Konstantin Vlasenko

October 12, 2009 at 13:54

Posted in 1

THE ENERGY MACHINE OF JOSEPH NEWMAN

without comments

Written by Konstantin Vlasenko

October 12, 2009 at 10:42

Posted in 1

Anti Gravity Lifters Technology

without comments

The Lifter works without moving parts, flies silently, uses only electrical energy and is able to lift its own weight plus an additional payload. The Lifter uses the Biefeld-Brown effect discovered by Thomas Townsend Brown in 1928.

http://www.antigravitytechnology.net/current_anti_gravity4.html

Written by Konstantin Vlasenko

October 12, 2009 at 10:35

Posted in 1

10 Things SharePoint Can Do for Your Firm

without comments

Written by Konstantin Vlasenko

August 28, 2009 at 00:07

Posted in 1

RBS is really ‘all or nothing’. No options for application logic :(

without comments

RBS is implemented in SQL Server and is application agnostic. That’s to say, if you turn RBS on then all BLOB objects from any SQL Server-based application will be externalized. If that’s what you want to happen then that’s great but if you need to be able to apply business logic to what is externalized and whence it goes then you are severely restricted.

http://nevertalkwhenyoucannod.typepad.com/nevertalk/2009/02/the-truth-behind-rbsis-it-really-all-or-nothing.html

Written by Konstantin Vlasenko

August 27, 2009 at 23:55

Posted in 1

Binary Content and SharePoint Performance

without comments

It looks like not only count of SharePoint objects (count of rows in the SharePoint SQL tables) affects SharePoint performance. The amount of binary contents also influences SharePoint performance based on article below.

Source: http://technet.microsoft.com/en-us/magazine/2009.06.insidesharepoint.aspx

By default, SharePoint stores BLOB data in the Content column of the AllDocStreams table in the content database. The obvious advantage of this approach is straightforward transactional consistency between relational data and the associated non-relational file contents. For example, it’s not complicated to insert the metadata of a Word document along with the unstructured content into a content database, nor is it complicated to associate metadata with the corresponding unstructured content in select, update, or delete operations. However, the most obvious disadvantage of the default approach is an inefficient use of storage resources. Despite an I/O subsystem optimized for high performance, the SQL Server storage engine is not exactly a file-server replacement.

A SQL Server database consists of transaction log and data files, as illustrated in Figure 1. In order to ensure reliable transactional behavior, SQL Server first writes all transaction records to the log file before it flushes the corresponding data in 8KB pages to the data file on disk. Depending on the selected recovery model, this requires more than twice the BLOB size in storage capacity until you perform a backup and purge the transaction log. Moreover, SQL Server does not store unstructured SharePoint content directly in data pages. Instead, SQL Server uses a separate collection of text/image pages and only stores a 16-byte text pointer to the BLOB’s root node in the data row. Text/image pages are organized in a balanced tree, yet there is only one collection of text/image pages for each table. For the AllDocStreams table, this means that the content of all files is spread across the same text/image page collection. A single text/image page can hold data fragments from multiple BLOBs, or it may hold intermediate nodes for BLOBs larger than 32KB in size.

By default, SharePoint stores BLOB data in the Content column of the AllDocStreams table in the content database. The obvious advantage of this approach is straightforward transactional consistency between relational data and the associated non-relational file contents. For example, it’s not complicated to insert the metadata of a Word document along with the unstructured content into a content database, nor is it complicated to associate metadata with the corresponding unstructured content in select, update, or delete operations. However, the most obvious disadvantage of the default approach is an inefficient use of storage resources. Despite an I/O subsystem optimized for high performance, the SQL Server storage engine is not exactly a file-server replacement.

A SQL Server database consists of transaction log and data files, as illustrated in Figure 1. In order to ensure reliable transactional behavior, SQL Server first writes all transaction records to the log file before it flushes the corresponding data in 8KB pages to the data file on disk. Depending on the selected recovery model, this requires more than twice the BLOB size in storage capacity until you perform a backup and purge the transaction log. Moreover, SQL Server does not store unstructured SharePoint content directly in data pages. Instead, SQL Server uses a separate collection of text/image pages and only stores a 16-byte text pointer to the BLOB’s root node in the data row. Text/image pages are organized in a balanced tree, yet there is only one collection of text/image pages for each table. For the AllDocStreams table, this means that the content of all files is spread across the same text/image page collection. A single text/image page can hold data fragments from multiple BLOBs, or it may hold intermediate nodes for BLOBs larger than 32KB in size.

image001

Figure 1 Default SharePoint BLOB storage in SQL Server

Let’s not dive too deeply into SQL Server internals, though. The point is that when reading unstructured content, SQL Server must go through the data row to get the text pointer and then through the BLOB’s root node and possibly additional intermediate nodes to locate all data fragments spread across any number of text/image pages that SQL Server must load into memory in full to get all data blocks. This is because SQL Server performs I/O operations at the page level. These complexities impair file-streaming performance in comparison to direct access through the file system.

Written by Konstantin Vlasenko

August 27, 2009 at 19:54

Posted in 1