[-] nikaro@jlai.lu 3 points 2 months ago

J'ai passé mon domaine principal chez eux (car je viens de commencer à y bosser). C'est très bien à l'exception près qu'il n'y a pas de provider Terraform/OpenTofu pour gérer les records "as-code" (pas impossible que je bosse sur le sujet un de ces quatres, les API sont déjà présentes, il y a plus qu'à développer).

[-] nikaro@jlai.lu 2 points 2 months ago

Si il y a des dégâts ce sera côté BookMyName je pense, c'est le plus gros (Scaleway) qui mange le plus petit normalement.

Sinon chez Scaleway je crois me rappeler qu'on ne peut pas gérer les enregistrements DS, donc il faudra faire une croix sur DNSSEC si tu héberges ta zone toi-même.

[-] nikaro@jlai.lu 3 points 2 months ago

C'est juste parce que Bolloré & co leur présentent les choses ainsi. Si on avait des médias de masse qui présentaient réellement les idées de gauche plutôt que "antisémites !!!", ils reviendraient probablement à gauche.

[-] nikaro@jlai.lu 6 points 2 months ago

And no smartphone in your pocket, of course.

[-] nikaro@jlai.lu 18 points 2 months ago

You can use KeePassXC (with a dedicated vault or not), synced by another mean (Nextcloud, Syncthing, Git, etc.).

[-] nikaro@jlai.lu 10 points 2 months ago

Venez aux prochaines élections on vote tous NPA ! On a jamais essayé.

[-] nikaro@jlai.lu 9 points 4 months ago* (last edited 4 months ago)

Certainly not the best, but codecademy is decent. After that, it should be enough for you to learn more deeply from official Python documentation, actual Python code base (from OSS repositories), and specific subjects from blog articles.

But it will highly depend on what type of content you like. For example some people may prefer books over interactive courses. If this is your case, i think this one is recognized as a very good one: https://learnpythonthehardway.org/python3/

[-] nikaro@jlai.lu 3 points 4 months ago

Can you explain it to me like i'm a 10 yrs old (which i'm not 🙄), then?

[-] nikaro@jlai.lu 11 points 4 months ago

Except the ecosystem, how is terraform better than opentofu? As far as i know, currently they still are almost identical.

14
submitted 4 months ago by nikaro@jlai.lu to c/devops@programming.dev

I'm looking forward to switch from Terraform to OpenTofu, but i have the impression that the ecosystem around it didn't catch up yet.

Did any of you already did the switch? If so, what do you use as a replacement for Terraform Cloud, the VSCode extension and/or terraform-ls?

For Terraform Cloud, the are many options: scalr, spacelift, etc. Spacelift looks nice as it can also run Ansible, but Scalr seems to have a better and simpler UI.

But on the editor side, there doesn't seem to be much... the VSCode extension has been forked but it still seem to be in its early days (cf. this issue: it still uses terraform-ls under the hood, which itself looks for the terraform binary).

[-] nikaro@jlai.lu 4 points 1 year ago

Nice! It looks like the best solution out there.

[-] nikaro@jlai.lu 4 points 1 year ago* (last edited 1 year ago)

Python >= 3.10 version:

def foo(return_more: bool) -> DataType | tuple[DataType, MoreDataType]: ...

But i would definitely avoid to do that if possible. I would maybe do something like this instead:

def foo(return_more: bool) -> tuple[DataType, MoreDataType | None]:
    ...
    if return_more:
        return data, more_data
   return data, None

Or if data is a dict, just update it with more_data:

def foo(return_more: bool) -> dict[str, Any]:
    ...
    if return_more:
        return data.update(more_data)
   return data
34
submitted 1 year ago* (last edited 1 year ago) by nikaro@jlai.lu to c/python@programming.dev

This is like Interface in Go (or Java, i don't speak Java but the article say so).

[-] nikaro@jlai.lu 6 points 1 year ago

You won't see the end of these crapwares until there is centralized managment console with it, sadly...

1
DSLs are a waste of time (leebriggs.co.uk)
submitted 1 year ago by nikaro@jlai.lu to c/devops@programming.dev

TLDR: terraform bad, pulumi good

view more: next ›

nikaro

joined 1 year ago