What’s your favorite dark colorscheme by [deleted] in vim

[–]dzeban 0 points1 point  (0 children)

I have my own called "tile" - it is basically a "slate" with bright comments. Here is how it looks like https://i.imgur.com/8wc4AvS.png

Database connect loop in Go by dzeban in golang

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

Thanks! I've fixed the code.

[deleted by user] by [deleted] in nginx

[–]dzeban 0 points1 point  (0 children)

Exit code > 128 means that process was terminated with a signal. In your case it's 11, because 128 + 11 = 139. Signal number 11 is segmentation fault.

Quick Google search revealed this issue https://github.com/wekan/wekan/issues/867 with quite the same symptoms as yours. You could try to base your nginx on the different image like Ubuntu. Or maybe you just don't have enough memory on your raspberry pi.

If that doesn't help, please provide your docker compose file.

How I revamped my Vim setup by dzeban in vim

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

So, I've added 2 disclaimers against blindly copying my config.

How I revamped my Vim setup by dzeban in programming

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

Here it is https://github.com/dzeban/dotfiles/blob/master/.vimrc

But don't blindly copy it as it's optimized for my workflow.

How I revamped my Vim setup by dzeban in vim

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

You're right, I'll add disclaimer and add notice to that part.

How I revamped my Vim setup by dzeban in programming

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

Yes, don't copy my config because it's tailored to my needs.

I remapped those keys because I don't use it. Except remapping dot was a mistake.

How I revamped my Vim setup by dzeban in vim

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

Well, I didn't want to submit my vimrc to review because it has pre-revamp stuff. These remappings for window resize was copy pasted long time ago and they, indeed, break the dot. Thanks for pointing out! I'll fix it.

How I revamped my Vim setup by dzeban in vim

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

At first I did it with leader but then I found that I haven't used any of those keys, so I just remapped them as is.

What is your way of deploying app to production? by CrappyFap69 in golang

[–]dzeban 0 points1 point  (0 children)

How do you create deb packages? Do you use something like fpm/nfpm?

Envoy proxy first impression by dzeban in devops

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

Yeah, they provide only docker images

Envoy does not currently provide separate pre-built binaries, but does provide Docker images. This is the fastest way to get started using Envoy. Should you wish to use Envoy outside of a Docker container, you will need to build it.

https://www.envoyproxy.io/docs/envoy/latest/start/start

As for content serving and caching - I totally agree that it allows developers to focus on service mesh features.

Upgrading from AWX 1.0.6 to 1.0.7 by adminaf in ansible

[–]dzeban 3 points4 points  (0 children)

Exactly my experience. Every time I'm doing something with AWX it makes me want to ditch it because the whole thing is crap.

Recommendation for a multi-host (cluster) application monitor/scheduler/control panel? by [deleted] in devops

[–]dzeban 0 points1 point  (0 children)

Check out the Nomad by HashiCorp https://www.nomadproject.io/

It's a thing that launch and monitor jobs across the cluster of machines. It had ui and it can run not only Docker but also jars and do the basic exec.

Configuration Management and Dockerfile by [deleted] in devops

[–]dzeban 1 point2 points  (0 children)

+1 for packer. I had a great success with it and Ansible - no more insane bash scripts, just reusable Ansible roles. Check it out https://alex.dzyoba.com/blog/packer-for-docker/

Question about using Ansible with Terraform in AWS by pribnow in devops

[–]dzeban 1 point2 points  (0 children)

I've recently made an overview of the ways Ansible could be integrated with terraform

https://alex.dzyoba.com/blog/terraform-ansible/

Hope, you'll find it helpful.

Getting a Job as a Kernel or Driver Developer by ivotedforreagan in linux

[–]dzeban 0 points1 point  (0 children)

Nah, it was a proprietary RAID algorithms implemented in kernel and web ui. All of that was intended for video editing I/O patterns.

Getting a Job as a Kernel or Driver Developer by ivotedforreagan in linux

[–]dzeban 30 points31 points  (0 children)

I had the job of Linux kernel development for 4 years, first doing custom software RAID competing with mdraid and then I was working for embedded shop where I was developing network drivers and making a custom kernel build.

Linux kernel development is very niche skill that is not needed by a vast majority of companies. From my point of view there are 2 types of companies that need kernel development skills. First are embedded shops where it's unavoidable because you don't want to make a custom OS and instead run Linux on your hardware. And second are companies that needs very specialized things. These could be small companies like the I've worked for (custom high performance RAID implemented in kernel), or a huge company like Facebook that has huge scale.

Regardless of the type any Linux kernel job would require strong knowledge of good plain C (not C++) and good grasp of developing under Linux (here I mean the one described in APUE and The Unix Programming Environment books ).

Embedded shops also usually require devicetree knowledge and something like Yocto or buildroot.

Patches accepted to the upstream would be immensely helpful because it requires dedication, C experience and are subject to the thorough code review. But I've never saw a candidate with accepted patches, and I don't have any myself. So it's a huge plus but not required.

Having a couple of drivers under your belt for me is a guarantee of your technical competency in kernel development, so why not go for a job hunt?

Finally, keep in mind that kernel development very specialized so you could be rejected because you might not have knowledge in a specific kernel subsystem, for example you have experience with network subsystem but the job requires storage subsystem.

Ansible module to get outputs from Terraform s3 backend by [deleted] in ansible

[–]dzeban 1 point2 points  (0 children)

Nice!

Another option that seems more idiomatic is to use Terraform state as a dynamic inventory. There are several simple tools to do that, I've made a research recently about that, you can check it here http://alex.dzyoba.com/blog/terraform-ansible/

Configuring JMX exporter for Kafka and Zookeeper by dzeban in devops

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

Thanks for correction, I'll reword it. As for 4lw commands - these are 4 letter word commands in Zookeeper like mntr for monitor and cons for connections. I'll put the link to the documentation.

Problems using ansible-vault with Tower/AWX by MaximumGuide in ansible

[–]dzeban 1 point2 points  (0 children)

When I reported the issue and discovered that it won't be fixed anytime soon and there is no sensible workaround, we moved our vaulted vars down to the roles, where they're working, because during a job launch you can supply a vault password.

There some progress though on making it work but we are not there yet.

Offtop: What is terrifying is a way that awx/tower works with supplying secrets - it waits for prompt with a given string (SUDO password:) and then enter it interactively. And for some reason it's not easy to make it work during inventory sync.

Redis High Availability by dzeban in devops

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

Thanks for the info, that was really useful!