skysight-inc/HackerNews huggingface dataset:
While there may be some negative news coverage of China's actions, most of them are within or at their borders.

I have yet to see recent news of them bombing other countries, kidnapping people from around the world and destabilising regions around the world.

In truth, I'd rather have neither of them bullying others but if I had to choose, I think the less violent bully is a better choice.
Twitter/CNN
PostgREST is far more secure than most API servers.

Any API server can leak data. Most API servers define their own, native, completely one-off security system that does all checks in-app and logs into the database as a superuser. The framework-du-jour is basically an insecure rooted processes by definition.

PostgREST logs in with zero privileges. It then uses Postgres' native role based row-level security system to control access. Are you saying that is insecure?
Any results you can share?
10x engineer is underpaid senior working as middle/junior.
or underpaid architech/principal workong as senior engineer.
> So we need to be on call continuously, 24/7, meaning we can't ever be off the grid or unavailable?

The well-established solution to 24/7 availability is to operate a shift pattern.
Probably a lot of them and even if they don't journalists do as BBC is the source for many articles that are later being translated and editorialized in local newspapers.
Programmable money isn't new, we've had it for ages
> I recommend the Apollo app

Seconded. I used Apollo on iOS and now I use Boost on Android.
Many of these points seem to mask larger issues and be focused on a particular type of application. Very technical, experimental, or fault-intolerant applications may need a different balance of factors.

> Engineers should operate their code.

Are engineers the customers? What matters is the customer experience. Getting engineers directly involved risks lowering of customer priorities.

> Buy ... beats build

It depends on how much control you need. Sure it can be quicker and cheaper overall, but if available systems are not actually a match it is only a matter of time before some customization or a custom system is needed. Try to find and commit to the right balance as soon as possible.

> Make deploys easy

This really depends on the kind of system and its usage. In fault intolerant systems it makes sense to take deploys as slowly and carefully as possible because the risk of problems even from changes that are considered fixes is not tolerable.

> Trust the People Closest to the Knives

In the larger picture this is marketing who must focus on knowing the customer and their needs.

> QA Gates Make Quality Worse

Some interactions are difficult to automate. It often makes more sense to slow things down to get the quality right than to go fast and increase risk.

> Boring Technology is Great.

Depending on your goals and context. Does boring sell? Are your customers requesting boring?

> Simple always wins

That is similar to the boring rule above, but with the added complication that simple is subjective and context dependent. Perhaps some complex existing mechanism can be adapted, so is that really simple or not?

> Non-Production Environments Have Diminishing Returns

But they are essential returns. If the engineers can get the thing to work on their desks then it isn't likely to work for customers.

> Things Will Always Break

This is pure squittering. In some context providing services that do not break is the key feature. For many products markets will reject this modern view of moving fast because it is okay to break things. Some customers are tolerant and will pay extra for special functionality, but others are intolerant and would prefer robust functionality to engineer maximization.
I think they can be taught. By setting out to teach rather than boast about experience, ive seen senior developers instilling better soft-skills in new grads. A lot of new grads just aren't thinking about this stuff as much as the tech but once you take them under your wing and walk them through how the presentation of an idea will let it be received better regardless of technical merit they begin to see it.

It may take 10 years to blindly learn these skills but with a single, good mentor you can learn it quickly. I think most senior developers dont have the patience nor the transparency to lay this out though. Its a very honest conversation to have with someone - "Hey that idea you had is a good one but your presentation of it is problematic. Here is how you can make people more likely to see your point of view" is not as sexy as debating microservice vs monolith.
Would you say the same to people with late stage cancer?
Neither. I would like there however to be a credible power to challenge U.S. policy, perhaps China even, so that it's hard for both sides to get aggressive policies implemented internationally as there's credible pushback.

Right now, there's practically no pushback on crippling U.S. sanctions against Iran or Venezuela for example.
Trucks do...wait for it...1,400x more damage to roads than standard passenger vehicles do.
FTC commissioner met with Apple regarding Facebook’s iOS 14 complaints
ego blog post.
How do you track the number of Kms driven? Is it possible to do so while maintaining the privacy of individuals?
This is a lovely document, typical of SQLite authors and why it's such a great piece of software.

If they are going to ask kernel filesystem authors to provide a better API, I have long felt there is one obvious API type which is missing from Linux and would be better for filesystem databases than other approaches:

fdatasync_rangev()

That is, like fdatasync() (including committing size & filesystem structure blocks needed to retrieve committed data later), but only committing the data within a set of byte ranges, returning when that's done. So that it doesn't have to wait for all the rest of the data to be written.

That would allow the WAL or journal to be efficiently part of the database file itself. No need for extra files, file creation and deletion, directory operations or syncing directories. That's a bunch of durable metadata writes that can be removed, and filesystem implementation details that can be avoided.

It would also allow atomic and durable writes without the need for writing twice in some cases, depending how the data is structured. (First write to the WAL or rollback journal, then to the database main file). That's a bunch of data writes avoided.

In cases where it can avoid two writes, that would also remove the intermediate barrier sync, doubling the commit-to-sync throughput.

Ideally like other I/O (or at least reads) that should be available in a sensible async manner too, with completion when the covered data is committed durably, and only that data. I'm not sure what system API would provide good async I/O for something like SQLite though, if it's not able to use AIO or ui_uring due to kernel API being poorly suited to a self-contained library.

Finally, a couple of variant (probably via flags).

"No rush" flag, to let the caller wait until those ranges are committed durably, but not force them to be written faster than normal. That would allow ordinary fast buffered-write speed, while at the same time providing the usual ACID guarantees that a DB returns success from COMMIT when the data is durably committed. For some workloads that would be fine.

"Barrier" flag, make the call return immediately but delay all subsequent writes on the same filedescriptor until the ranges are synced durably. This is similar to what's mentioned in the article, but more versatile by attaching to ranges. It's also not strictly necessary if you have the "no rush" flag.
I think the intent is what’s up for debate. Perhaps Marak has a hobby and isn’t making explosives for malicious purposes. Ok, cool.

But you still don’t keep that stuff in a dense apartment building.
Yup. Postgres cannot send confirmation mails, push notifications, make calls to Stripe or anything really.

I cannot think of a situation where an API only handles CRUD data and lacks any behaviour.

But, If your API really only is pushing data around, ' such tooling is usefull and probably saves a lot of time.
As a junior SRE, I'm going to need details on how you got to these pay and consulting levels ;-)
I think it's actually asterisked. Iirc you get flagged over a certain amount of traffic, but I can't remember if they cut you off or just force you to pay more. I think it was several TB last time I looked.
It's available for Firefox as well: https://addons.mozilla.org/en-US/firefox/addon/old-reddit-re...
> If you are an expert on the topics of color management or HDR displays and content, or a developer interested in contributing to the project, you are warmly welcome to join the development.
The numbers are actually much more objective than if they were to mix in all of the subjective quality of life elements that you're describing. This isn't a table of the best places to live.
Bingo... If student loans are forgiven, I’m signing up for aviation school just for the thrill of it.
How does this compare to OneAPI?
Well, you see, landlords are a classic edge case of property rights and unregulated Capitalism.

Capitalism is praised as a motivator for people to contribute to society with the promise of fiscal returns. Landlords make zero contribution, while attaining huge returns.

Abolishing landlords would accomplish one of Marx's most significant goals without completely throwing out property rights and capitalism.

> How would that one work?

Well, like any implementation, that's up for discussion. The general idea is that we would remove the ability for landlords to charge rent. Landlords would have an explicit infringement on their property rights. They would no longer have the right to demand recurring payment from occupants of their properties. They would have restrictions of their ability to evict tenants.

Of course, the implementation is where this idea gets contentious. Are landlords allowed to evict tenants who destroy property? Do landlords even own property anymore, or is it explicitly given to tenants? What about multi-dwelling properties? Who owns the furnace in an apartment complex? Do we create a third-party authority? Can any of this be accomplished without full-fledged Communism?

Most of the complications lie in the change from status quo. It's pretty complicated to decide who owns property that is already owned by landlords, but it's pretty straightforward to make it illegal to enter new rental contracts.

I agree that simply throwing out the words "abolish landlords" trivializes a lot, but it's still an idea worth exploring. What we have now isn't inherently better. It's a pretty obvious failing. People are homeless while homes lie vacant. People are inheriting huge swaths of property, making wealth and power, then turning that power toward policy that benefits them. These are real problems, and they deserve attention.
> Reddit hate their users don’t they

Users want to use the service but they don't want to be monetised for that use, seems like an antagonistic relationship.
Congrats to the GCompris team! Huge milestone, and looking forward to more amazing things coming ahead ;)
What kind of quantity of newly released methane are we talking about, compared to the methane produced by trees and other plants?[1]

1. https://www.npr.org/templates/story/story.php?storyId=515109...
Not 24/7/52, on a rota. And paid. It doesn't mean no work-life balance, it means part of the work is being available when on-call (limited 'life'), and life as normal when not.

It's hardly some horrendous controversial idea, nor unique to software engineering.
I like to call it "Digg-nified" as in reddit is fiddling with everything adding things members don't want.

Soon like digg they'll drive everyone away. The golden goose will be cooked.
Because the bar was already lowered. Hiding disingenuity behind civility doesn't make it any less petty.
Road taxes should be directly proportional to how much wear a vehicle causes to the road. That ranges to effectively zero for bikes and pedestrians to dozens of times as much as a car for eighteen-wheelers.
> When you need to integrate with 3rd parties though you're right back to writing traditional backend code. So now you have extra dependencies and a splintered code base.

Those third parties can still talk to the same database. We use this pattern all the time, PostgREST to serve the API and a whole bag of tools in various languages that work behind the scenes with their native postgres client tooling.
This is such a self-fulfilling prophecy it hurts. Especially having been in leadership programs with other engineers in my early 20’s and go on to see them have some of the best soft skills in my later years.
After 3 Fortune 100 companies, I have met a magnitude more of software engineers and infrastructure engineers over 40 that refuse to speak up and refuse lead because they see same thing over and over again, new older leadership comes in tries to change things a bit, they just keep developing software, and question why does it matter to lead or communicate.

I currently work on a team of 10 engineers and 2 of them over 50, asked me what was GraphQL, when I did a public demo on GraphQL APIs around it. We are in a department that runs an e-commerce product with 30mil+ monthly visitors.
How does a 25, 26, 27, year old automatically mean bad at public speaking...? Personally, my best manager has be 28 years old.
Thanks! I am going to check out PurgeCSS.
I love these little examples of the government acting literally like mafia bosses.
Late reply, but I didn't see comments here the first day.

There is a Notes section under each video that has an overview of the topic. Don't know if it's a complete transcription but it seems to get the highlights.
HURD? lol are you kidding? It’s older than Linux, and wasn’t even “new” since NextStep was already using the Mach microkernel.
> Google automates, DDG leaves me to choose. I prefer the 2nd approach every time.

This is exactly why I like DDG way more than Google and why I love to use Alfred instead of Spotlight on my Mac. With DDG you have !bangs and with Alfred you also can tell him what you’re looking for. 99.9% of the time I know I’m looking for a file or a folder or a definition of a word or want to open an app or want to search the web etc. With Spotlight you’re stuck to the order Apple designed the results to show up
Quite broad advice that just seems bad for new programmers.

Like, ask for help? You need to learn to solve stuff without disturbing the team.

Vote with your feet? Juniors are not in the position to do that.

People can't read your mind? Actually people are quite good at reading your mind and alot of things are supposed to be said by indirect hints to save face.

Soft skills? Way overrated - just don't be toxic and avoid obvoius trouble.

Know your worth? Build a brand? Say no?

This guy is just listing stuff he gets away with by not being new to the field. The advice would be worthless to himself when he bagan ...

Edit:
The one advice I would like to have had is "no-one will notice if you give 110% or keep a 60% substainable pace. Relax and keep grinding".
On the other hand, not everyone is saving. Also news from today:

> U.S. household debt rose in the third quarter due to an increase in mortgage balances as consumers took advantage of low interest rates to buy homes and refinance loans
My health issues came along with significant cognitive effects, ones that significantly affected my career.

I can't speak towards schizophrenia specifically, but you work through mental health like any other obstacle: if it turns out to be an impassable mountain, then go around it.

This is what I hear in GGP's message, and it strongly resonates with my own experience.
Do I need to specify that I'm talking about modern computers? That's an interesting bit of trivia though.
There is -x c in the make.sh, but you actually got me on this, I am not sure which version of C that flag chooses. But I just tried adding -std=c99 flag and it works just fine, so it is indeed in C99.
That, and it usually against progress.
They could also just move all college loans to Fed interest rates of near 0%.
Every car has an odometer... one could think of a relatively convenient scheme where you can get your car inspected once a year at any refueling station, and tampering with the odometer is a crime. Won't stop everyone, but does it matter?
> Yup. Postgres cannot send confirmation mails, push notifications, make calls to Stripe or anything really.

You put an item in table queue using SELECT FOR UPDATE ... SKIP LOCKED and some out of band consumer sends your email.

PostgREST isn't about doing everything in the database it's about doing all the same patterns you already do but with less boilerplate.
Seriously thank you for Cold Turkey. I purchased Pro about 45 minutes after getting the recommendation and checking it out. This should let me get out of my back log hole in a week or two, and stay out of it. I've been stressing out for weeks that I've been unfocussed... I'm not sure the feeling will go away, but the unproductive side effects can be minimized. This isn't just a productivity boost for me, it's a mental health boost. Feel free to use that as a quote wherever you care to.

Micromanager looks interesting, though the advanced features of Cold Turkey Pro kind of let me do the same thing. But stripping off bits of features into less expensive stand alone apps seems a good idea for people that have specific needs instead of my more systemic attention issues at the moment... homeschooling kids while WFH is hard, switching back & forth without letting more distractions side track me is harder than I'd anticipated.

And if you had something for phones that did this, I'd buy that too... for now I'm just leaving my phone in another room. Low-tech & free!
They will start answering questions around 12pm PST (~1 hr 15 mins from now)
Good memories with cats in the Princes islands:
https://en.wikipedia.org/wiki/Princes%27_Islands
Because I don't want to pay for both my doctor and your doctor so you can pursue art. If that's the deal, then I'll go pursue art too.

Now we both need to hope that there are plenty of progressives out there who will go do real work so they can pay for our doctors, comrade. And not get mad at us wreckers who spend all day pursuing art.
I do something similar. When I come across something that could be a question in my anki deck, I draw a 'Q' next to it and when I create my deck, I can just go there. It is much faster than highlighting and is pretty quick.

I think highlighting is an anqiquated note taking method. I often feel like I end up highlighting not enough, or too much.
The problem is our political system has stopped trying to solve issues or evolve.

I agree with you, but at this point we are just applying as many band aid fixes as we can until it really burns down or a political evolution happens.
> It's perpetual if you do that for every class into the future.

In other words, it's perpetual so long as we perpetuate the underlying problem.

So let's solve the underlying problem, too. By instituting Student Loan Forgiveness, we are suddenly motivated to overhaul our higher education system so that it does not demand student debt.
What's interesting is their proposed scheme would already work with Lets Encrypt acting as the CA. I'm not sure why they think they need to have a subordinate CA.

Keep the goofy ssh key based dns registration and provide users with a SSH-hash.luci.openwrt.org A record pointing to their public IP, then just let LE and ACME do the rest.

Mikrotik's RouterOS (and I'm sure other commercial router distros) already provides me this in the form of <stringOfHex>.sn.mynetname.net (though I have to do the ACME myself via script or from a host inside the network).
Does PostgREST have functionality for authentication and authorization?

I guess you could front it with a reverse proxy if not, but would be nice to have auth built in.
If your premise is true, then the most redistributive governments would be the most civilized.

20th century communism would not provide a lot of evidence in favor of that theory.
> This is not a good idea at all.

It's an excellent idea.

> One of the main point of a REST API is to abstract away your internal data structures for the clients that makes sense.

One of the points of database views, which are much older than REST, is to abstract away your internal data structures behind facades that make sense for the clients.

> Also refactoring and database migrations should NOT change the public API of any software, especially not a REST API.

That's...inaccurate. Refactoring, including of the base storage layer shouldn't. The exposed schema of a database is an API, which is logically distinct from the base storage layer. Some designs may just expose base tables and handle mapping for the client outside of the database, but there's no fundamental reason it has to be that way.

> Now, when using something like this, even the most basic change will have a ripple effect on your whole infrastructure and break every client.

No, it won't. PostgREST exposes a single schema. There's no reason that schema should contain low-level implementation, just the views defining the public API.
Is the project manager called too? Or is it just the developer who gets pressured in delivery and then pressured in maintenance, basically at the very low end of the food chain?
Note that they talk about opening and calling fdatasync on the parent folder? That is to handle that change in size
Yeah, Fedora stabilized the upgrade process a lot in its twenties, both from what I've heard other people talking about and my own experience pulling a couple of workstations from... I wanna say version 23 to 28? (I switched off for unrelated reasons.) Very usable now.
Because of lack of modularity. Drivers became really big over time and those usually live in the kernel. It would be great to see a more detailed breakdown of the actual space usage of recent kernels.
I dunno, I've met one person who is 10x better than me and I'd consider myself average. I think they must just be very very rare. It's difficult to measure "better" in some cases anyway - you could have 1000 average engineers and they'd never come up with a bloom filter or arithmetic coding or whatever.
> If china bullies too much the US and Europe will ally together against them.

Right. My problem is that the U.S. already is bullying too much and nobody pushes back against them, if it takes China to do it, so be it. I wish the EU to grow a backbone, but it is unlikely to happen.

I mean you have the U.S. sanctioning MEDICINE to Iran in the middle of a global pandemic and threatening Europe with secondary sanctions if we help out.

You have the U.S. sanctioning ICC officials for wanting to investigate U.S. war crimes. You have the U.S. arguing in the open[1] that it is free to kill its own citizens without due process.

I'd like someone to push against that, may as well be China if the EU is not up to the task, as it has repeatedly shown.

1 - https://www.techdirt.com/articles/20201117/12384545723/gover...
Why no options to vote or discuss this Google story – only hide?
Why does this submission for a Google product not present any options to vote, flag or discuss (only hide)?

https://news.ycombinator.com/item?id=25170831

screencap: https://serving.photos.photobox.com/91599158620844f0ffd0dff4ad3d65664a44e5c0966313417791f7eabf3e10a1bb4039b6.jpg
As a counter observation: I agree with you but I don’t think it takes 10 years, but it’s not a bad estimate. Being deeply involved in teams working important products for your company can speed this up.