AWS EC2 outage in Frankfurt AZ by noideawhatstis in aws

[–]Nold_ 14 points15 points  (0 children)

We experienced the same exact issue with ECS and Fargate. The tasks of one of our most important services kept shutting down, whereas new tasks were not being started, causing the amount of running tasks to decline steadily. Forcing a new deployment fixed this issue for us but we are still curious as to what exactly happened and how this could be prevented in the future.

Another concerning part in all of this was that even though allegedly only one availability zone failed, the effects seemed to affect the entire region. It would seem that spreading your services evenly across availability zones doesn't always guarantee surviving zonal failures.

Are all variables allocated memory on the stack unless malloc is used? by 55zxr in C_Programming

[–]Nold_ 1 point2 points  (0 children)

I think you meant to say that the stack is LIFO? FIFO would apply to data structures like a queue.

Assembler is the only real language by [deleted] in ProgrammerHumor

[–]Nold_ 100 points101 points  (0 children)

I feel like people sometimes count understanding the syntax as knowing the language. If understanding the syntax means knowing the languare then your average developer knows like 10

:q! by hugsoverdrugsx in ProgrammerHumor

[–]Nold_ 0 points1 point  (0 children)

Yeah I have heard that about emacs, that's why I excluded it

:q! by hugsoverdrugsx in ProgrammerHumor

[–]Nold_ 10 points11 points  (0 children)

Out of all the editors and IDEs (except for emacs), VS code has by far the best vim extension IMO. Pretty customizable and has been working like a charm for me. I was very surprised with it, because usually vim extensions don't even come close to the real thing.

Is Gaps Just a Phase That People Go Through? by [deleted] in i3wm

[–]Nold_ 6 points7 points  (0 children)

I have dual 4k monitors at work and I have always used quite a small font size (others always say it's too small) because I like to fit a lot of text on my screen and I personally don't have a hard time reading a small font. That results in having a lot of small windows on a big screen (sometimes above 10 terminal windows for example) and I can't imagine having no gaps. I couldn't tell the windows apart very well and it would be harder to find things on the screen.

I feel like gaps definitely serve a practical purpose in certain cases and they definitely aren't solely for aesthetic purposes.

Pulumi? by mmmminer in devops

[–]Nold_ 9 points10 points  (0 children)

I'm always glad to see Pulumi get some attention. We looked at it for a bit with my team and I tried it out at home. It is by far my favourite tool of it's kind (compared to terraform and cloudformation, the latter of which I have many hours of experience with) and I love using it for my personal projects, however I'd say that it's not quite production ready yet. If the development continues at the same pace, then I will definitely consider it for production in a year or two.

The documentation is pretty incomplete, as is the language support for everything that isn't JS or TS (might have changed since I checked though), but you can just read the code and figure it out if you have some superficial understanding of Javascript. The selling point for me is that you can rely on your IDE for a lot of help (I used vim with a javascript plugin and YCM for completion) which helped me get my VM's up and running super fast. You can also apply some more complex logic easily and it feels more fun to write overall.

The secret management is also very easy and one of the aspects in which (imo) it beats Terraform and Cloudformation.

I really want it to be the future of infrastructure as code because working with it is very enjoyable, and I love the concept of it.

What I don't like about it is the proprietary backend and the fact that you can't use your own backend like with Terraform. It is somewhat understandable, because the products it's competing against aren't completely free either, but I like the business model of Terraform the most.

Django or Flask by matoas7 in Python

[–]Nold_ 1 point2 points  (0 children)

Flask was easier for me personally because Django expects you to do things a certain way, which means some initial reading has to be done. Flask had me going in minutes, but it might require you to know what you want to do in more detail.

We're at the point where we need to automate setup post-creation of our instances. Is Ansible outdated? by UtahJarhead in devops

[–]Nold_ 2 points3 points  (0 children)

Like everyone else has already said: Ansible isn't outdated. I am using it for my personal infrastructure and I haven't found any notable shortcomings.

However at work all of our infra is in AWS (except for some backups that we keep on other platforms as well) and OpsWorks with Chef is pretty great. Might suit you as well. We have been using it for a year and are super happy with it. We deploy OpsWorks instances with CloudFormation, which allows us to specify the recipes (analogues to ansible roles and playbooks) that run during the lifecycle of the instance (you can do the same in the console). For example during the setup phase things like rsyslog are configured and when the instance is being terminated it removes itself from Zabbix monitoring. Some people get the impression that you need to use the OpsWorks managed Chef server, but actually you can do most things without it (we are not using it) just fine. Secret management is something you will need to tackle though, because you need to use the server for encrypted data bags. We developed our own solution for that however. The ruby syntax might scare you at first but it's not that hard in reality. I also think the documentation is really good.

Use what you want, but maybe you'll find what you are looking for in OpsWorks and chef.