This is the internet, where men are men, women are men, and 12 year old girls are FBI agents ...
The internet convention is not to assume a gender: male pronouns are generally used unless gender preference is explicitly stated: the OP is from Israel, and I for one have no idea if "Joanna" is a male or female name there (I can't even order a beer in Hebrew, because I've never been there).
Even in English, assuming gender from a name is fraught with difficulties: "Leslie" is generally given to boys, and "Lesley" to baby girls - but sometimes the parents spell the other way round (my wife's father was "Lesley" for example). And some of the "modern names" they give kids these days ... no chance!
And then there is the "I identify sexually as ..." fun and games which throws the whole load in the bin and starts you all over again just for the fun of it. Stick to "he", "him", "his" unless otherwise stated.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
AntiTwitter: @DalekDave is now a follower!
Yeah, if you don't know (or are not sure). But I find it difficult to refer to a "Mary" or "Rosalyn" as a "he" in a reply - in situations where I know for sure (at least 99.9%) that the reply goes to a girl. When a poster identifies herself as "Mary", I consider the gender explicitly stated.
The reason why I asked is that "Joanna" as I know it is just as feminine as Mary or Rosalyn. So my question was not primarily about Internet gender conventions, but about this specific name in particular: Is the name Joanna given to boys - in Israel (like the Joanna starting this thread), or in other cultures?
I have argued myself for accepting role designations that for historical reasons are gender specific, as being gender neutral today. E.g. I have no problems accepting male midwives or cleaning ladies. But those are roles, not specific individuals. When I refer to individual persons where the gender is known, I find it strange to refer to the opposite gender. If I were to refer to one specific male midwife, I would never refer to him as "she".
Finish language has a traditional neutral gender reference merging "him" and "her". It is slowly being accepted in Swedish, and I have seen it in Norwegian as well: "hen" as as common term for "han" and "hun". I applaud that development.
Yet, I think it is OK that people call me a "coffee hag" (kaffekjerring) - a dialect expression for a person addicted to coffee. At one national congress, people from the south of Norway refused to believe that we have male hags in mid Norway. I had to get support from others from my district to confirm it. (This was in a discussion whether we should replace the gender specific term "formann" with the gender neutral "leder", where I argued that this is a role description, not a person description.)
Interpreting a word from one language in a different language may be fun for entertainment purposes, but that's about all. Except possibly in marketing. When Honda Fitta was to be sold in Scandianvian markets, it was renamed Honda Jazz. "Fitte" means "c**t" in Scandinavian languages.
For a more direct comment: In Norwegian, bird names for girls are certainly not always derogatory. A common term for a sexy young girl is "rype", according to Wikipedia the English name is "lagopus". Not even metooers will come after you for referring to a girl as a "rype". And, isn't "chick" a short form of "chicken"?
It shall be noted that if "hen" were of English origin, and you tried to translate that to Norwegian, to "høne", you should not use that term to refer to a girl: Besides being a bird, it is used as a slang term for the female parts (not the entire girl). So it would be like calling a girl a c**t. While we are at it: Another slang term for the same is "mus" (English: mouse). When you put your hand on that pointing device, you may think we had found another term for it in Norwegian. We did not. So you can imagine what some people jokingly call the scroll wheel.
wmic calls give me the "drive type" as a small integer, a System.IO.drivetype value, running from 0 to 6. All standard disks are drive type 3, "Fixed" (or possibly type 4, "Network").
Is there any general way to distinguish between flash and magnetic "Fixed" disks? I know that I could check the manfacturer's id against a huge table identifying all the disks of all manufacturers ... There obviously is a simpler, more general way: Windows handles flash disks differently from magnetic disks. So how does Windows distinguish - and how can I do the same?
Yes, I could try to do some accesses and decide based on timing. I do not consider that a clean solution. There must be a better one, but which?
Thanks a lot. Foun other interesting filelds there as well, e.g. bus type.
(What I need the info for is to give a rough estimate of the expected time to complete a set of file operations before they are actually performed. Both disk technology and bus type are essential for getting good estimates.)
I want to display data in a DataGridView and I would like filter the shown rows during runtime. After a lot of googling I came to the conclusion that the best approach would be to place my data in a DataTable and then bind this to my DataGridView. I have done this and I read on e.g. DataView RowFilter Syntax [C#][^] that there are several pre-defined filters available. However, I want to write to my own filter delegate, that returns true or false depending on whether the row should be shown or not. Is this not possible to do?
How can I supply a delegate using any of those methods?
I guess a workaround would be to create a hidden column named ShowThisRow and run through it with a for-loop and set the value to either true or false and then apply the standard string expression filters on that column. But it doesn't feels like it's the right way to do it, there must be a better solution to this (probably using a different class than DataTable to hold the data).
When I was googling I came across this video Created by Camtasia Studio 3[^] and 6 minutes into to it the programmer adds a delegate that would fit my needs perfectly. But I guess I must have misunderstood something, I thought this was included directly in .NET without writing extra code.
I think it seems really great, but I don't seem to able to add rows after the DataGridView has been initialized. Nothing happened when I added an object to my source List<> and BindingListView does not have an Add-method. It has a AddNew-method, but that bring up a file browser dialog!?!?
You can pass in a row filter to the DataView constructor, but it has to be a string using the Expression Syntax[^]; you can't pass in a custom delegate.
The BindingSource has a Filter property[^], but again it's a string using the same syntax.
In WPF, you can supply a filter delegate to the ICollectionView. But that's not much help if you're using Windows Forms.
You could obviously select the filtered rows using LINQ, and even use the CopyToDataTable extension method to create a new DataTable from the filtered rows. But then you'd have to change the data source every time the filter changed, and you'd lose the connection to the original rows.
I don't think there's a good answer for this.
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
Last Visit: 31-Dec-99 19:00 Last Update: 10-Dec-23 7:44