Commit graph

10419 commits

Author SHA1 Message Date
Griffin Smith
15b4f0e6a7 Stop auto-moving if there's an enemy nearby
If at any point during an auto-move there's an enemy in the character's
line of sight, cancel the autocommand and send a message
2020-05-16 18:57:07 -04:00
Vincent Ambo
6e7006c061 docs(nix/yants): Mention Yants subtree split in README
This subtree split makes it possible for people to clone only
yants (similar to the kontemplate and journaldriver branches).

The subtree continues the history of the old git repository.
2020-05-16 12:37:12 +01:00
Vincent Ambo
d97cf260a2 refactor(tools/emacs): Move third-party overrides to //third_party
EXWM and vterm are overridden, but this shouldn't be happening outside
of //third_party
2020-05-16 04:08:28 +01:00
Vincent Ambo
a078cabc71 fix(tools/emacs): Configure xkb switching shortcuts on EXWM launch
This enables half of the shortcuts for switching keyboard languages
when EXWM launches.

The cyrillic ones are commented out because Emacs doesn't start
otherwise, I've no idea why and don't care at the moment.
2020-05-16 03:55:31 +01:00
Abseil Team
62cf6a7041 Export of internal Abseil changes
--
dc36565216b3022abb5a3c92f46fb4079bda869e by Samuel Benzaquen <sbenza@google.com>:

Add support for std::reference_wrapper to absl::Hash.

PiperOrigin-RevId: 311733171
GitOrigin-RevId: dc36565216b3022abb5a3c92f46fb4079bda869e
Change-Id: I74543390446c2b7f6d856935aa36f28539810eef
2020-05-15 17:57:15 -04:00
Abseil Team
d118d4bb11 Export of internal Abseil changes
--
b8e6b64b604449bb51ed0ba8e9439097f3aa8773 by Abseil Team <absl-team@google.com>:

fix typo 'implentation' -> 'implementation'

PiperOrigin-RevId: 311623471

--
2b9262a311f3329c8006835a79498edd90568acd by Matt Kulukundis <kfm@google.com>:

Internal cleanup

PiperOrigin-RevId: 311549039

--
7507ed3c28113e28f993aa634bd44a9a0d4c4a2c by Derek Mauro <dmauro@google.com>:

Delete LinkerInitialized

Now that all SpinLocks have the same scheduling mode for
their entire lives, the scheduling mode does not need to
be re-tested in the loop in LockSlow.

PiperOrigin-RevId: 311521474

--
abf5fae67e21b38cda4083aaafd7012e2c6fbb7d by Andy Getzendanner <durandal@google.com>:

Fix public target name of the random library

Import of https://github.com/abseil/abseil-cpp/pull/684

PiperOrigin-RevId: 311429555
GitOrigin-RevId: b8e6b64b604449bb51ed0ba8e9439097f3aa8773
Change-Id: Ic48f671846bda059cc46f4a0b967cc3b1a733ba0
2020-05-14 20:49:06 -04:00
erin
dd7e5e0377 feat(web/tvl): Add erin to TVL
From 2c0942a0bddaa2686d5e19c521c004484989734e Mon Sep 17 00:00:00 2001
From: erin <erin@generalprogramming.org>
Date: Wed, 13 May 2020 14:48:55 -0700
Subject: feat(web/tvl): Add nepeat to TVL
2020-05-15 00:44:17 +01:00
Griffin Smith
b374cfc711 install lm_sensors 2020-05-14 18:04:17 -04:00
Vincent Ambo
5f10238c62 feat(fun/idual): Change alarm light from 'morning' to 'sun'
The latter is much brighter and warmer, this is probably better.
2020-05-14 14:30:52 +01:00
Nicholas Bishop
f2bc9d11e8
Fix public target name of the random library (#684)
The name seems to be `random_random` rather than just `random`:

https://github.com/abseil/abseil-cpp/blob/master/absl/random/CMakeLists.txt#L19
2020-05-13 19:46:00 -04:00
Abseil Team
0fecf0e633 Export of internal Abseil changes
--
bcb00e71d1caca509f76cd6da9400bd99a0a31ea by Abseil Team <absl-team@google.com>:

Internal change

PiperOrigin-RevId: 311324901

--
0a9a26b8b61eeed169905afea3ea4c6090584108 by Abseil Team <absl-team@google.com>:

Internal cleanup

PiperOrigin-RevId: 311295434

--
117f6e06d79d47f519fb3b56ba90ea851186074c by Abseil Team <absl-team@google.com>:

Internal cleanup

PiperOrigin-RevId: 311271548
GitOrigin-RevId: bcb00e71d1caca509f76cd6da9400bd99a0a31ea
Change-Id: Ifd0c4018fb5f29e49863dfd9cf32b2d9a5f72829
2020-05-13 16:06:09 -04:00
Abseil Team
cbfd0f0fe5 Export of internal Abseil changes
--
6a60bc6c79a3069f49986c2567dd51d2792f8ec1 by Abseil Team <absl-team@google.com>:

Internal cleanup

PiperOrigin-RevId: 311210039

--
a1049de1dd9071efa3a3dda1c3f25ab578b23e27 by Laramie Leavitt <lar@google.com>:

Internal change

PiperOrigin-RevId: 311188627

--
c2ccddd1cd89ef9d79c35bbe9e1813164db27031 by Matt Kulukundis <kfm@google.com>:

Migrate time parsing/formatting to string_view.

- make a copy before handing to cctz but handle local cases without

PiperOrigin-RevId: 311009254

--
d91d0cd68f3672a727ff76ee43f2da5226673d60 by Gennadiy Rozental <rogeeff@google.com>:

Eliminate public method absl::Flag<T>::IsSpecfiedOnCommandLine. This interface was never intended to be supported. Prefer to react to the current value of flag.

PiperOrigin-RevId: 310991916

--
8ad41e7ec24f43598ed232545314117802e7895c by Gennadiy Rozental <rogeeff@google.com>:

Internal change

PiperOrigin-RevId: 310757743

--
f091f77a13ce9481218cb356f8b4ceb49c1530f9 by Jorg Brown <jorg@google.com>:

Change #include of <iostream> to <iosfwd> from absl/strings/cord.h

PiperOrigin-RevId: 310657413

--
39419418af6be4ac9b9204ebe2c7a92a6c3a0bc9 by Derek Mauro <dmauro@google.com>:

Internal change

PiperOrigin-RevId: 310615554
GitOrigin-RevId: 6a60bc6c79a3069f49986c2567dd51d2792f8ec1
Change-Id: I57dd35424269d67740272c4f88b2de54d8022cb2
2020-05-12 21:04:49 -04:00
İlteriş Yağıztegin Eroğlu
0be487a5e0 feat(web/tvl): Added linuxgemini to baby
I can send my ID to check eligibility thanks

Signed-off-by: linuxgemini <ilteris@asenkron.com.tr>
2020-05-12 18:41:00 +01:00
Griffin Smith
34cabba896 Add a very basic, naive auto-move command
Add a very basic, naive auto-move command, which just steps the player
in a direction until they collide with something, regardless of any
surrounding beasties who might want to eat them.

There's a lot of other stuff going on here - in order to get this
working the way I wanted with a slight (I settled on 50ms) delay between
every step in these autocommands while still redrawing in between I had
to do all the extra machinery for custom Brick events with a channel,
and then at the same time adding the bits for actually executing
autocommands in a general fashion (because there will definitely be
more!) hit my threshold for size for App.hs which sent me on a big
journey to break it up into smaller files -- which seems actually like
it was quite successful. Hopefully this will help with compile times
too, though App.hs is still pretty slow (maybe more to do here).
2020-05-11 23:03:21 -04:00
Griffin Smith
ecd33e0c90 Add ViewPatterns to default-extensions
Seems relatively harmless
2020-05-11 23:03:11 -04:00
Griffin Smith
3e8f0eeeec Use emacsUnstable (27)
also doing this in home rather than system
2020-05-11 11:15:10 -04:00
Griffin Smith
765e7b5cc6 hoogle alias 2020-05-11 11:14:59 -04:00
Vincent Ambo
e2fb4bc4de chore(fun/dt): Adjust weights 2020-05-11 03:31:19 +01:00
Vincent Ambo
9628daf413 feat(fun/dt): Support arbitrary word counts 2020-05-11 02:39:46 +01:00
İlteriş Yağıztegin Eroğlu
98473d21ca feat(web/tvl): Added linuxgemini and ave
Sending again due to the merge of the awaited subgraph patch.

Signed-off-by: linuxgemini <ilteris@asenkron.com.tr>
2020-05-11 02:27:48 +01:00
Griffin Smith
296f73a4d6 Display messages in the order they were sent
Rather than displaying messages most-recent-first in the message box,
display them most-recent-last (which feels more natural)
2020-05-10 20:38:56 -04:00
Griffin Smith
ce3730ba3a Small chance of hurting self when punching
When attacking monsters with bare fists, there is a small chance (8%,
right now) of causing 1 point of self-damage
2020-05-10 20:26:44 -04:00
Luke Granger-Brown
9993b0beba feat(ops/nixos/camden): add /meet/ redirect to tvl.fyi
I'm too lazy to keep going to the website to click the button
and also too lazy to add my own redirect.

Add one to tvl.fyi.
2020-05-11 01:24:13 +01:00
Luke Granger-Brown
0b95afa9e9 refactor(web/tvl): factor out common styles 2020-05-11 01:00:41 +01:00
Griffin Smith
b64dd08c6e Update README for lorri
This is going to be the happy-path for development
2020-05-10 19:52:43 -04:00
Griffin Smith
9ec51e5123 Entities inside a wall can't see anything
The test for "one step in each cardinal direction is always visible" was
giving a false-negative for an entity at the same position as a wall -
not only is this something that would ostensibly never happen, it's also
completely reasonable to assume that someone stuck in a wall (due to a
bad teleport perhaps?) wouldn't be able to see anything, on account of
their head being INSIDE A WALL.
2020-05-10 19:50:03 -04:00
Griffin Smith
2320cfa8cd Use open circles to generate filled circles
Rather than leaning on rasterific to generate filled circles for us,
instead start with an open circle, then fill it by scanning line-by-line
and filling in points that are "inside" of the circle, based on keeping
track with a boolean. Also adds a couple of helper functions for
displaying these kinda "boolean graphics" things we're passing around,
as sets of points.
2020-05-10 19:44:30 -04:00
Griffin Smith
1f0f282e76 use emacsUnstable (27) 2020-05-10 18:41:53 -04:00
Griffin Smith
3ae2b02e8f beginning of setup for haskell dev
just some aliases cribbed from old config + cachix, for now
2020-05-10 18:41:11 -04:00
Griffin Smith
16faaa2292 install pandoc 2020-05-10 18:40:54 -04:00
Griffin Smith
ce868cf2d6 obs, with input-overlay plugin 2020-05-10 18:40:41 -04:00
Griffin Smith
c628a0516c finish up dwarf-fortress stuff 2020-05-10 18:40:14 -04:00
Sergiusz Bazanski
0e2138f949 feat(web/tvl): add hswaw community to TVL graph 2020-05-10 23:35:55 +01:00
Griffin Smith
78a323ec7a Bump all-hies version
Bump all-hies to the latest commit
2020-05-10 18:04:04 -04:00
Griffin Smith
555257be50 Add envrc for lorri 2020-05-10 15:19:53 -04:00
Leah Neukirchen
327e42024c feat(web/tvl): add muccc community to TVL graph 2020-05-09 20:13:45 +01:00
Abseil Team
c45d1c09d5 Export of internal Abseil changes
--
47f13ea42ae272c995b1cd5073a45e046fa325eb by Matthew Brown <matthewbr@google.com>:

absl::StrFormat: Centralize FormatConversionCharSet vs FormatConversionSpec checking
 - Move it into a central location, rather than requiring individual overloads to
   validate.

PiperOrigin-RevId: 310583805

--
a567c8fc8032031d551d6b457755851f442e65ad by Gennadiy Rozental <rogeeff@google.com>:

Internal change

PiperOrigin-RevId: 310427635

--
49848f7fab9b0f528d33f60cbccf688e2ea68afa by Gennadiy Rozental <rogeeff@google.com>:

Make Get/Set private methods of absl::Flag<T>.

PiperOrigin-RevId: 310413908
GitOrigin-RevId: 47f13ea42ae272c995b1cd5073a45e046fa325eb
Change-Id: I6530c754731c1a9463877561fa61786460ed60af
2020-05-08 15:22:38 -04:00
Vincent Ambo
e33627f960 feat(fun/dt): Implement useful utility 2020-05-08 18:55:00 +01:00
Vincent Ambo
28a36a2b70 feat(third_party): Add Google's farmhash library 2020-05-08 18:39:43 +01:00
Griffin Smith
f00c22a49a Don't create stories in reverse order
org-clubhouse-get-headlines-in-region was returning elements in reverse
order, causing stories to be created in reverse order when multiple were
created in a region with org-clubhouse-create-story. Just reversing the
list at the end should fix that.
2020-05-08 13:38:31 -04:00
Vincent Ambo
12387550e3 feat(third_party): Add newer version of Abseil 2020-05-08 18:07:47 +01:00
Griffin Smith
24be24077c Allow org-clubhouse-set-epic on regions
Make org-clubhouse-set-epic set all selected stories to the same epic if
multiple stories are selected.
2020-05-08 12:09:54 -04:00
Griffin Smith
bf0be39281 start ssh agent 2020-05-08 11:57:47 -04:00
Griffin Smith
83d482f532 urbos config 2020-05-08 11:57:33 -04:00
Griffin Smith
f8d43c8143 udev rules for ergodox 2020-05-08 11:57:15 -04:00
Griffin Smith
02777331ed use the right username for trustedUsers 2020-05-08 11:56:40 -04:00
Griffin Smith
ed9621a666 add nix-review 2020-05-08 11:55:54 -04:00
Griffin Smith
ebc7ec44a2 Add yq 2020-05-08 10:16:52 -04:00
Griffin Smith
7266a41707 Properly configured dwarf fortress
The dwarf fortress packages built into nixpkgs are a little silly and a
lot overbearing - do a bunch of hacky substitution to pound them into
submission so that I can actually configure stuff like SHOW_FLOW_AMOUNTS
and AUTOSAVE, which I feel like I need.
2020-05-07 23:48:21 -04:00
Abseil Team
a35ef8a62c Export of internal Abseil changes
--
034c30a00c64d93b9fcbc9d99a0a33801544d741 by Gennadiy Rozental <rogeeff@google.com>:

Split private handle interfaces accessor into a separate target with private visibility.

PiperOrigin-RevId: 310391488

--
6f6ca869309b17900b90849e08488ce7f7b0193a by Derek Mauro <dmauro@google.com>:

Remove __CLANG_SUPPORT_DYN_ANNOTATION__, which is a symbol defined by us
to be true in all builds

PiperOrigin-RevId: 310385325

--
ed5c1880c86973c000e826a3006b38e53ab3ed52 by Samuel Benzaquen <sbenza@google.com>:

Add tests to exercise extreme width and precision, and fix the overflows from
it.

PiperOrigin-RevId: 310224957
GitOrigin-RevId: 034c30a00c64d93b9fcbc9d99a0a33801544d741
Change-Id: I6c89a3c89ae92fa617c696044148ce9a79bcdda8
2020-05-07 15:26:50 -04:00