Akos

Akos

@yzahk.in

💻 I write code for a living. 📸 Take photos for fun. 🎮 When I develop a new game I will write about it @yzahkin.games Here I post everything 🏡 My links: ◽ https://yzahk.in is about all my stuff online ◽ https://ko-fi.com/yzahkin

98 followers267 following533 posts

Things happening so fast and so close to each other I have no way to start my new programming project after my budgeting software. But at least my budgeting software works well.

I blindly bought a WiFi antenna for my Linux machine. While I waited it to arrive I checked solutions to make it work. When I plugged it in nothing happened. Not a sound, not a pop up. But it worked instantly in the little network icon next to the clock.

I avoided every spoiler about RE4 for 20 years. Playing the remake is so much fun!

And I had to update my budgeting app. I found one last bug that was introduced when I set up security. I just banned every inline styles. It broke the budget view. It is a shame you can not put nonce in HTML tags to let inline styles to be in them. So now I let inline styles globally.

I am done. Here is my small budgeting software that is made by me for me. This is the bare minimum a budgeting app needs, and the maximum I need. I made it because using sheets is convoluted and budgeting apps are overkill for me. This is just what I needed. github.com/akosnikhazy/...

github.comGitHub - akosnikhazy/very-simple-budget: A small PHP application keep track of you money. Self hosted, open source and free.A small PHP application keep track of you money. Self hosted, open source and free. - akosnikhazy/very-simple-budget

I yet to comment the code, then I just release it to the wild.

Akos@yzahk.in

I added a bunch of security to the budgeting app. Login tries are limited now. As I use inline scripts now it has nonce and headers doesn't let any other inline script to run, and I missed some CSRF fields too at some pages. I left all this to the end, because everything else needed to be set.

I added a bunch of security to the budgeting app. Login tries are limited now. As I use inline scripts now it has nonce and headers doesn't let any other inline script to run, and I missed some CSRF fields too at some pages. I left all this to the end, because everything else needed to be set.

I finished my budgeting app and started using it. While using it, I found some UX problems, which I weeded out. Once I'm comfortable using it, my next step will be to read my code, clean it up, comment it properly, release it, and forget about it.

It is so funny to write a blog nobody reads. I keep up a server, have a domain for it. Develop tech in WordPress so it works how I want it to be. I write out my opinions in long text, so I post less on any social media. Other than the fact that I pay for it: is great.

I said I was done then implemented an aftertaught "today budget" thing. I might make a bar thing for that too, but I do not see the point. Daily spending is food and entertainment mostly. So it is good to see how much you can spend given day.

I find this normal? I mean nothing have to last forever. People do want to play new games. Things like this happen because live games want all the money and all the time of all the people. And that just can not happen. People find new stuff to play.

Akos reposted

I half want to replace my Cupig to that pig in my game, but I really do not want to do any more work in that thing. It would be funny tho. I am almost done with my side project and ready to start making my new, bigger, better, seriouser (I promis) attempt to make a game. This time in Godot.

Kenney@kenney.nl

Added 9 new pets (and remade all previously included, added 4 new animations for each) to these free #gameassets, they'll be released Thursday March 26th!

Also this is "delete" only in name. Actually it puts a datetime value in the "transaction_discarded" field and the software doesn't count or render those not null.

Akos@yzahk.in

I made the delete after all. If you delete transactions the amount_total updates. But it also keeps the history of transactions so it can be followed up. Also if a transactions was move between two accounts (two transactions) it deletes both.

I made the delete after all. If you delete transactions the amount_total updates. But it also keeps the history of transactions so it can be followed up. Also if a transactions was move between two accounts (two transactions) it deletes both.

I am not sure if I want to put transaction deletion in the software. It is a difficult thing to do, as I have a table for the current amount too. Feels dangerous. It would be easier to make a "fix" category. But that is messy data. Yet to decide. But I am also so close to release.

Call me a cynic but I am sure in #residentevilrequiem you can not wear the wristband items (hence taking up inventory space) because both characters wears real world Hamilton watches they want to sell to you. So nothing else can be on their wrists by contract.

Call me a cynic but I am sure in #residentevilrequiem you can not wear the wristband items (hence taking up inventory space) because both characters wears real world Hamilton watches they want to sell to you. So nothing else can be on their wrists by contract.

(also it work, I really fancy Leon's watch, but I do not think any watch worth the price they put on it. It is all fake)

"any more functionality" just happened: I made a setting so automatic backups can be turned off.

Akos@yzahk.in

I added export button to the ledger. Also the menu looks so much better on phones now. And I made the input field's minimum to be 0.00000001. I do not use crypto but if someone wants to budget that: feel free. So close to the finish line. I do not think any more functionality needed.

I added export button to the ledger. Also the menu looks so much better on phones now. And I made the input field's minimum to be 0.00000001. I do not use crypto but if someone wants to budget that: feel free. So close to the finish line. I do not think any more functionality needed.

After posting this I remembered I have to change the budget page budget input to also accept floats. They also accept 0 as it could happen someone doesn't want to spend at all on a category.

I added a database download and a database backup functionality for my budgeting app. Every login it makes a backup and keeps the last 10 backups.

And now it looks much better. At least I like it much better. Selected a more bearable red and green. Also I added the wants vs needs bar.

Yesterday I made the budget bars. I started out by javascripting the table to bars. But realized it is more accessible if I render the bars with the same template data. They are green under 80% reaching the budget limit. Also I do not break them down at 100 but CSS overflow:hidden solves it.

It will be two tabs. Main tab will be colorful bars, the second one will be this table. I playing with the idea to use the table as a base for a javascript that renders the table itself as bars.

Akos@yzahk.in

So close to release. I just have to make the budget nice. I want colorful bars. (now it is table)

So close to release. I just have to make the budget nice. I want colorful bars. (now it is table)

Another small fix for my budgeting software: now savings category doesn't got to wants neither needs. It is its own category after all. I might type the accounts and make a saving type instead? I want this simple, but I learn so much about money because of this.

Now the budgeting software have account management. Users can add, edit and disable accounts. Disabled accounts still showing up in the list when making a transaction, but that will be an easy one line fix.

When you make table thead HTML you either this or you put the column labels in one line. Both are ugly. I like this better because I see everything at once. But people said to me it is harder to imagine how it will look this way. And I get that. My engine puts the whole HTML in one line at the end

So far done: - basic site engine - transaction recording (in, out and move between accounts) - basic settings - wants and needs mechanism - transaction list with filters - login What needs to be done: - account management (create new and close, never delete) - transaction editor - install script

I tough about language support for my budgeting app, but most of the text is in a json file already, the remaining ones are in the HTML templates. It will be open source. So if someone wants it in their own language it is very doable. I might add it later tho. If I add it, it will be a setting.

The only good thing in Windows 11 is wsl. Running a virtual Linux in it when I can not dual boot or use any other Linux distros is great.

This weekend was productive. A photoshoot and making web design for my financial software. I broke the 4 colour rule and I use an eggshell white for form panels. Also I made the tables pretty spacious. I might make a separate compact view for printing data.

Last year I bought a #PlayStation 3 and MGS4 for less than MGS Collection Vol 1. I missed out of MGS4 for 17 years at that point. I watched it as a long movie several times. But playing it was a blast! It is still a good game. To play MGS4 in 4k...? Will buy it again, against my better judgement.

Also I changed a bunch of things in the app. I am really playing with the idea to make budget categories dynamic. For example I have "savings" category. But that "s" at the end of the word calls for diversification in categories. Not that I have savings. But the app needs it.

I put CSRF protection in my financial app, also I decided to drop sha256 for password hashing, now I use PHP-s password functionality. It seems better.

This weekend I finished the settings page for my budgeting software and set it up so the budget calculates transactions only in accounts that have a base currency. Later I might let the user have multiple budgets for multiple currencies. But for now it is just enough.

Also I dropped the phrase "net worth". While the software is capable keeping track of that I find it clownish to care about that number for normal people. Lets say you have a home and mortgage. On paper you are rich, your net worth is high. Then you go on live month to month hence the budgeting.🤡

But if someone wants to see that number they just have to make an account for their home, shares etc and one for the loans they are paying back. Then the number will be apparent. They can even change the code to say net worth.

It is not at all production ready, it just works for me as I made for me. If you use it you have to fill $handle variable with your handle. That is dumb but I was lazy to make a better admin page. The access token is still encrypted in database. So that is that.

Next weekend I will make the settings page of my software. Because of that I have to rewrite big parts of the budgeting to use the setup currency value. I did not think about this in advance. But it is not much of a hassle.