49/Visit to Dull's farm; not a dull moment
Monday, 2024-09-02 to Sunday, 2024-09-08
Created:
Visited Dull’s Tree Farm on a salubrious afternoon. Perhaps the better farm-experience on the north side of Indy. It was a perfect day for an outing. Was sponsored by our kids’ dentists’ office. We used up all our activity coupons on the air operated canon. The apple cider donuts were tasty. N picked up a handful of pumpkin flowers to saute in ghee - they turned out to be delicious; except the flowers had so many little yellow bugs, and caused quite a commotion in the car ride back home. Some Pictures.
The gallery above was generated using this script, which was completely written with the use of Claude. The prompt used to generate the script is given below:
Create a Python script to generate an HTML gallery from a list of .HEIC pictures in a directory. The script should:
- Convert the HEIC images to WEBP format.
- Use tailwindcss for styling.
- Use the WEBP images as thumbnails on the gallery page.
- Do not generate separate thumbnail files; use the WEBP files directly.
- Link the WEBP thumbnails to the full-size HEIC images for download.
- Set the thumbnails to a max width of 300px.
- Arrange the thumbnails with no more than 4 in a row.
- Take the input directory, output directory, and output file as script arguments.
- Use “gallery.html” as the default output file name.
- Add all dependencies as inline dependency metadata, as defined in PEP 723 for use with the uv Python package manager.
- Include a hashbang that runs this script using uv run.
- Add an optional
-n
argument to specify the number of most recently created files to include in the gallery. - Sort the HEIC files by creation time (newest first) when selecting files to process.
LLM
Meet Yi-Coder: A Small but Mighty LLM for Code - 01.AI Blog
Koilia, Nikoletta, and Christoforos Kachris. “Hardware Acceleration of LLMs: A comprehensive survey and comparison,” 2024. https://arxiv.org/abs/2409.03384.
Not exactly LLM specific, but AlphaXiv is a comment / discussion forum on top of arXiv. Lot of the popular papers right now are related to LLMs as expected.
Observability
Programming
Boot.dev
Someone on X recommended boot.dev for backend track. they have python, shell, git, OOPS, FP, Algos, DS, Go, HTTP, Services, SQL, Docker, CI/CD and have projects to practice.
Clojure
Clojure 1.12.0 is now available and with that I became aware of couple of cool clojure projects.
- Clara Rules “Rules can greatly simplify business logic, but often come in the form of limited mini-languages and complex tools. Let’s take them back.”
- ⚡️Clerk “Moldable Live Programming for Clojure”, the website and a really cool illustrative example book. Clerk notebooks can be hosted on clerk garden, see this demo, it is also inspired by Maria, as metioned in their paper.
Convex
Convex - “open-source backend for application builders. An all-in-one platform with thoughtful, product-centric APIs.” No database etc. just write code. Has “server fuctions, acid db, vector search, cron jobs, file storage, caching, …” Is considered as an alternative to Firebase by many. “Makes managing global state easier.”. “ Strictly-typed fully relational schemas defined in code”.
Webp
Very interseting experiment in using webp
to compress
HTML page :) WebP:
The WebPage compression format | purplesyringa’s blog; code in rust
Product Marketing
How to consistently go viral: Nikita Bier’s playbook for winning at consumer apps - YouTube