mrbn

joined 2 years ago
[–] mrbn@lemmy.ca 14 points 2 days ago (1 children)

"gonna paint our wagon, gonna paint it red!" I sing this part to myself frequently.

[–] mrbn@lemmy.ca 6 points 3 days ago (3 children)

If you are looking to do something like Github's Personal Access Tokens (PAT) then it is easiest to just think about it like a password:

  • Create a high entropy (secure) string
  • Store the hash of the string in a database table
  • Store the permissions and other metadata with the PAT's hash
  • Validate the PAT (permissions, revoke status, etc) on each request to the server

Storing the hash of the token, like you do with passwords, is a good practice in case your db is ever compromised as it wont leave the tokens accessible and reusable without a lot of effort.

[–] mrbn@lemmy.ca 4 points 1 week ago (1 children)

Yeah, unfortunately that stuff is almost impossible to estimate. Inform your client that fixing the build will be a game of whack-a-mole where you'll fix one thing and 5 new errors will show up. I would give yourself lots of time since you've never worked on Maui (? You didn't say that in your post but if you've never heard of xamarin, i'll assume maui is new).

I would break your work down into two milestones: a) compile and run, b) fix all the busted views. It should come to no surprise that a) will be hard to estimate so give yourself lots of time, and b) will be easier to estimate because you'll be able to review each View and determine what kind of fixes you need to make.

Good luck

[–] mrbn@lemmy.ca 6 points 1 week ago (4 children)

Yes. The transition from Xamarin to Maui has been similar to transition from .net framework to .net core.

A few things you will run into:

  • namespaces have changed
  • certain things will be deprecated but still currently work (ie FillAndExpand)
  • platform specific setup has changed (you'll need to convert to the new way, but code will likely remain the same)
  • upgrade your nuget packages to the Maui equivalents (the ones we used had Maui versions so we didn't have to change any of them)
  • certain ways of doing things have change slightly, like how to run things on the main UI thread (you'll see warnings)
  • your xaml code will remain mostly unchanged but your layout may need to be fixed (especially if your dependencies changed their interfaces)

That's all I can think of right now. There's no easy way to do it and it's going to suck. Focus on getting it to build with all your dependencies upgraded and then go from there.

[–] mrbn@lemmy.ca 18 points 3 weeks ago (2 children)

Election day is Monday, April 28, 2025

https://www.elections.ca/home.aspx

 

not oc, no source

[–] mrbn@lemmy.ca 3 points 2 months ago

You will speak the version that you learned. You will mostly notice regional differences in the idioms and synonyms of the words you know might be used more commonly in one region vs the other.

For example, in London you might hear people use boot instead of trunk.

But the majority of the words will be the same regardless of region.

[–] mrbn@lemmy.ca 34 points 2 months ago (1 children)

That means one of the options could be Trump's resignation. Right? Right?

[–] mrbn@lemmy.ca 11 points 2 months ago

"Copilot I'm losing this match, aim for me"

[–] mrbn@lemmy.ca -2 points 2 months ago (5 children)

Kind of a nothing burger.

These repositories, belonging to more than 16,000 organizations, were originally posted to GitHub as public, but were later set to private, often after the developers responsible realized they contained authentication credentials allowing unauthorized access or other types of confidential data. Even months later, however, the private pages remain available in their entirety through Copilot.

The repo was listed as public and archived. It's not clear from the article but I suspect that the "private" information is just a copy of what was made public and not the information added after it was made private.

[–] mrbn@lemmy.ca 7 points 2 months ago (3 children)

I thought of Crysis also when I read the title. But first, I'm down for Quake and more specifically QuakeTF (team fortress). I spent way too much of my youth playing quake and qtf (honorable mention to UTF).

 

not oc, no source, maybe repost?

[–] mrbn@lemmy.ca 30 points 3 months ago (1 children)

I read and upvoted this meme for the glory of the empire!

[–] mrbn@lemmy.ca 2 points 3 months ago

Is it from an old pic that happened to be good quality?

I'm not sure. It's not oc and I don't have source.

 
 

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

Bonne fête des franco-ontariennes et franco-ontariens!

L’origine de cette journée remonte au 25 septembre 1975, date à laquelle le drapeau franco-ontarien a été levé pour la première fois à l’Université de Sudbury. Conçu par Gaétan Gervais et Michel Dupuis, ce drapeau est rapidement devenu un puissant symbole d’identité pour les Franco-Ontariens. Ses couleurs et ses symboles racontent l’histoire et l’environnement de cette communauté : le vert représente les forêts d’été du Nord de l’Ontario, tandis que le blanc évoque les hivers enneigés. La fleur de lys rappelle les racines françaises, et le trille blanc, fleur emblématique de l’Ontario, souligne l’appartenance à cette province.

 

Bonne fête des franco-ontariennes et franco-ontariens!

L’origine de cette journée remonte au 25 septembre 1975, date à laquelle le drapeau franco-ontarien a été levé pour la première fois à l’Université de Sudbury. Conçu par Gaétan Gervais et Michel Dupuis, ce drapeau est rapidement devenu un puissant symbole d’identité pour les Franco-Ontariens. Ses couleurs et ses symboles racontent l’histoire et l’environnement de cette communauté : le vert représente les forêts d’été du Nord de l’Ontario, tandis que le blanc évoque les hivers enneigés. La fleur de lys rappelle les racines françaises, et le trille blanc, fleur emblématique de l’Ontario, souligne l’appartenance à cette province.

 

Canada’s S-210 is part of a wave of proposals worldwide seeking to gate access to sexual content online. Many of the proposals have similar flaws. Canada’s S-210 is up there with the worst. Both Australia and France have paused the rollout of age verification systems, because both countries found that these systems could not sufficiently protect individuals’ data or address the issues of online harms alone. Canada should take note of these concerns.

 

Berríos will start for the Blue Jays on Opening Day, and Eflin will take the mound for the Rays as they host Toronto at 4:10 p.m. ET on March 28 at Tropicana Field. It will be the fourth Opening Day start for Berríos and the first for Eflin.

March 28th, I'm pumped, are you pumped?

view more: next ›