about summary refs log tree commit diff
path: root/fun
AgeCommit message (Collapse)AuthorFilesLines
2020-08-02 r/1545 chore(paroxysm): Bump minimum versions of some dependenciesVincent Ambo2-8/+8
Most of these had already been updated due to how dep constraints are solved, but it can't hurt to make it explicit. Change-Id: I1928f5e43a360505e9205f98d007674f6eaf9830 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1553 Tested-by: BuildkiteCI Reviewed-by: kanepyork <rikingcoding@gmail.com>
2020-08-02 r/1544 chore(paroxysm): Remove no-op minor version constraintsVincent Ambo1-10/+10
... these don't do anything anyways. Change-Id: Id0b21443eda10361bfb384e876bbbf8fa2e97e15 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1551 Tested-by: BuildkiteCI Reviewed-by: kanepyork <rikingcoding@gmail.com>
2020-08-02 r/1543 refactor(paroxysm): Use derive macros from serde crateVincent Ambo3-4/+5
serde_derive is deprecated, the macros have moved behind a feature-gate in serde itself. Change-Id: Ib42e7463a81006e23a4fe8a0e48f494610dc8e4c Reviewed-on: https://cl.tvl.fyi/c/depot/+/1550 Tested-by: BuildkiteCI Reviewed-by: kanepyork <rikingcoding@gmail.com>
2020-08-02 r/1542 refactor(paroxysm): Explicitly macro imports, no more 'extern crate'Vincent Ambo5-19/+16
Removes all but one occurence of `extern crate`, to conform with Rust 2018. The last one is necessary because Diesel is a giant jungle of complicated macros re-exported from private crates, and the current version makes it hard to import those directly instead. Change-Id: Id14165a456d5c3ce6f7a4e0222c611640113eb11 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1549 Tested-by: BuildkiteCI Reviewed-by: kanepyork <rikingcoding@gmail.com>
2020-08-02 r/1541 chore(paroxysm): Bump Cargo dependencies within constraintVincent Ambo1-665/+519
This is just a `cargo update` call. Change-Id: I3b780cd76d97bf69b793a4c573eb3b9c1d59f88b Reviewed-on: https://cl.tvl.fyi/c/depot/+/1548 Tested-by: BuildkiteCI Reviewed-by: kanepyork <rikingcoding@gmail.com>
2020-08-01 r/1520 chore(tazjin): Move wallpapers into my user folderVincent Ambo22-0/+0
Change-Id: I30901967ff0d65ae4a12a5b74c3baec9a6406971 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1511 Reviewed-by: tazjin <mail@tazj.in> Tested-by: BuildkiteCI
2020-07-27 r/1496 chore: Move //fun/tvldb -> //fun/paroxysmVincent Ambo17-8/+8
Say ~my~ its name! Change-Id: I7890318aef984af0f6bc011de32282f16e01cbb3 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1483 Tested-by: BuildkiteCI Reviewed-by: eta <eta@theta.eu.org>
2020-07-14 r/1292 fix(tvldb): unbreak quote grabbingeta1-3/+4
Change-Id: Ib03561bbcc154aeee50a592332a2763ff784bb1d Reviewed-on: https://cl.tvl.fyi/c/depot/+/1165 Tested-by: BuildkiteCI Reviewed-by: eta <eta@theta.eu.org> Reviewed-by: glittershark <grfn@gws.fyi>
2020-07-13 r/1269 feat(tvldb): parse CTCP ACTIONs properly, allow use of aliases in ??! syntaxeta1-2/+10
Change-Id: I3cc0e88a94ea0edc470ff9e0da203f1193d40f9f Reviewed-on: https://cl.tvl.fyi/c/depot/+/1128 Tested-by: BuildkiteCI Reviewed-by: lukegb <lukegb@tvl.fyi> Reviewed-by: glittershark <grfn@gws.fyi>
2020-07-02 r/1173 feat(tvldb): prohibit infinite recursioneta1-2/+19
Change-Id: I63b54e937f4c4fdb823f2e2e91a5a5d8af071a42 Reviewed-on: https://cl.tvl.fyi/c/depot/+/855 Tested-by: BuildkiteCI Reviewed-by: eta <eta@theta.eu.org> Reviewed-by: isomer <isomer@tvl.fyi> Reviewed-by: BuildkiteCI
2020-07-02 r/1161 fix(clbot): s/submitted/applied/isomer1-1/+1
By vote of the IRC channel. Change-Id: I5ea965d45a7d73b0bdcae817d16eaa17e47adcbc Reviewed-on: https://cl.tvl.fyi/c/depot/+/861 Reviewed-by: isomer <isomer@tvl.fyi> Reviewed-by: glittershark <grfn@gws.fyi> Reviewed-by: lukegb <lukegb@tvl.fyi> Reviewed-by: BuildkiteCI Tested-by: BuildkiteCI
2020-07-01 r/1145 style(tvldb): Add blank lines between itemsVincent Ambo3-0/+23
This makes the code slightly more readable. For users that use editors without semantic navigation, this also makes it easier to jump around between items in the files. I looked into whether a rustfmt setting exists for this, but unfortunately the answer is currently no. Change-Id: I37b19fa6ab038c71b924c45dbc12b298e660e8cf Reviewed-on: https://cl.tvl.fyi/c/depot/+/827 Reviewed-by: BuildkiteCI Reviewed-by: eta <eta@theta.eu.org> Tested-by: BuildkiteCI
2020-06-24 r/1075 feat(clbot): allow specifying branch and repo to look at on command lineLuke Granger-Brown1-2/+26
Change-Id: Ib2e37275d770a1e98a526481018514a564a4f73b Reviewed-on: https://cl.tvl.fyi/c/depot/+/569 Reviewed-by: tazjin <mail@tazj.in>
2020-06-16 r/1001 fix(clbot): actually display people's usernames properlyLuke Granger-Brown1-1/+2
Change-Id: Idcbb6ffbb3127520141596cea7883cd137a1ea56 Reviewed-on: https://cl.tvl.fyi/c/depot/+/441 Reviewed-by: eta <eta@theta.eu.org> Reviewed-by: riking <rikingcoding@gmail.com>
2020-06-16 r/993 feat(tvldb): Import the tvldb/paroxysm source, add a Nix derivationeta16-0/+2314
- This imports the tvldb (actually a thing called 'paroxysm') code from https://git.theta.eu.org/eta/paroxysm into the monorepo. - Additionally, I did a nix thing, yay! \o/ (well, with tazjin's help) - 3p/default.nix needed modifying to whitelist pgsql. Change-Id: Icdf13ca221650dde376f632bd2dd8a087af451bf Reviewed-on: https://cl.tvl.fyi/c/depot/+/389 Reviewed-by: tazjin <mail@tazj.in>
2020-06-16 r/992 feat(clbot): insert Unicode ZWS to avoid pinging userseta1-4/+12
Change-Id: I732bf6daa01f5b2099c4f4cbdd21a2ceedc79cb1 Reviewed-on: https://cl.tvl.fyi/c/depot/+/385 Reviewed-by: q3k <q3k@q3k.org> Reviewed-by: lukegb <lukegb@tvl.fyi>
2020-06-16 r/990 feat(clbot): Add IRC support to the IRC bot.Luke Granger-Brown4-26/+158
Change-Id: I183488824882750c46e7216b98ab48e1d8f48096 Reviewed-on: https://cl.tvl.fyi/c/depot/+/343 Reviewed-by: eta <eta@theta.eu.org> Reviewed-by: tazjin <mail@tazj.in>
2020-06-15 r/969 feat(fun/uggc): Install desktop handler in Nix derivationVincent Ambo2-13/+18
This actually registers the desktop entry, so xdg-open etc. start working: tazjin@frog /depot> xdg-open 'uggcf://gjvggre.pbz/alnabgrpu/fgnghf/1272363652679524352' Opening in existing browser session. Change-Id: Ia754cb87470fce2f8d3340d1147f3f01b9914858 Reviewed-on: https://cl.tvl.fyi/c/depot/+/387 Reviewed-by: riking <rikingcoding@gmail.com>
2020-06-15 r/968 feat(fun/uggc): create a rot13 url handlerKane York4-0/+82
Example usage: $ /nix/store/9kgpv4n62vhxs971jkvwvvl3msm4wpm8-uggc/bin/uggc 'uggcf://gjvggre.pbz/alnabgrpu/fgnghf/1272363652679524352' Change-Id: I8fd5f77416116ce1a6ab7f96d3f2c726ef663677 Reviewed-on: https://cl.tvl.fyi/c/depot/+/386 Reviewed-by: tazjin <mail@tazj.in> Reviewed-by: eta <eta@theta.eu.org>
2020-06-15 r/963 chore(clbot): Refactor backoff utility into a separate package.Luke Granger-Brown4-28/+60
It'll be reused by the IRC side of things too. Change-Id: I3d84f3fd5fca6a6d948f331143b14f096d10675d Reviewed-on: https://cl.tvl.fyi/c/depot/+/342 Reviewed-by: tazjin <mail@tazj.in>
2020-06-15 r/962 chore(clbot): Add signal handler to make clbot shutdown cleanly on SIGINT.Luke Granger-Brown1-1/+24
Change-Id: I3c6eeeb99f9d81cdbcb10880c9075ac94c4f5d19 Reviewed-on: https://cl.tvl.fyi/c/depot/+/341 Reviewed-by: tazjin <mail@tazj.in>
2020-06-14 r/957 chore(users/tazjin): Move my avatar to my folderVincent Ambo1-0/+0
Change-Id: If05860cd975f20c6d8fec301cabcc80d49d0dcda Reviewed-on: https://cl.tvl.fyi/c/depot/+/344 Reviewed-by: tazjin <mail@tazj.in>
2020-06-14 r/950 feat(clbot): Create Gerrit watcher and basic clbot binary.Luke Granger-Brown11-0/+1201
gerrit.Watcher is a class which watches the Gerrit stream-events SSH connection and produces events. There's a basic CLBot binary as well, to demonstrate driving it to produce messages on the logging output. It doesn't really do anything else. Change-Id: I274fe0a77c8329f79456425405e2fbdc3ca2edf0 Reviewed-on: https://cl.tvl.fyi/c/depot/+/245 Reviewed-by: tazjin <mail@tazj.in>
2020-06-10 r/888 chore(fun/idual): Switch wakeup light to random coloursVincent Ambo1-1/+1
2020-05-22 r/810 chore: Update from Clang 9 to Clang 10 for all projectsVincent Ambo1-1/+1
2020-05-20 r/783 chore(fun/dt): Use vendored copy of AbseilVincent Ambo1-2/+2
2020-05-14 r/716 feat(fun/idual): Change alarm light from 'morning' to 'sun'Vincent Ambo1-1/+1
The latter is much brighter and warmer, this is probably better.
2020-05-11 r/714 chore(fun/dt): Adjust weightsVincent Ambo1-11/+13
2020-05-11 r/713 feat(fun/dt): Support arbitrary word countsVincent Ambo1-26/+47
2020-05-08 r/707 feat(fun/dt): Implement useful utilityVincent Ambo4-0/+97
2020-04-26 r/692 feat(fun/idual): Introduce real CLI that can send all commandsVincent Ambo3-25/+50
Adds an idualctl CLI that can be used to control the lights.
2020-04-26 r/691 feat(fun/idual): Support multiple simultaneous Broadlink devicesVincent Ambo1-7/+12
There are now two devices in this room, and they're being used simultaneously.
2020-04-26 r/688 feat(fun/idual && nixos/camden): Add light alarm systemd unitsVincent Ambo2-3/+10
Adds a systemd unit to run the idual light alarm using a transient timer created by systemd-run.
2020-04-25 r/687 fix(fun/idual): Hardcode the Broadlink thing's local addressVincent Ambo1-1/+1
2020-04-25 r/686 feat(fun/idual): Implement some utilities for controlling lightsVincent Ambo2-5/+36
This program, if build in its executable form, will try to turn the lights on and put them into "morning mode".
2020-04-25 r/685 feat(fun/idual): Move colour codes into a Python scriptVincent Ambo4-31/+75
This will make them easier to consume for the thing I'm actually trying to do here.
2020-04-25 r/683 docs(fun/idual): Document how to capture codesVincent Ambo1-0/+23
2020-04-25 r/682 feat(fun/idual): Check in captured iDual remote codesVincent Ambo2-0/+42
2020-04-21 r/647 chore(fun): //fun/tvl -> //fun/streamTVLVincent Ambo1-0/+0
Otherwise this is confusing because //web/tvl is now a thing.
2020-04-21 r/646 chore(web/tvl): Bootstrap static assets for TVL pageVincent Ambo1-132/+0
2020-04-21 r/645 chore(fun/tvl): Add more missing personsVincent Ambo1-1/+3
2020-04-21 r/644 style(fun/tvl): Use a different font for the TVL graphVincent Ambo1-15/+15
... plus some other minor changes
2020-04-20 r/643 feat(fun/tvl): Add graph for how loungers know each otherVincent Ambo1-0/+130
Rendered version at https://tazj.in/blobs/tvl.png Rendered using `neato`.
2020-04-19 r/634 feat(fun): Add wallpaper collectionVincent Ambo22-0/+0
2020-04-04 r/619 chore(fun/tvl): Increase framerate to 60fps & limit queue sizeVincent Ambo1-1/+2
The queue size setting will drop frames if the encoding starts to lag behind, which should prevent delay from being introduced on the serving side. Maybe.
2020-04-04 r/613 feat(fun/tvl): Implement hardware-accelerated stream rescalingVincent Ambo2-14/+18
By randomly copy & pasting options that are impenetrable to mere mortals from NVIDIA's developer blog and a bunch of gists scattered throughout the internet, Andi and I managed to "get this to work". The idea is that the x11grab stream should be resized into 720p (which is the maximum supported by Google Meet), but with hardware acceleration.
2020-04-04 r/612 feat(fun/tvl): Initial working ffmpeg -> nginx stream commandVincent Ambo1-0/+14
2020-02-21 r/561 fix(fun/amsterdump): Fix call to os.GetenvVincent Ambo1-1/+1
Not sure how this broken version ended up committed ...
2020-02-21 r/559 chore: Rename pkgs->depot in all Nix file headersVincent Ambo6-19/+19
2020-02-09 r/495 feat(web/blog): Move 'best-tools' doc into a real blog postVincent Ambo1-156/+0