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

There Are Magic Hexagons of Every Order

https://gukov.dev/math/2026/08/02/new-magic-hexagons.html
34•gukoff•3h ago•4 comments

Microsoft Word for Windows 1.1a, Native X64 Port

https://github.com/jmarshall23/msword
81•BruceEel•5h ago•30 comments

My server is a phone now

https://seg6.space/posts/phone-server/
339•seg6•11h ago•135 comments

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

https://os8088.com/
179•jggonz•11h ago•95 comments

Improving Heuristics for A* Pathfinding

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

The Alpha 21264 CPU: NT's Greatest RISC (1998)

https://halfhill.com/byte/1998-12_alpha.html
3•Lammy•41m ago•0 comments

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

https://shopify.engineering/scaling-inventory-reservations
212•adletbalzhanov•12h ago•125 comments

Fastmail offers EU data region

https://www.fastmail.com/blog/fastmail-offers-eu-data-region/
424•groomlake•18h ago•223 comments

Dithered QR Codes

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

The Grid That Doubles the Strength of the Ground

https://practical.engineering/blog/2026/8/4/the-grid-that-doubles-the-strength-of-the-ground
17•michaefe•4d ago•3 comments

Melatonin impairs morning cognition in healthy young adults (2023)

https://academic.oup.com/sleep/article/46/Supplement_1/A34/7181621
131•bohaska•9h ago•110 comments

The original URL for this prediction will no longer be available in 11 years (2011)

http://longbets.org/601/
148•doubletwoyou•6h ago•67 comments

Protopia

https://kevinkelly.substack.com/p/protopia
16•surprisetalk•4d ago•8 comments

Stylized GGX Shading

https://alexandrelamure.github.io/graphics-posts/stylized-ggx-shading.html
27•ibobev•4d ago•0 comments

_for-sale DNS records

https://specification.website/spec/foundations/for-sale-dns/
400•shaunpud•21h ago•156 comments

Unexpected events and prosocial behavior: the Batman effect (2025)

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

How to Survive in a Louisiana Swamp

https://unherd.com/2026/08/how-to-survive-on-a-louisiana-swamp/
4•bookofjoe•3d ago•0 comments

Making difficulty curves in games

http://www.davetech.co.uk/difficultycurves
121•hakkikonu•4d ago•48 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...
151•MarcoDewey•15h ago•39 comments

TheoremDB – A public workspace for machine mathematics

https://theoremdb.org/
42•frozenseven•9h ago•2 comments

Should you stop cracking your knuckles?

https://www.bbc.com/future/article/20260807-should-i-stop-cracking-my-knuckles
62•tchalla•12h ago•67 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
199•minimaxir•7h ago•20 comments

Software Giant SAP Stops Most Travel and Hiring Because of AI's Soaring Cost

https://www.404media.co/software-giant-sap-stops-most-travel-and-hiring-because-of-ais-soaring-cost/
30•theanonymousone•2h ago•8 comments

Why MySpace fans want it back as relaunch hinted

https://www.bbc.com/news/articles/c4g64152v71o
14•1659447091•6h ago•5 comments

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

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

Triton: DirectX 11 Driver for QEMU

https://blog.getutm.app/2026/introducing-triton-directx-11-driver-for-qemu/
185•electricant•21h ago•39 comments

Assert(): A Modern How To

https://fiberfs.io/blog/assert_a_modern_how_to
11•nyc_pizzadev•5d ago•15 comments

Fixing my tooltip accessibility mistake

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

Finding zombies in our systems: A real-world story of CPU bottlenecks

https://medium.com/pinterest-engineering/finding-zombies-in-our-systems-a-real-world-story-of-cpu...
52•fagnerbrack•6d ago•9 comments

Message your other Claude Code sessions

https://code.claude.com/docs/en/cross-session-messaging
134•mfiguiere•19h ago•54 comments