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."

My server is a phone now

https://seg6.space/posts/phone-server/
177•seg6•5h ago•74 comments

Os8088: A powerful Mac-like OS for the IBM XT, 286, 386

https://os8088.com/
89•jggonz•4h ago•35 comments

Improving Heuristics for A* Pathfinding

https://www.redblobgames.com/pathfinding/heuristics/differential.html
120•bobbiechen•1w ago•15 comments

Fastmail offers EU data region

https://www.fastmail.com/blog/fastmail-offers-eu-data-region/
346•groomlake•12h ago•174 comments

Shopify replaced Redis with MySQL for inventory reservations–and it scaled

https://shopify.engineering/scaling-inventory-reservations
94•adletbalzhanov•5h ago•53 comments

Dithered QR Codes

https://www.andrewt.net/dithered-qr-codes/wtf/
76•jmusall•5h ago•11 comments

Unexpected events and prosocial behavior: the Batman effect

https://www.nature.com/articles/s44184-025-00171-5
26•davidbarker•6d ago•0 comments

_for-sale DNS records

https://specification.website/spec/foundations/for-sale-dns/
367•shaunpud•14h ago•135 comments

Open-source interactive map for the Aug 12 total solar eclipse

https://eclipsefan.org/?v=2&t=max&layers=eclipse%2Cbesselian%2Cumbra-live%2Cshadow-3d%2Ccloud-pro...
104•MarcoDewey•8h ago•22 comments

Making difficulty curves in games

http://www.davetech.co.uk/difficultycurves
77•hakkikonu•3d ago•30 comments

The phone book that led us to Assad's spy chief in hiding

https://www.bbc.com/news/articles/c4gyrzn8p94o
29•cwwc•2h ago•11 comments

Incentives Are for Losers

https://www.experimental-history.com/p/incentives-are-for-losers
10•bkudria•2h ago•0 comments

Timeline of the OpenAI accidental attack against Hugging Face

https://simonwillison.net/2026/Aug/7/openai-timeline/
370•882542F3884314B•17h ago•360 comments

The Sound and Music of 'Hyper Light Drifter' [video]

https://gdcvault.com/play/1024135/The-Sound-and-Music-of
33•hyperific•3d ago•6 comments

US Military's cyber command unit grapples with cluster of deaths by suicide

https://www.bloomberg.com/news/articles/2026-08-06/us-military-s-cyber-command-unit-grapples-with...
268•rbanffy•18h ago•420 comments

Triton: DirectX 11 Driver for QEMU

https://blog.getutm.app/2026/introducing-triton-directx-11-driver-for-qemu/
148•electricant•14h ago•28 comments

TheoremDB · A public workspace for machine mathematics

https://theoremdb.org/
10•frozenseven•3h ago•0 comments

Building a local positioning system to track runners using Ultra-Wideband

https://zeus.ugent.be/blog/25-26/12urenloop-uwb/
53•robinpdev•1w ago•3 comments

Retraction: The App Store Rejection of the Week That Was a Correct Rejection

https://daringfireball.net/2026/08/retraction_app_store_rejection_of_the_week
23•minimaxir•1h ago•1 comments

Fixing my tooltip accessibility mistake

https://jakearchibald.com/2026/my-tooltip-a11y-mistake/
9•robin_reala•1w ago•1 comments

Can Intel finally beat ARM on performance per Watt?

https://hackaday.com/2026/08/08/want-energy-efficiency-dude-youre-getting-a-dell/
177•gumby•12h ago•135 comments

Preventing Misfolding by Preventing Folding

https://www.science.org/content/blog-post/preventing-misfolding-preventing-folding
50•surprisetalk•4d ago•3 comments

Lost my phone at the office. Claude suggested tracking Bluetooth signal strength

https://twitter.com/un1c0rnioz/status/2084686552299634805
241•ilamont•1d ago•178 comments

ChatGPT starts blocking direct requests to copy an author's style

https://arstechnica.com/ai/2026/07/chatgpt-stops-cloning-famous-writers-voices-but-may-capture-a-...
20•Eloissssss•2h ago•11 comments

When Feature Flags Do and Don't Make Sense

https://software.rajivprab.com/2019/12/19/when-feature-flags-do-and-dont-make-sense/
12•whack•5d ago•8 comments

DDisasm: Reversible (bi-directional) Disassembler

https://github.com/GrammaTech/ddisasm
27•aboardRat4•6d ago•5 comments

“Code was never the hard part” is an insult to all programmers

https://blog.senko.net/code-was-never-the-hard-part-is-an-insult-to-all-programmers
624•senko•13h ago•394 comments

Danish high schoolers will have to verbally defend written assignments

https://mezha.net/eng/bukvy/ca117584_denmark_requires_oral/
535•theanonymousone•10h ago•248 comments

Melatonin impairs morning cognition in healthy young adults

https://academic.oup.com/sleep/article/46/Supplement_1/A34/7181621
7•bohaska•3h ago•0 comments

Gateway 2000's hilariously bad ads in the 90s (Part II)

https://buttondown.com/suchbadtechads/archive/gateway-2000-part-2/
109•rfarley04•15h ago•89 comments