JohnnyCanuck

joined 2 years ago
 

"There will be no tariff if Canada, or companies within your country, decide to manufacture product within the United States," - T-bag

[–] JohnnyCanuck@lemmy.ca 6 points 2 days ago

Cue, Queue or Q. No Que, okay?

[–] JohnnyCanuck@lemmy.ca 15 points 4 days ago (1 children)

Lwaxana Troi should have been the Enterprise computer voice, amirite!?!?

[–] JohnnyCanuck@lemmy.ca 4 points 5 days ago (1 children)
[–] JohnnyCanuck@lemmy.ca 3 points 5 days ago (1 children)

Thanks! I didn't know about that community.

[–] JohnnyCanuck@lemmy.ca 34 points 5 days ago (2 children)

TLDR: 3.11 is twice as fast as 3.10 at doing global name lookups, so an old speedup hack of aliasing a global function locally isn't needed.

For example, when calling len() in a loop, going l=len, and calling l() in the loop was faster in 3.10. In 3.11, moreso in 3.13, it's almost a wash.

However, the author says this:

Accessing functions through a module [e.g. math.sin()] or a deep attribute chain can still carry overhead. Creating a local alias or using "from module import name" continues to be effective in those situations.

But when I look at the numbers, I would say 3.13 is pretty close to making it an unnecessary optimization in general. A little subjective on how you interpret the numbers.

Great info, but this was like trying to use a recipe and reading the author's life story to get there.

[–] JohnnyCanuck@lemmy.ca 4 points 6 days ago

Monopolies will do that.

[–] JohnnyCanuck@lemmy.ca 6 points 1 week ago (2 children)

I guess they shouldn't have privatized hydro after all...

[–] JohnnyCanuck@lemmy.ca 8 points 1 week ago

Makes my earbrows tingle

[–] JohnnyCanuck@lemmy.ca 11 points 1 week ago

No sense crying over spilt milk. Just buy another one! It's only property.

[–] JohnnyCanuck@lemmy.ca 6 points 1 week ago

https://www.cbc.ca/news/canada/saskatchewan/wildfire-air-ronge-evacuation-pelican-narrows-1.7556430

More than 10,000 evacuees are being supported by the Red Cross and 860 are being supported by the SPSA (Saskatchewan Public Safety Agency).

About 15,000 have fled Saskatchewan wildfires and more coming: Premier Moe

Moe said he has spoken with his provincial counterparts, as well as Prime Minister Mark Carney, and was told that resources would be made available to battle the fires that continue to affect more than 30 communities.

[–] JohnnyCanuck@lemmy.ca 10 points 1 week ago

Trade watchers have always suspected Canada was holding on to the DST mainly for negotiating purposes. It was something generally positive for Canada that could nonetheless plausibly be negotiated away for some meaningful purpose, perhaps in the planned six-year review of the Canada-U.S.-Mexico Agreement (CUSMA) that replaced NAFTA under the first Trump presidency. Prime Minister Carney admitted this was the plan in a press scrum today (June 30).

I'm really hoping they played this card right. It doesn't feel like they did, but I hope Carney is playing on a level we don't get.

 

In my feed, when I see posts like https://lemmy.world/post/30432101 that are embedded image links (maybe?), when I click on the thumbnail it doesn't work, but clicking on the title to go to the post, it does.

Thumbnail click gives this and doesn't play:

collapsed inline media

Title click gives this and plays properly:

collapsed inline media

This has been happening for a little while now (days? weeks?) but I haven't tried narrowing down specifics. I'll update if I find non-i.imgur.com posts with the same issue.

Edit to add: Android, I think Edge is the embedded browser.

 
 

You know, for uhhh.... Coming in the days after April Fool's Day.

 

cross-posted from: https://lemmy.ca/post/40789849

A deeper look into Canada's long-standing high tariffs on certain US imports and why they don't actually apply to most current trade.

"If the countries took a true approach to reciprocating tariffs, then the US would simply copy Canada's tariff quota, which would mean that neither country would pay any more based on current trade balances"

 

Nothing says "classy" like flying that flag.

Good L🍁ck Trudeau! (But also, don't let the door hit you on the way out...)

collapsed inline media

 

Would it be antithetical? Would it help them push the agenda? Could it be an end game?

view more: next ›