Quantcast
Channel: Alex on Linux
Browsing latest articles
Browse All 11 View Live

Image may be NSFW.
Clik here to view.

How less processes its input

Here’s an interesting bit I ran into few days ago. I got curious how is that less (or more) can read file contents from standard input and yet it is able to process input that comes from user. Both of...

View Article


Image may be NSFW.
Clik here to view.

This is me, couple of weeks ago.

I think this is going to become my new icon. What do you think? No related posts.

View Article

Image may be NSFW.
Clik here to view.

Call a constructor or allocate an object in-place

Since I joined Dell, my main field of research and work has somewhat changed. Now I am mostly working with C++ and file-systems. This world is not entirely new to me, but apparently I have a lot of...

View Article

Image may be NSFW.
Clik here to view.

My next programming language

This week-end I’ve been playing with various version control systems. Until now, I’ve been doing all my home codings with subversion. I’ve written about bazaar in the past, but it seems to me that...

View Article

Image may be NSFW.
Clik here to view.

pthread_exit() in C++

Today I ran into an interesting problem that I would like to share. I am working on multi-threaded code in C++. Here’s what happened. I started a thread that looks like this: try { do_something() }...

View Article


Image may be NSFW.
Clik here to view.

Python for bash replacement

When I started learning Python, I was looking for a programming language that would replace BASH, AWK and SED. I am a C/C++ programmer and as such I better invest my time into studying C and C++....

View Article

Image may be NSFW.
Clik here to view.

Models for multithreaded applications

As you know, I changed a couple of workplaces during my career. Long story short, one interesting thing that I noticed in different companies is various models for multi-threaded programs (mostly for...

View Article

Image may be NSFW.
Clik here to view.

Making writes durable – is your data on disk?

Here is an interesting article written by Evan Jones. The article explains how you can be guaranteed when your data is on disk. In case you’re wondering, when write(), fwrite() or any other library...

View Article


Image may be NSFW.
Clik here to view.

UML cheatsheet

Every once in awhile, I have to draw a UML diagram. I rarely do serious designs with UML, however sometimes I do need to depict some piece of code in a diagram and UML seems to be the best notation...

View Article


Image may be NSFW.
Clik here to view.

gcc macro language extensions

One of the great things about gcc and in particular its C/C++ preprocessor is various extensions that it has. In this post I would like to briefly describe three of them. One allows to turn C/C++ token...

View Article
Browsing latest articles
Browse All 11 View Live