2,323 karma · joined March 7, 2018
The nested switch/case with return in the default path, then expecting fall-through, looks bogus to me.
Recently, I have become a bit lazy and use PyCharm to stage and commit changes. Its diff viewer also supports staging single lines but its better integrated. For example, pressing F4 jumps to the current file/line in the main window.
I think it was `slmgr -rearm`
Don't know why they would ship with this...
For larger handheld or fixed you could build/buy a yagi antenna that has a higher directionality/gain.
Aside from that, a much simpler antenna is this one, which can be built from a metal can + connector + wire stub. Directionality is likely a bit worse but I've used it successfully over a distance a bit lower than a kilometer. https://web.archive.org/web/20060516103023/http://www.saunal...
For example: `git worktree add <folder> <commit-hash>` checks out that commit in that folder.
Now the OP's idea is this: I'll fix the size of allowed elements in my list to some maximum value, lets say n=5, and then you always end up with the same worst-case time, O(1), because the input size is constant. With 5 elements it looks silly but you could say n = (very large number that won't be exceeded ever) and conclude that O(n=1). In OPs case the n is the number of bits in the key (implies a radix-tree)
=> If an algorithm is defined as being unscalable (fixed input), what sense does it make to describe that it scales constantly with input size?
Having worked on several Ada projects professionally I can tell you that this is definitely not true.
DO-178C applies to the process and does not make assumptions about programming languages.
That's a far cry from what I'd find acceptable in any project.
Link-time substitution means that you swap out certain objects with others when you build your test binaries.
For example, let's say your production software binary consists of a main function and objects A, B and C. For a unit test you could use a different main (the test), object B and a mock for object C - leaving out A.