News for hackers. Stuff that matters.
Re:Firefly III – Self-hosted financial manager by grenoire on Monday September 09, 2019 @09:21AM (#20917842)
You get immediate executables through Go.

PHP, on the other hand, requires fifty packages and your sister's phone number before you get segmentation faults from the caching script and give up.

Re:Firefly III – Self-hosted financial manager by vorpalhex on Monday September 09, 2019 @09:36AM (#20917997)
Docker/containerd is your friend, especially if you don't want to maintain a LAMP stack and try to match php versions.
Re:Firefly III – Self-hosted financial manager by beatgammit on Monday September 09, 2019 @09:45AM (#20918069)
And Go is even similar. Instead of having to deal with docker/docker-compose, I can just put an executable somewhere. If I have multiple apps, I just set up a reverse proxy through my web server and I'm done.

It's a bit telling that I essentially need to run a docker container for something so simple. Statically compiled binaries are super simple to use.

Re:Firefly III – Self-hosted financial manager by grenoire on Monday September 09, 2019 @09:56AM (#20918175)
When dealing with contractors, it's impossible not to maintain a LAMP stack. Often times I don't get to choose the technology I have to deploy, and it's not fun when I get to wrestle with PHP. Luckily the contractors' time spent fixing their deployment instructions is billable for me.
Re:Firefly III – Self-hosted financial manager by dastx on Monday September 09, 2019 @01:45PM (#20920449)
> requires fifty packages

At least the packages are often done professionally (e.g. symfony developed ones etc.). The standard library is pretty great so you don't always have to rely on packages. Often the same third party packages you'd have to rely on in PHP, you'd have to rely on similar packages for go.

> you get segmentation faults

Not sure where you get this from. In my 6 or so years of professional PHP development I've never seen a segmentation errors.

Anyway, still prefer a single go executable. It's just so much simpler.

Re:Firefly III – Self-hosted financial manager by TeMPOraL on Monday September 09, 2019 @11:41AM (#20919163)
Ouch.

If accurate, then it's sad to see PHP to fall this way. I remember the good days when all it took to deploy your PHP project was (S)FTPing the code to a folder and pointing Apache to it.

Re:Firefly III – Self-hosted financial manager by smashthepants on Monday September 09, 2019 @12:11PM (#20919464)
You can still do that today, even with laravel and composer. There's no requirement to make your deployment process any more complicated...