Better HN
topnewbestaskshowjobs
Log inSign up

devit

4,235 karma · joined Sep 10, 2015 (11y ago) · 1,525 submissions

Submissions

comment 6y ago · link · parent

Can we please deprecate the "as" operator?

Something so lossy and ill-conceived should not be a two-letter operator.

comment 6y ago · link · parent

The implicit possibility of "leaving" is always present because doing something together in a way that is desirable for everyone requires an agreement/meeting of minds/consciousnesses, and without it interaction is not possible, and without any interaction there is effectively no relationship.

Since people and organizations are always changing, there is no guarantee that there will be any such agreement and thus any relationship in the future (whether it is of an intimate or professional nature).

comment 6y ago · link · parent

The problem is that people are dependent on employment by a single party and finding a new employer is not automatic, which creates a huge non-diversified risk and creates abusive dynamics.

The solution is to make it easy, normal and automatic to either find new jobs, be a contractor for many parties, or be unemployed, living on UBI/rent/self-production and not dependent on finding work.

Monogamous relationships have the same problems and the same solutions (easy serial monogamy, non-monogamy, or being content being in a relationship with oneself).

comment 6y ago · link · parent

The idea is that you might need to invent a new algorithm where a technique from an existing algorithm is used in a modified way or in a new setting, and then knowing the actual technique can be essential to find an inspiration.

E.g. if you know that convex hulls can be computed by sorting by angle and sweeping, then you might come up with the idea of sorting by angle and sweeping in problems that are unrelated to convex hulls (e.g. determining what is visible from a given point in an environment with obstacles).

In general, if you know a lot of those techniques and heuristics, you will be much more effective at problem solving in domains where these techniques apply.

It is relatively rare for this to be a big factor in routine software development, so that's probably something one should filter for only if interviewing for roles where you might need to design novel algorithms (which Google probably has more than the average company).

comment 6y ago · link · parent

Well, I probably used it last time 10 years ago and still remember it.

All you need to remember is that you sort points by angle from a fixed point on the convex hull, and you can easily work out the rest of the algorithm as well as the proof of correctness.

Not knowing it is a relevant signal that you did not seriously attempt to compete in computer science competitions during high school and college and did not otherwise have a burning desire to learn algorithms and data structures nor a specific interest in computational geometry. Whether it's in Google's interest to select for that of course is debatable.

comment 6y ago · link · parent

> one of them was also a major holder of Amazon stock so they had a vested interest in having the bank choose AWS. They needed to be worked around or convinced choosing GCP would create more value for them than portfolio synergies.

Did they state that explicitly? Is this legal?

Seems equivalent to asking management to directly transfer money to the pocket of only some of the shareholders stiffing out all others, which I'm pretty sure is generally illegal.

comment 6y ago · link · parent

For some reason hotels don't actually seem to optimize rooms for sleeping at all.

comment 6y ago · link · parent

Just buy aluminum foil tape (or use aluminum foil + regular tape) and cover them all.

Aluminum foil blocks all light and is thin and cheap.

You can also cover windows in places without effective light blocking devices like roller shutters.

comment 6y ago · link · parent

There are about 10^10 Internet users, so if we think it's very unlikely that it's her (10^-6 chance compared to anyone), that gives a 10^-16 prior chance of being her.

Assuming that they post almost every day and miss a day every few months, the probability of missing a single day for a random user is probably around 10^-2, so if the account didn't post during her public activities for around 13 times, that gives a 10^26 Bayes factor and thus we can conclude it's her or someone intentionally trying to frame her with 1 - 10^-10 > 6 sigma equivalent certainty.

Obviously a more precise analysis is possible.

comment 6y ago · link · parent

If Adobe is cooperating, why not get them to compile Flash to WebAssembly or provide the source code, rather than using an x86 emulator?

comment 6y ago · link · parent

Does he have a reminder setup or human assistant to check for answers to the "?" mails?

Someone who can't be bothered to type more than "?" might not bother to check for an answer either.

comment 6y ago · link · parent

Seems the root cause is that instead of using an established system like Kubernetes, they rolled their own and didn't engineer and test it as well as such an endeavor would have required.

comment 6y ago · link · parent

He commented "his health had been in decline for the last few years but accelerated dramatically in the last few weeks. Not covid." [https://www.reddit.com/r/math/comments/hmngx7/ron_graham_pas...]

comment 6y ago · link · parent

Seems not a bug: you may want this behavior, and the proper way to stop recording is to close the website or the app, not locking your phone.

comment 6y ago · link · parent

The problem is that they are currently not mandatory (at least in most countries).

I think Apple and Google should make contact tracing built-in and on by default, plus ideally there should be enforcement of activation by all places that require to pass a thermal scanner to enter.

The Apple/Google protocol is privacy preserving, so there is no "spy" concern.

comment 6y ago · link · parent

Possibly because initially the open source software will be significantly worse than the proprietary software and thus won't get any sales, and it will only be better with a lot of contributions, but then it's already freely available and so it still won't get any sales (but might get support/SaaS contracts).

comment 6y ago · link · parent

There's no need for anyone to win, both the person working 6 hours and the one working 12 hours can contribute and be compensated proportionally to their efforts.

comment 6y ago · link · parent

You can use the phone as an access point, and then have an additional secure wi-fi device.

A wi-fi only Android tablet that doesn't require proprietary blobs to run vanilla Linux might do.

comment 6y ago · link · parent

I think they have the capital to buy enough copies of all books in existence to allow effectively unlimited lending of not recently released books.

comment 6y ago · link · parent

You should also switch to Linux (or Windows with WSL if you insist on running a proprietary OS).

comment 6y ago · link · parent

That seems quite a risky strategy as well, because it could backfire: if the court declares even just that controlled digital lending is legal, more companies and bigger companies may start offering it (e.g. Google that already has the scanned books), making things worse for the publishers.

comment 6y ago · link · parent

If the books were not being sold as digital copies, maybe they could invoke fair use due to the pandemic making other ways to access the books impossible.

That said, the best avenue would seem to be a PR campaign with a call for a boycott and public shaming of the publishers (Hachette, Penguin Random House, John Wiley & Sons, and HarperCollins) that are putting their profit ahead of public access to the books.

In fact, it seems pretty surprising that the publishers would risk such an hit to their reputation given that the Internet Archive probably doesn't have much money to give them as compensation anyway.

comment 6y ago · link · parent

Assuming you run kubelet/Docker on bare metal, containers will of course run on bare metal as well.

A container is just a collection of namespaces.

comment 6y ago · link · parent

There is indeed a significant disparity according to https://www.cdc.gov/mmwr/preview/mmwrhtml/mm6319a2.htm although that study doesn't analyze what may cause it (other than differences in the prevalence of swimming training).

comment 6y ago · link · parent

It does as long as the programmer uses it properly (i.e. you don't use atomics weaker than SeqCst or unsafe code with shared + mutable accesses unless you have proven that it's correct).

comment 6y ago · link · parent

For a useful comparison you need the static and dynamic distributions to be otherwise the same, i.e. you want to pick a mainstream distribution and build it from scratch with both static and dynamic linking and compare.

comment 6y ago · link · parent

A better way to do this analysis would be to build a Linux distribution with everything statically linked and compare to the normal version with dynamic linking, looking at disk space used, startup time, memory used, and time to launch specific applications both cold and hot.

comment 6y ago · link · parent

This is the quote: "All samples came out to be negative for the presence of SARS-CoV-2 genomes with the exception of March 12, 2019, in which both IP2 and IP4 target assays were positive. This striking finding indicates circulation of the virus in Barcelona long before the report of any COVID-19 case worldwide.".

And no discussion of the obvious possibility that they screwed up the testing, any discussion of whether they could repeat the test on another part of the sample or on the 2019 April-August samples they didn't test, or any sort of attempt at a Bayesian probability analysis.

Pretty ridiculous and shameful, I'd say.

comment 6y ago · link · parent

1. Open source the client but not the assets

2. Open source the client and the assets but not the server

3. After a delay, open source everything but still charge for playing on the official server where there is already a thriving community

Although there is not necessarily much of a benefit.

1
232425
51