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.