MurphyA/hacker-news huggingface dataset:
by pornel | 2025-06-29 00:35:39+00:00
Stack-allocated objects are used very often in Rust, and they're not limited to a strict LIFO usage.

Rust doesn't have C++'s RAII with destructors running unconditionally at the end of scope. In Rust, destructors run only once after the last use of a value, even if the value moves between scopes.

In the article's terms, Rust uses stack allocation wherever possible, but can also pass objects by value to make the complex non-LIFO uses possible (which is easier in Rust, because it doesn't identify objects by their address, doesn't need a pointer indirection to ensure uniqueness, and lifetimes ensure there are no dangling pointers to the old address).

Thread-local arenas are possible, and Rust can enforce that the objects never leave the thread (!Send types).

It's also possible to create memory arenas in any scope and use lifetimes to ensure that their objects can't leave the scope.

However, placing objects with destructors in arenas is tricky. Since the whole point is to let objects easily reference each other, there's nothing stopping them from trying to access the other objects in the same arena while the arena is being destroyed and runs the destructors. That's an inherent issue with arenas, in C too if the arena supports some kind of per-object cleanup.
by cyberax | 2025-06-29 00:36:09+00:00
> So what's stopping you from doing this with dotnet?

Nothing. But then it's not any different from JS+NPM, Python+uv, etc.

> Going by your logic, no other programming language reaches your ideal "deployment story" the moment you reach for docker.

Pretty much. I guess the only real contender is Go. It can easily produce single-binary self-contained executables that can contain other assets, and it supports seamless cross-compilation.

> Dotnet is cross platform. If you are targeting Linux then you can give that information using `dotnet build --os linux` and nuget packages that have platform-specific binaries would then supply the build with the correct binary.

Now do that with Python libraries that do the neural network thingie.

> That's because it is not the job of any programming language compiler to make changes to cloud infrastructure. You know single responsibility and all that.

The brag here was that Dotnet has "just copy it" deployment. And I'm showing that it's not the case, it's "click like a madman for 15 minutes to set it up and then you can copy deployments as long as they don't have anything but .NET code that can work on the target machine".
by alganet | 2025-06-29 00:36:41+00:00
I had a guitar since I was 16, and never gave up trying to learn. I reached a plateau very quickly (knew some chords, simple songs), and could never go past it. I then spent almost 20 years in that plateau.

Then, suddenly, it all started to click. I was reharmonizing, writing my own lines, improvising, soloing. It was uncanny. I moved to other instruments at similar speed, stuff I never played before. It became so easy.

I heard many times that once you age, you lose some ability to learn music. What made this experience so jarring was that I experienced the exact opposite.

Maybe this thing that you have to start young is all bullshit (probably what's going on here), and before I had some kind of block. I can't explain what that block was though.
by righthand | 2025-06-29 00:36:58+00:00
This is part of Project 2025 to destroy the NOAA. [0]

> Break up the National Oceanic and Atmospheric Administration.

> "fully commercialize" the National Weather Service's forecasting operations.[1]

[0] https://www.project2025.observer/?search=NOAA

[1] https://www.project2025.observer/?search=Weather
by wfn | 2025-06-29 00:37:06+00:00
> Where do we place Israel on that scale

That is, I think, an excellent and pertinent question.

For starters may I suggest applying straightforward quantification on a linear scale and observing the results? See the following two wiki articles / subsections:

1. https://en.wikipedia.org/wiki/Israeli%E2%80%93Palestinian_co... (see chart preceding the Gaza war (follow anchor))

2. https://en.wikipedia.org/wiki/Casualties_of_the_Gaza_war (Gaza war; see top table (and subsequent charts for more detailed breakdown if interested))

Based on this quantitative data where would you place Israel on that aforementioned scale?
by bastawhiz | 2025-06-29 00:37:28+00:00
> Haiku OS, the open source project trying to recreate BeOS, was (and still is) proof that some dreams are too beautiful to die. It will never be the same as the original, but at least it tries. It’s like listening to a Beatles cover band: not the same thing, but it warms your heart.

I'm not an expert on Haiku but I feel like this is needlessly dismissive of a lot of hard work from some smart and passionate people. 25 years later and the hardware is different and more varied, the things people do with their computers is wildly different, and concerns around things like security and compatibility are very different.

Making an analogy that suggests it's a janky BeOS is just wrong. It's not worse, it's different. It might not be the original nostalgic vision the author wants, but that's what two decades does.
by zem | 2025-06-29 00:37:40+00:00
for the windows and mac users the lack of preinstalls and lack of apps might have been what killed beos, but for the linux users who might have been tempted to experiment (i was one!) it was the lack of drivers that delivered the death blow. i was perfectly happy to install the os myself and use it for whatever i could, but it did not support my network card and that was that.
by keyringlight | 2025-06-29 00:37:52+00:00
The phone/tablet as most common 'personal computer' is what I see that will be a constant bleed on the audience for the desktop PC. At least for the home audience the price trends over the past decade seems like a big deterrence, and the old model of having a desktop for home use and an enthusiast upgrading/modernizing it involves more. I do a fair amount of gaming on my 8-9 year old PC, and it's hard to justify an upgrade (which at this point is a whole new build) for more recent games versus getting a PS5 for 400 bucks or so (or a used one for 200-300) which is less than a reasonably capable/modern GPU by itself.

I guess my concern is where are the gradual on-ramps for getting people into that desktop PC (windows or otherwise) environment so they can explore and discover what it enables for them? There's no trouble if you already know you're an enthusiast, you can make an informed decision if the bill of parts is worth it, and I don't see professional-workstations going away as a tool.
by martin-t | 2025-06-29 00:39:35+00:00
> I've seen enough examples where the best implementation does not in fact win, but merely the one that put the most money into shoving it into people's eyeballs.

I thought that was the default?

Are there honestly _any_ examples of the best implementation winning against a solid advertising budget?

Copyright certainly needs improvement but in the direction of protecting individual creators from mass exploitation, not abolishing it to remove one more restriction from what the rich can monetize to get more rich.
by bastawhiz | 2025-06-29 00:40:47+00:00
Unrelated to my other comment, who owns the rights to BeOS these days? Palm seems to have sold it off to a company called ACCESS? But they don't seem to have any intention of doing anything with it, and I can't imagine the source is worth much to them. How reasonable is it for a company to push a two decade old project into the public (after taking the basic steps of deleting any licensed code and employee details)?
by sureglymop | 2025-06-29 00:41:31+00:00
I use uBlock Origin with everything blocked by default. Most websites actually load fine. For those that don't, I manually whitelist just the scripts they need and then press the lock to remember that for the next time I visit that website.

As a non dinosaur, It's not actually hard nor tedious to not use JavaScript everywhere and I would recommend it. I think the problem in your situation may have been that those people actively made their problem your problem.
by recursivedoubts | 2025-06-29 00:42:23+00:00
HTML is a hypermedia format, the most widely used, and it's designed mainly for human consumption. Machines parsing and using something is too broad an idea to engage with meaningfully: browsers parse HTML and do something with it: they present it to humans to select actions (i.e. hypermedia controls) to perform.

Your understanding is incorrect, the links above will explain it. HATEOAS (and REST, which is a superset of HATEOAS) requires a consumer to have agency to make any sense (see https://intercoolerjs.org/2016/05/08/hatoeas-is-for-humans.h...)

MCP could profitably explore adding hypermedia controls to the system, would be interesting to see if agentic MCP APIs are able to self-organize:

https://x.com/htmx_org/status/1938250320817361063
by Frost1x | 2025-06-29 00:43:45+00:00
Are there other countries with similar weather satellites? I imagine China or the EU likely have some of their own. I know the US has been pushing this for free so plenty of nations likely piggy back off the free data. But I imagine larger ones might want their own redundant services to some degree to avoid vulnerability.

If so, they might be benefiting, but that’s about it.
by Veserv | 2025-06-29 00:44:43+00:00
You are right about the data. The data is unfortunately submitted by individuals who are such overwhelming fans of Tesla FSD that they are willing to voluntarily submit after-action reports and is thus extremely biased towards Tesla and should be taken as a upper bound at best.

It is unfortunate that there is no higher quality source of data as the manufacturer deliberately hides their data and only publishes deliberately deceptive, juvenile, and unscientific reports that disregard even basic scientific requirements you learn to apply in high school such as error bars.

If you care to present a robust, representative, auditable, high-sample dataset supporting your apparent assertion that the numbers are dramatically higher, be my guest. And no, arguing that there is no available high quality data thus you get to claim whatever number or safety you want without evidence is not a valid argument.

That the manufacturer is unable to present any scientifically sound data to support their assertions, and in fact only producing deliberately deceptive conclusions, despite literal billions of miles, billions of dollars, and years of work is enough to switch the burden of proof onto them.
by pinkmuffinere | 2025-06-29 00:45:25+00:00
Sure, but the example I'm providing is just meant to illustrate that BB(n) is not greater than arbitrary f(n). I'm not trying to provide the biggest number, I'm trying to illustrate that the sketched-out proof is incorrect. If you want me to provide a bigger number, I suppose another easy example is to define f(n) = BB(BB(n)).

Edit: Oh sorry, I see I misread the direction of your greater than signs. Leaving comments as-is though, hopefully that results in the least confusion
by SV_BubbleTime | 2025-06-29 00:45:26+00:00
You effectively need or greatly benefit from gas, water, electricity and an ISP.

What do you really get out of social media? I mean other than most of you getting crippling anxieties about things that aren’t even real, of course.

Sure sure, I know, everyone wants it because they need to share photos of the kiddos with grandma out of country. No one needs it because they enjoy the shallow bullshit and dopamine and snarky retorts that enforce their ideology.
by __MatrixMan__ | 2025-06-29 00:45:27+00:00
I'm glad to see that I'm not the only person worried about this. It's a pretty glaring bit of attack surface if you ask me. I chuckled when I saw you used nvm as an example in your readme. I've pestered nvm about this sort of thing in the past (https://github.com/nvm-sh/nvm/issues/3349).

I'm a little uncertain about your threat model though. If you've got an SSL-tampering adversary that can serve you a malicious script when you expected the original, don't you think they'd also be sophisticated enough to instead cause the authentic script to subsequently download a malicious payload?

I know that nobody wants to deal with the headaches associated with keeping track of cryptographic hashes for everything you receive over a network (nix is, among other things, a tool for doing this). But I'm afraid it's the only way to actually solve this problem:

1. get remote inputs, check against hashes that were committed to source control

2. make a sandbox that doesn't have internet access

3. do the compute in that sandbox (to ensure it doesn't phone home for a payload which you haven't verified the hash of)
by cyberax | 2025-06-29 00:45:53+00:00
You clearly have not worked with in a competent JS-based project. Literally none of your objections are valid except for the single-threaded nature of JS.

Which is also not quite valid, given that .NET has async now, with all the same faults.

> 3) It takes minutes to start! I hope you never have an emergency update that needs to go out right now!

This clearly shows that:

1. "Just copy it" leads to messes that need sub-second deployments. Probably manual ones, because simply spinning up CI/CD and running the tests typically takes longer. Were you responsible for that CrowdStrike outage?

2. My JS project compilation takes 10 seconds from an empty directory to the compiled asset.

> 5) NPM libraries are under constant churn. Just updating packages requires minutes of 100% computer power to resolve the dependency graph logic... which has changed.

We're using PNMP and our library resolution takes seconds.

> 6) In .NET land there's basically only two ORMs used: Entity Framework from Microsoft and Dapper from StackOverflow. They work fine. Someone at $dayjob picked "typeorm" for Node. Is it the best? Who knows!

It's interesting that you think that not having choice of libraries is good.

I guess that's OK when your worldview has shrunk down to the confines of MSDN, and you can't see anything outside of it.
by jaredklewis | 2025-06-29 00:46:26+00:00
> The legal obligation to represent shareholders erodes morality

This "legal obligation" is an internet rumor that does not exist in the real world. Yes, if your company has competing buyout offers of $1m and $2m and the board takes the $1m offer because they received a bribe, it will come up. Otherwise, it never does.

The proof is in the pudding (please go find me even one case where shareholders have successfully imposed their will on a board or executives because of this obligation), but it doesn't even logically make sense. Other than the buyout example, it's hard to think of almost any action a company could take that doesn't have some justification that it is for the benefit of shareholders. i.e. if we make our app too addictive, we risk social backlash and regulatory intervention by governments which will hurt out shareholders. And that's all that is needed, because there is no associated time frame with this obligation.

To be clear, boards and executives might strive to please investors, but it is not based on a legal obligation. An executive that ignores the interests of shareholders might be concerned about their reputation as a capable entrepreneur, risk losing their job, or devalue their own shares, but they are no in legal jeopardy.
by bigiain | 2025-06-29 00:46:31+00:00
I am pondering if I should do this.

If I have a app who's backend needs to connect to, say, a CRM platform - I wonder if instead of writing APIs to connect to Dynamics or Salesforce or Hubspot specifically, if there's benefit in abstracting a CRM interface with an MCP so that switching CRM providers later (or adding additional CRMs) becomes easier?
by behnamoh | 2025-06-29 00:46:56+00:00
Haskell has an interesting syntax: it is intuitive after someone explains it to me, but not intuitive much before the explanation.

I don't think it's because I'm used to Algol-based languages (C, Python, etc.). Every Haskell code I've seen is plagued with a plethora of operators which aim to make the code concise but it's not obvious what they do just by looking at them: https://academy.fpblock.com/haskell/tutorial/operators/
by comex | 2025-06-29 00:46:56+00:00
I'd say that awk really is too weak. Awk has a grand total of 2 data types: strings, and associative arrays mapping strings to strings. There is no support for arbitrarily nested data structures. You can simulate them with arrays if you really want to, or you could shell out to jq, but it's definitely swimming upstream.

Most languages aren't quite that bad. Even if they can't handle JSON very ergonomically, almost every language has at least some concept of nesting objects inside other objects.

What about shell? Just like awk, bash and zsh have a limited number of data types (the same two as awk plus non-associative arrays). So arguably it has the same problem. On the other hand, as you say, in shell it's perfectly idiomatic to use external tools, and jq is one such tool, available on an increasing number of systems. So you may as well store JSON data in your string variables and use jq to access it as needed. Probably won't be any slower than the calls to sed or awk or cut that fill out most shell scripts.

Now, personally, I've gotten into the habit of writing shell scripts with minimal use of external tools. If you stick to shell builtins, your script will run much faster. And both bash and zsh have a pretty decent suite of string manipulation tools, including some regex support, so you often don't actually need sed or awk or cut. However, this also rules out jq, and neither shell has any remotely comparable builtin.

But you might reasonably object that if I care about speed, I would be better off using a real programming language!
by wat10000 | 2025-06-29 00:47:57+00:00
Imagine if your city was invaded by a powerful enemy. They bomb the place to rubble. They blow up every hospital. They enact a blockade and hinder aid organizations from providing basic food. They do this for nearly two years straight and show no sign of stopping.

They say, “just surrender and it will all be over.” Are you going to trust that?
by dheera | 2025-06-29 00:49:06+00:00
I don't really understand what's privacy-focused about it that Framework isn't. Isn't privacy mostly a software problem, other than hardware switches on camera/mic, which Framework already has?

> We do not use Google Analytics

Why do I care if you use Google Analytics? Doesn't affect the laptop I get. You're free to analyze your site traffic with whatever tool you want. (I block Google Analytics on the client side personally so I really don't care if you use it or not, it's all the same to me.)

> We use Signal and you can reach us via Protonmail.

Again, why should I care what you use within your business? Your business is a black box to me, and the right privacy assumption is to assume the worst about what's inside that black box, rather than try to audit what's used inside that box, and not send privileged information to you in the first place.

> You can buy your laptop with Linux preinstalled.

Yeah, no, I don't trust you to install an OS for me. Since I care about privacy, I would of course install my own OS.

> We setup your operating system with the most privacy-friendly settings. Even if we install Windows!

Nope nope nope
by YZF | 2025-06-29 00:49:08+00:00
Israel did give up Gaza and gave Palestinians full control of it, and a border with Egypt they controlled, in 2005.

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

Yes, everything can be litigated to the beginning of time, WW-2, WW-1, the Romans. But the fact still stands that all those "moral" countries didn't hesitate to lay siege, starve people, bomb civilians, for tbh little reason. I don't recall hearing even crickets protest.

Why can't the "Islamic State" have their own country? Sure their culture of beheading and kidnapping Yazidi as slaves is a bit weird but come on.
by parpfish | 2025-06-29 00:49:37+00:00
i think you're reading something into my post that i didnt intend. i hate the "just learn to code"/"only STEM degrees are worthwhile" crowd.

we absolutely should be pursing things that are creative, beautiful, and transcendental. but.. should we expect the pursuit of the creative, beautiful, and transcendental to be a career? we should encourage everybody to do because it is inherently valuable instead of pursuing it because its a job.
by mtmail | 2025-06-29 00:50:34+00:00
One of arguments seems to be based on climate change denial

"Together, these [six main offices of NOAS] form a colossal operation that has become one of the main drivers of the climate change alarm industry and, as such, is harmful to future U.S. prosperity. This industry’s mission emphasis on prediction and management seems designed around the fatal conceit of planning for the unplannable"

"Scientific agencies like NOAA are vulnerable to obstructionism of an Administration’s aims if political appointees are not wholly in sync with Administration policy. Particular attention must be paid to appointments in this area."
Ask HN: Would HN be better if downvoting required justification?
by martin-t | 2025-06-29 00:50:43+00:00
Long time lurker, I always enjoyed the technical discussions here but lately I feel the need to comment more.

Usually, the experience is positive but there are instances where the discussion seems to settle, I have a few points on some comments, then come back a few hours or a day later and my comments are downvoted into negative numbers without any new replies.

1) This doesn't feel like organic traffic. Normal votes (both up and down) come in steadily, the downvotes come in all at once, sometimes they appear even after just an hour or two.

2) I feel like they devalue discussions into a popularity contest. If you disagree with me, that's fine but you should be able to articulate the disagreement. If people just disagree and feel the need to let me know, they should have to process what I wrote in their brain sufficiently to form a coherent reason.
by mandmandam | 2025-06-29 00:51:06+00:00
> It seems that pot is about the worst thing that a schizoaffective/schizophrenic person can use.

This isn't entirely true, and it's a dangerous misconception. High THC, low CBD cannabis wouldn't be recommended, but that's exactly what making cannabis illegal selects for.

High CBD, low/zero THC cannabis, on the other hand, will probably be one of the paths to treatment if we ever get over our Reefer Madness and pharmaceutical obsession.
by fsckboy | 2025-06-29 00:51:23+00:00
>All the investors are looking for a quick buck. Nobody is willing to invest into the longer-term future anymore.

that's a myth

you are confusing liquidity with other aspects of investing. name the biggest companies on the stock exchanges, they've been around for many years, and are expected to be around many more years. That's long term investing.

liquidity means that any particular investor can change their own personal priorities and get out of the long term play in the short term. You want to buy a house with your money, that's ok, the projects you've been invested in can soldier on without you.

if a new company with no track record of making money wants to tie up your investment while showing no results for a decade or more, you yourself would probably be unwilling to invest, because there are many alternative investments that give you liquidity and show results regularly.
by tanh | 2025-06-29 00:51:42+00:00
I just went through hell this with one of my daughters. She was born in Japan and I had a hard time getting my mother’s surname matching what was on my birth certificate.

Long story short, I demonstrated I was born in England and that I have citizenship (a passport) so no matter the possibility, it must be something that can be passed on. That doesn’t match the guidelines of documents required but it’s much less of a pain I reckon.