Capt'n Midnight wrote: » Remind me of a conversation I had a long time ago. The "programmer" didn't know that both .com and .exe were executables in DOS
Itzy wrote: » Can't say I've ever heard of Companies preventing "Developers" from doing their jobs, unless they were Support Engineers, given the title of Software Developer.
public IsMatch(string var1, string var2) { if(var1 == var2) return true; return false; } if(false == IsMatch(Str1, Str2)) {;} { // bleh bleh some code. }
BrokenArrows wrote: » if(false == IsMatch(Str1, Str2))
if(false == IsMatch(Str1, Str2))
bool x = true; if(x = false) { }
Giblet wrote: » There is a small argument that because bool x = true; if(x = false) { } is valid, that putting false first is less error prone. It's a very small argument and it should be shortcut anyway, but it exists
FobleAsNuck wrote: » in your example x will always be false
if(false = x) { }
We are using WebBrowser control to download a certain file in console application. We scheduled this console application in task scheduler with this selected option "Run only user is logged on", its working fine. But we scheduled this for "Run whether user is logged in or not". It will not work. We couldn't see any error in command prompt. Can any faced this scenario?
Yes, when we select option "Run only user is logged on". If we turn off the machine, it will not work
Raging_Ninja wrote: » Came across this insanity earlier on StackOverflow:http://stackoverflow.com/questions/33996777/task-scheduler-doesnt-work-when-select-run-whether-user-is-logged-in-or-not And in response to my prodding:
ED E wrote: » SO users should have to pass "purgatory" of 1000 rep in SU before being allowed to post....
c_man wrote: » Ah I dunno, I think the rep situation on SO is... lacking. How many times do you find yourself being downvoted for no good/explained reason? I (foolishly perhaps) gave an answer to a question which was a little vague recently. After some back and fro with the submitter on the comments to my answer, he updated the original question. Now my answer looked very much out of date and got a heft of downvotes. /disgruntled
[Rasta] wrote: » I'm in a 3 man development team and I asked the Senior Developer (SD) why we don't have any strategy for working on projects. SD says, something along the lines of: In the real world there is no time to plan projects, you just have to do stuff as you go along. The only way the SD tackles projects is by simply going to 1 meeting to get some specifications from the user and then cracking away writing code. And here's me wondering why there is no source control, no project plan, no documentation, no best practices, no software patterns used... The SD is adamant on writing everything in one class. If the SD sees more than 2-3 classes in a library you need to rewrite. We have an email group for error messages. I redirect those into a sub folder. It has about 7.5k emails after 6 months or so. When I questioned the SD about these, the SD said that i'll get used to seeing the ones that are actually bad errors I checked one of the server's event viewer. About 4k error entries in there. There is possibly new management rolling in, so I'm sure they'd spot and sort this madness. Gladly the other Developer is on the same page as me, so there seems to be a bit of hope.
matrim wrote: » Even with new management I'd say get out now. They will listen to the senior dev and things will continue.
[TestMethod()] public void OpenTimeTest() { MyClass target = new MyClass(); target.OpenTime = DateTime.Now; DateTime ActualTime = target.OpenTime; Assert.AreEqual(target.OpenTime, ActualTime); }
Maximus Alexander wrote: » It's a horror show. I hate myself.
Maximus Alexander wrote: » I'm in a unique situation on this thread where the person I hate is my former self.
Labarbapostiza wrote: » I have worse stories, only they're just too unbelievable. Bigger companies are the worst. Their recruitment policies value people who are of the right "type" over the wrong "type" (the wrong type are "know it alls" who make the stupid feel stupid). The bigger companies have can have "coders" who are not even allowed run a compiler. (They do things like emailing a "coder" with precise details of edits they need to make to source files. They just edit the text file, and they don't even know, understand, or care, what the edits do. ) If I started telling stories, I wouldn't be able to stop, and if I mentioned the name of companies, I'd have angry people wading in to accuse me of lying. Of course I would not be lying. Like if I said, a programmer from Microsoft called a support line, and didn't know what the Internet Explorer was or how to launch it, and then they started crying and hung up the phone, and made complaints about the support tech's meanness, it wouldn't sound believable, and someone working for Microsoft would rush in with accusations of lying. So, it's not a story I'm going to tell. (This stuff isn't as funny as it sounds. Some of these companies have people who are not even script kiddies working as software "engineers", there is a name for them I can't remember it's something along the lines of people who can barely manage a GUI. But it results in support calls like "Woah, woah, stop..you're trying to hack me", when the tech agent after a long struggle gets the "engineer" to launch the command line. )