skysight-inc/HackerNews huggingface dataset:
This is a UI-centric take.

There are lots of internals that could/should be shared between apps. Recently relevant examples: a customized WebRTC stack, a websocket client with extra authentication and delivery rules.

FWIW, my take on this has been to embrace Conway's law: if you have enough shared work to form a team around it, then break off a c++/whatever library and a team to maintain it. But if the hope is just to save 200LOC here and there, just bite the bullet and write it twice.

Big thanks to whoever pointed out Kotlin Native: seems interesting enough to poke around with.
You are misinformed. Freelancers pay the exact same social security, Medicare and other taxes as employees. The bookkeeping is slightly different, but the amount collected is identical.
Here is a longer form of argument from another person.

Tipping shifts the burden of paying staff from the employer who already derive most of the benefit from the staffs work to the patron who is pressured to pay a large bill than presented to make up for how shoddy the employer pays.

For the most effective and the most attractive wait staff especially white females in the most lucrative or the most inebriated environments they actually may make more than they would if paid a flat rate by their employers.

For the majority they are probably paid less. It's like a tax collected from black, ugly, or fat girls and given to 20 something females with nice boobs.

It replaces a negotiated predictable bargain struck after due consideration between adults with the whims of the odious masses who get to decide if their server gets paid based on whether she has sufficiently kissed their overly broad asses.

In some states they allow the servers to be paid less than minimum wage so long as they "tip out" which is to say they earned enough tips to ensure they earned between both sources the federal or state minimum.

Requesting the employer to make up the difference between tips and minimum even on a slow shift without enough business is a sure route to termination so staff are strongly encouraged to help their employers break the law and ultimately steal from them.

There are so many downsides and so few upsides and the upsides accrue nearly entirely to employers and a fraction of servers its hard to imagine anyone seriously arguing in favor of tipping.
“gource” is pretty cool. It generates an animated history of all commits, visualized as authors pushing into files.
End of the day, they’re stealing bread. Sending them to a prison colony on the other side of the planet is perfectly justified.

No mention of the reason they are stealing bread because reminding the population of the exploitation of the proletariat by the bourgeoise is forbidden!
Not every user has to understand every macro. But the output of a Rust macro is valid Rust code whereas the output of a C compiler is not valid C code.

As a consequence, criticising the complexity of whatever a C compiler generates cannot possibly be valid criticism of C's complexity on a _semantic_ level whereas criticising the output of a Rust macro can be valid criticism of Rust on a semantic level.
Interesting. What does Datadog cover that NewRelic doesn’t?
It would be more constructive if you would apply mathematical reasoning to your post and come back.
for thirty years (or more) here in California (home of exciting computing technology) professional Architects have been piling up as dead bodies on beaches and on the side of the road -- ok, not really, but almost. Every brilliant artistic and scholarly 16 year old wants to be an architect, then school admissions, then graduate programs, then debt and no work (for those that make it that far). Major Architecture programs at a certain top-10 school have a "Suicide Prevention" poster in the main hall. Money in the United States is aimed at fast and profitable, not design and long-lasting. Hundreds of large houses in Los Angeles, perfectly good, torn down to be replaced by larger interior-square-footage boxes, as fast as possible. McMansions in the extent Bay Area are made of sheetrock and Home Depot materials. Am I exaggerating? sadly, no.. How can innovative software be designed and profitable in that environment ?
> Oh no, of course the individual(s) that promised those things aren't divorced from reality.

I didn't say that. From a business standpoint, it seems like a very long shot.

What did you expect the advertising campaign to be like?

"We don't really know what we're doing, we're going to fuck this up, give us your money!"

CAVEAT EMPTOR (Kickstarter terms of service, paraphrased)
What does that law mean for software engineering contractors? Currently, I need to work at least 30 hours a week to qualify for full time benefits, and the law actually prevents me from heaving a group health insurance benefit until I am considered full time. Does that change with the new law?
> you'd likely be better off putting your long term savings in Boeing stock

lol if poster above started storing money in Bitcoin in 2011 there's a good chance they are the wealthiest person in this thread.
> Yes, tipping in the US is insane, and it's getting more insane with iPad tipping.

Is iPad ordering becoming something common in the US?

A few months ago, I had a layover in Newark (or maybe it was JFK). I was surprised that all restaurants in the terminal used iPad for ordering, there were literally iPad everywhere. The staff didn't even bother to inform me that ordering via the iPad was the only option. Eventually, I ordered but felt entitled not to tip.
Charity isn't charity if I'm benefiting from it in any way. It's a business deal at that point, though likely asymmetrical.
In deed this has been suggested to me by other people (of course _after_ discussing above software with them :). Yet I believe siproc still has a few benefits to offer, most notably not having to set up/build a full PBX to run it.
It’s possible to get polarised lenses that have about 50% transmission which is quite comfortable for computer work. At least for me they are anyway.
Even the personal computer software business has been around almost 45 years if you count when Bill Gates was selling BASIC interpreters in the mid 70s.

What “safer” alternatives are better that give the performance needed, with tooling available and the cross platform requirements that the poster needs?

Also, you haven’t explained how a security vulnerability from a third party app can be “used for piracy”.

Where are all of the corporations that are being sued because of software quality and not using “best practices? I would say just the opposite, companies are being sued if anything for not meeting delivery dates.

The definition of enterprise software is basically poor quality software where the user is not the buyer and they have to work around bugs.

Consumer software is no better.
I don't get it - if you are fine paying the exact same amount why does it bother you to add that as a tip?

I can understand people that say that the cost of meals are in fact misrepresented because you are expected to tip. But if that is not factor I don't see what makes it so unbearable to add 20%
> The old canard applies here: first they ignore you, then they laugh at you, then they fight you, then you win. I suppose Purism is entering stage 3 right now.

That applies to competitors.

When it's your customers laughing and fighting you, you're very much not winning.
It's just not plastic.
If You’re Going to Get into Bitcoin Avoid Doing Business with This Man-Vessenes
Let's I have an all electric car and sign up for your program. How would I calculate the cost to me of the shortened lifespan of my batteries? Would the manufacturer honor their warranty if I used the car for not only driving but also as part of a battery bank?
> So I certainly don't think async/await is wrong for C++/Rust/Zig, but I think it's wrong for, say, JavaScript and C#, and we're going a different way in Java (more like Scheme's).

How can it be wrong for JavaScript? Because JavaScript is a single threaded environment, it was the only possible choice and it's one of the most influential change in the language (in itself it changed more the language use than the whole ES6 bundle). It's a really great success and I'm not sure why you'd like to revert it.
“If I gave my customers a gift it would be an illegal bribe and I could go to jail. My customers are government.”

That’s a flawed analogy. The server is not a customer.
Here's a Mozilla blog post about rewriting Firefox's Sync client code in Rust so the same code can be used on desktop, Android, and iOS. The FFI between the shared Rust code and C++, Java, and Swift app front ends is a little hairy but well encapsulated, generated code.

https://hacks.mozilla.org/2019/04/crossing-the-rust-ffi-fron...
ORM's have improved considerably over the years, but I've always been a bit hesitant to use them.

I've seen a lot of developers begin to believe in the abstraction, and forget the underlying access.

This has caused performance problems with increased round trips to the server, non-obvious indexing strategy issues, and code tightly coupled to the ORM rather than the data.

I get especially suspicious with framework-type ORMs that can cause a massive rewrite between major versions. It's costly, time consuming, and doesn't provide any application benefit, it's only new forms of abstraction.

ORMs are seductive, because a lot of these issues aren't obvious when you first start using them. The marketing is usually pretty compelling. Unfortunately, by the time you start to run into issues I've described, it's normally too late to change paths.
And 1080p glasses arrive next year. Beginning of the next big platform migration and software rewrite.

But we're still tied to keyboards. "Screenless" laptop use relaxes some ergonomic constraints, so perhaps comfy chair and floor work might see an up tick. And head tracking means you're looking in more directions, which expands potential distractions. Perhaps "I have nicely blank walls and quiet visual field" becomes desired. "Are sofas and eye googles the next cost-optimized office plan?"

But HUD and ambient information seems to have a different feel than the current laptop, phone, and wall screen combo. Sure you could point your phone at someone and get information, but simply seeing people with a halo of information is pragmatically very different. And we haven't even started to talk about how that might change organizational opportunities and constraints. Or the office infrastructure to support them. We're entering poorly scouted territory.
You say "could happen" he says "must happen". SQL won't be able to lower the complexity needed. But in the app level it is just a matter of being good programmer or under good review process.
* >90%
Automated and consistent GraphQL APIs for all CRUD operations and a simple extension layer (through events or remote schemas) are our reasons to work with Hasura. It's fantastic. The performance is very good too because of how they optimise queries.
Ask HN: Does all this negative press affect Facebook at all?
I've heard about the 'end of Facebook' since the days of Diaspora. Their userbase and revenues have kept growing and their portfolio has continued to expand to include 4 apps with over a billion users.

Will 'breaking up' Facebook really have any impact on the industry? I was too young in the days where Microsoft went through a similar investigation.

I understand the backlash and don't use any Facebook products outside of Instagram.

I know many here and on reddit hate Facebook, so do many in the media and in politics. Yet, this is still a small vocal minority it seems.

Most people I know have mixed feelings about social media but do not dislike them enough to delete their accounts.
The omission of "Disable third party cookies" is fairly shocking. From my understanding, it might be the single most effective thing you can reduce tracking. Whenever I get the chance, I recommend the following pieces of Internet hygiene to anyone and everyone I can:

* Disable 3rd party cookies

* uBlock Origin

* Privacy Badger

* HTTPS Everywhere

These things are all dead simple and will significantly reduce your trackability. Of course they are far from comprehensive or perfect, but it's the Internet equivalent of washing your hands after you go to the bathroom.
> Architectural rendering is overrated, it only exists as a way to sell the project to clumsy end users, investors and city planners.

Right but isn't it overrated because it only exists as a way to sell the project? Surely the software could be improved to the point that you can use it to make decisions?
They mutate. 'Resist' implies intent which they don't have. But they mutate when they reproduce. Some mutations will given them drug resistance but they haven't lucked into them yet.
I'm surprised no one has pointed out the value of Ionic Framework (https://www.ionicframework.com). I'm a huge, huge proponent of this. TypeScript is a great language (in my opinion), UI code-sharing is inherent, and Capacitor (https://capacitor.ionicframework.com/) is great for all the native work you need to do. Worth noting you can do this in Angular, React, Vue, or pure JS.

This won't suit your needs for processing-heavy apps (though can WebWorkers help), but will work well for many apps (https://csform.com/top-10-apps-built-with-ionic-framework/ for a "top 10" list for examples).

I noticed after submitting that you mentioned machine-learning. Any reason you can't offload that to a web API and take the load off the client?
I don't like the way postgres doesn't have the ability to switch query plans mid query.

Frequently a query plan turns out to perform nowhere near as well as the planner expects (for example, because the data distribution is poor, or a key being filtered for doesn't exist). In those cases, flipping the query plan around could turn a 1 hour query into a 1 millisecond query. Yet postgres doesn't have the ability to do that.

Sure a human can sometimes use domain knowledge to sometimes be able to rearrange the query to force a plan that works well, but in the general case, the database shouldn't have performance drop by a factor of 1 million because of semi-arbitrary planner decisions. Being able to try multiple possible plans would be a massive start in solving the issue.
It’s also easier to avoid buffer overflows in C by using the “n” variants of C string library functions.
Hmm, how about no? "We launched an encrypted file transfer tool, but we forgot to sanitize input" is somewhat pathetic in 2019. What else has saferequest.net fucked up?
That's interesting, is that documented somewhere?
Agree 100%. When this essay first came out I was totally on board and created some excellent hyper-niche products...that were too difficult to find an audience for.

After that I went for huge market and everything became SO MUCH easier.
>Most people believe (at least as far as I know them), that google results are better than bing.

This doesn't help. A lot of people believe things which don't always hold up to scrutiny.
> These are hardest to detect and avoid in the case where business logic depends on no rows matching (count(*) == 0), eg. meeting room scheduling systems, because there is nothing for a transaction to lock!

The predicate lock held by a read transaction at the serializable transaction level will, in fact, prevent this. If you need something that secured it between DB transactions because you need a longer-running business transaction but need to avoid long-running DB transactions, you can place a hold with a pending record in a reservations table and appropriate exclusion constraint without a stored proc.

> Stored procedures can avoid this entirely, even under the weaker transaction isolation levels, by keeping all the logic in the DB and running it atomically.

Isn't that just manually replicating, on an ad hoc basis, the machinery the server already has for implementing serializable isolation level? There may be times when doing this by hand is justified for performance or other reasons, but in general doing special-case replication of features for which the DB server had general solutions is a pretty poor use of development time.
> but to the average person/consumer, i would say that’s probably a different story...

Not really, people are not stupid. They can see through that.
Like the comment above pointed out, no obligation to tip doesn't mean it's not poor form not to.

I'm German and I always tip unless the service was really bad. I'm not the only one. [0] Quick Googling confirms this is true in France as well (96% of customers usually tip according to that link) [1].

[0] https://www.welt.de/gesundheit/psychologie/article177457710/...

[1] https://www.google.com/amp/s/france3-regions.francetvinfo.fr...
A lightbulb moment for nuclear fusion?
He never said SQL was bad, he said use it to query data because that's what it is good at.
(The UK is in Europe.)

10% is expected in the UK, but it is often listed on the bill as "service charge" - then you can leave nothing.

Rounding up the bill to the next nice number is expected in Germany.

And I've been to 26 countries in Europe, so I know better than to generalise across the whole continent.
> how much of the $5.5bn is Spotify?

The record labels will take all of that, so I'm not sure what your point is.
Do it! Perhaps give us a preview?
Yes, they can do similar things. However, there are several cases which you cannot handle automatically, due to incomplete information:

- The current schema has a column A and the new version does not have A but a similar column B. Is this a new column? Or should A be renamed into B? (same for renaming tables)
- You add a new table A which contains columns from B, which are also removed from B. Should this data be copied?
- You change the structure of a table, and have some of it split off into different tables. How does the schema tool know how to rearrange the current data?

There are probably some more cases, but these are the ones I could think of quickly.
Your first response laid blame the consumer. Your second borders on incoherence. Perhaps you shouldn't be the one to say that anyone is divorced from reality.
The incentives are strong. My electricity is 50% more expensive before 9pm. So I set my timer (a one time setting) for then.

Problem solved.
>when talking to them on a C-Level basically know where the puck is going

I believe that's largely because they spend a lot of time listening to their customers, understanding their needs and sifting through the trends in their businesses.

What's harder though, is inventing the future. Apple I believe did it in some ways with the original Mac, iPhone and iPad, and Tesla are now doing it with their cars.
Rewriting something that works is a terrible idea in the first place.
Seems better to read the source blog post than BI's clickbait aggregation of it: https://pando.com/2019/10/23/we-sold-pando/
Datomic solves this tension by letting you upload Clojure code into the database to run as (basically) a stored procedure. So there isn’t a tension between programming language and query language, there’s no network between them, they compose directly and are interchangeable. Do what makes your code simplest. Program your database with the usual data structures, if-statements, function composition, the standard library you’re used to, and share library functions between your backend and database at will (even compile them to ClojureScript and run them in the UI!)
I would suggest having a try_files in the .php location. Because it just takes someone sending a request to index.php for Nginx to process the request in a potentially vulnerable location block that doesn't have try_files.

You perhaps might not be vulnerable if you use an internal directive inside your .php location block.
The value of it is very high since it allows download pages to show you the correct info for your OS.
Inspiring LatinX Leaders in Tech
Having traveled extensively in Europe I will say that I came to believe that the American wait staff is more attentive, more courteous and more friendly by large margins.

I am talking casual dining here, Applebee, TGI Friday, etc level of restaurants where you get a decent sample size across many locations.

European restaurants just charge you an arm and leg for water - 300ml - that will be 3 euros, refill ... pff, cough up another 3 euros! There is your "tip" built into that overpriced water, right there.

Thus I find these types of articles quite unconvincing, where all personal empirical evidence says different
File Systems Unfit as Distributed Storage Back Ends [pdf]
> Isolation and depression is due to lacking social skill and not having the drive or insight to develop that skill.

You are oversimplifying the issue. Please find some insight that there's more nuance here.
Tax is paid, and there's no longer unfair discrimination due to age or sex appeal of the waiter.
I think Facebook does a fantastic job of demonstrating the value of their tooling that they open source.

Buck: https://buck.build/

Presto: http://prestodb.github.io/

The front page of these contain the project name, one-line elevator pitch, long form description, and an automatically playing demo of the product.
Legally, I see no difference. It's a matter of equality under the law. Everyone, including corporations, has the same property rights as everyone else, all theft is illegal. This is beneficial for decreasing instability and corruption in a society.

I would guess your underlying contention is the wealth disparity, but that is a different issue with better solutions than weakening property rights for rich people or corporations.

And prefacing your comment with 'with respect' does not excuse accusing those who disagree with you of having inadequate 'critical thinking skills'.
Phh-Treble author here.

First, to outside looks, your post might be confusing: GrapheneOS and (Phh-)Treble are independent, and complementary. GrapheneOS is focusing on hardening Android (and tbh I'm impressed by Daniel Micay's work). Phh-Treble is about bringing AOSP (the fully opensource Android provided by Google) to the maximum of post-Oreo devices, but using OEM's proprietary drivers.
It is technically possible to make a Phh-Treble GrapheneOS, to have an hardened Android that runs on any post-oreo Android device, though that's probably an heresy.

Going back to the subject, I have to say that (one of) my goal when doing Phh-Treble is that some people use my work to create a whole new "Smartphone OS". There are many restrictions, and such a "new Smartphone OS" would probably need to be based on Android to be able to use Treble, but still, imagination is the limit, and you don't need to worry about the drivers! You can just create whatever you think has value, and pretty much anyone can use it straight away! And I'm not just thinking of FLOSS-oriented, privacy-focused, I'd be happy to see alternative "Smartphone OS" emerge.

Looking at Android as it is today, and the opensource apps the community has made, it is possible to make a privacy-focused "Smartphone OS" that is usable to the masses without much effort.

Some other post mentioned /e/, who are people that actually are trying this route. (Though they are totally ignore Treble for the moment...) Though they get quite a bad reputation, for fairly good reason (for instance there are few google "trackers" inside AOSP. they are easy to remove, yet /e/ still have them)

I personly have tried to maintain a distribution of AOSP with pre-installed FLOSS apps to get out of Google's ecosystem, but I haven't had users for it.

Back to the subject of Purism and Librem 5, even though I'm happy such an initiative exists, I feel like they are trying to do too many things at the same time. In my understanding, they are trying to:
1. Make a secure hardware (cf modem over USB)
2. Create a brand new Smartphone OS, going down to drivers, up to applications themselves, basically from scratch.
3. Make a device that runs mainline kernel.

All of those steps can be done independently, and have much higher chances of success if done independently. Also the skill-set required for those are extremely different