Commit graph

1719 commits

Author SHA1 Message Date
William Carroll
6b3f4113cc feat(wpcarro/emacs): Support default value for al-get
Similar to Elixir's `Map.get/3`.

Change-Id: I736f7e618aafc786a32eeba46ca635cb27db18b6
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6000
Reviewed-by: wpcarro <wpcarro@gmail.com>
Autosubmit: wpcarro <wpcarro@gmail.com>
Tested-by: BuildkiteCI
2022-07-30 01:29:58 +00:00
William Carroll
230c4bbb3e feat(wpcarro/emacs): Package maybe.el
(Temporarily) remove dependency on list.el in favor of dash, which I'm not
thrilled about.

Change-Id: Ic4348ee72582dee63ba07a183f3bda65baa7e2d6
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5999
Reviewed-by: wpcarro <wpcarro@gmail.com>
Autosubmit: wpcarro <wpcarro@gmail.com>
Tested-by: BuildkiteCI
2022-07-30 00:35:51 +00:00
Vincent Ambo
4a4f8f9358 feat(predlozhnik): add rare exceptions for о/между
Change-Id: I17920dd9cd6e881ac0e3613a268e48fb05862c3c
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5997
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
2022-07-29 09:24:13 +00:00
William Carroll
15c9ff4902 feat(wpcarro/emacs): Package al, list, set, struct
Originally I set-out to package `al.el`, but as I started traversing the
dependencies, I needed to package increasingly more packages. I refactored some
of these to prune their dependencies to slay this hydra before it turned into a
never-ending project. I have mixed feelings about this.

I also introduced `ert` and unit tests into my Elisp packaging, so it'll be nice
to have build-time tests that run when Emacs updates land in depot.

Change-Id: I2756dc60888b80255a495e08ae61bd547e6b3db2
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5998
Reviewed-by: wpcarro <wpcarro@gmail.com>
Autosubmit: wpcarro <wpcarro@gmail.com>
Tested-by: BuildkiteCI
2022-07-29 03:35:19 +00:00
Vincent Ambo
caf068253a feat(predlozhnik): allow useful switches with active selection
this lets users switch between all compatible prepositions and cases
for the currently selected combination, which makes the UI a bit
easier to explore.

Спасибо /u/wrest3!

Change-Id: Iaf4e90403c90beb5d75acfa73fd0f5f2cb5035c5
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5996
Reviewed-by: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
2022-07-28 18:47:37 +00:00
Vincent Ambo
1a5e62c076 feat(predlozhnik): add mechanism for displaying exceptions
basically these override the auto-generated explanations for pairings

Change-Id: Ib98f3b7bce005ba4af26cfc850862300177c5175
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5995
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
2022-07-28 18:47:26 +00:00
Vincent Ambo
bcf301d1be fix(tazjin/predlozhnik): обо should not have a separate entry
Change-Id: Ib058226bdd3fbd6df4ab33d99f18b5b1cf92051f
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5994
Reviewed-by: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
2022-07-28 17:50:18 +00:00
Vincent Ambo
dbd45fbb42 fix(tazjin/predlozhnik): questions in предложный do not retain о
Change-Id: If8d5acabbd6e9be9a72ae400626b25d652b1e297
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5993
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
2022-07-28 17:50:18 +00:00
Vincent Ambo
ba682cd91b fix(tazjin/predlozhnik): typo fix & soft noscript landing
Change-Id: I6a5ce127d9bfa6e48b5a58ccfbbe684d7eb863ba
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5991
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
2022-07-28 15:54:43 +00:00
Vincent Ambo
0f1cc9b2bc feat(predlozhnik): monetize
might as well! if it manages to pay for a beer over the lifetime of
the site, it will have been worth it.

Change-Id: I31ba92ffd4d6e55687f5ee624c44d14d366d0e91
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5990
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
2022-07-28 15:16:33 +00:00
Vincent Ambo
ca608d3e9c style(predlozhnik): make the page look a bit more inviting
with some sprinkling of CSS and some different button classes, this
doesn't look half bad!

Change-Id: I49a3af4a77ce58713c735b2401b807062a3efb21
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5989
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
2022-07-28 15:16:33 +00:00
William Carroll
ebbda2484a feat(wpcarro/emacs): Package zle.el
The end-goal is to package all of my Elisp libraries. Why?
- More granular builds/tests
- More explicitly defined dependencies
- Separate personal configuration from library code
- Ease distribution

Change-Id: I2507d129d3a0b3bf0cfe70b9790536a8b2093b96
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5969
Tested-by: BuildkiteCI
Reviewed-by: wpcarro <wpcarro@gmail.com>
Autosubmit: wpcarro <wpcarro@gmail.com>
2022-07-28 13:40:38 +00:00
Vincent Ambo
3ecf0b9d69 feat(tazjin/polyanka): host predlozhnik.ru
Change-Id: I190865e1bf560129d6345009b0ec0cc0d3d9cc9a
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5987
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
2022-07-27 21:54:26 +00:00
Vincent Ambo
0fd8500452 fix(predlozhnik): о -> тоже предложный падеж
Change-Id: I5180eee14ebb8f50bdb62568aa51545bc5aef9f9
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5986
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
2022-07-27 21:54:26 +00:00
Vincent Ambo
a6e538b8bb fix(predlozhnik): нет -> только родительный падеж
Change-Id: I4ce6e6db474529a29823d1dc324ab86c5e351c0c
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5985
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
2022-07-27 21:54:26 +00:00
Vincent Ambo
5134a4809f feat(predlozhnik): wire up the actual предлог/вопрос matching
with this commit the application is sort of functional-ish as
intended.

users can select either cases or prepositions, have the remaining
choices appropriately constrained, and get the right question (i.e.
case) matching when selecting both.

there should be some explanatory translations and it needs to be
prettier, but this kind of does what I wanted.

Change-Id: If5bdaa7f93235dc267bf38cf13c2029f44d68415
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5984
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
2022-07-27 21:54:26 +00:00
Vincent Ambo
134efdab25 feat(predlozhnik): implement fever-dream like case selection
don't look too closely at this, it's kind of insane

Change-Id: I789ddd9dd5a4cf28b3007e38ef1c345e639a5fc1
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5983
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
2022-07-27 21:54:26 +00:00
Vincent Ambo
67b7668e85 refactor(predlozhnik): use BTreeSet's for the ... sets
The stable ordering guarantee will make the output a lot nicer (and
more stable).

Change-Id: I7edd1abb0805e948bc41fe5bc111b3cb54592aac
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5982
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
2022-07-27 21:54:26 +00:00
Vincent Ambo
7b217bbbe1 feat(tazjin/predlozhnik): implement logic to restrict inputs
Change-Id: I3e5a5ba02b5f9fcaeeddb499e243ad3b55cf3d82
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5981
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
2022-07-27 21:54:26 +00:00
Vincent Ambo
d795a05c07 feat(tazjin/predlozhnik): bootstrap yew/wasm-based web UI
this commit is mostly to figure out hwo to build a yew application in
depot using the wasm toolchain. it's a bit finnicky, but could be a
lot worse.

Change-Id: I7804a774f1686a1f308ae1a3f549cd0ae7b5dbeb
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5980
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
2022-07-27 21:54:26 +00:00
Vincent Ambo
7bfc859bfc feat(tazjin/predlozhnik): check in initial list of предлоги
Change-Id: I3bc4f46964e50c8748306e579126be0192a89284
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5978
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
2022-07-27 21:54:26 +00:00
Griffin Smith
c7d966c57b feat(grfn/home): Gitignore private.nix
Change-Id: If1a2ea4b4ec5093a6093bd404b9669824268c86d
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5973
Reviewed-by: grfn <grfn@gws.fyi>
Autosubmit: grfn <grfn@gws.fyi>
Tested-by: BuildkiteCI
2022-07-22 14:43:24 +00:00
Griffin Smith
3903da95e7 fix(grfn/system): Don't use whitby as substituter, only builder
I've found that this is the best way to convince nix to actually prefer
cache.nixos.org - it tries to use whitby as a builder, then if the store
path is already built it just downloads it.

Change-Id: I4c78079bfb0013155feb2d39f60d99779123109e
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5972
Reviewed-by: grfn <grfn@gws.fyi>
Autosubmit: grfn <grfn@gws.fyi>
Tested-by: BuildkiteCI
2022-07-22 14:43:23 +00:00
William Carroll
1edba49adb chore(wpcarro/blog): Fix typo
Oops...

Change-Id: I926246246fddbfd8811dfad745909e740995dd0e
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5945
Tested-by: BuildkiteCI
Reviewed-by: wpcarro <wpcarro@gmail.com>
Autosubmit: wpcarro <wpcarro@gmail.com>
2022-07-22 03:04:54 +00:00
William Carroll
6fbd78d462 feat(wpcarro/blog): SSH Oddities
Another short post about strange encounters in sysadmin-land.

Change-Id: Ie71ca36553440d706ff808af91bed8e09008f909
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5944
Tested-by: BuildkiteCI
Reviewed-by: wpcarro <wpcarro@gmail.com>
Autosubmit: wpcarro <wpcarro@gmail.com>
2022-07-22 03:02:33 +00:00
William Carroll
33f6419d7e refactor(wpcarro/nixos): Define shared nopn.nix module
Shared between `ava` and `tarasco`. Also define `lib/default.nix` to share
utility functions like `usermod` between NixOS configurations.

Change-Id: I65b8d37520426e164c9d5f722bee4731a3c6e641
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5942
Tested-by: BuildkiteCI
Reviewed-by: wpcarro <wpcarro@gmail.com>
Autosubmit: wpcarro <wpcarro@gmail.com>
2022-07-22 03:02:21 +00:00
Vincent Ambo
cd5fa69897 docs(tazjin/blog): update wallet & phone in tools list
Change-Id: I22ef98937d5424dafe367c779e16b56e8ddbf545
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5968
Reviewed-by: tazjin <tazjin@tvl.su>
Autosubmit: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
2022-07-21 15:36:34 +00:00
Griffin Smith
046dbe3501 fix(grfn/emacs): Install jiralib2
I don't want to try to investigate why this isn't happening via
org-tracker, at least right now

Change-Id: I67b8f9a82e7025dde468350a6cc24674c622306e
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5967
Reviewed-by: grfn <grfn@gws.fyi>
Autosubmit: grfn <grfn@gws.fyi>
Tested-by: BuildkiteCI
2022-07-21 03:50:05 +00:00
Griffin Smith
3e17c1613d feat(grfn/system): Enable boot.cleanTmpDir
Change-Id: Idb171cd4baa4c6e54edb8d906559778d005bddb3
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5966
Reviewed-by: grfn <grfn@gws.fyi>
Autosubmit: grfn <grfn@gws.fyi>
Tested-by: BuildkiteCI
2022-07-21 03:50:04 +00:00
Griffin Smith
21dbfd0e8b feat(grfn/system): Configure nvidia drivers for ogopogo
this seems to... work, actually?

Change-Id: Id6df5a8c6755b4eb6eceaafdd6a693f92a0462ba
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5965
Reviewed-by: grfn <grfn@gws.fyi>
Autosubmit: grfn <grfn@gws.fyi>
Tested-by: BuildkiteCI
2022-07-21 03:50:03 +00:00
Griffin Smith
5eb5fa2d9c fix(grfn/home): Don't display battery for ogopogo
there isn't one

Change-Id: I154e1d6a7a3ae1f87242209a175ef32dc43eefe4
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5964
Reviewed-by: grfn <grfn@gws.fyi>
Autosubmit: grfn <grfn@gws.fyi>
Tested-by: BuildkiteCI
2022-07-21 03:50:03 +00:00
Griffin Smith
7ac9b76c3c feat(grfn/system): Add ogopogo
This is my new work desktop

https://en.wikipedia.org/wiki/Ogopogo

Change-Id: I198d8757ff85eec00a303b990efdd2658cbc3e6a
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5963
Tested-by: BuildkiteCI
Reviewed-by: grfn <grfn@gws.fyi>
2022-07-20 02:48:41 +00:00
Profpatsch
c04c66c637 feat(users/Profpatsch/cas-serve): init
A dumb little daemon that stores arbitrary files by content-hash, and
exposes a randomly generated URL by which the file can be fetched
again.

If the same file is uploaded twice, it will only be stored once.
CAS hashes are not exposed to the user, so they can’t figure out
whether a file they know is in the database.

Change-Id: Ie57bc09d429a9f31c8f0fc5f63f78d6a84d650f7
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5952
Tested-by: BuildkiteCI
Reviewed-by: Profpatsch <mail@profpatsch.de>
2022-07-17 17:00:43 +00:00
Vincent Ambo
2763a4ce01 fix(tazjin/home): persist syncthing configuration
Change-Id: I33d8af4c5891422e7dc46f956b9379ec0df577c9
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5951
Reviewed-by: tazjin <tazjin@tvl.su>
Autosubmit: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
2022-07-14 15:40:35 +00:00
Vincent Ambo
fd13a611e1 fix(tazjin/nixos): disable broken NetworkManager-wait-online.service
Change-Id: I7753ccb53ce7a692b79f46e62ce395dfd1770edf
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5950
Reviewed-by: tazjin <tazjin@tvl.su>
Autosubmit: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
2022-07-14 15:32:34 +00:00
Vincent Ambo
6dd8c0e40e fix(tazjin/nixos): only persist /etc/machine-id if its unset via nix
otherwise the files end up clashing with each other, causing annoying
errors on activation

Change-Id: Iaa4df8c50aa183f4a12749c66ee1b7a746d785da
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5949
Reviewed-by: tazjin <tazjin@tvl.su>
Autosubmit: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
2022-07-14 15:28:32 +00:00
Vincent Ambo
9b86f8f208 chore(tazjin/nixos): use powertop only on zamalek
this has weird side effects on the AMD thinkpad (of course), but since
that is stationary in my office anyways the power-saving stuff doesn't
matter so much there.

Change-Id: Ie43e3a86b2da885c25eb5c3eb36683adb14edd1a
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5948
Reviewed-by: tazjin <tazjin@tvl.su>
Autosubmit: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
2022-07-14 15:28:32 +00:00
Vincent Ambo
673796a786 feat(tazjin/home): enable syncthing service
Change-Id: I205db40e7673e06f854de5375ab89d01a1bef776
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5947
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
2022-07-14 15:01:22 +00:00
Vincent Ambo
af9dccb245 feat(tazjin/zamalek): enable avahi daemon
Change-Id: Ibbff85955482a4e0e4e56f6cc677c85bab6e9ba4
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5946
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
2022-07-14 15:01:22 +00:00
William Carroll
3297d01f0a fix(wpcarro/website): Redirect wpcarro.dev traffic
To https://billandhiscomputer.com (instead of the nginx default landing page).

Change-Id: Id08a3a54c0753c20370a45ff6344128f180d52dd
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5904
Reviewed-by: wpcarro <wpcarro@gmail.com>
Autosubmit: wpcarro <wpcarro@gmail.com>
Tested-by: BuildkiteCI
2022-07-12 20:42:43 +00:00
Vincent Ambo
683de4b159 fix(tazjin/tverskoy): add myself to vboxusers
otherwise passing through USB devices is not possible

Change-Id: I3ab52aaae2567f39e483717b74023316fc3d033a
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5941
Autosubmit: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
2022-07-12 17:14:57 +00:00
William Carroll
ab0cca019b feat(wpcarro/nixos): Support laptop.nix module
Define shared laptop configuration. The primary impetus of this change was
`powerManagement.powertop`.

Change-Id: Icbd04a252005ab391dc8f7d5ebf0968af91f2e0c
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5910
Tested-by: BuildkiteCI
Reviewed-by: wpcarro <wpcarro@gmail.com>
Autosubmit: wpcarro <wpcarro@gmail.com>
2022-07-12 04:13:22 +00:00
William Carroll
5188c689bf feat(wpcarro/blog): Short notes post on sudo tee
See post for more information :)

Change-Id: I1e2c1e3997d895fd64f225b5f0bc91f5b26d3e96
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5940
Reviewed-by: wpcarro <wpcarro@gmail.com>
Autosubmit: wpcarro <wpcarro@gmail.com>
Tested-by: BuildkiteCI
2022-07-12 04:01:20 +00:00
Griffin Smith
7885fe99dc feat(grfn/mugwump): Remove bbbg staging
I don't really need this, and it's breaking for reasons I don't
understand

Change-Id: I55e31fe4a97b4b8d9e254695d62639024b6ebbf2
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5939
Tested-by: BuildkiteCI
Reviewed-by: grfn <grfn@gws.fyi>
Autosubmit: grfn <grfn@gws.fyi>
2022-07-11 14:44:44 +00:00
Griffin Smith
8c59414f08 fix(grfn/emacs): Fix angle brace matching in rust-mode
Change-Id: I2dd3fb3d7f82eaa6ec09c2fd845edd26eecd1548
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5938
Tested-by: BuildkiteCI
Reviewed-by: grfn <grfn@gws.fyi>
Autosubmit: grfn <grfn@gws.fyi>
2022-07-11 14:44:43 +00:00
Griffin Smith
0156292099 feat(grfn/home): Install latex bussproofs package
Change-Id: I11da65decbd55c7c5ab9915887280ea4366d3c9d
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5937
Tested-by: BuildkiteCI
Reviewed-by: grfn <grfn@gws.fyi>
Autosubmit: grfn <grfn@gws.fyi>
2022-07-11 14:44:42 +00:00
Griffin Smith
67f9a83aa6 fix(grfn/emacs): Add org-mode setup hook before loading agenda files
Change-Id: I6f5c05e7dd8d7a2ce09965009a2dae213c9a92e6
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5936
Tested-by: BuildkiteCI
Reviewed-by: grfn <grfn@gws.fyi>
Autosubmit: grfn <grfn@gws.fyi>
2022-07-11 14:44:41 +00:00
Griffin Smith
539d69f565 feat(grfn/home): Add binding for extracting patch from email
Change-Id: Id568f8b479cebe547e1ad8a309ccfa395bf99b83
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5935
Tested-by: BuildkiteCI
Reviewed-by: grfn <grfn@gws.fyi>
Autosubmit: grfn <grfn@gws.fyi>
2022-07-11 14:44:40 +00:00
Griffin Smith
a37f0eed21 feat(grfn/home): Add function to purge a readyset deployment
Change-Id: I9d0426fa4a38551f256dc5fe08a1a0115f7915fb
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5934
Tested-by: BuildkiteCI
Reviewed-by: grfn <grfn@gws.fyi>
Autosubmit: grfn <grfn@gws.fyi>
2022-07-11 14:43:38 +00:00
Griffin Smith
bdf614ec3d feat(grfn/home): Install some new rust utilities
Change-Id: I9e210a86a037c58aa832b25203b5ac8c27306aa3
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5933
Tested-by: BuildkiteCI
Reviewed-by: grfn <grfn@gws.fyi>
Autosubmit: grfn <grfn@gws.fyi>
2022-07-11 14:43:37 +00:00