Better HN
topnewbestaskshowjobs
Log inSign up

quicklime

2,911 karma · joined Oct 19, 2016 (10y ago) · 544 submissions

Submissions

comment 6y ago · link · parent

It might be worth pointing out that this study is about coronaviruses in general, not the coronavirus that causes COVID-19 (SARS-CoV-2).

comment 6y ago · link · parent

I really agree with this. I didn't take the distributed systems course when I was at university, but later I still managed to work at a few FAANGs. Flicking through the material in the MIT 6.824 course, I really wish I learnt this before I needed it, rather than scrambling to learn it piecemeal as things came up. I would've been promoted faster, and things would've been less stressful.

It is possible to learn this on the job. But with hindsight, my advice would be to just take the easy way out and learn it beforehand.

comment 6y ago · link · parent

“Decentralized”?

I agree with you that Linux development is weird compared to most places. Most places have a designated central repo that acts as the source of truth, whereas the Linux developers don’t really have this.

This is possibly an unpopular opinion, but I think that when there is an official main repo, git is far more complicated than it needs to be. It’s confusing to a lot of developers because of all this unnecessary complexity. Most teams could probably be served better by a simpler system.

comment 6y ago · link · parent

So in your particular example you can't add micromorts - you can only die once, so if you die in the first round, you don't get to play the second round. And if you could, the number of known-to-be-empty-chambers and/or bullets has changed, which changes the probability.

But you can add micromorts in the case where n people are playing separate games of Russian Roulette.

As another example, the Wikipedia page says that this is equivalent to 1 micromort:

> Traveling 6000 miles (10,000 km) by jet (cancer due to increased background radiation)

If you're just trying to calculate your own risk as a passenger, you can't just multiply 1 micromort by the number of 10,000 km trips you take. But if you're operating a flight, then you can multiply it by the number of passengers on this 10,000 km flight.

It has more to do with the nature of the thing you're trying to model, than it does with the nature of the unit.

comment 6y ago · link · parent

FB vests quarterly for all employees, regardless of how many shares they are scheduled to receive.

GOOG vests monthly, but if you're going to receive less than 1 share that month, then I guess they might round that down to 0 and effectively vest less frequently.

comment 6y ago · link · parent

Yeah you're right, it can do 6K at 60Hz, and according to Apple it can also do:

> Up to two external 4K displays with 4096‑by‑2304 resolution at 60Hz in millions of colours

So I guess if it can power 2 monitors at 60Hz, it should be able to do 1 monitor at 120hz, right?

comment 6y ago · link · parent

The author says that you don't need to choose between 4K and 120Hz, because there are "reasonably priced" monitors on the market that have both. But their recommended monitor ($900) seems a lot more expensive than a 4K 60Hz monitor (which is around $300-$400 when I search on Amazon).

The author also says (they think) that you need the discrete graphics card in a MacBook to take advantage of a 120 Hz display, and that the integrated Intel Iris graphics won't do.

I was actually shopping around for a new MacBook earlier today, and noticed that the 13" MacBook Pros only come with integrated GPUs, and you have to get the 16" MBP if you want discrete graphics. So if you like the portability that a 13" laptop has, this might not be a good tradeoff (not to mention that the 16" one costs $400 to $800 more than the top-spec 13" one).

I totally agree with the stuff they say about rendering fonts on 4k screens, but I don't think I'd be willing to take the hit in portability, or shell out an extra $700+, to get 120 Hz.

comment 6y ago · link · parent

I just disabled JavaScript by setting Firefox's "javascript.enabled" flag to false, and it still renders fine for me. Here's what the HTML source looks like when I grab the page using curl:

  predicts that artificial intelligence (<small>AI)</small> will add $16trn to the global economy by 2030
So it looks like it's coming through in caps from the server. I don't think a lack of JavaScript by itself is causing the problem...

comment 6y ago · link · parent

I'm a little confused about why GitHub is doing this. The master/slave thing I get - there's a direct link to actual slavery there, and it can be replaced with terms like leader/follower or primary/replica fairly easily.

But the "master" branch in Git doesn't have a slave branch. It's a master from which copies are made (as in a "master recording"), which is a different sense of the word.

comment 6y ago · link · parent

When I load the site, I get Google, Facebook and Microsoft selected by default. If I deselect Microsoft and re-select it, for some reason Google disappears. Is this a bug?

Happens on both Firefox on Ubuntu as well as Safari on my iPhone.

comment 6y ago · link · parent

Interesting that "Company Phones" is considered a benefit - I and a lot of people I know view it as a negative.

comment 6y ago · link · parent

I generally agree, but there's one thing that bothers me about the practice:

Before disabling the test, does anyone even consider the possibility that maybe it's not the test that's flaky, but that the software under test is itself buggy in a non-deterministic way?

I don't have a good answer for how to deal with this. It would be an enormous amount of effort to go through every flaky result and reason about whether the problem is with the test or the code under test, especially in larger codebases. Maybe the heuristic of assuming that it's the test's fault is good enough, and this is what I've done in every team I've worked in.

But it does bother me.

comment 6y ago · link · parent

It's ok, nobody can spell fuchsia: https://blog.xkcd.com/2010/05/03/color-survey-results/

Back on topic though, I think it's just easier from an engineering perspective to maintain a stable ABI than it is to maintain a set of blessed kernel versions.

An ABI is something that can be reasonably well-defined and has a clear scope, whereas if you just say that you support kernel versions X, Y and Z, then who knows what weird undocumented behavior you'll need to maintain.

comment 6y ago · link · parent

> Android device vendors don't care because either way they will stop updating their kernels after a number of years

This one seems like a big problem to me. Maybe the handset manufacturer doesn’t care because they already made their profit, but this pushes the support burden onto app developers (including Google itself) who have to maintain support for these old Android devices that the manufacturers don’t care about.

This seems like a real issue to me, is there something I’m missing?

comment 6y ago · link · parent

I think it’s a bit early to declare Linux’s market victory here.

The obvious thing for Google to do is to use this in Android, and this will solve a number of big problems for them (specifically, binary-only drivers and a better security model). They might even have some success in the server or desktop spaces as well.

I worry a bit that Linux will be the next Firefox.

comment 6y ago · link · parent

> The United Nations predicts that the global population will soon explode.

No, they don't. They predict it'll plateau at 11 billion by 2100, and believe that the fastest growth is behind us.

https://population.un.org/wpp/Graphs/DemographicProfiles/Lin...

comment 6y ago · link · parent

In real life, if you've got extreme racist views, you can go hang out with other racists. But to find these like-minded racists, you'll have to churn through lots of potential racists - who may often turn out to actually be anti-racist - to find your group to hang out with. In the process of doing so, a lot of people are going to question why it is that so many people dislike their racist views. And the ones that stick through it are going to know that they hold pretty extreme views relative to the rest of society.

In contrast, the existing social media platforms have a way of making it feel like you're right, and a lot of people are supporting you (doesn't matter whether it's 1% of society, or 99%). Inside your filter bubble, you're not an extremist, and you don't have to encounter very many anti-racists on your search for like-minded racists. When you do, you've got your fellow racist keyboard warriors backing you, and some people even enjoy getting into these arguments.

I think the system you're proposing works well for hobbies and interests like tech or sports. If people who play football aren't aware of what's going on in the world of soccer, it doesn't really matter a great deal. But society - at least a democratic society that depends on informed voters - is worse off if a large number of people get together and encourage each other to think that Hillary Clinton is running a pedophile ring in the basement of a pizza store in Washington.

tl;dr - because it encourages political polarization, which is bad for democracy

comment 6y ago · link · parent

Why get them "out of the way" when you can just skip asking pointless questions?

comment 6y ago · link · parent

I use "sort | uniq -c" all the time, but I find it annoying that it does it in worse-than-linear time. It gets super slow every time I accidentally pass it a large input.

At that point I usually fall back to "awk '{ xs[$0]++ } END { for (x in xs) print xs[x], x }'", but it's quite long and awkward to type, so I don't do it by default every time.

At some point I'll add an alias or a script to do this. One day.

edit: OK I finally did it; it's literally been on my to-do list for about 10 years now, so thanks :)

$ cat ~/bin/count

#!/usr/bin/awk -f

{ xs[$0]++ } END { for (x in xs) print xs[x], x }

comment 6y ago · link · parent

Not a parking lot, but a lot of suburban communities are built around large shopping malls, operated by companies like Westfield. It’s not exactly conducive to protests, as the malls are private property and there’s no significant pedestrian traffic anywhere else.

381.

Bitcoin Rockets Past $10k(forbes.com ↗)

1 points · by quicklime · 6y ago · discuss

comment 6y ago · link · parent

I think you might be right, but is the problem here really a lack of depth perception? Even a single camera is enough to show you a rapidly-growing rectangle in your field of view.

This seems similar to a different fatal Tesla crash in 2016, where the system for some reason couldn't detect a white truck against a bright sky. Maybe what they need is better dynamic range in their camera(s)?

comment 6y ago · link · parent

It seems like the HN consensus from the existing comments is to make the source of truth the public repo, and import that repo into the monorepo build somehow. This works in a lot of cases, but it does come with some drawbacks. Basically you will lose a lot of the benefits of a monorepo:

- You can't make atomic commits across the open source repo and the internal monorepo.

- Changes to the open source project won't automatically trigger internal integration tests.

- Your coworkers can no longer just run `bazel build` or `bazel test` on your project anymore, so there's relatively large amount of friction for them before they can make changes.

I don't think there's a simple answer to this question yet, but a few things to consider based on my experience with this:

- If you expect contributions to mostly come from internal developers, then maybe lean towards keeping it in the monorepo, but if you think contributions will come from external developers, lean towards an external repo.

- If it's going to be a mix of both, it's going to be difficult, so make sure you regularly sync the two repos, otherwise you're going to have to spend a lot of time resolving conflicts.

- Think about what build system you're going to use (usually it'll be something like bazel or buck inside the monorepo, but some people prefer language-specific ones for open source repos, e.g. cmake, gradle, yarn/npm). If you decide to use separate build systems internally and externally, make sure both have CI systems in place that will catch build errors.

comment 6y ago · link · parent

I actually agree with the protestors, not just in their goal but also in their methods thus far. Like I said in my earlier post, I think this helped get the police officer fired and arrested.

I hope this doesn’t get me labeled as “white” or “moderate” (I am neither).

comment 6y ago · link · parent

Of all the civil rights leaders, I’d say people remember Martin Luther King Jr the best.

It’s probably also worth asking: when have violent protests ever helped the cause?

I think that the violence of the protests helped to get Derek Chauvin arrested. But I’m not sure that continued violence will help the broader movement.

comment 6y ago · link · parent

> But New London police interviewed only candidates who scored 20 to 27, on the theory that those who scored too high could get bored with police work and leave soon after undergoing costly training.

It's easy to think this is some weird quirk of police recruiting, but the concept of "overqualified" candidates is common across many job roles. I've heard plenty of hiring managers talk about candidates that they've rejected because they thought they'd get bored quickly and move on.

It sucks for people who have had an impressive career trajectory (or in this case high test scores) but want to shift gears a little to focus on other things like family, hobbies, or just want to avoid burnout.

There's an implicit assumption on the part of these hiring managers that everyone should be working at 100% of their capacity, and that flexibility shouldn't be given to those who want a different balance in life.

comment 6y ago · link · parent

https://xkcd.com/795/

comment 6y ago · link · parent

Apologies if this is a stupid question; I'm a foreigner so I can't understand freedom like Americans do.

But if the first words are "Congress shall make no law", does that mean that the President and his executive orders are not bound by the First Amendment?

comment 6y ago · link · parent

That’s not quite true. They said they’ll adjust salaries according to the “market rate” of the location they’re hiring in, which doesn’t always line up with cost of living.

This sucks for people living in London, for example, where developer salaries are low but the cost of living is high.

comment 6y ago · link · parent

I’ve worked with Chinese developers and their English and programming skills were fine. Just check for English language skills in the interview if it’s important to your company.

Personally I think that non technical project managers are the bigger problem, remote or not.

1
121314
19