Hacker Newsnew | past | comments | ask | show | jobs | submit | trymas's commentslogin


IMHO current USA government is somewhat inverse to China.

US government now is a kakistocracy made out of sycophants to the biggest egomaniac this generation have ever seen. Who is only driven by personal wealth and attention.

Any billionaire capitalist psychopath openly promising to give cash and attention to orange musollini gets a free reign to do anything (they could be even not from USA) - it’s oligarchy.

China is not that. Xi and CCP are much more principled than emotional children in USA.


Xi is intelligent and capable of long-term planning.

The only similarity I see is that neither Xi nor our Narcissist-in-Chief brook any criticism; but aside from the "Let 1,000 Flowers Bloom" campaign of Mao, that has always been China's domestic policy.


It's not that a leader is capable of long-term planning, it's that a system is. I am a big proponent for democracy, but the fact is simple that when you do a massive regime change every ~4 years, nothing big will get done. You have about 2 good years to do something, and most big projects simply require more time than that.

China, unlike the US, can look 10 years into the future and consistently execute towards a goal. That's not because of leaders, it's because the systems are fundamentally designed this way.

It's like the two party system in the US. It's because of first past the post in the Constitution. The system is designed to do this, so it does it. The US is designed to be unable to plan or execute long term vision.


I 100% agree for the fact that biggest systematic root problem USA has is first past the post voting system.

Though how did US managed to be long term thinking since world wars up to ~1980s or 90s? Was it just generational trauma of world wars that allowed to align opinions between parties? And by trauma I mean some combo of real trauma to not have WW2 again to the capitalistict and globalistic drive to be world’s hegemony.


It is not even first past the post that is the problem. Even if you had some sort of ranked voting or parliamentary system you would still end up with the same problem. The person in charge gets changed too frequently to be able to have long term plans. 8 years is too short to execute a plan that will take 10 or 20 years.

I think this is why FDR was a successful president and was able to get so much done. He had 3 complete terms and a partial 4th term.

If you are going to have shorter terms you need to have your successor continue with your plans, but in a liberal democracy you don't know who is going to follow you. Even if your party wins, your successor might not continue with the plan.


In preferential Systems you must chase the centre, in the USA it might be trains versus cars, in Australia because both sides are chasing the centre they will both agree on a train line it's just the specifics they will argue about which believe leads to better outcomes.

At least from my experience I would say change of government won't lead to cancellation of a project or reform just an expansion or contraction in scope.

You can't do something like implement a 1 child policy and stick to it for decades causing a demographic collapse because it wouldn't have broad appeal from the population.


Your last paragraph is my point. Some policies may be good, but not popular. (I'm not suggesting the one child policy is good). How would you be able to continue a policy like the one child policy in a democracy for decades? You wouldn't be able to. With China since their leaders are there longer and because the leaders have a more consistent world view they were able to continue with such a policy.

> It's sad that even introductory statistics courses skip this simple intuition.

I was probably lucky.

We got homework as one of the first lessons in statistics course, for exactly this case.

Roll pair of dice, save the result, do it 200 (or some other bigger number) times, plot the histogram, do some maths, maybe provide any conclusions, etc.

Such things then definitely stuck with you for a long time.


> The first one to realise this was Jeff Bezos, afaik

I am not aware about the details - can you elaborate?


Maybe the Two Pizza rule:

No team at Amazon should be larger than what two pizzas can feed (usually about 6 to 10 people).


The ‘design everything as a publicly accessible API’ directive seems to play to this as well. If all your data / services are available and must be documented then a lot of communication overhead can be eliminated.

For anyone who doesn't know what you mean, here's an archived copy of Steve Yegge's post about this directive + other musings comparing Amazon vs Google (which is how a lot of us came to find out about this, via Yegge's write-up): https://news.ycombinator.com/item?id=3102800

Copied the most relevant snippet below

---

So one day Jeff Bezos issued a mandate. He's doing that all the time, of course, and people scramble like ants being pounded with a rubber mallet whenever it happens. But on one occasion -- back around 2002 I think, plus or minus a year -- he issued a mandate that was so out there, so huge and eye-bulgingly ponderous, that it made all of his other mandates look like unsolicited peer bonuses.

His Big Mandate went something along these lines:

1) All teams will henceforth expose their data and functionality through service interfaces.

2) Teams must communicate with each other through these interfaces.

3) There will be no other form of interprocess communication allowed: no direct linking, no direct reads of another team's data store, no shared-memory model, no back-doors whatsoever. The only communication allowed is via service interface calls over the network.

4) It doesn't matter what technology they use. HTTP, Corba, Pubsub, custom protocols -- doesn't matter. Bezos doesn't care.

5) All service interfaces, without exception, must be designed from the ground up to be externalizable. That is to say, the team must plan and design to be able to expose the interface to developers in the outside world. No exceptions.

6) Anyone who doesn't do this will be fired.

7) Thank you; have a nice day!

Ha, ha! You 150-odd ex-Amazon folks here will of course realize immediately that #7 was a little joke I threw in, because Bezos most definitely does not give a shit about your day.

#6, however, was quite real, so people went to work. Bezos assigned a couple of Chief Bulldogs to oversee the effort and ensure forward progress, headed up by Uber-Chief Bear Bulldog Rick Dalzell. Rick is an ex-Armgy Ranger, West Point Academy graduate, ex-boxer, ex-Chief Torturer slash CIO at Wal*Mart, and is a big genial scary man who used the word "hardened interface" a lot. Rick was a walking, talking hardened interface himself, so needless to say, everyone made LOTS of forward progress and made sure Rick knew about it.

Over the next couple of years, Amazon transformed internally into a service-oriented architecture. They learned a tremendous amount while effecting this transformation. There was lots of existing documentation and lore about SOAs, but at Amazon's vast scale it was about as useful as telling Indiana Jones to look both ways before crossing the street. Amazon's dev staff made a lot of discoveries along the way. A teeny tiny sampling of these discoveries included:

- pager escalation gets way harder, because a ticket might bounce through 20 service calls before the real owner is identified. If each bounce goes through a team with a 15-minute response time, it can be hours before the right team finally finds out, unless you build a lot of scaffolding and metrics and reporting.

- every single one of your peer teams suddenly becomes a potential DOS attacker. Nobody can make any real forward progress until very serious quotas and throttling are put in place in every single service.

- monitoring and QA are the same thing. You'd never think so until you try doing a big SOA. But when your service says "oh yes, I'm fine", it may well be the case that the only thing still functioning in the server is the little component that knows how to say "I'm fine, roger roger, over and out" in a cheery droid voice. In order to tell whether the service is actually responding, you have to make individual calls. The problem continues recursively until your monitoring is doing comprehensive semantics checking of your entire range of services and data, at which point it's indistinguishable from automated QA. So they're a continuum.

- if you have hundreds of services, and your code MUST communicate with other groups' code via these services, then you won't be able to find any of them without a service-discovery mechanism. And you can't have that without a service registration mechanism, which itself is another service. So Amazon has a universal service registry where you can find out reflectively (programmatically) about every service, what its APIs are, and also whether it is currently up, and where.

- debugging problems with someone else's code gets a LOT harder, and is basically impossible unless there is a universal standard way to run every service in a debuggable sandbox.

That's just a very small sample. There are dozens, maybe hundreds of individual learnings like these that Amazon had to discover organically. There were a lot of wacky ones around externalizing services, but not as many as you might think. Organizing into services taught teams not to trust each other in most of the same ways they're not supposed to trust external developers.

This effort was still underway when I left to join Google in mid-2005, but it was pretty far advanced. From the time Bezos issued his edict through the time I left, Amazon had transformed culturally into a company that thinks about everything in a services-first fashion. It is now fundamental to how they approach all designs, including internal designs for stuff that might never see the light of day externally.

At this point they don't even do it out of fear of being fired. I mean, they're still afraid of that; it's pretty much part of daily life there, working for the Dread Pirate Bezos and all. But they do services because they've come to understand that it's the Right Thing. There are without question pros and cons to the SOA approach, and some of the cons are pretty long. But overall it's the right thing because SOA-driven design enables Platforms.

That's what Bezos was up to with his edict, of course. He didn't (and doesn't) care even a tiny bit about the well-being of the teams, nor about what technologies they use, nor in fact any detail whatsoever about how they go about their business unless they happen to be screwing up. But Bezos realized long before the vast majority of Amazonians that Amazon needs to be a platform.

You wouldn't really think that an online bookstore needs to be an extensible, programmable platform. Would you?


> You wouldn't really think that an online bookstore needs to be an extensible, programmable platform. Would you?

Well, we were making it a platform in small ways long before that edict from Bezos. But because it used to be only an online bookstore, the footprint was a lot smaller.

1. the external interface was ... HTTP

2. the pages were designed to be easily machine parsable

3. you could queue up search queries that amzn would run on its own hardware, and notify you of the results asynchronously.

Sure, this didn't look anything like the things Yegge is describing, but the idea that "it's a platform, dummies" was some new revelation is misleading.


I haven’t read this in years and it was delightful to see it posted here.

I have always been amazed at that rule because it implies developers either do not like pizza or they happen to be on a diet.

It's better incentive for smaller teams, that way each peson gets more pizza :)

What? Aren't all over-ear ANC wireless headphones capable of that?

Sony WH-1000XM and Bose QuietComfort can do 24h on bluetooth + ANC if not more.


Time and time again it amazes me how incredibly cheap lobbied politicians are. They may be earning big sums for an individual, but if you go full corruption[1] to sell out a state or a country - sell it for a fair price.

I remember from peak net neutrality discussions during trump 1 maybe around 2017-2018 ant saw an article on theverge.com (that cannot find now) and biggest sum to individual politician was around $200k, when median values were much much lower.

Politicians are selling tens of billions of dollars (if not hundreds of billions) worth of revenue to ISPs for couple or dozen million. Literally 1000x return on investment (if successful).

I remember local politician (I am not from US) got caught taking 100k bribe from a company for helping with alleged highway construction procurement. Project was valued ~1B - 10 000x return on investment (if they wouldn't have been caught).

[1] I am sorry, not "corruption", but "lobbying".


Bribed are even smaller. Some councilmembers got indicted in LA some years back for pay for play development. The bribes were things like steak dinners, 5 figure sums of cash in paper bags, and hookers. Astoundingly cheap.


in the 1990's there was a woman prime minister of Turkey.

she ended up resigning in a scandal caused by her husband accepting a boat (or work on the boat..i don't remember). the scandal was caused by the amount of the bribe. it was too low. the Turkish people could understand some corruption, but to be able to bribe the top leader for $50k. Unacceptable. If it would have been $100 million, it would not have been a scandal.


This. Issue in the USA is that if you don't accept the money offered, you get primaried and they bribe money you would have gotten just goes to the campaign of your primary opponent.

Rinse and repeat. Unless, politicians band together and say "we need the full ROI of your project, and NONE of us will even talk to you unless we get half the profits, and you can't primary all of us at once"


US needs to get rid of first past the post voting system.


my other comment on this post: https://news.ycombinator.com/item?id=47321852

Traffic light buttons were already equidistant to the edge of the window. Now they are trying to center circles in squircles[1], breaking window edges and draggability, etc.

> It creates a larger inconsistency than the "consistency" it supposedly brings.

That's why I am baffled (as many commenters here) - how did this went out all the way to release, instead of ending as an experiment at design floor.

[1] parent comment: https://news.ycombinator.com/item?id=47321065


Exactly!

And to OC you're replying to: window close/minimise/resize were already equidistant from window edge on macOS 15 and probably earlier.

Here is a screenshot (safari in the background, textedit in front): https://pasteboard.co/OeMBTDKGsTx9.png

In MacOS 26 it's only weirder, because as you say - due to squircle window corners, now we have this constantly varying distance to the edge.

EDIT: I "get" apple's fascination to squircle, but why they made it such a big radius. Probably no one would've complained if they just have changed from current ~15-20px rounded corners into ~15-20px squircles, but they went 50px+ on toolbared windows.


IMHO it started with iOS 7 [1] - year 2013.

Uber flat, you don't know what's a button, what's a text. I dunno if I just adjusted to it or it actually somewhat got better up to iOS/macOS 15. Though with iOS/macOS 26 - it's iOS 7 moment yet again.

NB: not sure about Liquid Glass - though I was recently (and weirdly) recommended to watch iOS 7 trailer on youtube[2]. Comments are overwhelmingly positive. Dunno if it's just people who were kids/teens looking through rose tinted glasses. Though I am not sure anymore, maybe people actually like such designs and it's just HN bubble complaining (IMHO complains here are 110% valid) about nothing. Maybe in 10+ years ordinary guy will praise iOS/macOS 26.

[1] https://en.wikipedia.org/wiki/IOS_7

[2] https://www.youtube.com/watch?v=4xzLr7xSr-g


  > Comments are overwhelmingly positive. Dunno if it's just people who were kids/teens looking through rose tinted glasses.
idk, its a trailer so lots of beauty shots and also selection bias at work... i think also the previous ui though wasnt gods gift to ux either (thinking about that "oompaloompa skin" [0] calendar app lol) so there is a lot of "refreshness" that does look good (again that new calendar app looked slick). that being said also after release i remember everyone blasting it for super thin fonts and low contrast so im inclined to say rose-colored glasses....

as an aside: personally (and at $work in user tests) very flat design seems to lead to cognitive load increase and difficultly discerning interactive vs non interactive elements so i'd say we have one step forwards two steps backwards for sure...

[0] https://osxdaily.com/2011/07/23/change-ical-leather-interfac...


I am too lazy to do the math, but I somehow think it would cost _multiple times_ more: https://www.farmtransparency.org/kb/food/abattoirs/age-anima...

> society is more concerned with cost than animal suffering.

Yes, and it's politically very hard to change. I totally understand price sensitivity around food. At least where I live milk and meat is extremely subsidised. How can you have chicken that is grown, slaughtered, cleaned, packaged, distributed, kept cold all the way, etc. and sell it for 5eur/kg (and cheaper on discounts). There's s much human work, resources, fuel used - I cannot understand.

Also - being a vegetarian/vegan is more expensive than being omnivore.


> being a vegetarian/vegan is more expensive than being omnivore.

Being vegan is cheaper where I live regardless of whether we factor in the subsidies or not. Beans, chickpeas, lentils and sometimes soy (examples of protein sources) are pretty inexpensive. Peanuts, some other nuts (in the culinary sense of the word) and some of the vegetable oils are also inexpensive.

If you factor in foods meant to replace or replicate the taste of a carnivore diet like vegan yogurt, milk or cheese, or things like Beyond Meat burgers, it might become expensive, but you don't have to limit yourself by trying to replicate what you used to eat - you can make lots of things from 10-20 basic ingredients.


Beans, lentils etc. may be inexpensive but you skip over the fact that they and any other kind of plant source contain too little protein in comparison with the amount of energy.

Being vegan is easy for someone who does hard physical work, so they have to eat more than 3000 kcal per day. In that case, eating enough proteins that come from plant sources will still leave enough in the energy budget to also eat other food, for a complete diet.

On the other hand, if you have a sedentary lifestyle, working in the front of a computer, it is impossible to eat enough protein without eating too many calories.

There are plant protein extracts, but those are at least 3 to 5 times more expensive than cheap animal protein, e.g. chicken breast.

I have eaten for 4 years only plant-based proteins, but to satisfy simultaneously 3 constraints, enough proteins, not so many calories as to cause weight gain and price no greater than when eating chicken meat, in Europe where I live there was only 1 solution, with no alternatives.

The solution was to extract at home gluten from wheat flour, to supplement the proteins provided by lentils or other legumes. Any plant-based product that I could buy for enough protein would have been more expensive than chicken meat.

Extracting gluten, which is done by washing dough with abundant water, works. However it requires much time and much water. Extracting pure gluten requires so much water and so much time that I never did this regularly. I was typically removing around 75% of the starch from wheat flour, and with the result I was baking a bread that had about 50% to 60% protein content.

Besides wasting a lot of water and time every day, this procedure had the additional disadvantage that the amount of calories provided by eating enough protein was still rather large. This limited severely the possible menus, e.g. any starchy vegetables, e.g. potatoes or sweet potatoes or rice, and any starchy fruits, e.g. bananas, had to be forbidden. I gain weight extremely easily if I exceed my allowable daily energy intake.

These inconveniences have made me eventually abandon this approach. While I still eat mostly vegan food, I also use in cooking some whey protein concentrate, which can increase enough the protein content of plant-based food.

There already exists a technology for making whey protein concentrate otherwise than by the filtration of milk, i.e. by extracting it from a culture of genetically-modified Trichoderma fungus. I hope that this technology will become viable commercially, because unlike with fake meat produced from cell cultures, it is certain that with such a fungal culture one can make proteins less costly than by growing chicken or other domestic animals.

The availability of such a protein powder would solve completely the problem of vegan food for me. I do not need fake meat.


> Being vegan is easy for someone who does hard physical work, so they have to eat more than 3000 kcal per day. In that case, eating enough proteins that come from plant sources will still leave enough in the energy budget to also eat other food, for a complete diet.

> On the other hand, if you have a sedentary lifestyle, working in the front of a computer, it is impossible to eat enough protein without eating too many calories.

Anecdotal counterpoint - I've done hard physical work for ~2 years. For ~10 years before that and for about 1.5 after I stopped the physical work I've been spending most of my days sitting in front of the computer with the occasional walk to the grocery store. No sport or hiking or fitness.

I don't eat TVP or other condensed protein food. I don't count calories or even consciously decide when to eat protein rich food. Sometimes I'll even just eat pasta or other food relatively low in protein and rich in carbs and calories. Yet, I'm in the same physical health as I've always been. Not athletic, but normal weight - the type of weight an annoying aunt would see and say "ooh, you gotta eat more". :) The first BMI calc I tried put me right in the middle of the green zone (yes, I know BMI is not that important). And I could return to the same physical work if I wanted to.

Besides my anecdotal counterpoint, there are many sources online you can find where people discuss their diet, how much it costs and their lifestyle.

> The solution was to extract at home gluten from wheat flour, to supplement the proteins provided by lentils or other legumes.

> any starchy vegetables, e.g. potatoes or sweet potatoes or rice, and any starchy fruits, e.g. bananas, had to be forbidden.

That seems very extreme to me. Were you trying to be a bodybuilder or maintain some low body fat or something while maintaining this sedentary lifestyle? I eat potatoes, sweet potatoes and bananas all the time.

> I gain weight extremely easily if I exceed my allowable daily energy intake.

If that's the case, why not spend some of the calories on exercise? Although I find it hard to believe that with my current and previous sedentary lifestyle I expend enough calories to not care what I eat on a vegan diet, but you gain weight "extremely easily". Do you have some rare disease, if you don't mind my asking? Cause the only fat people I know are the ones who overeat, regardless of diet. Even if they start blaming "slow metabolism" or something else, it's obvious when you see them eat.

> There are plant protein extracts, but those are at least 3 to 5 times more expensive than cheap animal protein, e.g. chicken breast.

Economy of scale and subsidies.

> There already exists a technology for making whey protein concentrate otherwise than by the filtration of milk, i.e. by extracting it from a culture of genetically-modified Trichoderma fungus.

Interesting. Although I don't see myself buying it, I'll look it up.

> fake meat

It's as real as you can get. "Fake meat" would be TVP prepared like meat. You wouldn't say "fake whey protein" if you extract it from genetically-modified Trichoderma fungus.


i suspect your "enough protein" is too much.


> being a vegetarian/vegan is more expensive than being omnivore.

I read this often but the long term vegs usually says the opposite as does the studies [0]. Bonus point: The veg options are often the cheapest in the non-vegan restaurants (although not the tastiest). I have some hypothesis where it comes from:

- Meat substitues are seen as a necessary replacement. They are transformed, which require more work - and therefore more expensive. However they are as (un)necessary as a fined-prepared piece of charcuterie, which isn't cheap neither.

- Cost is evaluated at the supermarket shelf but as you noted the animal products are extremely subsidised. Vegs pays for them but don't use it. Infrastructures like airport, rails, road and urban amenities are not free either even if you don't pay for them. How you evaluate the price is at your own discretion.

- Fancy products are placed in the most visible shelf and thats the people see first, but they compare it with the cheapest animal alternative. I'm an engineer and by my fancy organic tofu 7-20€/kg but used to buy chicken at 25-35€/kg in the same fancy segment. If I'd be on a budget I'll probably buy the bottom shelf one at 3.5€/kg, next to the 5€/kg chicken.

- Cost of change: changing habits require to re-create the optimization you build during the previous years: where to find the best price for the product X, what quantity should you get or what daily stable you can add in the routine for cheap (fake meat and fancy milk aren't).

0:

> Main findings suggest that food expenditure negatively relates to vegetarian food self-identity, and unemployment status mediates the link between vegetarianism and food expenditure.

https://www.nature.com/articles/s41599-025-06353-y

Vegan diet is always the cheapest - but not in the lower income countries. However it is when including costs of climate change and health care.

https://www.thelancet.com/journals/lanplh/article/PIIS2542-5...

https://en.wikipedia.org/wiki/Economic_vegetarianism


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: