frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

My favorite use-case for AI is writing logs

https://newsletter.vickiboykis.com/archive/my-favorite-use-case-for-ai-is-writing-logs/
55•todsacerdoti•2h ago•28 comments

ChatGPT agent: bridging research and action

https://openai.com/index/introducing-chatgpt-agent/
474•Topfi•8h ago•340 comments

Mistral Releases Deep Research, Voice, Projects in Le Chat

https://mistral.ai/news/le-chat-dives-deep
431•pember•10h ago•90 comments

Perfume reviews

https://gwern.net/blog/2025/perfume
146•surprisetalk•1d ago•77 comments

Hand: open-source Robot Hand

https://github.com/pollen-robotics/AmazingHand
342•vineethy•13h ago•95 comments

Anthropic tightens usage limits for Claude Code without telling users

https://techcrunch.com/2025/07/17/anthropic-tightens-usage-limits-for-claude-code-without-telling-users/
211•mfiguiere•4h ago•117 comments

Mammals Evolved into Ant Eaters 12 Times Since Dinosaur Age, Study Finds

https://news.njit.edu/mammals-evolved-ant-eaters-12-times-dinosaur-age-study-finds
29•zdw•2h ago•17 comments

A look at IBM's short-lived "butterfly" ThinkPad 701 of 1995

https://www.fastcompany.com/91356463/ibm-thinkpad-701-butterfly-keyboard
19•vontzy•2d ago•2 comments

My experience with Claude Code after two weeks of adventures

https://sankalp.bearblog.dev/my-claude-code-experience-after-2-weeks-of-usage/
130•dejavucoder•7h ago•108 comments

Apple Intelligence Foundation Language Models Tech Report 2025

https://machinelearning.apple.com/research/apple-foundation-models-tech-report-2025
176•2bit•7h ago•118 comments

All AI models might be the same

https://blog.jxmo.io/p/there-is-only-one-model
138•jxmorris12•8h ago•73 comments

Extending That XOR Trick to Billions of Rows

https://nochlin.com/blog/extending-that-xor-trick
7•hundredwatt•3d ago•0 comments

Creating an autonomous system for fun and profit (2017)

https://blog.thelifeofkenneth.com/2017/11/creating-autonomous-system-for-fun-and.html
16•cristoperb•3d ago•1 comments

People kept working, became healthier while on basic income: report (2020)

https://www.cbc.ca/news/canada/hamilton/basic-income-mcmaster-report-1.5485729
142•jszymborski•2h ago•123 comments

Self-taught engineers often outperform (2024)

https://michaelbastos.com/blog/why-self-taught-engineers-often-outperform
145•mbastos•11h ago•117 comments

23andMe is out of bankruptcy. You should still delete your DNA

https://www.washingtonpost.com/technology/2025/07/17/23andme-bankruptcy-privacy/
31•1vuio0pswjnm7•2h ago•5 comments

Show HN: PlutoFilter- A single-header, zero-allocation image filter library in C

https://github.com/sammycage/plutofilter
48•sammycage•3d ago•8 comments

Astronomers Discover Rare Distant Object in Sync with Neptune

https://pweb.cfa.harvard.edu/news/astronomers-discover-rare-distant-object-sync-neptune
5•MaysonL•1h ago•0 comments

Louisiana cancels $3B coastal repair funded by oil spill settlement

https://apnews.com/article/louisiana-coastal-restoration-gulf-oil-spill-affaae2877bf250f636a633a14fbd0c7
14•geox•1h ago•2 comments

Run TypeScript code without worrying about configuration

https://tsx.is/
47•nailer•8h ago•35 comments

Archaeologists discover tomb of first king of Caracol

https://uh.edu/news-events/stories/2025/july/07102025-caracol-chase-discovery-maya-ruler.php
135•divbzero•3d ago•29 comments

Writing a competitive BZip2 encoder in Ada from scratch in a few days (2024)

https://gautiersblog.blogspot.com/2024/11/writing-bzip2-encoder-in-ada-from.html
92•etrez•3d ago•52 comments

Delaunay Mesh Generation (2012)

https://people.eecs.berkeley.edu/~jrs/meshbook.html
11•ibobev•3d ago•5 comments

Game of trees hub

https://gothub.org/
21•todsacerdoti•2d ago•4 comments

Ask HN: What Pocket alternatives did you move to?

52•ahmedfromtunis•5h ago•67 comments

On doing hard things

https://parv.bearblog.dev/kayaking/
223•speckx•3d ago•81 comments

Stone blocks from the Lighthouse of Alexandria recovered from seafloor

https://archaeologymag.com/2025/07/lighthouse-of-alexandria-rises-again/
74•gnabgib•4d ago•13 comments

ICE's Supercharged Facial Recognition App of 200M Images

https://www.404media.co/inside-ices-supercharged-facial-recognition-app-of-200-million-images/
95•joker99•5h ago•41 comments

3D-printed living lung tissue

https://news.ok.ubc.ca/2025/07/15/ubco-researchers-create-3d-printed-living-lung-tissue/
19•gmays•8h ago•7 comments

Show HN: Easy alternative to giflib – header-only decoder in C

https://github.com/Ferki-git-creator/TurboStitchGIF-HeaderOnly-Fast-ZeroAllocation-PlatformIndependent-Embedded-C-GIF-Decoder
15•FerkiHN•13h ago•4 comments
Open in hackernews

Run TypeScript code without worrying about configuration

https://tsx.is/
47•nailer•8h ago

Comments

monarchwadia•6h ago
I do love tsx.
postalrat•6h ago
The JavaScript version can be called jsx.
cacozen•5h ago
The HTML version can be called HTMX
SwiftyBug•4h ago
The Java SE version can be called Java SEX.
spankalee•5h ago
Does this just pass the --experimental-strip-types flag to node?
webstrand•5h ago
Last I knew, it did the transpilation itself so that it could handle module path resolution manually.
basetensucks•5h ago
It does more, it also includes a compatibility layer allowing you to require ESM packages in CJS. It's quite handy!
andrus•5h ago
Don’t recent Node.js releases support this already? require(esm) was back ported to Node.js 20 in February
joshuaturner•4h ago
With node24, no flag needed. These tools are really great and I'm happy to see improvement in the space, but I'm even happier to be able to start getting rid of them with native node improvements.
molszanski•5h ago
I love tsx. Lately I’ve been also using bun for the same purpose.
chmod775•5h ago
That's some terrible naming. Now there's two things "tsx" stands for in the TypeScript ecosystem.
subarctic•4h ago
Yup. But it's useful so I use it
VPenkov•4h ago
Been using tsx for years. This had never occurred to me, but you're right
fjcero•5h ago
Use bun
danscan•4h ago
Came here to say this :)
dimgl•2h ago
Bun is still unstable for me. I’ve had to switch back to Node for several projects and I end up falling back to tsx.
jauco•5h ago
Newer versions of node can run typescript directly[1]. The one where types are simply stripped is considered stable[2] (but you can’t use syntax that node doesn’t understand, such as enums).

They’re working on making features work that require some transpilation as well

[1]: https://nodejs.org/en/learn/typescript/run-natively [2]: https://github.com/nodejs/node/pull/58643

eyelidlessness•3h ago
Completely picking nits: Node doesn’t understand types at all, the distinction is between what TypeScript now calls “erasable syntax”[1] versus syntax excluded by that. The exclusion of enum isn’t likely to affect many projects (because enum has long been panned by most users). Same with namespace. By far the most likely incompatibility is “parameter properties”, ie class fields assigned in the constructor signature.

1: https://www.typescriptlang.org/tsconfig/#erasableSyntaxOnly

alpinisme•3h ago
Some people hate enums but they’re the only easy form of nominal typing in typescript, and for that alone you can pry them from my cold dead hands.
eyelidlessness•3h ago
I agree completely. But I also know I’m in the extreme minority. Now I just use erasable syntax even on my personal projects because it’s less friction. Maybe someday the enum proposal in TC39 will mix this up a bit!
matt_kantor•1h ago
I find that for most of my use cases, branded types[1] are close enough to nominal (especially if you use a private `unique symbol` as the brand).

[1]: https://www.learningtypescript.com/articles/branded-types

goodoldneon•1h ago
Why is nominal typing desirable?
nsonha•32m ago
> enum has long been panned by most users). Same with namespace

Why? Would you would rather do a smurf naming convention than having your consts, DTOs, events, errors and what not neatly organized under the name of the function that uses it?

veidr•3m ago
This is exactly right, and the constructor parameter incompatibility is a big deal. The other two aren't nothing, either, even if enums are generally not the prevailing best practice in most cases.

This is an interesting development, but it's not really "running TypeScript code" its "almost running TypeScript code".

With alternative runtimes like Deno and Bun able to run real TypeScript code (and type check it, lint it, test it, etc) using a slightly watered-down, not-fully-compatible dialect of TypeScript, just so that it can run on Node without a build step, really isn't a very compelling argument.

It'd be different if TypeScript announced "TypeScript will remove these features to work around Node's limitation — compatibility is more important", but they haven't.

(And I wouldn't personally love it if they did. Deno and Bun are ahead of Node on several different axes, and other runtimes are coming, too — if Node can catch up, then great, but if it can't, then it should rightly be left behind.)

There's still no real alternative to Node for many large frontend apps in production, but for a lot of other TypeScript use cases — build tooling, backend APIs, CLI apps, edge functions — modern TypeScript in the Deno/Bun style (ESM, full filename imports, run/typecheck/lint/test with no user-configured build step) has significant benefits.

Both Deno and Bun have extensive — and necessary — backward compatibility shims to enable interoperability with what I've started calling "legacy Node JS/TS". You can use the Node APIs (but should explicitly import those things with "node:" in your import specifier. You can use NPM packages (even CommonJS ones, although Deno prohibits CommonJS in new code, a stricter line than Bun draws).

I don't think using Deno and Bun is a huge bet on those specific (VC-backed) runtimes, either, because there is a shared vision of what "modern TypeScript" looks like, it works with both of those tools, and I think there will be multiple runtimes that support that vision for as long as TypeScript is relevant, even if both Deno and Bun were to go sideways.

Whether Node itself will become one of those modern runtimes is an interesting question. This is a step in that direction, it looks like, but it's still an open question.

theThree•3m ago
It still have issues. Example: `import foo from "./Foo"` doesn't work. You have to `import foo from "./Foo.ts"`
hu3•4h ago
I was curious about how it works.

It seems to be a wrapper for esbuild that transpiles typescript then calls your local node (it doesn't bundle nodejs).

From https://tsx.is/faq :

"tsx: Uses esbuild for fast compilation and does not perform type checking."

From https://tsx.is/node-enhancement :

"Under the hood, tsx calls node. This means the Node.js features supported in tsx depend on the Node.js version you have installed."

lacoolj•4h ago
lol the timing of these two posts (this and https://news.ycombinator.com/item?id=44597966) feel deliberate
cellis•4h ago
It really is the worst name, unsearchable and so overloaded. But it's been an awesome tool. I hope they rename it.
low_tech_punk•3h ago
I don't think it's accurate to say "without worrying about configuration". The next line is more accurate:

> tsx runs your TypeScript code with modern and sensible defaults, making it user-friendly and especially great for beginners.

You'd still have to worry about config if you want to make adjustment and when that happens, the implicit smart defaults become a friction point.

It might also surprise you with errors when you attempt to bundle the code. It'd be nice to have tsx available at runtime so I can run TypeScript code without worrying about the transpiler

nailer•3h ago
> You'd still have to worry about config if you want to make adjustment and when that happens, the implicit smart defaults become a friction point.

In practice (when using tsx and when using a similar prececessor tech, esrun) ES moves forwards, not backwards.

Is your target "supported node.js and current browsers"? Today's tsx defaults work with that. They'll also work with tomorrows node.js and current browsers.

keysdev•3h ago
esno seems a better alternative. esbulit has already solve much of that for devs.
Quarrel•1h ago
esno is now tsx, from their github:

> From v0.15, esno is essentially an alias of tsx, with automated CJS/ESM mode and caching.

and all issues are now filed in the tsx repo.

low_tech_punk•3h ago
To make matters worse, there is actually a third thing named "TSX" gaining traction right now:

https://esm.sh/#tsx

gosukiwi•3h ago
TypeScript is great, the only bad thing is that it can be a pain to get the configuration right
dimgl•2h ago
tsx is such an amazing tool. A couple of years ago I discovered it and abandoned ts-node and all of the alternatives. I still use it today and I was a sponsor for many months.

Thanks again to the author. It has saved me (and my team) dozens of hours. And I was able to replace all of my ESBuild workarounds that I had made to easily run TypeScript. Cheers.