HackerTrans
TopNewTrendsCommentsPastAskShowJobs

rcr

no profile record

comments

rcr
·il y a 3 ans·discuss
It's really no less likely, namespace or not. There are better mechanisms for handling this situation, pidfds for example.
rcr
·il y a 3 ans·discuss
This doesn't entirely solve the problem of potentially killing the wrong process though
rcr
·il y a 3 ans·discuss
Linux introduced pidfds for this reason.
rcr
·il y a 3 ans·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
·il y a 3 ans·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
·il y a 3 ans·discuss
There are no flags to parse. Why are you adding flag parsing? This would fail a junior interview Steven.
rcr
·il y a 3 ans·discuss
You've demonstrated nothing and made no discernable argument to anyone. Best of luck in the job search my friend.
rcr
·il y a 3 ans·discuss
Also, take a look at openbsd's version of yes

https://github.com/openbsd/src/blob/master/usr.bin/yes/yes.c
rcr
·il y a 3 ans·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
·il y a 3 ans·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
·il y a 3 ans·discuss
Who cares though? We get it, you prefer golang, congrats?
rcr
·il y a 3 ans·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.