- Install something that supports UserCSS, e.g. Stylus.
- Click the "Raw" button next to
xchan.user.cssbelow. - Click "Install style" (or whatever it's called in your extension).
It will auto-update if I change the style here.
Report bugs as comments.
xchan.user.css below.It will auto-update if I change the style here.
Report bugs as comments.
| diff --git a/packages/opencode/src/session/system.ts b/packages/opencode/src/session/system.ts | |
| --- a/packages/opencode/src/session/system.ts | |
| +++ b/packages/opencode/src/session/system.ts | |
| @@ -27,12 +27,12 @@ | |
| } | |
| export function provider(model: Provider.Model) { | |
| + if (model.providerID.includes("anthropic") && model.api.id.includes("claude")) return [] | |
| if (model.api.id.includes("gpt-5")) return [PROMPT_CODEX] | |
| if (model.api.id.includes("gpt-") || model.api.id.includes("o1") || model.api.id.includes("o3")) |
This document explains how I would implement an SSA-based compiler if I was writing one today.
This document is intentionally opinionated. It just tells you how I would do it. This document is intended for anyone who has read about SSA and understands the concept, but is confused about how exactly to put it into practice. If you're that person, then I'm here to show you a way to do it that works well for me. If you're looking for a review of other ways to do it, I recommend this post.
My approach works well when implementing the compiler in any language that easily permits cyclic mutable data structures. I know from experience that it'll work great in C++, C#, or Java. The memory management of this approach is simple (and I'll explain it), so you won't have to stress about use after frees.
I like my approach because it leads to an ergonomic API by minimizing the amount of special cases you have to worry about. Most of the compiler is analyses and transformations ov
| # I used this shell.nix to build LineageOS 21.0 for redfin (Google Pixel 5) | |
| # | |
| # IMPORANT NOTE: I had to use a pure shell for my builds to work, i.e: `nix-shell --pure` rather than `nix-shell` | |
| # | |
| # The build instructions are here: https://wiki.lineageos.org/devices/redfin/build | |
| # | |
| # Warning (from forked gist, was added August 1st 2018): | |
| # The hardened NixOS kernel disables 32 bit emulation, which made me run into multiple "Exec format error" errors. | |
| # To fix, use the default kernel, or enable "IA32_EMULATION y" in the kernel config. | |
| # |
| {config, pkgs, ...}: let | |
| domain = "hauleth.dev"; | |
| mail-domain = "mail.${domain}"; | |
| sieve-data = let | |
| stalwart-mail = config.services.stalwart-mail.package; | |
| in pkgs.stdenvNoCC.mkDerivation { | |
| pname = "stalwart-mail-sieve-data"; | |
| inherit (stalwart-mail) version src; | |
| dontBuild = true; |
In the new year, I plan on archiving the repositories below. Because I plan on only archiving the repositories, any project that depends on any of these projects will continue to work. However, I will no longer be accepting issues or pull requests and will never tag a new release.
The reality of each of the projects listed below is that I've almost completely ignored issues and pull requests for
| import chalky | |
| import bs4 | |
| import requests | |
| ROOT = "https://wavetro.net" # Change this to your desire | |
| WANTED_SITE = "wavetro.net" # This needs to be in the url for it to get scraped. Warning: This doesn't check the root domain. It only checks if it is in the URL. | |
| PRINT_INFO = True # Wheter if to print extra info. | |
| gotten = set() | |
| __print = print |
| #include <iostream> | |
| #include <functional> | |
| using namespace std; | |
| template <typename A, typename B> | |
| class Either { | |
| private: | |
| // In a language with lambdas, a disjoint union can be implemented using |
I've been deceiving you all. I had you believe that Svelte was a UI framework — unlike React and Vue etc, because it shifts work out of the client and into the compiler, but a framework nonetheless.
But that's not exactly accurate. In my defense, I didn't realise it myself until very recently. But with Svelte 3 around the corner, it's time to come clean about what Svelte really is.
Svelte is a language.
Specifically, Svelte is an attempt to answer a question that many people have asked, and a few have answered: what would it look like if we had a language for describing reactive user interfaces?
A few projects that have answered this question: