I have been struggling with a weird Visual Studio C# Express debugger behavior. My application runs OK without the debugger. When started from VS it either throws an AccessViolationException without a meaningful stack trace or returns with code 0xc0000374. I’m running Windows 7 in VirtualBox, the host OS is Linux Mint 14. Finally I have… Read More »
I’m trying to finally get the Yats application to compile and run on both x86 and x64 Windows versions with a single build. The only library giving problems is System.Data.SQLite. I found an almost complete solution in stackoverflow. Here is a quick reminder on how to set up the Visual Studio project.
I have spent a few hours investigating where all the RAM has gone in my new Arduino project. I need to investigate newer versions (still running 1.0), I really hope there are improvements. My favorite WTFs: string constants are stored in RAM string constants can be stored in Flash. For that you need to wrap… Read More »
Symptoms: after changing hardware (motherboard, NIC, virtual machine setup etc.) network connections are no longer available. ifconfig does not list the connections, although the adapters are displayed by ifconfig -a. ifup eth0 returns “Ignoring unknown interface eth0=eth0.”
On a related note to the previous post, here is a patch that enables the SerialPort.DataReceived event. It is not officially supported in the Linux version of Mono. This workaround works in the following way: When a port is opened, a new thread is started. It polls the port for incoming data and generates the… Read More »
VirtualBox does not support resizing its virtual storage devices. As a workaround, a new bigger VDI is created and the existing partition(s) are moved to the larger drive. This tutorial gives instructions on how to expand storage for Ubuntu Linux guest machine.
Here is a C# helper class that encrypts and decrypts data using the AES 128-bit algorithm. It can be used (after through testing, of course) to pass data between a .NET application and any other application using OpenSSL. Most of the credit belongs to Deusty blog. I have added a compatible Encrypt method. When encrypting,… Read More »
I decided to switch to Python while developing the embedded client in C language. There was not much work done anyway, and faster coding with Python should allow me to catch up. Luckily the socket part is in working condition. It was tested in Ubuntu Linux and OpenWrt router firmware v8.09 based on 2.4 kernel.… Read More »