[go: up one dir, main page]

  • 12 Posts
  • 253 Comments
Joined 3 years ago
cake
Cake day: July 6th, 2023

help-circle
  • edit: I missed that it’s LSP messages. Assuming eglot you can get them in a buffer using M-x flymake-show-buffer-diagnostics

    original:

    I don’t use Doom specifically in general you’d do this by switching to the *Messages* buffer and copy the relevant lines from there as usual.

    If you really wanted a command for it you could do something like this:

    (defun my-copy-last-messages (n)
      (interactive "p")
      (with-current-buffer "*Messages*"
        (copy-region-as-kill
         (line-beginning-position
          (- 1 n))
         (point-max))))
    

    This assumes that the cursors is at the end of the Messages buffer as usual. Not sure if that line positioning is correct, only tested it briefly.


  • For lane battlers where you mix sub-decks my favorite is Riftforce, especially once you add the expansion to increase the number of available factions. The factions are drafted and each player ends up with 4 factions. Cards from a given faction share the same power but have different strengths. This gives a good variety of abilities but since there are only 8 in a given game they are still easy to keep track of and plan for.

    Tyrants of the Underdark, is a bit different but I like it a lot: a river-market style deckbuilder where the market deck is a mix of two themed decks. The current edition comes with 6 factions.

    If you are open to coop/solo then Marvel Champions is somewhere halfway into this direction. Each hero comes with a small preset deck and you then customize this by picking cards from exactly one of the four aspects (factions) available in the game.


  • Picked up Yoku’s Island Express during the sale. A unique 2D platformer/exploration game that seamlessly incorporates pinball mechanics. The world feels big with a lot of variety. The pinball stuff is fun and works better than I though it would. Great production. Very happy with the value so far.

    Another new one to me is Downwell. This is a neat little game and it’s good at what it does but can’t help feeling that it could have been a lot more if it had more items that combined in fun ways. It was very inexpensive so I am happy with this one too and will keep it in the rotation, especially for short play sessions.

    And of course more Isaac, my most played on the deck by far.
















  • I only played A Feast for Odin extensively but I disagree on that one: our playtimes are much closer to the 90-120 minutes on the box than the 3-5 hours claimed by the article. I don’t think that we ever had a game go over 3 hours. Once everybody is comfortable with the basics and at least one player knows the rules well enough to quickly clear up any details the game flows very smoothly for us. The number of meeples is not a problem at all, the article neglects to mention that most worker placement spaces require multiple meeples so the 5-12 you get per turn are gone after a few actions.


  • I don’t have a VM based setup but on my aging laptop:

    • Indenting a single line in a buffer with ~5K lines of code is instantaneous
    • Indenting the entire 5K line buffer using C-x h C-M-\ varies depending on the language and mode used. For elisp or fennel it’s instantaneous, for Go it’s about 1.5 second.
    • A slow case I’ve found was indenting a C or Go buffer where every line needed to be touched, this was about 7 seconds which is admittedly slower than I thought it would be
    • Indenting such a file while in c-ts-mode (so with tree-sitter enabled) is about 1s.
    • Same but using LSP and M-x eglot-format-buffer is instantaneous if a small number of fixes are required or about 1s if every line needs to be touched.

  • I appreciate your frustration but several times slower is not normal, something is broken in the environment or setup. I’ve been using Emacs for decades and I would never put up with any kind of slowdown, not to mention several times slower. Yikes.

    To make sure that I am not just talking out of my ass I ran elisp-benchmarks between emacs-28 from about 4 years ago and emacs-30. Every benchmark was either faster or unchanged with emacs-30 and overall it was almost twice as fast as emacs-28. Many of these benchmarks are compute heavy but the more interactive ones like elb-scroll and elb-smie were faster too.



  • I was skeptical at first (uh, another one of these?) but the small algorithm illustrations charmed me enough to look at the repo and I think I like it. Well organized repo, straightforward code and a good example_test.go, something package authors often neglect. If nothing else it can be a useful source of ideas if you decide to roll your own version of one of these operations.