My notes on GOTO 2015 - Progress Toward an Engineering Discipline of Software - Mary Shaw
Notes
17:28 past the bridges and into software engineering
Software Engineering is all design. Production used to be printing the CDs, and nowadays it is hitting the "deploy" button.
"scaling the costs to the consequences" -- the point is not to minimize the cost, the point is to scale it to the consequences. Risks must be taken, and if the potential gains are huge, then the risks can be correspondingly large.
My notes on GOTO 2014 - REST: I don't Think it Means What You Think it Does - Stefan Tilkov
"People decide they want to build something in a RESTful fashion, so they spend all their time arguing about where the slashes go".
"It is the first litmus test for your REST API whether you depend on specific characters in your URIs for things to work."
(From the client's point of view.)
"Version numbers in URIs just suck. Everybody does it which doesn't make it any less sucky. It is a stupid idea. Don't do that."
"The version number is in the URI because the URI is the API". <-- ? I would assume the URI is NOT the API.
Versioning: "Version your documentation documents. Wait what? --Yes, no versioning".
Postel's law "TCP implementations should follow a general principle of robustness: Be conservative in what you do, be liberal in what you accept from others." http://tools.ietf.org/html/rfc761
Client rules Don't depend on URI structure Support unknown links Ignore unknown content
Server rules Don't break URI structure unnecessarily Evolve via additional resources Support older formats
If you were thinking of installing the "Andy" android emulator on your PC, think again. Here is my experience with it:
The installable file (Andy_46.2_207_x64bit.exe) is 431 MB, so it took a really long time to download.
It installed VMware without asking me, so the installation took a really long time.
It installed some "Bonjour Service" by Apple, Inc. without asking me.
It replaced all my .apk icons with its own icon without asking me. (I am using apk shell extension and I much prefer it that way.)
During installation, there were 15 attempts to call home by "Andy" and/or by other crapware that it installed. (I have a firewall, so I didn't let any of that happen.)
At the end of the installation, it popped up a message box saying that the installation failed because it could not detect my internet connection, and that it requires internet access in order to install.
Despite the failed installation message, "Andy" was found under "installed programs" so I uninstalled it.
During uninstallation there were a couple of more attempts to call home.
After uninstallation it left "Bonjour Service" installed, so I had to go find it and uninstall it too.
After uninstallation it left an "Andy" folder on the root of my user folder, which I had to delete.
So, I bought a brand new Samsung Android phone, and it was a huge disappointment due to all the distracting, annoying, and completely useless crapware from Google, Samsung, Vodafone, and even Yahoo, which came pre-loaded with the phone and which I am not allowed to uninstall. I mean, never mind that a certain application is useless; suppose it is in fact very useful; and yet, suppose that despite it being so awesomely useful, I for some reason still want to uninstall it. It is my phone, I should be able to do it, right? But no, the powers that be have decided that I am not allowed to uninstall apps from my own phone. Even when they are not only useless, but actually harmful, since some of them are always running, thus consuming memory, CPU cycles, battery, and communications bandwidth. Some apps can be uninstalled, but many others cannot be uninstalled. They have to stay on the phone. Whether I like them or not.
After this horrible experience I am very seriously considering the possibility that next time I buy a phone it will be an iPhone. But for now, I am stuck with Android, so I am now learning how to root my phone so that I can be somewhat in control of the situation. I am experimenting with my old phone first, a Samsung Galaxy S2. Here are my notes.
So, the brightness keys on my Asus Laptop do not work anymore. All other Fn keys still work, but the Fn+F5 and Fn+F6 keys which control brightness do not work anymore.
The way to solve this problem is as follows:
Initiate an update of the driver of your monitor. This can be accomplished in many ways, for example:
1. Right-click on the desktop
2. Select "Display settings", then
3. Select "Advanced display settings"
4. Select "Display adapter properties"
5. Switch to the "Monitor" tab
6. Click on "Properties" for the monitor
7. Switch to the "Driver" tab
8. Click "Update driver".
Alternatively, you can:
1. Hit Win+Pause to open the "System" window
2. Click "Device Manager"
3. Find your monitor under "Monitors"
4. Right-click on the monitor and select "Update Driver".
Once the "Update Driver Software" dialog is up:
In the wizard which prompts you whether you want to search automatically or browse your computer, lie and say that you want to browse your computer. (Windows is so messed up that you have to lie to it to coax it to work.)
On the next screen, do not browse anything, select "let me pick from a list of drivers on my computer".
On the next screen, select "Generic PnP Monitor" and click "Next".
This was written on 2021-11-26 but it is retro-dated so as to not appear among my recent posts, and thus avoid embarrassing certain unnamed entities. It is written in past tense even though a few paragraphs down the page it begins describing my current experience, because in the near future I intend this to become my past experience.
In 2015 I decided to leave Greece and its destroyed economy, and to go live and work elsewhere in Europe. I started an international job search, and within a couple of months I had a few offers to choose from. I picked the one from a company called Topdesk, in the nice little university town of Delft, in The Netherlands, mainly because of tax benefits available to expats in that country, but also, and in no small part, because The Netherlands has the reputation of being one of the most foreigner-friendly countries in Europe. The Netherlands achieves this reputation in a number of ways, one of which is the fact that the Dutch rank number one in the world (1) in English-as-a-foreign language proficiency, making it possible to live in The Netherlands without ever having to learn Dutch.
Summary: This is a story about the most elusive and sinister software bug I ever came across in my decades-long career as a programmer.
The Mother of All Bugs
At some point early in my career I was working for a company that was developing a hand-held computer for the area of Home Health Care. It was called InfoTouch™. The job involved daily interaction with the guys in the hardware department, which was actually quite a joy, despite the incessant "It's a software problem!" -- "No, it's a hardware problem!" arguments, because these arguments were being made by well-meant engineers from both camps, who were all in search of the truth, without egoisms, vested interests, or illusions of infallibility. That is, in true engineering tradition.
During the development of the InfoTouch, for more than a year, possibly two, the device would randomly die for no apparent reason. Sometimes it would die once a day, other times weeks would pass without a problem. On some rare occasions it would die while someone was using it, but more often it would die while sleeping, or while charging. So, the problem seemed to be completely random, and no matter how hard we tried we could not find a sequence of steps that would reproduce it.