« first day (2285 days earlier)      last day (2710 days later) » 

4:42 AM
I'm voting to close this question as off-topic because it is about statistics / Mathematics instead of programming or software development. — Pang 1 min ago
I answered but since this is about server software I think it should have been posted on the superuser or webmasters stackexchange site. — Jim W 32 secs ago
I'm voting to close this question as off-topic because it is about boolean algebra / Mathematics instead of programming or software development. — Pang 54 secs ago
I'm voting to close this question as off-topic because it is about probability and Mathematics instead of programming or software development. — Pang 54 secs ago
I'm voting to close this question as off-topic because it is about statistics and Mathematics instead of programming or software development. — Pang 44 secs ago
I'm voting to close this question as off-topic because it is about statistics and Mathematics instead of programming or software development. — Pang 57 secs ago
 
6:24 AM
Duga sure produces a lot of false positives since our name change.
 
 
1 hour later…
 
 
4 hours later…
11:45 AM
You should ask this question here: softwareengineering.stackexchange.comalex 42 secs ago
 
 
2 hours later…
1:19 PM
This is a question asking for software recommendation. Please consider to ask on [softrecs.se] — Rubén 13 secs ago
 
 
4 hours later…
5:01 PM
If your program works correctly and you want to know about performance issues, post to SoftwareRecs@StackExchange.com — Thomas Matthews 33 secs ago
 
 
4 hours later…
9:26 PM
The same place we all go when we want to start researching a software question: google.com/…maniak1982 12 secs ago
 
 
1 hour later…
10:36 PM
@Servy: The Extension Method problem arose in this method:
    /// <summary>
    /// Performs a case-insensitive Contains check.
    /// </summary>
    public static bool Contains(this string haystack, string needle)
    {
        return haystack.ToLower().Contains(needle.ToLower());
    }
Which will clearly fail if either string is null. At the time, I didn't have time to fix the extension method properly (it was in a library that would have required a redeploy), and I wound up with a local function:
        /// <summary>
        /// Performs a case-insensitive, null-tolerant Contains check.
        /// </summary>
        public bool Contains(string haystack, string needle)
        {
            if (haystack == null || needle == null)
                return false;

            return haystack.ToLower().Contains(needle.ToLower());
        }
Which clearly won't fail, even as an extension method.
The environment that we're working in has some constraints. It uses CSScript, which doesn't understand things like object?.Property, which would have come in really handy here.
Extension methods suddenly seemed like a risk, even though they probably aren't.
 
@RobertHarvey Makes sense. There's a reason I mentioned a NRE bubbling up from internally first, and twice, it seemed the most likely
I assume Contains is static, btw
 
Yep, static.
 
Also note that ToLower isn't a reliable way of performing a case insensitive search in many non-English languages
so if that code is for an international application you'd want to actually use a case insensitive string comparer
 
Most of what we're currently doing in the way of string comparisons is Invariant Culture. When we go multi-lingual, I'll probably switch to a base class strategy.
Or a factory. But each country has its own specialized services anyway.
 
I like Jeff's post on the subject: blog.codinghorror.com/whats-wrong-with-turkey
(Jon Skeet also has a number of blog posts on the subject)
 
10:48 PM
Yeah, I like the Turkey problem. My favorite Jon Skeet post is this one.
> 2637 up voted
please tell me you didn't know that off the top of your head? – Gareth Davis Jul 27 '11 at 8:33
 
yep, classic post
that comment was deleted!!
:(
 
Try softwarerecs.stackexchange.com too. They might be able to help sooner. — Eric S 49 secs ago
 
One of the perks of being a mod. You get to see massively upvoted, deleted comments. Alas, I can't undelete a comment some other mod deleted.
Fun fact: about 90% of the posts Duga finds are closeable under the current SO rules.
 

« first day (2285 days earlier)      last day (2710 days later) »