Re: Preliminary efforts in porting Ledger to Rust
I'm also interested in Rust, so started a personal project. https://github.com/xkikeg/okane It's not a porting, rather a niche tool to import CSV/Camt.053 files. Now I'm implementing parser for formatter, so i can export as a crate if needed. 2022年12月30日金曜日 20:45:26 UTC+1 cick0: > There were several very interesting articles on this topic recently. I > will here share just this one. > It tells a lot about Go. > > > https://fasterthanli.me/articles/lies-we-tell-ourselves-to-keep-using-golang#the-author-is-a-platypus > > I'll just add that I'm happy with my instinctive choice between the two > languages. > > On Wednesday, 14 December 2022 at 5:14:58 am UTC+1 Daryl Manning wrote: > >> Out of curiosity, why was Rust chosen vs. say, Go? While I'm happy to see >> efforts at porting and replacing C++ (which makies it hard to contribute), >> I find Rust has the same issues with high learning curve to get productive >> (not to mention "sub-langs" within it) and ake contribution from a wider >> audience harder. >> >> Don't get me wrong. I like Rust. A lot. Just not so sure I wouldn't have >> ported to Go depending on the goals of why we're switching languages. >> (that said Rust > C++ from my perspective if you're making the change... >> =] ). >> >> On Tuesday, 13 December 2022 at 23:17:28 UTC+7 cick0 wrote: >> >>> Hi! I'd like to post here, as well, regarding the "toe-in-the-water" >>> efforts of porting Ledger to Rust. >>> The usual suspects are familiar with it from the Reddit channel but for >>> those that only frequent this group, it may be news. >>> >>> I have created a repository for discussing issues here: >>> https://github.com/alensiljak/ledger-cli-rs/ >>> >>> Please join in if you are interested. Do note that this is not intended >>> as yet-another-ledger-port-attempt, but more as pooling with the goal of >>> producing the definitive Ledger port and successor, drawing from the >>> initial thread on Reddit. >>> >> -- --- 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 ledger-cli+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ledger-cli/a43cf847-426d-4bc7-be19-619ae317e6fdn%40googlegroups.com.
Re: How to split expenses
On Thu, 12 Jan 2023 at 19:10, Alexandre Rademaker wrote: > I see your point and you are right that using the second entry below would be > simpler and record the fact that I owe ‘DF’ 3 euros. But using the first > entry below allow me to also record the total amount of the expense if later > on we all want to remember how much was the parking. Using only the comment > would be an alternative too. The only real problem with the first entry is > the fact that usually liabilities are negative, right? Maybe I could find a > better name? The ‘Payable:DF’ is to record the moneys that ‘DF’ owes to me. > > 2023/01/07 Hotel Braga Parking > Expenses:ParkingEU 3,00 > Liabilities:DF EU 3,00 > Assets:DF EU -6,00 If you want to track everything in full detail, you can do that too. Just pretend that you manage all the finances. * Count goods and services you consume into Expenses. * Count goods and services your friends consume into Assets:Receivable, as if they owe you. * Track money you pay from the actual accounts you pay from (Assets if cash or debit cards; Liabilities if credit cards). * Track money your friends pay from Liabilities:Payable, as if you owe them. 2023-01-07 Hotel Braga Parking Expenses:Parking EUR 3,00 Assets:Receivable:DF EUR 3,00 Liabilities:Payable:DFEUR -6,00 At the end of trip, or at any time, you can cancel out debts: 2023-01-07 Debt cancellation Liabilities:Payable:DF EUR 3,00 Assets:Receivable:DF EUR -3,00 After the above, Assets:DF is at 0 and Liabilities:DF is at EUR -3,00, indicating you owe DF 3 Euro. (Unrelated: Consider using standard ISO 4217 currency codes. While we are at it, consider also using the standard ISO 8601 date separator.) -- --- 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 ledger-cli+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ledger-cli/CAP_d_8Xsd_XF2Esa0rVuvbLMJQNB9hwfxG9Gu9V6PsxHokd0qg%40mail.gmail.com.
Re: How to split expenses
Money I am owed by Joe [i.e., Joe needs to pay me back]: Assets:Receivable:People:Joe This amount will normally be positive, as with most assets in plaintext accounting. Money I owe to Joe [i.e., I need to pay Joe back]: Liabilities:Payable:People:Joe This amount will normally be negative, as with most liabilities in plaintext accounting. Record the total expense your friend bore as a comment. Record only what you owe him/her as part of the actual transaction. So: 2023-01-12 Joe | Lunch at Cigar Volante ; total: EUR 60.00 Expenses:Leisure:Travel:Food EUR 15.00 Liabilities:Payable:People:Joe EUR -15.00 2023-01-12 Café Nervosa Expenses:Leisure:Travel:FoodEUR 10.00 Assets:Receivable:People:JoeEUR 10.00 Assets:Receivable:People:Nancy EUR 10.00 Assets:Receivable:People:BobEUR 10.00 Liabilities:Credit-Card:Santander EUR -40.00 On Thursday, 12 January, 2023 at 5:40:04 pm UTC+5:30 arade...@gmail.com wrote: > Hi Yuri, > > I see your point and you are right that using the second entry below would > be simpler and record the fact that I owe ‘DF’ 3 euros. But using the first > entry below allow me to also record the total amount of the expense if > later on we all want to remember how much was the parking. Using only the > comment would be an alternative too. The only real problem with the first > entry is the fact that usually liabilities are negative, right? Maybe I > could find a better name? The ‘Payable:DF’ is to record the moneys that > ‘DF’ owes to me. > > > 2023/01/07 Hotel Braga Parking > Expenses:Parking EU 3,00 > Liabilities:DF EU 3,00 > Assets:DF EU -6,00 > > versus > > 2023/01/07 Hotel Braga Parking > Expenses:Parking EU 3,00 ; total was 6,00 > Liabilities:DF > > > > > On 11 Jan 2023, at 12:42, Yuri Khan wrote: > > > > No. If you, Bob, Nancy, and Joe each ate a $10 lunch and Joe paid $40 > > for it, you owe Joe 10 bucks and that’s it. > > > > 2023/01/02 Sample > > Expenses:Food $10 > > Liabilities:Joe $10 > > > > Everything else is Joe’s own concern. > > > > Alternatively, if you volunteered to keep track of everyone’s debts, > > you can pretend that Bob and Nancy owe you $10 each, and you owe that > > + your share to Joe: > > > > 2023/01/02 Sample > > Expenses:Food $10 > > Assets:Bob $10 > > Assets:Nancy $10 > > Liabilities:Joe > > > > Just be sure to notice if/when Bob repays his debt to Joe so you can > record it: > > > > 2023/01/03 Sample > > Liabilities:Joe $10 > > Assets:Bob > > > > -- --- 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 ledger-cli+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ledger-cli/df8f9ec4-92be-479b-9967-e9a910ba9112n%40googlegroups.com.
Re: How to split expenses
Hi Yuri, I see your point and you are right that using the second entry below would be simpler and record the fact that I owe ‘DF’ 3 euros. But using the first entry below allow me to also record the total amount of the expense if later on we all want to remember how much was the parking. Using only the comment would be an alternative too. The only real problem with the first entry is the fact that usually liabilities are negative, right? Maybe I could find a better name? The ‘Payable:DF’ is to record the moneys that ‘DF’ owes to me. 2023/01/07 Hotel Braga Parking Expenses:ParkingEU 3,00 Liabilities:DF EU 3,00 Assets:DF EU -6,00 versus 2023/01/07 Hotel Braga Parking Expenses:ParkingEU 3,00 ; total was 6,00 Liabilities:DF > On 11 Jan 2023, at 12:42, Yuri Khan wrote: > > No. If you, Bob, Nancy, and Joe each ate a $10 lunch and Joe paid $40 > for it, you owe Joe 10 bucks and that’s it. > >2023/01/02 Sample >Expenses:Food $10 >Liabilities:Joe $10 > > Everything else is Joe’s own concern. > > Alternatively, if you volunteered to keep track of everyone’s debts, > you can pretend that Bob and Nancy owe you $10 each, and you owe that > + your share to Joe: > >2023/01/02 Sample >Expenses:Food $10 >Assets:Bob $10 >Assets:Nancy$10 >Liabilities:Joe > > Just be sure to notice if/when Bob repays his debt to Joe so you can record > it: > >2023/01/03 Sample >Liabilities:Joe $10 >Assets:Bob > -- --- 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 ledger-cli+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ledger-cli/7EE9BCD4-F634-4E4E-B6C1-1CA65EEF77FA%40gmail.com.