|
...but it's so SLOW!
It took me 5 or so minutes just to log in (though that is probably down to my "strong" password being impossible to remember, let alone type).
And I grew out of "one finger" typing decades ago...
Still, there you go @Chris-Maunder
one more browser you can say CP works with!
And it's wierd leaning forward and having your browser run awy from you.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
OriginalGriff wrote: let alone type). Switch to a gesture password.
Social Media - A platform that makes it easier for the crazies to find each other.
Everyone is born right handed. Only the strongest overcome it.
Fight for left-handed rights and hand equality.
|
|
|
|
|
it's gotta be freaking the cat out?
... but you do know it'll get the gist of it some day and take a real crap on your sofa.
after many otherwise intelligent sounding suggestions that achieved nothing the nice folks at Technet said the only solution was to low level format my hard disk then reinstall my signature. Sadly, this still didn't fix the issue!
|
|
|
|
|
OriginalGriff wrote: And I grew out of "one finger" typing decades ago...
Typing - Grade 10 - 1979. Easily the single most useful thing I learned in all of my schooling!
If you can't laugh at yourself - ask me and I will do it for you.
|
|
|
|
|
Agreed, with one caveat:
- One typing class: Highly recommended.
- More than one: Highly discouraged.
I made the mistake of taking another typing class in grade 10 (I had my first one in grade 9). The second class was nothing but a huge waste of time (OTOH, while the first typing class was a mostly even mix of boys and girls, as I recall, the second one consisted of myself, and a bunch of girls who aspired, I guess, to become secretaries)...
There's much better material I should've gotten covered while in high school, but that's a long story for another day...
|
|
|
|
|
OriginalGriff wrote: And it's wierd leaning forward and having your browser run awy from you
That only happens to me on really bad days. I usually put the cork back in at that point.
cheers
Chris Maunder
|
|
|
|
|
Chris Maunder wrote: I usually put the cork back in at that point. Hopefully not before shipping code
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.
|
|
|
|
|
are you using industrial tin-foil ? the household stuff won't work.
«One day it will have to be officially admitted that what we have christened reality is an even greater illusion than the world of dreams.» Salvador Dali
|
|
|
|
|
I always use industrial tin foil - it's twice as thick as the domestic version, and a lot cheaper if you buy it in 90m rolls.
Plus, your tinfoil hat can be extended with a tinfoil cape to cover your whole spine wioth little extra effort.
Just don't drop it ...
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
@OriginalGriff
the tin-foil cape is very soignee, butt the problem is: when you bend over, you can leave a butt-print in the cape which could be picked up by scanners.
very few people can make a perfect ass of themselves.
«One day it will have to be officially admitted that what we have christened reality is an even greater illusion than the world of dreams.» Salvador Dali
|
|
|
|
|
C#: Which do you prefer (given the small number of array items):
Type stringType = typeof(string);
Type[] expectedTypes = Enumerable.Repeat(stringType, 3).ToArray(); or:
Type stringType = typeof(string);
Type[] expectedTypes = new Type[] {stringType, stringType, stringType}; or: (using an extension method):
Type[] expectedTypes = typeof(string).Repeat(3); Definition of the extension method:
public static T[] Repeat<T>(this T item, int n)
{
return Enumerable.Repeat(item, n).ToArray();
}
I'm curious if anyone has any strong preference, and why.
From my perspective, the first version is sort of silly but cute, given there's only 3 items being initialized. The second version, ok, but I don't like it because I hate repeating myself. The third version I really like as it's very readable but some people object to creating extension methods (not that I care, it's my code, haha.)
|
|
|
|
|
Type[] expectedTypes = new Type[] {typeof(string), typeof(string), typeof(string)}; I have a 'mild' preference for the above line.
|
|
|
|
|
My thought as well.
Software Zen: delete this;
|
|
|
|
|
Great minds...
|
|
|
|
|
Oh yuck, none of those. ToArray and anything from Linq is a cry for help.
|
|
|
|
|
PIEBALDconsult wrote: ToArray and anything from Linq is a cry for help.
hehe. This is the use case:
method = type.GetMethod("SomeMethodName", expectedTypes);
|
|
|
|
|
|
|
I prefer the 2nd method using C# intrinsic initializers.
I find that trivial wrapping in most cases tends to obscure, rather than clarify.
Also I don't need to know linq to understand it, so that's a bonus.
Real programmers use butterflies
|
|
|
|
|
Quote: but is not for programming questions. Oh wait, nevermind, you have been here awhile so it's allowed.
And to answer your question, I have no preference.
Social Media - A platform that makes it easier for the crazies to find each other.
Everyone is born right handed. Only the strongest overcome it.
Fight for left-handed rights and hand equality.
|
|
|
|
|
ZurdoDev wrote: Oh wait, nevermind, you have been here awhile so it's allowed.
Well its not really a programming question. If you wander across the tracks to SO you will see questions like this (asking opinions on something) are almost always closed as not relevant.
Now - I don't want to use SO as a guideline for CP but in this case...
ZurdoDev wrote: you have been here awhile
So he knows that some very good developers will answer the question here instead of being inundated by newbie responses in the C# forum!
If you can't laugh at yourself - ask me and I will do it for you.
|
|
|
|
|
DRHuff wrote: Well its not really a programming question. ... (asking opinions on something) I was going to answer him with something like that (I totally agree with you) but then I thought... not worthy to start with
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.
modified 24-Feb-20 11:33am.
|
|
|
|
|
DRHuff wrote: Well its not really a programming question. The title of his own message disagrees with you.
And I don't disagree with you. But I have seen newbie posters ask the same exact type of question and get flamed for it. Just making a point that most everyone will ignore.
Social Media - A platform that makes it easier for the crazies to find each other.
Everyone is born right handed. Only the strongest overcome it.
Fight for left-handed rights and hand equality.
|
|
|
|
|
DRHuff wrote: being inundated by newbie responses in the C# forum! That is going to piss off Richard and Richard, those 2 answer the bilk of c# questions, calling them newbies should ge right up their noses.
Seriously the forums see very little idiocy, that seems to be limited to Q&A.
Never underestimate the power of human stupidity -
RAH
I'm old. I know stuff - JSOP
|
|
|
|
|
Mycroft Holmes wrote: Richard and Richard,
Wait - there are a couple of Dicks answering questions in the forum?
Mycroft Holmes wrote: Seriously the forums see very little idiocy, that seems to be limited to Q&A.
Shows you how much time I spend there...
If you can't laugh at yourself - ask me and I will do it for you.
|
|
|
|