|
What are the interest rates like at the Steiner's Threefold Social Order bank?
It’s quite surprising how adamant it was while being wrong. It’s definitely trained on internet communication boards.
TTFN - Kent
|
|
|
|
|
Kent Sharkey wrote: It’s definitely trained on internet communication boards. I hope it doesn't find 4Chan (or similars)...
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
|
|
maybe you were talking to a trump supporter masquerading as an ai
Caveat Emptor.
"Progress doesn't come from early risers – progress is made by lazy men looking for easier ways to do things." Lazarus Long
|
|
|
|
|
Sounds like the first AI that is saved!
…which will not prevent it from going Skynet on us
|
|
|
|
|
|
Quote: let he who is without sin cast the first stone It's not going to be me, it's OK, happens. The important thing is you've recognized it and can do something about it.
"the debugger doesn't tell me anything because this code compiles just fine" - random QA comment
"Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst
"I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle
|
|
|
|
|
Is it trash? Or did it used to do something different, but later the code evolved and ended up like this?
|
|
|
|
|
It is/was trash. I really had in my brain that returns "index - 1"
|
|
|
|
|
In
0x01AA wrote: // Here some code which calculates "index + 1"
, are there side effects that need to be accounted for?
|
|
|
|
|
No, it was really just my mental derangement that made me think this returns (index-1)
|
|
|
|
|
There is a forum for code like that: The Weird and The Wonderful[^]
But hey! We all do it ... so don't knock yourself. I once spent three days designing an application in C#, until I realized you can't inherit from static classes and it was all useless.
"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!
|
|
|
|
|
Can't inherit enum s either.
|
|
|
|
|
I've never wanted to, but I can understand why you can't.
I can understand why you can't for static classes as well, once I thought about it.
"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!
|
|
|
|
|
Yeah, but unfortunately when someone says, "I wish I could write X", the typical response is, "you can't because blah blah vtable blah".
But I don't care about what the current language/compiler/implementation can't do and _why_ it can't do it. I want a better language and compiler which _can_.
A language which _does_ allow inheriting static classes? Sure.
A language which _does_ allow multiple-inheritance? Sure.
It's like saying, "I want to travel 100MPH", and having someone respond, "you can't because horses can't run that fast" -- I know they can't, therefore the solution will _not_ involve horses, duh!
If C# can't do it, then give me language which can.
I know I am unqualified to define and implement such a language.
I really grow tired of C# and .net -- they're ancient, designed by committee, were rushed to market, and we need something better.
|
|
|
|
|
(regarding inheriting enums)OriginalGriff wrote: I've never wanted to, but I can understand why you can't. I can't understand why C# didn't get a proper first class enum data type. After all, Pascal has had it since 1970. It was even into the design of Algol 60 ('60' refers to the year 1960), but the deadline for publication of the standard was considered absolute, and there were a few details still to be worked out - so it was dropped from the published standard. Nic Wirth didn't invent the enum concept, he knew it from the Algol discussions ten years earlier, 62 years ago (although C# first appeared "only" 40 years after Algol 60, 30 years after Pascal).
Today's C# enum is very close to using #define to name integer literals in K&R C. It has its own keyword, and a syntax for simpler naming of consecutive integer values, but that's about it. I think of enums as integer literal names - that's what they are in C#. Not a type, as in Pascal.
|
|
|
|
|
Same in C++ until enum class got added, which I have yet to use because a static_cast must be used to convert one of its enumerators to an int , which is often what you want to do. At least Pascal has succ and pred , or is it prev ?
|
|
|
|
|
I wasn't involved in the design, but it's probably because enum is a basic type: an integer on steroids if you like.
Which makes it a value type rather than reference, and those are implicitly sealed so they can't be inherited. That may be for performance reasons - inheritance checking each time you used a number could get seriously burdensome.
"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!
|
|
|
|
|
Surely, but so what? A new (better) language could be defined which does allow it.
There appear to have been a whole lot of bad decisions made in the design of .net -- the whole concept of, "this is a value type , this is a reference type", doesn't serve the developer. A whole bunch of classes are sealed or have non-virtual members for no good reason.
Far too much ivory-towering must gone on with too little defenestration of the culprits.
Very likely, they concentrated too much on attracting VB developers.
|
|
|
|
|
At least it wasn't four days!
|
|
|
|
|
There is that ... Always Look on the Bright Side of Life[^]
"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!
|
|
|
|
|
|
David O'Neil wrote: Favorite 3 course video extravaganza: Life of Brian, The Meaning of Life, and The Blues Brothers.
I think I'd want to throw Blade Runner and Pulp Fiction in there? Maybe Chariots of Fire as well?
"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!
|
|
|
|
|
Loved Blade Runner! Hated 2049 - So boring!!!!!!!!!!!!!!!!!!!! Pulp Fiction - Great, but I think I'd go with his Kill Bill trilogy first - Fantasticer! (But they are both great!)
I'll have to check out Chariots of Fire - never seen it that I remember. Also need to watch Close Encounters, now that you fail to mention it.
|
|
|
|