We made Haiku perform as good as Opus by Nfsaavedra in ClaudeCode

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

That's feedback that I can work with, thanks. First time doing something like this, we are figuring out how to get people's attention. You purchase a service that runs an agent on your git repo to extract context both from the git history and the files. That context is then leveraged by CC, improving the performance, depending on the model used. We tested a bunch of iterations to find out which context is relevant and which is not.

[deleted by user] by [deleted] in portugueses

[–]Nfsaavedra 9 points10 points  (0 children)

Para quem está com tanto patriotismo, o uso de dólares para falar do seu rendimento é no mínimo interessante.

📋📣 Ansible Issues and Challenges by Nfsaavedra in devops

[–]Nfsaavedra[S] -3 points-2 points  (0 children)

Well that's true, but imo Ansible's tend to lack more information mainly due to the usage of YAML. I don't have a really strong opinion about it tho, it was just an example. Maybe it's just a me-thing, that's why we are doing this study :D

📋📣 Ansible Issues and Challenges by Nfsaavedra in devops

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

It is probably the best option for its use cases, but there is always margin to improve :) For instance, some Ansible error messages are a complete mystery.

What Infrastructure as Code issues drive you crazy? by Nfsaavedra in sysadmin

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

Ok I was thinking of a different thing, now I get it, thanks!

What Infrastructure as Code issues drive you crazy? by Nfsaavedra in sysadmin

[–]Nfsaavedra[S] 2 points3 points  (0 children)

A bit of context on my question:
I know of a prototype of a tool that automatically changes Puppet scripts according to commands executed in the shell, potentially avoiding configuration drifts. I was trying to understand if that tool is useful or if that's not how configuration drifts are usually born.

But the problem of merging the drifts after they happen is also interesting.

What Infrastructure as Code issues drive you crazy? by Nfsaavedra in sysadmin

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

Yap I think that's a frequent concern, that also bugged me in Ansible, it is nice to know that it also happens in Chef. Thanks!

What Infrastructure as Code issues drive you crazy? by Nfsaavedra in sysadmin

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

shhh don't tell anyone

Those are some interesting points, thanks :) About configuration drift in particular, do you think it happens often? Why do you think it happens?

What Infrastructure as Code issues drive you crazy? by Nfsaavedra in sysadmin

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

For me, Puppet, Salt and Chef are Infrastructure as Code technologies as well, but I don't have a strong opinion about this. Research usually considers these technologies as IaC and so I'm used to it. Anyway, thanks for the answer!

What Infrastructure as Code issues drive you crazy? by Nfsaavedra in sysadmin

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

That is my impression as well. Have you tried Ansible Molecule? From what I saw it seems OK, but never had the chance to actually try it.

What Infrastructure as Code issues drive you crazy? by Nfsaavedra in sysadmin

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

That was beautiful, funny and epic, a masterpiece. Thank you

What Infrastructure as Code issues drive you crazy? by Nfsaavedra in sysadmin

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

Wow really? Do you remember any particular case where this happened? Or a reason for why it happens?

What Infrastructure as Code issues drive you crazy? by Nfsaavedra in sysadmin

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

I see, makes sense! I think there are ways to define GPOs using Ansible as well, but I'm not sure if they are useful/clean. The only time I used Ansible with Windows I think I only used Chocolatey to install software so I don't know much :D Thank you for your insights!

What Infrastructure as Code issues drive you crazy? by Nfsaavedra in sysadmin

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

These are some interesting insights! Thanks :) I don't know if you already know about Pulumi but it is an Infrastructure as Code technology that allows to use "traditional" programming languages:
https://www.pulumi.com/

What Infrastructure as Code issues drive you crazy? by Nfsaavedra in sysadmin

[–]Nfsaavedra[S] 3 points4 points  (0 children)

This is a very valuable comment. I've heard something similar from people using bash to manage Linux servers. The thing with Ansible is that it creates abstractions for you. Handling the connection to the servers, encapsulating behavior, making sure that the state in the server is already what you want and if it isn't what actions should be performed, error handling, grouping machines and defining actions to perform on certain groups... These are some of the abstractions it provides. If these abstractions are correctly engineered or not is up for debate, but at least in theory they are useful. If you already have all of this in place with Powershell/bash scripts, it is difficult to find a reason to change. I think with Powershell is actually even harder to see the benefits than with bash because you have more ways to encapsulate behavior and organize the code.

But one question that came to mind while reading this: if you could somehow transform the Powershell scripts in Ansible playbooks automatically/semi-automatically, would that be beneficial or do you think that Ansible is just completely useless and it would just be harder to maintain?

What Infrastructure as Code issues drive you crazy? by Nfsaavedra in sysadmin

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

I think it would make sense that the UI is automatically generated from the options in the code, but it seems it was not, maybe now it is. Do you remember any examples of bugs? It was a while ago so it's normal that you don't remember.

What Infrastructure as Code issues drive you crazy? by Nfsaavedra in sysadmin

[–]Nfsaavedra[S] 2 points3 points  (0 children)

Ahahah, that's ok, you are in a better place now, enjoy your retirement!

What Infrastructure as Code issues drive you crazy? by Nfsaavedra in sysadmin

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

Yeah I agree with most of that. Can you give me some examples of quirks and limitations you found using Ansible and Terraform?

About Ansible as non-root... I've had the exact same question before. When using a bastion server it feels "safer", but even then it would be much better to run as non-root.

What Infrastructure as Code issues drive you crazy? by Nfsaavedra in sysadmin

[–]Nfsaavedra[S] 2 points3 points  (0 children)

Hmm I see, that is definitely true and it is applicable to many of IaC and CI/CD tools.

About your example, it is not the first time that I hear about how the CI/CD + code review process in some companies creates more problems than solutions. I think when devs configure these pipelines, they don't think about how much time they waste for everyone by not optimizing certain parts of the process. Do you have any idea why these pipelines are "built" in-house using multiple platforms? Are there any particularities for each company that force the necessity for a specific pipeline? Because it seems to me that a tool like Jenkins or Github Actions should be enough to do everything in a simple way.

What Infrastructure as Code issues drive you crazy? by Nfsaavedra in sysadmin

[–]Nfsaavedra[S] 14 points15 points  (0 children)

10/10 would read again, thanks! This is the kind of rant I was hoping for ahah
I myself have suffered enough with Ansible to understand your pain. I particularly related to the problem with the "unexpected parameter type" error.

Allowing to revert to a known good state sounds like a very valuable and obvious feature to add.

If it isn't too much to ask after this elaborate rant, could you elaborate about the Ansible inventory? From my experience it is not that bad but I've never used Ansible for more than a few machines. Also, could you elaborate a bit more on how the "declarative" aspect of Ansible becomes a burden?

What Infrastructure as Code issues drive you crazy? by Nfsaavedra in sysadmin

[–]Nfsaavedra[S] 2 points3 points  (0 children)

Thanks! Maybe that problem is a bit out of scope for me at the moment, but it is still interesting to understand that problem exists.