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

The Chinese being a continental empire, andin particular bordering the Mongol hordes, have basically been a continuous cycle of growth and collapse for 1000s of years. It can be argued they are headed for yet another collapse.

Do you want garbage collection in your SSL?

Where do you see the problems? Because of memory that was not cleaned up and leaks secrets?

There the new runtime/secret could help.


Better than no memory safety, sure. Also a kernel should be memory safe, so garbage collected.

Garbage collection is not required for memory safety.

Languages that have garbage collection are not all memory safe.


This is the frontline fascist unit in the newly fascist US government. Fear anything they get funding to do. They have one aim and none of it is for the betterment of the people.

They are taking a percentage point or two on the entire consumer payment system.

I think there's plenty of money to back all the activity.

Especially if there are central banks willing to back them


> They are taking a percentage point or two on the entire consumer payment system.

Visa/MC make about 0.1-0.13% of each transaction, not a 1-2%. The rest of the interchange (the vast majority) goes to the issuing bank.


Doesn't it depend on the country? Payments with Visa and MasterCard work very differently in various countires. In Poland you can pay 0.01€ with credit card and the seller will happily oblige. In Germany even few Euros they prefer to be paid in cash.

That's their cut in the US, the market with the highest total interchange fees. In other markets with lower total fees, it's hard to imagine Visa/MC's cut being higher. They do a pretty useful service for a pretty reasonable fee.

Patio11 doesn't name names or give precise figures, but: https://www.bitsaboutmoney.com/archive/how-credit-cards-make...


A true spaceborne civilization, assuming anti-gravity isn't in there bag of tricks, probably wouldn't bother with the gravity well planets.

I feel like for this reason we should be focused on colonizing asteroids rather than the moon or mars. We can do various tricks to get artificial gravity via centrifugal force. For example if the asteroid is solid enough, we can consider putting it into a spin. If it's not solid enough, we can consider laying a track around the circumference and/or boring a tunnel around the circumference and essentially having the habitat(s) constantly rotating around the asteroid.

Exactly. Those kind of people could support much larger populations than the Earth with a lifestyle they find comfortable in interstellar space and would look at living on Earth at best the way we look at living on Mars.

The country desperately needs antitrust action to vastly increase.

We need all these monopolies and cartels broken up so that there is a dynamic competitive environment in all sectors of the economy


You’re talking about something that happens in a country that wants free markets. It doesn’t really apply to countries that want oligopolies or monopolies.

Google is a massive population monitoring and propaganda machine.

With AI and an authoritarian government they are an existential threat to humanity.


What is allocated but unused memory? That sounds like memory that will be used in the near future and we are scheduling in an annoying disk load when it is needed

You are of course highlighting the problem that virtual addressing was intended to over abstract memory resource usage, but it provides poor facilities for power users to finely prioritize memory usage.

The example of this is game consoles, which didn't have this layer. Game writers had to reserve parts of ram fur specific uses.

You can't do this easily in Linux afaik, because it is forcing the model upon you.


Unused or Inactive memory is memory that hasn't been accessed recently. The kernel maintains LRU (least recently used) lists for most of its memory pages. The kernel memory management works on the assumption that the least recently used pages are least likely to be accessed soon. Under memory pressure, when the kernel needs to free some memory pages, it swaps out pages at the tail of the inactive anonymous LRU.

Cgroup limits and OOM scores allow to prioritize memory usage on a per-process and per-process group basis. madvise(2) syscall allows to prioritize memory usage within a process.


1) in the Microsoft days I would have a lot of available ram, bur windows still would aggressively swap, and I would get enraged when changing to an app that would have to swap in while I had 4gb of memory free

2) the os tried to be magical, but a swap thrash is still crap... I would much rather oom kill apps than swap thrash. For a desktop user: kill the fucking browser or electron apps, don't freeze the system/ui.


I get we want a magical OS that reads minds and abstracts itself from users, but these days low mem situations are technical events for people trying to optimize resources use and balance uptime.

So not being able to mark apps processes as kill me first and leave others like ssh bash up is a missing feature.

Shouldn't the os have a bunch of auto hooks to invoke for machines under duress? Yes you might be able to do it in userspace but .. userspace will probably get unpredictability nuked in stress situations.

The WMs should have a "freeze all apps desktop except this one shell window" mode. Didn't NeXT have that?

Having some swap basically required has always seemed like a smell. A legacy from the 640k oops wasn't enough days. I can see emergency memory swap system as a feature, which it currently isn't...


> So not being able to mark apps processes as kill me first and leave others like ssh bash up is a missing feature.

systemd OOMScoreAdjust has existed for at least a decade. /proc/*/oom_adj since Linux kernel 2.6.11 - two decades. cgroups are also two decades old. SSH by default has OOMScoreAdjust=-1000 and is entirely protected from OOM.


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

Search: