MurphyA/hacker-news huggingface dataset:
by mixmastamyk | 2025-10-09 20:22:08+00:00
It’s not painful, that’s the point. You have a working prototype now ready to port. (If the destination language is painful perhaps, but don’t do that.)

I recently ported a Python program to Rust and it took me much less time the second time, even though I write Rust more slowly per-line. Because I knew definitively what the program needed.

And if even that is too much optimizing the Python or adding Cython to a few hot loops is less difficult.
by jperaino | 2025-10-09 20:22:27+00:00
Norm is building AI that understands regulations for regulatory compliance. Our AI currently automates compliance determinations for federally regulated financial content, though our vision is to build a platform that can handle any regulation in any industry. As AI begins to permeate our society, Norm aims to become a critical building block for other AI systems that need regulatory intelligence. You can read more about our vision here: https://www.norm.ai/post/building-regulatory-ai-agents

We've raised $87m from top-tier investors to pursue this vision. We're growing very quickly and have major, household-name financial institutions as clients and investors. We're working on hard, interesting problems and want to push the boundaries of what's possible for AI-driven products. We're hiring for many engineering roles in NYC and SF, including:

- Full Stack Engineer, Senior + Staff ($190k-270k)

- Design Engineer, Senior + Staff ($190k-270k)

- Staff Frontend Engineer ($235-270k)

- Applied AI Engineer ($200k-275k)

- Cloud Infrastructure Engineer ($175k-250k)

- Forward Deployed Engineer ($190k-250k)

- Quality Engineering Lead ($130k - 185k)

We're also hiring for many non-technical roles. The best way to apply is online on our website (we review every application!). Full list here: https://jobs.ashbyhq.com/norm-ai?utm_source=7ow8wN5o3g.
by themafia | 2025-10-09 20:22:43+00:00
And if you're wrong on your medical expense paperwork it could be a felony!

Why shouldn't the institutions that do this all day and claim it as their special expertise handle all of this? Why should I even be /capable/ of losing money due to my lack of experience with the system?

The money is forfeited back to the employer. There should be a law that money is now taxed and forwarded to the employee in their regular payroll.

This system is designed to screw over regular consumers.
by lucb1e | 2025-10-09 20:22:52+00:00
I keep wondering the same. It's a significant speed-up in most cases and equally easy to (apt) install

For public projects I default the shebang to use `env python3` but with a comment on the next line that people can use if they have pypy. People seem to rarely have it installed but they always have Python3 (often already shipped with the OS, but otherwise manually installed). I don't get it. Just a popularity / brand awareness thing I guess?
by renewiltord | 2025-10-09 20:23:30+00:00
Yes, you can do that. HealthPartners[0] is such a consumer-governed non-profit. It is entirely opt-in. It is not illegal in America to do that and, as you can see, others have done that.

In HealthPartners' case, they do deny claims despite having the structure you mentioned. I think if you wanted to run such a pooled insurance company that advertised that it would pay any and all claims made to it and would deny precisely zero claims, you could and you would find it very easy to onboard both patients and providers to it, at least so long as its fund was solvent.

0: https://en.wikipedia.org/wiki/HealthPartners
by ActorNightly | 2025-10-09 20:23:44+00:00
>But apparently there's no way to send Intents or Broadcasts from native code? So I need to boot a JVM in the binary if I want it to communicate with anything else on the system!

There is "am" i think which can be invoked to do this.

However, Termux API exists, and is a nice package for calling other services. They have the scripts interface, which calls the actual app over a socket. Kinda inefficient, but at least the work is done.
by mauvehaus | 2025-10-09 20:23:45+00:00
Isn't the principal problem with the MBTA that it's been underfunded for decades and has a maintenance backlog of about a gazillion dollars? I realize it's getting better on the rolling stock front, but it sounds like the track is still a challenge despite some real efforts to address some of the problems.

I do kind of miss riding it though. For the last couple years I was living there, I got to ride the Ashmont-Mattapan trolleys as part of my commute. That was a treat. One of the last weeks before we moved to Vermont, my wife rode down to Ashmont with me and rode the trolley to Mattapan, then back to Ashmont to take the Red Line back to her office.
by littlestymaar | 2025-10-09 20:24:39+00:00
> I do tens of these every single day.

Tens of clean builds? I'm very curious: why? (because obviously that puts you in a completely different situation compared to someone who can rely on incremental builds)

> GUI apps can be quite slow in debug mode

Full debug mode, definitely, but in that case I've always found that building the dependencies in release mode was enough, but YMMV. But then that's what incremental rebuild are about.

> and as you say, the compilation artifacts build up quickly, which requires a cargo clean and then a fresh build.

I've mostly experienced the PITA when working with multiple code bases over time or in parallel, but surely it doesn't happen every day, let alone multiple times per day, does it?
by falcor84 | 2025-10-09 20:26:50+00:00
You shouldn't have the same expectations from a person's tweet as you would from a paper. I don't see any issue with high profile people who are careful in their professional work, putting less thought-through output on social media. At least as long as they don't intentionally/negligently spreading misinformation, which I've never seen Karpathy do.

I for one really enjoy both his longer form work and his shorter takes.
by watwut | 2025-10-09 20:27:01+00:00
Authoritarian US is becoming the reality right now and the first amendment provides exactly zero protection. We are watching US constitution collapse right now.

Second, its meaning IS obscure. It get reinterpreted and modified by supreme court to unrecognizable degree. The words dont mean what they used to mean back then, because court used some alternative history to achieve their political goal. It is also not like the court was grounded in contemporary reality when making those decisions and explaining them.

Most of constitutional protections are weak. There is no recourse if your rights are broken, only ever increasing maze of special conditions and requirements you need to fill if you want those protections to apply.
by busterarm | 2025-10-09 20:27:04+00:00
If somebody is going to abuse their accidentally-retained access after being removed from my organization, than the incompetence was in having that person in my organization in the first place. It turns out they were perfectly justified in removing him!

First of all, it's criminal, and second of all, it absolutely lights a torch to any credibility they have. I expect people don't want to become unhireable.

I've had access/credentials to organizations that I've left and never abused them even once.
Show HN: Created macOS app to help you keep your distance from your screen
by sparkhee93 | 2025-10-09 20:27:26+00:00
Hey everyone,

If you're anything like me, you spend a good chunk of your day (and night) on your computer. I often find that when I'm zoned in, my posture gets worse and worse and my face ends up being really close to the screen. And over a course of a workday, when I finally unplug, my eyes have a hard time focusing on things that are far away. This has become a big enough problem for me that I decided to create an app to help me keep my face far enough from the screen.

Now, I could've gone with a simple notification with a timer built into it but, as with all reminder notification, they soon become noise for me and I end up just dismissing it. I needed something to actively force me to move back. Which is where FarSight comes in.

It uses your camera to gauge your distance and blurs the entire screen if it detects that you are getting close enough for a certain period of time. I made it so that it won't be extremely annoying and disruptive (e.g. blurring the screen every time you cross the line) but just enough of a nuisance to be helpful. I've been using it everyday since creating it and it's definitely helped me with eye strain, double vision, and surprisingly, my posture as well.

I'm not sure if I'll keep it free forever but I wanted to release it first to ask for feedback. I only have the app in MacOS so if it has enough interest, I'll invest into making Windows counterpart.

https://apps.apple.com/us/app/farsight-restore-your-eyes/id6...

Also, in case anyone is wondering, no data is collected and the snapshots during the app's usage are not saved but only used to calculate the distance.
by fnicfnac | 2025-10-09 20:27:44+00:00
You can obviously map arbitrary key codes however you want on a custom OS and have extremely little fear of someone having embedded nonsense down to the bios.

On windows many of these laptop buttons were added like the Yahoo browser bar to specifically work with bloatware that might go on to make a meaningful action for non malicious software as well as what it is really for.

I prefer not to be in the habit of pressing footguns given that I might occasionally be placed in front of a consumers windows laptop that no one cleaned.
by kiitos | 2025-10-09 20:27:53+00:00
Within the Google codebase and in projects using Bazel, directory layout for Go code is different than it is in open source Go projects: you can have multiple go_library targets in a single directory. A good reason to give each package its own directory is if you expect to open source your project in the future.

:o :o :o

are there really people saying that "giving each package its own directory" is in any way optional?? it is literally part of the language spec, what on earth would make anyone think otherwise??

edit: ok so bazel folks are just on a completely alternative timeline it seems

https://github.com/bazel-contrib/rules_go?tab=readme-ov-file...

Bazel ignores go.mod files, and all package dependencies must be expressed through deps attributes in targets described with go_library and other rules.

so bazel doesn't support go, gotcha
by freehorse | 2025-10-09 20:28:09+00:00
Aside from the absurdity and obvious satirical intention,

1. the code is actually wrong (and is wrong regardless of the absurd exception handling situation)

2. some of the exception handling makes no sense regardless, or is incoherent

3. a less absurd version of this actually happens (edit: commonly in actual irl scenarios) if you put emphasis on exception handling in the prompt
by omgJustTest | 2025-10-09 20:29:13+00:00
The Cikande site shipped radioactive shrimp which were detected at US ports. Cikande is an industrial region in Indonesia. The source of the radiation is believed to be a local metal smelter that apparently ingested Cs137 sources from scrap. The area is now under access control due to radiation risk.

Fields up to 1mSv/hr have been detected and signs placed at >0.5mSv/hr locations inside the region[0].

[0] linked article [1] https://www.ans.org/news/article-7429/indonesia-begins-worki...
by kridsdale1 | 2025-10-09 20:29:43+00:00
I imagine every gold rush mania is filled with kooks.

What’s the stereotype of the California and Yukon gold rushes? Toothless codgers and Yosemite Sam.

Tulip mania? Not as clear but surely not calm and rational.

NFTs? Hype Bros and Crypto Douchebags.

Social Media is the lens to current set of self selecting weirdos.
by OskarS | 2025-10-09 20:30:28+00:00
No, this is very much not the same. The Raku version is like writing this in Python:

def fibonacci(): a, b = 0, 1 while True: yield a a, b = b, a+b

And taking the 40th element. It's not comparable at all to the benchmark, that's deliberately an extremely slow method of calculating fibonacci numbers for the purpose of the benchmark. For this version, it's so fast that the time is dominated by the time needed to start up and tear down the interpreter.
by andrewrn | 2025-10-09 20:30:49+00:00
I was recently thinking about this dynamic about human-oriented vs efficiency-oriented innovation. We haven't really hesitated (in, I'd argue, the majority of cases) to pick efficiency over human-friendliness. This seems like it will be a big reckoning as robotics arrives. The argument for humanoids is that the world is built for humans, but as robotics start to be capable of completing tasks end-to-end, then suddenly there is no reason to keep the space human-friendly, and humanoids kinda lose their value.

An illustrative example is a warehouse. They're still partly designed for humans because they're not fully automated, but the need to make them human-friendly will disappear soon.
by Rudybega | 2025-10-09 20:30:50+00:00
> The largest model had 20x more clean data than dirty data in the training data.

Yeah, I think this is the main misinterpretation. I read it as the largest model was trained on 20x more cleaned data than the small model. I don't think the ratio of clean to dirty data was 20x. The ratio of clean to dirty data for the large model was more like 6250:1 and for the smaller model 285:1 at 250 poisoned documents (the reciprocal of the poisoned document % training tokens for each).
by johnnyanmac | 2025-10-09 20:31:45+00:00
to be precise:

>Communities and users that incite violence or that promote hate based on identity or vulnerability will be banned.

is against TOC. You can talk about trans issues and offer reservations. You cannot say "trans people are a mental illness" or "trans are not people". That is clearly promoting hate and has nothing of substance to discuss.

For a more explicit and current example, you can say "I don't think female-affirming trans athletes should be allowed to compete in female oriented divisions of sport. Their testosterone output makes for an unfair advantadge".

That might STILL be removed, not because that comment breaks the rules, but because reddit seems to have a serious problem on the issue and it always devolves to "we need to take men out of women's sports" and then some long chain of people denying trans people of their identity. That's promoting hate. Especially since that is not too far off from what the U.S. president argues.
by zahlman | 2025-10-09 20:31:49+00:00
Well, sure; you're using dynamic programming, while the stress test Python Fibonacci code is deliberately using recursion without memoization — it makes function calls proportionate to the number computed. Most of the time you're seeing in the Raku code is the interpreter startup. Python doesn't have syntax strongly oriented towards that sort of trick (it's not as strong of a second-best APL as it is a second-best Lisp or Haskell), but:

$ python -m timeit "x = (1, 0); [x[0] for _ in range(40) if (x := (x[0] + x[1], x[0]))][-1]" 50000 loops, best of 5: 4 usec per loop

(Or a "lazy iterator" approach:)

$ python -m timeit --setup 'from itertools import islice, count' 'x = (1, 0); next(islice((x[0] for _ in count() if (x := (x[0] + x[1], x[0]))), 40, None))' 50000 loops, best of 5: 5.26 usec per loop
by Slydite | 2025-10-09 20:32:00+00:00
Hey HN,

I built this tool to solve a problem that drove me crazy during my studies: course materials are often in formats that are terrible for quick review and reference. I was spending hours watching long video lectures before finals, trying to make sense of sparse PDF slides, or deciphering the ancient hieroglyphs in my friends' (or my own) notes.

The Lore Engine is a Python-based tool that processes content (from a single file or an entire folder) and generates comprehensive markdown files. You can feed it PDFs (slides, scanned notes), or transcripts with optional video context.

What makes it different is that you can control the output based on your needs. Through the CLI, you can choose: - Content Type: (e.g., Slides, Textbook, Videos) - Output Format: Detailed notes, practice problems, or a concise pre-exam revision sheet. - Detail Level: From short-hand summaries to a deep-dive.

(Note: The practice problem and revision sheet modes are still experimental.)

The goal is to turn 10 hours of passive video watching into a ~2-hour focused read, while preserving all the necessary detail.

On the technical side: It's a multimodal pipeline using the Gemini API (I chose it for the free tier and native multimodal support). The prompt system is modular, allowing for fine-grained control over the output style.

For video processing, it uses video_reader-rs (Rust FFmpeg bindings) instead of OpenCV for a significant performance boost and better memory management (it doesn't load entire videos into RAM).

To avoid redundant images (like 50 identical slides), it uses perceptual hashing (pHash) combined with a custom diversity scoring algorithm to select visually distinct frames.

The pipeline is multi-processed and uses round-robin API keys to scale throughput—which is essential when you're trying to process an entire course the night before an exam. It also has built-in rate limiting and exponential backoff for retries.

The project is open source and runs locally. Here is the link to the repository: https://github.com/Slydite/lore-engine

I'd love to get your feedback. Thanks for checking it out!
by 0xbadcafebee | 2025-10-09 20:32:09+00:00
They could do that years ago, it's just that nobody seems to do it. Just hook it up to curated semantic knowledge bases.

Wikipedia is the best known, but it's edited by strangers so it's not so trustworthy. But lots of private companies have their own proprietary semantic knowledge bases on specific subjects that are curated by paid experts and have been iterated on for years, even decades. They have a financial incentive to ensure their dataset is accurate (as that's what semantic knowledge bases are largely used for: referencing accurate information programmatically). So they are a lot more trustworthy than "I found a Reddit post that says..."

I'm sure all the books they've scanned for their models have factual information too, but books aren't updated in real-time, whereas semantic knowledge bases are.
by quesera | 2025-10-09 20:32:17+00:00
Isn't Ubuntu primarily a desktop distribution?

The numbers might favor server installs (no idea), but it seems like the decisions must be primarily desktop. (i.e. a server admin or business that installs a thousand Ubuntu instances is just a single decision).

Either way, if Canonical's goals for snaps included easing people into self-hosting their services, surely making the experience pleasant on desktop would be a priority?

I don't recall any positive changes brought by snaps. I was looking at it through a desktop lens at the time, but my general perspective is mostly server-side, so I might be biased in that direction.

I don't think the two perspectives are necessarily in conflict, but noted just for framing... :)
by nomel | 2025-10-09 20:32:38+00:00
Does't seem to be the case. For Illinois...

https://codes.findlaw.com/il/chapter-625-vehicles/il-st-sect...

> § 3-402. Vehicles subject to registration; exceptions.

> A. Exemptions and Policy. Every motor vehicle, trailer, semitrailer and pole trailer when driven or moved upon a highway shall be subject to the registration and certificate of title provisions of this Chapter except:

> ...

> (6) Any vehicle which is owned and operated by the federal government and externally displays evidence of federal ownership. It is the policy of the State of Illinois to promote and encourage the fullest use of its highways and to enhance the flow of commerce thus contributing to the economic, agricultural, industrial and social growth and development of this State, by authorizing the Secretary of State to negotiate and enter into reciprocal or proportional agreements or arrangements with other States, or to issue declarations setting forth reciprocal exemptions, benefits and privileges with respect to vehicles operated interstate which are properly registered in this and other States, assuring nevertheless proper registration of vehicles in Illinois as may be required by this Code;

> with references.

Please provide a reference for future comments.
by freeopinion | 2025-10-09 20:32:51+00:00
Corporate practices are the primary form of cybersecurity training. I have seen too many corporations (including critical infrastructure corps) that force employees to login to foreign domains with corporate credentials. This includes email services, two factor authentication, team chat, LMS, dashboards, surveys, web meetings, code forges, ticket tracking, VPN, etc.

Corporations outsource almost every single tool used by their employees and train them to cough up their corporate credentials no matter what url the browser identifies. In essence, they phish their employees 100 times a day. Then they force employees to sit through training twice a year to identify phishing attacks. Every legitimate training will create cognitive dissonance with employees' every day work experiences.
by belthesar | 2025-10-09 20:33:22+00:00
I feel like this is kind of looking a gift horse in the mouth, especially for the cost of these units. Certainly not impossible to add, but an increase in the BOM vs. the loads of off-the-shelf super cheap HDMI capture chips available, and questionable compatibility (DP Alt Mode is getting better, but plenty of devices still have interesting quirks with it depending on implementation). These devices aren't made with daily driving a system in mind so much as for installation and recovery of a system.

Would it be handy to have this all in one cable on both ends? Sure, absolutely, that'd be killer. I personally don't think it's too big of an ask to use two cables in an installation or recovery case though, and if your devices only have USB-C ports for video out, an active USB-C to HDMI via DP-Alt cable can be had to meet that need.
by djoldman | 2025-10-09 20:33:26+00:00
> ...How many hours do you spend staring at a screen, looking at something on the internet? I’m guessing countless hours. Maybe double-digit hours in some cases. It’s not your fault.

> ...We are slaves to a system we didn’t create.

> ...I don’t know how much of this is a technology problem versus a people problem, but what I do feel is that something needs to change.

> I don’t know if Big Tech will ever change. I think we will continue to see these empires rise. We will continue to see the likes of OpenAI and others fight for our attention. But it’s our attention, and we can take it back.

As the attention economy rolls on, a theme I'm noticing pop up more often is that some folks seem to be uncomfortable with the choices others make.

If we're talking about adults, these adults have the choice to engage in social media and other things that consume attention. Just like folks are allowed to eat however much legally obtained food that they want.

What are we going to do, tell Americans how much TV they can watch, books they can read, or little screens they can look at?

We've been "wasting" time for a long time. There's nothing new here. It's just a higher magnitude of the same concept.

Americans want to look a little screens.

Big tech in this sense is just giving the people what they want.
by kees99 | 2025-10-09 20:34:01+00:00
That's the spirit! :-)

By the way, delving into obscure and hardware-specific kernel code, sometimes yields quite interesting generally-applicable problems. For example, @dougg3 did an (excellent!) series of articles about his work on bringing mainline kernel support to "Chumby 8", a somewhat obscure, but historically significant piece of hardware, and as a side-quest he stumbled into this:

https://www.downtowndougbrown.com/2024/04/why-is-my-cpu-usag...

...which is applicable to quite a few other machines.