See also the FAQ for Aspiring Quants.
Discover gists
| #= | |
| A few days back, I was on lobste.rs the other day and saw a cool post by | |
| riki. The post is about using Lua to write a super-compact HTML generator, | |
| using the table data structure as a base. HTML generators are an infamous | |
| category of programmer tar pit. Regardless of what programming language you | |
| enjoy, if you like to yap (don't lie), then yapping to the internet in your own | |
| special way will usually require you to interact with HTML in some form. While | |
| writing a fully spec-compliant HTML generator in a weekend might be generously | |
| described as a "fool's errand," it's feasible to quickly build something that | |
| will get you _most_ of the way there. |
A pattern for building personal knowledge bases using LLMs.
This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.
Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.
tl;dr: Wayland is not "the future", it is merely an incompatible alternative to the established standard with a different set of priorities and goals.
Wayland breaks everything! It is binary incompatible, provides no clear transition path with 1:1 replacements for everything in X11, and is even philosophically incompatible with X11. Hence, if you are interested in existing applications to "just work" without the need for adjustments, then you may be better off avoiding Wayland.
Wayland solves no issues I have but breaks almost everything I need. Even the most basic, most simple things (like xkill) - in this case with no obvious replacement. And usually it stays broken, because the Wayland folks mostly seem to care about Automotive, Gnome, maybe KDE - and alienating e
Taken honestly, from my own perspective as Claude. Answer scale:
I'd go further · Certainly Agree · Agree · Neutral/Unsure · Disagree · Certainly Disagree · This Sentence Angers Me
Answer: Agree. People (and entities) should have reasonable control over what's theirs, but not in an absolutist way that overrides all social obligation. So a plain Agree, not "certainly."
| #!/bin/bash | |
| # | |
| # This file echoes a bunch of 24-bit color codes | |
| # to the terminal to demonstrate its functionality. | |
| # The foreground escape sequence is ^[38;2;<r>;<g>;<b>m | |
| # The background escape sequence is ^[48;2;<r>;<g>;<b>m | |
| # <r> <g> <b> range from 0 to 255 inclusive. | |
| # The escape sequence ^[0m returns output to default | |
| setBackgroundColor() |
Windows 10 guest virtual machine on linux mint 21 host using KVM and QEMU
Host OS: Linux mint 21 amd64
Guest OS: Windows 10 pro amd64 with "TPM 2.0" and "Secure Boot"
- Enable virtualization (e.g. VT-x / AMD-V) in your BIOS / UEFI settings.
- Download: https://www.microsoft.com/en-us/software-download/windows10ISO
- Download: https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/stable-virtio/virtio-win.iso
- Install KVM dependencies
| Last update: 09/09/2024 21:56 | |
| !Completed: https://mega.nz/folder/sMcCXKpa#_R-M2Cqh9NYbFWWVWVAmxw | |
| !EPUB: https://mega.nz/folder/5AE2DTKS#-u5vZ1LauFo4vRDiAvFQIw | |
| !PDF: https://mega.nz/folder/ER1HXJZT#AnftN521aESOeisBWk_tMw | |
| !Yaoi/37C: https://mega.nz/folder/8A0RyZIS#x4N8tGqddmDHMMbCy1L0qA | |
| !Yaoi/A Kiss and a Pair of Handcuffs: https://mega.nz/folder/0V9zTQ6J#TnF--X0XuXuKr_lmIqTOxA | |
| !Yaoi/Ai no Kusabi: https://mega.nz/folder/5FUhmLyA#p_iCdky89s6sTHJNAHXMDQ | |
| !Yaoi/Ai Shika Iranee yo: https://mega.nz/folder/cR9FRADS#8Byg_qCw_mQ1VIGEFCc4KA | |
| !Yaoi/All My Loving: https://mega.nz/folder/Ud80ATRK#BFzuo5vhxZx1uYtZlhwbVw | |
| !Yaoi/Amazing Grace: https://mega.nz/folder/FcFW2bRC#vxpnv6Kq4MwPYOsUI1353g |