frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

If Stress Was a Dog

https://herbertlui.net/if-stress-was-a-dog/
1•herbertl•15m ago•0 comments

Is artificial intelligence turning off our minds?

https://english.elpais.com/society/2025-07-17/is-artificial-intelligence-turning-off-our-minds.html
1•pseudolus•15m ago•0 comments

New Weird

https://en.wikipedia.org/wiki/New_weird
2•kimmk•17m ago•0 comments

Upcoming deprecation of GitHub Command Palette feature preview

https://github.blog/changelog/2025-07-15-upcoming-deprecation-of-github-command-palette-feature-preview/
1•asib•18m ago•0 comments

Ask HN: How to isolate a single voice in JavaScript?

1•pas256•25m ago•2 comments

We Built a Conspiracy Mapping Tool Inspired by the Artist Who Had the FBI Knock

https://whalehunting.projectbrazen.com/we-built-a-conspiracy-mapping-tool-inspired-by-the-artist-who-had-the-fbi-knocking/
1•felineflock•27m ago•0 comments

The Interview Question That Tells Me Everything

https://medium.com/@jensenbox/the-interview-question-that-tells-me-everything-1083ac8a35de
1•jensenbox•29m ago•0 comments

Astronomers Discover Rare Distant Object in Sync with Neptune

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

Ask HN: Bad at Interviewing

3•biskquickest•29m ago•1 comments

The Art and Science of Context Engineering for AI Code Reviews

https://www.coderabbit.ai/blog/the-art-and-science-of-context-engineering
1•aravindputrevu•31m ago•0 comments

Show HN: Drag to sort card UI (CodePen demo)

https://codepen.io/turbokit/pen/MYwRrMj
1•turbokit•33m ago•0 comments

Second Me: an open-source prototype where you craft your own AI self

https://github.com/mindverse/Second-Me
2•mountainview•37m ago•0 comments

Energy Efficient Buildings with Walls, Floors and Ceilings Like Elephant Ears

https://drexel.edu/news/archive/2025/July/vascular-building-materials
1•gnabgib•37m ago•0 comments

Hands-On Machine Learning with Scikit-Learn and PyTorch

https://www.oreilly.com/library/view/hands-on-machine-learning/9798341607972/
1•leopoldj•38m ago•0 comments

Meta Hires Two Key Apple AI Experts After Poaching Their Boss

https://www.bloomberg.com/news/articles/2025-07-17/meta-hires-two-key-apple-ai-experts-after-poaching-their-boss
2•mfiguiere•40m ago•0 comments

Lessons I'd Tell My 12-Year-Old Self

https://henriquegodoy.com/blog/reflections
1•henriquegodoy•45m ago•0 comments

Tintin: Why a Belgian Boy Reporter Feels Like He Belongs to the World

https://medium.com/@jessenazario/tintin-why-a-belgian-boy-reporter-feels-like-he-belongs-to-the-world-0bd579443420
2•thunderbong•50m ago•0 comments

Lina Khan explains the FTC to Twitch streamers [video]

https://www.youtube.com/watch?v=sVayhzmuSFE
2•momojo•50m ago•0 comments

Beware of 'Swiper,' a Fox at Grand Teton Park with a Penchant for Footwear

https://www.nytimes.com/2025/07/17/us/beware-of-swiper-a-fox-at-grand-teton-park-with-a-penchant-for-footwear.html
6•JumpCrisscross•51m ago•1 comments

Iceberg, the Right Idea – The Wrong Spec – Part 2 of 2: The Spec

https://database-doctor.com/posts/iceberg-is-wrong-2.html
1•karsinkk•51m ago•0 comments

My favorite use-case for AI is writing logs

https://newsletter.vickiboykis.com/archive/my-favorite-use-case-for-ai-is-writing-logs/
16•todsacerdoti•52m ago•2 comments

Replacing bread with oat β-glucan bread fails to lower diabetes risk markers

https://medicalxpress.com/news/2025-06-daily-bread-oat-glucan-key.html
2•PaulHoule•53m ago•0 comments

Reducing the Cybersecurity Risks of Portable Storage Media in OT Environments [pdf]

https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.1334.ipd.pdf
1•gnabgib•53m ago•0 comments

GitHub abused to distribute payloads on behalf of malware-as-a-service

https://arstechnica.com/security/2025/07/malware-as-a-service-caught-using-github-to-distribute-its-payloads/
2•coloneltcb•55m ago•0 comments

Created a Jeopardy trainer using archived questions

https://github.com/ammiranda/jeopardy_archive_trainer
3•ammiranda•56m ago•1 comments

I want to help automate your business insights

https://www.trynexus.io/
1•nikpil•1h ago•1 comments

Humans used to have straighter teeth – what changed?

https://www.nationalgeographic.com/health/article/crooked-teeth-human-evolution-jaw-size
1•bookofjoe•1h ago•1 comments

The Silicon Valley push to breed super-babies

https://www.washingtonpost.com/technology/2025/07/16/orchid-polygenic-screening-embryos-fertility/
2•pabs3•1h ago•2 comments

Running NetBSD on my Amiga 4000

http://sandervanderburg.blogspot.com/2025/02/running-netbsd-on-my-amiga-4000.html
4•doener•1h ago•1 comments

Running Linux on my Amiga 4000

http://sandervanderburg.blogspot.com/2025/01/running-linux-on-my-amiga-4000.html
3•doener•1h ago•0 comments
Open in hackernews

Running TypeScript Natively in Node.js

https://nodejs.org/en/learn/typescript/run-natively
45•jauco•3h ago

Comments

gabrielsroka•3h ago
See also from 6 months ago https://news.ycombinator.com/item?id=42630790
jadbox•3h ago
This is great to finally see get added. I wonder why they decided to build their own type stripper instead of just bundling tsc/swc. It feels like Node.js is going to be plagued with bugs whenever TypeScript adds new type constructs, which may take months to get patched.
Eric_WVGG•3h ago
Would it be possible for the maintainers of Typescript to provide an official stripper that could be deployed alongside new versions of Typescript, and then snapped in?
yladiz•2h ago
I'm not certain but I would be surprised if the TS and Node devs didn't discuss the functionality that's in Node now, since TS must have some definition of what an erasable type is (or rather, what few features aren't erasable, like enums), since the corresponding --erasableSyntaxOnly flag in TS was probably made specifically because of Node.
mosdl•2h ago
Its just stripping types, so new constructs should not matter - there is no parsing.
eyelidlessness•2h ago
It uses swc under the hood.
Normal_gaussian•3h ago
Whilst I use an esbuild based build pipeline to produce production artifacts, I've found that the combination of native type transformation and node:test improvements is now sufficient to do away with most test frameworks.

My nodejs projects have tests that run faster and have fewer breaking dependencies.

The two things I have to do are to always annotate type imports with type (I have a script for that), and to use file extensions on imports.

steve_adams_86•2h ago
I don't mean this rhetorically, but what are the benefits of using node over something like deno now? It has been so long since I lived in the node ecosystem. I imagine it has gotten quite a bit better. Is the main benefit just ecosystem/compatibility stuff? Deno sometimes has some odd compatibility issues, but not often. The low-overhead, sane defaults, just-build kind of nature of it has become very appealing to me. Being able to build CLIs in portable binaries using a language my coworkers understand is really nice (despite that they're like 60mb, haha). I prefer Go personally, but ultimately prefer being able to collaborate.
reactordev•2h ago
It’s purely ecosystem at this point. Deno, Bun, any runtime is more modern. It’s nice they are catching up but by the time typescript is a native citizen in node, others may take the crown. The codebase is ooof.

That said, there’s something to be said about being the first mover and having the ecosystem so node isn’t going away anytime soon, nor is the npm/npx ecosystem.

Go has the ability to, with a goja fork [1], to execute ESM but you would still need to transpile using another go tool to run it. I have such a runtime but it’s nowhere near as fast as bun or deno. I use it mainly so I can have agents do my local bidding.

[1] https://github.com/grafana/sobek

leptons•1h ago
>It’s purely ecosystem at this point.

Definitely not just about ecosystem.

When AWS Lambda supports Deno, then maybe someday further down the line, I might think about trying it once for something unimportant. If that goes well, then we'll see.

reactordev•1h ago
AWS Lambda supports custom runtimes so you can roll your own. All you need is a container.

https://gist.github.com/begoon/993e29f5cf9a384b9e0e96e70a71b...

But for ts/js land, lambda is node unless you want to build your own containers.

ChrisArchitect•2h ago
News from January https://nodejs.org/en/blog/release/v23.6.0
russellbeattie•2h ago
I honestly wish Microsoft and TypeScript enthusiasts would transform it into an official standalone language and stop polluting the JavaScript ecosystem.

Like C++, it could be a true superset of JS, importing JS code freely into TypeScript projects. It would also allow TypeScript to do whatever it wanted and not have to worry about transpilation. If it needs to work in the browser, it can be bundled into web assembly.

wrs•1h ago
This is a mischaracterization of TypeScript. Unlike the relationship of C++ to C, TS is explicitly not a separate language from JS, and introduces no new capabilities. There’s no engine that executes TypeScript. It doesn’t do anything (*) that JavaScript doesn’t do. It just layers a type system onto JavaScript so you can tell when your JS code doesn’t make sense.

(*) with small exceptions like enums, which some think were a mistake for that reason

Sacro•1h ago
C++ isn't a superset of JS, nor is it a superset of C
jasonthorsness•1h ago
How does it pollute? Hasn't the presence of TypeScript pushed a lot of awesome features back into the later versions of JavaScript?
jinushaun•1h ago
There is no pollution. Typescript is a strict super set. I always joke that Typescript is JavaScript code mixed with compiler instructions. The type annotations are not code.