skysight-inc/HackerNews huggingface dataset:
The overcommit is not the only argument.

The second argument is that complex programs that need to handle OOM properly will be full of complex untested error paths.

How should one handle a OOM error If one can't allocate some temporary node during an algorithm and how to recover without leaving a corrupted state?
That's not a question I want to answer for almost every function call.

That's why the rust standard library data structures don't handle OOM. To make it easier to use for the most common case. And for the cases where the OOM handling is required, one can simply use data structures for it, which is what Linux will do (problem solved)

Also compare that to the case of mutex poisoning which can return an error on each unlock, and which is now considered a mistake because in practice, nobody want to handle a poisoned mutex error.
Bake news: ‘Dangerous’ beast in tree turns out to be croissant
>users have gotten so used to clicking through content screens they don’t pay attention anymore because a lot of it is meaningless

I suspect the goal is to manufacture consent through inundation of fraudulent and coercive consent agreements.
There are ways to deal with this problem. Debugging of microservices can be efficient and you don't have to hire the entire team of experts.
> Loans would be one of the classic value creating activities, because they allow others to use otherwise idle capital to produce something new.

Only because capital is privatised. Perversely, only those institutions with enough capital can obtain the privilege of creating money from thin air.
Ideas in the foundation of maven are old, but that is the only complaint I have with this tool. Problems it solve are not new either.

As for amounts of scaffolding, IntelliJ product writes it for you. And modern Java forces you to write only a half of it anyway.
Why omnichannel ecommerce is essential
There is no such thing as risk-free renting out your accumulated money.
Reading this article made me wonder what proportion of the 40 to 50% of US marriages that end in divorce are due to mental health issues. Thinking through many of the divorces among people I know, substance abuse, depression, anxiety, etc. seem to be very common themes.

Johns Hopkins says that 1 in 4 Americans will suffer from a diagnosable mental health disorder in a given year [1]. That means for any two randomly selected people getting married, there is a 44% chance that at least one of them will experience mental health issues in a year. It seems likely to me then that a majority of divorces in the US could be the result of mental health disorders - many of which might be temporary or treatable.

[1] https://www.hopkinsmedicine.org/health/wellness-and-preventi...
LLVM 12
Content Creep: Why Being Everywhere Is Screwing Up Your Marketing
Ah! I thought it was about the parent "caring for" fellow less compensated developers (who can't afford an M1), vs me not caring and dismissing their importance in my argument.

In that case, I apologize!
And USA and China, they are too big and a threat to everyone else.
The situation is kind of mixed in Europe. I was just on to some banks. Santander Jersey said they wouldn't transfer to crypto businesses at all as a policy, Bank Sabadell in Spain has been ok. FirstDirect blocked my payment as suspected fraud but were ok when I called them. You have to try different options sometimes.

Going via Revolut can be a good option though I find them annoying.
Efficient or secure. Take your pick.
Reminds me of the meme/video about mongodb: "It's webscale".

https://www.youtube.com/watch?v=b2F-DItXtZs
These high quality vids have existed for a long time, see [1] for examples.

Of course, that doesn't necessarily mean it's alien craft.

[1] https://www.amazon.com/UFOTV-Presents-Blue-Definitive-Invest...
My first thought would be to check the EXIF data for geolocation info. Did he mention whether that was there?
I really miss old Linus - This email is way too long :). However, it is 100% on point.
>>"I am sure that many of the erudite readers of this little book know On the Origin of Species by Charles Darwin inside and out. "

I can't parse that sentence. Does it make sense? (English is not my first language)
They made this pretty explicit for the former president of the US: anybody "newsworthy" (ie. has enough power to hurt the platform) has near free play around the rules.

In contrast my personal opinion is that we should hold people in power to a higher standard.
I don’t think that’s true at all. Like most languages, Java has its share of deficiencies - I’d personally put null handling, type erasure and brain dead Optionals near the top of my list of things I’d change if I was King of Java - but fluent APIs and factory methods didn’t even start with Java, and have nothing to do with “everything is a class”.
> This is also why “crypto” (the asset class, not technology) is so corrosive, because it makes people who have done approximately nothing to create value in society, but who’ve enjoyed a massive boost in monetary value, think they’ve “won” or accomplished something real.

As opposed to rent, property speculation, the stock market, etc?
I didn't do much research so lets assume you are right but at the same time I hope you do not confuse asset prices with consumer prices. The PCI in the USA is correct and people still cry that it is manipulated.

If the government is under reporting inflation that is a problem with the government. The obvious solution is to just report correct inflation. Once the government has reported correct inflation numbers the Turkish central bank must raise interest payments and that would mean at least 52% interest. The fundamental problem doesn't change though. People are still fleeing the influence of the Turkish government, not the currency. You need to trust the government and the government must eliminate internal corruption.
50% per year? How and where are you storing your savings in this circumstance?
Java is not only driven by Oracle, there are even independent JVMs. And then, there is OpenJDK, which is supported by many different big companies (Oracle, IBM, Apple, Microsoft, etc.) [1]
As long as you are just _using_ the JDK, I see no problem regarding that Oracle may sue you. And besides that, I see no problems about Oracle _owning_ Java (idk if you really can say that Oracle _owns_ Java, I mean OpenJDK is open-source and free).
The desktop experience on macOS has gotten worse with every release while the desktop experience on Linux just keeps getting better and better. Fedora, openSUSE Leap, Ubuntu all offer a great experience.
If it’s installed in the airplane it has to undergo testing and certification by regulating bodies, this inflates the cost beyond what airlines are willing to invest to save lives. Look for articles about small trivial tweaks to airplanes and the time / cost they incur, it’s insane and stratospheric.
Just block Chrome users, nothing of value lost.
Luca App: CCC calls for a moratorium
Search in teams is completely useless. Slow, no easy way to filter/organize results, and scrolling is the only way you can go through results with extremely slow load times. It's a joke.
Does it work for videoconferencing?

Edit: yes

> Microsoft Teams Bridging supports both group and individual messaging, as well as voice and video conferences.
> individual athletes well aware of the risks

"Neurologist Nicolás Fayed and his colleagues in Zaragoza, Spain, performed MRI brain scans on 35 climbers (12 professionals and 23 amateurs) who had returned from high-altitude expeditions, including 13 who had attempted Everest. They found brain damage in virtually every Everest climber but also in many climbers of lesser peaks who returned unaware that they had injured their brain."

https://www.scientificamerican.com/article/brain-cells-into-....
shock someone who doesn't know rust. :)

n.b. He states he does not.
The two are heavily correlated, though.
I’d like to see a significant portion dedicated to moonshots with 100x potential impact. Fund the science that government funding ignores in favour of more certain incrementalism.
While it did happen numerous times, it's also going to be repeated far more often than "eventually the British figured it out independently/bought the secret." Superpowers like to boast about their achievements after all.
Chrome extension to fix CSS issues like webflow
> If you buy an income producing property that's good because it is an income producing property.

Not sure I understand your reasoning there.

> You're speculating on a digital collectible.

And if you buy properties not for self-use you're speculating on a physical collectible. So?
Ironically, the ACCC website also attempts to load a script from *.google-analytics.com.
>> The amount of vitriol Java receives in the game development space is rather strong.

I think this is because of the way it handles memory. It's like the clunkiness of C++ without the power to optimize. Also, compared to python it is fast, but not compared to C or Rust.

That said, for 99% of applications the Java garbage collector is safe and tends to produce reliable code. The article is right in that Java is an extremely useful language with good tools. Games are an edge case.
Fuck Haskell, that's kiddy stuff. Malboge or go home.
It honestly isn't.

Out of memory means, your system is simply not designed for the task at hand.
The kernel returning -ENOMEM only masks the fact that eventually Linux will have to OOM Panic if it can't OOM Kill. Hell imagine the swapping and the I/O spike because your VFS cache has been or is currently being purged.
I honestly think the best case is to just fail when a fundamental resource is simply not there.
Despite Oracle being the primary contributors, there are other big companies (IBM, Apple, Microsoft, etc.) [1] supporting OpenJDK.
And this are only the big companies, there are so much medium/little companies just using Java as a language without actively sponsoring/supporting the OpenJDK project.
IMHO, there is no possible way that the OpenJDK (and Java) arent going to be enhanced further for many many years.

[1] https://en.wikipedia.org/wiki/OpenJDK#Collaboration_with_IBM...
I wouldn't say HN is generally libertarian leaning (calls for regulation of everything are quite common among well educated techies) - rent caps are probably such an authoritarian and foreign concept that even HN is rebelling to it.

As a libertarian (pro free market, pro private property for everything), I'm in favour of removing rent caps.

On pollution, that's a bit harder. The problem is that the environment is a resource shared by everyone and everyone should privately own a little part of it. Polluting is damaging everyone's stake in the environment and the individuals living in it should have a right to compensation.

I think the best model should be leaving it up to the communities to establish what the limits are in each community. Some can have no limits, some will have higher limits.

It will be a tradeoff between cheaper cost of living / profitability, after all.

Then we would see places with higher or lower limits according to what people wish and need.
That's not quite right. The vast majority of Jews are Zionists. Zionism is just the belief in the right of Jews to self-determination in their ancestral homeland. Whether or not someone is a Zionist, shouldn't have any bearing on whether they deserve racism which is PHK's defence. He believes that Jews can deservedly be hated because of Israel and can be held "collectively in contempt"(his words).
Users also "didn't care" about using Internet Explorer in the Microsoft days and the browser market was STILL severely handicapped with their monopolistic abuse.

Same goes for Apple - with no ability to build an alternative browser engine the market IS handicapped, especially since Apple is abusing this restriction to prevent web applications from competing with applications from which they charge tax on every single monetary transaction.
Another problem with Google is their popups... I.E.: If you are not using Chrome, and visit Google.com, they will let you know. That is how they got so many people to switch to it.
Why would he "know rust"?

Did it become a requirement for being a dev that he somehow missed?
Cigarettes are specifically designed to get you hooked, whereas pot isn't.
What so "clearly" about this? Is the Lira plummeting because it's a fiat currency? Are cryptocurrencies inherentially stable? They can't technically plummet? I don't get how crypto is "clearly" a solution here. Turkey has a financial issue, an economical crisis. The Lira isn't in troubles because people want to audit the database and they can't.
> I guess companies that use Discourse and have huge traffic can pay a bit more, nothing wrong with that.

The point being that said numbers aren't big traffic, they should be handled by a Raspi.

But for the sake of argument: Discourse is a painless move upwards for big budget and/or big knowledge entities. Nothing wrong with that.

On the other hand Discourse isn't a replacement for low cost, decentralized, easy to deploy, engine-diverse, low knowledge communities which were served by a multitude of PHP solutions in the past.

There's an economic argument for a growing divide between "communities as a service" ala Facebook and high hurdle deployments ala Discourse, but one doesn't have to be happy about this development.
Yeah, you typically pay for transfer and upkeep of that grid. It's included in your electtricity bill, sometimes even as a separate item.
> By controlling the infrastructure of the digital age, they have surveilled other businesses to identify potential rivals, and have ultimately bought out, copied, or cut off their competitive threats.

Is this accurate? I would think control of the infrastructure is with companies like Comcast/ATT/Verizon/Verisign/ and others who you can’t bypass by typing in different characters into the URL bar.

Would it be more accurate to write the big tech companies have control of the network of users?
The Result<T, E> is actually Rust's aproach, which is a formal (better) version of Golang's approach.

Better as in the result is standardized, and not ad-hoc like in Golang, and must be handled to use the value.
Look at their age. We've arrived in a world were young developers rediscover old tools and missed the time when Sun Microsystems brute forced Java down the throat of everyone.

Heck, here were native Java CPUs, Java Smartcards and different editions like JavaME for what today is branded IoT devices.

I cannot get the "write once - run everywhere"-slogan out of my head to this day. I don't even want to imagine a world where Java Applets actually "won" the internet and we would have proprietary multimedia applets instead of <audio> and <video> tags or even just CSS...
I don't recommend. Too easy for it to spiral out of control. One day your popping pills.. the next day your having sex with questionable women for 8 hours at a time and doing far more questionable things. Your productivity will suffer, perhaps years to get back on track.
And the answer is increasingly to silence the question itself with ad blockers.
Where’s the evidence that grit predicts success?
> but the OOM killer!" [..] disaster for Rust [...]

Only on HN discussions (the disaster part) ;=)

(Through it's is a broken discussion, OOM on Linux is broken, but it becomes increasingly "un-"broken and like you said other platform exists, too).

Anyway there is no disaster as:

Rust does support handling memory allocations gracefully, the allocator API defaults to this!!

Just various types defined in [lib]std (or precise [lib]alloc) default in there default methods to calling the (replaceable!) allocation error hook.

This is due to ergonomics, there is no sane/ergonomic way for "common non embedded/kernel programming or non special purpose use-cases" to make literally every method which potentially allocates return a result. And outside of such special purpose cases you can always recover from panics (i.e. outside of special purpose cases panic=abort is a anti-pattern).

Still, even in std, methods like `try_reserve` exists and are used, e.g. by serde deserializers to make sure to gracefully fail if the user tries to allocate a 10GiB array (because compressed data formats ;-) ).

BUT for the kernel all this doesn't matter as it is very unlikely it will use [lib]std or [lib]alloc. So they can default to just always implement their types in a way which doesn't panic on memory allocation.

And wrt. to panic in other (basically guaranteed to be a bug cases) panic=BUG() (ther kernel BUG() macro) can be done.

I'm more worried about the float/128bit integer thing he mentioned, as I don't know anything about it. I assume it's not just a miss understanding of overflow checks and other debug assertions the kernel likely will disable for non-debug builds?
High percentages of pages are using GA, and it would be trivial for GA to start calling document.interestCohort() at an indeterminate point in the future. Better safe than sorry.
Both authors saw PEP-649 as a solution, with no need to raise alarm bells. If you follow the discussion of the last proposal, you’ll see that it’s acceptance is now in doubt, and it’s inclusion in 3.10 seems unlikely. Both authors have been active in that discussion.

The issue is not that they had no warning, it’s that the proposed solution is being pulled out from under them.
> Out of memory means, your system is simply not designed for the task at hand.

Speaking as somebody who's never built such a system, wouldn't maintaining some opportunistic cache (e.g. for some space-time-tradeoff) be a valid use case of asking for more memory and gracefully degrading in case it's not available?

Error handling would simply consist of not expanding the cache size (if it happens during an allocation related to the cache) or freeing up some cache memory (if it happens for an essential allocation).
You can use AdoptOpenJDK or Azul or whatever, but you will be using code largely from Oracle. I don't think there is any problem with that, but the OP said "never touch anything from Oracle".
So people use unfair property rights in order to extract a rent from an essential human need, without doing labour or providing any service in return. Is that your argument?

> If you complain you're just jealous

Everytime.
Rust' memory safety feature includes "fearless concurrency".

Popular GC languages like Java or Go are not able to prevent a class of data race bugs that Rust prevents at compile time. Languages like Haskell of course handle it much better, but are for a multitude of reasons not popularly used in production.

And as the sibling comment points out, GC languages are not applicable everywhere. This discussion is in the context of the first not-C language being added to the Linux kernel. Can you imagine a GC language being similarly considered?

So yes, the borrow checker is amazing. That feeling of satisfaction and confidence when the program finally compiles after a round of serious coding or refactoring is unparalleled among the mainstream languages I've tried so far.
I guess you weren’t there when Flash was the thing.
What you need to learn to become a DevOps
Zig (another language fit for low level programming, like C and Rust) begs to differ.

[1]: https://ziglang.org/learn/why_zig_rust_d_cpp/#no-hidden-allo...
Upgrading literally takes 1-2 hours MAX for any codebase and I've upgrading from MANY versions... I once updated a 4.2 app to 6.* ...that did take more than a few hours and there were some hitches but those would've been smoother if there was decent unit testing.

There's also some services that will basically use static analysis to tell you how to "safely" upgrade your project, what files need edited etc...
the question is, are the downvoters paid or incentivised to do so? we will never know.
I know, I just wanted to point out that you cannot use OpenJDK and at the same time not use anything from Oracle.
> Oh and now I have to make it work in the IDE too, click through a billion menus and dialogs, sync the build system, sync the dependencies, configure runtimes and classpaths, try to rebuild for the 10th time, pray.

That is not my experience at all. I dont have to rebuild work project many times. Creating new scratch project for playing in is easy and fast. Dependencies are managed by maven and I rarely have to deal with that beyond added dependency tag.
Could you explain what you preferred in Postgraphile?
I argue it's a rare-enough problem:

• Statistically, likelihood of failure is proportional to the allocation size. You'll most often fail to allocate a very large Vec, and then only need to allocate a few bytes for a string that says "error!". I'm using https://lib.rs/fallible_collections and just a few strategically placed try_reserve has brought down my coredumps by 99%.

• Panic on OOM would unwind, and unwinding tends to free memory rather than allocate anything. The standard library should reserve/preallocate enough memory to be able to start unwinding.

• Rust is good at avoiding temporary allocations and relies on the stack a lot. You don't have to use fancy error-handling libraries that collect backtrace on every error. Error handling with enums doesn't touch the heap at all.

• Even if everything fails, and you get OOM during OOM handling, that's fair, and still better than abort every time.

Note that Rust currently doesn't handle OOM by panicking. It unconditionally aborts the whole process. Libstd could switch to panics without API changes, and that would make OOM handling possible via catch_unwind.
Bearded dragon embryos become female through sex chromosomes or hot temperatures
While I completely agree with you philosophically, an unbacked, power hungry store of value like bitcoin is not a solution.

It's a political problem, let's rise and kick the government and central banking out!

David Friedman argues in The Machinery of Freedom to use a currency backed by a set of commodities (wood, iron, etc: a set of resources to stabilise the price).

I don't understand why that's not a solution - probably because it doesn't let governments and banks to profit off people easily.
Interesting take. I assumed trolls knew it was wrong and don’t care. You found an interesting logic where they might believe they were eventually a force for good
This comment is strongly missinformed:

1- panicking allocations are here to stay, because in lots of case, it's the most convenient behavior. BUT Rust is adding fallible allocations methods (prefixed with try_) which return a result instead of panicking on allocation failure.

2- panics are catch-able as long as you don't compile your binary with panic=abort setting (and as long as you don't panic in your panic handler itself (including in your types' destructor, which are called during stack unwinding))

3- panics can only occur in specific places (array indexing, allocations, utf-8 validation, unwrap, etc.) which are by definition known at compile-time, and there's tooling to catch these up [1].

In practice, a might_panic annotation would add a lot of noise for pretty much everybody, because most of us mortals use panicking function all days and it's not a big deal. Obviously it is critical for Linux, but because it's relevant only to the minority of Rust users, it doesn't make sense to include it in rustc itself: it's exactly the kind of situation where external tooling is the good option.

[1] https://github.com/Technolution/rustig
> Imagine if Google suddenly made their Chrome browser behave differently on Google websites compared to others, like 0.5 the performance for no reason.

I don't have to imagine. https://tech.co/news/google-slowed-youtube-firefox-edge-2019...
Sounds like another pointless congressional hearing coming up.
Yeah, worth reading. Even not being me a systems-developer stricto sensu, but Rust dev BTW.

There are valuable sort of pro/cons standpoints about Rust RFC for the Kernel.

And honestly I have learned many things. Hours well spent :).
Just recomendable even if you like Rust or not.
Vieb: A Vim Inspired Electron Browser
Just a shakedown.