49/Visit to Dull's farm; not a dull moment

Monday, 2024-09-02 to Sunday, 2024-09-08

Created: by Pradeep GowdaUpdated:Sep 10, 2024Tagged: weekly · python · claude · clojure .

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:

  1. Convert the HEIC images to WEBP format.
  2. Use tailwindcss for styling.
  3. Use the WEBP images as thumbnails on the gallery page.
  4. Do not generate separate thumbnail files; use the WEBP files directly.
  5. Link the WEBP thumbnails to the full-size HEIC images for download.
  6. Set the thumbnails to a max width of 300px.
  7. Arrange the thumbnails with no more than 4 in a row.
  8. Take the input directory, output directory, and output file as script arguments.
  9. Use “gallery.html” as the default output file name.
  10. Add all dependencies as inline dependency metadata, as defined in PEP 723 for use with the uv Python package manager.
  11. Include a hashbang that runs this script using uv run.
  12. Add an optional -n argument to specify the number of most recently created files to include in the gallery.
  13. Sort the HEIC files by creation time (newest first) when selecting files to process.

Your Name In Landsat

LANDSAT image spelling btbytes
LANDSAT image spelling btbytes

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

lmnr-ai/lmnr: Laminar - Open-source DataDog + PostHog for AI agents / RAG apps. Fast, reliable and insightful. Written in Rust 🦀. YC S24.

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.

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