Random Question of the Day
-
@da-Doctah said in Random Question of the Day:
Do animals understand that dreams are just dreams? Or if say one cat dreams that the other cat bit his tail, does he then hold a grudge against the other cat for something that never happened in real life?
I would first need to know if animals hold grudges against other animals.
-
@jinpa said in Random Question of the Day:
I would first need to know if animals hold grudges against other animals.
This article says that they can against humans, so presumably they can do so against other animals:
-
@da-Doctah said in Random Question of the Day:
Or if say one cat dreams that the other cat bit his tail, does he then hold a grudge against the other cat for something that never happened in real life?
I don't know about cats, but my ex-wife used to get mad at me when she dreamed I did something she didn't like. Sometimes I think she wasn't really convinced it was a dream (especially when I'd done something else IRL that she was already upset about).
-
@HardwareGeek said in Random Question of the Day:
I don't know about cats, but my ex-wife used to get mad at me when she dreamed I did something she didn't like. Sometimes I think she wasn't really convinced it was a dream (especially when I'd done something else IRL that she was already upset about).
I don't know about your ex, but not all cultures/views regard dreams as completely "not real".
-
@Jaloopa said in Random Question of the Day:
How much wood would a woodchuck chuck if a woodchuck could chuck wood?
Just as much wood as a woodchuck could, if a woodchuck could chuck wood.
-
@jinpa said in Random Question of the Day:
Are Latinos a race, or just an ethnic group?
Are Hispanics a race or just an ethnic group?
It depends on the form(s) you're filling out.
In the USA, Latino generally means someone with a connection to any Latin American country (including Brazil and the Caribbean islands), while Hispanic more often refers to someone with a connection to any Spanish-speaking country (excluding Brazil and non-Spanish-settled Caribbean islands, but including Spain).
-
@da-Doctah said in Random Question of the Day:
Do animals understand that dreams are just dreams? Or if say one cat dreams that the other cat bit his tail, does he then hold a grudge against the other cat for something that never happened in real life?
I can't say I know, but I think it could explain a lot of their behavior.
-
@djls45 said in Random Question of the Day:
@da-Doctah said in Random Question of the Day:
Do animals understand that dreams are just dreams? Or if say one cat dreams that the other cat bit his tail, does he then hold a grudge against the other cat for something that never happened in real life?
I can't say I know, but I think it could explain a lot of their behavior.
Imagine there was a species where there ceased to be evolutionary pressure to be able to tell the difference between reality and illusion. House cats may be such a species.
-
What blood disorder could be previously unidentified but kill you in a week?
-
@jinpa lupus?
-
@boomzilla It's never lupus. Haven't you seen House?
-
@boomzilla said in Random Question of the Day:
@jinpa lupus?
I suppose. A late friend had lupus, but she knew about it from when she was about 20, but it took her a while to convince her doctors that she wasn't a hypochondriac. She died at about 40, but it was from cancer, not lupus.
-
@Mason_Wheeler said in Random Question of the Day:
@boomzilla It's never lupus. Haven't you seen House?
Even I know that, and I've never seen it.
-
@jinpa said in Random Question of the Day:
but it was from cancer, not lupus.
See! It's never lupus, even if they have it.
-
Since HTTP spec has a typo and the referrer is set with
Referer
header - when talking about making requests, should I write referrer or referer?
-
@Gąska said in Random Question of the Day:
Since HTTP spec has a typo and the referrer is set with
Referer
header - when talking about making requests, should I write referrer or referer?Do as I did, just use any one at random and let chance decide if you just "intentionally" misspelled it or not. When someone complains, you can correct them either way.
-
@topspin said in Random Question of the Day:
@Gąska said in Random Question of the Day:
Since HTTP spec has a typo and the referrer is set with
Referer
header - when talking about making requests, should I write referrer or referer?Do as I did, just use any one at random and let chance decide if you just "intentionally" misspelled it or not. When someone complains, you can correct them either way.
Alternately, let context decide. When talking about the header, use Referer. Otherwise, use referrer. You will still get complainers who you can correct.
-
@abarker said in Random Question of the Day:
You will still get complainers who you can correct.
I'm under the class that believes the misspelling was entirely intentional for this very purpose in a big-brain imperative troll.
-
@Tsaukpaetra I think it was just written under the influence of reefer
-
@HardwareGeek said in Random Question of the Day:
@Mason_Wheeler said in Random Question of the Day:
@boomzilla It's never lupus. Haven't you seen House?
Even I know that, and I've never seen it.
Except that time it was.
-
A RAID 5 array with four disks will continue working if one of the disks breaks or is removed. You can then replace it with a new one and after repairing, the array will be back to normal and you can lose any of the disks again. All correct so far?
My question is, would it be possible to initially build the array with only three disks, copy stuff onto it, then add a fourth one?
-
@hungrier said in Random Question of the Day:
My question is, would it be possible to initially build the array with only three disks, copy stuff onto it, then add a fourth one?
If the controller supports it, yes.
-
@loopback0 @hungrier
But typically in that case you'd be building a RAID 5 array with 2 disks' capacity + 1 disk spare, then extending it to a 3 disk capacity RAID. I don't think I've ever seen a RAID controller that lets you create a pre-degraded array.
-
@izzion My preference would be to build it in 3-disk capacity, pre-degraded, but as long as it can be eventually extended to 3 disk capacity with one spare while keeping the data, I think it would still be ok. For now I'm not doing anything like that anyway, but I'll need to figure it out eventually, maybe, unless I end up getting some other solution that'll make it irrelevant by the time I would upgrade
-
@hungrier said in Random Question of the Day:
My question is, would it be possible to initially build the array with only three disks, copy stuff onto it, then add a fourth one?
Seriously, what advantages of a RAID do you hope to benefit from that you're willing to waste space, power and 3 good hard disks on it?
-
@JBert To store data
Right now I have a 4-bay raid enclosure with 4x2TB drives in raid 5. Eventually I'll probably want to upgrade the capacity with bigger drives, and as part of that I'll move the stuff over. But since I only have the one enclosure I'm thinking of doing a
horribly over-complicated stupid danceperfectly sensible multi stage transfer where I copy the shit to one of the large drives, build the array with the rest of em, copy it again to the array, and finally add the first drive to the array
-
Something like this would be even better if my enclosure can do it:
-
@hungrier said in Random Question of the Day:
Something like this would be even better if my enclosure can do it:
This is definitely possible with ZFS, good luck with normal RAID though!
-
@hungrier said in Random Question of the Day:
Something like this would be even better if my enclosure can do it:
Step 6: ???
-
Is there a good reason for
warning: left shift count >= width of type
and the behavior being anop
instead of giving a 0?The 8086 does not mask the shift count. However, all other IA-32 processors (starting with the Intel 286 processor) do mask the shift count to 5 bits, resulting in a maximum count of 31. This masking is done in all operating modes (including the virtual-8086 mode) to reduce the maximum execution time of the instructions.
I see.
No, that's not a good reason. That's a hardware constraint no language should feel beholden to.
-
@Applied-Mediocrity said in Random Question of the Day:
The 8086 does not mask the shift count. However, all other IA-32 processors (starting with the Intel 286 processor) do ..
I see.
No, that's not a good reason. That's a hardware constraint no language should feel beholden to.When we need to have needed to stop the extraterrestrial invasion by sending a virus back in time, I guess we'll know who to thank for that not having wollen be working, won't you.
-
@Applied-Mediocrity Either you're programming in assembly or C, where exposing these hardware details is generally accepted. Or you're programming in some other language, where why are you even using shifts instead of multiplication?
-
@PleegWat Perhaps if Intel behavior was mathematically correct. But it isn't. See, devloper.arm.com says:
If n is 32 or more, then all the bits in the result are cleared to 0.
It's not multiplication, it's actual shifting with user input that wasn't being validated.
But really, it doesn't matter what or why I'm using it for. The operator is there, it should work in a consistent manner. MSDN says that left shift will be masked to five bits. Can I assume that's how it will also work on .NET 5+ on ARM?
-
It's undefined behavior in C. And C predates the 286, so it must mean than some other processors, even back then, also had traps lurking there.
(I'm not saying it's a good thing. I always wondered if the 286's shift behavior was a bug that got promoted to feature, since the 8086 didn't behave this way, and Intel is usually pretty careful about not preserving compatibility.)
@Applied-Mediocrity said in Random Question of the Day:
The operator is there, it should work in a consistent manner.
It does. It's just not the way you wish it would work.
-
@Zerosquare I hate computers.
-
@Applied-Mediocrity said in Random Question of the Day:
That's an avatar I haven't seen for a while, one for the "what ever happened to ..." thread.
-
@HardwareGeek said in Random Question of the Day:
@Applied-Mediocrity said in Random Question of the Day:
That's an avatar I haven't seen for a while, one for the "what ever happened to ..." thread.
I assumed he simply got eaten.
-
Is it unreasonable to expect that tickets/stories about bugs/defects include a working example on how to replicate the bug, exceptions not withstanding?
-
@jinpa It shouldn't be but it often is.
-
@jinpa said in Random Question of the Day:
Is it unreasonable to expect that tickets/stories about bugs/defects include a working example on how to replicate the bug, exceptions not withstanding?
Sounds like an exceptional ask
-
@izzion said in Random Question of the Day:
Sounds like an exceptional ask
In the past six months or so, I have heard people on my project use "ask" as a noun. I was hoping that was just our own quirk. Has that usage infected the corporate IT world?
-
@jinpa At least https://www.merriam-webster.com/dictionary/ask and https://www.dictionary.com/browse/ask list "ask" as a noun as well. Make of that what you will.
I'm sure I myself have used "ask" as a noun in this forum before, in fact.
-
@Zecc said in Random Question of the Day:
Make of that what you will
Is "will" in this expression used in the sense of "you may make of that what you will make of that" or in the sense of "you may make of that what you wish"?
Yes.
-
@Zecc said in Random Question of the Day:
@Zecc said in Random Question of the Day:
Make of that what you will
Is "will" in this expression used in the sense of "you may make of that what you will make of that" or in the sense of "you may make of that what you wish"?
Sometimes ambiguity is a feature, not a bug.
-
@jinpa said in Random Question of the Day:
@Zecc said in Random Question of the Day:
@Zecc said in Random Question of the Day:
Make of that what you will
Is "will" in this expression used in the sense of "you may make of that what you will make of that" or in the sense of "you may make of that what you wish"?
Sometimes ambiguity is a feature, not a bug.
Found the BA :pitchfork:
-
@izzion said in Random Question of the Day:
@jinpa said in Random Question of the Day:
@Zecc said in Random Question of the Day:
@Zecc said in Random Question of the Day:
Make of that what you will
Is "will" in this expression used in the sense of "you may make of that what you will make of that" or in the sense of "you may make of that what you wish"?
Sometimes ambiguity is a feature, not a bug.
Found the BA :pitchfork:
Could be a framework author. Hold his hand in a fire and see if he acknowledges it without documentation.
-
@hungrier said in Random Question of the Day:
A RAID 5 array with four disks will continue working if one of the disks breaks or is removed. You can then replace it with a new one and after repairing, the array will be back to normal and you can lose any of the disks again. All correct so far?
My question is, would it be possible to initially build the array with only three disks, copy stuff onto it, then add a fourth one?
Is there a chicken involved somehow? A bag of grain?
-
@jinpa said in Random Question of the Day:
Is it unreasonable to expect that tickets/stories about bugs/defects include a working example on how to replicate the bug, exceptions not withstanding?
There have been times when I would have been happy just to receive an example of what the supposed problem is.
"The administration page is not working" is not a sufficient bug report in my dream world. Especially when the page comes up with no glaring error messages.
-
@Bim-Zively said in Random Question of the Day:
"The administration page is not working" is not a sufficient bug report in my dream world. Especially when the page comes up with no glaring error messages.
That's the kind of bug report that should be closed with the comment "It works fine here."
-
@Bim-Zively said in Random Question of the Day:
@jinpa said in Random Question of the Day:
Is it unreasonable to expect that tickets/stories about bugs/defects include a working example on how to replicate the bug, exceptions not withstanding?
There have been times when I would have been happy just to receive an example of what the supposed problem is.
"The administration page is not working" is not a sufficient bug report in my dream world. Especially when the page comes up with no glaring error messages.
Add a little 3-phase animation of a guy hitting an anvil to the header.