HackerTrans
TopNewTrendsCommentsPastAskShowJobs

emadda

338 karmajoined 7 years ago
https://enzom.dev

Submissions

list55.com: Simple transcription: Microsoft's MAI 1.5 model as a web app

list55.enzom.dev
2 points·by emadda·5 days ago·1 comments

Show HN: list55: PWA to transcribe into a plain text list

list55.enzom.dev
3 points·by emadda·6 days ago·0 comments

Show HN: kg Food Log: Don't Track Calories; Track Molecules

kg.enzom.dev
2 points·by emadda·4 months ago·0 comments

Show HN: kg Food Log: Reveal the molecules in your foods

kg.enzom.dev
3 points·by emadda·4 months ago·0 comments

Show HN: kg Food Log (Google Gemini powered nutrition tracker)

kg.enzom.dev
2 points·by emadda·4 months ago·0 comments

Things I learnt about passkeys when building passkeybot

enzom.dev
173 points·by emadda·7 months ago·146 comments

Show HN: Passkeybot.com – add passkey auth with a few server side HTTP handlers

github.com
3 points·by emadda·7 months ago·0 comments

Show HN: passkeybot.com - add passkey auth with a few server side HTTP handlers

github.com
4 points·by emadda·7 months ago·0 comments

comments

emadda
·5 days ago·discuss
Hello HN.

This is an experiment of creating a simple progressive web app (can be installed as a mobile app) to test Microsoft's new MAI 1.5 transcription model.

The standout features of the MAI model are accuracy and speed.

The app converts your speech into plain text lists.

No sign up required.
emadda
·last month·discuss
I like the technical design of WASM, but I feel that better OS sandboxes for regular native code will be the common approach to running untrusted code.

As soon as you compile to WASM you no longer have the C FFI and the ability to call the OS systems interfaces for files, network and others.

It is extra work to move something to WASM vs just compiling it and running it in a sandbox.
emadda
·last month·discuss
I think this comes down to higher competition and practice in Europe.

A football is the default “toy” given to young lads, and you can play anywhere with anyone.

So much so there are custom “no ball games” signs in many neighbourhoods due to noise averse residents getting annoyed.

There are also many supporting elders who try to improve and guide skill development.
emadda
·2 months ago·discuss
Thanks.

It is using Gemini Flash 3 at the moment.

There is a lot to learn in nutrition. The glycemic load metric is quite revealing for pizza vs pasta (slow digesting carbs are supposed to be better). Al-dente cooked pasta is also slower digesting than well cooked pasta.

Another interesting thing is how each plant food has unique molecules that can be health promoting in humans. That was one aspect I wanted to reveal/compare for the foods I ate.

Dr Weil / Perfect Health Diet / Marks Daily Apple are three sources I like to check for information on nutrition.
emadda
·2 months ago·discuss
Related: I created an app to track the molecules in your foods:

https://kg.enzom.dev/

You specify your foods in grams with plaintext (no pictures).

I never liked the "take a picture to measure calories" approach, as you could have 10 table spoons of olive oil which would drastically change the calories but would not show in a picture.
emadda
·4 months ago·discuss
esbuild has been very stable for my projects too.

I think it is the only tool in the JS ecosystem that has not broken after a few years.
emadda
·7 months ago·discuss
PKCE protects the auth token from interception by making it so that only your code that started the flow can redeem it by proving they have the secret code_verifier on the redeem_token() call.

The code_challenge == sha256(code_verifier). You will share the code_challenge at the start of the flow.
emadda
·7 months ago·discuss
I just watched this, it is very good.
emadda
·7 months ago·discuss
Yes, that is true, I was assuming that any LLM code was going to be checked by the developer. Step 7 in the guide is "review your code and ensure the important logic commented in the example server is still present".

The LLM is only for converting the JS based example code into your language X and HTTP framework Y (instead of giving example code for every combination of X and Y).

The standard implementation is in a single file `http_server.ts`, which is around 200 lines of well commented code, with important logic commented (around 5 lines). The example code can be run locally with a few commands.

The repo also contains a sequence diagram [1], a description of the HTTP handlers needed [2], and a live demo [3] where you can see the request/responses.

Thanks for your feedback I have made this clearer in the readme.

- [1] https://github.com/emadda/passkeybot/tree/master?tab=readme-...

- [2] https://github.com/emadda/passkeybot/tree/master?tab=readme-...

- [3] https://demo.enzom.dev/
emadda
·7 months ago·discuss
Related: I released a hosted sign in page for passkey auth today.

Take a look:

https://passkeybot.com
emadda
·7 months ago·discuss
I built a macOS app that uses Ghostty and fzy to fuzzy search over Apple Note titles. It is working quite well for me.

https://github.com/emadda/hot-notes/
emadda
·9 months ago·discuss
Maybe JS directly?
emadda
·9 months ago·discuss
Cloudflare D1 has this, although you are limited to using JS workers to read/write it.

https://developers.cloudflare.com/d1/best-practices/read-rep...
emadda
·10 months ago·discuss
I built a macOS app [1] (to fuzzy search Apple Notes) using Ghostty as a base so that I could use its fast rendering for large lists.

I think there is space for an Electron-like framework but for standalone terminal apps. Looking forward to using Ghostty as a library.

[1]: https://enzom.dev/hot-notes/