about summary refs log tree commit diff
path: root/users/tazjin
AgeCommit message (Collapse)AuthorFilesLines
2022-07-28 r/4338 fix(tazjin/predlozhnik): questions in предложный do not retain оVincent Ambo1-1/+1
Change-Id: If8d5acabbd6e9be9a72ae400626b25d652b1e297 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5993 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su>
2022-07-28 r/4336 fix(tazjin/predlozhnik): typo fix & soft noscript landingVincent Ambo2-2/+11
Change-Id: I6a5ce127d9bfa6e48b5a58ccfbbe684d7eb863ba Reviewed-on: https://cl.tvl.fyi/c/depot/+/5991 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su>
2022-07-28 r/4335 feat(predlozhnik): monetizeVincent Ambo2-4/+22
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 r/4334 style(predlozhnik): make the page look a bit more invitingVincent Ambo4-37/+73
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-27 r/4332 feat(tazjin/polyanka): host predlozhnik.ruVincent Ambo2-0/+11
Change-Id: I190865e1bf560129d6345009b0ec0cc0d3d9cc9a Reviewed-on: https://cl.tvl.fyi/c/depot/+/5987 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su>
2022-07-27 r/4331 fix(predlozhnik): о -> тоже предложный падежVincent Ambo1-1/+1
Change-Id: I5180eee14ebb8f50bdb62568aa51545bc5aef9f9 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5986 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su>
2022-07-27 r/4330 fix(predlozhnik): нет -> только родительный падежVincent Ambo1-1/+1
Change-Id: I4ce6e6db474529a29823d1dc324ab86c5e351c0c Reviewed-on: https://cl.tvl.fyi/c/depot/+/5985 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su>
2022-07-27 r/4329 feat(predlozhnik): wire up the actual предлог/вопрос matchingVincent Ambo1-7/+14
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 r/4328 feat(predlozhnik): implement fever-dream like case selectionVincent Ambo1-4/+97
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 r/4327 refactor(predlozhnik): use BTreeSet's for the ... setsVincent Ambo1-48/+49
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 r/4326 feat(tazjin/predlozhnik): implement logic to restrict inputsVincent Ambo1-8/+62
Change-Id: I3e5a5ba02b5f9fcaeeddb499e243ad3b55cf3d82 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5981 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su>
2022-07-27 r/4325 feat(tazjin/predlozhnik): bootstrap yew/wasm-based web UIVincent Ambo5-3/+528
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 r/4323 feat(tazjin/predlozhnik): check in initial list of предлогиVincent Ambo4-0/+138
Change-Id: I3bc4f46964e50c8748306e579126be0192a89284 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5978 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su>
2022-07-21 r/4312 docs(tazjin/blog): update wallet & phone in tools listVincent Ambo1-16/+17
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-14 r/4303 fix(tazjin/home): persist syncthing configurationVincent Ambo1-0/+1
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 r/4302 fix(tazjin/nixos): disable broken NetworkManager-wait-online.serviceVincent Ambo1-1/+4
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 r/4301 fix(tazjin/nixos): only persist /etc/machine-id if its unset via nixVincent Ambo1-2/+2
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 r/4300 chore(tazjin/nixos): use powertop only on zamalekVincent Ambo2-1/+1
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 r/4299 feat(tazjin/home): enable syncthing serviceVincent Ambo1-0/+2
Change-Id: I205db40e7673e06f854de5375ab89d01a1bef776 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5947 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su>
2022-07-14 r/4298 feat(tazjin/zamalek): enable avahi daemonVincent Ambo1-0/+1
Change-Id: Ibbff85955482a4e0e4e56f6cc677c85bab6e9ba4 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5946 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su>
2022-07-12 r/4296 fix(tazjin/tverskoy): add myself to vboxusersVincent Ambo1-0/+1
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-05 r/4277 feat(tazjin/nixos): install thunderbirdVincent Ambo2-0/+2
sometimes I need a GUI mail client for stuff Change-Id: I956e804b7167571e535556ad02a50637621b01bf Reviewed-on: https://cl.tvl.fyi/c/depot/+/5923 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su> Reviewed-by: sterni <sternenseemann@systemli.org> Autosubmit: tazjin <tazjin@tvl.su>
2022-07-01 r/4269 feat(tazjin/nixos): always run powertop --auto-tune on laptopsVincent Ambo1-0/+1
Change-Id: I7c9e9617f646beaa4b5f0cdddd6e7946b18a7395 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5909 Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
2022-06-16 r/4240 chore(tazjin/emacs): keep only one workspace on tverskoy's screenVincent Ambo1-2/+2
this machine is now sort of permanently stationed in the office, and thus permanently connected to the big screen. with this setup, it's comfortable to have it available for a single workspace (e.g. for videos playing there), but it's too confusing and unergonomic to use that screen for anything else. Change-Id: I03556b777c79f68d65d4d8bf1ba1f18982650a8b Reviewed-on: https://cl.tvl.fyi/c/depot/+/5872 Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
2022-06-14 r/4238 refactor(3p): fetch impermanence via nivVincent Ambo3-3/+2
Change-Id: Ic6bc463304643a7f983a5f7c182f95a7706ca35b Reviewed-on: https://cl.tvl.fyi/c/depot/+/5868 Reviewed-by: tazjin <tazjin@tvl.su> Reviewed-by: sterni <sternenseemann@systemli.org> Autosubmit: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
2022-06-14 r/4237 fix(tazjin/nixos): Disable localtimedVincent Ambo2-2/+5
It only sometimes works and that's not enough times. Change-Id: I11c1bc6e5c2eec4706bd935352188ffa83057c8f Reviewed-on: https://cl.tvl.fyi/c/depot/+/5869 Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
2022-06-14 r/4236 chore(tazjin/tverskoy): Put / on ZFS instead of tmpfsVincent Ambo1-3/+2
Maybe this will lead to me being able to log in to this machine again eventually. Change-Id: I348d6ea3b8d4cc6b8083766669ba1371b3d1216b Reviewed-on: https://cl.tvl.fyi/c/depot/+/5866 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su>
2022-06-13 r/4234 chore(tazjin/nixos): update initial hashed passwordVincent Ambo1-1/+1
I still have the issue where after reboots I can't log in to my machines without going through a horrible dance with booting a NixOS installer and so on. I suspect this has somethign to do with this initial hashed password set here, but I was unable to verify what password I've actually set up there, so I'm resetting it to a known string to verify my theory. Change-Id: Ic9d495255ca48110920cf2df371946ac146dcd72 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5865 Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
2022-06-11 r/4233 fix(tazjin/zamalek): Stop NetworkManager meddling with DNS settingsVincent Ambo1-0/+1
Change-Id: I3a00d23a604aa56f7a566a1caac0314cad90deff Reviewed-on: https://cl.tvl.fyi/c/depot/+/5863 Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
2022-06-09 r/4231 feat(tazjin/nixos): install volumeiconVincent Ambo1-0/+1
Change-Id: I28977356c5a051addb1bb98e3c2aa2c81494fd74 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5861 Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
2022-06-08 r/4230 chore(3p/sources): Bump channels & overlayssterni1-1/+1
* //users/tazjin: the services.localtime module was renamed https://github.com/NixOS/nixpkgs/pull/175831#issuecomment-1146590790 * //3p/nixpkgs: glimpse is broken, pick it from stable channel Change-Id: I4ea3f243e4575d3d7992ee6377fa9890c46db1ed Reviewed-on: https://cl.tvl.fyi/c/depot/+/5848 Tested-by: BuildkiteCI Reviewed-by: grfn <grfn@gws.fyi> Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: sterni <sternenseemann@systemli.org>
2022-05-30 r/4192 fix(tazjin/nixos): Always install moreutils everywhereVincent Ambo1-0/+1
I keep having this in the user env instead, not good. Change-Id: I683efc9782281053cb4aee1875c3a664c8dcdae8 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5794 Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
2022-05-30 r/4191 chore(tazjin/nixos): Cleanup of systemPackagesVincent Ambo1-4/+3
Change-Id: Ica651a2c392dc33b4f076e097d7b3889d50d96c6 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5793 Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
2022-05-30 r/4190 chore(3p/sources): Bump channels & overlayssterni1-1/+1
This time, the emacs-overlay seems to have unbroken itself. * //users/tazjin: use zfs.latestCompatibleLinuxPackages instead of linuxPackages_latest, since ZFS needs time to catch up (i.e. ZFS is broken with a 5.18 kernel). See https://github.com/NixOS/nixpkgs/pull/174091#issuecomment-1137175076 Change-Id: I8d1123af236a5e56618f6ac7a2e22511594b7d4b Reviewed-on: https://cl.tvl.fyi/c/depot/+/5792 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: sterni <sternenseemann@systemli.org>
2022-05-29 r/4187 revert(users/tazjin): Revert "Welcome to the danger zone!"tazjin1-1/+0
This reverts commit ad7f07e6f1a10e3a16cb01113fb687b2f539d891. Reason for revert: This was just a test of b/167. Change-Id: I1f709ed1c76c69555bf987370d4e521bd61e915e Reviewed-on: https://cl.tvl.fyi/c/depot/+/5801 Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
2022-05-29 r/4186 feat(users/tazjin): Welcome to the danger zone!Vincent Ambo1-0/+1
Debugging b/167. Just ignore this. Change-Id: I516f52b34a2777a0e40e98cda43bb090720a70af Reviewed-on: https://cl.tvl.fyi/c/depot/+/5785 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: tazjin <tazjin@tvl.su>
2022-05-27 r/4149 chore(3p/sources): Bump channels & overlayssterni1-1/+1
* //nix/buildLisp: disable CCL once again due to The Mysterious Runtime Bug™. * //users/tazjin/nixos: uninstall dmd which is broken in nixpkgs atm. Change-Id: I8dd2220af48a7e087584b6f50529fb8477e6a2fb Reviewed-on: https://cl.tvl.fyi/c/depot/+/5699 Tested-by: BuildkiteCI Autosubmit: sterni <sternenseemann@systemli.org> Reviewed-by: tazjin <tazjin@tvl.su>
2022-05-26 r/4145 chore(tazjin/home): persist another path on both laptopsVincent Ambo2-1/+1
Change-Id: I57f174c66b06212cf6fbce26ec9097a83b24abd0 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5693 Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
2022-05-26 r/4137 refactor(tazjin): Additional restricted-eval cleanupVincent Ambo2-22/+7
Change-Id: I4baa94f65a16248023b5fb0e2dd305d6984566c8 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5690 Reviewed-by: tazjin <tazjin@tvl.su> Reviewed-by: sterni <sternenseemann@systemli.org> Autosubmit: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
2022-05-26 r/4133 refactor(tazjin/nixos): Prepare for restricted-evalVincent Ambo3-6/+6
Change-Id: I6adbe1d53581dddc4c7c3a44516fbed3a661daff Reviewed-on: https://cl.tvl.fyi/c/depot/+/5689 Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
2022-05-25 r/4111 feat(tazjin/emacs): Configure zetteldeft for MarkdownVincent Ambo1-0/+15
Change-Id: Ib652374d42b6f701a7371325355871f8cc5325f9 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5650 Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
2022-05-25 r/4110 feat(tazjin/emacs): add zetteldeft & deft to prepare for showdownVincent Ambo1-0/+2
The buildup to the showdown of org-roam vs. zetteldeft. I can never quite get into org, but I wanna find a solution to the problem I think I have which I think these solve Change-Id: I03f7ee63b0af8dc3f8c52ad6fa4d6fa5048540bd Reviewed-on: https://cl.tvl.fyi/c/depot/+/5644 Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
2022-05-25 r/4109 revert(tazjin/emacs): Don't ignore messages from blocked sendersVincent Ambo1-3/+1
This reverts commit a989a91f9f13950f50a12c1374bbdccb42cac8c8. This seemingly doesn't work anymore, and it is also not required anymore because I no longer have the problem this solved. Change-Id: I3c9c076b45f9aa865260ce7cb103538f694fe3e0 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5643 Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
2022-05-16 r/4080 fix(tazjin/nixos): force tgsa proxying over IPv4Vincent Ambo1-1/+1
Change-Id: I5b77d1c3a7e19144c0002d2b6f909317cfc62092 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5613 Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
2022-05-16 r/4079 chore(tazjin/tgsa): remove note about long image linksVincent Ambo1-2/+1
this is no longer the case since image links are now forwarded by tgsa with a cache Change-Id: I36216efb5f372115e082a11a51c04736f102debb Reviewed-on: https://cl.tvl.fyi/c/depot/+/5612 Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
2022-05-15 r/4078 feat(tazjin/tgsa): use permanent media links in bbcodeVincent Ambo1-4/+22
uses the tgsa-proxied media links in the message bbcode, leading to stable image serving even if telegram swaps cdn addresses around, as long as their embed page is någorlunda the same. Change-Id: I50af1b3512d4e429fae4a2b3d10395664169e7a1 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5611 Reviewed-by: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
2022-05-14 r/4077 feat(tazjin/tgsa): add stable redirects to telegram imagesVincent Ambo1-5/+53
telegram occasionally changes the upstream urls at which images are served, with old/new partially overlapping in time afaict. with this commit, a new endpoint is added to tgsa at /img/$user/$post_id/$img_idx which serves a redirect to the actual image url that telegram had returned within the last hour (i.e. as per the cache). next step is to use these image urls in the bbcode itself. Change-Id: I9aa5cb56bc444cbe796868346c67f2e1e1b79413 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5610 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su>
2022-05-14 r/4076 refactor(tazjin/tgsa): move error handling one layer upVincent Ambo1-19/+20
this lays the groundwork for adding another handler and returning handler results as `anyhow::Result<rouille::Response>`. needed for the image redirect stuff. Change-Id: I909bd9c2f46f42ea759d50662d7bc36c1f408ed3 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5609 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su>
2022-05-14 r/4075 refactor(tazjin/tgsa): factor out cache access helperVincent Ambo1-13/+21
factor out a function to access telegram posts from the cache, fetching them anew if required. a small behavioural change means that the program now takes a write lock when fetching a post, to avoid simultaneously fetching the same post many times (quite likely once it serves image redirects). Change-Id: If9c1429f86fb118dab90834f349cb222709c3a31 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5608 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su>
2022-05-14 r/4074 feat(tazjin/tgsa): Expire cached telegram entries after one hourVincent Ambo1-5/+22
Telegram expires certain links in messages after some (unknown) amount of time; this commit is the first step to working around that by providing an image URL proxy. In order to do that, we tick two important boxes here: 1. Store an extensible data structure in the cache. 2. Expire them periodically. Change-Id: Iba192d8b71db4493c942d1baf5680bd086f8f60b Reviewed-on: https://cl.tvl.fyi/c/depot/+/5607 Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI