To think and talk about programming and software

Should I switch from C++?

Submitted by slavikt on Sun, 10/28/2007 - 22:34.

The whole today morning I was thinking about switching from C++ to something like Java or C#. The reasons for these thoughts were very simple.  read more »

|

Logging news

Submitted by slavikt on Thu, 10/25/2007 - 22:54.

My previous article about logging in C++ was quite pessimistic. Things become better.

The log4cxx library I have blamed in that text looks alive again. It leaves the incubation stage and now first Apache release 0.10 is preparing.

What is more, it has large improvements inside. For example, the operator<< support in logging macros has been broken for at least two last years. I had to use the logstream class for complex logging operations. Now it has been returned and fixed.

I'm going to stick with log4cxx.

|

Dreams come true

Submitted by slavikt on Sat, 09/22/2007 - 22:49.

Well, as you probably can see, I have thrown the Wordpress out. This site now runs under Drupal. The content is transferred, the existing URLs are preserved. The only things we lost are user registrations and comments.

There is currently remains some things to do (such as a list of categories in the right column). You can also see the changes in the RSS feed.

Please feel free to comment with any feedback.

|

Ah, by the way!

Submitted by slavikt on Fri, 09/07/2007 - 23:32.

I have succesfully built curlpp with msvc8 sp1. Stay in touch!

|

Dreaming about Drupal

Submitted by slavikt on Fri, 09/07/2007 - 23:29.

I'm not happy with the wordpress. Currently I have two Wordpress blogs, two Drupal content sites and one site with my own-programmed CMS. The last is worst, of course. But I'm constantly thinking about switching everything to the Drupal.

Latest reason about this is the handling of "permalinks" in the wordpress. It's quite painfull to switch from existing structure without loosing existing linkage scheme. At the same time, Drupal allows this increadibly easy...

Thinking, 37% done. There is not that much content in this blog, I hope converting into Drupal will be very easy.

|

How to convert string to int (or int to string)

Submitted by slavikt on Tue, 07/10/2007 - 16:08.

Have I already told that Boost is incredibly useful thing? For example, to easily convert number into the string, you can use lexical_cast like:  read more »

|

How to change Drupal node content type without loosing PageRank and incoming links

Submitted by slavikt on Mon, 06/11/2007 - 22:20.

Suppose, you have a very popular "simple article" on your Drupal-powered site. May be, this is a "page", with a lot's of comments and incoming links. Suppose, you have decided to add a couple of child articles to it. To form the tree-like structure like in the Book module. You'll not be able to do this since only "book" pages can be a root of the book. This is only one of the cases when you have to change the content type of the existing node.  read more »

|

Managing the content

Submitted by slavikt on Mon, 05/21/2007 - 00:33.

Finally, I have found the best Content Management System (CMS) I had ever saw. It is reliable, easy to use and extremelly expandable. It is called Drupal.  read more »

|

Logging thoughts

Submitted by slavikt on Mon, 05/14/2007 - 19:26.

The situation around the logging frameworks is not very good in the world of C++. There is no much similarity with .NET or Java world, where the great log4smthng solves all logging issues. Many people uses the self-written libraries.

In fact, the official Apache's log4cxx exists. But it is not very cheerful. It have a strong dependencies on the ACE library, the binaries under Windows are too big (for logging framework). And it is almost dead.  read more »

|

What is wchar_t?

Submitted by slavikt on Sat, 01/13/2007 - 21:31.

In our days we have to provide internationalization support in the programs. Among other issues, we should be ready to accept textual information in the extended character sets. The wchar_t data type was provided in the C++ to achieve this goal. I'd like to sum up what should be taken in account when using the wide characters standard strings.  read more »

|