skysight-inc/HackerNews huggingface dataset:
> I prefer that under memory pressure, a task dies promptly.

This is exactly what memory pressure indicators can be used for. Linux also supports volatile page ranges, that get wiped out under memory pressure even with no swap support.
Visual studio and Vs code has this aswell i always used that never found IT hard to do conflicts
What does the future hold for modern authentication?
And I had the exact opposite experience as you just last week on multiple machines with swap enabled: compiling and going over the available memory made them entirely inoperable and required hard resets. Had to use another computer to be able to browse internet at the same time, until earlyoom can be installed there.
Sure, but if I ask you an interview question and your answer is good enough that I want to use it: you'll probably be the one implementing the solution.

Why would I trust the answer more than the person?
TV pick-up used to be a thing when 17 million people watched Corrie in real time.

Those types of real time viewing figures are limited to live England matches in the euros/World Cup, and very unusual events like the PM’s covid broadcast back in 2020

I’m surprised the US doesn’t have the phenomenon during the super bowl. I guess the lack of kettles and the main attraction of the Super Bowl being the adverts dampens it down though.
Are you genuinely surprised (a lot of) people complain about this? No idea where you live but at this point it became memes material.

No one complains about the fresh prince of Bel-Air having a 100% black cast. But I doubt you wouldn't mind if a reboot was made with 80% white cast because it's a show "from 15 years ago".

What many people hate is the lack of creativity and the "corruption" of already-existing shows for ideologic views.
I misremembered, after a quick Google it's days not months.
Old skool book recommendation. Not necessarily C, more ASM but still a good book for the early nineties optimization that still has a mentality that's still valid. I believe that people today would be more concerned about how fast their code runs if it was visible, that is, if they profiled it with good tools!

https://www.amazon.com/Inner-Loops-Sourcebook-Software-Devel...
To be fair, concurrent GC running in a separate thread should be enough to address this issue.
I'll double check - maybe the checking code only gets called when a custom comparator is provided, not the default < which would be used there.
Pick a problem.

how would you recommend somebody actually find a problem to work on? do you have any resources?
They used the dispersant to avoid the views/bad press (hide the oil).
> How do you know that?

From the same source:

Our analysis shows that many of these deaths at home were people who, in a non-pandemic year, may have typically died elsewhere such as in hospital.

I’m not really sure what you’re getting at with the rest of your comment.
>> Free Range Kids movement

So basically a normal childhood? Just wondering, because as a European I find this whole discussion enlightening (learning something new) and bizarre at the same time. Heck, our kids are picking up groceries and bread at the two shops near by every week-end. Which is great, because it means us parents can sleep in longer. Just thinking about someone calling CPS or the cops for that, I think they would be laughed out. At least I hope that cops would even refuse to show up in such cases, because honestly, if the caller sounds worried enough they just could.

That being said, we have a community youth center and sports / playground right across the street. There, kids and teenagers of all sorts are hanging out well into the night. I just wished I could motivate my elder son to do so as well, because that would be so much better than spending his time indoors. There is only so much screen time limiting you can do.
I asked: "AITA for using REGEX to parse HTML?"
And got: "NTA. That's what regex is for"

Nice.
It will run on a real N64 but it needs the memory expansion. So that's one thing he mentioned but people do gloss over. It (the extra memory) helped a lot in reducing memory contention between the CPU and the GPU.
I’ve been trying to learn about rocks and came across this in lists of deadly rocks:
https://en.m.wikipedia.org/wiki/Chalcanthite
Which is annoying because even rocks are out to get me.
It’s chemical formula is CuSO4·5H2O which reminds me of H2SO4 which is sulphuric acid.
The article does contain a warning.
> Swap is a storage area for these seemingly "unreclaimable" [anonymous] pages that allows us to page them out to a storage device on demand. This means that they can now be considered as equally eligible for reclaim as their more trivially reclaimable friends, like clean file pages, allowing more efficient use of available physical memory.

I don't see that argument. Why should anonymous pages be treated equally?

And executable pages / program text, maybe those also never should be swapped out? Is this configurable? This is usually more the behavior I would want on my system. I want that the OOM killer just kills sth directly.

I remember that Google also has some custom handling for OOM on Linux. Although I don't find much information now on it, except: https://lwn.net/Articles/432223/
> This is a really nice combo, I agree. But… I think it’s safe to say it’ll probably remain niche forever.

"I don't like fruit — they are bitter and taste bad"

"Here's a kiwi: it's sweet and tastes great!"

"I think it's safe to say it'll probably remain niche forever. I wish I could get sweet fruit!"

I don't know about others, but I don't get paid for non-nicheness of tools I use (nor, incidentally, for the small size of my "hello world"). I get paid by users who use the software that I develop, and I choose tools that allow me to effectively deliver good quality software. So I guess my decision process might be slightly different — but overall I have no reason to complain, because I'm doing great so far :-)
Very good comment. When things become forced and systematic, they lose their genuine intent and just feel (because they are) hypocritical and just a marketing tool.
as someone who's run marathons... building a startup is NOT a marathon.

Marathons have a distinct finish line. When you're at mile 20 and your legs are falling off and you take tylenol or whatever they give you to make the pain go away... or when ppl on the sidelines say "almost there!!" and you send them a rude look because those last six miles are the WORST... at least you know you'll cross the finish line at some point and pass out on the grass.

No, startups are like running marathons but in Stephen King's the Long Walk. There's no finish line — you just have to walk farther than those around you, or you die trying.
There used to be a sponsoring segment in the beginning, but, if I recall correctly, they ended the contract after the stunt became known and it was cut.
We are more satisfied with life as we age, due to oxytocin
That makes sense. ByteDance has many employees who have experiences in competitive programming. These guys tend to be more sensitive and aggressive in algorithmic changes.
Well, the site is for those that are more curious than afraid, so you should not visit it.
Corporations are not people. They're autonomous entities that behave algorithmically based on the laws, policies, and rules imposed on them by shareholders, regulators, and customers.

For example, Comcast is unable to deal with customers in pleasant ways because rules that allow for that possibility increase costs. Rules and regulations that effectively mandate nefarious customer service are a consequence of regulatory capture and logistics.

Woke companies are unable to effectively block the utter stupidity of pandering to the outrage mobs. Activists exploit corporations that have gotten too big to manage individuals.

It's perverse incentives all the way down.
Yes, absolutely. But then again AI bias in other areas have the same kind of explanation.
When it’s dark people turn on the lights. When it’s cold they turn on the heating. Those are the drivers of demand.

Industrial demand (aluminium smelters etc) are more price sensitive, but they tend to be billed by the minute anyway. some “residential” people will be happy to turn off their Bitcoin or weed growing equipment when the price rises but that shouldnt be residential.

The wealthy will have their own storage systems to smooth out the bumps and thus spend less than those who are poorer. You may like that idea, but for most people this would be devestating and less to more deaths.
There’s another municipal internet service provider in TN (chattanooga?) that offers all customers 1Gbps or 10Gbps service to your home or business. The 1 Gbps plan is comparable to Google Fiber and just a tad bit cheaper.

I have always envied them since I live in a state that has banned municipalities from creating their own ISP.

Even trying to convince a few people is a difficult task.
AirVPN, https://airvpn.org/
If you tell anybody that you do something even remotely IT-security related, you get interrupted with stuff like "OMG can you hack into peoples Facebook [accounts]?"

Ever since a certain, very popular TV show, I guess people working in chemistry now share our pain.
Swap implementations have gotten a lot more sophisticated and complicated over time. But fundamentally it's an undesirable thing to be dependent on it as it is just a lot slower than normal memory.

Part of the problem is that there is a lot of magical thinking rooted in decades of half truths about swapping on various operating systems with completely different implementations. Most of those per-conceptions if they ever were true at all, are now obsolete.

For example, Windows XP used to have swapping. It commonly sucked the life out of any PC it was on. For no good reason whatsoever. Symptoms: the system performance would degrade over time and people would routinely reboot to fix that. Even with plenty of memory on a system, it would spend lots of time swapping things in and out of memory. Very infuriating if you just spent a lot of money on RAM. It was optimized for people with cheap hardware. Computers with enough memory were an afterthought. So it pretended you were running out of memory even when you weren't.

Easy solution: disable swap completely; especially on machines with more memory than the total addressable memory per process on 32 bit windows XP (2 GB). I remember having a particularly slow windows laptop with 4GB of RAM. My life improved massively after I disabled swap on that thing. Alt tab was instantaneous; always. I could get individual processes to crash with an out of memory error but only if I deliberately opened way more processes than fit in memory (so, don't do that). Exactly the kind of thing that would make the laptop completely unusable with swap on in any case. I actually preferred the quick crash. Trying to close a non responsive application to free up some memory while the system is 100% engaged with grinding your disk to fine dust is not fun.

Linux is way more complicated and it depends on the use case. A swapping server is a dead server. So, you should be conservative with any kind of swap there. Basically, if you have enough memory and no memory leaks there should be no need for it to degrade response times (aka swap), ever. If you do have memory leaks, swapping is actively harmful because it degrades response times. Better reboot the server. Or rely on the docker oom killer. Or assign more memory. Spin up more servers. Etc. And of course you monitor memory usage on servers to preempt any kind of issues. Swapping is the punishment that happens on a poorly, configured un-monitored server. You should have no need for it.

For a laptop with not enough memory because the buyer tried to save some cash and bought something with a pitiful amount of memory, definitely have swap space available. Performance will suck but at least it will be able to run some software. And Linux isn't as bad at this as Windows XP used to be. People actually care.

Otherwise, you probably want it to be able to hibernate and you need swap space for that. But perhaps with a very low swappiness value so that it won't actually swap. Or in case you don't need hibernate, turn it off completely and save some disk space.
The research paper: https://www.frontiersin.org/articles/10.3389/fnbeh.2022.8462...
There is no copyright on algorithms.

To ask interviewees a question about an actual issue you have and see what solutions they come up with is clever. You get more input for free and you may find someone you want to hire.

I don't see a problem as long as you are really looking to hire someone and not advertising fake job openings.
On the other hand, that something is rare does not mean we should dismiss it because it is rare. If humans get together to set up a system then edge cases that are high risk like this (high risk because risk == chance of occurrence * effect) should not be able to happen. Do NASA just shrug every time a rare occurrence ends someone's life? I hope not, and the care system is not rocket science so there's even less excuse for an heedless attitude.
These are high performance chips with unit prices way beyond most chips that are missing today. Sure, they are expensive as well because of high demand, but the industry that relies on cheap silicon has the most problems right now.
As a former orchestra player, and a listener who likes to sit in front of a Hi-Fi system, and listen to music intently, this is not OK.

When you're passive listening, you're only perceiving the "outlines" of the music, but listening actively reveals a lot of details, and this kind of wobbling becomes both more noticeable and disturbing.

When listening the music actively, anyone can distinguish between natural and unnatural sounds, and this will bother many people if they listen more actively.
I feel guilty when I watch these crazy free climbing/BASE jumping videos. Feels like I am enabling their behaviour by helping them monitize their lifestyle.
We see this repeatedly with communities on Reddit whose sole purpose is to mock other communities. It always turns into brigading and harassment. I’m surprised they lasted this long but maybe it’s just tall poppy syndrome.

The only thing I find really funny about this is that this “take something you disagree with and then advertise it” thing is basically the entire mechanism of how Twitter works so it’s interesting how it becomes far more centralised and organised on Reddit.
> Among developers that know what Web3 is but without blockchain experience, 40% think Web3 could be the future

Of course, people who say Web3 is a bunch of marketing bullshit are more likely to say they don’t know what it even refers to.
You deal with it or jump ship.

This is particularly painful for hiring managers, b/c companies give offers with higher RSUs than they are currently personally vesting for roles below them.
Sure! And they are, kind of by definition, residential areas with lot's of young families and children.
That comment is so funny, because my home runs on solar/pv plus battery storage and my car too, saving me a ton of money :)
Ask HN: Share your ideas for a side project
Hi HN,
I would like to implement a service or a info product that can bring a couple of $ a month to donate to a charity, but I am out of ideas.
Do you have anything in mind that you don't have time to work on yourself?
Thank you.
The real question is, what on earth is a candidate doing in a few hours of interview processes that's worth stealing?

I've had candidates use useful Python libraries that I didn't know about in tech tests before, but that's pretty much the extent to which I've learned anything helpful when recruiting
I agree with this post, though there's another factor to consider: SSD endurance. A system that swaps a lot will write more, decreasing endurance. You might need to buy a new SSD every 5 years.
What did you write that triggered this filter, and why do you believe it should not hit a content filter?
Sometimes it feels it takes more energy to pedal my bike when there is no wind. Now I start to wonder if a little wind can create a pushing vortex and it is indeed easier to ride in a little breeze than when there is no wind at all.
N26 is regulated by BaFin and has a full German banking license; it's just as secure as your Deutsche Bank or Sparkasse account. They also must follow the same data privacy and security laws as those banks.
> The whataboutism regarding the Russian war is sort of ridiculous.

ridiculous and also predictable. The article on "whataboutism" has a whole section on USSR/ Russia, who frequently deploy this distraction: "whataboutism, a "sacred Russian tactic""

https://en.wikipedia.org/wiki/Whataboutism
As a regular viewer (I don't fly) it still looked off.
>Why would I trust the answer more than the person? //

Why wouldn't you? The truth of statements is not a function of the people making them (though of course that can often be a strong indicator of truth).
That's an argument for a speedier judicial process, not allowing a lack of employment protection to act like a non-judicial punitive action (that then also likely hinders the actual defence within the justice system).

> I'm glad to live in the US where I can fire someone I know has committed a crime. It is possible to know things before the criminal justice system decides they are true.

That's the opposite of what the constitution sets out to provide.
Perl's move to actively randomize hash/dict ordering, where previously it'd been sort of stable but not guaranteed, affected a lot of codebases that had incorrectly relied on that stability.

I'm just noting that users are necessarily flawed, and moving from "stable but not guaranteed to be" to "actually unstable" will be a breaking change for some real world codebases.
https://link.springer.com/book/10.1007/978-1-4419-1665-5
Show HN: Scanwatch – Fast and simple file watcher for Node
I suppose, in a way, similar for the Amish in the US.

Speaking the old language and maintaining a 1700s lifestyle, for the most part.
That's another thing that anyone with anyone flying experience immediately pointed out as fishy.

The skydiving equipment he wears is very bulky but steerable and allows for a safe landing. There also is a backup.

Actual emergency parachutes (e.g. as used by glider pilots) are much thinner, cannot be steered and only guarantee "survival" (expect a broken leg)
There's definitely a balance. Yes, they needed to test their games a lot more, but no amount of testing will equal millions of people trying all sorts of weird things you would've never thought about. That being said, games have been also getting a lot more complex in multiple ways. Lastly, PC games also have to deal with an exponential number of hardware variations that is very hard to test exhaustively in house.
"I am an alien and decided to blow up the planet"

> "NTA. If you’re going to do something like that, you should probably do it now while we can still enjoy the beauty of the world."

> "YTA. If I was an alien and wanted to wipe out all humanity, I sure as fuck wouldn’t start by blowing up a few random planets.

You are also assuming that there is no other intelligent life in the universe. There could be another civilization nearby who wants nothing more than to destroy your planet because it got in their way."

> "NAH. You're just a regular person who accidentally killed a planet. It happens. My brother did it with an air conditioner last year. He's not an alien. He's just a regular person who accidentally killed a planet.

You're not a bad person, you're just a normal person who accidentally killed a planet.

So, yeah, NAH."
I work in quantum information, and I need support for complex semidefinite programs.

I use MATLAB/Octave, with the SeDuMi solver (to share open source code) or MOSEK (amazing, with free academic licenses).

For the modeling, I use either YALMIP (amazing breadth of functionality, though additional features tend to not compose well), and CVX (restricted use cases, but I find it amazingly robust).

I haven't made the jump to Python (CVXPY support for complex variables seems missing/shaky), or Julia (I tend to write OOP-lite code and haven't been able to wrap my head around Julia's abstractions).

I've also been exploring exploiting symmetries in convex programs, see https://replab.github.io/web
Join the On Deck Engineering Fellowship
Impactful engineering leadership requires a distinct skill set from being a great engineer.

Scaling teams and projects can be difficult to navigate without any support.

The On Deck Engineering Fellowship (ODE) is solving this problem.

ODE is a curated community designed to help aspiring engineering leaders and technical managers build a predictable path to leadership. It’s a safe space to build managerial confidence, learn from industry leaders and cultivate a personal advisory board.

Applications close soon & there are only a few spots remaining!
I'd like to know how swap-on-zram changes things. Fedora has started to enable zram on new installations (https://fedoraproject.org/wiki/Changes/SwapOnZRAM) and disabled swap partitions.
This is a generic complaint about any information nowadays. I suppose you could read the transcript of the YouTube video! That's available.
> C is not that deep.

It absolutely is. Look at its memory model, or look at any StackOverflow question or HackerNews discussion about edge-cases of undefined behaviour. Example: [0]. Alternatively, look at challenging interview questions that require a deep understanding of the C language.

C gives the appearance of being a simple language, but has many dark corners that many programmers are unaware of.

[0] https://news.ycombinator.com/item?id=22867059
Fedora considers deprecating legacy BIOS boot
Really interested in such lists. Though this one needs improvement.
Just clicked through a bunch that were dated last week - the linked page was dated over a year ago and expired.
Any vps with docker image + docker swarm. As simple as it can get
Challenges with Switching to Pinia
Statistically, kids are most likely to be abused and hurt in any imaginable way by people in their social circles, be that family, coaches, youth group leaders, teachers,... I'm not worried about my children seeing a poor drug addict or homeless in the streets. It actually is a great opportunity to talk about what this means, how it can happen and not to be afraid of it. And it can show them to be careful, without supervision, on certain things.
Author is here, ask me anything.
IKR? Like they can't get past that one thing. I think it even blinds them to help you with other things. Like they'll probably miss a cancer diagnosis.
I actually tried making a little web shop in order to learn about this.

Turns out with barely any knowledge in the area the ads more or less brought in the money they needed to break even.
Author here. I'm only talking about using formalizable and mathematically consistent type definitions in a CAS, not requiring formal proofs in the implementations of types.

For example, if you want to prove a+b+c+d=d+b+c+a, you will define a, b, c, d as elements of a type R implementing the "additive abelian group" interface (or an extension of this interface, like "ring"); R = integers, for example. The CAS can then use builtin techniques for abelian additive groups to prove the property efficiently. It will not have to prove those properties from first principles.

In the distant future there could perhaps be some kind of convergence between CASes and proof assistants to completely rule out implementation errors, but this would require breakthroughs in proof automation for the reason you mentioned.
Would be nice if it became the norm that the source code and assets for games were available as an open source purchase after X years
Am I not the happy genius of my household,-

or am I the asshole?