HNHacker News
TopNewBestAskShowJobs

stevenpetryk

979 karma · joined July 23, 2015

Creator of Mafs [1], a React math visualization library.

[1]: https://mafs.dev

submissionscomments
stevenpetryk··on Pi Chess Board
I’ve always wanted to try making a smart chess board (with no moving parts; merely detecting moves rather than making them).

I’ve thought of:

- RFID. Have 64 antennas and multiplex them to detect which piece is on which square (idk much about RF so this felt tough)

- Vision with a fiduciary mark under each piece, and an acrylic board

- Hall effect sensors, where instead of knowing which piece is which, it instead assumes the normal starting position and pays attention to which square was picked up from and which square was placed onto to infer which piece moved.

I think with any of these approaches it’d be fun to make a tiny, single-PCB board.

stevenpetryk··on How I animate 3Blue1Brown [video]
I'm quite certain the typeface is Computer Modern (the primary font being CMU Serif, to be precise). It can be found by Googling it. I also distribute the fonts as an NPM library, since they are OFL. [1]

[1]: https://github.com/stevenpetryk/computer-modern

stevenpetryk··on Show HN: Infinity – Realistic AI characters that can speak
That would be ironic given how Drake famously performed alongside an AI recreation of Pac.
stevenpetryk··on Show HN: Infinity – Realistic AI characters that can speak
My happy millennial take is that browsers have made strides in performance and flexibility, and people are utilizing that to build more complex and dynamic websites.

Simplicity and stillness can be beautiful, and so can animations. Enjoying smooth animations and colorful content isn’t brain rot imo.

stevenpetryk··on AirTags key to discovery of Houston's plastic recycling deception
Apple’s like “oops, sorry we made 4 billion lightning cables that don’t work with new phones now!”
stevenpetryk··on Three questions to turn the table during technical interviews
I suspect most don’t believe it, and in general it’s wise to remain suspicious. But I’ll continue to reassure nonetheless.
stevenpetryk··on Three questions to turn the table during technical interviews
Yeah. When I’m interviewing folks at my current company, and the Q&A portion begins, I tell them they can ask whatever they want or just reclaim the time; my notes are sealed. More interviewers should operate like that.
stevenpetryk··on Speeding up the JavaScript ecosystem – Isolated Declarations
That can be nice, but do keep in mind that shipping more files leads to a larger tarball downloaded from npm.
stevenpetryk··on Speeding up the JavaScript ecosystem – Isolated Declarations
I believe the intention behind isolatedModules is to make compilation faster by forcing you to define types that require no inference from other files (thus, being isolated).

Not… whatever this is.

stevenpetryk··on Polyfill supply chain attack hits 100K+ sites
Subresource integrity wouldn't work with Polyfill.io scripts, since they dynamically changed based on user agent.
stevenpetryk··on Ball: A ball that lives in your dock
There is something kind of similar as a VS Code extension:

https://marketplace.visualstudio.com/items?itemName=tonybalo...

stevenpetryk··on Interview with Senior JavaScript Developer 2024 [video]
Canvas is a blank slate to screen readers though.
stevenpetryk··on A random dungeon generator that fits on a business card (2019)
probably fun
stevenpetryk··on Study Finds Microplastics in Nearly 90% of Proteins Sampled
Feels truly irreversible, save moving to a new earth.
stevenpetryk··on The New York Times Launches a Strong Case Against Microsoft and OpenAI
I think it would lead to China surpassing the US in terms of AI tech pretty quickly. The US is actively trying to prevent that outcome already using sanctions on chip manufacturing equipment and IP.
stevenpetryk··on What it will take to unleash the potential of geothermal power? (2021)
Apparently it could actually be beneficial to cool Yellowstone and prevent it from becoming active again.
stevenpetryk··on Email addresses are not good 'permanent' identifiers for accounts
that makes sense
stevenpetryk··on Injection of "smart insulin" regulates blood glucose levels for one week
I would recommend spending 5 seconds or more researching Type I diabetes.
stevenpetryk··on Off-duty pilot allegedly tried to shut off engines on Alaska Airlines flight
"ex nihilo" means "outta nowhere" for the normies like me.
stevenpetryk··on Equifax scores £11.1M slap on wrist over 2017 mega breach
I'm sure they do get sued. There are credit attorneys.
stevenpetryk··on Discord as a filehost will no longer be possible by the end of the year
Oh come on. Guy is sometimes gender neutral, but is overwhelmingly often not.
stevenpetryk··on Is an All-Meat Diet What Nature Intended?
It's not really surprising that evidence points to ancient humans eating more plants. It'd be ridiculously energy-intensive to have to hunt down every meal.
stevenpetryk··on Weight-based motor vehicle tax
What's interesting is that road wear is proportional to the FOURTH POWER (!!) of axle weight[1]. If it were taxed accordingly the taxes would be extremely different for personal cars versus 18-wheelers.

1: https://pavementinteractive.org/reference-desk/design/design...

stevenpetryk··on Japanese biomass venture using microorganisms to tackle waste disposal
ticks are arachnids, not insects :)
stevenpetryk··on SBF’s legal defense is being funded with Alameda money he gave his father
Gifting is a subset of giving.
stevenpetryk··on Launch HN: Electric Air (YC W23) – Heat pump sold directly to homeowners
Or the company could at least leave it easy to hack :)
stevenpetryk··on Denver’s e-bike subsidy program produced more new riders, fewer car trips
Insurance is pretty cheap though. My ~$2.5k e-bike's insurance for no-questions-asked replacement in the case of theft is $12/month. Probably higher in high-crime areas but still, nothing compared to auto insurance.
stevenpetryk··on Show HN: Mafs – React components for interactive math
Yeah, you found some jank.
stevenpetryk··on Show HN: Mafs – React components for interactive math
No, Mafs prioritizes interactivity, not sequenced animations.

I would expect explainers using Mafs would be something like this page[1] where there are many interactive visualizations at various levels of abstraction as concepts are elucidated.

[1]: https://ciechanow.ski/mechanical-watch/

stevenpetryk··on Show HN: Mafs – React components for interactive math
It might work better in terms of bandwidth/performance, but developer experience was a priority (for myself) for me in this case.
← PreviousPage 2 of 5Next →