Skip to main content
33 events
when toggle format what by license comment
Apr 12, 2017 at 7:31 history edited CommunityBot
replaced http://programmers.stackexchange.com/ with https://softwareengineering.stackexchange.com/
Jan 20, 2016 at 6:25 audit Suggested edits
Jan 20, 2016 at 6:25
Jan 11, 2016 at 22:18 answer added sacundim timeline score: 0
Jan 11, 2016 at 19:59 answer added Tim Williscroft timeline score: 2
Jan 11, 2016 at 16:42 answer added Becuzz timeline score: 0
Jan 11, 2016 at 13:55 answer added guillaume31 timeline score: 3
Jan 11, 2016 at 10:00 answer added gbjbaanb timeline score: 3
Jan 11, 2016 at 1:52 history tweeted twitter.com/StackProgrammer/status/686365130653876224
Jan 10, 2016 at 23:34 history reopened Karl Bielefeldt
Mason Wheeler
moarboilerplate
Ben Aaronson
Izkata
Jan 8, 2016 at 20:27 history protected gnat
Jan 8, 2016 at 5:14 review Reopen votes
Jan 10, 2016 at 23:37
Jan 8, 2016 at 3:49 vote accept moarboilerplate
Jan 8, 2016 at 3:12 history closed Tulains Córdova
Jimmy Hoffa
user53019
gnat
Scant Roger
Needs more focus
Jan 8, 2016 at 3:11 comment added moarboilerplate @corsiKa 5--the average would only apply to unicorns (or horned horses)
Jan 8, 2016 at 3:01 answer added Jonah timeline score: -1
Jan 8, 2016 at 2:53 comment added corsiKa If you have 10 horses, two of which are unicorns of length 4 and 6 is your average 5 or is it 1?
Jan 7, 2016 at 22:39 answer added Martin Maat timeline score: -2
Jan 7, 2016 at 22:09 answer added Karl Bielefeldt timeline score: 11
Jan 7, 2016 at 21:12 comment added moarboilerplate @JimmyHoffa "you're doing it wrong" happens to be an acceptable "non-answer," and oftentimes better than "well, here's one way you could do it"--no extended discussion required.
Jan 7, 2016 at 20:49 comment added Jimmy Hoffa If your question is best answered with a non-answer, then it doesn't belong on a Q&A site; reddit, quora, or other discussion based sites are built for non-answer type stuff... that said, I think it may be clearly answerable if you're looking for the code @MasonWheeler gave, if not I think I have no idea what you're trying to ask..
Jan 7, 2016 at 20:43 history edited moarboilerplate CC BY-SA 3.0
added 777 characters in body
Jan 7, 2016 at 20:39 review Close votes
Jan 8, 2016 at 3:15
Jan 7, 2016 at 20:37 comment added Scott Whitlock Ooooh, you could add a property to horse like: public float? HornLength { get; }
Jan 7, 2016 at 20:34 comment added Stephen P @Mason - true, and the horses at the 10-unicorn gate would be a problem too. Inversion is only occasionally useful, but the tactic is there.
Jan 7, 2016 at 20:29 comment added moarboilerplate @nanny cool, let me just store that in this variable here.
Jan 7, 2016 at 20:23 comment added Mason Wheeler @StephenP: That wouldn't work mathematically for this case; all those 0s would skew the average.
Jan 7, 2016 at 20:23 comment added Stephen P In this abstract case, you could invert the relationship and decide that a Horse IS-A Unicorn with a fixed horn length of 0. That inversion sometimes works for real-world cases too.
Jan 7, 2016 at 20:22 comment added nanny @moarboilerplate Anywhere from 10 to infinity.
Jan 7, 2016 at 20:22 answer added Mason Wheeler timeline score: 36
Jan 7, 2016 at 20:21 answer added Scott Whitlock timeline score: 9
Jan 7, 2016 at 20:19 comment added moarboilerplate @ScottWhitlock Yeah, but how many times can my horses go through a gate that has a 10-unicorn-per-day limit?
Jan 7, 2016 at 20:16 comment added Scott Whitlock Horses don't have horns, so average is undefined (0/0).
Jan 7, 2016 at 20:13 history asked moarboilerplate CC BY-SA 3.0