frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Building my npx business card

https://ashley.dev/posts/turning-feedback-into-features/
8•edent•1y ago

Comments

steele•1y ago
Ooh, free real estate, let's colonize and gentrify package management
aabhay•1y ago
Lmao, gentrify cracked me up
neilv•1y ago
Do these npx business cards run arbitrary code on your computer?
cypherpunks01•1y ago
npx

Run a command from a local or remote npm package

Description

This command allows you to run an arbitrary command from an npm package (either one installed locally, or fetched remotely), in a similar context as running it via npm run.

neilv•1y ago
Yes, then is a "command from an npm package" arbitrary code?

And what is this "similar context as running it via npm run"?

Would it be better to answer the question directly?

joshka•1y ago
Yeah, this seems like a very smart but inherently flawed idea.
cypherpunks01•1y ago
Yes I agree! OSS package management ecosystems are a great idea, but allowing submissions without any review or vetting is just asking for supply chain attacks.
Xss3•1y ago
May as well just release an executable tbh.
theamk•1y ago
Reminds me of JAPH [0] - a tiny Perl program that was used in email/newsgroup signature to give it personal touch.

[0] https://www.perlmonks.org/?node_id=412464

watusername•1y ago
Terminal business cards are a nice idea, but RCE business cards are just asking for trouble. Instead of npx, what happened to good'ol curl? Something like

$ curl ashley.dev

Some decades ago, we had finger (https://en.wikipedia.org/wiki/Finger_%28protocol%29) which is designed for this very use case. Sadly it's no longer installed by default with most distros:

$ finger @ashley.dev

queezey•1y ago
This would be a great advertisement for security consulting.

"I was just able to run arbitrary code on your computer. Here is a sample of your recent browser history. Let me tell you help you mitigate your security vulnerabilities."

Flux 3

https://bfl.ai/blog/flux-3
90•ThouYS•1h ago•16 comments

The PImpl idiom and the C++26 std:indirect type

https://mariusbancila.ro/blog/2026/07/23/the-pimpl-idiom-and-the-cpp26-stdindirect-type/
9•signa11•25m ago•2 comments

Writing by hand is good for your brain

https://nealstephenson.substack.com/p/writing-by-hand-is-good-for-your
1228•dwwoelfel•17h ago•558 comments

Show HN: Echo – Fable-level results at 1/3 the cost using open-weight models

356•adam_rida•12h ago•169 comments

The Beam Engine

https://glinscott.github.io/beam-engine/
304•glinscott•1d ago•72 comments

Startup founders urge U.S. government not to shut off Chinese open weight AI

https://www.politico.com/news/2026/07/22/startup-founders-urge-trump-not-to-shut-off-chinese-open...
873•theanonymousone•16h ago•746 comments

What happened to TheNumbers.com

https://stephenfollows.com/p/what-just-happened-to-thenumberscom-should-worry-us-all
356•nickthegreek•14h ago•157 comments

Why Software Factories Fail (or: harness engineering is not enough)

https://github.com/humanlayer/advanced-context-engineering-for-coding-agents/blob/main/wsff.md
281•dhorthy•16h ago•203 comments

Quickly rewrite Git repository history

https://github.com/newren/git-filter-repo
26•modinfo•3d ago•0 comments

What else do people draw on gradient.horse?

https://rybakov.com/blog/what_else_do_people_draw_on_gradient-copy.horse/
114•spython•5d ago•18 comments

98.css

https://jdan.github.io/98.css/#status-bar
434•lopespm•8h ago•105 comments

Learn OpenGL, extensive tutorial resource for learning Modern OpenGL

https://learnopengl.com/
227•ibobev•16h ago•114 comments

Software rendering in 500 lines of bare C++

https://haqr.eu/tinyrenderer/
274•mpweiher•17h ago•60 comments

DARPA, U.S. Air Force fly AI-controlled F-16

https://www.darpa.mil/news/2026/darpa-us-air-force-fly-ai-controlled-f-16
225•r2sk5t•17h ago•249 comments

I regret migrating to Codeberg

https://xn--gckvb8fzb.com/i-regret-migrating-to-codeberg/
225•boramalper•17h ago•127 comments

Building on ATProto

https://lukekanies.com/writing/building-on-atproto/
151•speckx•13h ago•77 comments

Show HN: Palmier Pro – Open-source macOS video editor built for AI

https://github.com/palmier-io/palmier-pro
144•harrisontin•16h ago•23 comments

Why Sony can't bring back its classic Walkman models

https://obsoletesony.substack.com/p/why-sony-cant-bring-back-classic-walkman
89•speckx•13h ago•76 comments

Astronomers may have found the first exomoon

https://www.eso.org/public/news/eso2610/
212•MarcoDewey•17h ago•80 comments

Fields Medals 2026

https://www.mathunion.org/imu-awards/fields-medal/fields-medals-2026
165•nill0•17h ago•87 comments

OpenAI’s accidental attack against Hugging Face is science fiction that happened

https://simonwillison.net/2026/Jul/22/openai-cyberattack/
488•abhisek•1d ago•376 comments

Freeze-Casting

https://en.wikipedia.org/wiki/Freeze-casting
23•soupspaces•4d ago•5 comments

Launch HN: Screenpipe (YC S26) – Record how you work and turn that into agents

73•louis030195•14h ago•53 comments

The Visual 6502

http://visual6502.org/JSSim/index.html
84•infiniteregrets•7h ago•22 comments

The arguments against open source AI are bad

https://tombedor.dev/arguments-against-open-source-ai-are-very-bad/
264•jjfoooo4•14h ago•177 comments

A solid-state “atomic channel” for separating rare earth elements

https://pme.uchicago.edu/news-events/news/cleaner-route-purifying-rare-earth-elements
87•MarcoDewey•13h ago•23 comments

Show HN: OneCLI – OSS credential gateway that keeps secrets out of AI agents

https://github.com/onecli/onecli
92•Jonathanfishner•15h ago•29 comments

Mourning Dan Williams

https://lwn.net/Articles/1084545/
65•speckx•11h ago•1 comments

Visualizing the Artemis II Mission

https://foxglove.dev/blog/visualizing-the-artemis-ii-mission
4•msadowski•3d ago•0 comments

Couple pay >$800k for a gene-editing therapy for their daughter. She died.

https://www.science.org/content/article/exclusive-death-girl-chinese-gene-editing-trial-was-never...
322•Shortness8•10h ago•183 comments