MurphyA/hacker-news huggingface dataset:
Show HN: DotnetEbpf - Write Linux eBPF kernel applications in C#
by KallDrexx | 2025-06-30 12:48:40+00:00
I've been working for a good 9 months now writing a .net to C transpiler (https://github.com/KallDrexx/dntc) as a "I wonder if I can" type of project (with the intention of eventually being able to do embedded development in C# instead of C).

Along the way I was trying to find good milestones to test the transpiler with. As I learned about Linux eBPF I realized that ended up being an interesting use case and created the DotnetEbpf prototype.

It allows you to write Linux kernel side eBPF applications fully in C#. While with some of the limitations it may seem like it's limiting the usefulness of C#, it does allow for better syntax than C and as well as unit testing capabilities (since each native eBPF function can be populated with C# native code that is ignored when transpiled, in addition to generic capabilities).

In the future I'd like to flesh out the ability for correct wiring up of data structures between both the C# kernel side and a C# user space side (and the ability to install an eBPF kernel application from a C# user space application), which would enable writing full stack eBPF security software fully in C#.
by mikkom | 2025-06-30 12:49:00+00:00
I had something like 9 pairs of t-shirts, underwear and socks, 1 or 2 (don't remember) extra long sleeved cotton shirt and 1 extra pair of jeans plus shampoos, moisturizer, toothbrush and paste, shaving stuff, 10 inch tablet, chargers, headphones, passport etc. Yes they fit quite nicely believe or not. This was scotland about a month ago.

My folding method was: get some cheap packing cubes, one large with shirts (just flat), one smaller with underwear and socks (just put there) and one with toiletries, nothing special at all. You can stuff lot more than you think into 40 liters. Jeans and sometimes jacket I just stuffed there.

btw I was able to sneak that backpack to ryanair flight even :-D
by sigmoid10 | 2025-06-30 12:49:16+00:00
The comment you replied to also paints an incorrect picture. The real quote from the article regarding the origin of the poor quality is:

>[...] Those causes can include faults in the manufacturing process or product decay due to poor storage conditions. But some drugs are also counterfeit, and that increases the risk of discrepancies between what's on the product label and the actual medicine within.

So this is actually pretty in line with the top level comment, since no mention of the actual ratio among reasons is made. It certainly doesn't say that counterfeiting and after production storage are the main reasons.
Show HN: TorServ v0.3.5 – Zero-config static Tor web server with sandboxing
by wonder-boy | 2025-06-30 12:49:31+00:00
TorServ is a zero-config static web server that instantly launches as a Tor hidden service — no setup, no clearnet, no logs. Just unzip and run.

It’s built for privacy-first developers, educators, and activists who need something dead simple, fast, and secure.

What’s new in v0.3.5:

Optional Firejail support — runs sandboxed automatically if firejail is installed, runs normally if not

Dropped .webp image support — this obscure format caused compatibility issues on some Linux distros

Minor performance and compatibility improvements, better in code comments for clarity

Official Tor mirror: http://torservqv27yflqzhe75mojvxp364rfhqjobkte4q5v2u2jjuokch...

Website: https://torserv.org

GitHub: https://github.com/torserv/torserv

Thank you to everyone who checked out the first versions and gave feedback — it’s been incredibly motivating. I’d love to hear what you think of this latest release, especially if you’re testing on minimal or sandboxed setups.
by tlogan | 2025-06-30 12:49:50+00:00
This is a great example of how factually incorrect narratives - so long as they align with a preferred agenda (which is that things are not affordable any more) - it gets upvoted.

Reality check:

- In 2025, there are 12 new car models available under $25,000

- In 2005, there were around 10 new models under $15,000 (25k adjusted by inflation)

So the premise that “cars used to be much more affordable” is not true. This article is full of misleading or outdated information that distorts the real trend.

HN deserves better data-driven discussions.
by codingdave | 2025-06-30 12:49:58+00:00
It is quite relevant if you work with public entities - schools, cities, etc. There are people out there who test government sites to be sure they are compliant and report it to the DOJ when they find failures. And the folks at the DOJ will call you to discuss it. Those calls were surprisingly pleasant and helpful, at least in those days (I haven't done that work in 5 years), but if you think you won't get called out on it in public industries, you'd be mistaken.

It is not necessarily relevant if you only work with private individuals and entities.

But it also isn't that much of a burden. So my take on it is just do it and then it never is a problem.
by corimaith | 2025-06-30 12:50:12+00:00
>Broad-based solutions like basic income, wealth taxes, breaking up large market players, etc., will do far more for us than attempting piecemeal tweaks to this or that industry.

The cost of living is correlated to the high cost of housing, competitive job market and high cost of labor in basic services such as infrastructure development. How exactly does "reducing inequality" address all of this? Taxing a bunch of billionaires isn't going to magically increase the number of well-paid jobs, and the guys quoting $5,000 for your AC installation aren't anywhere near the 1% either. Even with stuff like crime and homelessness, just look at Bloomberg's tenure of NYC or Hong Kong when the businesses have a say, they do manage cleaning up cities quite well! If anything, it's the billionares providing the cheap goods you do like to consume so much like Amazon or new Iphones each year.

The funny thing is that back in March we already had this conversation with the whole tariff and manufacturing debacle, no matter how stupid Trump's execution was in reality, this board or really progressives are essentially shooting themselves in the foot in adamantally claiming that "manufacturing will never return" and wanting to continue the status quo of cheap exports but expensive domestic labour. Yeah well, that's what exactly leads to the situation you're in today. You might point to nominally higher salaries, but truth be told, do you feel particularly more civilized in the Bay Area than in Shenzhen or Tokyo?
by immibis | 2025-06-30 12:51:57+00:00
They're fine with it now. They won't be, when the next potential revenue source on their list is to crack down on it.

Remember, revenue must always increase, and must always increase faster than the year before (and this is more important than keeping the company alive), so companies always try increasingly desperate measures. Right now they are nowhere near the point of that particular measure. But they will be in the future.
by Walf | 2025-06-30 12:51:58+00:00
Maybe the situation's improved, but I found certbot from system package managers would diverge from latest version, sometimes significantly, like support for DNS challenge APIs breaking. I switched to ‘acme.sh’ for most machines and haven't looked back. It no longer has Let's Encrypt as its default issuer, but you can set it back to LE with one config command.
by rgblambda | 2025-06-30 12:52:43+00:00
Yes, and I should have clarified that the Palestinian majority is a lot slimmer than was the case in South Africa.

Although there remains the case of 700,000 Palestinian refugees who (in the hypothetical scenario of a unified state) would tilt the balance further if allowed to return to their/their parents homes or given property as compensation for repossessed homes.
by cluckindan | 2025-06-30 12:52:50+00:00
Yeah, that’s a bit of a red flag. A better study would of course open up the data, so validation would be easier.

But a better study would also have figured out whether the effects are correlated with specific strains of cannabis, perhaps even specific cannabinoids. There is no guarantee that it is specifically THC causing these effects, it could very well be CBG (cannabigerol) or just the inhalation of smoke itself: inhaled particular matter from combustion has been shown to cause cardiovascular issues, among other things.
by kvemkon | 2025-06-30 12:52:57+00:00
Perhaps, I've formulated not exact enough. I was remembering what has been demonstrated in the famous video [1] for Athlon 1400 and 1200. Yes, the went not in flame but just in smoke. Back then the user was allowed to install a cooler direct onto the die though AMD CPU had no thermal protection (just thermal diode for emergency power-off the whole system by BIOS?).

I have no confirmation for the following but I've considered that the pre-installed and hard and risky to remove the pretty massive heatspreader plate works not only as die physical protection but also as a minimal needed buffer for heat dissipation in case of rapid cooler removal.

[1] "What happens when the CPU cooler is removed?" (Tom's Hardware Guide, 2001)

https://www.youtube.com/watch?v=y39D4529FM4

https://www.youtube.com/watch?v=UoXRHexGIok

P.S. Another rather philosophical question I have since a ventilator (not just some heatspreader) was required for the first time for CPU to operate as advertised. Can one consider that CPUs are actually factory overclocked since then? Even though not to the absolute limit, e.g. Celeron 333A (@66) up to 500 (@100) manually.
Show HN: Flexprice: Open-Source Usage-Based Billing Toolkit
by Koshima | 2025-06-30 12:53:34+00:00
Hey HN, I’am Koshima, co-founder of Flexprice (https://flexprice.io/).

Flexprice is an open source monetization platform for AI & Agentic companies. You can build usage-based, credit-based, or hybrid pricing models with full control.

Usage-based billing works on paper, but breaks fast in production:

(1) High-volume data (e.g., 10k API calls/sec from AI inferences) breaks naive pipelines, dropping events and causing underbilling or customer complaints.

(2) Backfilling missing events or retroactive discounts screws up invoices, forcing 3 AM log stitching to avoid revenue leaks.

(3) Prepaid credits and trials are a mess because it requires you to handle expirations, partial deductions, and priority rules.

(4) Product teams want real-time, per-customer usage reports (e.g., “How many tokens did user X consume?”), but querying raw events requires slow, custom SQL hacks.

(5) Webhook integrations for invoicing or CRMs fail on duplicates, out-of-order events, or time zone bugs, risking customer disputes.

(6) What works for 100 users fails at 10,000 because rate limits, and idempotency leads to urgent rewrites.

This week, we’re doing a 5-day launch week, where we’re shipping a new set of billing features every day. Today’s launch includes:

(1) Fire-and-forget event ingestion with SDKs (Python, JS, Go) and auto retry handling

(2) Real-time event debugger for tracking ingestion status, filtering payloads, and inspecting failures

(3) Usage analytics API providing billing-grade summaries with filters, groupings, and time-bucketed results

(4) Prepaid credit system supporting trial credits, expirations, and configurable priority on deduction

(5) Webhook system to automate billing workflows like invoicing or subscription changes

We’re shipping new features daily. It’s early, actively evolving, and contributions are welcome. If you’ve dealt with usage-based billing, broken credit logic, or event ingestion at scale, your feedback would help.

You can read the details of the launch at https://flexprice.io/blog/the-developer-toolkit. You can clone the project and explore the repo at https://github.com/flexprice, and demo at https://www.youtube.com/watch?v=SFARthC7JXc

Would love to hear your technical critiques, edge case concerns, or how you’ve handled billing infrastructure in your own stack.
by Ukv | 2025-06-30 12:53:36+00:00
> It would result in very slow shooters. Where you have to wait a bit to see what is around the corner after going there. Not that practical.

I think ideally you'd send players only what they could possibly see before next the next packet comes in. If their ping is 60ms and the game's tickrate is 128Hz, each tick they'd be receiving everything visible from within 68ms walking/running/jumping/etc. of their position 60ms ago.

Could be combined with server-side behavior analysis to detect players seemingly using information their client was sent but they shouldn't have seen. Packets from the client of what they actually did in that 60ms should be half received by the server and half in flight to the server by that point, so the client can't retroactively lie.

Wouldn't eliminate the advantage of this kind of cheating entirely, but might make it small enough that for many current cheaters it no longer justifies the risk.
by pjmlp | 2025-06-30 12:54:25+00:00
No it is not, that is the anti-GC folks agenda since Xerox PARC days, placing all GC languages into one big basket, not learning what actually makes one specially tick, the language features available for low level coding in each programming language and such.

Just sticking to the old ways is why we don't get progress in some industry corners.
by jweatherby | 2025-06-30 12:54:31+00:00
Hey, this is relevant to what I'm working on - I'm building an alternative to subscriptions for online publications. Instead of subscribing to entire publications / blogs, publishers would register their site on this network and configure thresholds and pricing. Add a bit of code to the publication and a paywall will show up, allowing configuration per article and allowing readers to pay for individual articles. The prices would be minimal, amounting to less than a dollar in most cases. i.e. reading articles using micro-transactions.

I know it's been tried before, as has been mentioned in this thread, but I thought I'd attack it with a few different angles - web based, no chrome extension, and thresholds to help verify the article is worth it.

Check it out here - https://paperwall.io

Especially considering the nature of this thread, I'd love feedback and what you'd like to see out of a solution like this.
by lbreakjai | 2025-06-30 12:54:42+00:00
I'm working on a tool to remix/manage my playlists, that's agnostic from the different music platforms.

I used to have an integration in Spotify, that automatically copied my "Discover weekly" playlist into an archive. Over time, it grew close to 10000 songs. It also started to get polluted by ambient sound and kids songs when my daughter was born.

I wanted to clean it up but as far as I could tell, the only way was to do it manually, song by song. I'd want to have something more powerful, that would easily let me rearrange/split/curate my playlists based on any arbitrary constraint.
by haerwu | 2025-06-30 12:54:44+00:00
Depends on how you look at it.

Would you call Threadripper system "a normal build"? For many people they are normal builds because they need more computing power or more PCIe lanes than "normal user" desktop has.

On the other side you have those who pretend to use raspberry/pi 3 as "an Arm desktop" despite only 1GB of ram and 4 sluggish cores.
by monster_truck | 2025-06-30 12:54:53+00:00
If you've taken a prescription over a long enough time you'll know this to be true even if you've never really considered it.

Some time ago I was very frustrated with the massive swings in how well a prescription was working so I started looking into it. Saved a pill from every month, sent 12 of them off for testing.

+/- 30% accuracy on that dosage, and that's within spec for the US. Some months your 20mg pills are 26mg. Others? 14mg. Later repeated this test with a family member's blood pressure medication, which has a dosage of just 0.5mg. Same deal, 0.35-0.65
by theshackleford | 2025-06-30 12:55:40+00:00
> but ultimately there is no "self-reliant car owner"

We are rare, but we exist. Prior to moving on from it due to an unrelated injury, for the decade prior I did all my own work including numerous engine swaps on my vehicles.

However, this is because as noted, I had the tools and parts. I had all the spanners and sockets I needed, easy access to parts via wreckers and parts networks, and had my own engine crane and stands. My vehicle of choice for most of that time was 2x 1987 Toyota MR2 AW11's.

I mostly got into it because it was my "non computing" hobby for the most part. And for the time I spent engaged in it, I really enjoyed it.
by stego-tech | 2025-06-30 12:55:44+00:00
I can believe it. Agentic AI only really succeeds in the long run when it’s built atop pristine data sources that are themselves automatically maintained and carefully curated.

And have you seen how large enterprises approach data? They threw that into a buzzword half a decade ago and haven’t improved upon it since.

My gut read:

* 40-50% will be outright cancelled by EoCY 27

* 30-40% will soldier onward with a specific model in use, on preserved systems

* 10-30% will be “successful”, actually creating business value by working on live data and in specific use cases (namely read-only chatbots pulling from CRM or other “live” systems)

* <10% will be “runaway successes”, in the form of permanently eliminating a job function from an enterprise or organization and producing significantly more value than they consume.
by bumby | 2025-06-30 12:56:23+00:00
Could you elaborate further?

A hybrid, by definition, combines an ICE and electric drivetrain. While I understand it could be designed for a more efficient range of operation* how could it negate the downsides of an ICE-only design if it requires an ICE? (Are we conflating EV and hybrid?)

* This also means each segment is less globally efficient, meaning the system is less efficient if it has to limp along if one part is inoperable
by dangus | 2025-06-30 12:56:27+00:00
You put to words what I intuitively feel about the auto industry.

Most brands have cost cut the crap out of their vehicles to the point where many used models seem to be better vehicles especially when talking interior quality.

One example that was striking to me was the interior quality of the MK4 Volkswagen Jetta compared to later models of Jetta and Golf.

My current vehicle has CarPlay/Android Auto, a “dumb” infotainment system with no ability to phone home or snitch on me to insurance companies, and it has physical controls for everything.

When it comes time to replace my vehicle, what am I going to find on the market that’s actually better than that? I’m going to be stuck with a gigantic touch screen and a bunch of glitchy safety suites that are beeping at me constantly.
by mongoosled | 2025-06-30 12:56:37+00:00
https://pickyskincare.com - a tool that lets you find skin care products based on the ingredients you want and don't want in it. The main use case is for finding cheaper versions of a product you already like, or one without things you're allergic or sensitive to.

It's written in elixir using Phoenix live views. There's almost no custom Javascript outside of what that framework gives. First load may take a while because it's the cheapest tier of fly.io and boot loads all known ingredients and products in to memory.
by eraser215 | 2025-06-30 12:56:53+00:00
... and it works fabulously. I have been running Bluefin (same folks as Bazzite) from one of these templates for about 6 months and it has been a near on flawless experience. I have moved from Fedora 40->41->42 without having to touch a traditional "upgrade".

https://projectbluefin.io/
by kayodelycaon | 2025-06-30 12:57:17+00:00
Toyota hybrids are much cheaper to maintain.

- No engine belts

- No starter

- No alternator

- No transmission(1)

- No torque converter

- No turbochargers

- Regenerative braking can significantly reduce brake pad wear

Edit: - AWD is an electric motor on the rear axle. No driveshaft or transfer case required.

As long as you drive it regularly and keep up with scheduled maintenance, you don't have to do anything for well over 100,000 miles.

Replacing the traction battery after 10~15 years is cheaper than the additional maintenance required for regular cars.

1: Yes, it has an “e-CVT”. Which is just a set of fixed planetary gears. All “shifting” is done through varying the power output of two electric motor-generators.
by amterp | 2025-06-30 12:57:25+00:00
Been working on https://github.com/amterp/rad for almost a year now. It's a programming language designed for writing good CLI scripts, so it's aiming to replace Bash but is much more Python-like, and offers unique syntax and a bunch of in-built support for scripting.

Please check it out if it sounds at all interesting! Keen for feedback :) I've written some docs, including a "getting started" guide, linked in the GitHub page.
by prmoustache | 2025-06-30 12:58:01+00:00
"France accepted the compromise that high-speed TGV stations are far outside of the city areas, like airports, which makes nominal travel times fast, but the first and last miles will always be slow local trains to the city centre. "

That is not true, some TGV dedicated stations have been put in remote area (mostly in far right areas), but there are lots of cities that have high speed train stopping at the central station in the center.
by feynmanrocks | 2025-06-30 12:58:36+00:00
First HN post.

Background: I am CTO of a small software company focused primarily on financial space. For project management I/we've used all of Jira, MS-Project, GitHub, Asana, Trello, Basecamp, and more at some point.

After many years of this, I really came to want a tool that could do one simple thing where it just estimated when something would be completed based on the current completed progress.

A lot of PM tools are setup where you have a dedicated PM and/or regular meetings/standups/scrums. I'm not opposed to any of that but to me I've always thought that if people are executing well and they're going to hit their delivery dates... why bother having meetings or making them jump through hoops?

But the tools are mostly not well setup for that. So back in probably '20 or '21 we built an MVP that we have used internally. We call it 'projjer'. It's great and it's gotten a lot better over the years, to the point where we don't even use any of those other tools unless there is a specific customer reason.

It's command-line-only project management. It's UX is pretty similiar to git, and it even let you sync w/your team using git underlying.

The basic workflow is: minimalistic. Devs plan something out to whatever standard is appropriate for them or their team. They submit updates as they work. It's designed to have fewest keystrokes needed to use it. The tool generates estimates for each project, sub-project or OKR based on whatever has been submitted to that point. Then it's up to the person/team what if anything can be done beyond that.

There's more the tool can do, including regular pre-mortems against your projects, critical path and other reports. But minimalism is basically the main appeal for us internally.

Over the years more than a few have suggested I also sell it. I actually hired some interns to research this a couple of years back, but they didn't really think selling a tool w/a command-line interface was a great idea :). But occasionally when I speak to a devs or Product Manager and projjer comes up and they're interested. Just a week or so ago I was on a call w/PM at JetBrains and it happened again. So in true YC fashion I'm just gonna screw more research and just do a test.

If you wanna share feedback on if this is a horrible idea, feel free but please state what doesn't work for you. Or if you have wanted something like this and want to use it, we're gonna see if we get 10 signups this week. You can do this via the gumroad link. Or if you have another tool that does it better, would love to know more about that. Or anything else in between.

So that's pretty much it. If we get 10 signups by end of July 7th we'll sell it to public. If not, we'll refund any signups and we won't sell it.

Also this is again my first HN post and while I did read the news-faq and news-guidelines, if you feel I interpreted them wrong please lmk.

Thanks for your time.