NOTE: This site has just upgraded to Forester 5.x and is still having some style and functionality issues, we will fix them ASAP.

Learning diary › Year 2025 › July, 2025 › 2025-07-04 [2025-07-04]

#cg #duckdb #gpu #news #os #proof #render #rust #wasm #✍️
- #web
    - Astro is a return to the fundamentals of the web
    - Our Fullstack Architecture: Eta, HTMX, and Lit
        - Eta: a lightweight, fast, and simple embedded JavaScript templating engine
            - maybe that's all I need for my writings, I don't really need another SSG, just a templating engine
        - HTMX: allows us to add dynamic behavior directly to our server-rendered HTML
        - Lit: allows us to create encapsulated, reusable components with their own internal state and logic
    - Why Semantic HTML Still Matters
        - Semantic rot wrecks performance
        - Structure is resilience
        - Agents are the new users – and they care about structure
    - vanilla-extract — Zero-runtime Stylesheets-in-TypeScript.
    - Understanding SVG Paths
    - A Friendly Introduction to SVG
    - Remove these tags from <head>
    - Client-side epub generation
    - Bookmarkable by Design: URL-Driven State in HTMX
    - On designing application UIs for children
        - most also apply universally
            - Show, Co-locate and Hint tools
            - Mistakes should be easy to fix
            - Simplify, then add delight(ness)
                - bright colours, sound, tactility, sparkle effects
            - Maintain visual context when changing state
    - Postcard is now open source
        - written in Ruby on Rails
        - personal site + newsletter
        - "I no longer expect meaningful revenue from the project. Open-sourcing it feels right. In the age of vibe coding, I think it would be fun to give people a working app they can customize."
        - How to host web apps on a Mac Mini
    - Rust and WASM for Form Validation (on HN)
        - avoid using Webpack and a whole array of Node-related tools in order to use WASM
        - form validation shows all the crucial aspects to use WASM instead of JS, like wiring up DOM events to Rust functions, and then reacting to those events
        - used Rocket - Simple, Fast, Type-Safe Web Framework for Rust
        - might motivate me to write Rust for web
    - HTML-in-Canvas
    - Don't animate height
- #idea
    - Setting constraint
        - goals provide a structured roadmap to success, thriving in controlled, predictable conditions like training for a marathon or preparing for an exam.
        - however, life rarely follows a straight line. It’s messy, unpredictable, and full of curveballs.
        - “I must finish this report,” -> “I won’t check email after 6 PM.”
        - for business: “we won’t hire until we have 100 users”
    - How to Network as an Introvert
        - really useful for me to script my reaction ahead of time to be natural
        - my natural response is abrupt, if any
- #data-org
    -Kepler.gl (on HN)
        - cool 3D map
        - powered by deck.gl, a GPU-powered framework for visual exploratory data analysis of large datasets
        - mountayaapp/insight-editor: Open source geospatial analysis for large-scale data sets with kepler.gl, DuckDB (and charts coming soon). Alternative to CARTO, ArcGIS Online, Foursquare Studio, Felt, Mango GIS, Maptable.
- #sec
    - Nonce CSP bypass using Disk Cache
    - Opening up ‘Zero-Knowledge Proof’ technology
- #game
    - I AI-coded a tower defense game and documented the whole process (on HN)
    - Steam has been flooded with games stolen from itch.io
- #forth
    - Tiny Great Languages: MOUSE
- #sci
    - how did the Solar System form?
    - Solar+storage is so much farther along than you think (on HN)
    - The most otherworldly, mysterious forms of lightning on Earth (on HN)
    - Lightning on Earth is sparked by a powerful chain reaction from outer space (on HN)
    - How to grow almost anything
    - Scientists shine a laser through a human head (on HN)
    - New colors without shooting lasers into your eyes
    - New battery has life so long you may never have to recharge (on HN)
    - Mammals Evolved into Ant Eaters 12 Times Since Dinosaur Age, Study Finds (on HN)
    - 'Universal cancer vaccine' trains the immune system to kill any tumor (on HN)
    - Earth Has Tilted 31.5 Inches. That Shouldn't Happen (on HN)
    - More Women Than Expected Are Genetically Men (on HN)