RSSAmplifier

Blog

PeTi Blog

Programming, electronics, art and whatever else moves my mind

petertissen.deRSS feed ↗10 posts

Latest posts

Simple Hollow Knight Save Game Editor – HollowEdit.com

I made a simple Hollow Knight save game editor website at https://hollowedit.com. This is a small postmortem on that project. Initial Inspiration Sometime near the start of this year I had a discussion with a friend and we decided that we wanted to do a small side-project together. We decided to create a Hollow Knight Continue reading Simple Hollow Knight Save Game Editor HollowEdit.com

Fixing a small calc.exe bug

tldr; saw a Windows Calculator bug on reddit. Since calc.exe was open-sourced I thought I d try to find the bug and fix it. Cloned the code, recreated the bug, and found a minimal fix. I was goofing-off browsing Reddit, as you do on a Sunday. Scrolling past playing puppies and bad programmer humor, one particular Continue reading Fixing a small calc.exe bug

Lenovo IdeaPad N581 broken WiFi and Windows 10 November Update

I guess I should preface this by saying that Lenovo recommends that you do not install Windows 10 on the N581. Well this is a little bit of a different post. I just thought I d document this little hardware issue that I encountered and had to solve. So the situation was that after I got Continue reading Lenovo IdeaPad N581 broken WiFi and Windows 10 November Update

GitHub API basic usage with Python 3

If you just need help to solve your problem you re best off just reading the code-snippets and avoid the rest of this blog entry which merely describes my motivations behind the code. So this started when I wanted to use the GitHub API to upload automated builds as releases yesterday. I haven t used REST APIs Continue reading GitHub API basic usage with Python 3

Adventures with Emscripten

This is just an account of my first experiences with Emscripten and this is empatically not a tutorial for ,or review of emscripten. Smooth sailing period So I started to make a small test-game with SDL2 and thought I d try to compile with emscripten. So I downloaded the Windows SDK and since I didn t have Continue reading Adventures with Emscripten

More MSVC Compiler bugs

So recently 2 of my bug-reports to the Microsoft Visual Studio 14 CTP got acknowledged as bugs. I thought I d recap them here. The first one is a pretty straight-forward library regression. The local aware character classification functions from ctype.h like _isalnum_l now have one argument of the apparently internal type __crt_locale_pointers (_locale_t is typedef ed Continue reading More MSVC…

Windows Touch and Pen disambiguation

So I happened to implement multi-touch for PPSSPP and to do that I consulted the Windows documentation which made me request touch input with RegisterTouchWindow and then handle the resulting WM_TOUCH events, the only issue is that Windows still sends the emulated WM_LBUTTONDOWN WM_MOUSEMOVE and WM_LBUTTONUP, so I needed to filter the events that came Continue reading Windows Touch and Pen…

Internal Compiler Error woes

The nightmare of every programmer are silent compiler bugs. But fortunately I didn t have to deal with one of those. One of the runner ups for me has to be compiler errors. The occasion for this post is me recently encountering an internal compiler error in Visual C++ 2013RC. It s documented here and has apparently been fixed Continue reading Internal Compiler Error woes

MadEdit rocks my socks off

I really don t have a strong opinion on the text-editor war (I mean Emacs vs Vi[m]). This is due to the fact that I use neither of them. I know that you can be incredibly efficient with them once you learn how to use them. But I just don t feel comfortable to switch at the Continue reading MadEdit rocks my socks off

STL and DLL don’t mix

If you ever want to write a dll (dynamic linked library) and use STL (Standard Template Library) types as attributes, parameters or return values of function or classes don t. Unless you really absolutely have to make dll, just compile it into a .lib and statically link it to your executable. In case it is inevitable Continue reading STL and DLL don t mix