Commit graph

92 commits

Author SHA1 Message Date
Vincent Ambo
dff91042fd feat(fun/idual): Implement some utilities for controlling lights
This program, if build in its executable form, will try to turn the
lights on and put them into "morning mode".
2020-04-25 23:14:07 +01:00
Vincent Ambo
e7aaa0bc2f feat(fun/idual): Move colour codes into a Python script
This will make them easier to consume for the thing I'm actually
trying to do here.
2020-04-25 22:17:14 +01:00
Vincent Ambo
c79edb5243 docs(fun/idual): Document how to capture codes 2020-04-25 21:43:08 +01:00
Vincent Ambo
6ee6966a2a feat(fun/idual): Check in captured iDual remote codes 2020-04-25 21:41:05 +01:00
Vincent Ambo
97c7ebf758 chore(fun): //fun/tvl -> //fun/streamTVL
Otherwise this is confusing because //web/tvl is now a thing.
2020-04-21 03:03:42 +01:00
Vincent Ambo
cb62e87b77 chore(web/tvl): Bootstrap static assets for TVL page 2020-04-21 03:03:33 +01:00
Vincent Ambo
0bc619e1d0 chore(fun/tvl): Add more missing persons 2020-04-21 02:37:27 +01:00
Vincent Ambo
fd13489cc9 style(fun/tvl): Use a different font for the TVL graph
... plus some other minor changes
2020-04-21 00:28:22 +01:00
Vincent Ambo
9ff5d46034 feat(fun/tvl): Add graph for how loungers know each other
Rendered version at https://tazj.in/blobs/tvl.png

Rendered using `neato`.
2020-04-20 23:55:45 +01:00
Vincent Ambo
55eba03d6e feat(fun): Add wallpaper collection 2020-04-19 21:25:42 +01:00
Vincent Ambo
24151f06dd chore(fun/tvl): Increase framerate to 60fps & limit queue size
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 02:54:49 +01:00
Vincent Ambo
bcfa11599d feat(fun/tvl): Implement hardware-accelerated stream rescaling
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 02:36:20 +01:00
Vincent Ambo
f8703d12da feat(fun/tvl): Initial working ffmpeg -> nginx stream command 2020-04-04 02:36:20 +01:00
Vincent Ambo
3d1f568ddb fix(fun/amsterdump): Fix call to os.Getenv
Not sure how this broken version ended up committed ...
2020-02-21 13:54:53 +00:00
Vincent Ambo
4bbbb58cb5 chore: Rename pkgs->depot in all Nix file headers 2020-02-21 13:54:53 +00:00
Vincent Ambo
4b5ca24f81 feat(web/blog): Move 'best-tools' doc into a real blog post 2020-02-09 00:31:06 +00:00
Vincent Ambo
10e2e56b67 refactor(fun/wcl): Use portable unix-opts library
unix-opts, imported into buildLisp.nix in the previous commit,
provides an implementation independent way of parsing command line
arguments.
2020-01-29 10:12:07 +00:00
Vincent Ambo
b0b52255bd fix(fun/wcl): Use 'eql' for byte comparisons
The fact that this works is just an implementation-specific detail. In
theory, 'eq' will only compare object instance equality and not value.

Thanks to /u/patrec from HN for pointing this out.
2020-01-29 00:03:50 +00:00
Vincent Ambo
39b0176026 fix(fun/wcl): Count words correctly if file starts with whitespace 2020-01-28 21:24:51 +00:00
Vincent Ambo
1ba3d1cf97 feat(fun/wcl): Add a simple 'wc' clone in Lisp
Prompted by this thread:
https://lobste.rs/s/zntyeq/wc_d_712_characters_without_single_branch
2020-01-28 21:07:13 +00:00
Vincent Ambo
29e1de2fd2 feat(fun): Add copy of my avatar
Handy to keep this around somewhere!

Thanks Kitty <3
2020-01-26 01:20:23 +00:00
Vincent Ambo
ec30e0edf1 fix(fun/gemma): Give Hunchentoot the trailing slash it desires 2020-01-22 11:56:33 +00:00
Vincent Ambo
6fdc5b562d refactor(fun/gemma): Make acceptor available in a variable
This makes it possible to *stop* the server again in a REPL, which is
useful :)
2020-01-22 11:56:13 +00:00
Vincent Ambo
fdee9c5e19 fix(fun/gemma): Fix minor typo in frontend injection 2020-01-22 01:43:26 +00:00
Vincent Ambo
78db43898b refactor(fun/gemma): Use buildLisp.nix to build Gemma
This removes the ASDF system definition for Gemma and switches the
code over to buildLisp.

The program builds (including some terrifying hacks to get the
frontend to work), but there are some bizarre runtime issues that I
need to debug.
2020-01-22 01:27:21 +00:00
Vincent Ambo
cc3adc6a33 chore(fun/gemma): Use correct Markdown file extension
Otherwise the file does not get picked up by cgit.
2020-01-18 11:10:40 +00:00
Vincent Ambo
7b77e9986c feat(fun/amsterdump): Add distance matrix lookup for fundu results
This contains a little tool that can make requests to the Google Maps
API for distance matrix lookups from Fundu results to Schiphol Airport
and Amsterdam Centraal.

<3 edef!
2020-01-05 21:10:37 +00:00
Vincent Ambo
5f4924cfa7 feat(watchblob): Check in Nix expression with buildGo 2019-12-21 01:13:58 +00:00
Vincent Ambo
96b82a8033 merge(watchblob): Integrate at //fun/watchblob 2019-12-21 01:11:40 +00:00
Vincent Ambo
24b075bdeb chore(watchblob): Prepare for depot merge 2019-12-21 01:11:29 +00:00
Vincent Ambo
1c767a1748 merge(elblog): Integrate at //fun/elblog 2019-12-21 00:56:26 +00:00
Vincent Ambo
3253e4c4fb chore(elblog): Prepare for depot merge 2019-12-21 00:56:13 +00:00
Vincent Ambo
fbdc9b1d60 merge(defer.rs): Integrate at //fun/defer_rs 2019-12-21 00:53:42 +00:00
Vincent Ambo
426780060d chore(defer.rs): Prepare for depot merge 2019-12-21 00:53:28 +00:00
Vincent Ambo
acdd21f8f4 feat(quinistry): Add Nix build instructions 2019-12-21 00:51:23 +00:00
Vincent Ambo
cdf25193a4 merge(quinistry): Integrate at //fun/quinistry
This is too historically interesting for me to lose it.
2019-12-21 00:49:11 +00:00
Vincent Ambo
86ff65a36c chore(quinistry): Prepare for depot merge 2019-12-21 00:48:37 +00:00
Vincent Ambo
c0b28fb866 fix(best-tools): Fix broken link anchors 2019-12-20 23:30:13 +00:00
Vincent Ambo
5dcf4c0d45 feat(fun): Add a document with information about the tools I use
Been meaning to publish this for a while and //depot/fun seems like
exactly the right place for it!
2019-12-20 23:25:41 +00:00
Vincent Ambo
0e175cbe88 style(fun/logo): Use a much lighter colour for the logo quote
The dark one is quite visually aggressive. This colour is also taken
from Gruber Darker.
2019-12-20 21:34:18 +00:00
Vincent Ambo
f2784e9346 feat(fun): Add a silly little logo for the depot 2019-12-20 21:14:55 +00:00
Vincent Ambo
03bfe08e1d chore: Significantly restructure folder layout
This moves the various projects from "type-based" folders (such as
"services" or "tools") into more appropriate semantic folders (such as
"nix", "ops" or "web").

Deprecated projects (nixcon-demo & gotest) which only existed for
testing/demonstration purposes have been removed.

(Note: *all* builds are broken with this commit)
2019-12-20 20:18:41 +00:00