Charles, I see that as a hand optimization for manually created files. There are many directives that span txns and break if the order changes, I think that's the primary concern with sorting.
My txns were very verbose by comparison, and they sorted easily because they were atomic. Thanks. On Wed, Aug 28, 2013 at 09:46:17AM -0700, Charles Merriam wrote: > So, is the answer to figure out how to optimize the ledger entries? > > So if I had: > > 2013/1/1 Safeway > Expenses:Groceries $23.00 > Liabilities:Chase Visa -$23.00 > > and I add: > > account Expenses:Groceries > alias grocs > > account Liabilities:Chase Visa > alias visa > > should a sort give: > > 2013/1/1 Safeway > grocs $23.00 ; using the alias I just added > visa ; balance the transaction shortcut > > This does open up the can of worms: how should a ledger file look? > is one better? when to add a bucket? > > I guess I looked at documentation as the low hanging fruit, but failed > to figure out its build system in a day. It is unclear how welcome > little fixes are, and I get tired of making patches that get ignored. > > On Wed, Aug 28, 2013 at 9:36 AM, Russell Adams > <[email protected]> wrote: > > Craig, > > > > As much as I love ledger, I've moved my expenses back to Excel using a > > giant T chart. I spent about 3 months trying to write a database > > oriented ledger-like expense reporting system, and failed miserably at > > the UI layer. So I wouldn't get any use out of the tool you propose. > > > > Ledger's major flexibility is the text file format and the ability to > > hand craft optimized ledgers. That is also it's downside in large > > volumes of verbose (non-optimal) transactions quickly become unwieldy. > > > > Sorting and narrowing (queries) are both related to data management, > > and I'm not sure how that should be accomplished in the text files > > while staying synchronized with version control tools. > > > > I think a simple sort that may break hand optimized ledgers would be > > ok if it raised an error on a break (ie: if txn count and balances > > changed after sort, raise error). A tool like that should be easy to > > implement. > > > > Otherwise it comes back to the debate on txn storage. > > > > Thanks. > > > > On Wed, Aug 28, 2013 at 09:19:28AM -0700, Craig Earls wrote: > >> So, is there any interest in this project? If not I won't waste my time. > >> > >> On Mon, Aug 26, 2013 at 1:19 PM, Craig Earls <[email protected]> wrote: > >> > My transactions are also all atomic. With the exception of a few > >> > virtual transactions at the top order does no matter. > >> > > >> > On Mon, Aug 26, 2013 at 1:17 PM, Russell Adams > >> > <[email protected]> wrote: > >> >> I can see the point where commands which apply across many > >> >> transactions (a manual optimization) are broken by sorting. My data > >> >> has always been verbose and each txn is atomic, so sorting wasn't an > >> >> issue. > >> >> > >> >> Thanks. > >> > > >> > -- > >> > Craig, Corona De Tucson, AZ > >> > enderw88.wordpress.com > >> > >> > >> > >> -- > >> Craig, Corona De Tucson, AZ > >> enderw88.wordpress.com > >> > >> -- > >> > >> --- > >> You received this message because you are subscribed to the Google Groups > >> "Ledger" group. > >> To unsubscribe from this group and stop receiving emails from it, send an > >> email to [email protected]. > >> For more options, visit https://groups.google.com/groups/opt_out. > >> > > > > > > ------------------------------------------------------------------ > > Russell Adams [email protected] > > > > PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ > > > > Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 > > > > -- > > > > --- > > You received this message because you are subscribed to a topic in the > > Google Groups "Ledger" group. > > To unsubscribe from this topic, visit > > https://groups.google.com/d/topic/ledger-cli/WsIPp_6sn_k/unsubscribe. > > To unsubscribe from this group and all its topics, send an email to > > [email protected]. > > For more options, visit https://groups.google.com/groups/opt_out. > > -- > > --- > You received this message because you are subscribed to the Google Groups > "Ledger" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > ------------------------------------------------------------------ Russell Adams [email protected] PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 -- --- You received this message because you are subscribed to the Google Groups "Ledger" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
