Better HN
topnewbestaskshowjobs
Log inSign up

hopscotch

39 karma · joined Jun 21, 2015 (11y ago) · 26 submissions

Submissions

comment 7y ago · link · parent

Only a partial substitute.

comment 7y ago · link · parent

Most of the middle class and up in the UK have a significant chunk of their wealth tied up in property (their own homes, then investment property), so not really.

comment 7y ago · link · parent

That throws away entropy, but I suppose so long as very few hash collisions of a password are likely to be real passwords themselves it would be harmless.

comment 7y ago · link · parent

Why are you migrating from Scala?

comment 7y ago · link · parent

Wolfram don't make matlab. They make Mathematica.

comment 7y ago · link · parent

You could do that with a wrapper around sftp, no?

comment 7y ago · link · parent

It's a static file host with a nosql database and a text editor. There's a very clear migration path if you don't want to use their service.

comment 7y ago · link · parent

What security reasons?

You can totally have a secure sftp endpoint on your filehost.

comment 7y ago · link · parent

Have you had a proper security review? I don't think you would have made that mistake with user-websites being able to log out the user if you had designed with security as an important objective.

Like, it's OK that you didn't, but maybe you should check that your entire public API (all microservices, UI, etc) will really be secure.

You will probably struggle to get a secure interface while user content is served from the same domain as your UI.

comment 7y ago · link · parent

I meant control of the postal address, which is quite hard. A little harder than access to the physical debit card.

Same for email and phone. Gaining control of the account.

comment 7y ago · link · parent

That was my point.

comment 7y ago · link · parent

> semi important

I'd rate income inequality and poverty higher, personally.

comment 7y ago · link · parent

If you want to extract strings from XML that arrives in a well-known format that meets certain expectations that may not be rigorous, then regexes can be fine.

comment 7y ago · link · parent

Why are banks liquidating such huge assets without proper ID or delay?

I guess people can't remember secrets, so you have to use something as a root of trust for password resets and so on.

Would be good if the banks realised that the available roots are all dubious and so they should require authentication on several for suspicious transactions.

Phone numbers aren't secure. Post isn't secure. Email isn't secure (and can often be rooted with the phone number---thanks shitty 2fa). Credit cards can be stolen.

But it's hard to get the phone number and the postal address and the physical debit card and the email all at once.

comment 7y ago · link · parent

When I last did mobile stuff, waking the radio was more expensive than many CPU ops.

comment 7y ago · link · parent

The best real sorting algorithms are often hybrid.

Would be nice to see mention of parallel sorting algorithms. These have basically linear speedup and you can do them on GPUs.

Obvious disclaimer that you should never care about your sorting algorithm choice until you need to. Performance is more often IO or memory related than compute. Tech interviews are daft, etc.

comment 7y ago · link · parent

Sorting algorithm complexity and implementation is rote-learnt at this point. Hardly tells you much.

Traditional technical interviews don't seem to help you find the best candidates (Google famously studied their interview process and decided it was no better than chance).

So maybe don't do a technical interview. Or if you do, just take a couple of real problems from work.

If you're making a lot of hires, do some research and run a RCT.

comment 7y ago · link · parent

It can put registration and private messages, etc, under their control.

They they can raise their anti-spam bar arbitrarily high to block alt registrations and enforce bans. Sight of all PMs could be used for anti-harrassment too, but don't know if they'd do that.

comment 8y ago · link · parent

KSP has gravity assist built in: it's an expected consequence of newtonian physics (Which KSP models).

Mods might be to swap to the Solar rather than Kerbol system, etc.

comment 8y ago · link · parent

Swiss law does not require shelters in all private dwellings, (you can pay a small amount at the time of construction for a place in a communal shelter) and I'm not sure that even that is required any more.

Large public buildings maybe still need shelters by law.

comment 9y ago · link · parent

I'm pretty sure you can define commutive and associative relations in Coq.

comment 9y ago · link · parent

Ronald A. Howard has quite an interesting take on this situation in a conversation with Harris in the appendix. They both talk about lying as self-defence:

> ... The next level is stealing: Needless to say, if I could steal a weapon from someone who was about to kill me, that would be fine. And if I couldn’t transform the situation as some more enlightened person might—into a real circumstance of teaching—then I would lie. I would use the minimum distortion necessary to get the problem to go away.

> At one end of the spectrum, you can be super-optimistic about people. But let’s face it, there are people who are up to no good in all kinds of ways. I’m not going to abet them in violating other people’s right to be left alone, and I’ll do whatever is necessary to avoid that.

comment 9y ago · link · parent

There is a relatively easy and proven way to eliminate Malaria already:

Malaria was effectively eradicated in all but the poorest areas in the 1950s and 60s through vector management: indoor residual spraying, building better houses, eradicating still water near population centers.

The same can be done in sub-Saharan Africa (the main place it remains). In fact, in the richer areas of these countries, Malaria has a very low prevalence.

It's a disease of poverty. Drugs help, but it's mostly about the vector.

comment 9y ago · link · parent

Sam Harris wrote a good short book on this topic:

https://www.samharris.org/lying

comment 9y ago · link · parent

You could, but that would be missing the point of the whole honesty exercise by using an overly restrictive definition of lying.

In 'Lying', Sam Harris defines a lie as an intentional act of deception (or something like that).

That definition fits your suggested responses and I would call them lies.

Answering "No, but I think the colour matches your eyes", on the other hand, would not be deceptive, assuming you did believe that.

comment 11y ago · link · parent

Crossref is a non-google site, sponsored by the publishers, that, in my opinion, is friendlier for automation. Anecdotally, I get better results from them, too.