MurphyA/hacker-news huggingface dataset:
by pdubroy | 2025-12-10 18:51:53+00:00
I know there have been solutions in the Java world for >20 years, though I can't comment on well they work in practice.

From a quick search, _An Implementation of Scoped Memory for Real-Time Java_ (https://people.csail.mit.edu/rinard/paper/emsoft01.pdf) provides a decent overview:

> Real-Time Java extends this memory model to support two new kinds of memory: immortal memory and scoped memory. Objects allocated in immortal memory live for the entire execution of the program. The garbage collector scans objects allocated in immortal memory to find (and potentially change) references into the garbage collected heap but does not otherwise manipulate these objects.

> Each scoped memory conceptually contains a preallocated region of memory that threads can enter and exit. Once a thread enters a scoped memory, it can allocate objects out of that memory, with each allocation taking a predictable amount of time. When the thread exits the scoped memory, the implementation deallocates all objects allocated in the scoped memory without garbage collection. The specification supports nested entry and exit of scoped memories, which threads can use to obtain a stack of active scoped memories. The lifetimes of the objects stored in the inner scoped memories are contained in the lifetimes of the objects stored in the outer scoped memories. As for objects allocated in immortal memory, the garbage collector scans objects allocated in scoped memory to find (and potentially change) references into the garbage collected heap but does not otherwise manipulate these objects.

> The Real-Time Java specification uses dynamic access checks to prevent dangling references and ensure the safety of using scoped memories. If the program attempts to create either 1) a reference from an object allocated in the heap to an object allocated in a scoped memory or 2) a reference from an object allocated in an outer scoped memory to an object allocated in an inner scoped memory, the specification requires the implementation to throw an exception.
by eudamoniac | 2025-12-10 18:52:01+00:00
> Is it my fault that I've resulted in being unable to perform "basic tasks" such as walking outside? Have I somehow manifested osteoarthritis by my bad choices?

I don't know, maybe. But I wasn't commenting about your knee. I was commenting about the father's congestive heart failure which is usually, and sounds like in this case, caused by sloth. There are plenty of fit people even in wheelchairs.
by artur44 | 2025-12-10 18:52:32+00:00
A lot of the debate here swings between extremes. Claims like “AI writes most of the code now” are obviously exaggerated especially coming from a nontechnical author but acting like any use of AI is a red flag is just as unrealistic. Early stage teams do lean on LLMs for scaffolding, tests and boilerplate, but the hard engineering work is still human. Is there a bubble? Sure, valuations look frothy. But like the dotcom era, a correction doesn’t invalidate the underlying shift it just clears out the noise. The hype is inflated, the technology is real.
by vidarh | 2025-12-10 18:52:34+00:00
> Common to get a 10 year US visa. Schengen visa? For the duration of your visit

Both of these are possible. Neither are nearly that simple.

For starters the validity period depends on the country, and the type of visa, and since you mentioned Africa, applicants from the vast majority of African states are limited to single entry visas with 3 months validity for B-visas. A few can get 4-5 years, and a handful (I think Morocco, Botswana, South Africa) can get 10 years.

Given that, it's rather odd that you used specifically African countries as the basis for comparison and then pulled out 10 year duration.

On the other side, it is reasonably uncommon to be limited to just the stay for Schengen visas, though it can certainly happen, especially for applicants from poorer countries. And validity can be up to 5 years. But you certainly can

> The EU also charges pretty hefty fees for a Schengen visa, which I view as a racket and/or xenophobia.

The standard cost for a Schengen visa is 90 euros or 105 USD. If you've paid more that has been service fees to application centres, not the EU fees.

The application fee for a US B-visa is 185 USD, in addition there is an issuance fee for some countries, most of them African.
by mcdow | 2025-12-10 18:53:42+00:00
This is tangential but the whole Tiananmen Square thing is kind of odd. When I visited China many people were more willing to discuss it than I had imagined. Some spoke about it unsolicited. It’s a tourist destination you have to buy tickets for. It’s rather subtle what can and cannot be discussed relating to it. Those I spoke to about it told me that most people have a good understanding of what happened, and many people speak negatively of the CCP. You just can’t do it if you have a major platform (e.g. you’re Jack Ma or you are an LLM).

Not to discount how negative free speech restrictions are, but I’m not so sure how effective that particular propaganda campaign would be.
by kyboren | 2025-12-10 18:53:51+00:00
These pagers weren't purchased in stores by civilians. You see, Hezbollah had a problem: Their phone network was totally compromised. Israel was using operatives' phones as tracking beacons. So Hezbollah purchased a few thousand pagers through specialty channels (which we now know had been compromised by Israel) to distribute to their commanders. They believed this would improve their security, because unlike the two-way radios in cell phones, pagers use a one-way broadcast radio, and there is no need to know or report the pager radio's location.

Given this context: A limited number of specialty electronics, acquired and distributed by Hezbollah as a means of military command and control, and subsequent to this operation Hezbollah's C2 was demonstrably neutered--you believe that the majority of injuries were innocent civilians?

Basic logic indicates that the vast majority of those killed and injured were, in fact, nodes in Hezbollah's command and control structure.
Ask HN: Can I get around an assumed shadowban from Stripe?
by boringg | 2025-12-10 18:53:51+00:00
I got my credit card stolen and replaced the card but now when I buy things my with stripe processed sites I can't buy - it processes then immediately declines it afterward (it doesn't say fraud but its exactly whats happening). It kind of operates as a shadow ban. I assume they think its continued fraud, but it isn't and it's on a new issued card. Can you remove the ban or find another way around it or how long am i stuck in this limbo? Seems directionally orwellian that with a new issued card from my bank is flagged as fraud by stripe. Who gave them that power?
by klipklop | 2025-12-10 18:54:05+00:00
I have just laughed over the years as people argued that private equity owned too small of a percentage of the housing stock to move the market. Looks like they were wrong.

The entire arrangement is such a tax and loan leveraged scam. It's time investment groups and corporations are no longer allowed to use tax advantages that were intended to help build families/middle-class build wealth. Too bad PE essentially runs the US now. I would not be surprised that in ten years PE/REITs own 50% of the housing stock in every city that has a functioning job market.
by shadowgovt | 2025-12-10 18:54:16+00:00
It's worked in the past. But it does require someone at your org to care that CI times are spiking, which is not always a thing you can rely upon.

In addition: if CI is the only place the issue shows up, and never in a user interaction... Why does that software exist in the first place? In that context, the slowdown may be serving as a useful signal to the project to drop the entire dependency.

ETA: To be clear, I don't do this as a substitute for a regular deprecation cycle (clear documentation, clear language-supported warnings / annotations, clear timeline to deprecate); I do it in addition before the final yank that actually breaks end-users.
by ndsipa_pomu | 2025-12-10 18:54:34+00:00
That doesn't seem plausible to me, though not because I don't think the upper class would be above such behaviour. If investors try to prop up the price of a company, they'll end up buying more over-priced shares and potentially losing far more money in the long-term, so it's probably only worthwhile if they believe that it's just a short-term blip. Also, the investors that don't believe that it's a sensible long-term bet will be offloading their shares to the people who are willing to pay top price for them, so someone is going to end up holding a lot of expensive stock that's not performing.
by kotaKat | 2025-12-10 18:54:45+00:00
Yeah. I'm actually really mad at that one. They really ruined webOS.

https://old.reddit.com/r/webos/comments/1o886vc/ms_copilot_c...

https://www.theverge.com/2025/1/6/24337033/lg-samsung-micros...
by dralley | 2025-12-10 18:54:49+00:00
"The reports" are that 12 were killed total, not that 12 civilians were killed. Only 2 of the killed were civilians as far as I can tell. Several of those who people on Twitter tried to claim were civilians, including a doctor, were admitted by Hezbollah to be Hezbollah members and given Hezbollah funerals.

I've never heard of "42 targets", and given 12 people died total, obviously 42 targets were not killed.

You should provide some sourcing for your numbers.
by lonelyasacloud | 2025-12-10 18:54:52+00:00
Not sure it matters.

It's a relatively uncontroversial ban, with public support in Aus because of mental health concerns, and key social media sites complying.

VPN's come with their own minimum age 18 T&C's. As do the credit and debit that are usually required somewhere along the line to pay for the services.

Historically, if it's awkward to circumvent most people tend to comply; which means in turn that minority that can figure out a way around it are unlikely to find many of their friends present. While for majority there's unlikely to be much of a draw or peer group pressure to circumvent.

I'm sure Aus gov will monitor, media will highlight problems etc, but would be surprised if it was not actually quit effective.
by hiq | 2025-12-10 18:54:56+00:00
Wild (and I guess most of the time bad) idea: on top of the warnings, introduce a `sleep` in the deprecated functions. At every version, increase the sleep.

Has this ever been considered?

The problem with warnings is that they're not really observable: few people actually read these logs, most of the time. Making the deprecation observable means annoying the library users. The question is then: what's the smallest annoyance we can come up with, so that they still have a look?
by iteria | 2025-12-10 18:55:10+00:00
Kids are in these spaces because there is no place for them to be. People call the police on unaccompanied kids outside. Teens are banned from malls. Where are teens supposed to be where they won't be harassed. When I was a kid we used to just wander around and chat. There used to be a whole event on Friday evenings where high schoolers would decent on this mall across the street from two movie theaters. We went to the skating ring. There were teen clubs. More. Right now, I can't think of a single place a teen could just hang out besides at each other houses which is mostly what I watch them do. It makes sense why they end up in virtual spaces. They can socialize privately that way.
by casey2 | 2025-12-10 18:55:12+00:00
Not going to happen. The EU makes more from fines on US tech companies than taxes on EU tech companies.

It's unclear at this point if EU leaders have any authority to even collect any money or if they are just an anachronism.

There are people that want to work and people that don't, somehow the EU is run by people that don't. The EU is in for a rude awakening when US companies stop paying these illegal fines and EU companies stop paying illegal taxes.
by bikenaga | 2025-12-10 18:55:19+00:00
Abstract: "Neurofluids, including cerebrospinal fluid (CSF) and interstitial fluid, circulate through regulated central nervous system pathways to clear cerebral waste and support brain health, with elevated CSF flow hyperdynamicity and regurgitation through the cerebral aqueduct associating with aging and neurodegeneration. Sleep exerts state-dependent effects on neurofluid circulation, yet similar modulation during unique waking states, such as meditation, remains underexplored. Notably, mindfulness meditation shares several regulatory features with sleep, with core meditation practices representing distinct arousal states. We investigated whether the focused attention (FA) style of mindfulness meditation modulates neurofluid dynamics directionally opposite to aging and consistent with sleep. Using phase-contrast MRI, we assessed absolute CSF flow and velocity through the aqueduct, and using blood oxygenation level–dependent (BOLD) MRI, we assessed CSF fluctuations near the cervicomedullary junction together with total supratentorial gray matter fluctuations. Assessments were repeated in meditation-naïve adults during mind wandering (MW) without (n = 13; repeatability controls) and with (n = 14; breath controls) respiration rate modulation and in adept meditators (n = 23) during MW and FA meditation. No aqueduct CSF flow changes were observed in control groups. In meditators, aqueduct absolute CSF flow motion decreased from MW to FA meditation (4.60 ± 2.27 mL/min to 4.17 ± 2.10 mL/min, P = 0.005) owing to reduced regurgitant cranially directed CSF flow velocity. On BOLD, this paralleled increased low-frequency (0.0614 to 0.0887 Hz) CSF fluctuations (P = 0.0138), which were inversely correlated with gray matter fluctuations during FA meditation. Findings suggest that mindfulness meditation may represent a nonpharmacological, waking state capable of modulating neurofluid dynamics in a directionally similar manner to sleep and opposite to aging and neurodegeneration."
by zug_zug | 2025-12-10 18:55:25+00:00
Two things

Firstly, generals, like anybody else can be terrorized.

Secondly, even if you only kill generals, that doesn't mean you didn't cause terror for everybody else. Imagine for example that Hezbollah found a way to poison the food for Israel's top X military personnel. It would cause a state of emotional terror for many people in Israel about their food safety for decades most likely, even if they weren't in the military themselves.
by Barrin92 | 2025-12-10 18:55:42+00:00
>We've been hearing politicians complain for years that they're losing the youth when it comes to long-standing foreign policy positions,

When Twitter added its location feature and it turned out that political accounts with millions of followers are run out of Pakistan or India you have to be crazy to still deny the scope of foreign influence that is exerted over social media.

You see it with the rise in anti-semitism or Russia's explicit promotion of influencers targeting Western youth. Why on earth would we let our kids be brainwashed by foreign intelligence agencies? There is no reason to assume this is some "hidden agenda", this is as big of a public issue as the mental health of teenagers. The United States used to have media rules that limited foreign ownership in companies with a broadcasting license, and now 14 year olds get their political lessons straight from Moscow, it's ridiculous.
by LegionMammal978 | 2025-12-10 18:55:44+00:00
If you're rendering dynamic HTML, then either the source is authorized to insert arbitrary dynamic content onto the domain, or it isn't. And if it isn't, then you'll always have a hard time unless you're as strict as possible with your sanitization, given how many nonlocal effects can be embedded into an HTML snippet.

The more you allow, the less you know about what might happen. E.g., <svg> styling can very easily create clickjacking attacks. (If I wanted to allow SVGs at all, I'd consider shunting them into <img> tags with data URLs.) So anyone who does want to use these more 'advanced' features in the first place had better know what they're doing.
by Hackbraten | 2025-12-10 18:55:49+00:00
A deprecation warning is not actionable for typical end users. Why don't more warnings include calls to action?

Instead of a warning that says, "The get_widget method in libfoo is deprecated and will be removed by November 30", the warning could say:

"This app uses the deprecated get_widget method. Please report this bug to the app developer. Ask them to fix this issue so you can continue using this app after November 30."
by adrian_b | 2025-12-10 18:55:50+00:00
Actually, when I saw the first Avatar, I thought that it was much closer to the "Treasure of Silver Lake" ("Der Schatz im Silbersee") by Karl May, combined with many scenes from the earlier novels of Karl May.

Many characters of that series of Karl May novels have a direct mapping, e.g.:

Old Shatterhand => Jake Sully

Winnetou => Neytiri (gender swapped)

tamed mustang => tamed flying dragon

and many others.
by wyre | 2025-12-10 18:55:58+00:00
>I think a lot of people are lost and lonely, and for many people mental health care is a band-aid over a real crisis of isolation and despair.

Professional mental health care cannot scale to the population that needs it. The best option, like you mention, is talking to friends about our feelings and problems. I think there has been an erosion (or it never existed) of these social mental health mechanisms. There is a learned helplessness that has developed that people have lost their capacity to just be with someone that is hurting. There needs to be a framework for providing mental health therapy to loved ones that can exist without licensed professionals, otherwise LLm's are the only scalable option for people to talk about their issues and work on finding solutions.

This might be controversial but mental health care is largely a bandaid when the causes of people's declining mental health is due to factor's far outside the individual's control: loneliness epidemics, declining optimism towards the future, climate change, the rise of global fascism, online dating, addictiveness of social media and the war on our attention, etc.
by bayesnet | 2025-12-10 18:55:59+00:00
The issue as I see it is that XML schemas are fine[0] for immutable documents but not suited for dynamic content. As a user it would be extraordinarily frustrating for a site or web app to break midflow because of a schema validation failure after a setHTML call or something.

[0]: I’ve worked with XML schemas a lot and have grown to really dislike them actually but that’s neither here nor there
by umanwizard | 2025-12-10 18:56:02+00:00
> It's using Rust as a selling point.

That's just not true. Neither Linus Torvalds, nor the Linux Foundation, nor any major distro, nor anyone else who could conceivably be considered responsible for "marketing" Linux is saying you should use it because a small part of it is written in Rust.

I just went to ubuntu.com and the word "rust" does not appear anywhere on the front page. So what are you talking about?
by andrewcamel | 2025-12-10 18:56:09+00:00
Yeah... requires serious mental gymnastics to argue otherwise.

Military/terrorist group procures communication devices to coordinate military operations. Explosive is sized to injure the holder, not bystanders - per CCTV videos, eg:

https://www.theguardian.com/world/video/2024/sep/18/cctv-cap...

Hard to get more precise/targeted than that!

In contrast to:

https://www.youtube.com/watch?v=JEoK6oihqhs
by bri3d | 2025-12-10 18:56:36+00:00
> COM is basically just reference counting and interfaces. > I remember a few years back hearing hate about COM and I didn't feel like they understood what it was.

Even in "core" COM there's also marshaling, the whole client/server IPC model, and apartments.

And, I think most people encounter COM with one of its friends attached (like in this case, OLE/Automation in the form of IDispatch), which adds an additional layer of complexity on top.

Honestly I think that COM is really nice, though. If they'd come up with some kind of user-friendly naming scheme instead of UUIDs, I don't even think it would get that much hate. It feels to me that 90% of the dislike for COM is the mental overhead of seeing and dealing with UUIDs when getting started.

Once you get past that part, it's really fast to do pretty complex stuff in; compared to the other things people have come up with like dbus or local gRPC and so on, it works really well for coordinating extensibility and lots of independent processes that need to work together.
by dang | 2025-12-10 18:57:37+00:00
It's true that meta is the crack of internet forums, so we, er, crack down on it quite a bit. That's a longstanding view: https://hn.algolia.com/?dateRange=all&page=0&prefix=false&qu...

Alternate metaphor: evil catnip - https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que...

But yesterday's thread and this one are clearly exceptions—far above the median. https://news.ycombinator.com/item?id=46212180 was particularly incredible I think!
by ActorNightly | 2025-12-10 18:57:51+00:00
> We invented new languages because we didn't find those old ones expressive enough

Not quite. Its not about being expressive enough to define algorithms, its about simplification, organization and avoidance of repetition. We invented languages to automate a lot of the work that programmers had to do in a lower level language.

C abstracts away handling memory addresses and setting up frame stacks like you would in assembly.

Rust makes handling memory more restrictive so you don't run into issues.

Java abstracts away memory management completely, so you don't need to manage memory, freeing up you to design algorithm without worrying about memory leaks (although apparently you do have to worry if your log statements can execute arbitrary code).

Javascript and Python abstract type definition away through dynamic interpretation.

Likewise, OOP/Typing, functional programming, and other styles were included for better organization.

LLMs are right in line with this. There is no difference between you using a compiler to compile a program, vs a sufficiently advanced LLM writing said compiler and using it to compile your program, vs LLM compiling the program directly with agentic loops for accuracy.

Once we get past the hype of big LLMs, the next chapter is gonna be much smaller, specialized LLMs with architecture that is more deterministic than probabilistic that are gonna replace a lot of tools. The future of programming will be you defining code in a high level language like Python, then the LLM will be able to infer a lot of the information (for example, the task of finding how variables relate to each other is right in line with what transformers do) just from the code and do things like auto infer types, write template code, then adapt it to the specific needs.

In fact, CPUs already do this to a certain extent - modern branch predictors are basically miniature neural networks.
by ryandrake | 2025-12-10 18:58:02+00:00
> Second, whatever you write in the guidelines, people will incline to lawyer and bicker about. Writing a guideline implies, at least for some people, that every word is carefully considered and that there's something final about the specific word choices in the guidelines. "Technically correct is the best kind of correct" for a lot of nerds like us.

God I hate this. And it cuts across society, not just on HN or among nerds. Something like 10% or so of the people I interact with seem to just rules-lawyer their way through life as a default. "Well... as you can see in the rule book, section 5, paragraph 3, the rule clearly says we shouldn't do X, but it doesn't say we mustn't do X, so I'm clearly allowed to do X." Insufferable.