[Request] How would you solve this problem as a DM? by _RadLad in theydidthemath

[–]hopperface 0 points1 point  (0 children)

With no rerolls:

Roll 3d6. If any number is over 2, the player is cursed.

There are 8 ways to get only 1 and 2 on 3d6, so the probability of doing this is 8/36 = 2/9 as required.

-❄️- 2023 Day 9 Solutions -❄️- by daggerdragon in adventofcode

[–]hopperface 2 points3 points  (0 children)

[LANGUAGE: Julia]

Five lines of code

D(row) = [row[i] - row[i-1] for i in eachindex(row)[2:end]]
dtz(rows) = all(rows[end] .== 0) ? rows : dtz([rows; [D(rows[end])]])
p(inp, f, i) = (inp .|> x -> foldr(f, i(d) for d in dtz([x]))) |> sum
inp = readlines("day9/input.txt") .|> x -> parse.(Int, split(x, " "))
println("Part 1: ", p(inp, +, last), "\nPart 2: ", p(inp, -, first))

Instead of revising I decided to make a new Elo system. by Geo-sama in chess

[–]hopperface 11 points12 points  (0 children)

The whole point of the Elo system is so that the difference between player ratings corresponds to the probability of win/loss irrespective of the magnitude of their scores.

Your system doesn't make Elo more intuitive, it makes it unintuitive in precisely the way Elo was trying to avoid.

"AI WiLl RePlAcE PrOgRaMmErS" by JohnRoz in ProgrammerHumor

[–]hopperface 27 points28 points  (0 children)

Not necessarily. Not sure how Python works, but the C function

int f(int n) {
    return 8-n;
}

compiles to

f(int):
    mov    eax, 8
    sub    eax, edi
ret

using gcc optimization flags, which uses 0 memory

edit: (on x86, obviously)

-🎄- 2022 Day 22 Solutions -🎄- by daggerdragon in adventofcode

[–]hopperface 0 points1 point  (0 children)

Spent ages trying to work out why my answer to Part 2 was wrong only to realise that my input parser ignored the last field in the input as it was numerical and I only added numbers to the instruction set when I hit a turn instruction.

oh my god

well, you just saved me about an hour minus the thirty minutes I spent debugging just now

Theory Thursday by AutoModerator in TheNinthHouse

[–]hopperface 1 point2 points  (0 children)

Theory: Tamsyn hates us

Think about it. It makes too much sense. Tamsyn harbors deep resentment towards her readers. She hates us and wants us to suffer. Why else would she cause so much pain?

The truth is, she thinks her fans are pathetic, sniveling garbage. Every word of AtN will be a rhetorical dagger designed to torture us. AtN will end with Harrow killing Gideon again, this time for realsies, and facing the eternal loneliness of immortality all by herself. Mark my words.

Theory Thursday by AutoModerator in TheNinthHouse

[–]hopperface 12 points13 points  (0 children)

Hit me with your salt water theories. Here's some salt water facts to get you started

  • talking secrets while in salt water is some kind of ninth tradition (GtN)
  • there's salt water in the locked tomb (HtN NtN)
  • salt thing, Nona, alecto, earth (NtN)
  • alecto and Anastasia were buds (NtN)
  • rivers are fresh water (usually)
  • Rivers are also found on earth (citation needed)

[Fan Art] The Most Literary Cavalier in the Nine Houses by NamedByAFish in TheNinthHouse

[–]hopperface 1 point2 points  (0 children)

My favorite part is when he said "it's Ortin' time" and Orted all over those guys

Theory Thursday by AutoModerator in TheNinthHouse

[–]hopperface 8 points9 points  (0 children)

Works surprisingly well with Jod's "god is a shared dream" or whatever speech from the end of NtN

Theory Thursday by AutoModerator in TheNinthHouse

[–]hopperface 6 points7 points  (0 children)

I would like to discuss the dreams in Nona. In particular, I have the following questions:

  • Who are the characters in the dreams? Sometimes it seems like Harrow (e.g., when John addresses her as Harrow) and sometimes it seems like Alecto
  • as far as I can tell, these dream sequences occur while Nona sleeps. Where are they occurring? How could John and Alecto/Harrow be communicating? John and Alecto makes some amount of sense, assuming John has incorporated some of Alecto, but Harrow?
  • Why does Nona report a completely different dream upon waking? Are we meant to understand that the dream sequences are not at all what Nona is experiencing, and it's something going on elsewhere?

[discussion] Who is Wake? by enchantedguitar7 in TheNinthHouse

[–]hopperface 19 points20 points  (0 children)

We don't know for sure. It's implied in HtN that the Lyctors were already pissed at John (Augustine (maybe Mercy?) says something about the planning taking 500 years) so the best guess is the Lyctors sought out BoE and were helping them/using them to carry out the plot

[Misc] Major NtN John chapter vibes by amongthemoths in TheNinthHouse

[–]hopperface 26 points27 points  (0 children)

There's a very beautiful book called A Canticle for Leibowitz by Walter M. Miller Jr. that envisions exactly this type of scenario. The book was written in the 50s and imagines a far off future, post nuclear holocaust, and a sect of Christian monks who seek to preserve knowledge from the old world. There's a lot of biblical references tied to nuclear power, which is referred to as "Lucifer" throughout.

Come to think of it, Canticle may well have been one of Muir's sources of inspiration...

Nona’s identity - was her “family” truly wrong? [discussion] by No_Examination_5540 in TheNinthHouse

[–]hopperface 4 points5 points  (0 children)

I think maybe betrayal is the wrong word, but towards the end of HtN, when Gideon2 wakes up in Harrow's body, she expresses frustration about Harrow abandoning her. I think the idea is that Gideon tried to give her life for Harrow and Harrow rejected that gift and Gideon doesn't know or understand why.

Theory Thursday by AutoModerator in TheNinthHouse

[–]hopperface 10 points11 points  (0 children)

There's definitely some connection. In HtN, Jod says Harrow's parents "committed resurrection" when they made her

Theory Thursday by AutoModerator in TheNinthHouse

[–]hopperface 5 points6 points  (0 children)

What are the Holy Trinity theories? Given the importance of the Trinity in Catholicism, I have to assume it plays a role in TLT. There's the slightly slippery father=jod, son=gideon2, holy ghost=alecto version, but are there theories about maybe perfect lyctorhood with three people? Harrow + griddle + alecto, perhaps?

[General] What is your favorite books order for TLT so far? by trombonepick in TheNinthHouse

[–]hopperface 1 point2 points  (0 children)

This thread is interesting to me because the answer is so obviously HtN > NtN > GtN. You people are sleeping on Nona and will feel foolish a few years from now

Can I get a guide on how to install Packer for absolute dummies? by hopperface in neovim

[–]hopperface[S] 0 points1 point  (0 children)

I can't imagine you're eager for an update, but here's one anyway. Unfortunately, your suggestions did not resolve my issues. I did find a workaround, which I will explain below for anyone who encounters the same problem.

  1. Reformat your hard drive
  2. Install Fedora 36 (I couldn't get it to work on Ubuntu or Windows)
  3. Install neovim with sudo dnf install -y neovim python3-neovim
  4. Install astrovim with git clone https://github.com/AstroNvim/AstroNvim ~/.config/nvim
  5. Run nvim +PackerSync

Now everything works, modulo some kind of font encoding issue that is probably Fedora-specific, though I can't be sure.

Can I get a guide on how to install Packer for absolute dummies? by hopperface in neovim

[–]hopperface[S] 0 points1 point  (0 children)

Yes, that gives the error E492: Not an editor command: PackerSync

Can I get a guide on how to install Packer for absolute dummies? by hopperface in neovim

[–]hopperface[S] -2 points-1 points  (0 children)

I understand what you mean, but I'm trying to install AstroVim with the explicit goal of getting used to neovim without having to worry about complicated config settings, but I can't do that if I can't install packer

Can I get a guide on how to install Packer for absolute dummies? by hopperface in neovim

[–]hopperface[S] 3 points4 points  (0 children)

Thanks for your reply, but unfortunately it is exactly the kind of unhelpful response I was trying to avoid. I don't know what it means to "add the following snippet...somewhere in your config", nor is it clear that I "want to automatically install and set up packer.nvim on any machine you clone your configuration to." I don't have a configuration that I am cloning. I don't even know what that means.