HackerTrans
TopNewTrendsCommentsPastAskShowJobs

rcr

no profile record

comments

rcr
·قبل 3 سنوات·discuss
It's really no less likely, namespace or not. There are better mechanisms for handling this situation, pidfds for example.
rcr
·قبل 3 سنوات·discuss
This doesn't entirely solve the problem of potentially killing the wrong process though
rcr
·قبل 3 سنوات·discuss
Linux introduced pidfds for this reason.
rcr
·قبل 3 سنوات·discuss
I have adhd. I find listening to familiar voices talking gives my brain just enough of something to focus on to calm my anxiety. Starcraft vods are my go to.
rcr
·قبل 3 سنوات·discuss
Fyi before anyone else decides to read the idiocy that follows in this thread, this is guy is a known troll with a long history of this exact behavior. Same person:

https://news.ycombinator.com/item?id=27862463

I think this person is just mentally ill unfortunately.
rcr
·قبل 3 سنوات·discuss
There are no flags to parse. Why are you adding flag parsing? This would fail a junior interview Steven.
rcr
·قبل 3 سنوات·discuss
You've demonstrated nothing and made no discernable argument to anyone. Best of luck in the job search my friend.
rcr
·قبل 3 سنوات·discuss
Also, take a look at openbsd's version of yes

https://github.com/openbsd/src/blob/master/usr.bin/yes/yes.c
rcr
·قبل 3 سنوات·discuss
For an extremely simple utility like the 'yes' command that is compiled and distributed as a binary to trillions of installations what metric do you consider more important, size and speed? Or lines of code in the source? Think about this in engineering terms, everything is a tradeoff and it's your job to come up with the best solution.

I'm genuinely curious to hear your argument.
rcr
·قبل 3 سنوات·discuss
But you're also arguing in bad faith. Your go code is shorter, okay, but it doesn't do the same thing as the GNU yes code, so what point are you trying to make? I can also link to philosophy 101 wikipedia articles:

https://en.wikipedia.org/wiki/Straw_man
rcr
·قبل 3 سنوات·discuss
Who cares though? We get it, you prefer golang, congrats?
rcr
·قبل 3 سنوات·discuss
Because you can't imagine a case its needed it must not exist? I also remember being a junior dev who thought they had all the answers.