News for hackers. Stuff that matters.

GoodluckH

Re:Lessons Learned Shipping 500 Units of My First Hardware Product on Wednesday February 04, 2026 @11:26AM (#46887831)
I’m also a software engineer running a hardware e-commerce business on the side. The hardest lesson for me was unlearning 'logic' in favor of psychology.

I recently ran an experiment where I increased prices by 50%, and sales volume actually went up. It’s wild how much copy and creative assets can alter perceived value, allowing you to justify a higher price point for the exact same physical product

Show HN: Get your fitness age based on your VO2 Max

https://www.vo2maxpro.com/#calculator

I built this because I realized the 'VO2 Max' number in Apple Health doesn't tell you much without context.I implemented the HUNT Linear algorithm (based on 55k participants) in a Next.js app to map raw VO2 max numbers to a 'Biological Age'.I also added a /llms.txt endpoint so you can curl the documentation or let ChatGPT read the normative data tables directly without hallucinating.It's a free...

( Read More... | no comments | on HN )
Re:Show HN: Click counter using iPhone volume buttons on Friday July 12, 2024 @05:56PM (#40949805)
yep that's the beauty of developing for the ios ecosystem. apple made it a high trust environment for users to try out different things by making it very safe and sandboxed
Re:Show HN: Click counter using iPhone volume buttons on Friday July 12, 2024 @05:21PM (#40949558)
KNOWN ISSUES SO FAR - counts more than one every time volume button is clicked (fixed in new build, waiting for review)

- crashes if you hold one of the volume buttons for long

JUST LEARNED THIS... Apparently, Apple prohibits apps from altering hardware functions like volume buttons. So, that likely means this app won't get published on App Store.

But it's been fun to learn Swift and Objective-C from building this simple app.

If I want this to be released, I would need to remove the volume button control and only support swipe gestures.

I can also make this open-source if you are interested in learning how it works.

Lemme know what you think.

Re:Show HN: Click counter using iPhone volume buttons on Friday July 12, 2024 @05:04PM (#40949435)
it's a testflight app i built for fun but apparently it might not be able to pass the apple review for production release (i just learned this 2 seconds ago)
Re:Show HN: Click counter using iPhone volume buttons on Friday July 12, 2024 @05:03PM (#40949426)
oh damn i wasn't aware of this given that Apple's native camera app can use volume button to take pics
Re:Show HN: Click counter using iPhone volume buttons on Friday July 12, 2024 @05:00PM (#40949398)
thanks for trying it out!

this is a commonly reported bug that wasn't able to spot when in development mode.

i think the issue is that i might have attached the volume-button handler multiple times, so that each time you click on the volume button, those duplicated handlers all emit events.

pushed out a small fix currently under apple's review

I built this simple tool to nudge me to blink more often because my eye-sight deteriorated fast soon after I started learning to code.

Help needed:

currently I'm only using color change to nudge users to blink more. I don't have any biology background but there should be more effective ways. Love to brainstorm together.

Repo is here: https://github.com/GoodluckH/blink-more

Older »