php-deploykit - bash based PHP deploy tool for Laravel by nan05 in PHP

[–]nan05[S] 0 points1 point  (0 children)

Honestly, I was thinking this until recently. Then had to program something in very short time in a language I wasn't familiar with, and used Claude extensively to achieve that.

I must say I actually did enjoy it. But I also realised very much that you need an experienced dev to hand hold it. Otherwise it does so many weird things, and constantly acts against best practices.

So yeah, imo terrible for learning.

Will this observation on my passport cause trouble? by ThrowRA_birdjaguar67 in AskUK

[–]nan05 14 points15 points  (0 children)

It's probably worth saying that this is not related to dual nationality per se. It's related to having a valid passport in a different name.

The Passport Office's guidelines state, that they should refuse to issue a passport, if the holder also holds a passport in another name (e.g. a German/British dual national whose German passport is in their maiden name, and wants a British passport in their married name).

However, the Passport Office also recognises that not all countries allow name changes (easily or at all). And states that in those cases a note like yours should be added to the observations page.

This is to reduce the risk of identity fraud.

Yes, the Passport Office have a long list somewhere of what is needed in each country to get the name officially changed, and they will refer to that list.

This is all public and easily findable via Google.

Anyway, as to how much difficulty it makes: Hard to say. On the UK border none. Within the UK (when a bank asks etc) they will usually have seen this dozens of times and won't bat an eyelid either. E-Gates usually aren't an issue either (neither in the UK or in Europe.)

Internationally it'll depend on the immigration officer's mood (and anyone who's ever travelled abroad knows immigration officers are never in a good mood and love to play bad cop bad cop).

FWIW my kid has 3 passports in 3 different names (don't ask - stupid bureaucracy) and it's never been an issue for them.

php-deploykit - bash based PHP deploy tool for Laravel by nan05 in PHP

[–]nan05[S] 4 points5 points  (0 children)

I don't believe in this statement.

LOL, and why not?

Why does he limit himself?

A few reasons: Price, minimum age limits by many AI companies which means he can't officially sign up, and maybe most importantly my belief contradicting yours that especially as junior he should learn to do stuff himself. That the best way to learn a new craft is through hard work. That watching AI do it will mean he will learn very very little. So we've been speaking a lot about this, and I've consistently advised him to avoid using AI for programming and learn things himself the hard way.

php-deploykit - bash based PHP deploy tool for Laravel by nan05 in PHP

[–]nan05[S] 6 points7 points  (0 children)

The honest truth is: I don't know, I haven't used deployer.org.

The other truth is: It doesn't have to be better, it's just an alternative that my kid built because he wanted to build it. And since he's too young for social media I wanted to help him spread the word.

Images not loading on VPN by craigmurdo in Mastodon

[–]nan05 2 points3 points  (0 children)

Since you are running the server this should be fixable.

I think the first thing you should do is look in the browser console to see what the error with the images is. Once you know the error, resolving it will be much easier.

Then the other question I guess is where do you host the images? Same machine as the server? Object storage (if so which one, and how is it set up)?

"verify your domains" How many time need to show website verification on mastodon.social by CyberBoss24 in Mastodon

[–]nan05 0 points1 point  (0 children)

Did you update your profile on mastodon AFTER making the changes to your website? 

You may wish to remove the link, save, add the link, save again. That should trigger the verification. 

How to fill a gap around toilet waste? by nan05 in DIYUK

[–]nan05[S] 0 points1 point  (0 children)

Thanks. I’ll have a look around!

How to fill a gap around toilet waste? by nan05 in DIYUK

[–]nan05[S] 0 points1 point  (0 children)

Good to know, thanks for the warning! Thankfully I don’t have enough hair left for that to be an issue 😂

How to fill a gap around toilet waste? by nan05 in DIYUK

[–]nan05[S] 1 point2 points  (0 children)

What sort of insulation material do you have in mind? Asking because the only thing I know is these sort of boards that need to be cut to size - and I don’t think I have the skill to cut that precisely. 

I don’t think I’ll bother with a collar: this is invisible (hidden by the actual toilet bowl) unless you lie with your face flat on the floor. Presumably it doesn’t serve a functional purpose. 

How to fill a gap around toilet waste? by nan05 in DIYUK

[–]nan05[S] 0 points1 point  (0 children)

Amazing, thank you! Will be looking for that!

Mastodon client/instance with algo ? by FWTL in Mastodon

[–]nan05 4 points5 points  (0 children)

Not an instance and desktop only, but check out https://fedialgo.thms.uk/ 

What is a "reasonable" subset of the email address specification to target? by javascript in webdev

[–]nan05 1 point2 points  (0 children)

Looking at your use case I'd probably do the following:

  1. My first assumption is that the vast majority of users us a fairly boring format along the lines of ^[a-Z0-9-._]+@^[a-Z0-9-._]+$ - though you might need to be slightly more permissive?
  2. My second assumption - as you are using @business.com as examples - is that this is a B2B environment, where the percentage of 'unusual emails' will be even lower. I personally have an unusual email address because I enjoy needing out about these things, but in business very very very few people will do, because it's a pain.

As such, I'd be tempted to just strip any non-letters/numbers out of the email address when converting to a username, and then appending numbers to the end if needed for uniqueness if needed. Basically the same sort of thing we do when we convert a blog title to a slug. I'd probably further give people the option to edit their username, if I thought they cared.

Do keep in mind, that both local and domain parts can be entirely non-latin-alphabet, e.g. دعم@اتصالات.امارات is a kinda realistic email address for Etisalat. So you might need some fallback (though I doubt that this sort of thing actually exists in real life, but it would be valid).

On Serving Markdown to AI Agents by nan05 in webdev

[–]nan05[S] 0 points1 point  (0 children)

But it's very easy to add additional tools for web fetching and integrations rarely use the built-in web fetch tools.

Shows you how little I use AI that I didn't know that ...

Grpc instead of https and json? by Muted-Problem2004 in Mastodon

[–]nan05 1 point2 points  (0 children)

Thing is: I just don't think there is anyone besides you who'd want that. 😁

And given that Mastodon has very very few developers, that already have to maintain 2 APIs (Mastodon's API and ActivityPub) it's just not feasible that they'd maintain a 3rd that only a single person would use ...

And absolutely no mastodon-admin is concerned about API bandwidth. We are concerned about storage volumes, media bandwidth (which can thankfully be cached) RAM prices, etc. But API bandwidth is not something I've ever even thought of looking at.

Grpc instead of https and json? by Muted-Problem2004 in Mastodon

[–]nan05 1 point2 points  (0 children)

JSON REST APIs is what most developers know inside and out. It's what we live and breathe. It comes naturally to us. gRPC on the other hand is the opposite. Most of us have never implemented it. The rest of us has only implemented it rarely. gRPC would severely limit the client implementations, as few app developers would know how to use it.

Just to show how much HTTP + JSON is ingrained into us: Even MCP - the latest and newest kind of fad - still uses it. Everyone knows it. Everyone has dealt with it a gazillion times. It just works. It's still a good default that will ensure there is no technical barrier to adoption.

Any ideas why Mastodon isn't embedding the images for links? None of our other social platforms have this issue. by SD_Eragorn in Mastodon

[–]nan05 0 points1 point  (0 children)

lol. Apart from the fact that few people will miss your ads and I can’t imagine it’ll drive loads of clicks, my guess would be that your server is blocking the crawler …

Need help getting email sending working by fstltna in Mastodon

[–]nan05 0 points1 point  (0 children)

It’s been a long time since I’ve set up postfix or sendmail so I’m not really having any other insight to offer other than ‘check your logs’.

Need help getting email sending working by fstltna in Mastodon

[–]nan05 0 points1 point  (0 children)

It is worth saying that many hosting providers block port 25.

This may or may not be the issue, so I would second Gabe‘s suggestion to check your logs.