Readit News logoReadit News
andrestc commented on Ask HN: Could you share your personal blog here?    · Posted by u/revskill
andrestc · 2 years ago
Mostly about Go and OS stuff but haven't updated in a while. http://andrestc.com
andrestc commented on Meta to ask many managers to become individual contributors or leave   bloomberg.com/news/articl... · Posted by u/thm
switchbak · 3 years ago
The vast majority of the managers I've worked with wouldn't be particularly good ICs, not so sure of the wisdom of this move. Maybe it's a way to slow roll a bunch of layoffs.
andrestc · 3 years ago
The technical bar for EMs at Meta is quite high.
andrestc commented on A listing of companies that don't do whiteboard job interviews   github.com/poteto/hiring-... · Posted by u/ohjeez
jfasi · 7 years ago
> It's a list of companies that don't do brain teasers

Facebook, Google, Apple, LinkedIn, Netflix, etc don't do brain teasers and they're not on this list.

EDIT: whoops, Netflix is on this list, my bad

andrestc · 7 years ago
Netflix is in the list.
andrestc commented on Facebook wants up to 30% of fan subscriptions vs Patreon’s 5%   techcrunch.com/2019/02/26... · Posted by u/doppp
andrestc · 7 years ago
"The policy document attained by TechCrunch shows Facebook plans to take up to a 30 percent cut of subscription revenue minus fees, compared to 5 percent by Patreon, 30 percent by YouTube, which covers fees and 50 percent by Twitch."

Looks on par with other providers.

andrestc commented on Show HN: Open-sourcing my wedding website on my first anniversary   github.com/rampatra/weddi... · Posted by u/rampatra
andrestc · 7 years ago
How hard would it be to set up a backend payment service to receive $$ for gifts?
andrestc commented on Microsoft cURLs too   daniel.haxx.se/blog/2018/... · Posted by u/TXCSwe
lettergram · 8 years ago
One thing I am always sure to share with collegues when we discuss curl, is the fact from the command line you can generate the underlying C code.

This is pretty useful when creating a CLI for pretty much any app, and I've used it regularly to generate a CLI for an app.

My post on how to do it: http://austingwalters.com/export-a-command-line-curl-command...

andrestc · 8 years ago
This is amazing! Thanks for sharing
andrestc commented on A regression is the kernel not giving the same result with the same user space   lkml.iu.edu/hypermail/lin... · Posted by u/signa11
dilap · 8 years ago
Go is really good about this too. It's great.
andrestc · 8 years ago
It's not as strong as the kernel. Go does not break APIs but may break undocumented behavior.
andrestc commented on Using cgroups to limit I/O   andrestc.com/post/cgroups... · Posted by u/ggarnier
cyphar · 8 years ago
It's important to note that if you want to use the blkio scheduler, if you're using the CFQ io scheduler[1] (which is the defualt on quite a lot of distributions) then using the blkio cgroup (even if you just join a non-root cgroup and don't have any limits set) can have massive performance penalties for O_DSYNC (and even some "regular") operations. It's caused by an implementation detail of blkio weighting within CFQ. We have a bug open in runc that details it[2].

Also, while this article is quite rosy-eyed about cgroupv2, there are many many issues that mean that cgroupv2 is not really usable by container runtimes today -- despite what systemd might be trying to do with their "hybrid mode". A friend of mine from the LXC community gave a talk about the wide variety of issues that occur due to cgroupv2's weirdly restrictive API[3]. The blkio writeback cache limits are very useful, but they're really not worth the pain of breaking how container runtimes have to work.

Also this comment is not _entirely_ accurate:

> Since in cgroups v1, different resources/controllers (memory, blkio) live in different hierarchies on the filesystem, even when those cgroups have the same name, they are completely independent. So, when the memory page is finally being flushed to disk, there is no way that the memory controller can know what blkio cgroup wrote that page.

You can mount a single cgroupv1 hierarchy with multiple controllers attached to it (that's what 'cpu,cpuset' are), which then could (in principle) know about it each other. But they don't, since a lot of the cgroupv2 code is locked behind cgroup_on_dfl(...) checks.

[1]: https://www.kernel.org/doc/Documentation/block/cfq-iosched.t... [2]: https://github.com/opencontainers/runc/issues/861 [3]: https://www.youtube.com/watch?v=P6Xnm0IhiSo

andrestc · 8 years ago
Author here.

>Also, while this article is quite rosy-eyed about cgroupv2, there are many many issues that mean that cgroupv2 is not really usable by container runtimes today -- despite what systemd might be trying to do with their "hybrid mode". A friend of mine from the LXC community gave a talk about the wide variety of issues that occur due to cgroupv2's weirdly restrictive API[3]. The blkio writeback cache limits are very useful, but they're really not worth the pain of breaking how container runtimes have to work.

I knew there are some problems with cgroup v2 but haven't quite looked into it. I'm going to watch the talk and probably add a note about that. Thanks!

>You can mount a single cgroupv1 hierarchy with multiple controllers attached to it (that's what 'cpu,cpuset' are), which then could (in principle) know about it each other. But they don't, since a lot of the cgroupv2 code is locked behind cgroup_on_dfl(...) checks. That's interesting, I didn't know about that! I'll add a note to the post.

u/andrestc

KarmaCake day61January 2, 2016View Original