about summary refs log tree commit diff
path: root/users/tazjin
AgeCommit message (Collapse)AuthorFilesLines
2021-12-08 r/3156 feat(tazjin/russian): Add words 501-550Vincent Ambo1-1/+54
Change-Id: Id9e4b9eb5e330a5331ca0cc2c7af2c4ade4a6ace
2021-12-08 r/3155 feat(tazjin/russian): Add words 451-500Vincent Ambo1-2/+52
Change-Id: I5e0c8d61be0c0170370298aa4c6ee0a6607f24b7
2021-12-08 r/3154 feat(tazjin/russian): Add words 401-450Vincent Ambo1-1/+53
Change-Id: I1101ebf2252390fc4ae308de43f09f606118615b
2021-12-07 r/3151 feat(3p/agenix): Import latest version from GitHubVincent Ambo1-0/+1
It's time to automate secrets deployment on hosts like whitby. Change-Id: If7006124b4b5fec16b4c3570488c11e484f93888
2021-12-06 r/3145 feat(tazjin/tverskoy): Configure tlp to keep battery between 40-70%Vincent Ambo1-3/+12
This is supposedly better for battery health, and since the machine is usually plugged in while in the office it might be a good idea. Note for myself: `sudo tlp fullcharge` ~30 min before needing to leave with a fully charged battery. Change-Id: I3664264403f56c15e055822190f30c3a90c93ead
2021-12-06 r/3144 feat(tazjin/emacs): Ensure passively is installedVincent Ambo1-0/+1
Change-Id: I58f007ba54fd0b48fdff6e8409463d5d5e105f17
2021-12-06 r/3143 refactor(tazjin/russian): Use passively.el for Russian learningVincent Ambo1-40/+10
Replaces the functionality previously implemented here with the now generalised implementation in passively.el Change-Id: Ibe7a1b7d512ddcb700bc330cbdf62811399c6cfe
2021-12-06 r/3141 chore(tazjin/emacs): Configure persistence location for passivelyVincent Ambo1-0/+4
Change-Id: I00965fc24ccfddc278e7ab9243661aea282ff385
2021-11-29 r/3110 chore(tazjin/russian): Reduce timer interval to 4 secondsVincent Ambo1-1/+1
Change-Id: I85025754695a6173a23c9ea2eb19ddc8e97e4dcd
2021-11-29 r/3109 feat(tazjin/russian): Function to look up last word in WiktionaryVincent Ambo1-0/+7
For cases where a word raises more questions than are answered by my existing notes, roots, translations and so on. Change-Id: Ic9dd79ba4aef6e3c8e7e8e965195b67f7a0c65f3
2021-11-29 r/3108 feat(tazjin/russian): Exclude known words from random displayVincent Ambo1-1/+29
Adds a set of words that I consider "known" (but that should be in the most frequent word list anyways). This set can be populated by invoking `mark-last-russian-word-as-known` after display, and is automatically persisted. Right now there's nothing automatically loading it back in, just as there is nothing loading any of this automatically, that's for the future. Change-Id: I51ee4f37114c6b95925e8ad5bdc5dc9b8657bdad
2021-11-29 r/3107 feat(tazjin/russian): Remember the last displayed wordVincent Ambo1-1/+3
This will make it possible to do operations on that word (i.e. marking it as known, or opening the full definition page). Change-Id: Ib77f7d2e4e96d6ab754b311a69f72e2b080657ac
2021-11-28 r/3104 feat(tazjin/russian): Echo Russian words when Emacs is idleVincent Ambo2-6/+30
This should keep up passive exposure to words, but needs a subsequent function for filtering out things that are definitely known. Since I'm keeping the frequent word list mostly intact the majority of words are very basic, but it's those last 15-20% I'm interested in (not completely imported yet). Change-Id: I7a5684b8dca1fe5301e8b394be2627550a60e3c6
2021-11-28 r/3103 feat(tazjin/russian): Add macro to populate word tableVincent Ambo2-1/+72
Adds a stupid macro that populates a 'russian-words' hash table in which merged definitions of words are available. Change-Id: Ide7825577ba26d63ff564e54601541f39ab5a1a6
2021-11-27 r/3101 chore(tazjin/tverskoy): Minor config cleanupsVincent Ambo1-2/+5
Change-Id: I434c0b8d5e5ce2d077630de2dd71de309b7d076f
2021-11-27 r/3100 fix(tazjin/tverskoy): Persist Zoxide state between rebootsVincent Ambo1-0/+8
Change-Id: Ib1e1fe9749e56eefc83016b1946e6fe0b1f72339
2021-11-24 r/3089 feat(tazjin/tverskoy): Install some more frequently used toolsVincent Ambo1-0/+6
... rather than nix-shelling them every time. Change-Id: I9ab6ad67efbd6c16c7fd8cc9938d86d35f8418bc
2021-11-23 r/3088 refactor(readTree): Move 'drvTargets' into readTreeVincent Ambo1-3/+1
This function is also generally useful for readTree consumers that have the concept of subtargets. Change-Id: Ic7fc03380dec6953fb288763a28e50ab3624d233
2021-11-13 r/3066 feat(tazjin/tverskoy): Enable picom by defaultVincent Ambo1-1/+6
... rather than launching it manually in a shell when I need it, which is more often now that I have a large screen. Change-Id: Ia526af98e513d29e70aeb093442465dce256c333 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3874 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>
2021-11-13 r/3065 feat(tazjin/emacs): Disable annoying warnings from native compVincent Ambo1-0/+4
Change-Id: Ibe6bcd544188afb8746bf27a6467a436803e659f Reviewed-on: https://cl.tvl.fyi/c/depot/+/3876 Reviewed-by: tazjin <mail@tazj.in> Tested-by: BuildkiteCI
2021-11-13 r/3064 fix(tazjin/emacs): Adjust tverskoy screen layout for TVL officeVincent Ambo1-4/+4
Change-Id: I4d1ad19ee5af52b7f01e1e2003a5c95b5a133865 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3871 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>
2021-11-11 r/3035 chore(tazjin/tverskoy): Make automatic-gc more conservativeVincent Ambo1-2/+2
It keeps gc'ing things I'm using more than I would like. Some sort of meme potential about my storage use on the laptop here. Change-Id: I0f8078a92effaf32bcadc3355507469babbc2eb8 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3826 Reviewed-by: tazjin <mail@tazj.in> Tested-by: BuildkiteCI
2021-11-10 r/3033 chore(tazjin/keys): Remove key for vauxhallVincent Ambo1-1/+0
Change-Id: Ib162e08ec6b47fd5d9ecef5aba402e9360d35b47 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3823 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>
2021-11-10 r/3032 feat(tazjin/emacs): Bind a key for #'tvl-depot-statusVincent Ambo1-0/+3
Change-Id: I46387b5193ecca082d0bc3e7ba7c0907fb9cf639 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3822 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>
2021-11-10 r/3031 fix(tazjin/tverskoy): Timezone -> Europe/MoscowVincent Ambo1-1/+1
Change-Id: I8ce9f4ff01f29e89f1acda258969622290cb6cc7 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3824 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>
2021-11-08 r/3025 fix(web/blog): make base URL configurable for atom feedsVincent Ambo2-4/+5
This was previously hardcoded to tazj.in, which is not going to work of course. Instead it now takes the blog config which has a new baseUrl parameter. For ease of use, the configs of my and the TVL blog have been moved into a location that is accessible in the tree for reuse. Change-Id: I94e71aaa7859db4380eb7013740a17f6b6a02620 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3777 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>
2021-11-04 r/3000 refactor(web/blog): Move atom feed creation logic to //web/blogVincent Ambo1-20/+3
This was previously all inside of my personal homepage configuration, but that's not really where it belongs. This moves the blog post -> feed entry logic to //web/blog and moves some other minor logic (like entry order) into the atom feed implementation itself. Change-Id: Idde0241c48e979580de73f2b9afd04e6ca7f4c9a Reviewed-on: https://cl.tvl.fyi/c/depot/+/3770 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org>
2021-11-03 r/2998 refactor(web/blog): Configurable blog name and footerVincent Ambo1-1/+15
Required for actually using this generically for the TVL blog. Change-Id: I92d8d10341f9ab4f92c90f7976be261b3255a0f0 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3768 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org>
2021-11-02 r/2997 feat(tazjin/tverskoy): Add dunst configurationVincent Ambo3-0/+66
This one is basically taken from some gist linked in the official dunst readme and makes nice little boxes. Change-Id: I5bee8488f333dcc2f7040b741729065ef8617ae0 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3767 Reviewed-by: tazjin <mail@tazj.in> Tested-by: BuildkiteCI
2021-10-27 r/2992 chore(tazjin/emacs): Remove screen layout configs for VauxhallVincent Ambo1-48/+13
That machine doesn't exist anymore. Some of them are partially retained for use on tverskoy instead, but I've mostly nuked it. Change-Id: Ia358b46353d408798c29c4c90ec06b116b322b5d Reviewed-on: https://cl.tvl.fyi/c/depot/+/3761 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>
2021-10-22 r/2988 chore(web/blog): Move out of //users/tazjinVincent Ambo4-144/+10
This will also be used for the TVL blog, with status updates of projects like Tvix. Note that while this commit evaluates, there are still some things specific to my blog in this code which I'll untangle in a future commit. Change-Id: If59431161b165d7249cbb856073a4cae84a1bfbf Reviewed-on: https://cl.tvl.fyi/c/depot/+/3732 Tested-by: BuildkiteCI Reviewed-by: grfn <grfn@gws.fyi>
2021-10-22 r/2987 feat(tazjin/rlox): Implement else clausesVincent Ambo4-1/+22
Change-Id: I0bc2333c0b4dd3e2e584a90d0d15b28c48130f03 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3740 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>
2021-10-22 r/2986 feat(tazjin/rlox): Implement simple conditionalsVincent Ambo4-16/+84
... basically just optional blocks (no else). Change-Id: If091c6b8fdeb6c13a5f3dd284d0a9a87f9f4228d Reviewed-on: https://cl.tvl.fyi/c/depot/+/3739 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>
2021-10-22 r/2985 refactor(tazjin/rlox): Return index after adding operationsVincent Ambo3-15/+18
Change-Id: I100eb9b55ace37e5c7c878d3c224b567ee8d1e36 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3738 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>
2021-10-20 r/2981 refactor(tazjin/rlox): Remove use of sentinel valuesVincent Ambo2-21/+24
The C code from which this is translated uses sentinel values for various things, this commit replaces them with standard Rust types instead (amongst a bunch of other small improvements). Change-Id: I892811a7afebb5a0f3b825824fc493ab0b399e44 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3735 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>
2021-10-20 r/2980 refactor(tazjin/rlox): Introduce newtypes for various indicesVincent Ambo4-25/+31
Since this code is essentially a fairly plain translation from C, it is a bit confusing to deal with the original untyped code. This is an attempt to try and clean some of it up. Change-Id: Icd21f531932e1a811c0d6dbf2e9acba61ca9c45d Reviewed-on: https://cl.tvl.fyi/c/depot/+/3734 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>
2021-10-19 r/2979 fix(tazjin/emacs): Fix renamed cargo mode mapVincent Ambo1-1/+1
Change-Id: I12a893d94dd67106c7cee875fbef432d693b41b9 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3733 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>
2021-10-19 r/2978 feat(tazjin/rlox): Support local variablesVincent Ambo6-12/+193
WIP Change-Id: I78fbc885faaac165c380cbd9aa98b4b64a9b8274 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3685 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>
2021-10-19 r/2977 feat(tazjin/rlox): Global variable assignmentVincent Ambo4-3/+38
Needed for example code compatibility. Change-Id: Id83210eaaad7dcfef5aa238dd3a7ec159f6935e9 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3684 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>
2021-10-19 r/2976 chore(tazjin/rlox): Add some old code example filesVincent Ambo8-0/+92
Change-Id: I484b11069286ea2277e9e158fa5c3bd34f84c89e Reviewed-on: https://cl.tvl.fyi/c/depot/+/3464 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>
2021-10-19 r/2975 chore(nix/renderMarkdown): Move out of //users/tazjinVincent Ambo3-11/+3
Change-Id: Ia5e873420b57436abead8e02cef3e5b7149de123 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3731 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org>
2021-10-16 r/2973 chore(web/atom-feed): Move feed generator out of //users/tazjinVincent Ambo2-146/+2
I intend to use this for updates on TVL projects, which will end up on the homepage, which is outside of //users. Change-Id: I03542d1bcef3d9fc4599294655caab5ed22ba5d9 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3728 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org>
2021-10-15 r/2972 feat(3p/dfmt): Add derivation for the D code formatterVincent Ambo1-1/+1
Change-Id: I4e06676f45df334db4fbc4f1657a6f16828547dc Reviewed-on: https://cl.tvl.fyi/c/depot/+/3727 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org>
2021-10-12 r/2966 feat(tazjin): Install D related toolingVincent Ambo2-0/+3
Change-Id: I4c27b7a3b89ffd3a84313b70af3dfda2b2f6fa98 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3714 Reviewed-by: tazjin <mail@tazj.in> Tested-by: BuildkiteCI
2021-10-10 r/2961 feat(tazjin/tverskoy): Install unzipVincent Ambo1-1/+2
... the amount of times I've not had this and nix-shell'd it is ridiculous. Change-Id: I8ac3a7a2915e68d235f8349373b2575e6ebe1cb5 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3710 Reviewed-by: tazjin <mail@tazj.in> Tested-by: BuildkiteCI
2021-10-10 r/2959 feat(tazjin/tverskoy): Attempt to enable hardware video accelerationVincent Ambo1-0/+8
Change-Id: I0592f5f9be9b01d7809e4d6a2d282e3398dbed4d Reviewed-on: https://cl.tvl.fyi/c/depot/+/3706 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>
2021-10-08 r/2955 chore(tazjin/tverskoy): Timezone -> Europe/StockholmVincent Ambo1-1/+1
Change-Id: I8247ac6c15d3ee89e902737f160d5f0acae707bd Reviewed-on: https://cl.tvl.fyi/c/depot/+/3703 Reviewed-by: tazjin <mail@tazj.in> Tested-by: BuildkiteCI
2021-10-08 r/2954 feat(tazjin/tverskoy): Enable printing serviceVincent Ambo1-0/+1
Change-Id: Ic74cf57cafb34b18ef632e4718493146dc063236 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3702 Reviewed-by: tazjin <mail@tazj.in> Tested-by: BuildkiteCI
2021-09-27 r/2930 feat(tazjin/russian): Add words 301-400Vincent Ambo1-2/+103
Change-Id: I94337f7af76ff554370593709088503ee4b21564 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3645 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>
2021-09-26 r/2921 feat(tazjin/russian): Extract a bunch more word rootsVincent Ambo2-28/+35
Change-Id: I215b010ea4595d1c6b76138cf7f7b1fb7f435085 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3639 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>