Better HN
topnewbestaskshowjobs
Log inSign up

rcr

57 karma · joined Jan 15, 2015 (11y ago) · 23 submissions

Submissions

comment 3y ago · link · parent

It's really no less likely, namespace or not. There are better mechanisms for handling this situation, pidfds for example.

comment 3y ago · link · parent

This doesn't entirely solve the problem of potentially killing the wrong process though

comment 3y ago · link · parent

Linux introduced pidfds for this reason.

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

There are no flags to parse. Why are you adding flag parsing? This would fail a junior interview Steven.

comment 3y ago · link · parent

You've demonstrated nothing and made no discernable argument to anyone. Best of luck in the job search my friend.

comment 3y ago · link · parent

Also, take a look at openbsd's version of yes

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

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

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

comment 3y ago · link · parent

Who cares though? We get it, you prefer golang, congrats?

comment 3y ago · link · parent

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.

comment 8y ago · link · parent

I just finally rid myself of boxes worth of old computer parts and cables. But what if I need 7 VGA adapters???

comment 8y ago · link · parent

Yes, Aaron Swartz is mentioned 6 times in the article above.

comment 8y ago · link · parent

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.

comment 8y ago · link · parent

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.

comment 11y ago · link · parent

Some friends of mine decided we're going to bring webrings back. This was my attempt: http://rcr.io/webring.htm

comment 11y ago · link · parent

What advantage is there to storing the high and low bits of the 2 bit depth CHR separately, as mentioned in footnote 2?

comment 11y ago · link · parent

You can't really be serious.

comment 11y ago · link · parent

Wow.

comment 11y ago · link · parent

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.