Dmytro Ovdiienko

Results 28 issues of Dmytro Ovdiienko

It is hard to notice the table title in the book. For example, on page 12 the font of the Table 1 title is the same as font the rest...

formatting

I was really surprised not seeing the Ulrich Drepper's book "What every programmer should know about memory" in the References chapter. It was written in 2007 but the information explained...

enhancement

On page 37 on the bottom the the text is cut: ![image](https://user-images.githubusercontent.com/70940/146545332-ae982da4-674c-425e-b16a-47a77a21f0b1.png) In the digital version of the book the text is printed correctly. ![image](https://user-images.githubusercontent.com/70940/146546209-687416ed-aae9-48a7-a839-e79e0f5832a4.png)

formatting

During the video playback the MPlayer should disable the screensaver. Following is the code how to disable the screensaver: ```cpp if( !SetThreadExecutionState(ES_CONTINUOUS | ES_DISPLAY_REQUIRED)) { DWORD err = GetLastError(); std::cerr

I'm reading the implementation of the [`exanic_receive_frame`](https://github.com/exablaze-oss/exanic-software/blob/a14b39f75377434889108c971c42238c0ea0de13/libs/exanic/fifo_rx.c#L328) function. Looks like there is a potential bug in the way how lock-free queue is implemented. The implementation does not handle the case...

I have a function that returns a buffer as a span to read the data from socket: ```cpp boost::span getRecvBuffer(); ``` When I call `tcp::socket::async_receive(asio::buffer(getRecvBuffer()))`, ```cpp socket_.async_receive(asio::buffer(getRecvBuffer()), [](auto&&...) {}); ```...

In case if I compile my code with GCC 7.3 and enable `-Wall`, I get following warnings reported. Obviously I can disable them for the given header file. Would be...

I'm new to the sbepp library. It is really good. Much better than real-logic. I'm not sure I follow the way, how to use the cursor. I understand it helps...

Could you please modify the `BOOST_LIKELY` and `BOOST_UNLIKELY` macros in the following way: ```cpp #define BOOST_LIKELY(x) (__builtin_expect(!!(x), 1)) #define BOOST_UNLIKELY(x) (__builtin_expect(!!(x), 0)) ``` 1. I cannot easily use `BOOST_UNLIKELY` with...

Could you add the `[[nodiscard]]` attribute to the `boost::span::subspan` function. I tend to forget to store the returned value: ```cpp buffer_.subspan(bytesTransferred); ``` ... instead of ```cpp buffer_ = buffer_.subspan(bytesTransferred); ```