Better HN
topnewbestaskshowjobs
Log inSign up

devit

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

Submissions

comment 7y ago · link · parent

What do you mean by "at least as secure"?

They are different algorithms, so I don't see how their security can be provably related.

comment 7y ago · link · parent

That's probably true, but the issue is that everyone is an addict to some extent.

comment 7y ago · link · parent

Not really, it's possible that there is always a strategy that can be proven to be better than entering the computation (because it wins the game deterministically, for instance).

comment 7y ago · link · parent

While this paper shows that a player can create a game state where deciding the game result is Turing-complete, it does not show that doing so is an optimal strategy under any circumstance (in particular, the setup requires a starting situation where the player can just win the game instead of performing the setup).

So it seems perfectly possible (and in fact highly likely) that this result does not hold if players play optimally, especially if deck selection is included in the strategy.

comment 7y ago · link · parent

Make the 2 vs 3 language decision be module-specific with a single Python executable supporting both languages, allowing you to freely mix Python 2 and 3 files and libraries and thus not splitting the ecosystem.

comment 7y ago · link · parent

Why can't we have a "Spotify for newspapers"?

comment 7y ago · link · parent

The more idiomatic way would be to return an Rc<RefCell<Element>>.

Accessing it will indeed panic if someone else has an active mutable reference to the contents of the refcell, but the idea is that you should only keep that for the section of code that actually modifies the object.

The reason this feature exists is that it prevents code observing partially modified objects that could be temporarily missing required invariants (in addition to preventing mutating object with references to parts of them which can result in dangling pointers and thus memory unsafety).

You can also use Cell as the parent argues with the benefit of never failing, but then you don't get protection from recursive calls exposing violated invariants and you need to change the implementation of Element itself.

comment 7y ago · link · parent

Don't OEMs offer paid repairs themselves?

comment 7y ago · link · parent

Yeah, I don't understand why mapping software doesn't just say:

* after the next 2 intersections, turn right

* after the next intersection, turn right

* turn right at the next intersection

* TURN RIGHT NOW

* you missed the turn right, ....

Other huge annoyances:

- Not telling you which lane it is optimal to stay on on multilane roads

- Not telling you which road signs to follow outside urban centers via voice

- Not telling you about speed limit changes

In general, I find the guidance to be barely usable instead of being excellent as it could be

comment 7y ago · link · parent

They get pants with deep enough pockets or have them enlarged by a tailor.

comment 7y ago · link · parent

You can have a screen that is twice the size of a non-foldable screen... (given a rest size constraint like fitting in your pocket).

comment 7y ago · link · parent

The article doesn't really seem to address why, if there is demand for what the author wants (which is quite reasonable), the market (or even a monopolist train company) doesn't provide it.

comment 7y ago · link · parent

But given that Uber is not profitable now competing with Lyft both with human drivers, why would it be profitable tomorrow competing with Waymo both with SDCs?

Even if the profit is no longer negative, it should be near zero since there is not much moat, and it's not even clear whether Uber would be able to compete at all against Waymo (better tech) or even carmakers who own the cars.

The only thing Uber has is brand recognition, but Google Maps actually has even more brand recognition and that's where Waymo is going to be unless antitrust prevents it somehow.

comment 7y ago · link · parent

It's probably because you only consciously notice people aggregate when they do so in a place that causes you an inconvenience.

comment 7y ago · link · parent

Always, unless it's a very short script that uses packages that have no type definitions.

comment 7y ago · link · parent

Regarding the WebAssembly part, it seems to me that native Linux code sandboxed by seccomp would work just as well if not better, and has been available since 2005 (and there's also NaCL if you want in-process, as well as a bunch of VMs).

So I think the reason for "CloudFlare workers" not being available ten years ago has to be found somewhere else.

comment 7y ago · link · parent

Why would you need "a whole VM"?

Just run it as a systemd service or a Docker/Kubernetes-managed container on one of the VMs that run the rest of the application.

Also no need to use all those AWS-proprietary services, just use an existing task queue system based on PostgreSQL/RabbitMQ/etc.

comment 7y ago · link · parent

Compilation time is the other potential issue, although it's hard to predict it.

comment 7y ago · link · parent

You can just create a view for each table with all other useful tables joined and query that.

It would indeed be nice to do that automatically based on foreign keys; I suppose one could write a PostgreSQL extension for that (or maybe one exists?).

Of course you still need the ability to perform joins that are not implied by the database structure.

comment 7y ago · link · parent

There's also https://www.google.com/get/noto/ which is what Ubuntu uses for emoji and is proportional and colored.

comment 7y ago · link · parent

It was more entertaining, and also working to figure out others' mistakes is more rewarding if you get to berate them in public, so not being allowed to rant reduces the incentive to do the work and thus makes more likely that mistakes will remain unnoticed.

comment 7y ago · link · parent

Transactions that are in violation of the law (evading capital controls, buying illegal goods, money laundering) and are not done in person.

Also, replacing trust in centralized banks with trust in mostly-centralized crypto software developers and mostly-centralized majority of miners.

comment 7y ago · link · parent

How expensive are these sensors compared to the cost of the plane?

Any reason to not just use at least 9 of them, pick the median value and forget about it?

comment 7y ago · link · parent

NextCloud has simple notes and document sharing

comment 7y ago · link · parent

Yeah, as in parents should commit to donating them a home pre-birth, along with insurance on it and they should not be allowed to sell unless they own another home

Then no one will ever be homeless.

That's the only non-state solution that guarantees this outcome (well, barring major catastrophes that destroy the home and cause the insurance to not be effective at replacing it).

comment 7y ago · link · parent

"Use" is allowed, redistribution of the original or derivative works is essentially what is not permitted.

comment 7y ago · link · parent

Why not just install PostgreSQL with apt on your server and use that?

Or if you need HA use Kubernetes and deploy the Stolon helm chart.

comment 7y ago · link · parent

Banning childbirth or immigration if a fully owned home is not owned by the new person.

comment 7y ago · link · parent

Finally.

It's ridiculous that a supposedly sandboxed text editor would have access to all your photos, for instance.

Apps should only have access to their own private storage and to data that the user has explicitly picked from a file picker or similar UI, which is what this update does AFAICT.

It seems a serious mistake though to not affect apps installed on upgrade and to disallow access instead of just providing a virtual private copy of the external storage for each app (though the latter is not clear from the article).

1
343536
51