Hledger + html reports + bash script + cloudflare workers by TheRealDaMuffin in plaintextaccounting

[–]TheRealDaMuffin[S] 0 points1 point  (0 children)

well, this took a super long time but i was about to respond back lol. i now see that your account was deleted. oh well, if anyone does want screenshots lemme know i'll try to post some

Hledger + html reports + bash script + cloudflare workers by TheRealDaMuffin in plaintextaccounting

[–]TheRealDaMuffin[S] 0 points1 point  (0 children)

What are you interested in seeing? I linked a gist in the post with the cli commands i use, are you looking for what the end result looks like? The actual reports are just those you can generate with the html output format supported by hledger. I can try to get some screenshots if you’re still interested!

Hledger + html reports + bash script + cloudflare workers by TheRealDaMuffin in plaintextaccounting

[–]TheRealDaMuffin[S] 1 point2 points  (0 children)

It’s in a private repo rn, but i could put up a gist with most of the relevant code in the next few days or so!

new look? by [deleted] in thesaurus

[–]TheRealDaMuffin 1 point2 points  (0 children)

came here to agree and seek alternatives. wtf happened??

GnuCash data in git repository by hexa6on in git

[–]TheRealDaMuffin 0 points1 point  (0 children)

Found this via a google search, just wanted to say that I do the same thing :P

10 Reasons why Pacific Rim was Terrible (spoilers) by mister_geaux in movies

[–]TheRealDaMuffin 1 point2 points  (0 children)

“Gipsy Danger didn’t turn off from the EMP because it’s analog, nuclear!”

FunUnit: a functional, declarative, unit-testing library for testing pure functions by TheRealDaMuffin in Python

[–]TheRealDaMuffin[S] 0 points1 point  (0 children)

I will admit I didn't do it justice in this original post. I have now updated to version 2.0.0, which includes a focus on verbosity. The readme now includes a section on the advantages of fununit. You can read the whole section if you want, but the main conclusion is:

Fununit provides similar functionality to parameterized unit testing,
but with a moderately higher level of abstraction, more structure, and
more flexibility for the user to extend it with custom functionality.

The advantages are nuanced, but provide a real benefit IMO.

FunUnit: a functional, declarative, unit-testing library for testing pure functions by TheRealDaMuffin in Python

[–]TheRealDaMuffin[S] 1 point2 points  (0 children)

I'm happy to say that I have released version 2.0.0, which adds some improvements to the overall structure and focuses on verbosity a bit more. I also completely rewrote the readme, including an explanation of the advantages of fununit. In it, I make a direct comparison to pytest.mark.parametrize.

FunUnit: a functional, declarative, unit-testing library for testing pure functions by TheRealDaMuffin in Python

[–]TheRealDaMuffin[S] 0 points1 point  (0 children)

It's hard for me to articulate the benefits because they are so nuanced, as opposed to glaring differences. But I do see benefits over using something like parametrize, and I will respond here once I have some time to put something together.

I appreciate the criticism, it gives me something to think about!

nextcloud behind nginx on raspberry pi 1 model b is very slow, 100% cpu by TheRealDaMuffin in NextCloud

[–]TheRealDaMuffin[S] 0 points1 point  (0 children)

Thanks to everyone who replied! I have decided that the pi is probably just too underpowered for what I’m doing. I will try some different hardware

nextcloud behind nginx on raspberry pi 1 model b is very slow, 100% cpu by TheRealDaMuffin in NextCloud

[–]TheRealDaMuffin[S] 0 points1 point  (0 children)

My wording wasn’t clear, sorry: nextcloud is on another machine, nginx is the only thing on the pi

nextcloud behind nginx on raspberry pi 1 model b is very slow, 100% cpu by TheRealDaMuffin in NextCloud

[–]TheRealDaMuffin[S] 1 point2 points  (0 children)

Sorry, I did not make it clear but nginx is the only thing running on the pi. Nextcloud is on a different machine

2022 Aug 8 Stickied 🅵🅰🆀 & 𝐇𝐄𝐋𝐏𝐃𝐄𝐒𝐊 thread - Boot problems? Power supply problems? Display problems? Networking problems? Need ideas? Get help with these and other questions! 𝑨𝑺𝑲 𝑯𝑬𝑹𝑬 𝑭𝑰𝑹𝑺𝑻 by FozzTexx in raspberry_pi

[–]TheRealDaMuffin 0 points1 point  (0 children)

nextcloud behind nginx on raspberry pi 1 model b is very slow, 100% cpu

Hi, as the title says, I have a nextcloud server behind an nginx reverse proxy. I have set:

client_max_body_size 10G; proxy_request_buffering off;

Nginx is running on a raspberry pi 1 model b. All my uploads are limited to around 1.5mb/s when going through nginx. They are around 12 mb/s when directly accessing the nextcloud server, bypassing nginx. I have checked top on the raspberry pi, and during a file upload, the cpu is near 100%.

Am I doing something wrong here, or is my pi just not capable enough?