Better HN
topnewbestaskshowjobs
Log inSign up

the42thdoctor

77 karma · joined Dec 27, 2019 (6y ago) · 37 submissions

Submissions

comment 1w ago · link · parent

Why that hasn’t been done yet then? Anthropic knew there would be backlash about humans not understanding it, so why not release several “explainer” papers produced by AI together with the “proof”

comment 7mo ago · link · parent

This reminds me of the speech to text API, which already uses AI and is available on almost all browsers. So there's already precedent.

But most importantly this would enable us to finally write JavaScript like this:

const a = prompt("how much is 31c in Fahrenheit")

The future looks bright!

comment 9mo ago · link · parent

I’ve always been an expert at negotiating with myself to skip a workout. To fix this, I built FitVow: a system where I lock real money into a smart contract, and if I miss my weekly goals, I get fined.

The engineering challenge was: How do I prevent my future, lazy self from lying to the contract?

I tried to solve this by anchoring trust in three places:

1. Hardware-backed Proofs: The Android app reads from Health Connect (Galaxy Watch data) and signs a summary using a non-exportable key in the phone's TEE (Trusted Execution Environment). The smart contract verifies this signature on-chain.

2. Amnesiac APK Signing: To prevent myself from just "updating" the app to a version that fakes data, I sign the release with an ephemeral key and permanently delete the keystore. Since Android identity is tied to the signing key, I can’t overwrite the app without losing the hardware keys, which triggers an expensive on-chain penalty.

3. Permissionless Enforcement: The contract is "ownerless" regarding enforcement. If I fail a week, anyone can trigger the penalty function. The enforcer gets a small bounty, and the rest goes to charity (Giveth).

This is currently a 12-week experiment with ~$235 at stake. It’s not a product—it's a system design puzzle to see if I can make cheating more effort than just doing the workout.

Live Dashboard: http://fitvow.pedroaugusto.dev/

Source Code: https://github.com/pedrooaugusto/fitness-unbreakable-vow/

I’d love to hear your thoughts on the security model—especially how you’d try to 'break' the vow without actually exercising.

4.

Show HN: Making missed workouts cost money with Android TEE and smart contracts(pedrooaugusto.github.io ↗)

2 points · by the42thdoctor · 9mo ago · 1 comment

comment 10mo ago · link · parent

Author here: I built this because I kept finding ways to “renegotiate with myself” on weeks I didn’t feel like training. I wanted a commitment device with real consequences and no trusted referee — just code and incentives.

Write-up / architecture / threat model:

https://pedrooaugusto.github.io/blog/posts/making-missed-wor...

Current run parameters:

- Network: Arbitrum (Ethereum L2)

- Duration: 12 weeks (Jan 19 → Apr 13)

- Total stake: ~$235 (0.075 ETH)

- Penalty per failed week: ~$19 (0.00625 ETH)

How enforcement works:

- If a week fails, anyone can call enforceAgreement() and receive a share of the penalty; the rest goes to the Giveth charity.

- There’s also a Chainlink Automation backstop so “nobody enforced” can’t become an escape hatch. If automation is the first to enforce a missed week, there’s no caller to reward, so 100% of the fine goes to Giveth.

I’d love feedback on:

1) where you’d try to cheat this,

2) what would make it more verifiable/auditable to you.

6.

Show HN: FitVow – a smart contract that fines me if I miss weekly fitness goals(fitvow.pedroaugusto.dev ↗)

1 points · by the42thdoctor · 10mo ago · 1 comment

comment 2y ago · link · parent

That was my cue to check hacker news

comment 3y ago · link · parent

There, even better: 21/11/2021

comment 3y ago · link · parent

So is this gonna kill apps like CashApp and Venmo ?

comment 3y ago · link · parent

I think he was trying to say that the Frontend of the Twitter timeline is not aware of the new request limit, and when that limit is reached it just retries the request, as it would in a normal network error, and keeps in retrying resulting on DDOS.

But I don't believe on that because Twitter is a billion dollar company and that kind of mistake is dumb. So idk.

comment 3y ago · link · parent

Can't wait for the GPT integration with GitHub and start programming like Tony Stark

comment 3y ago · link · parent

If not for the wonderful product itself, take my upvote for the "hire" page. It's the first time I see a company presenting a formula where you can input your data and figure out how much you would get paid. Nice!

> https://tabbyml.notion.site/Compensation-Sheet-ad61218889ab4...

comment 3y ago · link · parent

Great game, why can't it go on all directions ? lef, right, down AND UP ?

comment 3y ago · link · parent

Oh no! I was working on my side project; about to test the integration with Azure Computer Vision and this happened. Since I have no idea how to deploy my code to Azure without GitHub Actions and don't have the time to learn I will call it the day and see it tomorrow.

comment 3y ago · link · parent

For paying the people that create the content on which this thing if built on top of they could implement the YouTube premium model.

Whenever ChatGPT uses something you wrote to answer a query they give you some cents based on how much content was stolen from you.

This would also encourage people to write more...

comment 3y ago · link · parent

My biggest fear with TS is people forgeting why TS exist in the first place and stop trying to solve the problem TS solves because it's already solved. It's not solved, TS is by far the best option, but its far from being ideal. Deno coming out of the box with TypeScript support and the JavaScript Type Annotations Proposal [1] gives me faith that we will grow past TS.

[1] https://github.com/tc39/proposal-type-annotations

comment 3y ago · link · parent

From what I have gathered anime porn. This reminds me the day I wanted to include a painting, The Birth of Venus by Bouguereau [where Venus is nude], in the release notes and wondered if I could get banned for it.

comment 4y ago · link · parent

I have heard about in this thread genuinely interested. Specially if it's included in YouTube Premium.

In fact, they could release Google Prime and give us a lot of free products for a reasonable price .

comment 4y ago · link · parent

It seems like an algorithm evaluates your app and the support guy simply sends you the result. He has no saying in the process. It's dumb I know, but it's what looks like.

comment 4y ago · link · parent

Let's wait for the severance package, I hope they do something similar to Stripe.

comment 4y ago · link · parent

Hey, I am just happy that survey is not on Google Forms requiring a G account.

comment 4y ago · link · parent

> When that happens, though, Colombia will face a challenge from Spain and an indigenous group in Bolivia to determine who keeps the bounty.

They should de divide the gold between all the natives (indigenous) of the region. I don't think the gold should go to Colombia simply because that country did exist back then, the Spanish were stealing from natives.

At the very least they should give all the gold to some branch of government concerned with indigenous rights.

comment 4y ago · link · parent

And then what, you had to combine the four files yourself ?

comment 4y ago · link · parent

Awesome! It looks like rubik's cube in 2D.

25.

Show HN: Speech2Code – Code with Voice(pedrooaugusto.github.io ↗)

15 points · by the42thdoctor · 4y ago · 3 comments

comment 4y ago · link · parent

> Honest question, what can be done to address this type of issue?

Paid subscription-based NPM ? Yes, you could download a dependency directly from the repository on Github for free, but if do so through the paid NPM they assure you that the package is malware-free.

27.

Show HN: I built a simple client side PNG steganography tool(pedrooaugusto.github.io ↗)

15 points · by the42thdoctor · 5y ago · discuss

comment 5y ago · link · parent

It's sad to pay for a service, Youtube Premium, and see they pulling shit like this without no clear competitor to switch to.

29.

Ask HN: How is Netflix able to prevent screenshots on Chrome?

8 points · by the42thdoctor · 5y ago · 4 comments

12