about summary refs log tree commit diff
path: root/users/glittershark
AgeCommit message (Collapse)AuthorFilesLines
2020-07-03 r/1187 fix(xan): fix compat with new base+ghcGriffin Smith6-4/+6
A couple of changes necessary to get things working with both ghc 8.8.3 and the new base: - Explicitly import fail from Control.Monad.Fail in the prelude, since it's there instead of the base prelude now - GHC no longer allows type family equality constraints in quantified constraints - which is a bummer - but is avoidable in the one case where it was happening - Explicitly import a constructor from Data.List.NonEmpty Change-Id: Ia06fc724ddc2d6a3f9024c047ed55eea40bcf408 Reviewed-on: https://cl.tvl.fyi/c/depot/+/744 Tested-by: BuildkiteCI Reviewed-by: BuildkiteCI Reviewed-by: Profpatsch <mail@profpatsch.de>
2020-07-03 r/1186 fix(xanthous): re-add comonad-extras depGriffin Smith1-0/+1
Change-Id: Ie148acf179e3aae304410a588c87ee83e04aafa7 Reviewed-on: https://cl.tvl.fyi/c/depot/+/741 Reviewed-by: BuildkiteCI Reviewed-by: Kane York <rikingcoding@gmail.com> Tested-by: BuildkiteCI
2020-07-03 r/1184 chore(xan): Gitignore data directoryGriffin Smith1-0/+1
I'm using this dir to store save files that are particularly interesting, eg bug reproductions etc. Change-Id: Id6a805d85b3ea2e1171ea3af96303f05c2468070 Reviewed-on: https://cl.tvl.fyi/c/depot/+/893 Reviewed-by: glittershark <grfn@gws.fyi>
2020-07-03 r/1183 fix(gs/emacs): Fix jsonnet-mode map invocationGriffin Smith1-2/+4
Only want to map in normal mode Change-Id: I5034af2a4828c61cd46f68451485a8a90cba7085 Reviewed-on: https://cl.tvl.fyi/c/depot/+/892 Reviewed-by: glittershark <grfn@gws.fyi>
2020-07-03 r/1182 feat(gs/system): Add whitby as a binary cacheGriffin Smith1-8/+12
This appears to be working! which is nice. Change-Id: I06f8d2ff4e9b313073cb76c77a8a9bed0cb52516 Reviewed-on: https://cl.tvl.fyi/c/depot/+/887 Reviewed-by: glittershark <grfn@gws.fyi> Reviewed-by: BuildkiteCI Tested-by: BuildkiteCI
2020-07-03 r/1181 feat(gs:system): steal tazjin's rebuilder scriptGriffin Smith2-1/+37
gonna use this instead of nixos-rebuild switch, in part to get away from global nixpkgs pins. Change-Id: I46e2951660465790adfdf75e6e3413b5c2dfd7c7 Reviewed-on: https://cl.tvl.fyi/c/depot/+/886 Reviewed-by: glittershark <grfn@gws.fyi> Reviewed-by: BuildkiteCI Tested-by: BuildkiteCI
2020-07-02 r/1180 feat(ci-builds): add chupacabraGriffin Smith1-0/+7
My laptop, so I can recompile linux-ck not on my machine Change-Id: Ib42e0440628be6a4d03999220ab2c69b19d6e391 Reviewed-on: https://cl.tvl.fyi/c/depot/+/884 Reviewed-by: BuildkiteCI Reviewed-by: lukegb <lukegb@tvl.fyi> Tested-by: BuildkiteCI
2020-07-02 r/1179 refactor(gs/chupacabra): Vendor urbint configGriffin Smith3-4/+32
If I want to build this on TVL's CI I can't reference ~/code/urb/urbos, obviously, so I'll just vendor it here which is fine Change-Id: I40feb4b29fafae1d3bb0119b7cca1613a4582fdc Reviewed-on: https://cl.tvl.fyi/c/depot/+/885 Tested-by: BuildkiteCI Reviewed-by: glittershark <grfn@gws.fyi> Reviewed-by: BuildkiteCI
2020-07-02 r/1178 feat(gs/system): Configure whitby as a remote builderGriffin Smith1-0/+19
This isn't working, but someday it might Change-Id: Iac20c05b033df3484a7c6908473601bb17c9fcfe Reviewed-on: https://cl.tvl.fyi/c/depot/+/883 Tested-by: BuildkiteCI Reviewed-by: lukegb <lukegb@tvl.fyi> Reviewed-by: BuildkiteCI
2020-07-02 r/1177 refactor: Inline nixos-hardware stuffGriffin Smith1-3/+15
As tazjin pointed out, this is little enough code that pulling it from a global channel is a little silly, so I've just inlined everything. Change-Id: I8750f139a3124135a72737c381215a6e812ce0c3 Reviewed-on: https://cl.tvl.fyi/c/depot/+/882 Tested-by: BuildkiteCI Reviewed-by: lukegb <lukegb@tvl.fyi> Reviewed-by: BuildkiteCI
2020-07-02 r/1176 refactor(gs/chupacabra): Centralize all configGriffin Smith1-0/+31
I previously had some stuff jammed into a hardware-configuration.nix not committed anywhere, which is silly but also prevented building this config as a top-level derivation, so this vendors them all in there Change-Id: Ia76f1d75dcd44aa3e9d86a66c45176afc0946d12 Reviewed-on: https://cl.tvl.fyi/c/depot/+/881 Reviewed-by: BuildkiteCI Reviewed-by: glittershark <grfn@gws.fyi> Tested-by: BuildkiteCI
2020-07-02 r/1165 chore(users/gs): Add SSH public keyGriffin Smith1-0/+4
I generated a new one for whitby, so it's called whitby because that's the only thing I'm going to be using it for. Change-Id: Ie8ebdb1e58c76e447ee3a3ea0b1b244fe000e3e4 Reviewed-on: https://cl.tvl.fyi/c/depot/+/849 Reviewed-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in> Tested-by: BuildkiteCI
2020-07-02 r/1162 feat(gs/emacs): Set compile-command in nix buffersGriffin Smith2-0/+31
When visiting buffers that represent home-manager or nixos modules, set compile-command to the relevant switch command. Change-Id: I565e092d1e6b97eb7fee9d88211c0ee6ebb30b53 Reviewed-on: https://cl.tvl.fyi/c/depot/+/846 Reviewed-by: glittershark <grfn@gws.fyi>
2020-07-01 r/1154 fix(gs/emacs): Sometimes GH returns PRs without an authorGriffin Smith1-2/+3
I don't know why-- but I don't want it breaking this command. Change-Id: I90c28cd21f3a5bc9f0155a88b50b13434fda4c5d Reviewed-on: https://cl.tvl.fyi/c/depot/+/838 Reviewed-by: glittershark <grfn@gws.fyi>
2020-06-30 r/1139 feat(gs/emacs): Bind M m to notmuch/composeGriffin Smith1-4/+1
Change-Id: Ic6945b0508134904fbe435ac3049dbb40b8f7d21 Reviewed-on: https://cl.tvl.fyi/c/depot/+/805 Reviewed-by: BuildkiteCI Reviewed-by: glittershark <grfn@gws.fyi> Tested-by: BuildkiteCI
2020-06-29 r/1124 feat(3p/haskellPackages): port in patches from xanthousGriffin Smith4-67/+13
Add a few relatively uncontroversial patches to fix some broken packages that I had developed for xanthous to the top-level third_party tree, so they can be reused by other people in the monorepo Change-Id: I68740477bda278c5dcc123080029ee4bd2cae37a Reviewed-on: https://cl.tvl.fyi/c/depot/+/740 Reviewed-by: Profpatsch <mail@profpatsch.de> Reviewed-by: tazjin <mail@tazj.in>
2020-06-29 r/1121 fix(xan): Disable comonad-extrasGriffin Smith1-1/+0
Turns out we don't actually need this, and the patch for it doesn't cleanly apply anymore Change-Id: Ifc95496211c7c1c779fd2544f4ff5a51aa3857ab Reviewed-on: https://cl.tvl.fyi/c/depot/+/736 Reviewed-by: glittershark <grfn@gws.fyi>
2020-06-29 r/1118 fix(xan): Build without nixpkgs in NIX_PATHGriffin Smith3-12/+8
CI doesn't have a nixpkgs channel (obvs), and we want to be able to build from the depot tree, so reorder some stuff so we never depend on nixpkgs Change-Id: I99b513a3d7bcd64b6d167335856651e0ca66e33b Reviewed-on: https://cl.tvl.fyi/c/depot/+/734
2020-06-29 r/1116 feat(xan): Any user input cancels autocommandsGriffin Smith1-0/+1
This is quite straightforward - any time the user presses a key that resolves to a command, cancel any active autocommands. Change-Id: Ibb48b0281b0dc6536d75c8957f8c8e5533ff6630 Reviewed-on: https://cl.tvl.fyi/c/depot/+/731 Reviewed-by: glittershark <grfn@gws.fyi>
2020-06-29 r/1115 chore(xan): explicit export list, remove unused pragmaGriffin Smith1-4/+2
Change-Id: I7089850f23b2b9612b6585a2760536fd1178cbc6 Reviewed-on: https://cl.tvl.fyi/c/depot/+/730 Reviewed-by: glittershark <grfn@gws.fyi>
2020-06-28 r/1114 refactor(gs/emacs): Remove outdated capture templatesGriffin Smith1-14/+0
Change-Id: I8f2deb21f8edf46768cfe9346c70bb9b63ba76e4 Reviewed-on: https://cl.tvl.fyi/c/depot/+/729 Reviewed-by: glittershark <grfn@gws.fyi>
2020-06-28 r/1113 feat(gs/home): alias gcc->git checkout canonGriffin Smith1-0/+1
To go along with git checkout master Change-Id: I2a0d09e50cf82368e324e1dfbbd3dc868d30b9f2 Reviewed-on: https://cl.tvl.fyi/c/depot/+/728 Reviewed-by: glittershark <grfn@gws.fyi>
2020-06-28 r/1112 feat(xan): Add a benchmark suiteGriffin Smith6-1/+103
Change-Id: Id31960e7bc2243dfa53dc5e45b09d8253bdef852 Reviewed-on: https://cl.tvl.fyi/c/depot/+/727 Reviewed-by: glittershark <grfn@gws.fyi>
2020-06-28 r/1111 feat(xan): Generate random villagesGriffin Smith12-20/+300
This algorithm is a little rough around the edges right now, but generally the idea is we find a relatively closed-off region of the map, and place rooms randomly on it, expanding them until they run into each other, then we put doors in the walls of the rooms and a single door opening into the region. Later on, we'll generate friendly (or unfriendly!) NPCs to put in those rooms. Change-Id: Ic989b9905f55ad92a01fdf6db11aa57afb4ce383 Reviewed-on: https://cl.tvl.fyi/c/depot/+/726 Reviewed-by: glittershark <grfn@gws.fyi>
2020-06-28 r/1110 feat(xan): Use Witherable in the preludeGriffin Smith7-6/+30
Install the witherable library, expose it in the prelude, and update all call sites that are broken by that change. This is a really nice library, and basically the ideal abstraction layer for what it does. Change-Id: I640e099318c1ecce0ad483bc336c379698bdab88 Reviewed-on: https://cl.tvl.fyi/c/depot/+/725 Reviewed-by: glittershark <grfn@gws.fyi>
2020-06-28 r/1109 feat(xan): Add a Marker entity typeGriffin Smith2-0/+45
It's useful, when developing new level gen techniques, to be able to specially mark certain areas of the map during devlopment. This adds a Marker entity type, which renders as a red X on the map and provides a programmable description when examined. In the future it'll probably be nice to toggle markers on/off just like we do with revealAll, but for now it'll be fine to just remove the code to render them like we do with debug traces. Change-Id: Ief5d090809a0a4cbcc28f90e4902a5e38d42eeb5 Reviewed-on: https://cl.tvl.fyi/c/depot/+/724 Reviewed-by: glittershark <grfn@gws.fyi>
2020-06-26 r/1084 feat(gs/home): Install nsfv-setup from depotGriffin Smith1-0/+8
Change-Id: I17cc6268285d06f64f84f8b0d52a367ad8e3c837 Reviewed-on: https://cl.tvl.fyi/c/depot/+/580 Reviewed-by: glittershark <grfn@gws.fyi>
2020-06-26 r/1083 refactor(gs/home): Install jsonnet from unstableGriffin Smith1-1/+1
Change-Id: I88b7574b8f415a476b15e21e49ba52e9ade5dd7b Reviewed-on: https://cl.tvl.fyi/c/depot/+/579 Reviewed-by: glittershark <grfn@gws.fyi>
2020-06-23 r/1070 feat(users/glittershark): Jsonnet in emacs + systemGriffin Smith3-0/+7
Add jsonnet-mode to emacs, and install jsonnet in the development.nix module in home-manager. Change-Id: I11d6417b6a059de151dbb5407682059e0d5a7d3c Reviewed-on: https://cl.tvl.fyi/c/depot/+/564 Reviewed-by: glittershark <grfn@gws.fyi>
2020-06-23 r/1068 feat(g/emacs): Add template for work org filesGriffin Smith2-0/+35
This includes an attempt at making this work with auto-insert, but that didn't seem to have any effect - can just call it manually now Change-Id: I0eac267b7d3387efd84a2dd0d32b1364fa06f328 Reviewed-on: https://cl.tvl.fyi/c/depot/+/563 Reviewed-by: glittershark <grfn@gws.fyi>
2020-06-22 r/1063 fix(org-gcal): Don't render LOCATION if there isn't oneGriffin Smith1-20/+28
previously it'd just render: :LOCATION: key not found: location Change-Id: I6454c1ef8c6c1096773978add1243097116d1e68 Reviewed-on: https://cl.tvl.fyi/c/depot/+/558 Reviewed-by: glittershark <grfn@gws.fyi>
2020-06-22 r/1062 feat(g/emacs): Use LSP for pythonGriffin Smith1-5/+2
Change-Id: I4d36fc88026b8e266b6f15614a27bb4dbd4ff564 Reviewed-on: https://cl.tvl.fyi/c/depot/+/557 Reviewed-by: glittershark <grfn@gws.fyi>
2020-06-22 r/1061 feat(g/emacs): Break out magit commandsGriffin Smith1-13/+1
Since these are defined in tvl.el now Change-Id: I34c249dceef33dac46ffe5db8b42f057d2c12a4c Reviewed-on: https://cl.tvl.fyi/c/depot/+/556 Reviewed-by: glittershark <grfn@gws.fyi>
2020-06-22 r/1059 fix(xanthous): Make floodFill fasterGriffin Smith1-1/+4
Speed up the floodFill algorithm by sprinkling in some strictness and specializing it to the only type it's currently called at anyway. Change-Id: I4557fc51b1c1036c127bfd5bee50748d8692ae74 Reviewed-on: https://cl.tvl.fyi/c/depot/+/555 Reviewed-by: glittershark <grfn@gws.fyi>
2020-06-22 r/1058 feat(xanthous): install hp2prettyGriffin Smith1-0/+1
heap profiling woo Change-Id: Ie14bc81e9278e3c0d65bd22efc24cfaae43369ca Reviewed-on: https://cl.tvl.fyi/c/depot/+/554 Reviewed-by: glittershark <grfn@gws.fyi>
2020-06-22 r/1057 chore(xan): Install ghc-prof-flamegraphGriffin Smith2-3/+21
Some things are slow, and it's time to profile them Change-Id: I6a915db8bcc85adc7c3902a407cebb5a6f52d514 Reviewed-on: https://cl.tvl.fyi/c/depot/+/553 Reviewed-by: glittershark <grfn@gws.fyi>
2020-06-19 r/1042 feat(gs/emacs): actually require tvlGriffin Smith1-0/+1
Change-Id: Iba79c85ebc87c6df13d69781255b3f6645233c2c Reviewed-on: https://cl.tvl.fyi/c/depot/+/506 Reviewed-by: glittershark <grfn@gws.fyi>
2020-06-19 r/1037 feat(g/emacs): Install tvlGriffin Smith1-2/+3
Change-Id: I5f923125b27890b14dc5b6a375861186406f5333 Reviewed-on: https://cl.tvl.fyi/c/depot/+/495 Reviewed-by: glittershark <grfn@gws.fyi>
2020-06-19 r/1035 feat(g/emacs): Install dottime from depot via nixGriffin Smith3-2/+19
To test out emacs package installs from depot Change-Id: Ia8bb370d671c566c6ce8de08b47925ec3a1653e4 Reviewed-on: https://cl.tvl.fyi/c/depot/+/493 Reviewed-by: glittershark <grfn@gws.fyi>
2020-06-18 r/1024 feat(g/emacs): Add magit suffix for push-and-submitGriffin Smith1-1/+13
Gerrit supports pushing, reviewing and submitting in one go, which will make pushing to my own emacs/system/etc. config way simpler Change-Id: Ie1eec7c1e56a9549e63fb81de6b6791647da6c4e
2020-06-18 r/1023 feat(g/emacs/grid): Allow finding repositoriesGriffin Smith1-2/+20
Change-Id: Idbc3cc90587a5c64a246e7e2097efcec6cefdc5c
2020-06-16 r/998 fix(gws.fyi): fix typo in soundcloud linkGriffin Smith1-1/+1
don't know how *this* got in there Change-Id: I73102136d90127a40697ae5c39382c6739a76091 Reviewed-on: https://cl.tvl.fyi/c/depot/+/430 Reviewed-by: glittershark <grfn@gws.fyi>
2020-06-16 r/997 feat(gws.fyi): link to last.fmGriffin Smith1-1/+2
Change-Id: I12397453b25b40a0283254ee1da9541c3512d8ac Reviewed-on: https://cl.tvl.fyi/c/depot/+/429 Reviewed-by: glittershark <grfn@gws.fyi>
2020-06-16 r/996 feat(gws.fyi): link to my monorepo dirGriffin Smith1-3/+6
If my work is going here anyway, might as well link to it alongside github Change-Id: Ib686f14c16180d24fe9b8647b2297f6a1a569760 Reviewed-on: https://cl.tvl.fyi/c/depot/+/427 Reviewed-by: glittershark <grfn@gws.fyi>
2020-06-16 r/991 fix(gws.fyi): Gitignore letsencrypt dirGriffin Smith1-0/+1
Change-Id: Ife765377a8a8facd59a391a9c3e3e328f2f5e041 Reviewed-on: https://cl.tvl.fyi/c/depot/+/426 Reviewed-by: glittershark <grfn@gws.fyi>
2020-06-16 r/989 feat(gws.fyi): Make title work properly in indexGriffin Smith4-8/+32
This is remarkably silly, but it gets the job done Change-Id: Ifbc57988a59c4f51a3bba0ed8ad397cb9855d8ab Reviewed-on: https://cl.tvl.fyi/c/depot/+/423 Reviewed-by: glittershark <grfn@gws.fyi>
2020-06-16 r/988 feat(gws.fyi): add org config fileGriffin Smith1-0/+3
Change-Id: Ie4c7f3648cb2ee5150d8bcab8f8ebcd51c851869 Reviewed-on: https://cl.tvl.fyi/c/depot/+/422 Reviewed-by: glittershark <grfn@gws.fyi>
2020-06-16 r/986 feat(gws.fyi): Build from org + integrate with readTreeGriffin Smith6-34/+75
Build from org via emacs --batch, and update all the top-level definitions to make things work nicely with readTree. Change-Id: If0ac49c1d264856392e29b9e7b155641d865525b Reviewed-on: https://cl.tvl.fyi/c/depot/+/400 Reviewed-by: glittershark <grfn@gws.fyi>
2020-06-16 r/981 feat(gws.fyi): add current source of gws.fyiGriffin Smith6-0/+80
This will soon be replaced with a pile of org, but for now- HTML! Change-Id: I54c15d5734fd3662ea4916553e0cd1b32cc0681f Reviewed-on: https://cl.tvl.fyi/c/depot/+/395 Reviewed-by: glittershark <grfn@gws.fyi>
2020-06-16 r/980 fix(g/xanthous): Make xanthous readTree-compatibleGriffin Smith1-0/+2
readTree passes in some extra args that we can generally just ignore Change-Id: I2607421da086cfef0502695bcf5658f6d4dbb44d Reviewed-on: https://cl.tvl.fyi/c/depot/+/394 Reviewed-by: glittershark <grfn@gws.fyi>