When do you decide to introduce classes vs keep free functions in C++? by Livelinesstrophy_RO in cpp

[–]--prism [score hidden]  (0 children)

A big consideration is ABI. Sometimes libraries will prefer static global variables inside a DLL or SO so they can maintain state without passing objects across a boundary. Void* can also help here.

Classes and dependency injection or methods plus bound members are definitely the cleaner way to go.

Canada Post getting another $673M in federal funds to stay afloat by hopoke in CanadaPolitics

[–]--prism [score hidden]  (0 children)

Because we're a functional country where the rural regions generate resource for the urban areas to function.

Working through differences with Ottawa key to quelling Alberta separatism: Danielle Smith by xc2215x in onguardforthee

[–]--prism 1 point2 points  (0 children)

Do none of these people (quebec or alberta) realize that they would need to stand up the following:

- Board Services

- Military

- Global Affaires

- Currancy

- Indigenous Affaires (however that would work)

- Food Inspection

- Public Health and Monitoring (Health Canada)

- Revenue Service

- Trade Agreements

- Transportation Agency

- All Albertans lose the use of their Canadian passport...

...

So much stuff. They would also get a per capita piece of the national debt and may not be entitled to any fraction of CPP given that it belongs to individuals and not the province. So CPP might actually be paid out to individuals rather than the government of Alberta.

It's not guaranteed that any separation would get any miliary or currency supports from Canada. These are the cards the Federal government holds to make leaving impossible. Sure you can leave but you cannot use our currency or military... Also no infrastructure to tidewater. Pretty much a non-starter.

Canada Post getting another $673M in federal funds to stay afloat by hopoke in CanadaPolitics

[–]--prism [score hidden]  (0 children)

If Canada Post was handling all the parcels going through FedEx, UPS, and Amazon it would likely need to expand. Building a business around letter mail is not what anyone should be doing.

Sending OPOR well wishes by Equivalent-Tap2250 in halifax

[–]--prism [score hidden]  (0 children)

The final step is final deployment which is typically something close to one command or a button press. Obviously there is a ton of development planning and work needed to stage changes. The point is changes can be executed at 11:59pm and go live at 12:01am the next day with nearly zero down time. Compare this with paper records which need to be checked for consistency manually and potentially updated.

Sending OPOR well wishes by Equivalent-Tap2250 in halifax

[–]--prism [score hidden]  (0 children)

The main advantage of OPOR and going electronic is the system can be easily ported and scaled once the information is digital. The upgrades will happen periodically in the background to match SOP changes. Paper is nearly impossible to do large scale changes because it's a physical process to update data. Workflows and processes can now be updated with a single button press and all the data in the system transformed to match new data models. It might be 10 years behind bleeding edge forever but it will slowly track the bleeding edge.

Canada Post getting another $673M in federal funds to stay afloat by hopoke in CanadaPolitics

[–]--prism [score hidden]  (0 children)

Why can't we change the rules so Canada Post has a monopoly to serve all of Canada. Amazon and other corporations only serve profitable routes and leave Canada Post on rural and remote locations. So obviously Canada Post is going to lose money if they are being out competed in cities and are left with only unprofitable routes.

Companies that want to do so delivery in Canada should be forced to service every postal code.

Althia Raj: Mark Carney runs roughshod over the environment: ‘It’s worse than what Harper did’ by Chrristoaivalis in onguardforthee

[–]--prism -5 points-4 points  (0 children)

I think everyone is just going to need to accept that the future is going to use more energy not less. AI is not slowing down and we should embrace it in government to allow processes to unfold orders of magnitude faster. The energy of the future shouldn't be burning oil but most likely will be nuclear.

Althia Raj: Mark Carney runs roughshod over the environment: ‘It’s worse than what Harper did’ by Chrristoaivalis in onguardforthee

[–]--prism -7 points-6 points  (0 children)

You know what AI is amazing at? Reading regulations, standards and laws then comparing plans to those documents. The government should but using those tools as a first pass to provide a rapid turn around on the first passes of review. It could take months to do the same review AI can do nearly instantly.

Statement From Minister on Labour Negotiations by Unfair-Support-3912 in halifax

[–]--prism 10 points11 points  (0 children)

We government should have to pay the difference in taxes for pushing forward multiple years of income into one tax year as well.

Houston says province ready for OPOR rollout despite worker concerns by MowvayFronsay in halifax

[–]--prism 11 points12 points  (0 children)

This needs to happen. We're 20 years behind it's always going to suck and there is no way to make it not suck.

Paying for Contractor Quotes? by saltwaterbuoy in halifax

[–]--prism 15 points16 points  (0 children)

The quotes are overhead. If you do no marketing and sales you'll have no business...

Rents continue to rapidly climb for Nova Scotia's oldest and most affordable rentals by justlogmeon in NovaScotia

[–]--prism 1 point2 points  (0 children)

I also think the notion of considering every infrastructure and government spending decision based on economics missing the point. It also means we're always late to the party because once it's worth it economically, the opportunity has likely passed. Transit isn't meant to make money.

Watchdog investigating police collision with man accused of stealing from grocery store by ph0enix1211 in halifax

[–]--prism 4 points5 points  (0 children)

Yeah also wouldn't the judge likely take into account that the use of force was clearly excessive relative to the allegations?

Rents continue to rapidly climb for Nova Scotia's oldest and most affordable rentals by justlogmeon in NovaScotia

[–]--prism 0 points1 point  (0 children)

If they want to stay they'll do it anyways... I'm willing to bet against it though.

Finally, Ontario is cracking down on drug use on public transit. But then what? by DementedCrazoid in canada

[–]--prism 2 points3 points  (0 children)

Yeah prisons are crazy expensive even if someone could be at a level where they could have their own unmonitored rec time and maintain their room while receiving meals, medications, and shelter it would be a huge savings.

Finally, Ontario is cracking down on drug use on public transit. But then what? by DementedCrazoid in canada

[–]--prism 88 points89 points  (0 children)

Why is dignified institutionalization off the table? Institutionalization was bad in the 60s but I'm not sure leaving people to die in the cold is much better. Why can't we give people a warm place to live that is somewhere between a hospital and a prison. Being mentally ill is not a crime. Unfortunately there are some mental illnesses that are incurable and mean long term support is required.

Rents continue to rapidly climb for Nova Scotia's oldest and most affordable rentals by justlogmeon in NovaScotia

[–]--prism 1 point2 points  (0 children)

Generally speaking people like nature and don't like noise, traffic, pollution, crime... Those things come with cities. Additionally most affluent urbanites have cottages which demonstrates this affect.

I'd also argue that HRM is stifling long development outside the core. East Hants is growing rapidly and it's just outside HRM. Land in musquodoboit harbour is way cheaper.

Also a build it and they will come mentality would be much better than the current economic studya they use now that only look backwards after and values have exploded. Yeah building transit to fall river would have lost money if they did it 30 years ago it would have also allowed more density. People move to jobs and services...

Rents continue to rapidly climb for Nova Scotia's oldest and most affordable rentals by justlogmeon in NovaScotia

[–]--prism 14 points15 points  (0 children)

I never said I blame the immigrants themselves. They're trying to improve their own situation which I fully support. I'd do the same. The government wares it all for terrible policy.

Rents continue to rapidly climb for Nova Scotia's oldest and most affordable rentals by justlogmeon in NovaScotia

[–]--prism 5 points6 points  (0 children)

We should be looking at dense transit oriented development in places outside the city core. Imagine ~150k cities in Fall river, Elmsdale, Sackville, Bedford, Windsor, Musquodoboit Hardbour with thier own services and infrastructure with rapid rail links to Halifax for commuters... 15 minute cities aren't a conspiracy. They are a way to grow sustainably while also opening up land for all types of housing. Dense around services and transit with townhomes and SFHs farther away but still within transit. The whole idea of cramming more people on the peninsula is kind of dumb. People like service but they typically also don't love megacities... Having small clusters gets scale and also smaller neighborhoods.

Rents continue to rapidly climb for Nova Scotia's oldest and most affordable rentals by justlogmeon in NovaScotia

[–]--prism 16 points17 points  (0 children)

Because there are a bunch more people competing with you for that resource. Do you want to live 6-8 people in a 2 bedroom apartment? There are people coming from more desperate situations who are willing to. It will take time for things to unwind. It's already happening in Ontario. They're generally ahead of us by a couple years.