News for hackers. Stuff that matters.
Re:Show HN: Nub – A Bun-like all-in-one toolkit for Node.js by colinmcd on Wednesday June 24, 2026 @02:46PM (#48664127)
Right now, you should use Nub on the backend if you are relying on its augmentations. If you specifically want to disable Nub's augmentations (so you have a guarantee that your app/script will "just work" with regular Node, there's a couple ways to disable it.

  NODE_COMPAT=0 nub index.ts
  nub --node index.ts

I'll investigate a `nub build` that would do the transpilation upfront and properly chunk/bundle a prod build. It's a good idea. But yes, Nub's overhead (both time and space) is generally negligible relative to Node itself.

Re: added attack surface: the most obvious one is that Nub loads .env files (same as Bun/Next/Vite) so be aware of that. All of Node's permission flags are passed through as well. I won't claim there's no additional attack surface, but it doesn't have much surface area, just a Rust wrapper that spawns `node` ultimately.

Re:Show HN: Nub – A Bun-like all-in-one toolkit for Node.js by BearOso on Wednesday June 24, 2026 @06:28PM (#48666360)
I'm seeing lots of bots/agents misusing backticks like this. It's because people are writing agent plans in markdown and the agent thinks it's appropriate everywhere. Maybe you shouldn't be running all your comment replies through Claude.
[dead]
Re:Show HN: Nub – A Bun-like all-in-one toolkit for Node.js by BearOso on Friday June 26, 2026 @11:20AM (#48687715)
Slack uses this? Thanks for the info. I've never been forced into Slack, so I wasn't aware of that. Either way, it's stupid to use in places it doesn't induce formatting.
Re:Show HN: Nub – A Bun-like all-in-one toolkit for Node.js by jitl on Thursday June 25, 2026 @08:42AM (#48672505)
what are you talking about
Re:Show HN: Nub – A Bun-like all-in-one toolkit for Node.js by BearOso on Friday June 26, 2026 @11:39AM (#48687948)
Backticks ` ` are used to trigger code-style formatting in markdown. Since all the coding AIs are trained almost entirely on github, you see it everywhere in their output. They'll use it even in places where it's supposed to be just plain text, and almost always in git log messages, which by spec have no formatting.
Re:Show HN: Nub – A Bun-like all-in-one toolkit for Node.js by jitl on Friday June 26, 2026 @11:57AM (#48688144)
i write markdown-ish text in any text box including using backticks for command names like `cat`, or use * for *emphasis* just like i did on IRC in the 2000s. these conventions in human plain text conversation predate markdown and AI by decades. that was the point of markdown: formalizing those kinds of conventions enough to turn them into deterministic rich styling.

HN itself renders * as emphasis, but not ` for "code"; this doesn't mean HN is a broken markdown machine or that i'm a bot. many hn comments use plain text conventions for links, see examples that use footnote style markdown-like links[0], I was [doing markdown links here back in 2017](https://news.ycombinator.com/item?id=14763397) even though they've never been parsed by HN.

This kind of semantic formalism in text goes way back, its not so different from something like Chicago style citations first published in 1906 [1].

[0]: https://news.ycombinator.com/item?id=47258996

[1]: https://www.chicagomanualofstyle.org/dam/jcr:bba47b07-61ba-4...