Tiny Core Linux
Tiny Core Extensions => TCE Talk => Topic started 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?
-
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 )
-
I reach in my pocket and pull out those paper thingys with pictures of old guys and add'em up.
-
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
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
-
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. :)
-
"rather do mosquitoes"
Mosquitoes suck. Bad choice.
-
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
-
"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
'
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
-
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.