MurphyA/hacker-news huggingface dataset:
Show HN: Morphik – Open-source MCP server for technical document search
by Adityav369 | 2025-04-06 14:04:19+00:00
Hey HN - we built Morphik MCP to solve a common problem: finding specific information across scattered technical docs. We've experimented with GraphRAG, ColPali, contextual embeddings, and more. MCP emerged as the solution that unifies these approaches.

Features: - Multimodal search across text, diagrams, and videos - Natural language knowledge base management - Fully open-source with responsive support

What sets MCP apart is its ability to return images (including diagrams) directly to the MCP client. Users have applied it to search over data ranging from blood tests to patents, and we use this daily with Cursor and Claude.

Give it a spin, and let us know what you think.

Link to our repo: https://github.com/morphik-org/morphik-core
by inkyoto | 2025-04-06 14:04:33+00:00
FreeBSD jails are advanced chroot++. Albeit they do set a precedent for a predessor of true containers, they have:

1. Minimal kernel isolation. 2. Optional network stack isolation via VNET (but not used by default). 3. Rudimentary resource controls with no default enforcement (important!). 4. Simple capability security model.

Most importantly, since FreeBSD was a very popular choice for hosting providers at the time, jails were originally invented to fully support partitioned-off web hosting, rather than to run self-sufficient, fully contained (containerised) applications as first-class citizens.

The claim to have invented true containers belongs to Solaris 10 (not Linux) and its zones. Solaris 10 was released in January 2005.
Show HN: Swap 'Em Poker, daily puzzle game
by ZenBlender | 2025-04-06 14:04:57+00:00
Hi HN!

Swap 'Em Poker is a daily puzzle game using poker hands inspired by Texas Hold 'Em. Given a set of "board" cards and a series of "hands", the poker hands start out in increasing order of strength. The goal is to swap cards between the board and the hands until the resulting hand strengths are reversed. (More instructions on the site.) Every day brings new easy/medium/hard puzzles to play.

I designed and built it myself. Comments, questions, feedback?

My puzzle generator for this is a fairly sophisticated algorithm that finds puzzles that satisfy certain requirements. It has led to some surprising discoveries, such as puzzles that have 7 hands but are solvable in only 2 swaps.

This is actually my second solo-developed poker game, the other is Triplejack Poker ( https://www.triplejack.com/ ) that has been running for over 20 years!

Thank you for playing!
by bodantogat | 2025-04-06 14:05:01+00:00
I completely agree. The joy of reading comes from discovering stories that you truly connect with—not from checking off titles on a set list. While some reading lists can be helpful for inspiration, I find the “100 books you must read” type a bit off-putting. They can unintentionally suggest there’s only one right way to be a “good reader,” which just isn’t true.
by snapplebobapple | 2025-04-06 14:05:17+00:00
I get what you're trying to say but I don't think it's couched in a way that is understandable to the average person. I think a more understandable way to put it is to point out USA will be ok on the very base things like food and energy (assuming they don't piss us Canadians off further) but China has competed to a almost nothing the next few rungs up the ladder to the point where production capacity outside China (and certainly within USA and the dwindling number of deeply friendly nations) is almost non existent. This includes very, very valuable things like chemical precursors and finished products in everything including biotech, building supplies, factory parts, etc. So a world where China walks away pretty quickly falls apart to a much lower standard of living for everyone in the west for a decade or possibly two. That world would be much blander food wise, much more exposed to the elements for many more of us and with much more death from treatable disease.

We have an opportunity here to rebuild the industrial capability and walk ourselves a bit further up the cost structure now with the help of having access to chinese output and what we are doing instead is pretty foolish.

That talk of what we pay vs what we would pay is being used in your argument to point out the pain of losing access to a cheap chinese product when it's more useful for antitrust discussion of where market power is being abused and instead just pointing out the direct pain of a china walking away situation in my opinion.
by kjellsbells | 2025-04-06 14:06:15+00:00
One might ask, what exactly is the point of a reading list?

As a recommendation set between friends ("you must read Borges and Sebald! You'll love them"), fine.

But lists give the vibe of someone desperately trying to preserve The Culture, whatever that is. And of course once such a list becomes encoded in the school board or university course curriculum, it instantly becomes calcified and a chore, even if some of the entries on the list are appealing to some of the readers. Pity the teacher who has to teach /Catcher in the Rye/ for the tenth year, and pity their students.

So the real challenge is how to communicate The Culture through reading, without killing the joy. I wish I knew the answer. Perhaps it boils down to teachers being allowed to innovate. Maybe we need more teachers with big theater kid energy. I dont know. Id be interested to know what happens in non-Western cultures too...is this problem universal?
by mike_hearn | 2025-04-06 14:06:19+00:00
I'm only citing the IEA report for the opening commentary on trade data. I know it has other stuff but that's not germane to the point.

That the IEA is right wing is neither here nor there, because the statements it makes are factual and true. If for some reason you suspect foul play you can just look up the data yourself instead of digging up irrelevant quotes (the Guardian is also very much in the Brexit influencing game, so what?)

I'll do the work for you. Here's a report from Parliament with the relevant data up to 2023. See the graph in section 3.1

https://researchbriefings.files.parliament.uk/documents/CBP-...

That's trade. For other economics indicators there are many sources. I like TradingEconomics.com
by kbolino | 2025-04-06 14:07:17+00:00
This is not about Linux vs Windows and it's perfectly possible (in fact, much more likely) to ship malware via Windows-derived install media. Secure Boot does not protect against post-boot vulnerabilities but it does protect against persisting those vulnerabilities through bootkits. I do not endorse any position which makes claims about the security benefits of Secure Boot beyond simply protecting the boot process. I also don't think Secure Boot is flawless or not in need of revision. I'm also not talking about protecting power users or otherwise knowledgeable people, but rather the average user.

The default trust list can certainly be expanded beyond just Microsoft, but as the vast majority of PC users are running Windows, obviously Microsoft should be in there. In the real world, install media gets shared around and reused as much as it gets freshly downloaded for every install. And even a fresh download on a pwned PC can be modified in situ or when imaged so it can't necessarily be trusted anyway. Even if default-trusting Microsoft has allowed exploits like you describe, that is not a regression compared to not using Secure Boot, and most (all?) of those machines had Windows installed already so would've been trusting Microsoft anyway.

There's an avenue of argument here about whether Secure Boot as currently architected is really offering enough benefit to even justify its existence, but that seems tangential at best to the question of whose certificates to trust. The ideological and anticompetitive issues about Microsoft are not relevant to the point I'm making.
by no_wizard | 2025-04-06 14:07:28+00:00
This isn’t a criticism on you - in fact this isn’t anything about you specifically however the 100 books a year made me think of this.

The folks I know who read a lot more than average tend these fall into camps:

The ones who seem to have the best recall for the material they’ve read - like recalling very specific things from any given book they’ve read. They read about 12-16 books a year.

Then you have the ferocious readers, some of which I can personally attest read anywhere from 30-60 books a year, maybe even more. They however don’t have the same strength of recall. They can often give good synopsis of information they’ve read, but will struggle to recall specifics without looking it up or having to find a book in question and re-skim it for more relevant information etc.

Now achievement wise both groups have done fine but the methodical 12-16 books a year folks seem to make more knowledge gains over time - forgetting less stuff, basically.

I’m not sure which is better, or even if there is a better, but this is something I’ve noticed about volume vs time taken to digest books slower.
by camgunz | 2025-04-06 14:08:13+00:00
Plutonium is scarce. Demand for that plutonium is endless. Scarcity + demand creates a natural market by default, meaning you must use brutal authoritarianism to disrupt it entirely (vs just regulating with guardrails). Disrupting natural markets with authoritarianism usually ends up worse than any downsides of the decentralized market regulation of that scarcity. Instead of something that attempts to land on fairness (even if imperfect), no market at all guarantees unfairness. The black market puts a price on the scarce commodity of plutonium in broad strokes, and it not always, but generally trends toward making the highest purity plutonium for both the bombed and bomber get used over lower purity plutonium in any given situation (because those are the ones who are winning the nuclear war with said plutonium). I know, please respond with all of your “all these times it didn’t work like that!” throw-the-baby out-with-the-bathwater Anecdotes. Like all markets, we should regulate plutonium to ensure it doesn’t get out of control. But to ban it outright would require an extreme policing of all weapons at all levels of society. Hence why this is a non-serious, silly idea.
by nsagent | 2025-04-06 14:09:13+00:00
I'm completely unfamiliar with what systems exist, but here's what the article states:

> the White House had authorized the use of Signal, largely because there is no alternative platform to text in real time across different agencies, two people familiar with the matter said.

> Previous administrations, including the Biden White House, did not develop an alternative platform to Signal, one of the people said.

Are you saying these sources are dissembling? Wouldn't surprise me at this point, but just making sure I understand what you're saying.
by jmclnx | 2025-04-06 14:09:13+00:00
Curious, since when is directory "/etc/ssh/sshd_config.d/" a thing ?

I checked on my OpenBSD (7.6) System and Slackware (15.0) and that directory does not exist. I checked the man page for sshd and there is no mention of that dir.

Is this a new thing/patch Linux people came up with ?
by jlcases | 2025-04-06 14:09:20+00:00
What impresses me most about technical documentation like this is how it structures knowledge into comprehensible layers. This article manages to explain an extremely complex system by establishing clear relationships between components.

I've been experimenting with similar approaches for documentation in open source projects, using knowledge graphs to link concepts and architectural decisions. The biggest challenge is always keeping documentation synchronized with evolving code.

Has anyone found effective tools for maintaining this synchronization between documented architecture and implemented code? Large projects like Darwin must have established processes for this.
by jlcases | 2025-04-06 14:09:38+00:00
This compression approach reminds me of similarities with human knowledge transfer. In both cases, we're looking for compact representations that can reconstruct complex information.

For technical documentation, I'm experimenting with a similar concept: instead of exhaustively documenting every implementation detail, defining a minimal set of principles and architectural decisions that allow "regenerating" the complete understanding.

Current LLMs excel at expanding compressed concepts, but we're still far from finding the optimal balance between explicit knowledge (detailed documentation) and implicit knowledge (patterns and principles). Is anyone working on systems applying similar ideas to technical knowledge management?
What if friend in C++ wasn't for bypassing, but for locking things down?
by BioTech_BIA | 2025-04-06 14:10:09+00:00
I’m not from CS – background is biotech – but I’ve been building a system in C++ where modules aren't allowed to touch memory or override anything unless they're explicitly granted access.

I used `friend` + `final` not as shortcuts, but to block behavior, sandbox memory, and force everything to go through one pipeline: Wrapper → Interface → Access → Pointer.

No runtime IDs, no if-checks, no const tricks – just raw C++ syntax doing the gatekeeping at compile-time.

The whole thing is kinda like gene expression. You don’t “do” something unless the system says you’re allowed to.

I’m calling it BIA – BioMorphic Instruction Architecture. It’s experimental, probably flawed, but I’d like to know: > Has anyone else tried locking down C++ this way?

GitHub repo here: https://github.com/Nomatter2021/biomorphic-instruction-architechture
by dshdsh | 2025-04-06 14:10:11+00:00
EU or US (EST timezone, UTC-5) | REMOTE | Go backend developer

Location: EU or US (EST timezone, UTC-5)

Remote: yes, full remote

Willing to relocate: no

Technologies: Go (Golang) backend developer

Résumé/CV: https://www.linkedin.com/in/denisshaposhnikov/

GitHub: https://github.com/dsh2dsh

Email: dsh@bamus.cz
by xrd | 2025-04-06 14:10:12+00:00
I'm using claude code a lot more than I expected I would. And, it has these problems exactly. It does not appear to log anything, anywhere. I cannot find a local log of even my prompts. I cannot find anything other than my credits counts to show that I used it. The coding conversation is not stored in my conversation in the webui.

I wonder if this is by design. If you are doing contracting work, or should I say, claude is doing contracting work by proxy for you (but you are keeping the money in your bank account) then this gives you a way to say "I don't know, maybe Claude did 12% of the work and I did the rest?"

openwebui and aider both have ways to log to something like datadog. So many layers of software.

I've been looking at ways to script my terminal and scrape all the textual data, a tool that would be outside of the subprocesses running inside the terminal. I really like to keep track of the conversation and steps to build something, but these tools right now make it really difficult.
by throw310822 | 2025-04-06 14:10:20+00:00
In any case, it doesn't matter much. Of course in a democracy if you want something to happen you need to convince a lot of people (maybe not a majority but a lot). It's called propaganda. The fact that there's a lot of people that are enthusiastic about advancing the interests of another country is probably just the effect of some very effective propaganda originating from the actual beneficiaries.
by ttul | 2025-04-06 14:10:58+00:00
“… after he mistakenly saved his number months before under the contact of someone else he intended to add.”

This is precisely why the government has its own very inconvenient devices and network, which cannot possibly fall victim to the same completely understandable human error. Had the team been using secure devices on the secure network, no journalist would ever have been accidentally added to the chat.

That these people are in charge of national security is beyond ridiculous. It speaks volumes about the unprecedented political setup we find ourselves in that such frankly inexperienced and naive people are in charge after Senate confirmations that were intended to protect us all from such a mistake.
by MrMcCall | 2025-04-06 14:13:24+00:00
Different strokes for different folks, I guess.

Our daughter counted AK as her favorite book for years, though now I suspect she'd choose Little Women or any of the last five William Gibson books as her fav.

She's read many of these books multiple times. Of course, she's never had a reading list to do, so I'm sure it helps that she chose them on her own. She also read Langston Hughes self-collected "Best of" treasury he released towards the end of his life. And, she has just bailed on other books, like effing Wuthering Heights, ick!
by kohlerofficial | 2025-04-06 14:14:48+00:00
Facebook is so much more than just a social media site: it is where we share, connect and keep alive. Its house has clips that will make us laugh and viral challenges, instructions, or memorable moments in life. All types of videos that we love to rewatch. But if you want to download one of those special videos for offline viewing, that is when Facebook video downloaders come in. These convenience tools easily store the video on the device, so finding your favourites whenever and wherever you wish is possible.
by leoqa | 2025-04-06 14:14:57+00:00
I experienced this environment a few times: when I was in school in the CS lab, when I was working at AWS on a research team building a database and when I was working at a startup (early days, like 5 people). The startup scaled to 100s and we lost the spirit. Since then, it's been FANG with no spirit and now I've been WFH for 5 years, effectively stuck in a covid lifestyle.

Would love to return to offline only, 20 people max environment that paid the bills without worrying about implosion.
by dagw | 2025-04-06 14:15:03+00:00
You know that there's actual, indepently owned, restaurants that are way better than these

Sure, sometimes. But honestly I find that this is rarely the case. The same economic pressures exist for the small independent restaurants as well, and they need to use the same 'tricks' to keep costs down. My 'favorite' reasonably price local place in my neighbourhood is a lovely place to go, nice vibe, often has live music and is run by nice people, but I'd be lying if I said the food was fantastic.
by the_snooze | 2025-04-06 14:15:21+00:00
The systems exist are in the form of "you go into a secure room with specially-networked computers and do your sensitive comms there." These are secure not only because of the use of strong encryption (which Signal does) but also because of the restricted access (which Signal doesn't). You can't accidentally add a journalist on these secure systems for the simple reason that the US government doesn't give accounts or physical access to randos (which Signal effectively does).
by Shacklz | 2025-04-06 14:16:05+00:00
> Out of all of HN’s biases, the violent hatred of advertising is by far one of the most misguided.

Interesting, I perceive it exactly the other way around. I'm surprised this thread is as high up as it is, usually as per my perception, anti-advertisement sentiment gets shot down hard, presumably because a large part of the HN-crowd works for companies like google or facebook which rely on ads as a business model, or start-ups whose products are only used because users were shown ads for them.

My take: The human mind is hackable; it's just too easy and efficient to appeal to our emotions and most basic instincts. And while it was mostly fine to ignore it while it was "only" increasing consumerism, we currently see what happens when the same is applied to elections, with predictably terrible outcomes.

Your stance is still the old HN stance; the market actually works, any change that would impact the status quo is neither welcome nor needed, etc. etc. - this was the gospel for at least a decade, but we're finally awakening to the fact that hey, maybe this is actually bad, even if it made loads of money for many of us. Maybe it led us to the awful situation we're currently in, with big, ad-based monopolies, an absolute clownshow in the highest of offices and CEOs of said monopolies playing the lackeys.

Most big social developments in human history were non-serious and silly to many people before they actually happened.
by sgt101 | 2025-04-06 14:16:32+00:00
There are privilege boundaries within which this fundamentally is a problem as well, for example inside banks where this could be used to silently monitor for events that could then be used to trigger frauds or other bad things.

The problem is that it is very hard to see how you can prove this is going to be safely implemented, for example, is it possible to say that your sharepoint or confluence is "safe" in terms of all the content that's in there? I do not think so...
by DKordic | 2025-04-06 14:17:19+00:00
Exactly! "Life After Parsing" [1].

IMHO C Family is a symptom of "low-level" of competence. I often get surprised by superficiality of their arguments. "Sophistry" is a useful concept (in a single word). Ad nauseam?

[1]: http://www.semanticdesigns.com/Products/DMS/LifeAfterParsing...
by panick21_ | 2025-04-06 14:17:28+00:00
The thing with trains is, you have to build them on elevated sometimes anyway, just because of geography, unless if you maybe live in a super flat pace.

And a train track, is way better for wildlife. Even if you run high frequency, most of the time the track is occupied or empty for a while.

Case and point, we have trains going threw mountains and all across everywhere. And the amount of wildlife being hit is vanishingly small. Animals turn out not to be stupid. Many small animals might even survive if they are on the track.

A single train line, can replace many car lanes.

The most dangerous animals for crashes are (a) human suicide (b) cows.

> In the ideal train world you still end up with roads everywhere because "last mile" freight needs to get places and trains don't work well for it (think your kitchen trash).

This is just lack of imagination. Let me guess you are American?

You can easily have train tracks (ie trams) that connect trash collection points. And people can bring their garbage to those points with a simple cart. Just like people go shopping. At worst what you need minor trash collection points that then get moved to the major ones with tiny electric trucks.

And since the volume of such traffic is low, you can easily run that on something like bike lanes or simply in mixed traffic. And you can mostly do that in the night. This is how it already works for areas that are car-free. Its really not magic.

> Passenger trains also cannot be blocked by freight loading/unloading which means you need a separate road system.

No all you need is separate cargo stations or breakout lines. And that exists, and has existed in the past.

If a rail track is so occupied with passenger trains, then clearly there is enough demand for another line.

Most rail lines are not that occupied and can handle an occasional cargo train, you just don't run crazy large trains like in the US.

And bonus, each new rail line increases capacity far more then equivalent car line.

> but they still need to be frequent and that is rarely the case again pushing people to cars

Your argument does not make sense, bus and trains are the same. You have a 'lane' the lane has a certain capacity. For both you can decide on frequency. And on both you can instead run trucks or cargo trains. If capacity of 1 lane can't handle demand, you need another lane.

And individual car transport on one of those lanes, is by far the least efficient overall solution.

A lot of your points are literally just lack of imagination and lack of investment.