about summary refs log tree commit diff
path: root/.envrc (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2021-06-14 r/2662 feat(gs/emacs): Revamp haskell test-mode snippetGriffin Smith1-5/+10
This is how I'm writing test files for xanthous now, and I'm not writing any other haskell code, so let's update the snippet Change-Id: Ia513490ee1cfc87b3d58ee1a8e94244f2e862963 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3208 Reviewed-by: grfn <grfn@gws.fyi> Tested-by: BuildkiteCI
2021-06-14 r/2661 feat(xanthous): Gormlaks yell in gormlak when they see the characterGriffin Smith6-28/+98
Add a new "greetedCharacter" field to the creature hippocampus type, which tracks whether or not that creature has greeted the character yet. In the gormlak AI, when the gormlak sees the character and starts running towards them, if that field is set to False send a message that says that the gormlak yells a single randomly-generated gormlak word at the character, then set the field to true The gormlak yells "gukblom"! Change-Id: I17a388393693a322c2e09390884ed718911b2fc4 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3207 Reviewed-by: grfn <grfn@gws.fyi> Tested-by: BuildkiteCI
2021-06-14 r/2660 feat(xanthous): Add a method to get the name for a type of entityGriffin Smith4-1/+35
I didn't end up using this directly for the thing I was doing, but it still seems generally useful enough that I'm keeping it around for now Change-Id: I05c8902d75845f2230ec2373a9677d61cfaafafd Reviewed-on: https://cl.tvl.fyi/c/depot/+/3206 Reviewed-by: grfn <grfn@gws.fyi> Tested-by: BuildkiteCI
2021-06-14 r/2659 feat(xanthous): Store language on creaturesGriffin Smith2-1/+29
Add a new "language" field to the CreatureType raw type, which references the *name* of the language that creature speaks (this is so that different creatures can speak the same language without having to duplicate the language definition in the raws). At some point this should change to not hardcode the sets of languages and instead define them in data files like we do for creatures, but this is fine as a start. Change-Id: I6708570175e23472cb37e0061a329e54e8eac9c0 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3205 Reviewed-by: grfn <grfn@gws.fyi> Tested-by: BuildkiteCI
2021-06-14 r/2658 feat(xanthous): BangPattern all fields in RawsGriffin Smith1-10/+10
This is generally just good practice for foundational data-types like these Change-Id: I88c5b6b73dad6665cf25837b8d6a9e0ea66f2b0b Reviewed-on: https://cl.tvl.fyi/c/depot/+/3204 Reviewed-by: grfn <grfn@gws.fyi> Tested-by: BuildkiteCI
2021-06-14 r/2657 feat(xanthous): Extend speech generation to arbitrary wordsGriffin Smith2-24/+102
Wrap up the Phonotactics type into a Language type including both the phonotactics and a distribution of the number of syllables per word, so we can generate arbitrary words in addition to just arbitrary syllables Change-Id: I8a37ce9c0eec019c9b84d21b0f2b3b9f5fd319eb Reviewed-on: https://cl.tvl.fyi/c/depot/+/3203 Reviewed-by: grfn <grfn@gws.fyi> Tested-by: BuildkiteCI
2021-06-13 r/2656 feat(xanthous): Add a generator for random english syllablesGriffin Smith7-26/+216
Add a new "speech" generator module, with the beginnings of the vague definition of the phonotactics of the language (there's one in here for English based on the wikipedia article for English phonology, but it's less than ideal as it has generated words like "sprurlkt") and the ability to generate random syllables of a language by picking an onset, nucleus, and coda from the list for that language (within a range of the number of allowed of each syllable part). This will be used down the road to automatically generate utterances from various non-english-speaking creatures (so the accuracy is less important, just that it "feels real"). Change-Id: I7b81375ec595239c05c5c800cbde1a2a900e38ac Reviewed-on: https://cl.tvl.fyi/c/depot/+/3202 Reviewed-by: grfn <grfn@gws.fyi> Tested-by: BuildkiteCI
2021-06-13 r/2655 refactor(xanthous): Generators -> Generators.LevelGriffin Smith11-39/+40
I'm going to start adding generators for things like text soon, so it makes sense to specifically sequester level generators as their own thing Change-Id: I175025375204fab7d75eba67dd06dab9bd2939d3 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3201 Reviewed-by: grfn <grfn@gws.fyi> Tested-by: BuildkiteCI
2021-06-12 r/2654 feat(atward): Handle plain host queriesVincent Ambo1-0/+28
Redirects host queries with no parameters (e.g. `cs`, `todo`, `b`) to the start page of the appropriate host. Fixes: b/133 Change-Id: I9d9dee753cfb460a97b73f39bbfe3cae54aae89b Reviewed-on: https://cl.tvl.fyi/c/depot/+/3184 Tested-by: BuildkiteCI Reviewed-by: grfn <grfn@gws.fyi>
2021-06-12 r/2653 feat(xanthous): Memoize characterVisiblePositionsGriffin Smith14-88/+285
Memoize the return value of characterVisiblePositions to a new, semi-abstracted "memo" field on the GameState, recalcuclated if the character position ever changes. I'm 90% sure that the perf issues we were encountering were actually caused by characterVisiblePositions getting called once for *every tile* on draw, but this slightly larger change also makes the game perform relatively-usably again. Since this is only recalculated if the character position changes, if we ever get non-transparent entities moving around without the characters influence (maybe something building or knocking down walls?) we'll have an issue there where the vision won't be updated as a result of those changes if they happen while the character is taking a non-moving action - but we can cross that bridge when we come to it. Change-Id: I3fc745ddf0014d6f164f735ad7e5080da779b92a Reviewed-on: https://cl.tvl.fyi/c/depot/+/3185 Reviewed-by: grfn <grfn@gws.fyi> Tested-by: BuildkiteCI
2021-06-12 r/2652 fix(grfn/xanthous): Update shell for new depot structureGriffin Smith1-2/+6
Since 473604f5675c455a65b91e287b125a9e042ae39f (CL/2910), depot hasn't been directly exposing `pkgs` as an attribute, instead exposing it via third_party.nixpkgs - the xanthous shell.nix isn't checked in CI, so it was missed as part of that refactor - this updates it to be in line with that Change-Id: I12b081c16d53c6798f51ec6660ffa6d345870580 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3176 Tested-by: BuildkiteCI Reviewed-by: grfn <grfn@gws.fyi>
2021-06-12 r/2651 refactor(ops): Break out prometheus-fail2ban-exporter moduleGriffin Smith4-35/+72
Break out the configuration for the prometheus fail2ban exporter, which is a simple python script that exports stats from fail2ban as a prometheus-scrapable textfile, from Mugwump into a reusable nixos module in //ops/nixos/modules. Change-Id: I5451c9c5de6c7bc4431150ae596a9c758bf1b693 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3136 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>
2021-06-08 r/2650 feat(gs/emacs): Install telegaGriffin Smith1-0/+2
Change-Id: If677f26fda16fc5511455e877b6fa87f061d522f Reviewed-on: https://cl.tvl.fyi/c/depot/+/3183 Reviewed-by: grfn <grfn@gws.fyi> Tested-by: BuildkiteCI
2021-06-08 r/2649 fix(gs/emacs): Drop dap-modeGriffin Smith2-3/+0
This does not appear to be working Change-Id: I195e44f799981343a7b9dc60b25eb068d5d42530 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3182 Reviewed-by: grfn <grfn@gws.fyi> Tested-by: BuildkiteCI
2021-06-05 r/2648 chore(3p/nixpkgs): Bump channels to 2021-06-05Vincent Ambo5-21/+12
Includes the following depot changes & fixes: * stable moves to NixOS 21.05 * stable isn't used anymore (but we'll keep the mechanism) * haskell overlay's `random` override is removed (YAY!) * grfn/iso: Switch to regular kernel rather than latest kernel, as latest kernel is currently marked as broken due to zfs * grfn/home: Use julia_16-bin temporarily julia 1.5 (current julia-stable, source built release in nixpkgs) doesn't pass its own test suite. Julia 1.6 doesn't have a source built package in nixpkgs yet, so julia_16-bin appears to be the only working julia derivation currently. * tazjin/tverskoy: Use zfs unstable, as stable zfs doesn't work with the latest kernel Co-Authored-By: Griffin Smith <grfn@gws.fyi> Co-Authored-By: sterni <sternenseemann@systemli.org> Change-Id: I6f2e3d9f75077e4755de6bde9104d44b584cbe4c Reviewed-on: https://cl.tvl.fyi/c/depot/+/3174 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org> Reviewed-by: tazjin <mail@tazj.in> Reviewed-by: grfn <grfn@gws.fyi>
2021-06-05 r/2647 feat(gs/emacs): Make buffer-switch command cover all buffersGriffin Smith1-1/+1
I don't really like the perspective-specific stuff after all. Change-Id: I214e481a29ed5734de232d6cbd8fabbc6368359d Reviewed-on: https://cl.tvl.fyi/c/depot/+/3181 Reviewed-by: grfn <grfn@gws.fyi> Tested-by: BuildkiteCI
2021-06-05 r/2646 feat(gs/emacs): Switch to org-trackerGriffin Smith4-33/+35
Work is now using JIRA instead of Clubhouse, so I've started writing org-tracker[0] as a pluggable-backend version of org-clubhouse (I'll probably add github issue support as well!). This switches my personal config to use that instead of org-clubhouse, including the checkout-branch-with-ticket-id stuff I had locally. [0]: https://github.com/glittershark/org-tracker Change-Id: I3cf72d6640b155c92ca9ddd1d9d9b5167367951a Reviewed-on: https://cl.tvl.fyi/c/depot/+/3180 Reviewed-by: grfn <grfn@gws.fyi> Tested-by: BuildkiteCI
2021-06-05 r/2645 refactor(gs/emacs): Don't install mu4eGriffin Smith1-3/+0
I use notmuch instead Change-Id: Ibb7c901beb8caf22d0f22b2de20b41a71c92c358 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3179 Reviewed-by: grfn <grfn@gws.fyi> Tested-by: BuildkiteCI
2021-06-05 r/2644 refactor(gs/emacs): Move all org-config into org-config.elGriffin Smith2-23/+20
For some reason some org config was still living in the global config.el Change-Id: I2145a054ace97b91877a4397a52fd18a5c273434 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3178 Reviewed-by: grfn <grfn@gws.fyi> Tested-by: BuildkiteCI
2021-06-05 r/2643 feat(gs/emacs): Update irc-connect command for new serversGriffin Smith1-3/+9
No longer connecting to freenode - but I *am* now connecting to both hackint and libera, so add a prompt to the command to decide which one I connect to Change-Id: Iae315ddab753cf9c365cbee7abd94213af656d4c Reviewed-on: https://cl.tvl.fyi/c/depot/+/3177 Reviewed-by: grfn <grfn@gws.fyi> Tested-by: BuildkiteCI
2021-06-02 r/2642 feat(gws.fyi): Use awscli2 to deployGriffin Smith1-1/+1
Use awscli2 rather than awscli to deploy - less because I actually need any specific functionality from the new version, and more because I already use awscli2 on my systems and it's nice to always use the same version of stuff Change-Id: Id0e5b63dde1857c2e417ac2eeb2f769ebcc0f956 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3175 Reviewed-by: grfn <grfn@gws.fyi> Tested-by: BuildkiteCI
2021-06-02 r/2641 fix(3p/josh): Temporarily patch instances of master->canonVincent Ambo2-0/+51
... until hardcoded references are removed upstream. This is motivated by HEAD-branch related issues when cloning depot via josh and a naive search for places where `master` was used directly. Change-Id: I46709631d6ee5561344fc5f407324bcf69c641e2 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3171 Tested-by: BuildkiteCI Reviewed-by: cschilling <christian.schilling.de@gmail.com> Reviewed-by: sterni <sternenseemann@systemli.org>
2021-06-02 r/2640 chore(3p/josh): Bump to most recent commitVincent Ambo1-2/+2
Includes a potentially relevant fix (anonymous authentication with the correct username). Change-Id: Iabf2eff43e98cc8b7b998ead3775b1fc8f1dfac6 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3173 Tested-by: BuildkiteCI Reviewed-by: cschilling <christian.schilling.de@gmail.com>
2021-06-02 r/2639 chore(3p/naersk): Bump version to latest commitVincent Ambo1-5/+3
There have been a few relevant fixes. Change-Id: I84b6fb645703972b03f1210cb69d03467caefbfa Reviewed-on: https://cl.tvl.fyi/c/depot/+/3172 Reviewed-by: grfn <grfn@gws.fyi> Tested-by: BuildkiteCI
2021-06-01