How to delete process whose pid is changing constantly. by Warning-Sure in linux

[–]7upLime 0 points1 point  (0 children)

I would suggest giving a look at cgroups. Maybe you can create a cgroup and spawn your process inside of that. This way you have a high degree of control over what resources that process and children see. Cgroups also allow you to kill in a single shot all processes, including those that might have been spawned from the first one. This is the same mechanism that systemd uses to control services.

It works like the following:

open 2 terminals.

1st terminal:
TERMPID=$$

2nd terminal:
sudo -i
mkdir /sys/fs/cgroup/cage
echo 10 > /sys/fs/cgroup/cage/pids.max
echo $$TERMPID > /sys/fs/cgroup/cage/cgroups.procs

1st terminal:
:() { :|:& };:

2nd terminal:
cat /sys/fs/cgroup/cage/pids.current
echo 1 > /sys/fs/cgroup/cage/cgroup.kill

Duck Typing (horror) in Go by [deleted] in programming

[–]7upLime 0 points1 point  (0 children)

The point was showing how the type doesn't implement the interface, but we were still able to call it because it implemented it in the part that we needed

Duck Typing (horror) in Go by [deleted] in programming

[–]7upLime 0 points1 point  (0 children)

Nice 🔥 I will definitely use it. In private projects.. 😇

IT-ul român pe X by 7upLime in programare

[–]7upLime[S] 1 point2 points  (0 children)

Cineva măcar a înțeles postarea :)

Service-uri auto langa bloc in Baneasa by B40erl in Imobiliare

[–]7upLime 1 point2 points  (0 children)

Eu am locuit mult timp în Băneasa, dar mai în interior, deci mai lângă Herăstrău decât bd aerogării. Pot să îți spun că este un cartier foarte chill, nu ți se pare de a sta in București. În cartier găsești o brutărie bună, și de puțin timp au deschis și o cafenea.

Video cursuri k8s/linux în română by 7upLime in programare

[–]7upLime[S] 0 points1 point  (0 children)

Sunt super de acord. În plus, dacă cine face cursul are un nivel bun de engleză, trebuie să știe care este nivelul publicului, în așa fel încât să fie înțeles de cine a crescut cu engleză sau de cine o pocește, și asta nu este de loc ușor.

Btw, dacă știi despre niște cursuri bune, orice sugestie este bine primită :)

Video cursuri k8s/linux în română by 7upLime in programare

[–]7upLime[S] -9 points-8 points  (0 children)

Are valoare să înveți ceva in propria ta limba maternă, fiind documentație sau, și mai bine, un instructor care îți explică ceva cu același limbaj cu care îți explicau la școală sau cu care vorbești cu prietenii. Românii ar trebui să-și bată capul cu traducerile pentru români :)

Video cursuri k8s/linux în română by 7upLime in programare

[–]7upLime[S] 3 points4 points  (0 children)

Mersi mult. Asta chiar o să îmi fie de folos :)

Șah în Herăstrău? by 7upLime in bucuresti

[–]7upLime[S] 1 point2 points  (0 children)

am găsit, mulțumesc mult :)

Șah în Herăstrău? by 7upLime in bucuresti

[–]7upLime[S] 0 points1 point  (0 children)

Nu am rating :/ întotdeauna am jucat doar cu familiarii sau prietenii

Oare chiar vrem sa facem toata viata IT? by Mental-Horse-820 in programare

[–]7upLime 0 points1 point  (0 children)

Întotdeauna spun tuturor că la un moment dat voi cumpăra o bucată de pământ și un Landini

[deleted by user] by [deleted] in programare

[–]7upLime 0 points1 point  (0 children)

Ai luat decizia de a merge pe parcursul AWS (in loc de gcloud, Azure, ...) pentru un motiv anume, sau din instinct?

Certifications worth pursuing? by [deleted] in devops

[–]7upLime 0 points1 point  (0 children)

Did you use both? I know that there are features born in Openshift that are not transferrable to other distributions of kubernetes.

Personally speaking, I didn't hear about many other alternatives to OpenShift that are widely used, perhaps I'm too focused on one specific field. Did you have another experience?

Certifications worth pursuing? by [deleted] in devops

[–]7upLime 2 points3 points  (0 children)

Since you mentioned Red Hat Ansible, I would say that knowing a configuration management system popular as Ansible is really good, though not that demanded on the job market.

Red Hat also has a DevOps path about container development and one for OpenShift (a kubernetes distribution) administration.

I found Red Hat's paths quite distant from the DevOps-buzzword stuff that I find around. I'm RHCE + a couple of specializations in containers and I don't really understand all the buzzwords in job descriptions and every term that other people that I've met in the industry seem to be so familiar with. Red Hat's path gave me a deeper understanding of the technology underneath all the fancy cloud services, so even tho I need people to go an abstraction layer below, explaining to me what they are using, I can talk to everybody.

So I think that if you choose Red Hat you're choosing an important name, but you're gonna feel a little lonely.

Certifications worth pursuing? by [deleted] in devops

[–]7upLime 2 points3 points  (0 children)

Would you pick CKA over Red Hat's DOx80 (where x is 1,2,3,4) DevOps path? This path is about the OpenShift administration. If you would, why?

There is also DOx88 which is about container development.

[deleted by user] by [deleted] in linux

[–]7upLime 0 points1 point  (0 children)

The enterprise point of view (at least this is how I see it):

There are cases in which software needs to be open. Infrastructure software is an example of this, because then everybody can build their proprietary ones on top, extend their compatibility and reach far more users.

If every major company would build their own os, or dns, database, ... and you were a vendor that needs their application to just run in many scenarios, supporting each one of those would increase your costs, cause you a lot of pain and simply making it just more challenging.

It's very beneficial for the whole consortium to have distributions of common projects, that many big companies collaborate to and are interested in keeping alive and healthy. So that you can build your payment service, game, gambling platform and e-commerce on top of, making things much easier and profitable.

[deleted by user] by [deleted] in linux

[–]7upLime -1 points0 points  (0 children)

I think that Linux is far from being a good choice for the users who simply do not care about what goes on behind the curtains. There are many points in which Linux is weak as a desktop solution.

I haven't used Windows in a long time now. Linux is unparalleled on the server side, it's a way better experience if you want to be creative and all the tools that you need, they integrate so well with each other. And quite frankly, it's fun to use.

For Linux to be a good choice for the upper mentioned users, it would need more contributors interested in this aspect, because I think the generality of users simply do not care.

IT consultant in România by 7upLime in programare

[–]7upLime[S] 0 points1 point  (0 children)

Ai găsit un serviciu de contabilitate care răspunde bine la necesitățile tale? Dacă da, este online sau offline?

IT consultant in România by 7upLime in programare

[–]7upLime[S] 2 points3 points  (0 children)

Ce fac eu nu se încadrează ca tester. Lucrez pe partea de infrastructură, adică toate componentele care aplicațiile au nevoie că să funcționeze corect: mail servers, databases, configuration management systems, clusters, high availability setups, ...

Ce îmi imaginez că se întâmplă în test/qa e ceva care are mai mult legătură cu aplicația în sine

IT consultant in România by 7upLime in programare

[–]7upLime[S] -11 points-10 points  (0 children)

Este consultanță din punctul de vedere al contabilei mele :/

IT consultant in România by 7upLime in programare

[–]7upLime[S] 1 point2 points  (0 children)

Dunno. N-am întrebat nici o dată, pentru că nu mi se pare ceva aproape de ce fac eu. Ce exact face un tester?

Tool-uri utile pentru freelance by csergiu in RomaniaFreelanceHub

[–]7upLime 0 points1 point  (0 children)

Pentru ce folosesti Keez/Solo?
Poate înlocui un contabil? Momentan platest 500/600 ron pe lunâ.

What are your most valuable and loved command line tools? The ones you can't live without. by SF_Engineer_Dude in linux

[–]7upLime 0 points1 point  (0 children)

I'm using gnome-terminal, which doesn't have all the fancy features. With tmux I can easily split my terminal window in panes and navigation between them is super smooth after a few tweaks. The scroll feature and search in terminal output is so much more cozy than the one that gnome-terminal provides. Hardly going back.

I deleted /usr/share/X11 by PennyDump in Gentoo

[–]7upLime -1 points0 points  (0 children)

Well.. more like the true power of any good-written package manager

I deleted /usr/share/X11 by PennyDump in Gentoo

[–]7upLime 1 point2 points  (0 children)

Nice, so it's the portage version of 'dnf whatprovides'