|
Hey, some people LIKE using their own email client to compose emails! I know it must be a foreign concept to you, since you use Outlook Express...
|
|
|
|
|
The last time I used (& co-incidentally enjoyed) an email program was pmail under win2k(dos).
Doing all email via webclients/phone app, I've no need to setup email. Which is why whenever somebody tries this trick, it opens up with empty from field - I've never setup an outlook account..
Make it work. Then do it better - Andrei Straut
|
|
|
|
|
Why do people do this? To make my brain hurt?
DateTime startDate = new DateTime(
DateTime.Now.AddDays(-1).Year,
DateTime.Now.AddDays(-1).Month,
DateTime.Now.AddDays(-1).Day);
DateTime endDate = new DateTime(
DateTime.Now.Year,
DateTime.Now.Month,
DateTime.Now.Day);
|
|
|
|
|
Because using time spans is harderest.
Soupcon of a brain fart there.
It's c#, so addDays() does it all for you. But that needs thinkification.
Panic, Chaos, Destruction. My work here is done.
Drink. Get drunk. Fall over - P O'H
OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre
I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer
Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett
|
|
|
|
|
To introduce subtle bugs around midnight, that require expensive fixing and guarantee a job for life?
Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water
|
|
|
|
|
I've done something similar to the second one of those, i.e.
DateTime now = DateTime.Now;
DateTime midnight = new DateTime(now.Year, now.Month, now.Day);
Am I missing an elegant way to do that?
|
|
|
|
|
DateTime endDate = DateTime.Today;
Today is Now with the time truncated.
|
|
|
|
|
Thanks, I'll try to remember that! Not that intuitive a name, to me.
|
|
|
|
|
One could also use DateTime.Now.Date; .
|
|
|
|
|
Erm, I was just logging on to report myself for this. It looks very similar
System::Drawing::Rectangle clientRectangle = System::Drawing::Rectangle(ClientRectangle.X, ClientRectangle.Y, ClientRectangle.Width, ClientRectangle.Height);
I have no defense, guilty as charged
|
|
|
|
|
It would be interesting to have a coding horrors forum that only allowed self-reported craziness.
|
|
|
|
|
The first step to recover is admitting you have a problem.
Panic, Chaos, Destruction. My work here is done.
Drink. Get drunk. Fall over - P O'H
OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre
I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer
Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett
|
|
|
|
|
How would that work for people who suffer from hypochondria?
|
|
|
|
|
LOL It had been some time since I checked this forum and when I saw the title of this post I thought there would be tons of Rebbeca Black references (I'm writing this as of FRIDAY, September 7th)
|
|
|
|
|
Definitely WTF worthy.
You have my sympathies.
|
|
|
|
|
So I think the guy before me wanted to spell the word 'Assigned' in his C# method name but ended up saying
public int UpdateReasonNotAssgiggedFlag(IEnumerable<DownTime> downtimes)
{
}
Excuse the profanity, but I wonder what it feels like to get "ass-gigged." Anyway, I corrected the "misspelling..."
Sincerely Yours,
Brian Hart
|
|
|
|
|
Sounds like a reporting method for use in a prison web service.
If (DropSoap && !A##Gi##ed){
Update....
}
(please accept my appologies too - Just couldn't resist).
|
|
|
|
|
So that's why they call it the "soapbox"...
|
|
|
|
|
Quote: A##Gi##ed
Is that a valid identifier?
|
|
|
|
|
In C#: if you put an @ in front of it, MAYBE.
He who asks a question is a fool for five minutes. He who does not ask a question remains a fool forever. [Chineese Proverb]
Jonathan C Dickinson (C# Software Engineer)
|
|
|
|
|
No. Its not an identifier in C#. # is used as a directive.
There is no great genius without some touch of madness - Seneca, Epistles
|
|
|
|
|
I didn't even see it the first time. If you hadn't metioned I might not have noticed.
However, now that I do, it is quite funny!
|
|
|
|
|
Its amazing how the human brain fills in what we think it should be when reading - I missed it the first time also.
|
|
|
|
|
I've never cursed in my executable code, but I have in comments a number of times.
Software Zen: delete this;
|
|
|
|
|
Gary Wheeler wrote: I've never cursed in my executable code, but I have in comments a number of times. Which is another good reason not to write comments.
|
|
|
|