22 July 2024
4:55 PM

i had observed some obsidian plugins inserting html in my docs. today i looked a bit closer at this. til: you can embed html directly within markdown documents. markdown processors are designed to pass through html mostly untouched.

however, the relationship between markdown and html is not symmetrical. standard html parsers do not understand or process markdown syntax. if you put markdown inside an html document, it will be treated as plain text.

markdown was created by john gruber and aaron swartz in 2004. their goal was to create a simple, readable syntax for formatting plain text that could be easily converted to html. aaron swartz pops up in the most unlikeliest of places whenever i go into rabbit holes in web tech.

markdown was designed to be a simpler alternative to writing html directly, but not a complete replacement for it. the ability to use html within markdown was intentional, allowing users to fall back to html when they needed more complex formatting.

17 July 2024
8:29 PM

Watched this fascinating talk on how multicore support was added into ocaml
Multicore in Ocaml - KC Sivaramakrishnan

15 July 2024
5:34 PM

#NoOneAskedForAIHere

Logitech Introduces AI Prompt Builder and New AI Mouse

Here's a user's reactions to the post:

    "Logitech, could you ask one of your AI devs to spend a week just fixing the app so it works consistently more than 70% of the time?"
    source
13 July 2024
01:25 AM
12 July 2024
04:20 PM

Kalzumeus wrote a super interesting blog on why web apps beat desktop apps. Very prescient since it was written all the way back in 2009

He emphasised how easy it is for users to get started playing with your software when it's a web app vs desktop app. He introduced the concept of a shareware funnel and that tool made it obvious how much more volatile the onboarding path was for desktop apps vs how frictionless it was for web apps.

He mentioned a lot of other factors as well like how much easier web apps are to support, the ease of analytics for web apps etc.

All in all an excellent read to understand the trajectory of software businesses over the past two decades.

12 July 2024
02:18 AM
An extension I need to try out at some point: RSC Extension on Chrome Store
31 October 2023
02:24 AM
A quick way to check whether the current component is mounted on client or server side is to add a useEffect setting a isMounted state to true. The useEffect only runs on client side mounting
31 October 2023
02:00 AM
If you import server components into client components, they become client components. However, if you pass server components as children props into client components, they remain server components
30 October 2023
03:47 AM
a better name for use client would be use hydrate
30 October 2023
03:04 AM
use client does not disable SSR