MurphyA/hacker-news huggingface dataset:
by sjm-lbm | 2025-06-27 15:39:52+00:00
I use pfSense CE, and rely on DNS entries to be automatically created for DHCP addresses. That worked fine for more than a decade, until they made Kea the default a couple of years ago (or did they just put a bunch of notices in the interface that old DHCPd was deprecated? It's been long enough that I don't remember).

Anyway, at the time Kea (at least in pfSense) wasn't able to do that, which caused things to break for me for a bit. It's a small thing (and, I mean, totally fair with free software) but the fact that they pushed an update to Kea before Kea (again, at least in pfSense) was at feature parity rubbed me the wrong way and has kept me from using it since then.

(edit: on the off chance anyone cares, I decided to check and it looks like this issue has been fixed as of pfSense CE 2.8.)
by jcelerier | 2025-06-27 15:39:58+00:00
> After being stuck in XML land for making UI for almost two decades I couldn't be happier to leave it behind.

this is completely unrelated to what QML is.

QML is a complete language which allows to build both the application logic and the layout, which extends javascript with native reactive data binding. QML+QtQuick is equivalent to Dart+Flutter, or JS+HTML+CSS+React for instance.

https://www.qt.io/product/qt6/qml-book/ch04-qmlstart-qml-syn...
by michaelsbradley | 2025-06-27 15:40:07+00:00
The git cli tool is mentioned countless times over many years on HN, surely an indicator that it’s in popular use by the commentatorship here.

I’ve seen many (seemingly informed) mentions of the jj cli tool in the last year — not unreasonable to conclude interest in it is growing among folks here, and enough to pique my curiosity.

I responded to:

This is the second time [I’ve seen that] someone has recommended this book on HN
by jraph | 2025-06-27 15:40:40+00:00
- Browsers are XSLT (1.0) processors.

- Xee: https://github.com/Paligo/xee

- xrust: https://docs.rs/xrust/latest/xrust/xslt/

- XJSLT (compiles XSLT to JS): https://github.com/egh/xjslt

Xee is WIP AFAIK and I don't know the maturity of xrust and XJSLT.
by fifticon | 2025-06-27 15:40:49+00:00
I see mixed comments, so let me add some praise. I am one of countless, who match his intro-filter: repeatedly hearing 'enlightened' people lament that the vast masses don't "get" lisp and FP, and repeatedly attempting/failing to pick up the red string myself.

background - I am a computer science major with 30+ years experience. I did do a mandatory class of 'implement your own lisp' many eons ago. It just never really 'clicked' for me. I do, by accident, assimilation and lazyness,employ FP style designs in my software. And I guess fp techniques gradually rub off on me from e.g. javascript, lambdas,closures, and map-filter-reduce. in particular, lambdas are useful to me. But I am one of the guys who continue to read the "let me tell you what monads really are", and every time I fall off the bicycle. So, well, I appreciated this 'Xfor 5year olds" :-)
by accrual | 2025-06-27 15:40:50+00:00
> why models are trained with tons of hateful data

Because it's time consuming and treacherous to try and remove it. Remove too much and the model becomes truncated and less useful.

> and released to hurt us all

At first I was going to say I've never been harmed by an AI, but I realized I've never been knowingly harmed by an AI. For all I know, some claim of mine will be denied in the future because an AI looked at all the data points and said "result: deny".
by vidarh | 2025-06-27 15:41:47+00:00
> The analysis has zero redundancy for either servers or support systems.

The analysis is a third party analysis that among other things presumes they'll launch unmodified Nvidia racks, which would make no sense. It might be this means Starcloud are bonkers, but it might also mean the analysis is based on flawed assumptions about what they're planning to do. Or a bit of both.

> IMO you'd be better off thinking about a swarm of cheaper, simpler, individual serversats or racksats connected by a radio or microwave comms mesh.

This would get you significantly less redundancy other than against physical strikes than having the same redundancy in a single unit and letting you control what feeds what, the same way we have smart, redundant power supplies and cooling in every data center (and in the racks they're talking about using as the basis).

If power and cooling die faster than the servers, you'd either need to overprovision or shut down servers to compensate, but it's certainly not all or nothing.
by piotrwilczek | 2025-06-27 15:42:58+00:00
Hey HN,

As an algorithmic trader, I spend most of my time looking for quantifiable edges in the market. This time (a bit for fun) I wanted to check classic candlestick patterns that manual traders use—things like the "Morning star" or "Three White Soldiers." Is there any real, statistical "alpha" to be found in them?

To find out, I built a tool to rigorously backtest these patterns at scale. This project is a high-performance analysis engine that searches for these patterns across years of 1-hour Binance Futures data and measures their historical profitability.

What made this project especially interesting for me is that it was my first real project in Rust. I was able to build it much faster than I ever expected, largely because I used Cursor. Having an AI assistant that could explain Rust's concepts directly in my IDE was a complete game-changer. It felt like pair programming and dramatically shortened the learning curve.

The link goes to a static HTML report generated by the tool, summarizing the performance of various patterns.

A few technical details:

* Tech Stack: It's built in Rust using Tokio for parallelism when analyzing symbols, and serde/csv for data handling. The frontend is plain HTML/JS with static Tailwind CSS and ECharts.js for the interactive charts.

* The "How": The core challenge is comparing patterns that occur at wildly different price levels and volatility. To solve this, the matching logic uses Z-Score Normalization on rolling windows of data. This allows for a true "shape-based" comparison. It then uses a KNN-style search with a binary heap to efficiently find the top N closest matches without having to store them all in memory.

* The Data: ~8 MLN 1-hour candles from all Binance Futures symbols (~490) including delisted ones to avoid survivorship bias.

Of course, this is not financial advice, and past performance is not an indicator of future results. The goal was to explore a specific dataset for historical statistical edges.

I'd love to hear your thoughts, critiques, or any questions you might have. Happy to discuss the technical implementation or the results.
by bmacho | 2025-06-27 15:43:23+00:00
What an incoherent writing lol. I'm not sure if grug = incoherent necessarily, but I'm sure that there is the type of genius that every sentence of them is painfully clear. Wouldn't it be better to cater towards that?

Anyway.

Paco Grug talks about how they want a website (e.g. a blog) without a server-side build-step. Just data, shape of data, and the building happening automagically, this time on the client. HTML has javascript and frames for that, but HTML painfully lacks transclusion, for header menu, sidebar and footer, which birthed myriads of web servers and webserver technologies.

It seems that .xml can do it too, e.g. transclusion and probably more. The repo doesn't really showcase it.

Anyway, I downloaded the repo, and ran it on a local webserver, it works. It also works javascript disabled, on an old browser. (Not as opened as a file tho.) Nice technology, maybe it is possible to use it for something useful (in a very specific niche). For most other things javascript/build-step/dynamic webserver is better.

Also, I think that for a blog you'll want the posts in separate files, and you can't just dump them in a folder and expect that the browser will find them. You'll need a webserver/build-step/javascript for that.
by steveklabnik | 2025-06-27 15:43:26+00:00
> As to the Ferrocene specification, it explicitly states "Any difference between the FLS and the behavior of the Rust compiler is considered an error on our part and the FLS will be updated accordingly."

Right, this is from before it's adopted as the actual spec, because it was from outside the project, and so could not be.

Also, these goalposts are moving: it was "Rust doesn't have a spec" and now it's "I don't like the spec."

Fixing this soundness hole does not require a breaking change to the language. It is an implementation bug, not a problem with the language as specified. But even if it were, Rust's policies around soundness do allow for this, and the project has done it in the past.
by MengerSponge | 2025-06-27 15:43:26+00:00
Context is key. "Cal" refers to "The University of California, Berkeley", even though Davis, Los Angeles, Irvine, Santa Barbara, San Diego, etc etc

"Cal Poly" is shorthand for the SLO campus. It's the original, and the most established one. https://www.espn.com/mens-college-basketball/team/_/id/13/ca...

Cal Poly Humboldt was only renamed three years ago. It's going to take a few generations to get the same cache as SLO.

Funny thing: I met a German physician who works in California now. His degree is from Humboldt University, an old and incredibly prestigious university in Berlin. He found it "funny" (provincial) that people so often register "Humboldt University" as "Humboldt State". One of these things is not like the other!
by jfengel | 2025-06-27 15:43:34+00:00
I don't think Finland and Sweden would have joined NATO if this were just a pan-European power grab. They want to be separate countries. They joined because they genuinely believe that Putin has his eye on them.

That would be insane, but Putin is taking his playbook from the Cold War "madman" theory. He wants you to be guessing, which scatters your attention and misdirects your forces.

The Soviet Union engaged in plenty of proxy wars with the West, but they always avoided engaging directly with Western Europe. Putin has upped the ante by attacking Ukraine, which the West considers an ally and was moving towards a formal alliance.

That puts the madman theory in play. He makes rhetorical feints at Scandinavia. He knows the West won't ignore them, because they don't know if he's kidding.

I concur that the UK is just sucking up to the US here. The US has become a very unreliable partner and Europe needs to find a way to mollify it while they figure out how they can deal with Putin's continuous needling by themselves.
by ben_w | 2025-06-27 15:43:41+00:00
Sure. But what's the alternative way of finding out?

Most (perhaps all) places I've worked have had NDAs, which means statements like this are one of the few ways most of us find out what companies like MS are doing internally.

The only other ways I can think of are when hackers leak their entire commit history, or if a court case reveals it. (I don't expect a whistleblower to do so unless they're also triggering one of those other two categories).
by sheepybloke | 2025-06-27 15:43:57+00:00
The caveat to this is that that this also dependent on where in the lifecycle of the satellite you are at. For example after launch, you might just have your survival heaters on, which will keep you within generally an industrial range (e.g. >-40c), and you might not reach higher temps until you hit nominal operations. But a lot of the hardware specs for temperature often are closer standard "industrial" specs rather than special mil or NASA specs.
by eviks | 2025-06-27 15:44:30+00:00
Because it's much harder to do better design, so often over technological soft good things fall through the cracks.

Like, why aren't more big projects use accessibility as hot reloading if those are so great?

Or, a simple illustration to your reliability point - part of the reason the files are hard to read is because XML is an atrocious format. And also tools like VS aren't even smart to preserve user formatting, so you can't even manually make it easier to read. Why hasn't it been changed in so many years?
by _DeadFred_ | 2025-06-27 15:45:47+00:00
If they need 10 million for a house they take out a loan against their stock for the purchase. They then only pay tax on the income to service that loan, not the entire 10 million.

If they gain more on the 10 million still in stock than the interest on the loan the numbers benefited them. They effectively have 20 million in assets working for them for the modest debt services and without a tax haircut. In the other case they would have half the assets working for them plus would have had to pay 2 million to get those assets.

Meta is up 240% in the last five years. Which is better, not paying modest debt service and paying 2 million taxes AND missing a 240% gain on 12 million (home cost plus taxes), or keeping the 10 million working for you (and the 2 million you didn't pay to taxes) and gaining 240% on it?
by diggan | 2025-06-27 15:46:05+00:00
Yup, agree with everything you said!

I think the only left out part is about people currently believing in the current hyped way, "because this time it's right!" or whatever they claim. Kind of the way TypeScript people always appear when you say that TypeScript is currently one of those hyped things and will eventually be overshadowed by something else, just like the other languages before it, then soon sure enough, someone will share why TypeScript happen to be different.
by bunderbunder | 2025-06-27 15:46:29+00:00
Just shooting from the hip, it's a lot of work, but even more importantly it's running slightly counter to the core motive behind many immediate mode GUI toolkits, which is to be as minimalist and easy to work with as possible.

For my part I have some accessibility needs that typically aren't well supported by immediate mode GUIs. And my personal take is, this is 100% fine. If you're working on a thing where an immediate mode GUI toolkit is even a realistic option, you're probably also in a situation where it's exceedingly unlikely that making your hobby project or prototype or whatever harder to work on will cause a net increase in humanity's overall sense of wellbeing.

And if something comes up and you do end up needing to make changes for someone else's benefit, hey, good news, immediate mode GUIs are really, really easy to hack on.
by dmoy | 2025-06-27 15:47:35+00:00
> which tasked the company with working on updates for "America's Army," the 2002 first-person shooter

30 seconds

Ahhh so they're the ones who made that game less realistic and more modern shooter-y. Which I have no doubt is exactly what they were asked to do, because the original AA game was slow and a lot of people hated it compared to ut or cs1.6

Shame though, it was the only game that kinda had that level of realism, with "rifle from prone while waiting can hit you at 400+ yards, but if you're running around you struggle making hits under 100 yards" that encouraged very methodical play with teamwork and spotting.
by jandrewrogers | 2025-06-27 15:48:15+00:00
Modern C++ in particular does a lot of similar, albeit not identical, codegen due to its extensive metaprogramming facilities. (C is, of course, dead simple.) I've never looked into it too much but anecdotally Rust does seem to generate significantly more code than C++ in cases where I would intuitively expect the codegen to be similar. For whatever reason, the "in theory" doesn't translate to "in practice" reliably.

I suspect this leaks into both compile-time and run-time costs.
Ask HN: How would expose a scam involving a powerful figure?
by soueuls | 2025-06-27 15:49:01+00:00
I will try to keep this short, happy to give more details if people are interested.

In March 2022, my mother got scammed after she bought an apartment in Thailand. She just wanted to have a simple and peaceful retirement.

I had done a decent amount of research on the company, we signed the contract in front of a lawyer, etc.

Everything seemed OK, the company was created several years, the CEO did not have any bad reputation.

It took me a while to realize it was a shell company, the CEO was not using her real name, she was the wife of a famous scammer and her father is a former minister of education in Thailand. He has been a long time member of parliament as well.

Hence, why nobody ever got in jail.

I know I have little chance of winning legally, thus I am considering fighting through the press / technology.

Even worse, my mother is not alone, there are thousands of victims : Americans, Chinese, Koreans, Russians, British, Australians, Japanese, Germans, French (like us), as well as a few Thais (and probably more).

The scam is worth between 20 and 50 millions USD, and I don't have any reasons to believe it cannot happen again.

Sadly, for my mother, she is a factory worker, who just turned 60 years, even if I work as a software engineer in France, I don't think I can save money fast enough to offer her a decent retirement.

I don't want to give up on her, and I spent countless hours trying to track down how the scammer got away, hence that's how I got to know who's powerful politician is behind it.

My two questions would be :

1. If you were in my shoes, can you think of any creative ideas to take the battle online? And get as much exposure as possible?

My rationale is as follows : real estate is not a liquid asset, it's hard to build such a fraud in a foreign country, and his network / power depends on Thailand. So hurting his reputation might prompt him to come to the table, negotiating. If not, I can at least save a few potential victims in the future.

One strategy I thought about is getting enough exposure on his name / company / brand. Then pay some people to pretend they are potential investors, only to have them back off from the deal because they found out online, he was a scammer.

The idea being to instill the poison of doubt and make him wonder how much more money he is losing without knowing.

2. Do you know any journalists, ambassadors, or content creator with an audience from any of those countries who would be willing to write about this?

I can provide countless hard evidences, documents and OSINT I have done myself.

I am willing to pay anyone who is willing to spend 30 minutes looking at the documents, and only publish it if they find the evidences convincing and are willing to expose a powerful family.

My mother is a factory worker, she worked all her life, we do not have any plan B.

I am not asking for any money, but there are thousands of victims, and the scammer is free to continue, because most victims choose to remain silent because of the repressive Thai law about defamation.
by im_down_w_otp | 2025-06-27 15:49:46+00:00
Hey! I used to work for the company that makes that logbook software. That was a great job. The CEO was an amateur pilot himself and really, really loved software product design.

It's been over a decade, but it's cool to see that software still being iterated on and pilots still loving it.

Even cooler to see someone such as yourself extending its usefulness by leveraging the data. Cheers!
by ben_w | 2025-06-27 15:49:48+00:00
> except in the reductive sense that selling poison food is bad PR

Yes, and?

Saying "AI may literally kill all of us" is bad PR, irregardless of if the product is or isn't safe. AI encouraging psychotic breaks is bad PR in the reductive sense, because it gets in the news for this. AI being used by hackers or scammers, likewise.

But also consider PR battles about which ingredients are safe. Which additives, which sweeteners, GMOs, vat-grown actual-meat, vat-grown mycoprotein meat substitute, sugar free, fat free, high protein, soy, nuts, organic, etc., many of which are fought on the basis of if the contents is as safe as it's marketed as.

Or at least, I thought saying "it will kill us all if we get this wrong" was bad PR, until I saw this quote from a senator interviewing Altman, which just goes to show that even being extraordinarily blunt somehow still goes over the heads of important people:

--

Sen. Richard Blumenthal (D-CT):

I alluded in my opening remarks to the jobs issue, the economic effects on employment. I think you have said in fact, and I'm gonna quote, development of superhuman machine intelligence is probably the greatest threat to the continued existence of humanity. End quote. You may have had in mind the effect on, on jobs, which is really my biggest nightmare in the long term. Let me ask you what your biggest nightmare is, and whether you share that concern,

- https://www.techpolicy.press/transcript-senate-judiciary-sub...

--

So, while I still roll my eyes at the idea this was just a PR stunt… if people expected reactions like Blumenthal's, that's compatible with it just being a PR stunt.
by eabeezxjc | 2025-06-27 15:49:55+00:00
https://github.com/Mozilla-Ocho/llamafile not working ;(

gemma-3n-E4B-it-Q8_0 import_cuda_impl: initializing gpu module... get_rocm_bin_path: note: hipcc not found on $PATH [...] llama_model_load: error loading model: error loading model architecture: unknown model architecture: 'gemma3n' llama_load_model_from_file: failed to load model llama_init_from_gpt_params: error: failed to load model 'gemma-3n-E4B-it-Q8_0.gguf' main: error: unable to load model
by taeric | 2025-06-27 15:50:00+00:00
So, no? You don't have any examples by which to demonstrate what a good templating language is?

You seem to have gone on a tangent that "good" is a general topic in my question. I meant do we have specifically good examples of templates. Surely if we know what good templating syntax is, we can share examples of it? Even if you can't describe it directly.
by uludag | 2025-06-27 15:50:05+00:00
I've been using earplugs practically every night for the past three years and I can't recommend them enough. While the particular kind I use (Mack's ultra soft) don't block out all the noise, there is a wide variety of noises that used to wake me up which don't anymore. If you haven't tried them I would highly recommend giving sleeping with earplugs a shot. It only takes a few days or so to get used to them.

In terms of downsides, only once in the past three years did I get some earwax clogged in some part of my ear which was easy to remove with some special spray (went to urgent care). Also, I have a very hard time sleeping without them anymore so I always make sure to have a pair at hand. Also, you may have to experiment with various brands and types as some brands are really uncomfortable and hurt my ear.
by behnamoh | 2025-06-27 15:50:30+00:00
Great, now this stuff gets fed into LLM trainings and we'll see them in the next-gen model outputs.

Seriously though, I love "abusing" programming languages in unexpected ways. My favorite so far is: https://evuez.net/posts/cursed-elixir.html. Reading this made me realize Elixir is literally macros all the way down, and it's a Lisp!
by dghlsakjg | 2025-06-27 15:50:46+00:00
The scary part is that they didn't disable the automatic stop. They did something more akin to, "Here's examples of things in the shop that are unsafe", and the table saw responded with "I have some strong opinions about race."

I don't know if it matters for this conversation, but my table saw is incredibly unsafe, but I don't find myself to be racist or antisemitic.
by WhyNotHugo | 2025-06-27 15:50:49+00:00
> Without a secure element, a 6 digit PIN is no longer secure and can be bruteforced.

Thanks for providing an actual example which we can use as a realistic reference.

Right now such device can run OSs which ship first party spyware. If GrapheneOS supported those devices, they’d be usable with an OS without that spyware, which is a net improvement. The security issue of “a PIN can be brute-forced” exists regardless of OS.