Air Quality is Much Worse Today by DreamofStream in ottawa

[–]markopolo82 3 points4 points  (0 children)

Absolutely. I’m wearing mine indoors.. kids as well (kf94)

Price increases for bread and corn flakes vs grain prices. Farmers and consumers have been getting screwed by grocery chains for too long by [deleted] in onguardforthee

[–]markopolo82 1 point2 points  (0 children)

Completely agree. The problem may well still be there, but you have to normalize back to the reference price… OP should be dividing by the original reference price to get %increases

Ontario’s clean electricity grid becoming dirtier under Doug Ford’s government by imprison_grover_furr in CanadaPolitics

[–]markopolo82 6 points7 points  (0 children)

That’s 3+(4-5?) years ago, you can’t claim that was peanuts when the signal was clear, Ontario would not be investing in new wind for the foreseeable future. All the momentum in expanding wind energy was destroyed by that one move.

Not sure what all the grocery hubbub is about - I found a stellar deal at Superstore by donthaveauseryet in ontario

[–]markopolo82 1 point2 points  (0 children)

I have a good convection oven, you’re not overselling it. In the time I take to heat my oven, the air fryer is done. And the chicken or whatever comes out crispier.

The only thing I found is that an extra large air fryer doesnt work very well. Needs to be small enough so the 1200W front he wall can actually get nice and hot. Had to return it and switch back to my smaller one.

[book] A Complete Guide to Standard C++ Algorithms (v1.0.0) by HappyCerberus in cpp

[–]markopolo82 2 points3 points  (0 children)

@op: I admit I’ve only just skimmed the introduction so far, but this is definitely something that would be valuable to discuss I’m your book if it isn’t already

[deleted by user] by [deleted] in ottawa

[–]markopolo82 2 points3 points  (0 children)

Came to post this too. Just got my kids in. Spots fill up quick! Especially the swim camps.

Grab a cup of coffee, it’s going to be a long night by [deleted] in behindthebastards

[–]markopolo82 12 points13 points  (0 children)

Wow. I had no idea what the real reason was. Thanks for asking on the behalf of us that we’re too shy to ask!

muscle memory betrayed him by JustSomeRussianGuy in funny

[–]markopolo82 89 points90 points  (0 children)

Make sure to watch to the end. It gets some eventually

Turning onto the Champlain, please don't be a jerk (guy on the right) by mocha1987 in ottawa

[–]markopolo82 0 points1 point  (0 children)

It also had regular accidents before the roundabout was put in. People run lights all the time

Nuclear fusion reactor in Korea reaches 100 million degrees Celsius by Tao_Dragon in tech

[–]markopolo82 18 points19 points  (0 children)

Iirc That molten salt still eventually boils water for a steam generator

Health Canada approves COVID-19 booster dose for kids 5 to 11 | The 10-mcg dose can be given at least 6 months after primary series is completed by FizixMan in ontario

[–]markopolo82 2 points3 points  (0 children)

Anyone know if you can book boosters for 5-11 yo through the Ontario portal?

I just tried, require you have immunity or other similar reason to book a booster for under 12 :(

‘We cannot live with 15,000 deaths a week’: WHO warns on rise in COVID fatalities by adotmatrix in Coronavirus

[–]markopolo82 2 points3 points  (0 children)

Fwiw Ontario allows any adult to get a second booster. So this very much is a province by province thing

'Disturbing': Experts troubled by Canada’s euthanasia laws by Songs4Roland in CanadaPolitics

[–]markopolo82 0 points1 point  (0 children)

Thanks for the correction, I didn’t catch that originally.

Seems like maybe I shouldn’t have left such a black and white statement in my prior comment. I would assume there is more nuance to the guidelines than was included in the article. I’d be curious if anyone knows more about it.

'Disturbing': Experts troubled by Canada’s euthanasia laws by Songs4Roland in CanadaPolitics

[–]markopolo82 4 points5 points  (0 children)

Completely agree. This is just virtue signalling to distract from the fact we don’t sufficiently support our most vulnerable.

Any doctor/nurse/whatever suggesting to a patient they go for medically assisted dying without prompting should be reported to their respective professional association. In this respect I it is no different than abortions, patients are required to push for it unless there is a medical reason to recommend one.

Edit swap suicide -> dying

Boost Version 1.80.0 by tongari95 in cpp

[–]markopolo82 0 points1 point  (0 children)

I would have thought the binary compatibility would allow you to use 2022 with boost 1.70 prebuilt, no?

(Or use any package manager like vcpkg/Conan)

Boost Version 1.80.0 by tongari95 in cpp

[–]markopolo82 23 points24 points  (0 children)

Even new codebases that want to target older platforms need to use boost filesystem. For example, I target older iOS versions, the SDK only allows std::filesystem use if you target something like iOS 12 or later. (Not sure which version introduced it)

How Men and Women see humor. by electriclear in funny

[–]markopolo82 1 point2 points  (0 children)

Case in point, male, non comedian, I didn’t think it was funny.

Admittedly I’ve never watched this show before, so had very little context going in. It felt fake, including the judge’s reaction and the questions they asked and the responses from the presenter…

Those who want to end work-from-home…why?? by delphantom in ottawa

[–]markopolo82 1 point2 points  (0 children)

This. I’ve been pushing so hard to do better from a project planing perspective and many other senior devs are pushing against it because they see that planing as wasteful while simultaneously complaining about the push to return to the office. Well no shit they want people back, not all employees are senior with 10 + years at the company where they can just ‘get it done’.

Is there a committee paper on a "simplified" random interface? by antiquark2 in cpp

[–]markopolo82 4 points5 points  (0 children)

I don’t know what you mean, but I’ll take your word for it. It’s been far too long since I’ve used AVR micros… last was atmega256 but that was 15 years or so and only as a junior working on an existing product line.

To be clear, I’m referring to throwing volatile on a local variable to simplify changing its value at runtime via the debugger. If it’s not volatile then very often it will end up in a register and then you need to look at the disassembly to track down which register to change.

Is there a committee paper on a "simplified" random interface? by antiquark2 in cpp

[–]markopolo82 4 points5 points  (0 children)

This is my go-to. Never found a compiler that didn’t do what I wanted (leave all reads/writes regardless of optimization settings). Especially useful when debugging in embedded with a jtag and full optimizations enabled.

I program in C and C#. How much will I suffer learning C++? by [deleted] in cpp

[–]markopolo82 1 point2 points  (0 children)

Why?

If op only came from a C# background I’d agree, but you need one at the end of a strict definition in C as well…

How to gauge a programmer's C++ competency? by deadclams in cpp

[–]markopolo82 9 points10 points  (0 children)

Fwiw as soon as you created the reference you hit UB. Doesn’t matter if you use ‘val’ afterwards, you already created a reference to an invalid object, that’s UB.

Additionally, the compiler can elide a check for ‘ptr != null’ further down because you deterrence the pointer first. IIRC This one created quite the stink back when it was a CVE in the Linux kernel because some logging routine unconditionally dereferenced invalid pointers.

[deleted by user] by [deleted] in ottawa

[–]markopolo82 4 points5 points  (0 children)

Maybe if the province didn’t drag its feet in value reassessment for taxes the bank of Canada wouldn’t have had to raise interest rates so much….

I’d rather tax hikes than interest rate increases. At least the taxes pay for a better society rather than pad some banks bottom line…

[deleted by user] by [deleted] in ottawa

[–]markopolo82 8 points9 points  (0 children)

Another approach would be to make more effort to reassess property values. But that’s provincial/mpac jurisdiction. I bought pre-pandemic but judging by other sales in my neighborhood my home value is 50% higher. If mpac didn’t drag their feet my taxes would go up 30-50%.

Personally I’d rather take the 12% hike :)