News for hackers. Stuff that matters.

privatenumber

Mozilla has released Readability as a standalone package so you can avoid spinning up a browser entirely: https://github.com/mozilla/readability
tsx v4 was released a couple weeks ago which addressed many incompatibility issues. Hope you have a chance to give it another shot :)
Maintainer of tsx here.

tsx should be able to handle Playwright as of v4+, and hopefully the test coverage you're referring to.

Before, it was compiling ESM syntax to CJS as an effort to ease the ecosystem's CJS -> ESM migration, and hiccuping whenever it encountered `eval()`. Now it includes smarter checks to determine if a file needs to be compiled at all and skips processing most dependencies.

Hope it works well for you!

Re:Slidev – Presentation Slides for Developers on Wednesday May 05, 2021 @02:35PM (#27053874)
Slidev is amazing! It's an alternative to Google Slides/Keynote/Powerpoint, allowing you to code your slides as a website so you have more granular control.

The slides are written in markdown so it's very intuitive and easily maintainable:

```

# Slidev

Hello World

---

# Page 2

Directly use code blocks for highlighting

```ts console.log('Hello, World!') ```

---

# Page 3

...

```

It's also built on top of Vite and Windi CSS so it's blazing fast!

Checkout their beautiful website: https://sli.dev

For the first time, I can't wait to do a slideshow presentation!

----

PS. the author Anthony Fu is an incredibly talented & prolific engineer + designer. He maintains multiple large open source projects and yet somehow managed to deliver this.

More importantly, he's super kind and friendly, and strives to raise other engineers. He's definitely on to big things!

Re:Esbuild 0.9 on Tuesday March 09, 2021 @02:51PM (#26403241)
esbuild has flipped the JS community on its head. Not only as an impressive JS bundler, but through all the next gen tooling esbuild is powering.

For example, you can now speed up your Webpack build with esbuild by replacing babel-loader/ts-loader/Terser: https://github.com/privatenumber/esbuild-loader

(It also blows my mind that Evan is the CTO is Figma. How is he so productive!?)

Re:An Engineer Redesigns the Company Homepage on Thursday March 04, 2021 @11:25PM (#26352681)
Magic!
Re:Show HN: ustaxes.org – open-source tax filing webapp on Monday February 15, 2021 @07:36PM (#26149616)
Filing taxes is a solved problem in many countries so it's very disappointing it's still so difficult to do in the US. I'm glad to see open source engineers taking matters into their own hands to disrupt this corrupt industry.

If milestones and a growth path can be clearly planned and communicated, I think many people would happily chip in to help fund a project like this.

Something like this page would be nice: https://k9mail.app/2021/02/14/K-9-Mail-is-looking-for-fundin...