dmesg --follow
[ 71978340.000 ] posts.x: Full talk on building graphs worth querying and the algorithms that make use of them, from personalized PageRank to subgraph pattern matching:  |   [ 71978340.000 ] posts.x: Most teams that reach for GraphRAG or a graph database hit a valley of despair when the payoff doesn't show up right away. @timainge, a software…  |   [ 71969820.000 ] posts.x: Full talk on what it actually costs to keep renting inference, and when to stop:  |   [ 71969820.000 ] posts.x: One of the largest retailers in the country spent close to $200 million on inference with Anthropic before deciding to build its own infrastructure…  |   [ 71961900.000 ] posts.x: Full talk on turning hypothesis generation into an explicit, documented step in an agent's research loop:  |   [ 71961900.000 ] posts.x: Coding agents are great at running an optimization loop against a metric, tuning a model until it saturates. What saturates first isn't execution…  |   [ 71956560.000 ] posts.x: @htahir111 @aiDotEngineer Thanks for the talk!  |   [ 71953680.000 ] posts.x: Full talk on checkpointing, replay, and why cohort-level testing beats a single model swap:  |   [ 71953680.000 ] posts.x: Agents don't have a save button yet. The only thing close is a trace, and a trace is read-only, disconnected from the actual code and state that…  |   [ 71939640.000 ] posts.x: Full talk on why TypeScript passed Python as GitHub's top language, and what the shift means for where agents actually get built:  |   [ 71939640.000 ] posts.x: GitHub's own report called it two different ways in two years: "AI leads Python to top language" for 2024, "AI leads TypeScript as the first…  |   [ 71897160.000 ] posts.x: Full talk on why frontier models keep rediscovering the same old vulnerability classes, and what actually closes the gap:  |   [ 71897160.000 ] posts.x: Buffer overflows were first documented more than 30 years ago, and they're still near the top of the most exploited vulnerability classes, and the…  |   [ 71882820.000 ] posts.x: @jleechan2015 @aiDotEngineer @instinct Right on, mate!  |  
corey@gallon.me:~/til$

Wrap with HTML tags in VSCode

FIGURE 1 ⋅ Wrap with HTML tags in VSCode

Using the Emmet capabilities in VSCode (see previous TIL) you can highlight a section of HTML code and quickly wrap it with other HTML using Emmet shortcuts.

This is particularly useful when writing plain HTML and then returning to style it.

You can access this functionality in the command palette

wrap in command palette
FIGURE 2 ⋅ wrap in command palette

Smarter, still, is to create a keyboard shortcut for this. We’ll bind ALT+M to this functionality.

create keyboard shortcut
FIGURE 3 ⋅ create keyboard shortcut

Now, simply highlight the HTML code you want to wrap, hit ALT+M and start typing the Emmet abbreviations for the tags you want to wrap the code with. For example, we’ll wrap this simple HTML form with some BulmaCSS classes to improve layout …

wrap with tags
FIGURE 4 ⋅ wrap with tags

et voila!

corey@gallon.me:~$ tail -f /writing Attach to the stream. An email when I have something worth sending. Replies encouraged!
corey@gallon.me:~$ ls -lt /til ↑2024-11-28 Why An 8TB Drive Isn’t 8 Usable TB
▸2024-11-14 Wrap with HTML tags in VSCode ⋅ you are here
↓2024-10-15 A nice workflow for creating Python projects with AI