|
raddevus wrote: Sounds harsh. But, luckily, I am not easily bothered.
I apologize if my post bothered you. I am genuinely interested in why some software engineers seem to avoid learning basic debugging skills.
In the last few years I've started noticing a pattern... the same few dozen members seem to repeatedly ask for help in the forums... not just here but also in the other forums I frequent. I'm started to wonder if there is a fundamental psychological reason why some people always ask for help in public forums rather than solve it themselves.
raddevus wrote: It takes so much time to figure them out.
I'd like to learn more about this. Could you tell me more about what you find confusing? Starting with the error logs above... how did you debug this? Did you start by looking up the error codes?
Best Wishes,
-David Delaune
|
|
|
|
|
Randor wrote: I am genuinely interested in why some software engineers seem to avoid learning basic debugging skills.
I actually believe that debugging is one of the most important skills you can learn as a programmer.
But, I debug source code. I don't generally delve into debugging Consumer Products.
Windows Is A Consumer Product
To me, Windows is a Consumer Product. I don't have the source code. I expect it to work properly.
That is a naive view, but think about all the things you use that you would find utterly ridiculous to have to debug.
Do You Debug Your TV?
Suppose you buy an expensive UHD 60" television. When you press the power button you see a lightning bolt flash across the screen. You probably don't think, "Well, here is something I need to debug."
You don't have the schematic to the television and it's going to be difficult. Instead, you probably say, "Hey, BestBuy. I want to return my TV for one that works."
Electronic Hobbies
Now, suppose you were building your own Arduino-based device and it writes to an LCD and it fails. You certainly don't call the Arduino people. Instead, you start figuring out what is wrong.
Windows Is Probably A Balance
Since much of my code resides on top of the Windows system, it behooves me to understand how Windows works. The more the better. But when I'm using Windows as a foundational layer I expect it to work like a consumer product. It's a black box to me.
Why I Post These Types of Things
You also seem to be curious why I post these types of things. It's because I find them interesting. I find that others stumble upon them often and we wonder about them as tertiary incidents. They are side-bars to the direct work I am trying to accomplish.
I see other devs post some interesting video failure or HDD/SSD issues and I keep them in the back of my mind so they are interesting.
But I certainly don't think that when I'm writing a program and I uproot a bug in kernelbase.dll that I should go digging through those system-level calls. We already get far too little done on the project we are working on without descending down those deep layers.
If I am making a direct API call to kernelbase.dll then yes, I would have to deal with that directly.
But, again, I like to think of Windows as a solid foundation beneath me. I believe the OS has finally passed from hobbyist past-time into the professional world.
Good discussion, as always, with you, Randor.
modified 25-Jun-18 0:34am.
|
|
|
|
|
raddevus wrote: Good discussion, as always, with you, Randor.
Sycophancy; I tried to read all that but all I saw was excuses and white noise. You're Fired.
raddevus wrote: But I certainly don't think that when I'm writing a program and I uproot a bug in kernelbase.dll that I should go digging through those system-level calls.
If you ever see a 0x8007000e out-of-memory exception again... it basically means your operating system literally ran out of memory. Everything will begin crashing because memory allocations will begin to fail in every process. Because there is no system memory available all sorts of undefined behaviors will occur.
Might want to look into debugging that.
Best Wishes,
-David Delaune
|
|
|
|
|
Many summers ago, when Win32 was still young, I read a book on Win32 programming. Not the 'Petzold' yet, which I also had next in line. It was something like 'Windows programming in 21 days'. The author repeatedly made the same didactic mistake: He started every 'day' (= chapter) with 'And now we come to one of the most feared parts of windows programming...' or something similar.
At the end of each chapter I was still waiting for the scary part. Most mechanisms seem fundamental and not very complicated by themselves. If you could look at the Windows sourcecode, you would probably be astonished how direct and 'unfancy' it actually is. Nothing to fear if you ever spent some time with a professor that read about OS architecture or read one of his books.
The only 'scary' thing about it actually is the mysticism and supersticion that so many people connect with these things. As if you had to be some sort of evil wizard, trained in the black arts of assembly, C and C++, just to write a dumb driver.
I have lived with several Zen masters - all of them were cats.
His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
|
|
|
|
|
I'm using AS v3.1.2. No issues with it crashing so far.
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles
|
|
|
|
|
Yeah this was related to gradle updates and qemu updates that made old Android eumulator images obsolete which ended up crashing Android studio. I hadn't been working t with AS in months so a lot of updates and old project had numerous issues.
|
|
|
|
|
Share the love, the glory: [^]
«... thank the gods that they have made you superior to those events which they have not placed within your own control, rendered you accountable for that only which is within you own control For what, then, have they made you responsible? For that which is alone in your own power—a right use of things as they appear.» Discourses of Epictetus Book I:12
|
|
|
|
|
|
65677 notifications ...
Didn't think it'd fail, but I missed the Magic Number. Oh well, there's always 4,294,967,295
Might take a while, though.
Sent from my Amstrad PC 1640
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
With your current rate it will take only an other 7 million(+) months - so better stay sharp not to miss it!
"The greatest enemy of knowledge is not ignorance, it is the illusion of knowledge". Stephen Hawking, 1942- 2018
|
|
|
|
|
To Do: (7 million(+) months) - 1 week) from 2028/06/24: change notification counter to 64 bit long.
This internet thing is amazing! Letting people use it: worst idea ever!
|
|
|
|
|
Significance ?
We can’t stop here, this is bat country - Hunter S Thompson RIP
|
|
|
|
|
The notifications counter in the top right: for me it's currently reading 65,681 messages to read.
I was kinda hoping it would roll over at 0xFFFF but Chriss is far too canny for that!
Sent from my Amstrad PC 1640
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
So you're the reason the cache server went postal!
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
|
|
|
|
|
Ah I see
We can’t stop here, this is bat country - Hunter S Thompson RIP
|
|
|
|
|
|
We refer to it as "Law Of The Cat" and it excludes you from duties like coffee, cooking, washing up, fetching a cold drink, ...
Only requirement is "no holding it down", which implies no coercion, no glue, no gaffer tape, no nails, ... and the cat must be alive.
Sent from my Amstrad PC 1640
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
They used to be deities and still behave that way. When they command you to sit still, you better sit still.
I have lived with several Zen masters - all of them were cats.
His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
|
|
|
|
|
... at 02:30
Can you believe it? 02:30!
Luckily for him, I was still up playing my drums...
Sent from my Amstrad PC 1640
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
/ravi
|
|
|
|
|
You got me with that one!
|
|
|
|
|
Funny, someone else on the forum had that happen to him only a few (it seems) weeks ago...
|
|
|
|
|
So? It is summer, the sun is shining. My T-shirt reads "North Norway Summer: The best day of the year".
My family moved south of the Polar Circle a year before I was born (only by a few miles), but I spent a few summers in the north, visiting friends and relatives. More than once I have had neighbours (of my relatives/friends) knocking on the door at 2AM, 3AM and 4AM. They sit down to chat, or "We saw that you are still awake, would you like to come over for a drink?"
I love sitting out in the sun at 2AM with a iced beer, chatting with friends and their neighbours.
|
|
|
|
|
According to History of Windows Store: Total number of apps, there are 800,000 windows store app now.
I am contemplating to do a UWP app in my own free time. I am good in C++. But standard C++ support is still in beta. And C# UWP does not have directx support. So I am kinda stuck with C++/CX.
Some of the old tutorials I read still mentioned Metro and Windows 8.
Any advice for me?
|
|
|
|
|