Coding in the legacy

Just some random guy talking about some random stuff.

Latest posts

Babel 7: Force Transpile of installed package source code

So here is the problem; I have an existing project which installs a private package that uses features not-yet-supported in an old version of node. And due to the fact that @babel 7 will not transpile any files under node_modules (Maybe I need a...

First time driving and add petrol on my own

First time driving and adding petrol on my own. That went well until I stall my car when I arrive home. Took about half hour in total. I parked the opposite to the pump and thought it would be long enough, that was bad. Was a bit nervous. Should...

Draw with canvas in React JS

Preface Initially I did not plan to use canvas for this task, but to use a div with block of span with solid colours. However, for some bazaar reasons, that would cause the content to offset 1 pixel towards right and bottom. Since React works...

Create a basic stats service API using C and FastCGI

Preface Was thinking about making my own stats page to monitor basic information for all my servers using the Primary back-end and Secondary Workers , where the Primary server will serve the front-end assets while other Worker back-ends provides...