So I have a method used everywhere in the codebase: public static void GuardIsTrue(bool condition, string message, params object[] formatArgs) ... I'd like to add an optional parameter [System.Runtime.CompilerServices.CallerMemberName] string callerName = "" so that all usages get a compiler-injected string, but I can't add it after the params argument. What can I do to avoid updating 500 usages?
I guess as an undesirable workaround I could create like 5 or 12 overloads all without params, depending on what the largest count of objects being passed in is.
this is why NLog and log4net both give you a way of testing whether logging is enabled at a certain level. i dont know log4net that well, but NLog does have overloads that accept a Func<string> for this reason.
We use JSON in most of our model classes' ToStrings. And if the object has a property that's a list containing 50,000 sub-objects, that can be terribad.
It was not THAT enlightening for the most part. Did see one pretty darn cool concept though, so that was well worth it. And I attended more talks on the personal development side of things BECAUSE I'm pretty sure I'm mostly on par on the tech side of things, and those were good too.
okay, my boss just assigned me a new task. i have this 502 page PDF document. Every page is nothing but financial tables. I also have a spreadsheet containing every row and column heading from the document. I have to manually copy/paste the table values into the spreadsheet. The spreadsheet contains 17,000 rows. We have to do this because the tables aren't in a standard format, so we can't automate it.....
the thing is, its a poorly structured PDF. they're less tables and more like carefully aligned pieces of text randomly placed on the page. sometimes the rows don't line up
@Failsafe Witch 50, which is super easy to level. Just gather a bunch of mobs and fry them. Rince and repeat. The 30'er is a ranger that I entirely leveled through a mount, which makes the slow and boring ranger at early levels a breeze to play.
TopToBottomTextExtractionStrategy() or SimpleTextExtractionStrategy() there are 2 and the one is a custom made - find I have to switch between the 2 depending the PDF version
JetBrains, initially called IntelliJ,[7] was founded in 2000 in Prague by three software developers:[8] Sergey Dmitriev, Valentin Kipiatkov and Eugene Belyaev.
American politics should include an option to "unvote" - instead of voting for the candidate you want, you can remove a vote from a candidate you don't want. It'd make things interesting at least.
@TomW - Ah, well the no option one has the smallest amount of boost in the supercharger, maybe 1lb? (unsure). It doesn't have heated seats or extra gauges or anything, it is automatic without the paddle shifters, it has boring audio, no tint, smaller wheels, stock shocks/struts/handling stuff etc, stock exhaust, stuff like that basically
@TravisJ is any of the mechanical stuff noticeable outside of a track environment? I honestly don't know, I've never driven anything that could be called a performance car
Obviously a basic auto box is a difference you'd notice
@mikeTheLiar - That is pretty much the consensus. Destined to lose. I just hope he doesn't say anything so radical that it damages our relations internationally.
there's a rumor now that the republican leadership might actually put up a third party candidate.
specifically to steal trumps voters so Hillary will win, on the theory that "we know how to fight unpopular liberals but we have no idea how to stop popular crazy men"
their primary concern, I think, is that when the general election rolls around and Trump is no longer just selling himself to the core republican base, but also the moderate republicans and independents, that he's going to cause problems in the congressional and local races.
My VS2013 Professional just stopped showing build errors in my error list (which is more user friendly as i can click on errors and go straight to the offending line). Build errors e.g non-existent method on an object now only show up at build time in the Output window. This is proving to make my...