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

Running local models is good now

https://vickiboykis.com/2026/06/15/running-local-models-is-good-now/
310•jfb•2h ago•162 comments

SpaceX to buy Cursor for $60B

https://www.reuters.com/legal/transactional/spacex-buy-anysphere-60-billion-2026-06-16/
315•itsmarcelg•6h ago•617 comments

Mechanical Watch (2022)

https://ciechanow.ski/mechanical-watch/
458•razin•5h ago•86 comments

SubQ 1.1 Small

https://subq.ai/subq-1-1-small-technical-report
54•EDM115•2h ago•22 comments

Correlated randomness in Slay the Spire 2

https://tck.mn/blog/correlated-randomness-sts2/
196•rdmuser•7h ago•61 comments

I admire Fabrice Bellard. He is almost certainly a better overall programmer

https://twitter.com/ID_AA_Carmack/status/2064095424420487226
692•apitman•11h ago•337 comments

But yak shaving is fun

https://parksb.github.io/en/article/32.html
30•parksb•2h ago•4 comments

The time the x86 emulator team found code so bad they fixed it during emulation

https://devblogs.microsoft.com/oldnewthing/20260615-00/?p=112419
436•paulmooreparks•12h ago•137 comments

Making ast.walk 220x Faster

https://reflex.dev/blog/why-ast-walk-when-you-can-ast-sprint/
13•palashawas•25m ago•2 comments

Apple's weird anti-nausea dots cured my car sickness

https://www.theverge.com/tech/942854/apple-vehicle-motion-cues-review-really-work
39•neilfrndes•38m ago•8 comments

An interview with an Apple emoji designer

https://shadycharacters.co.uk/2026/06/ollie-wagner/
57•nate•2d ago•29 comments

Unicorn – The Ultimate CPU Emulator

https://www.unicorn-engine.org/
52•tosh•5h ago•14 comments

Getting Creative with Perlin Noise Fields

https://sighack.com/post/getting-creative-with-perlin-noise-fields
116•0x000xca0xfe•2d ago•20 comments

Feds freaked over Fable 5 after 'fix this code', not jailbreak, say researchers

https://www.theregister.com/security/2026/06/15/feds-freaked-over-fable-5-after-simple-fix-this-c...
430•_tk_•7h ago•265 comments

Banned book library in a wi-fi smart light bulb

https://www.richardosgood.com/posts/banned-book-library/
527•sohkamyung•18h ago•313 comments

4× RTX Pro 6000 Blackwell on Water, and the One Card That Wouldn't Behave

https://sabareesh.com/posts/blackwell-waterblock/
37•sabareesh•3d ago•37 comments

I hacked into the worst e-bike and fixed it [video]

https://www.youtube.com/watch?v=hPrtVGimBYs
153•alexis-d•5d ago•73 comments

GateGPT: 56k tokens per second Transformer (KV cache) on FPGA at 80 MHz

https://twitter.com/fguzmanai/status/2065832668172845209
12•laxmena•38m ago•1 comments

I Fired Google

https://www.theartofdoingstuff.com/i-fired-google/
114•speckx•2h ago•97 comments

Understanding the rationale behind a rule when trying to circumvent it

https://devblogs.microsoft.com/oldnewthing/20260611-00/?p=112415
88•tosh•9h ago•28 comments

Making espresso with ultrasound

https://www.unsw.edu.au/newsroom/news/2026/06/New-way-making-espresso
40•darktoto•7h ago•49 comments

A backdoor in a LinkedIn job offer

https://roman.pt/posts/linkedin-backdoor/
1474•lwhsiao•20h ago•276 comments

The history of butterfly swimming

https://www.swimming.org/sport/history-of-butterfly/
14•mooreds•2d ago•21 comments

Trinket.io shutting down, so we saved it and hosted it a trinket.strivemath.org

https://trinket.strivemath.org/
89•apulkit6•7h ago•11 comments

Google Chrome update will close the door on ad blockers

https://9to5google.com/2026/06/15/google-chromes-next-update-will-mark-the-end-of-popular-ad-bloc...
189•speckx•3h ago•223 comments

I Love the Computer

https://michaelenger.com/blog/i-love-the-computer/
287•speckx•20h ago•156 comments

Qwen-Robot Suite: A Foundation Model Suite for Physical World Intelligence

https://qwen.ai/blog?id=qwen-robotsuite
10•ilreb•3h ago•0 comments

Color Photos of Stalin-Era Soviet Union Taken by a US Diplomat

https://rarehistoricalphotos.com/stalin-era-soviet-union-pictures-martin-manhoff/
120•Cider9986•2d ago•43 comments

Show HN: Garden of Flowers – an archive of pictorial typography before ASCII art

https://garden-of-flowers.heikkilotvonen.com/
122•california-og•12h ago•18 comments

'Wow, it really worked ': 70s TV show causing worldwide panic today

https://www.theguardian.com/tv-and-radio/2026/jun/16/alternative-3-mockumentary-missing-scientist...
69•defrost•3h ago•42 comments