Benchmarking .NET Performance

C# Development, Programming, Uncategorized
Nerds do it better When we, nerds, are looking for the best solution to a programming problem we sometimes get distracted. We are asked to find a way to get from A to B and while we are finding our way we find out that there are often (always) multiple solutions to a problem. A lesser person would say: "Hey, if it brings me from A to B then it's alright!". Right? Well not us nerds. At least not always. For instance right now I am working on a pet project of mine where I want to receive data from a GPS unit that is sending positional and other data from my car to a receiver service I am currently programming. This service should receive the raw bytes from my…
Read More

Learning Web Development (4)

C# Development, Learning web development
It has been a while since I was here but I decided to continue the series after being busy for a long time. Part of the solution entails calling a web api from javascript, so I decided to learn how that should be done. Because the TradingAdvice endpoint needs to be there in the future to return the trading advice I decided to get some practice with this. I took a look at what the gekko ticker stores from an incoming candle, and I found there's a Unix timestamp in there. That's an integer. So, even though I probably will not use that integer as a parameter for the api it is very convenient for testing. Saved candles from the bitcoin exchange I am using Let's create an endpoint with…
Read More
Reinstall your development laptop, fast

Reinstall your development laptop, fast

Programming, Random stuff, Tools
Today was one of those days again. You know, one of these days when Visual Studio keeps freezing up on you and you decide to finally do something about it. After a few hours disabling extensions to no effect, and comparing with my other laptop where VS is working without issue I decided to do a fresh reinstall of my laptop. Windows, all programs, everything. Cleaning Windows Everything I need is on my secondary disk so I did a windows refresh: just type "reset" in Start and follow the breadcrumbs: Reset this PC Alternatively, you can download the Windows iso manually from your msdn benefits page. Next, we wait.. Waiting... Scripted installation After reinstalling my laptop a few times it became time to do it differently. I now use a…
Read More