News for hackers. Stuff that matters.
Re:The Source Code for NYC's Forensic DNA Statistical Analys... by foob on Friday October 20, 2017 @03:58PM (#15518714)
I haven't had a chance to dig into the analysis part of the code yet, but here's an amusing variable assignment that jumped out at me in `FST.Common/ComparisonData.cs`.

    compareMethodIDSerializationBackupDoNotMessWithThisVariableBecauseItsAnUglyHackAroundACrappyLimitiationOfTheFCLsCrappyXMLSerializer = comparisonID;
Re:The Source Code for NYC's Forensic DNA Statistical Analys... by thirstysusrando on Friday October 20, 2017 @08:48PM (#15520064)
Re:The Source Code for NYC's Forensic DNA Statistical Analys... by slackingoff2017 on Saturday October 21, 2017 @12:44AM (#15520705)
I love this type of thing in C# because it's such a terse and well designed language. It's easy to make something stand out.

A cult favorite of devs at my previous employer was to (ab)use the power of LINQ to try to create the longest single line methods possible. I held the unofficial record for a while with a LINQ statement over 1200 chars. Innocent enough since resharper can unwrap them into sane code but lots of fun

Re:The Source Code for NYC's Forensic DNA Statistical Analys... by sixothree on Saturday October 21, 2017 @12:54AM (#15520739)
I love/hate it when someone writes a linq statement and ends with "look, one line".