MurphyA/hacker-news huggingface dataset:
by bbor | 2025-05-27 15:55:37+00:00
Ok I’m behind the times in terms of MCP implementation, so would appreciate a check: the appeal of this feature is that you can pass off the “when to call which MCP endpoint and with what” logic to Mistral, rather than implementing it yourself? If so I’m not sure I completely understand why I’d want a model-specific, remote solution for this rather than a single local library, since theoretically this logic should be the same for any given LLM/MCP toolset pairing. Just simpler?

It certainly looks easy to implement, I will say that! Docs halfway down the page: https://docs.mistral.ai/agents/mcp/
by latchkey | 2025-05-27 15:57:10+00:00
Reading your post now, half the article feels like it is just installing PyTorch. Next time, just use the pre-built docker containers. It is the recommended way and much easier.

https://rocm.docs.amd.com/projects/install-on-linux/en/lates...

Additionally, our MI300x VMs/machines come with ROCm installed and configured already. We also apply all the default recommended BIOS settings as well.
by watwut | 2025-05-27 15:57:31+00:00
German constitution, translation to English: - https://www.gesetze-im-internet.de/englisch_gg/englisch_gg.h...

Article 16 (2) No German may be extradited to a foreign country. The law may provide otherwise for extraditions to a member state of the European Union or to an international court, provided that the rule of law is observed.

USA is not a member of European Union nor an international court.
by freedomben | 2025-05-27 15:57:40+00:00
Also, don't want to overlook the fact that people have to justify their jobs. If you are employed as a designer, and you were to tell your employer that The app is in good shape and doesn't need any design work, you are putting yourself out of a job. Now scale that up to an entire team of designers, or even a department with a chief designer, and you have a bunch of people. Primary incentive is to continually change things. I don't think it's a coincidence that bigger apps from companies that are big enough to hire Full-Time designers are constantly churning their UI.

I don't mean this against designer specifically. I've seen plenty of software engineers that do the same thing. Hell, I've caught myself doing the same thing. It's just part of being human, but recognizing our human nature and not doing dumb things because of it is an ideal to shoot for in my opinion.
by JeremyNT | 2025-05-27 15:58:22+00:00
> The biggest asset of a developer is saying "no" to people. Perhaps AIs will learn that, but with competing AIs I'm pretty sure we'll always get one or the other to say yes, just like we have with people.

In my experience this is always the hardest part of the job, but it's definitely not what a lot of developers enjoy (or even consider to be their responsibility).

I think it's true that there will always be room for developers-who-are-also-basically-product-managers, because success for a lot of projects will boil down to really understanding the stakeholders on a personal level.
by JohnMakin | 2025-05-27 15:58:25+00:00
They're not hiring juniors and now my roles consist of 10x as much busywork as they used to. People are expanding to fill these gaps; I'm not seeing much evidence that AI is "replacing" these people as much as businesses think they now don't need to hire junior developers. The thing is though, in 5 years there is not going to be as many seniors and if AI doesn't close that gap, businesses are going to feel it a lot more than whatever they think they're gaining by not hiring now.
by nylonstrung | 2025-05-27 15:58:27+00:00
Hopefully Nix and Bazel can learn to play nice. There have been 5 talks on this in the last year alone, so I think many others are in your same boat

https://youtu.be/2wI5J8XYxM8?si=HS0YKewPz-Mmhptn

https://youtu.be/6xWr8f2RhX0?si=sNjkJ-rwLfTI97AP

https://youtu.be/FoSCSQO5xhI?si=pHmZJjKS-mX87iyn

https://youtu.be/6qOoOsjmyZ0?si=sVppXxb1E3ml7TBk

https://youtu.be/s801fgQOGnw?si=E--1aVJyUDjjOFWW
by the_af | 2025-05-27 15:58:45+00:00
Can you explain this comment you posted a while back, on your own HN submission (you talking to yourself?):

> "Adam, congrats on your book, but please stop spamming this message board with your AI Generated garbage"

Note if the above sounds aggressive, I didn't write it. You did... in reply to yourself! To be honest it seems as if you're writing comments using an LLM, and the LLM got confused.
by puskark4 | 2025-05-27 15:58:47+00:00
A easy way for users to detect whether or not they are being scammed/spammed/phished. Link: https://isthisspam.org

Built the first product, which is email based where users email/forward suspicious messages to check@isthisspam.org and get a response back. Next up is a chrome extension, for now will have to use cloud providers but hoping to make it fully locally
by Teever | 2025-05-27 15:59:18+00:00
Yeah but Sears is a reputable company selling reputable brands that became so ubiquitous as to enter into the lexicon.

That's miles apart from some fly by night catalogue with ads from Jim Bob selling what was only a decades prior the domain of science fiction and corporate offices.

Like look at it another way. If some fly by night website was selling what they claimed was a desktop replicator for $5000 and someone posted it on Hackernews the top comment would be about how the website isn't responsive and the language is in broken english and somewhere towards the bottom would be a flame war started by some curious person saying "I'm gonna go for it. I just bought it."
Launch HN: Relace (YC W23) – Models for fast and reliable codegen
by eborgnia | 2025-05-27 15:59:20+00:00
Hey HN community! We're Preston and Eitan, and we're building Relace (https://relace.ai). We're trying to make building code agents easy and cheap.

Here’s an example of our apply model vs. whole file edits: https://youtu.be/J0-oYyozUZw

Building reliable code agents is hard. Beyond simple prototypes, any app with code generation in production quickly runs into two problems -- how do you reliably apply diffs, and how do you manage codebase context?

We're focused on solving these two problems at order-of-magnitude lower price and latency.

Our first model that we released, in February, is the Fast Apply model -- it merges code snippets with files at 4300 tok/s. It is more reliable (in terms of merge errors) than Sonnet, Qwen, Llama, or any other model at this task. Each file takes ~900ms and gives an instantaneous user experience, as well as saving ~40% on Claude 4 output tokens.

Our second model focuses on retrieval. For both vibe-coded and enterprise codebases, retrieving only the files relevant to a user request saves both on SoTA input token cost and reduces the number of times code agents need to view files. Our reranker (evals below) can scan a million-line codebase in ~1-2s, and our embedding model outperforms any other embedding model for retrieval as evaluated on a corpus of Typescript/React repositories.

There are many different ways to build coding agents, but being able to edit code reliably and retrieve the most relevant parts of the codebase is going to be a foundational issue. We're excited to be building ways to make it more accessible to millions of users who don't want to spend $$$ on Claude.

These models are used in production, millions of times per week. If you've used Lovable, Create.xyz, Magic Patterns, Codebuff, Tempo Labs then you've used us!

Here's a link to try it out: https://app.relace.ai, and here are our docs: https://docs.relace.ai.

We've opened up free access for prototyping on our website to everyone, and the limits should be enough for personal coding use and building small projects (correct us if it’s not). We integrate directly with Open-Source IDE's like Continue.dev. Please try us out, we'd love to hear your feedback!
by parsadotsh | 2025-05-27 15:59:57+00:00
Congrats on the launch!

Would this fit into the "1. Serialization" strategy described here? https://mattweidner.com/2024/06/04/server-architectures.html...

If so, would it run into the same issue ProseMirror-collab did as mentioned in the article? As in: A frequently updating low-latency client can lock out another high-latency client's updates.
by WorldMaker | 2025-05-27 16:00:01+00:00
There's an interesting digression in the article itself here on the question about even if Sega had kept footing the server bill a bit longer if the game would have survived the Xbox Live's Party Chat which opened up just a few months later. It's an interesting question. Was it that much of a game technically unique to those few months in the 360's lifecycle that it lived in where 360 multiplayer game players were expected to have ubiquitous voice chat support but only in ways that were game controllable?

This new community is building itself on Discord, so the knowledge that players have access to ubiquitous Discord voice chat is a given going in. I've got a feeling that as the open source effort builds voice chat capabilities (this article suggests supporting Xbox Live Voice Chat isn't currently available in the emulator that this open source server relies on) the Community as a whole will try to work towards arrangements for avoiding out-of-game comms to recreate the original feel. That's probably a hard task in general scale (cheaters will always exist), but bans can matter in a small community and maybe they'll have just enough enforcement tools.

Thinking about this project in particular from the technical side, Discord could even be an asset to the community like that. As an armchair engineer taking a glance at this project from a distance, one interesting way to bootstrap an emulated, not-quite-fully-Open-Source Xbox Live Voice alternative would be by automating Discord Voice Channels. If you did that Discord itself might help maintain the invariant that users are only in one voice channel at a time, and admins have visual ways to see that in the Discord interface in addition to whatever automation tooling/bots are built to moderate the game voice comms flow.

I've seen fun games make use of interesting automation of Discord voice comms. There's also a "TTRPG" designed for Discord channels called "This Discord Has Ghosts In It" [1] that makes fun use of channel permissions to set play areas and define game classes/roles.

[1] https://willjobst.itch.io/ghosts
by Mindwipe | 2025-05-27 16:00:17+00:00
I think it's very unlikely they would be a problem for the manufacturer in the event of the consumer making modifications which the packaging is very clear that you should not make, or for the facilitation of illegal acts.

Put it this way - it's pretty common for devices to have their DRM keys downgraded in the video industry if they are leaked, and that has never presented any issues for manufacturers under the CRA.
by djhn | 2025-05-27 16:00:18+00:00
Implementation depends on the country and the broadcasters. I know nothing about US and Canadian broadcasting standards.

In Europe TV is in most countries sent over DVB-T2 (DVB-C2 in urban areas) which supports SD, HD and FullHD. The older standards, DVB-T and DVB-C, are still used in some countries and not everyone even plans to transition to DVB-T2. There are countries and broadcasters sticking with SD and 720p HD.[1]

The resolution of video content (SD, 720p or 1080p) is only approximately correlated with quality (there are numerous resources online comparing different resolutions at different bit rates and bit depths). I'm not a big broadcast TV user, but from eyeing various EU countries' TV broadcasts at hotels and the occasional sports bar while traveling, for the majority of your every day programming the quality corresponds to YouTube's 720p format (~2 MB/s), even if for example German TV is nominally 1080p50 H.265.

As an example, in most of the EU the 2024 Olympics were broadcast in 1080p. There was no 4K option available to purchase in many countries. The 1080p broadcast, however, had a very low bitrate, making it effectively equivalent to YouTube 480p/360p/240p. Many sports involving fast moving landscapes and water looked worse than in the 80s and 90s. Footage of water, in particular, compresses very poorly at constant bitrates because of the constant subtle motion of waves and reflections on its surface.

[1] https://en.wikipedia.org/wiki/DVB-T2
by suzzer99 | 2025-05-27 16:01:01+00:00
Saying no is the hardest part of the job, and it's only possible after you've been around a few years and already delivered a lot of value.

There's also an art to it in how you frame the response, figuring out what the clients really want, and coming up with something that gets them 90% there w/o mushrooming app complexity. Good luck with AI on that.
by geodel | 2025-05-27 16:01:02+00:00
I mean reading this article:

1) Kotlin code --> Java byte code --> JVM execution (slow)

vs

2) Kotin code --> Rust/Zig code --> Zig compiler --> native execution (fast)

Compiler is involved in both cases but I was thinking of 2) where slower code in high level lang is converted to another lang code. The compiler of which is known to produce fast runinng code.
by lisper | 2025-05-27 16:02:12+00:00
I know very little about Julia. It is on my list of Things To Look Into Some Day.

> type stability [is] not stupid ideology unless you consider high-performing numerical code stupid ideology.

"Stupid ideology" may have been putting it a bit strongly, and there are times when I want numerical code to be performant. But I don't always want that, and I don't want a language that makes me pay for it even when I don't want it. Almost always I prefer high-fidelity [1] over speed. But even when I want speed, I always want to start with high-fidelity, get that working, and then make it fast if I need to. 99% of the time I don't need to because 99% of my code turns out to be I/O bound or memory-latency bound. It's extremely rare for my code to be compute-bound, and even in those cases I can almost always just find a C library somewhere that someone else has written that I can call through an FFI. So for me, a programming language that forces me to pay for run-time performance whether I want it or not has negative value.

But honestly, I can't actually think of a single instance in my entire 40 year career when the run-time performance of my CL code was a limiting factor. The limiting factor to my productivity has almost always been my typing speed and the speed of my internet connection.

---

[1] By "high fidelity" I mean how well the semantics of the language reflects the domain model, which, in the case of numerical code, is mathematics. Fixnums and floats are a fast but low-fidelity model because they don't actually behave like the integers and reals that they purport to model. Bignums and rationals are a high(er)-fidelity model. A really high fidelity model would let me do something like (* (sqrt 2) (sqrt 2)) and get back exactly 2 by having some sort of exact representation of algebraic numbers. I don't know of any programming language that provides that natively, but some languages, like CL and Python, let me extend the language to add that kind of capability myself. For me, that kind of extensibility is table stakes.
by nextn | 2025-05-27 16:02:38+00:00
Use quadratic post fees. The larger the number of people who try to view a post, the larger the fee becomes or the post stops being viewable.

So the fee isn't a one-time fee, but an "open" fee that keeps increasing.

Another mechanism is to require a fee to view. If after viewing the content the user deems the content isn't valuable, they flag it in some way or they don't bookmark it, and this indicates the poster should pay the display fee.
by nkrisc | 2025-05-27 16:02:49+00:00
It was (to some degree), and could still be. The status quo was more effective, relatively speaking, before the AI boom. The status quo appears to be trending towards ineffective, post-AI boom.

So in order to remain useful, the status quo of higher education will probably have to change in order to adapt to the ubiquity of AI, and LLMs currently.

Just because you can cheat at something doesn't mean doing it legitimately isn't useful.
by dogleash | 2025-05-27 16:02:59+00:00
>a lot recent UI/UX and visual design has become less about seeking to understand and improve the way we interact with machines and more about creating a digital form of fast fashion full of trends that everyone is expected to follow - change for the sake of change

In undergrad I took a course in Human Computer Interaction. It was a bunch of glorious retro materials from all the actual hard research done in the 20th century. After graduating and entering industry the most effort I've ever seen "professionals" put into HCI (and not just graphic design) is to recognize some interaction might be confusing and just go copy whatever apple does.
by williamdclt | 2025-05-27 16:03:14+00:00
I agree it's a code _smell_. But a "smell" doesn't mean that something is necessarily wrong, just that there's a clue that it might be wrong.

> in that sense I disagree that the duplicated version is more readable

I didn't say it is, I agreed it's _less_ readable. I said it's trading off readability for 8 bytes of memory at runtime.

> If you consistently deduplicate code that is supposed to do the same and evolve the same, then [...]

I agree with all this. I'm not saying to consistently go for the deduplicated approach (I don't think anyone would say that), I'm saying it's a reasonable trade-off in this specific case (each branch is still trivial, and the code won't evolve much if at all).

> About possible performance reasons, those need an explanatory comment, exactly for the above reason.

Agreed.

> if performance reasons warrant complicating the code, then it isn’t “as simple as it gets” any more. I was commenting because I disagreed with that latter characterization.

Also agreed.
by freedomben | 2025-05-27 16:03:25+00:00
Seriously. It's often taken to absurd levels there. There have been several times when I went to Reddit answer a question about my own project that someone was asking, and my comment got downvoted or moderated away for self-promotion even though I was just answering the question. Ironically, omitting a disclaimer about it being my project will typically let the comments slide by, but that seems like the opposite of what you want. I prefer people to declare their biases up front so that I can evaluate their statement based on That context and on its merits. I personally love it when someone comments on something that they do.
by plantwallshoe | 2025-05-27 16:03:38+00:00
A mix of feeling I’m “missing” some CS concepts and just general intellectual curiosity.

I am planning on doing a masters but I need some undergrad CS credits to be a qualified candidate. I don’t think I’m going to do the whole undergrad.

Overall my experience has been positive. I’ve really enjoyed Discrete Math and coming to understand how I’ve been using set theory without really understanding it for years. I’m really looking forward to my classes on assembly/computer architecture, operating systems, and networks. They did make me take CS 101-102 as prereqs which was a total waste of time and money, but I think those are the only two mandatory classes with no value to me.
by marcellus23 | 2025-05-27 16:04:00+00:00
> Those aren’t my words. They’re Brian Chesky’s, CEO of Airbnb, after what can only be described as a landmark redesign of the platform. A redesign full of whimsical, animated, 3D icons and warm, tactile surfaces.

I just opened the app and, aside from the animated tab icons shown in the article (which are super laggy on my device), the app looks exactly the same as always. How in the world is this a "landmark" redesign?
by throwanem | 2025-05-27 16:04:27+00:00
Sure. I'm just talking about the impression they give in life. But I suppose in that sense the other birds must find a peregrine much more striking, and it very belatedly occurs to me that peregrines no doubt look smaller and more gracile to me for the higher altitudes their stooping hunting habit would require. When I do occasionally see them on approach to their nearby nest, I'm struck by their relative size. So yeah, between that and reviewing my Sibley's the error here is mine, though - for that matter, likely also because - I do find all falcons rather streamlined and compact in impression compared with accipiters or buteos.
by senkora | 2025-05-27 16:05:12+00:00
> ty, on the other hand, follows a different mantra: the gradual guarantee. The principal idea is that in a well-typed program, removing a type annotation should not cause a type error. In other words: you shouldn’t need to add new types to working code to resolve type errors.

The gradual guarantee that Ty offers is intriguing. I’m considering giving it a try based on that.

With a language like Python with existing dynamic codebases, it seems like the right way to do gradual typing.
by diggan | 2025-05-27 16:05:47+00:00
> Please add the widget-muckle-frobnicate function from the current REPL session to the codebase.

I think this is your problem, those two things should be the same, not two different things. When I'm working with a Clojure REPL, I write down code in a .clj file, then evaluate that code via the REPL but without leaving my editor. "Moving" something from a REPL session to the codebase is a matter of saving the current file you're editing.

I wrote more about the exact process I typically use when going from "prototyping with a repl, to having a test case" (https://news.ycombinator.com/item?id=44106445) and it's essentially changing "comment" to "deftest" then saving the file again, now it's a unit test.

I do find value from LLMs in general, but I don't see much value in taking a process that takes a minute or less and trying to make LLMs do it.
by dahart | 2025-05-27 16:06:02+00:00
Most people are enjoying the 2x salary premium.

Why do you think I’m in a bubble? What evidence do you have that it’s not you wallowing? I’ve read some of the research that tries to tease apart credentialism from skills, read maybe a dozen papers about it. And I’ve looked at the data on pay gap on average across the US for degree holders vs non degree holders. Have you?

BTW, your other reply does almost nothing to address either my comments nor @sarchertech’s. You’re arguing a straw man, asserting that it’s possible for people to learn on their own, which neither of us has disgreed with. The facts are that very few people actually do it without a guided curriculum, and conversely that people who choose the guided curriculum often do learn things they wouldn’t have learned otherwise.
by Draiken | 2025-05-27 16:06:26+00:00
I'm happy that there are exceptions, but the fact is that most companies will throw ethics out of the window the second it hits profits. It's easy to be ethical when it's for free.

> The idea that no company can ever be held responsible for anything is a weird ultracapitalist pipe dream (and consequently a marxist straw man).

I never said that. What I said is merely what we see in today's capitalism: barring a few exceptions, companies are almost never held responsible.

Probably one of the most egregious examples of this is the health care industry in the US but we often forget how banks ruined millions of people's lives in 2008 and almost nobody from the big banks went to jail. We bailed those criminals out and they felt zero consequences. They got a pass.

I agree with you that nobody should get a pass, but I'd be naive if I said they don't.

> until an inevitably slow and imperfect government gets their shit together.

How else are we going to do anything? Aside from taking justice into our own hands like Luigi Mangione, the best we can do is try to sue them and spend huge amounts of money to maybe get them to pay a small fine. Or perhaps employees inside of these companies can be whistleblowers and blow up their own lives trying to get some sort of justice.

I hate that this is the reality we live in but we can't pretend it's not.