As I wrote some time ago, we were porting our application to .NET 6. One weird stuff that we were still compiling everything as a .NET Framework application but executing it in .NET 6 runtime.
Pretty much everything works just fine but some 3rd party assemblies do not work because they are using something that is absent in .NET 6. One such assembly was the System.Data.Odbc. And we didn’t reference it as a package and this assembly was simply present in our application directory.
Typically for these cases, I would download a package from
nuget.org, open it as a zip archive, then go to the
lib directory, find the appropriate version, and replace the version
[...Read More]
Finally, CrowdStrike released a full report of what happened and you can find it here. There are quite a few interesting topics there. Firstly we will check what is interesting in this report.
1. “Rapid Response Content is delivered through Channel Files and interpreted by the sensor’s Content Interpreter, using a regular expression based engine”. If this is a true regular-expression engine, then it is really bad. As you probably know, Windows drivers are typically written in C, and I would never put a C-based regular expression engine into the driver. It is just too risky.
There are multiple issues with regular expression libraries. Firstly, it is hard to prove that it is working correctly. Typically there are many
[...Read More]
Recently I watched this video about Windows 8. Basically, the author claimed that this version of Windows almost killed Microsoft. I was professionally using Windows 8 and Windows 8.1 for many years and I can state that this is just somewhat a clickbait.
Yes, Microsoft made a mistake and there was too much focus on tablet mode. But it is easy to tell now when we know that tablet PC didn’t become a thing. But at that time conception of the tablet PC looked logical.
Plus idea of having the same Windows with the same UI everywhere was also quite appealing. You write your application once and you can run it on the phone, PC, and XBOX. And I’m
[...Read More]
I was vacuuming the back of my fridge, and my vacuum cleaner stopped working. I switched it off, moved it over the countertop and when I was trying to power it on it didn’t work at all. Initially, I thought that the power button stopped working and was trying to disassemble the handle but thanks to this video I realized that probably it was just power connection was lost somewhere.
So I disconnected the hose that has wire to the handle to allow the power button to work. Then I pressed every contact with the screwdriver to make sure that every sping was working and viola, it came back to life.
I hope it helps someone.
[...Read More]
There is a phrase that is often attributed to British Prime Minister Benjamin Disraeli, and it goes: "There are three kinds of lies: lies, damned lies, and statistics". This phrase perfectly describes how Elon Musk talks about the safety of full self-driving.
Basically, he stated that according to their statistics self-driving crashes way less than when a human is controlling a vehicle. Thus, everybody should use self-driving because it is simply safer.
Let’s assume that statistics is correct. In this case, it sounds like good news for self-driving and everybody should use it, right? Absolutely not, because it is just a different form of lies. Let me explain what I mean.
At the beginning, I must state that in many
[...Read More]
Our company has a lot of legacy code and one of them is WCF clients. I was personally against using it a long time ago, but people who were responsible for that part went with it anyway.
The WCF was easy to use but there was a lot of complexity underneath and REST API was already popular when we decided to use WCF and it was tricky to do RESET with WCF. These were reasons I was against using it. But anyway we are using it right now and there are problems when we are migrating it to .NET 6.
One of these issues was a certificate check. We would like our customers to use self-signed certificates for testing and
[...Read More]
Since 2007 Apple has released new phones and each of them is way better than the previous one. Yes, some releases were not as impressive as others but in general, each phone has been an upgrade over the previous generation. Moreover, if we compare each phone with 2-3 generations behind we will see that it was quite a decent upgrade.
For example, when I switched from iPhone 4 to iPhone 5 it was a huge improvement. I went from slow as a slow-as-a-turtle phone to extremely fast one. The same was true when I was switching from iPhone 5 to iPhone 6 Plus.
This principle is still working but we get to the moment then performance is simply enough for
[...Read More]
Today’s post will be about … kitchen sink. When I came back from work, I was told that water does not drain out from the kitchen sink. Classic. Typically problem was in the food disposer because it stuck. Typically in this case I use the hexagonal key and rotate it and then I the food disposer and usually the problem will go away.
But this time starting the food disposer will just move water to the connected sink. After trying different things I noticed that with time water level is decreasing. This is typically a good thing because it means that it is not completely blocked and there is a chance that with time water will move parts of the
[...Read More]
Our company still has customers with Windows 7 but these computers are not connected to the Internet and they don’t have any kind of local network. Moreover, it is not possible to bring any kind of stage storage device to them and access is strictly controlled. In these conditions, it is probably ok to still use Windows 7 especially if there is some specific software that is certified only for Windows 7.
But to my surprise, it turns out that many people are still using Windows 7 while their computers are connected to the internet. And they not only use it but they state that it is the best option to do and recommend others to do the same. They
[...Read More]