1,857 karma · joined Sep 3, 2020 (6y ago) · 393 submissions
comment 5y ago · link · parent
It's not like Go's tooling is that much better than the best modern C++ tools, but the ecosystem is so much more unified by having 1 blessed set of tooling. Rather than 20 different package managers/(meta)build systems. No need to worry that I am using build system X, but I want to use a library using build system Y.
comment 5y ago · link · parent
If you are a PC components retailer, users of /r/buildapc seems like an ideal audience to target for advertising. Camera retailer, where better than /r/photography? Cookware - advertise in /r/cooking. Repeat ad infinitum across every niche interest on the site.
They should be able to enable advertisers to do really effective targeting of campaigns. Is this not possible with their current ad tools, or are they not selling the capabilities to advertisers well enough? Or is there not actually that much money in targeted ads, is all the money in generic ads like Coca-Cola & cars?
comment 5y ago · link · parent
It is insane that using perceptual hashes is likely illegal. As the hashes are actually somewhat reversible and so possession of the hash is a criminal offence. It just shows how twisted up in itself the law is in this area.
One independent image analysis service should not be beating reporting rates of major service providers. And NCMEC should not be acting like detection is a trade secret. Wider detection and reporting is the goal.
And the law as setup prevents developing detection methods. You cannot legally check the results of your detection (which Apple are doing), as that involves transmitting the content to someone other than the NCMEC!
comment 5y ago · link · parent
Direct product flaws in Unity are more likely to push customers away to a competitor compared to nebulous business relations conflicts.
comment 5y ago · link · parent
But instead this subject got 1 tiny paragraph near the end, in which this viewpoint "a form of degrowth".
"We can build more batteries, more cars, and more tunnels. And humans will be better off for it."
Honestly I just disagree with this take so much... I'm very far from a strident environmentalist but it should be obvious that this isn't the way forward.
comment 5y ago · link · parent
Foreign journalists cannot freely report from within the country. If the government does not like your reporting, you are forced to leave the country.
Information controls ensure that communication with China & the western world is controlled and subject to scrutiny. People in China cannot legally access most foreign news, or communicate with foreigners on social media. You cannot even access hackernews legally in China!
This creates an environment where it's extremely hard to actually vet any information about China, as there is such a strong communications barrier. Both for professional journalists and regular civilians. There is this immense culture of secrecy and information control that does not exist on the same scale anywhere else in the world.
Unsurprisingly this creates a situation where people distrust the words of the Chinese government. They have created this apparatus that prevents foreigners from verifying Chinese information.
comment 5y ago · link · parent
In GraphQL, you can select fields of JSON objects, optionally a field may have parameters which affect the values it returns in unspecified ways. That's it. Because of this design, unlike in SQL where you are concerned with modeling the structure of your data, GraphQL also requires you to think about the API all users will use to access the data. In SQL, I can write a table defining the structure of my dataset, and then users of that table can perform arbitrary queries when they know what data they need (aggregate with a month average grouped by account ID, filter to only rows where x = 7, JOIN this to grab some data from some other table etc.).
GraphQL has no aggregates (sum, average...), no grouping, no joins, no sorting, no filtering, other than what you manually design each using parameters at schema design time. Good luck anticipating the use cases of every future consumer of your data. Miss one? Better dig back into your implementation code & implement that use case each & every time a new one comes up.
The only part of GraphQL that is standardized is the query syntax. In SQL, the actual underlying relational data model exists and the syntax of queries exists within that context, not so in GraphQL land. In SQL, I define my data structures, and users can write queries and access the data. But GraphQL throws up it's hands and says "not my problem, try one of these libraries that ask you to implement your own custom data access functionality for all your data types".
OK, so it's a rubbish query language, but even the graph part of the name is misleading. Assuming that you even have a domain that it makes sense to model with a graph of types, GraphQL provides you no tools for dealing with the backend complexity of such a design. Because the syntax is so simplified, there is no mechanism within the syntax to define rules about relationships between types. For example, imagine a simple parent/child relationship. There is no mechanism within the syntax to tell GraphQL that for parent X, parent.child = parent.child.parent . So you can't even think about writing a GraphQL query optimizer, because there isn't enough information about the structure of the data encoded into the schema or query to do so.
So in practice no GraphQL implementations that I know of have anything resembling a query optimizer - someone asks for cart.item, and then item.cart for a cart with 1000 items? Have fun re-requesting the cart from your DB 1000 times (yes you can cache the item by ID to save a DB lookup, but we shouldn't even need to hit cache here! Every programmer involved knows the data is the same, it's just dumb GraphQL has no clue about the details of the relationship).
comment 5y ago · link · parent
You just cannot revoke existing license terms.
comment 5y ago · link · parent
In this context ABI breaking changes are not viable due to the proliferation of pre-existing compiled binaries. What the standard says is only half the story...
comment 5y ago · link · parent
So at least for software libraries building from source is definitely viable. Fro end user applications it's another story though, doubt we will ever be at a point where building your own browser from source makes sense...
comment 5y ago · link · parent
This same property makes CMOV useful in Spectre mitigation, see https://llvm.org/docs/SpeculativeLoadHardening.html
Keeping CMOV slow is now an important security feature.
comment 5y ago · link · parent
That said unicode is not free from typesetting weirdness, see the character ﷽.
comment 5y ago · link · parent
It's much easier to measure large effects on a single metric, than small effects distributed over a wide range of metrics. Concentrated effects that affect one individual/org/group are favored over distributed effects that affect everyone. There are so many examples of policies where this thought process has been applied.
comment 5y ago · link · parent
In traditional finance all water has been wrung out, but in crypto relatively unsophisticated versions of strategies like arbitrage can be quite successful. Traditional finance institutions are more sophisticated and have more resources than their crypto equivalents. I really think traditional finance orgs need to realize they can employ the same skills to the crypto space with a much lower investment for the same returns because the space is so immature.
comment 5y ago · link · parent
Tether uses this scheme to issue loans and collect interest without the pesky step of actually having cash reserves to loan out.
comment 5y ago · link · parent
I've had multiple experiences of issues on the device side causing the entire explorer.exe process to crash!
Explorers handling of the MTP protocol is not resilient to badly behaved devices, would not at all be surprised if there are security implications where a badly behaved MTP device can get an RCE in explorer.
comment 5y ago · link · parent
I'm just not really sure what the "killer feature" to bring users back is? Chrome has kept their core UI relatively stable since forever. Meanwhile we are onto another big Firefox redesign where we make the tabs look different? Why follow UI trends (big spacing) that your core userbase dislikes? I could understand it if Firefox was a different kind of product, with a different set of users.
I don't really know what Mozilla should be doing here, but I don't think these annoying UI tweaks are it.