It doesn't matter how long I continue as a professional software engineer, how many jobs I have, how many things I learn...I will never, ever understand what the fuck people are talking about in coding blog posts
Here's something that I like to remind myself, even as a lead engineer with a successful consulting business:
Everything is really damn hard until you know how to do it, then it's easy.
This applies as much to software as it does to cars or dishwashers. If your dishwasher breaks and you know nothing about dishwashers, you're either going to have to learn or call a guy. If your CI/CD pipeline blows, you're either going to have to learn how to do it or hope it's someone else's problem, but once you learn how to do any of these things (analyze kernel bugs), it's easy and you can write a little blog post on it.
Not knowing how to do something doesn't make you dumb or a bad developer, it just means you lack the knowledge which is easily acquired with some time investment.
As much as other people will not, I fully agree with you. I'm 6 years into the industry and the only answer to most corporate inquires at this point is "I will look into it" because no, there's never a guy for that. You are the guy that just has no info yet. But to stay competitive, we lie and learn on the fly.
Its funny you say that, I'm a software engineer and I opened my dish washer this morning and was met by a flood of water. Looked up how to fix it, all the solutions had dish washers with easily accessible parts that mine didn't(Hey, there's similarities!), and threw in the towel.
That being said, at least with software getting your feet wet is only figurative.
To be clear, as the author of this post, I'll freely admit that there are huge swaths of software development technology that I know nothing about or am terrible at. So, if this story was way out of your comfort zone, rest assured that you could almost certainly teach me a lot about your area of expertise
I mean, a fresh graduate probably is correct in feeling like an imposter for a lack of knowledge, at least for a little while.
Programming know-how takes time, CS courses tend to not teach much about real-world development. You can learn the basics of a language in a week or two, but it takes much longer to learn how and when to apply what you've learned in a way that best balances time, features, and money.
I think the biggest thing is that this is a lot work condensed into one blog post. This is a very complex bug that only a small fraction of programmers would ever experience, and even a smaller number would know how to fix. If you're coding some business app in C# that is built 3 times per day, you're not going to run into this bug. I get the gist of it though, and it really reaffirms that kernel bugs like this are super rare and are probably not causing your application to crash.
I always enjoy writeups about evolutionary training algorithms used to design some circuitry or code. These algorithms often find amazing solutions though they will never work in real life. I can't find the link now, but I remember someone ran an evolutionary learning algorithm to design an inverter circuit. It's a fairly simple circuit generally with just one transistor. But the algorithm ended up making this monstrous circuit with seemingly disconnected regions. The weird part was that it worked!
Turns out the algorithm found some bug in the simulator software that allowed it to transfer data between unconnected wires.
Its a very common issue with machine learning. Usually it applies to reinforcement learning though. The problem is that your reward mechanism must be well considered, otherwise your machine learning will optimize uniquely into what gives that reward, leading to some degenerate cases such as your example.
It’s truly the same thing with genetic algorithm. You can’t have a magic algorithm that will balance perfectly zeroing-in the perfect solution (ie: searching for the local minima) and exploration (ie: search for the global minima).
The problem is that your reward mechanism must be well considered, otherwise your machine learning will optimize uniquely into what gives that reward, leading to some degenerate cases such as your example.
This is also useful advice for anyone who ever has to interact with other humans
I remember back in the days of Classic MacOS (System 6/7, Mac OS 8/9), there was an error code for cosmic rays. (I think it triggered off memory checksum being off or something)
When Apple launched the PowerPC platform, they had a 68k emulation system so they didn't have to have everything rebuilt out of the gates... and we started seeing that cosmic ray error quite a bit more often.
The fact that this was only found on a 24-core processor says a lot - the most I’d heard of in a commercially available processor was the 16-core Threadrippers. These are not common bugs whatsoever
That's because the easy problems don't get multi-page blog posts written about them. No one writes about a null pointer dereference that cost them a week, they write about the null pointer dereference that only happened when an interrupt handler that was supposedly disabled ran due to race condition and a CPU bug and set a pointer to NULL (but only on alternate Tuesdays).
There is a first time for every developer when they find their first toolchain bug, and when they find their first kernel bug.
Many never find either, some already find dozens despite not even being out of uni. It heavily depends on what you do (more native code mean usually more bugs), and how you approach issues.
For me, I've been developing for 4 years (but I haven't finished uni yet), and found my first kernel and my first compiler bug both only a few weeks ago. The kernel bug was expectedly in DMA handling in a linux mainline GPU driver, and the compiler bug in kotlinc, a very new compiler for a new language.
If you work with more reliable, older tools, and use elss edge cases, of course you'll find less bugs.
There is definitely the "well trodden path" that most people follow, but beside it is the forest, dark and full of horrors.
A common quip in my line of work is that "it's not a real project unless you get at least two private hotfixes".
The most buggy scenario I've seen was a 32-bit terminal server environment with 32GB of memory(!) in [AWE](https://msdn.microsoft.com/en-us/library/windows/desktop/aa366527(v=vs.85).aspx) mode. These poor overloaded servers had the Novell client, Symantec Antivirus, and pass-through Smart Card authentication. It was a horror-show of untested edge cases, ugly interactions, and a system architecture stretched far beyond its base capabilities. If I remember correctly, it took over seventy hotfixes to get the servers to stop crashing daily...
I only joined the investigation at the tail end, for the last couple of months. And, to be clear, it was never my one task, and it was only my main task towards the end
I like to think of it in terms of "what did this poor bastard have to go through to learn how to do this stuff?" He obviously spent a lot of time at Microsoft debugging some horrific native code problems. People don't learn how to debug linker errors for fun.
753
u/hiedideididay Feb 26 '18
It doesn't matter how long I continue as a professional software engineer, how many jobs I have, how many things I learn...I will never, ever understand what the fuck people are talking about in coding blog posts