News for hackers. Stuff that matters.

rcr

Re:IPC – Unix Signals on Monday October 09, 2023 @07:46PM (#37826891)
It's really no less likely, namespace or not. There are better mechanisms for handling this situation, pidfds for example.
Re:IPC – Unix Signals on Monday October 09, 2023 @01:23PM (#37822820)
This doesn't entirely solve the problem of potentially killing the wrong process though
Re:IPC – Unix Signals on Monday October 09, 2023 @01:23PM (#37822808)
Linux introduced pidfds for this reason.
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.
Re:Decoded: GNU Coreutils on Saturday September 09, 2023 @05:29PM (#37450470)
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.

Re:Decoded: GNU Coreutils on Saturday September 09, 2023 @04:43PM (#37450078)
There are no flags to parse. Why are you adding flag parsing? This would fail a junior interview Steven.
Re:Decoded: GNU Coreutils on Saturday September 09, 2023 @01:16PM (#37447693)
You've demonstrated nothing and made no discernable argument to anyone. Best of luck in the job search my friend.
Re:Decoded: GNU Coreutils on Saturday September 09, 2023 @12:57PM (#37447467)
Also, take a look at openbsd's version of yes

https://github.com/openbsd/src/blob/master/usr.bin/yes/yes.c

Re:Decoded: GNU Coreutils on Saturday September 09, 2023 @12:49PM (#37447384)
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.

Re:Decoded: GNU Coreutils on Saturday September 09, 2023 @12:11PM (#37446983)
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

Re:Decoded: GNU Coreutils on Saturday September 09, 2023 @10:53AM (#37446099)
Who cares though? We get it, you prefer golang, congrats?
Re:Decoded: GNU Coreutils on Friday September 08, 2023 @09:35PM (#37441322)
Abusing? This is what ordinary C looks like
Re:Decoded: GNU Coreutils on Friday September 08, 2023 @08:45PM (#37441078)
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.
Re:How warehouses for personal junk became a $38B industry on Thursday March 29, 2018 @03:59PM (#16710544)
I just finally rid myself of boxes worth of old computer parts and cables. But what if I need 7 VGA adapters???
Re:James Dolan, co-creator of SecureDrop, has died on Tuesday January 09, 2018 @03:54PM (#16109946)
Yes, Aaron Swartz is mentioned 6 times in the article above.
Re:XPS 13 developer edition 7th generation available on Thursday January 04, 2018 @05:04PM (#16074506)
I just replaced my 5 year old XPS 13 and didn't even bother researching other laptops. Hands down the best hardware I've ever owned.
Re:Ask HN: How do you get better at coding? on Monday December 04, 2017 @01:11PM (#15846037)
I've learned no greater lesson about program structure than the time I finally got around to writing test cases for my first modest (~10k lines of C) personal project.
Re:Cameron's World on Wednesday August 19, 2015 @12:09PM (#10086511)
Some friends of mine decided we're going to bring webrings back. This was my attempt: http://rcr.io/webring.htm
Re:NES graphics – Part 1 on Tuesday April 28, 2015 @07:17PM (#9455678)
What advantage is there to storing the high and low bits of the 2 bit depth CHR separately, as mentioned in footnote 2?
Re:Android’s 10 Millisecond Problem explained on Thursday April 16, 2015 @07:49PM (#9391465)
You can't really be serious.
Re:The Clock on Friday January 23, 2015 @07:09PM (#8938193)
Yeah.

"The circuit is extremely complex", sure, to someone with no basic knowledge about circuits. It's a couple of frequency dividers and BCD drivers.

Not to say I'm not impressed; I would never have the patience to see a project like this through.