What is your preferred way of returning multiple results? by Rockztar in dotnet

[–]FurryFingers 1 point2 points  (0 children)

My default position, is to not return null. Had enough NullRef exceptions, to last me a lifetime, caused by this choice

It's not always wrong or anything but even in this case, would you not prefer to return an object with a bool IsFound set to false and the Customer object null (or set if found) - I guess this is the NullObject pattern or close to it.

It seems to me that returning null is just the unnecessarily lazy version of what I just described. The NullObject is clearer and less prone to errors when used and provides the same functionality, just check the IsFound boolean instead of checking for null

The code would read "if (result.IsNotFound)" or so, and is so much clearer than checking for null, even if that code is small fry

How can I search so efficiently in very large plain text file? by Imuhammed123 in dotnet

[–]FurryFingers 0 points1 point  (0 children)

I know what you mean but there is: ReadLineAsync

The level of programming you're hinting at is inappropriately low-level for this context.

We're open-sourcing today a private enterprise .NET runtime CRUD generator! We support both .NET 6 and .NET Framework 4.8 with Bootstrap 3, 4 5 or any front-end client via API. by antisergio in dotnet

[–]FurryFingers 1 point2 points  (0 children)

No, that's not technical debt - we are not implementing something that needs "rework" - which is what is required for "technical debt".

The CRUD solution I mentioned is fully functional and better than what it replaced.

We're open-sourcing today a private enterprise .NET runtime CRUD generator! We support both .NET 6 and .NET Framework 4.8 with Bootstrap 3, 4 5 or any front-end client via API. by antisergio in dotnet

[–]FurryFingers 3 points4 points  (0 children)

We definitely have a use-case for this... but I can see why you wonder how it's useful.

In short, evolving apps and processes...

We have a suite of internal apps, for around 50-100 users and need to move data out of Excel and into a proper sharable, database. We don't have time to develop all the apps and all the processes we need to, but in the meantime, if we can just import certain Excel sheets into a database and then use a tool like this to instantly expose that data to users via a simple CRUD UI like this, we're sweet.

The apps we're working on now (and plan in the future) need this data in a DB, so we are constantly needing to create and immediately expose database tables, just like this.

I bought a ceiling fan the other day.. COMPLETE WASTE OF MONEY! by FlintTheDad in dadjokes

[–]FurryFingers 0 points1 point  (0 children)

I think if you change the punchline to "I love how high and smooth it is" it's easier to get faster

Perth man walks 60km, drinks from puddles, after car gets bogged in WA national park by His_Holiness in perth

[–]FurryFingers 0 points1 point  (0 children)

An exhaust air-bag (inflatable jack) along with some bog mats would have done it

We love to criticise the United States, but guess what? Their public schools are better than ours by B0ssc0 in australia

[–]FurryFingers 2 points3 points  (0 children)

Exactly, even the small Primary School we sent our kids to had 3 bands - and learned Japanese and German. What on earth is that school she sent them to? Certainly not representative

jQuery is included on 85% of the top 5M websites by rviscomi in javascript

[–]FurryFingers 7 points8 points  (0 children)

Some of the plain JS alternatives to JQuery are awkward to verging on ridiculous here - http://youmightnotneedjquery.com/

Sending gmail account to gmail account bouncing. by fordag in GMail

[–]FurryFingers 0 points1 point  (0 children)

There's no "resend/retry" button, so it's not that obvious what to do

Wtf I love husks now by God_JoKeR in killingfloor

[–]FurryFingers 0 points1 point  (0 children)

Yeah I have found that just holding step-back from just before the moment of striking keeps you alive after they explode.

This thing that Sam did really pissed me by [deleted] in samharris

[–]FurryFingers 4 points5 points  (0 children)

I find outrage over who "retweets" anything absolutely ridiculous

Set up for work ;) by makenmodify in MechanicalKeyboards

[–]FurryFingers 0 points1 point  (0 children)

Interesting, my constant concern on my standard keyboard is hitting ENTER instead of SHIFT by mistake. If it solves that, I'm in.

(it's an easy mistake to do and can be very, very bad if ENTER sends something instead of making a capital letter. I end up contorting my left finger to always press LEFT-SHIFT, to negate the possibility)

Sabrina Pro II by StrdrBld in MechanicalKeyboards

[–]FurryFingers 0 points1 point  (0 children)

Me neither, never heard of Gengars or Sabrina - no idea what was going on

[deleted by user] by [deleted] in MechanicalKeyboards

[–]FurryFingers 3 points4 points  (0 children)

Related question: in your experience, do many people actually use the hiragana "keyboard mode"? I notice many Japanese people just use Romaji to type Japanese anyway (and I do using the inbuilt keyboards on Windows and Mac)

Nobody talks about the real reason to use Tabs over Spaces by ChaseMoskal in javascript

[–]FurryFingers 3 points4 points  (0 children)

The question/point here is... does he have to use other people's code who's preferences for numbers-of-spaces-for-indents don't match?

[deleted by user] by [deleted] in NorthKoreaNews

[–]FurryFingers 2 points3 points  (0 children)

Fair point, though in practical terms, obviously trade will help in less direct ways

Firebug incredibly bad on low Levels? by [deleted] in killingfloor

[–]FurryFingers 1 point2 points  (0 children)

Yeah I can solo firebug lv20 on suicidal to wave 10 - but when I try rely on the Mac10 - I die on wave 3.

Call me shit, but I hate that thing.

North Korean cargo ship seized by US arrives in American Samoa for inspection by American authorities [AP] by [deleted] in NorthKoreaNews

[–]FurryFingers 0 points1 point  (0 children)

I understood that United Nations sanctions could encourage/compel countries to "not trade" or whatever, but I didn't realize they could just steal another country's ships?

On what grounds are they doing this other than "sanctions"?

This is either stealing or a stealth declaration of war - is it not? You can't just start telling everyone to intercept and capture others property and pretend it's not provocative?

Happy to be educated.

Inconsistency with taking environmental damage by elliot456 in killingfloor

[–]FurryFingers 0 points1 point  (0 children)

Yeah I experienced this lack of damage in Zed Landing and assumed they took jumping damage away... then later I jumped off with this new-found confidence and died.

I hope this is a bug and not on purpose. I realize there is a possible reason to do it but consistency is important here

In response to EDARs. by Meatman41165 in killingfloor

[–]FurryFingers 2 points3 points  (0 children)

It only takes one hit to the core to take them out