« first day (1163 days earlier)      last day (2857 days later) » 
00:00 - 20:0020:00 - 00:00

8:00 PM
^^
 
I'm going to sleep. G'night guys. Have a nice night !
^^
 
@Dex'ter Nighty
ZZZzzz Ronaldo
 
8:18 PM
I have more lines of XML doc comments for this method than I have lines of code...
Pimping an answer to my question: codereview.stackexchange.com/a/134481/73844
@Phrancis This version is much better.
 
Ripe zombie; open question with answers, at least one answer having score 0, no answer having score > 0: Wrapping decorator pattern with a builder
 
@EBrown XML doc comments? Why aren't the comments in your code?
 
@Mast Why would they be? An API reference isn't built from comments in the code.
 
XML doc is simply documentation, not comments, or I have no clue what you're talking about.
 
Ah, I guess the wording could be poor.
 
8:27 PM
And documentation of library functions can very well be much larger than the actual code.
 
Looks about right.
 
I wonder where the XNA default templates are.
I need to modify one of them.
 
Monking!
 
8:45 PM
@Phrancis waves too long
 
@EBrown Nice!
Eww, what an anti-pattern! Try return [conditions].isGoodTag() ? "keep" : "burninate", or even better return [true: "keep", false: "burninate"][[conditions].isGoodTag()] (branches and jumps are slow, you know) — cat 3 hours ago
 
Phew
6 hours later. I have finally formated my latex documents bibliography correctly. Only thing I lost in the process was my will to continue writing on the document.
 
Ouch
BTW, MartinR already had a good, accepted answer, and went out of his way to make it even better after all that, so I'm pimping it
@skiwi You need to become addicted to internet points again :)
I just found a naughty bug in LINQPad. If you have an instance of it already opened, and you try to open another one, it crashes both instances instantly
 
9:15 PM
@Phrancis I just now realize that I also want the answer to be accepted, I totally forgot that even was a thing
 
lol
Good answer BTW
 
Thanks
I've been out of this loop for a while :P
Didn't intend to answer anything either... It just happened
Writing an answer with a racing wheel mounted on your desk is also slightly annoying
 
I bet ;P
 
@skiwi Unless it's bolted to the desk, you could move it.
 
9:33 PM
Buuuuu
Portugal won
 
@EBrown do you prefer the version with yield return or the one with return source.Where(el => !tExceptions.Remove(el));?
 
@Mast I can't move it anywhere without taking it off
 
10:24 PM
If you want an answer about complexity then DONT put this on codereview. That is only for reviewing your code not answering questions about your code. — Loki Astari 7 secs ago
 
Zak
11:32pm on a Sunday evening. This is the exact moment when I've finished moving out of my old house, and finished* moving in to my new house.
*Finished meaning "all my stuff is in my new room, and I'm now able to go to sleep and go to work tomorrow morning"
That being said, shower first. Got hella back ache and I've been sweating all day moving/cleaning.
 
@skiwi What's wrong with taking it off and putting it somewhere else?
@Zak Congratulations :-)
 
Zak
@Mast TY. As a plus, my 2 new housemates are a software Dev and an IT recruiter. Going to make a nice change.
 
@Zak Feel ya man, moving places is the pits, hopefully you had some people to help
 
Zak
@Phrancis Yeah. I've been thinking "Cool, this is nearly done now" since about midday. There's always something more that hasn't been cleaned/packed/transported yet.
hi @BernardMeurer
 
10:40 PM
possible answer invalidation by Jamal on question by Alex: codereview.stackexchange.com/posts/134441/revisions
 
@Zak Yeah. I helped a friend of mine move his family of 4 from a 2-floor apartment to a house a few months ago, we had to get everything done in one day, it was hectic
 
possible answer invalidation by Jamal on question by Mohamed Ahmed: codereview.stackexchange.com/posts/134448/revisions
 
@Mast That would take some effort
 
10:56 PM
@skiwi Maximum effort!
 
@skiwi That changes everything. Don't exert yourself.
 
Zak
F****** Moths! Go away! My bedroom light is not the moon! Stop crashing into stuff!
 
monking
 
@RichardCritten Please take a look at Code Review's on-topic help centre. Reviewing code is on-topic, explaining code is not. This questions would be shot down if migrated. — Mast 28 secs ago
 
Zak
To be fair, this problem would be solved if I just put the light out and went to bed.
 
11:08 PM
which could be considered reasonable at 1 AM
Monking @Quill
 
Am I over-commenting?
// Verify if a number is evenly divisible by another
public static bool IsDivisibleBy(int num, int divisor)
{
    if (num % divisor == 0)
        { return true; }
    else
        { return false; }
}
Actually, maybe that method should just go
 
@Phrancis Why?
 
Does it make things more clear to do IsDivisibleBy(x, y) rather than just doing x % y == 0
 
Only marginally.
 
I can't English today
 
11:16 PM
But it doesn't hurt either and is a good example of keeping things simple.
 
Maybe I should name is IsEvenlyDivisibleBy
 
I'd say that's implied.
 
OK :)
 
@Phrancis Can you just do return num % diviser == 0?
 
@SirPython Yes.
 
11:19 PM
1
Q: run time complexity of an algorithm

Sri Krishna VijayapuriI am always having confusion when it comes to run time complexity of an algorithm. I wrote this code for suffix array, I am not sure of the run time complexity of insertSuffixIntoTree method. I think it is O(n), but the code where I am counting the number of children might be adding some time com...

 
@SirPython Thank you, I always forget about those shortcut boolean returns
Is it a good thing or bad thing that I'm looking at code I wrote a week ago and scratching my head as to why I made things so complicated?
 
@Phrancis Probably a bad thing, but it happens to me all the time.
 
@Phrancis It's good, I'd say. You stepped away, and came back with a fresh view.
 
Noticing it is good. Writing it needlessly complicated is bad.
On the other hand, if you learn something from it, it's good.
 
11:34 PM
Is it a good habit to always put stuff inside namespaces in C#?
 
00:00 - 20:0020:00 - 00:00

« first day (1163 days earlier)      last day (2857 days later) »