|
Which group of windows employees was it?
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Ever got a file you were working on completely rolled back by your version control?
I don't know how it happened, but it happened.
We're looking at a couple of hours of work here
Sometimes I really hate Git and SourceTree...
This happened to me before in SVN, but at least back then I knew what I had done wrong
|
|
|
|
|
Sander Rossel wrote: SourceTree.
Tortoise for GIT is better IMHO. Any Chance you could use something else, other than SourceTree?
|
|
|
|
|
Ugh, I feel the complete opposite. Tortoisegit's the worst git client it was ever my misfortune to use (although I suspect if forced to use the cli, it'd fall into 2nd to last place); while source tree's the only one I haven't had to swear at once.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt
|
|
|
|
|
yeah, very interesting that my experience is a polar opposite to yours.
I must confess that I have not used SourceTree for almost 2 years now, so it might have improved to where I might reconsider....maybe.
|
|
|
|
|
|
Does this mean we should use repository control? Backups of backups of backups...
We're philosophical about power outages here. A.C. come, A.C. go.
|
|
|
|
|
About a week ago I was downloading demos of several high value component libraries. As is my usual practice the only valid contact info I give is my work email (if I can't leave it blank I'll put something blatantly invalid like 555-555-5555 for a phone number in) because I don't want to talk to a high pressure saledrone. Today, a week after sending an email asking me to call him, one of the vendors drones found my employers reception number (presumably on the website somewhere) to try getting a hold of me that way.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt
|
|
|
|
|
Engage them in open, cordial conversation, inviting them out for coffee perhaps, to discuss various ways that they can take your money....or not.
|
|
|
|
|
Call them back tomorrow, and ask them if it is standard policy to bother people who are working with uninvited questions. Then, Google "questions", and ask more of those.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
Inform them of your recent passing ?
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
Judy the Zootopia[^] admits like she already experienced in the sloth.
It's time to restarts and defragment.
The best way to make your dreams come true is to wake up.
Paul Valery
|
|
|
|
|
Your laptop is slower than the last 10 minutes of the last day of school?
If your laptop was going any slower, it would be going backwards?
|
|
|
|
|
1) To do
2) To do
3) To do, to do, to do, to do, to doooooooo
I'll get me coat.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
Sounds more like "Scooby Doo meets the Pink Panther."
Marc
|
|
|
|
|
I'm not responsible for how the voices in your head sound!
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
Is it weird that I read "I'll get me coat" to the melody of the song as well?
The United States invariably does the right thing, after having exhausted every other alternative. -Winston Churchill
America is the only country that went from barbarism to decadence without civilization in between. -Oscar Wilde
Wow, even the French showed a little more spine than that before they got their sh*t pushed in.[^] -Colin Mullikin
|
|
|
|
|
|
[disclaimer] OK, this is probably a totally lame post. [/disclaimer]
When you use var (or even if you just embed the rvalue as a parameter to another method), you don't need to reference the assembly containing the type.
var prop = rec.GetType().GetProperty(propName);
Doesn't require using System.Reflection;
And Intellisense works just fine. But this:
PropertyInfo prop = rec.GetType().GetProperty(propName);
Does.
Neither does this:
object val = Converter.Convert(data, rec.GetType().GetProperty(propName).PropertyType);
I find that, well, interesting.
(I'm using VS2015, lest anyone even care.)
Marc
|
|
|
|
|
|
Great points. And you can also mouse over the var to see its type.
And the readability definitely comes to full expression when you have something like this:
Dictionary<string, Tuple<int, int>> fieldIndexLengthMap = GetMap();
But I still find myself avoiding var except in specific cases - for example when I get a collection and then immediately iterate over it:
var cps = el.GetConnectionPoints().Where(cp2 => cp2.Type == c.ElementConnectionPoint.Type);
cps.ForEach(cp => c.ToElement.MoveAnchor(cp, c.ToConnectionPoint));
One argument one might use for people (like me!) who say "but I want to know what type it is!" is to ask them if they use Linq or anonymous methods. In the above example, cp2 is like a var -- it has no type definition. Or, sndr and args here:
mnuImport.Click += (sndr, args) =>
{
canvasController.DeselectCurrentSelectedElements();
mnuImport_Click(sndr, args);
};
Which, oddly, makes me question why I'm so gun shy myself about var.
Marc
|
|
|
|
|
Simple case against that reasoning; var does not just hide the type, it accepts every type - and that might change, without going noticed when using var. When you specify which interface you are using you don't run into that problem.
Then again, that is covered by the first paragraph in your post, by the "not being an idiot" bit. Combine both, and you'd get below example;
var con = (IDbConnection) Factory.GetConnectable(); If you are talking about readability, I'd recommend against stating the obvious and ommitting "this" until it is actually required.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
Eddy Vluggen wrote: Simple case against that reasoning; var does not just hide the type, it accepts every type - and that might change, without going noticed when using var. When you specify which interface you are using you don't run into that problem.
Yup, although much of the time when you change the type you do end up getting breakage that needs fixed to compile anyway.
Like Marc, storing the dumpster fires that linq often returns as temporary/local/ephemeral variables (if I want to persist it I force it into something non-retarded) is one of the two places I normally use var.
The other is when declaring my own dumpster fire generics because in these cases the type information is already explicitly given 10 or 30 characters to the right..
var whyGodWhy = new Dictionary<string, tuple<int, List<myType>>>();
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt
|
|
|
|
|
Dan Neely wrote: The other is when declaring my own dumpster fire generics because in these cases the type information is already explicitly given 10 or 30 characters to the right.. Yup, that's the DRY version.
Now some people might put such an example in our "Weird and Wonderful" section, but repeating the same type-information without any benefit would indeed be worse
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
Eddy Vluggen wrote: Dan Neely wrote: The other is when declaring my own dumpster fire generics because in these cases the type information is already explicitly given 10 or 30 characters to the right.. Yup, that's the DRY version.
Now some people might put such an example in our "Weird and Wonderful" section,
If it was undocumented or part of a public API I'd probably be one of them. For something internal to its user a paragraph unpacking what the structure is is lighter weight than a the pile of wrapper classes I'd need if it was publicly accessible.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt
|
|
|
|