We believe (and developers tell us) that job seekers should be empowered with as much information as possible when looking for a job – especially salary. So we ran an experiment on Stack Overflow Jobs to see if the evidence would support it.
Does anyone remember that site that had all the order of magnitudes for operations?
For example, I remember something like a L1 lookup being a heartbeat, disk IO is like going to the store, and network request like flying from NY to Paris
@ThomasOwens question lacks tag(s) - your answer mind reads that it's about UML but there's nothing in the question. Wrt your answer, re-check the "previous answer" link in it, it currently refers to that very question, that's confusing
@gnat It's not limited to UML. I'm quoting an answer I wrote about UML, but the section is not specific. I don't care what notation you use for creating state diagrams.
The other question was specifically about mapping UML to 4+1, but the purpose of each view model in 4+1 doesn't change if your notation changes.
Oh. The link went to the wrong question. Boo on me.
@ThomasOwens all right if you say so. Still, it lacks context to help reader see what is meant as views and "development view" in particular. I don't know what tags or edits are needed to help in that but something is missing, really
I've been working on some embedded code that handles a Bluetooth Low Energy (BLE) radio. BLE has 40 channels, numbered 0 through 39. One function for the radio driver takes in the channel and sets the appropriate register with the correct setting.
The obvious function prototype was SetChannel(...
There was a lot more to this question than I originally thought.
If you want compile-time support for this, it's going to have to be an enum. If you're encoding the frequencies in code, you might as well use an enum. But that would be akin to replacing the entire scanner instead of just replacing the crystals or entering a new frequency into the front panel. Or maybe updating the firmware. Is it your intention to update the firmware if a frequency changes? cc @EricLippert — Robert Harvey28 mins ago
An email storm (also called a Reply Allpocalypse, also called an eMaelstrom) is a sudden spike of Reply All messages on an email distribution list, usually caused by a controversial or misdirected message. Such storms start when multiple members of the distribution list reply to the entire list at the same time in response to the instigating message. Other members soon respond, usually adding vitriol to the discussion, asking to be removed from the list, or pleading for the cessation of messages. If enough members reply to these unwanted messages this triggers a chain reaction of email messages...
hmm, that's an interesting discovery. Not sure how I never hit it before, but just discovered that in C#, if you have a variable declared in one case of a switch/case, it's actually declared at the beginning of the switch, even though you can't actually refer to it prior to the line adding the declaration
but you don't actually have to encounter that line to use it
makes sense that it is localized to the switch since the GC is going to want to know about local containers attached to the scope, but odd that it artificially limits where within the scope you can use the declared variable
Don’t overload varargs. There’s even a cert advisory on this: Avoid ambiguous overloading of varargs methods. And my tale of woe is one that reading the docs with a better understanding of what isn’t explicitly said would have saved an hour of two of trying to track down the error. Lets start off by writing some code. public class Main { public static void main(String[] args) { …