engineering

@vj

One of the most useful tricks I learnt from @giffmana: automatically starting pdb debugger when program crashes. It's just 5 lines of code that has probably saved me countless hours in trying to debug tricky bugs.

A Twitter element added by vj on Feb 10, 2024. The author is Gagan Madan. May present: python datetime now, python, switch statement, rectangle, font.
An image added by vj on Feb 04, 2024. May present: font, screenshot.

Open AI released a great Prompt Engineering guide (link in comments). Here is a summary of their 6 strategies for getting better results when prompting GPT-4

A Twitter element added by vj on Dec 15, 2023. The author is MindBranches. May present: design, font, rectangle, parallel.
An article "Cursor - The AI-first Code Editor" added by vj on Nov 21, 2023. May present: sky, font, screenshot, multimedia.

Cursor - The AI-first Code Editor

An image added by vj on Nov 21, 2023. May present: tints and shades, atmosphere, violet, purple, colorfulness.
An article "GitHub - abi/screenshot-to-code: Drop in a screenshot and convert it to clean HTML/Tailwind/JS code" added by vj on Nov 22, 2023. May present: sleeve, head, font.

GitHub - abi/screenshot-to-code: Drop in a screenshot and convert it to clean HTML/Tailwind/JS code

I'm super impressed with Qwen-VL and CogVLM! I've done a few (probably very naive) tests to compare LLaVA, BakLLaVA, Qwen-VL, CogVLM, and GPT-4V. Tests include VQA, OCR, and zero-shot detection. Any ideas on what else I should test?

A Twitter element added by vj on Nov 24, 2023. The author is SkalskiP. May present: pattern, colorfulness, product, rectangle, font.
An article "open_clip/docs/openclip_retrieval_results.csv at main · mlfoundations/open_clip" added by vj on Dec 14, 2023. May present: font, rectangle, parallel, number.

open_clip/docs/openclip_retrieval_results.csv at main · mlfoundations/open_clip

LLMs are slow. Caching can help, but developers should have control over how caches operate at different scales In next week's blog, we will show you how to write a @pydantic compatible cache mechanism for use with Instructor. 1. For a single session: (lru_cache) 2. For…

A Twitter element added by vj on Nov 25, 2023. The author is jason. May present: python, docstring, font.
An article "Iconoir | Free Icons" added by vj on Jan 01, 2024. May present: font, iconoir logo.

Iconoir | Free Icons

An article "OrbStack · Fast, light, simple Docker & Linux on macOS" added by vj on Dec 18, 2023. May present: sky, violet, purple, colorfulness, sphere.

OrbStack · Fast, light, simple Docker & Linux on macOS

An image added by vj on Mar 21, 2024. May present: font, rectangle, parallel, diagram.
An article "SwiftUI Aurora Background Animation — 🐙 Cephalopod Studio" added by vj on Apr 10, 2024. May present: electronics, azure, rectangle, tints and shades, display device.

SwiftUI Aurora Background Animation — 🐙 Cephalopod Studio

An image added by vj on Mar 16, 2024. May present: font, number.
An article "Annotate | Craft walkthroughs that clarify code" added by vj on Mar 27, 2024. May present: graphic design, gesture, font.

Annotate | Craft walkthroughs that clarify code

An article "GitHub - GrantCuster/gemini-spatial-example: How to use bounding boxes with the Gemini API" added by vj on Jun 08, 2024. May present: screenshot, rectangle, font.

GitHub - GrantCuster/gemini-spatial-example: How to use bounding boxes with the Gemini API

Want to build better charts? Here's the full breakdown of how I built this one 👇

A Twitter element added by jconn on Apr 11, 2024. The author is Brotzky. May present: electronics, font, parallel.
An article "Traversing through CLIP Space, PCA and Latent Directions | Notion" added by vj on Sep 05, 2024. May present: herd, clip art.

Traversing through CLIP Space, PCA and Latent Directions | Notion

Hot tip - using gpt-4-mini as a reranker gives you better results, and now with strict mode it's just as reliable as any other reranker model.

A Twitter element added by vj on Aug 11, 2024. The author is David. May present: screenshot.

A nice @huggingface space to estimate VRAM for running an LLM

A Twitter element added by vj on Jun 13, 2024. The author is Rohan Paul. May present: screenshot, slope, font, rectangle.
An article "Improving Retrieval on Ramp with Transaction Embeddings" added by vj on Aug 29, 2024. May present: darkness.

Improving Retrieval on Ramp with Transaction Embeddings

An article "Comparing full text search algorithms: BM25, TF-IDF, and Postgres" added by vj on Nov 19, 2024. May present: evan schwartz interledger, interledger foundation.

Comparing full text search algorithms: BM25, TF-IDF, and Postgres

An article "Smithery - Model Context Protocol Registry" added by vj on Feb 16, 2025. May present: screenshot.

Smithery - Model Context Protocol Registry

An article "B-trees and database indexes — PlanetScale" added by vj on Sep 10, 2024. May present: diagram.

B-trees and database indexes — PlanetScale

An article "GitHub - RahulSChand/gpu_poor: Calculate token/s & GPU memory requirement for any LLM.  Supports llama.cpp/ggml/bnb/QLoRA quantization" added by vj on Oct 06, 2024. May present: parallel.

GitHub - RahulSChand/gpu_poor: Calculate token/s & GPU memory requirement for any LLM. Supports llama.cpp/ggml/bnb/QLoRA quantization