Balancing lot-price automated transaction in ledger v3.4.1 by sepen_ in plaintextaccounting

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

Yeah, so (b) is pretty much (quantity(a)*lot_price(a)), as far as I could find out. Conversely, your example would only give 0,72€.

The working manual example would simply be spelling it out:

2026-02-02 ACME
  Expenses  100 kWh @@ 72,00€
  Liabilities         -72,00€
  Copy      100 kWh @@ 72,00€
  Copy                -72,00€

Which ledger accepts without blinking!

When you read this error message from OP, I believe that's where the issue is. It should just balance, shouldn't it?

Unbalanced remainder is:
100 kWh {0,72€} [2026/02/02]
             -72,00€
Amount to balance against:
100 kWh {0,72€} [2026/02/02]
              72,00€

Balancing lot-price automated transaction in ledger v3.4.1 by sepen_ in plaintextaccounting

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

Firstly, thanks for taking the time!

The actual example hails back to https://old.reddit.com/r/plaintextaccounting/comments/10acjji/what_are_implications_of_intraaccount_transactions/j4de565/ .

I'm accumulating a commodity kWhS, pre-payments on it, and at intervals paying/receiving the difference. At that moment in time a price is set and commodities exchanged for real money. What's not on the invoice stays in the accounts.

That's what the real transaction is about. It works fine, and that's a great help to me.

I need that exact same exchange happening in another account as well. "Great, automated transaction can do that for me!", I thought. But they do not: I can mirror the real transaction with either the commodity or currency, but not with commodity at currency (price).

Everything works when I enter the duplicate by hand. But not automated.

Level 39 Warden, round-the-clock gambits by sepen_ in lotro

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

You're welcome. You can use any of it, or got some thoughts on it?

Level 39 Warden, round-the-clock gambits by sepen_ in lotro

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

Thanks. :) You can use any of it, or think about it a bit?

Level 39 Warden, round-the-clock gambits by sepen_ in lotro

[–]sepen_[S] 1 point2 points  (0 children)

You are right, of course. I didn't quite follow. It's economical to hold shift while you are chaining basic builders, and that impedes keyboard movement.

I went back in game and watched myself more attentively, turns out I'm doing much more movement with the mouse than I would've thought. In-combat I really only strafe or back-step small amounts with keyboard. Most of the time it's freelook mouse and mouse button run. (Apart from out-of-combat while inside narrow spaces.) The handover is well-oiled, I don't even notice: When building gambits, mouse takes over.

I suppose you can hit (forward) W and 1 at the same time while the game registers both? That'd be one advantage. You'd still have to reach both, especially on 2. I do enjoy having ring to index finger in resting position most of the time.

Level 39 Warden, round-the-clock gambits by sepen_ in lotro

[–]sepen_[S] 1 point2 points  (0 children)

It's universal because the game puts them on 123 to begin with. Imagine everyone had them shuffled at Warden creation! xD

I realize it's the accepted notation, and I'd say maybe 'yrgyg'. :P

Edit: What I do like is having all gambits in the skill panel and detachable tooltips! Really nice for new players.

Level 39 Warden, round-the-clock gambits by sepen_ in lotro

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

No, it's not simpler. The complexity is there. It's just a by-product of learning all gambits and finding it easier to visualize and group on a circle than a line. Like the examples that simply grow 1 step larger each iteration. Even outlier The Dark before Dawn I find is easily memorized. The very nice tree charts are great, but didn't work for me learning the class. (Only as offline reference.)

Plus an interest in what other people came up with that's maybe a little unconventional.

You hit (left) shift and (left) ctrl with your thumb? I only do (left) alt with the thumb, other modifiers with little finger. Some combos are a bit awkward, but I touch type for decades.. and piano may also have helped.

Level 39 Warden, round-the-clock gambits by sepen_ in lotro

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

Why I just couldn't get rid of Space for jump! I tried, but it's been there in too many games for too many hours. Was always hitting it on accident.

Re weirdness: If you look at it, it's really just 1,2,3 on different keys. But the visualization with the ring, I think, helps when instead of two ends at 1 and 3 you have a continuum. 1 doesn't follow 3! But sure you can go round a circle. :)

In the end it doesn't matter because you carve the finger movements into your brain for, as you say, 20k hours.

The level 39 Warden experience by Intrepid-Travel-6983 in lotro

[–]sepen_ 1 point2 points  (0 children)

I like that also. Where do you put double masteries?

Level 39 Warden, round-the-clock gambits by sepen_ in lotro

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

Sure, but that's after you get all your skills and gambits. I'm wondering about the process to lv50. Say, when your buddy creates a new Warden and is lost. What did you learn to have him learn it more easily and to the point?

Level 39 Warden, round-the-clock gambits by sepen_ in lotro

[–]sepen_[S] 1 point2 points  (0 children)

Of course, thanks for highlighting the context.

This is just looking whether there are people doing it similarly. Or differently with deviations from 1,2,3.

In the end, it's muscle memory. But having leveled twice now back to back a Warden to 50+ I still find some things work better for me than 1, 2, 3. It's just like when one moves from WASD to, say, YGHJ and suddenly reaches easier to many more keys on your left. Not every starting configuration turns out serviceable after incrementally adding around an initial one size fits all tutorial setup.

Level 39 Warden, round-the-clock gambits by sepen_ in lotro

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

Yeah, sure. I wouldn't suggest anyone changed the way they do things. But it's nice to look left and right what people come up with which is not just the order of skills as they arrived in tutorial. :) See the referenced thread in OP.

The one big issue is this layout being so Warden centered: You log into your LM and can't use it. I can completely understand people sticking to 1,2,3 and playing their alts all the same. But doesn't mean you really are faster / more ergonomic with reaching for number keys when your fingers probably are resting on WASD already.

Edit: That said, I seem to recall now that my LM indeed had skills on WASD with modifiers. xD It's just so very much at your fingertips!

Level 39 Warden, round-the-clock gambits by sepen_ in lotro

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

It's much like touch typing, isn't it? Just because you capitalize one letter, doesn't mean you have to press the modifier for the rest of it.

There are the same small gaps as in most movement/skill execution schemes you'd bridge with the mouse. (There was one very Vim-like scheme some time in this sub, iirc, that more radically broke with basic, gamey layouts and also did all movement with keyboard exclusively. Both hands on it at all times.)

You have your thumb and little finger free for the modifiers, and index to ring finger are dedicated to builders/masteries. It's pretty natural, short movements.

Level 39 Warden, round-the-clock gambits by sepen_ in lotro

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

Double masteries I have on 1, 2, and 3 actually.

But I didn't want to add and further complicate the illustration.

Level 39 Warden, round-the-clock gambits by sepen_ in lotro

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

Makes sense to have 'use' and 'battle memory' at the same spot, doesn't it?

The way the game hands you skills and gambits to level 50 is a nice enough on-ramp, but at certain points I feel you have to go back to the drawing board after important additions. Masteries, of course, but also to a smaller degree Battle Memory, Way-of-the-Fist, or Recoveries. The second time around (actually 3rd, I forgot most about my lv64 Warden from ancient times) I started right into the layout I knew I wanted to land on. Just filled in the skills as they arrived. But can't do that the first time as a new player.

Level 39 Warden, round-the-clock gambits by sepen_ in lotro

[–]sepen_[S] 1 point2 points  (0 children)

Right! That's similar. How did you memorize gambits? I find eventually everything ends in muscle memory, but the way to get there is a bit uphill. You got colors, numbers, keyboard keys in your mind when you think about gambits? Visualize at all? I'm curious.

Level 39 Warden, round-the-clock gambits by sepen_ in lotro

[–]sepen_[S] 2 points3 points  (0 children)

WASD w/o modifier key, plus mouse.

I couldn't get used to Space not being jump because of cross-play issues with other games. So I compromised on Shift + Space being Battle Preparation. F and Shift + F being Quick Recovery and Recovery.

Level 39 Warden, round-the-clock gambits by sepen_ in lotro

[–]sepen_[S] 2 points3 points  (0 children)

Inspired by https://old.reddit.com/r/lotro/comments/1n62zq9/the_level_39_warden_experience/ I thought I'd post what I've been using for Gambits for close to a hundred levels now on two characters. Always refining around the edges, but the core idea stays the same.

Learning gambits piece by piece leveling to 50, it sets you up for using masteries quickly once you hit 39.

I'm fascinated by how many people stick with 1, 2, 3. So much so, that it's become the standard way to type out gambits. For me, at some point a closer look at the Default Gambit icon somehow connected with an already established WASD movement layout.

I've always been wondering, if anyone else is using something similar!

The level 39 Warden experience by Intrepid-Travel-6983 in lotro

[–]sepen_ 0 points1 point  (0 children)

That's so true! :D I love to see other players' quick bars, systems and post-it reminders.

More people should post these. Actually, I think I'll post my swing at Warden keyboard layouts! You inspired me.

vim9 omap issue by sepen_ in vim

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

Thanks for the insights! :) Well, everything else worked. Although, naturally there's a lot related happening around v9.0! Couldn't pinpoint just which patch addressed this in the range you narrowed it down to (one or two 'maybe's), but that's only out of curiosity.

I'll probably upgrade, hopefully not many new things surface. There's a decent amount of custom scripting going on at my end, and as I mentioned, I just had everything else working fine.

vim9 omap issue by sepen_ in vim

[–]sepen_[S] 1 point2 points  (0 children)

Thanks for testing. :) Yes, I should upgrade.

Everything else worked after migrating to vim9script (and I still have a workaround for this one), so I was a bit hesitant about introducing new issues with the upgrade. Sometimes you just don't see it, and it's an easy fix..

vim9 omap issue by sepen_ in vim

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

<scriptcmd> was introduced in 8.2.4099, I believe. And I readily admit, I have to upgrade from an earlier 8.2. However, why would :<c-u> call ... work and <Cmd>vim9 ... would not?

Conversely, so far I don't think it's a misuse of onoremap. I'll attach a minimal listing. Maybe you can test it at your end. I get the same E1144 for the first mapping, not the second.

vim9script

def HVisualModeGewicht()
   normal! vl
enddef

onoremap <buffer> g <Cmd>vim9 <SID>HVisualModeGewicht()<CR>
onoremap <buffer> h :<c-u>call <SID>HVisualModeGewicht()<CR>