about summary refs log tree commit diff
path: root/users/tazjin/emacs (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2022-02-14 r/3823 fix(tazjin/emacs): suppress emacs warnings in warnings bufferVincent Ambo1-0/+9
Change-Id: I78e431da01dc900344044f1571e35565f8361f3a Reviewed-on: https://cl.tvl.fyi/c/depot/+/5281 Autosubmit: tazjin <tazjin@tvl.su> Reviewed-by: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
2022-02-14 r/3822 feat(users/Profpatsch/netencode): ignore earlier record entriesProfpatsch2-6/+8
It turns out that the netencode spec requiring to ignore *later* entries meant that every parser has to do an extra check for each element, instead of just overriding the key in the hash map. This leads to a situation where the simple implementation is the wrong one, which would lead to very subtle problems in parsers (see also the infamous “json duplicate record entry” problem which has been used for various exploits in the past). To be fair, exploits are still possible, but at least a `Map.fromList` will be the right implementation (provided it folds from the left) now instead of the wrong one. Examples of the trivial implementation being now right: Python: > dict([("foo", 1), ("foo", 2)]) {'foo': 2} Rust: > println!("{:?}", HashMap::from([ ("foo", 1), ("foo", 2) ])); {"foo": 2} Haskell: > Data.Map.fromList [ ("foo", 1), ("foo", 2) ] fromList [("foo",2)] Change-Id: Ife9593956f4718e5e720f4f348c227e4f3a71e2d Reviewed-on: https://cl.tvl.fyi/c/depot/+/5108 Tested-by: BuildkiteCI Reviewed-by: Profpatsch <mail@profpatsch.de> Reviewed-by: sterni <sternenseemann@systemli.org> Autosubmit: Profpatsch <mail@profpatsch.de>
2022-02-14 r/3821 feat(tvl-kit): add magrathea to TVL kitVincent Ambo3-0/+5
this tool is generically useful for other TVL-like setups Change-Id: I182259a7ddb61b4ebdce98ef7893a0ac58a6baec Reviewed-on: https://cl.tvl.fyi/c/depot/+/5271 Tested-by: BuildkiteCI Autosubmit: tazjin <tazjin@tvl.su> Reviewed-by: ezemtsov <eugene.zemtsov@gmail.com>
2022-02-13 r/3820 feat(wpcarro/emacs): support avyWilliam Carroll2-0/+8
Trying out this workflow for awhile to see if I save some keystrokes. Change-Id: I28532be04b1de971559c8df5a3717facbdfc4f00 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5278 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-02-13 r/3819 chore(3p/rustsec-advisory-db): track using nivsterni3-27/+20
This will make sure that the db is updated regularly (on every channel bump). This is fine, because an advisory no longer implies a build failure. Change-Id: I1dc0b335e0881b5c58015da63c3c47f1ab1e645f Reviewed-on: https://cl.tvl.fyi/c/depot/+/4554 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su>
2022-02-13 r/3818 feat(rust-crates-advisories): check 3p crates together w/ lock filessterni1-74/+20
Instead of the strict check-all-our-crates, generate a fake Cargo.lock and add it to the report generated by check-all-our-lock-files. check-all-our-crates was a reimplementation of cargo-audit anyways and prevented us from updating the advisory db due to its strict model (failing on any advisory). Change-Id: I264a7f1a5058a527cbc46d26225352ecd437a22b Reviewed-on: https://cl.tvl.fyi/c/depot/+/5230 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su>
2022-02-13 r/3817 refactor(rust-crates-advisory): split code for buildkite and reportsterni1-20/+28
Rename check-all-our-lock-files to tree-lock-file-report and pull out all the buildkite-specific code which makes the code less awkward. check-all-our-lock-files is then only executed in extraSteps and runs tree-lock-file-report on depot, adding it as a warning to the pipeline if it is non-empty. Change-Id: If6bd236d90cc680cba0ed4e988f2f28ddb8012d6 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5229 Tested-by: BuildkiteCI Reviewed-by: Profpatsch <mail@profpatsch.de>
2022-02-13 r/3816 refactor(rust-crates-advisory): move report generation into scriptsterni2-50/+43
This script is somewhat usable by humans (it even has a help screen!) and can be reused in //users/sterni/nixpkgs-crate-holes. We are using bash since that allows us to exit with the actual exit code of cargo-audit - something that's not possible in execline. Change-Id: I3331ae8222a20e23b8e30dc920ab48af78f0247c Reviewed-on: https://cl.tvl.fyi/c/depot/+/5228 Tested-by: BuildkiteCI Reviewed-by: Profpatsch <mail@profpatsch.de>
2022-02-13 r/3815 fix(3p/josh): Require HTTP authentication when pushing backVincent Ambo2-0/+47
With this change it becomes possible to push back to code.tvl.fyi through josh views. We probably want to change this patch so that it can be upstreamed, but for now I just want to get this to work. Change-Id: I7cdacf384e38da6ba9621e5818cfaf7c5d5c99a2 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5273 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org> Autosubmit: tazjin <tazjin@tvl.su>
2022-02-13 r/3814 refactor(web/panettone): Use postmodern connection poolsVincent Ambo3-60/+61
Instead of managing Postgres connections on our own, use the `with-connection` postmodern function with pooling enabled as a route decorator. This should resolve at least some of the issues from b/113 with leaking connections, and an unreported issue with connections being reused while transactions are in progress. Change-Id: I1ed68667a3240900de1ae69df37d2d3018caf204 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5198 Tested-by: BuildkiteCI Reviewed-by: eta <tvl@eta.st> Autosubmit: tazjin <tazjin@tvl.su>
2022-02-13 r/3813 fix(magrathea): print [mg] messages to stderrsterni1-2/+2
I want to add a shortcut to build and run e.g. scripts that are depot targets - for which it would be useful to not have stdout polluted by magrathea itself. Change-Id: Ic58fe28eafb4d0715e53beae041bfaa5d1745812 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5276 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su>
2022-02-13 r/3812 chore(3p/sources): Bump channels & overlayssterni3-12/+12
* //nix/buildLisp: re-enable CCL, as the crash has been fixed upstream, although it is unclear what exactly caused / fixed it. * //ops/whitby: the kitty build broke upstream, so we can't install the terminfo on whitby for a bit. Change-Id: I5710acbe837fbc936e334b2e81f9cf00ed6ae280 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5274 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su>
2022-02-13 r/3811 feat(wpcarro/emacs): define window-manager-workspace-moveWilliam Carroll1-14/+11
Wrapper around `exwm-workspace-move` but uses `completing-read` and understands my named-workspace structs. Change-Id: Ibe565b3afaeec5c4a7f2b6d2d0c9c21bc8006962 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5275 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-02-13 r/3810 chore(3p/josh): Update to latest masterVincent Ambo1-2/+2
Change-Id: Id0d9bab7583169c24b158050c73fd7e63e5267bb Reviewed-on: https://cl.tvl.fyi/c/depot/+/5272 Autosubmit: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org> Reviewed-by: wpcarro <wpcarro@gmail.com>
2022-02-12 r/3809 feat(wpcarro/ssh): Add public SSH key for SVL 🔑William Carroll1-1/+2
What he said ^ Change-Id: Ie6f73958a98d3edd9edb91a7738ca233c42810c8 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5159 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-02-12 r/3808 chore(wpcarro/docs): wpcarro.dev -> billandhiscomputer.comWilliam Carroll1-1/+1
Stale documentation... Change-Id: I1761b865fa8b62b64acff8664d265997201ebb8f Reviewed-on: https://cl.tvl.fyi/c/depot/+/5181 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-02-12 r/3807 feat(wpcarro/diogenes): Support rebuild-diogenesWilliam Carroll4-133/+166
- deploy-diogenes: terraform updates + NixOS rebuilds - rebuild-diogenes: NixOS rebuilds Change-Id: Ibd6db7115d9919fa44ee9d318f88e1bf29e2bdce Reviewed-on: https://cl.tvl.fyi/c/depot/+/5160 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-02-10 r/3806 feat(wpcarro/org): remember to expense home internetWilliam Carroll1-0/+1
...because free just tastes better Change-Id: I7ca24be7e5e339844f8bfbbb6fc0e7a6efceb02b Reviewed-on: https://cl.tvl.fyi/c/depot/+/5270 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-02-08 r/3805 feat(wpcarro/playbooks): add go/hallpass reminderWilliam Carroll1-0/+1
gotta get paid Change-Id: If942281b3e8a20e883c96f8332170c0f73f2ddac Reviewed-on: https://cl.tvl.fyi/c/depot/+/5268 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-02-08 r/3804 fix(wpcarro/playbooks): update first-of-the-month.orgWilliam Carroll2-13/+5
TL;DR: - remove stale entries - add entry for buying TSLA for 401k - (partially) normalize habits.org by referencing ./first-of-the-month.org Background: Earlier today I automated as much of my investments as I can... - crypto account auto-buys crypto 2x/mo - Fidelity doesn't support auto-purchases of individual stocks, so I opened a Robinhood account to auto-purchase stock 2x/mo The only remaining thing that AFAIK I *cannot* automate is auto-stock-purchases for TD Ameritrade (my SDBO 401k account). I don't think I can transfer this to Robinhood because Vanguard controls which brokerages they're compatible with. This should still be a big time-saver. As such, it's time to rely on playbooks for this, so I'm dusting-off the first-of-the-month.org playbook. Change-Id: I545f8de20a0a30cac597400c4114b4549671a91d Reviewed-on: https://cl.tvl.fyi/c/depot/+/5267 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-02-08 r/3803 fix(wpcarro/josh): remove unnecessary ::READMEWilliam Carroll1-1/+0