Latest posts

Back to school and Virtual Piano Player in C#

Back to school and Virtual Piano Player in C#

Short Announcement Hello again, Unfortunately my summer holiday's over... NOOOOOooo!! Ahem... so tomorrow I'll start the 2nd year at the Faculty of Automatic Control & Computer Science. This means going back to the traditional 5 hours of sleep/night and while I'd really like to keep this blog updated with fancy C# tricks and ...


C# Send Data Between Processes (w/ Memory Mapped File)

C# Send Data Between Processes (w/ Memory Mapped File)

If you're reading this right now you're probably developing some application that has 2 or more processes and you want those processes to share some data with each other. There are multiple ways to pass data between processes (IPC), each one being better in specific situations. This article will cover ...


Approximating Integrals with the Gaussian Quadrature (/w example)

Approximating Integrals with the Gaussian Quadrature (/w example)

This is more like a memory dump so I will have a backup of this if I'll ever need this again. And if someone else finds this information useful, the better it is. Intro The Gaussian Quadrature is a method used to approximate the value of a given integral by choosing a ...


C# Minecraft Pixel Art Generator

C# Minecraft Pixel Art Generator

Unfortunately I'm not good at drawing but I'm a coder and this will suffice, for now - hopefully this will prove its usefulness for those of you who want to "decorate" their servers ...


Matlab/Octave Lagrange Interpolation Polynomial

Matlab/Octave Lagrange Interpolation Polynomial

Ok, I've been missing for a few days...months...almost a year. Ran out of ideas and time for new articles (thanks to the university) so I'll publish some stuff related to numerical methods, starting with a basic interpolation method using the Lagrange Polynomial. And since there's a lot of C# here, ...


C# Inject a Dll into a Process (w/ CreateRemoteThread)

C# Inject a Dll into a Process (w/ CreateRemoteThread)

Since I've been asked if this is possible - well...you can do Dll Injection using C# but the injected Dll must be written in a language that doesn't depend on a CLR (C/C++ would be a good option here, but it's ok to write the injector in C#). I'm writing this ...


C# How To: Get External IP Address

C# How To: Get External IP Address

Okay, this is a really short article, but I felt the need to write this because too many people seem to take the wrong way. Problem First: getting the external IP address of a machine shouldn't be done locally (Dns.GetHostAddresses(Dns.GetHostName())