|
englebart wrote: I have recently come to hate booleans and think they should all be replaced with more descriptive enums.
When are the names not descriptive? Especially in comparison to other variables?
|
|
|
|
|
When I read code that looks like:
DoIt(false, true, false, false, false);
Then I have to look at the signature and line up the parameters. The parameter names could become an enum type with better names then true/false
|
|
|
|
|
That sounds like a problem with the method not the parameters. You would of course have the same problem with the following.
DoIt(1, 2, 3, 4, 5);
And at least some code UIs provide ways to document what the parameter names are.
|
|
|
|
|
Sander Rossel wrote: I believe Messages
I don't care for that.
A database table is set. It makes no sense unless it is a set. So using the plural does not add anything to the meaning.
However a database table can contain sets (so a set of sets.) For example a table would have one or more phones for each customer. Thus a plural is appropriate so for example 'CustomerPhones'.
And if one is insisting that every table must be a plural then there is no way to name the example above.
I believe the same applies to an enum.
Little more dicey when attempting to name a collection.
|
|
|
|
|
|
(Not about to watch that.)
Do they have the dirt on it? Or does it involve butterflies?
|
|
|
|
|
|
Yes, butterflies are mentioned. Strangely enough not as the 'butterfly effect', even though it comes up in connection with chaos systems.
The video is worth watching.
|
|
|
|
|
The Analog Thing is cool, wish I knew a lot more about analog circuitry.
|
|
|
|
|
No, I am not.
"They have a consciousness, they have a life, they have a soul! Damn you! Let the rabbits wear glasses! Save our brothers! Can I get an amen?"
|
|
|
|
|
You're unnaturally interested in it, then?
Keep Calm and Carry On
|
|
|
|
|
You can be interested in a way that goes with nature, or you can be interested in a way that goes against nature.
|
|
|
|
|
That is binary of course and not analog thinking.
|
|
|
|
|
|
NO. I am not interested in anything some pretentious SFB tells me I should be.
"They have a consciousness, they have a life, they have a soul! Damn you! Let the rabbits wear glasses! Save our brothers! Can I get an amen?"
|
|
|
|
|
Quantum computing is analog while in it's indeterminate state (IMO); tweaking it until you get the right "flips".
"Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I
|
|
|
|
|
And how do you know when it's right?
|
|
|
|
|
When I started my IT studies, they were still teaching analog computers in the EE department of the Norwegian Technical University. I believe analog computers were taught until around 1980.
In the 1970s, one of the professors, J.G. Balchen, won a certain international reputation from his simulation models of cod farming in Sognefjorden (Norway's longest fjord). This model was entirely analog: He could feed the cod, harvest it, or try the effect of temperature changes by turning various dials, and watch changes in the curves on the oscilloscope.
|
|
|
|
|
I'm seriously considering buying that thing. I really enjoyed programming analog computers in college, and though I have little need for solving differential equations these days, who knows what may come up in the future? One of the machines we had in college came off a Navy ship; it was used for missile guidance. All of the op amps were vacuum tube types, and the failure rate was horrendous! Happily the ones we used in class were desktop models which used transistors.
Will Rogers never met me.
|
|
|
|
|
|
|
From this article
Apple’s $3,499 Vision Pro AR headset is finally here | TechCrunch[^]
"$3,499...Interestingly, it does appear to be a work-first device. It’s telling that the company is focused on things like email, rather than, say, gaming."
Email causes enough interruptions to coding without requiring me to put on a headset just so I can read a marketing blurb which has nothing to do with anything I am or will be working on.
Also nothing like going to the design meeting and then everyone needing to run to get their computer and headset because the the throw away working design has one diagram that requires it.
|
|
|
|
|
There will be enough hipsters to buy all they can make - just so they can view their Starbucks in 3D before ordering an Oleato™ Caffé Latte with Oatmilk just like they did the day before.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
OriginalGriff wrote: There will be enough hipsters to buy all they can make - just so they can view their Starbucks in 3D before ordering an Oleato™ Caffé Latte with Oatmilk just like they did the day before. No doubt...
But did you watch the actual presentation? Or is your opinion of this device based on your preconceived ideas and biases?
|
|
|
|
|
Nope, just observation of Apple early adopters in general and looking at the price ...
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|