Tiny Core Linux

Tiny Core Extensions => TCE Talk => Topic started by: Santos on December 06, 2024, 11:18:46 PM

Title: How do you track your finances?
Post by: Santos on December 06, 2024, 11:18:46 PM
I use TC as my daily driver. Love it.

I started with a very old computer which helped me through high school and even university, until it finally gave up and died (sad times). Over time I learned how to better utilize hardware with the right tools, like compiling LaTex using a very low end android device, chroot and a bluetooth keyboard while on-the-go at the university.

The point I'm trying to make is that now, I would like to do my computing in the most universal and portable way: going bare-bones. Bookkeeping is now part of my new endeavor.

Asking LLMs and checking wikis, apparently  sqlite  is the way to go. I tried to just go away with  busybox awk  and CSV files, but learning  sqlite  doesn't sounds bad. I don't want to waste time and efforts. If you have a better suggestion please share it.

Also, can you tell me how you keep your finances in order? LibreOffice, gnucash, Google Docs... pen and paper?
Title: Re: How do you track your finances?
Post by: core-user on December 07, 2024, 05:12:36 AM
I've used a spreadsheet for years now, easy to set up, (even sc on the cli), either Libre Office Calc or Gnumeric.....

(CLI Spreadsheets => https://lock.cmpxchg8b.com/spreadsheet.html )
Title: Re: How do you track your finances?
Post by: Vic on December 07, 2024, 02:08:42 PM
I reach in my pocket and pull out those paper thingys with pictures of old guys and add'em up.
Title: Re: How do you track your finances?
Post by: mocore on December 07, 2024, 02:25:25 PM
Bookkeeping is now part of my new endeavor.
...
 I don't want to waste time and efforts. If you have a better suggestion please share it.


you new endeavor reminds me of this https://c2.com/doc/expense/ post bout an "Expense(-)Calculator(.sh)"

spoiler
Code: [Select]
exec awk '
$1 ~ /^[A-Z]+[A-Z0-9]*$/ {
if (sums[$1] == "" || $1 == "SUM") {
sums[$1] = sum # Define Symbol
$1 = sum
sum = 0
}
else {
$1 = sums[$1] # Dereference Symbol
}
}

($1+0) != 0 {$1 = sprintf("%7.2f", $1)} # Pretty Print
{print}

$2 == "*" {$1 *= $3} # Explicit Calculations
$2 == "/" {$1 /= $3}
$2 == "DB" {$1 = -$1}
$2 == "CR" {$1 = -$1}

NF == 0 {sum = 0} # Implicit Summation
{sum += $1}
' $1


>Also, can you tell me how you keep your finances in order?
 butterflies 8)
https://xkcd.com/378/ || https://www.explainxkcd.com/wiki/index.php/378:_Real_Programmers
Title: Re: How do you track your finances?
Post by: Santos on December 09, 2024, 12:46:00 AM
Hello everybody,

(CLI Spreadsheets => https://lock.cmpxchg8b.com/spreadsheet.html )

I tried it before but it kept on crashing on me.

... paper thingys with pictures of old guys and add'em up.

Cool.

"Expense(-)Calculator(.sh)"

butterflies 8)


Amazing, I'll play with the awk script.

Also, butterflies? way too much bloat, I would rather do mosquitoes. :)
Title: Re: How do you track your finances?
Post by: Vic on December 09, 2024, 01:30:49 AM
"rather do mosquitoes"

Mosquitoes suck. Bad choice.
Title: Re: How do you track your finances?
Post by: gadget42 on December 09, 2024, 03:55:18 AM
I've used a spreadsheet for years now, easy to set up, (even sc on the cli), either Libre Office Calc or Gnumeric.....

(CLI Spreadsheets => https://lock.cmpxchg8b.com/spreadsheet.html )

definitely worth a visit to Tavis Ormandy's website! here is just one adventure to whet your appetite:

https://lock.cmpxchg8b.com/slowterm.html
Title: Re: How do you track your finances?
Post by: mocore on December 12, 2024, 06:58:19 AM
"Expense(-)Calculator(.sh)"

butterflies 8)


Amazing, I'll play with the awk script.

Also, butterflies? way too much bloat, I would rather do mosquitoes. :)

ha!

... wrt the running / groking random  awk script's , appending this function to quickly "see" the state of the process progress  ;D

Code: [Select]
'
 function d(msg) { print msg > "/dev/stderr" } # print debug msg to [url="https://en.wikipedia.org/wiki/Standard_streams#Standard_error_(stderr)"] standard error [/url]

**some-other-awk-script**
'


has provided me much insight
Title: Re: How do you track your finances?
Post by: Santos on December 12, 2024, 11:12:44 PM
definitely worth a visit to Tavis Ormandy's website! here is just one adventure to whet your appetite:

https://lock.cmpxchg8b.com/slowterm.html

I just saw the 'ledger' post. And his participation in the Google group, neat.

I tried to do  sqlite  but is way too complex for me. I'll try  ledger  and see how it goes. The documentation is for the 3x series but I'll run it in an Alpine chroot because of the lack of packages in TC64 and the outdated one in TCx86.