Commit graph

10406 commits

Author SHA1 Message Date
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
Griffin Smith
2e03eba922 git delta config 2020-05-07 10:58:27 -04:00
Griffin Smith
9ab4a9b2e4 some new aliases and shell config 2020-05-07 10:58:16 -04:00
Griffin Smith
5d5ec0f7a1 dwarf-fortress-full 2020-05-07 10:57:59 -04:00
Griffin Smith
e085facc30 fix conflict with urbos 2020-05-07 10:57:54 -04:00
Griffin Smith
28489a2141 use gitFull
now that I figured out why it wasn't working (it was urbos's fault)
2020-05-07 10:57:12 -04:00
Griffin Smith
924c51aa1f Add tarsnap config
Based on rycee/home-manager#1218
2020-05-07 10:56:23 -04:00
Griffin Smith
c6963f8cb5 dogfood urbos 2020-05-07 10:56:09 -04:00
Griffin Smith
1316d4fccd Don't hardcode wireless interface
we have an option for it!

Fixes #1 - ty @jskrzypek
2020-05-07 10:53:32 -04:00
Abseil Team
bd317cae3b Export of internal Abseil changes
--
0b3113ff8d252be11c35d8a77cdb23cc03e993d2 by Benjamin Barenblat <bbaren@google.com>:

Correct Apache license headers

These files have always been licensed under the Apache license (per the
repository LICENSE), but they lacked headers to locally indicate that
fact. Add the appropriate headers.

PiperOrigin-RevId: 310223650

--
4f92b0819781279c02b48bcfce4c10d547e35a49 by Greg Falcon <gfalcon@google.com>:

Internal change

PiperOrigin-RevId: 310223203

--
378cab69ce3290d20b48d839daa988c3e63ed031 by Matthew Brown <matthewbr@google.com>:

Internal Change

PiperOrigin-RevId: 310180198

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

Internal change

PiperOrigin-RevId: 310003669

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

Make 4 argument version of ParseFrom interface private in CommandLineFlag. Instroduce 2 argument version of this interface.

PiperOrigin-RevId: 309995363
GitOrigin-RevId: 0b3113ff8d252be11c35d8a77cdb23cc03e993d2
Change-Id: Ibfdf948d3d081f5630ce7ebff992ab85c75cecba
2020-05-06 17:14:07 -04:00
Christoph Cullmann
b115744656
fix MSVC warning 4245: conversion signed => unsigned during initialization (#678) 2020-05-06 17:08:21 -04:00
Vincent Ambo
8486d2ace5 feat(web/tvl): Add jooiiee's website 2020-05-06 00:28:44 +01:00
hexchen
31832e0107 feat(web/tvl): Add hexchen to tvl.fyi graph 2020-05-05 22:31:40 +01:00
Griffin Smith
eb211c2701 Add basic README, with build instructions 2020-05-05 15:29:40 -04:00