This is a simple web app for creating basic paper based plans using A4 paper.
A short write up: https://madebyenzo.com/#a4list
341 karma · joined November 27, 2019
This is a simple web app for creating basic paper based plans using A4 paper.
A short write up: https://madebyenzo.com/#a4list
This is a simple web app to test the Microsoft AI 2 transcription model.
It is quite interesting because it is both fast and highly accurate.
This is a macOS app for offline transcribing.
You can use the new Apple Speech APIs or Whisper.
It has a batch queue interface, so you can watch many input sources, including external drives.
It is completely sandboxed in the App Store, so it is isolated from your system and can only read the files you explicitly give it access to.
It stores its transcription data in plain files, so they can be read without the app on any machine.
Hope you find it useful. Thanks, Enzo.
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.
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.
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.
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.
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.
I think it is the only tool in the JS ecosystem that has not broken after a few years.
The code_challenge == sha256(code_verifier). You will share the code_challenge at the start of the flow.
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/
Take a look:
https://developers.cloudflare.com/d1/best-practices/read-rep...
I think there is space for an Electron-like framework but for standalone terminal apps. Looking forward to using Ghostty as a library.
But the src-included files must be in the same directory as the root html file (or a descendant directory)
I used this in my macOS app Pocket Log to output a local html audio log (https://enzom.dev).
One interesting thing I have discovered: the interface matters just as much as the content.
The faster you can recall notes, the more useful you find them, which makes it more likely you will write more notes.
I also put answers in the titles of my notes which allows me to scan a list of previously solved issues. The combination of a vague yyyy-mm-dd.md title and just a file system UI makes recall harder.
I have a fuzzy search app for Apple Notes that has been working well for me:
If it takes you 1 minute of scrambling in a GUI to find a previous note, you are less likely to read previous notes.
And also less likely to write new ones as you know you’ll never visit it again.
I have an app built on the fzy CLI and Ghostty terminal for Apple Notes. It is working well for me:
Linux container processes run on the host kernel with extra sandboxing. The container image is an easily sharable and runnable bundle.
macOS .app bundles are kind of like container images.
You can sign them to ensure they are not modified, and put them into the “registry” (App Store).
The Swift ABI ensures it will likely run against future macOS versions, like the Linux system APIs.
There is a sandbox system to restrict file and network access. Any started processes inherit the sandbox, like containers.
One thing missing is fine grained network rules though - I think the sandbox can just define “allow outbound/inbound”.
Obviously “.app”s are not exactly like container images , but they do cover many of the same features.
Bun has a —hot flag that regenerates static html on change.
IntelliJ IDE can detect a // language=html comment above strings which formats the html inside and does highlighting etc.
Just using vanilla JS functions instead of a template language lets you write any logic yourself instead of looking up the template languages way of doing it.
Set this on the connection:
PRAGMA mmap_size=…
https://www.sqlite.org/mmap.html
I think this works as it removes data copying between the os and your process.
Your process reads data from the os to execute the query.
With mmap the data reads have less overhead, so a full table scan may be fast enough.
But in order to get the "global keyboard shortcut brings the search window forward from any space" behavior, it needs to be its own app. Otherwise, it would interact strangely with your current terminal windows, as they all have the same bundle ID.
I also want it to be easily installable without any dependencies, and usable for all skill levels.
- The app takes 40MB disk space, and around 80MB RAM. So quite light.
- Ghostty is fast, and is needed to render the search result list quickly. It is much lighter than a whole browser engine (Electron apps).
- I wanted a single "drag and drop" install method for all skill levels.
- The app needs its own windows and bundle ID so that the global keyboard shortcut can focus the Hot Notes window without interacting with your other terminal windows.
> Not sure that bundling their licenses in a file within Contents/Resources/ is sufficient
You can also view the MIT and other licenses in the About menu.
This allows you to search for and open your Apple Notes.
Matching is instant, so much faster than Spotlight or the built in Notes search.
I wrote a post about some of the technical aspects here: https://madebyenzo.com/#hot-notes
And the project page is here: https://hotmatcha.dev/hot-notes/
Thanks, Enzo