• 4 Posts
  • 488 Comments
Joined 2 years ago
cake
Cake day: June 26th, 2023

help-circle
  • Install updates regularly. Don’t install software from unofficial sources. If you see a recommendation like run curl something | sudo bash, ignore it. And, in general, don’t run anything as root unless you understand what you are doing and why this cannot be done without root privileges.




  • bizdelnicktoProgrammer HumorDocker Building
    link
    fedilink
    arrow-up
    1
    ·
    26 days ago

    Unit tests? No matter where you run them, and normally this is done by CI in a prebuilt container image, so you don’t have to wait for “docker building”. Acceptance tests must be run in an environment as close to production as possible, but that’s definitely not a programmer’s job.


  • bizdelnicktoLinuxThe Terminal Question
    link
    fedilink
    arrow-up
    1
    ·
    27 days ago

    Most of what you enumerated is not a terminal emulator job. There is tmux for multiplexing, search and persistent sessions, for instance. And if you want image rendering, what a hell you use TUI for this? GUI programs can also be controlled with keyboard.






  • bizdelnicktoLinuxThe Terminal Question
    link
    fedilink
    arrow-up
    16
    arrow-down
    6
    ·
    29 days ago

    Are you serious? It’s just a window where text is printed. Use what your DE provides. Now I’m mostly on LXQt, so I use QTerminal. With tiling WMs I prefer urxvt because I don’t need builtin window splitting ans tabs. I can’t imagine what other features may I need.



  • Sorry, I have no clue.

    What do you use to apply your regex? Programming language, library, command line tool etc.

    there’s a random number at the end of some of the lines, I’m trying to match that.

    Is it decimal? One digit or multiple digits? Natural, rational?








  • You will need many iterations of trial and error. No way.

    You can speed up testing your playbook by using Molecule or something similar. Don’t touch your working VMs until you get a service (role) set up correctly in your test environment. If you need to set up multiple services in a single VM, you can automate their deployment sequentially, of course.

    P. S. I don’t like Ansible and won’t recommend it because it is full of bugs and non-obvious behavior. However I didn’t investigate alternatives and can’t suggest a better one.


  • Full code audit is very time consuming. It’s impossible to audit all software someone uses. However if I know nothing about project, I do a short look at the code to understand if it follows best practices or not and make some assumptions about the code quality. The problem is that I can’t do this if I’m unfamiliar with the programming language the project is written in, so in most cases I try to avoid such projects.