Category Archives: Coding

Posts about coding and other software issues

My first Leetcode experience and achievement

Started to play with Leetcode problems. Pretty addictive activity. The first task I selected was “Longest Substring Without Repeating Characters“. I wrote the code in C# and got a result – 22.9% in “Accepted Solutions Runtime Distribution”. It means that my solution has beaten only one fifth of other submitted implementations. I reprogrammed in C++… Read More »

Automatic web page generation and update using task scheduler and ftp

The simple idea is simple: periodically automatically generate file locally and upload it to web server using ftp. Implementation Several years ago when I was passionate about Sudoku game I created my own Sudoku generator which is located in http://sudoku.smike.ru. There were several version of the generator. The version presented here generates Sudoku in PDF… Read More »

Preparation for Console Tetris

There was time when console was everywhere and no graphic user interface for any operating system at all. Nowadays some computer users even does not know what is command prompt for Windows or terminal for Macintosh OSX. Command line user interface (CLI) is preferred console interface. To display computer graphic in text console so called… Read More »

“Hello ASM” in masm32

The Microsoft Assembler (commonly known as MASM) was software development tool created by Microsoft. It has been maintained and updated for over 30 years. Currently MASM32 SDK is an independent project that is designed to ease the entry of experienced programmers into the field of assembler language programming. It has freeware licence and available from… Read More »

Remote Thread and Code Injection

There are multiple ways of inter-process interference in Windows and remote threading is one of them. Remote thread opens the path to get access to all process internals from other process. Win32 API CreateRemoteThread thread function creates a thread that runs in the virtual address space of another process. The example below presents source code… Read More »

SocketSpy or Automated Debugging

My first debugger I implemented in the middle of 80s, it was embedded debugger for 8-bit Intel microprocessor 8051. Since that time or probably earlier I am saying that I actually really love debugging and everything that helps me to understand software things from inside. About 15 years are I needed to investigate network traffic… Read More »