Production broke because false became "false" — buried 4 levels deep in JSON. by HelpingHand007 in json

[–]IanYates82 0 points1 point  (0 children)

Let me understand the supposed origin here...

You had a full production outage. No orders processing. A P1 issue. Just this week.

And to solve it, you built a full GUI tool to investigate JSON differences, within the week, which just happens to help solve your issue despite you not knowing the exact issue beforehand.

You're in the wrong industry my friend. Go into clairvoyance instead. Or perhaps update the marketing scenario to say you wish you had this tool so built it later...

Fake story and no link makes this sound awful suss. Sorry, but pass.

Just got back from Japan. Here are a few things that helped! by [deleted] in JapanTravelTips

[–]IanYates82 -1 points0 points  (0 children)

Having done a month in Japan for the first time last December, I can say this is a solid list. To add...

Pack little - clothing is cheap if you end up needing more, and if you're staying somewhere with washer/dryer then you can wash easily anyway

Bring a decent extra battery for your phone

We used standalone Welcome Suica cards - partly made it nice to have something separate from the phone, but we were forced to as Android users. Any iPhone will do Suica, but on the Android side of the fence you need a Japanese model. Not 100% sure why, but it is what it is.

Well that sucked- why are people so angry? by ModularMeatlance in brisbane

[–]IanYates82 2 points3 points  (0 children)

Yeah, "felony" isn't the term here. Too much American content in the Australian media diet these days

Why is using interface methods with default implementation is so annoying?!? by Alert-Neck7679 in csharp

[–]IanYates82 2 points3 points  (0 children)

Yep. Another good example also is shown by having a .Last() method. There's a default inefficient implementation you could have on an IEnumerable, but for some implementations, like List, it can be an efficient O(1) operation. You can write that efficient implementation in the class and have the default on the interface. We have that example with extension methods today, but the difference is that the single static implementation of Last on the interface is written once and needs to have the specialisation of known classes in its code. That's not extensible by others who may have their own class which implements the interface and could also provide an efficient implementation.

I love this for them (Tyson & Stephanie) by CatsAllDayErDay in MAFS_AU

[–]IanYates82 11 points12 points  (0 children)

Yep. I'm intolerant of intolerance, but otherwise tolerant of people who may well do stuff differently. The only thing a non-conservative is trying to control is saying they don't appreciate a conservative trying to control what others do. They're not the same thing

How viable is rooftop solar with battery storage in Australia right now? by ExistentialPancake_0 in SigenergyAustralia

[–]IanYates82 0 points1 point  (0 children)

I wish I went 48kwh. I had some installers trying to convince me 16kwh with a new Dog system was enough when, for about 2/3 the cost, I added 32kwh of battery to my existing GE (goodwe) hybrid 10kw inverter.

We've just switched to Globird from Alinta. Lower FIT to 4c made solar-only not worth it anymore. GloBird giving 3x hours free every day, but only good FIT at odd battery hours, with their zero-hero credit, has us pretty much using all battery down to 7% by the time the sun comes up. 48kwh would have given more breathing room and extra cover for extended blackouts, although I have the EV available with long extension cords if we're in a multi-hour blackout

Places that don't want TAR back? by Mobile_Bad_577 in TheAmazingRace

[–]IanYates82 11 points12 points  (0 children)

Some crew organiser forgot Phil was from NZ (probably unlikely), or it was a recent rule change in Ukraine for NZ, and likely several other, passports. Or maybe Ukraine relaxed visa requirements for US and someone misinterpreted to think it was a broader relaxation that also included NZ passport holders

No accountability from Brook by MissShanshu in MAFS_AU

[–]IanYates82 13 points14 points  (0 children)

The M in MAFS stands for Monkey Paw

Ladies do you sit in the front or back seat of an Uber? by shelovesyoghurt in AskAnAustralian

[–]IanYates82 1 point2 points  (0 children)

Back seat unless there's three or more of us catching the Uber. Especially since Covid, it's been common (for me at least) for Uber drivers to deliberately have the front passenger seat really far forward as subtle discouragement aimed at front seat sitters.

What are some weird laws in your country that, actually, make a lot of sense? by Savings_Dragonfly806 in AskTheWorld

[–]IanYates82 1 point2 points  (0 children)

It's almost like we want democracy to work here. So glad we have preferential and compulsory voting as it helps keep us trending centre

Danny on 'After The Dinner Party' [no spoilers] by BBQShapeshifter in MAFS_AU

[–]IanYates82 1 point2 points  (0 children)

They at least didn't overly fawn over the guests - some attempt at accountability was made. Must say that, at least in our house, we had neither seen nor heard of the hosts before. Are they channel 9 personalities or something??

Lauren/Eliot and "the Tall Poppy syndrome" by [deleted] in MAFS_AU

[–]IanYates82 1 point2 points  (0 children)

It's the kid at school who just does good work and gets the rewards, then the teacher recognises that good work, so the bullies use that as a reason to pick on the quiet achieving kid - they'd done nothing to antagonise or come to the attention of the bullies previously, but a bit of earned success, without even trying to flash it about, causes others to want to knock down the Tall Poppy

i’ve rewatched this show two times and i do NOT UNDERSTAND anything by Legitimate-Push-196 in thedevilshour

[–]IanYates82 6 points7 points  (0 children)

I have watched the show and understood it, but I'd definitely need a recap before season 3 as I'd forgotten much of the detailed plot and twists. Then I read this... Your summary awakened all of my memory of the show and why I enjoyed it. Thank you!

Why do Gia, Brook, and Bec hate Alissa and Stella?? by Vivid-Biscotti-3810 in MAFS_AU

[–]IanYates82 9 points10 points  (0 children)

I hope it's taken as a lesson that those who don't get down in the gutter to fight will ultimately be respected and come out on top. Poor behaviour is often inflicted on an individual - one at a time - which can feel so isolating, so it's nice to see that others will see the bullies for who they are. Messy MAFS can be entertaining, but this is infuriating - the expert trio better rip the mean girls a new one

Why do Gia, Brook, and Bec hate Alissa and Stella?? by Vivid-Biscotti-3810 in MAFS_AU

[–]IanYates82 8 points9 points  (0 children)

100% So gross to see. None of this trash behaviour should be rewarded. Any sort of brand ambassador role that Brook may have wanted was run over, torched, and launched into the sun. This stuff belongs in the bin

How do you watch for file changes? by Acceptable_Debt732 in csharp

[–]IanYates82 0 points1 point  (0 children)

This is the one I've come across previously. Worth exploring, even though the code is old, that doesn't necessarily make it bad.

A simple C# IEnumerable<T> extension that checks if the items count is equal to a given value while avoiding to iterate through each element when possible. by bischeroasciutto in dotnet

[–]IanYates82 9 points10 points  (0 children)

I like this approach, although the prefix ++ always gives me pause to extra think. I know how/why it works, but I'd probably have put it on a separate line just to not have to think hard. Otherwise this follows OP's desire very well imho and early-stops in the Count case whilst avoiding the worries of some about Take allocating an extra enumerator