DomPDF seemed to be the most functional one when I looked at it, but it supported a fairly arbitrary subset of HTML and CSS, and page numbers were very hard to get right, and properly splitting a table across pages ended up needing me to estimate the amount of rows per page in php and manually doing splitting
The most reliable option is spinning up a headless chrome and doing print to pdf from there but that's just depressing to me
Knowledge is at least 2 years old at this point tbh could be things have vastly improved
I've recently switched to manually writing an openapi doc (really not that hard) and treating it as the source of truth spec that gets collaborated on between backend people and app people. If something doesn't work, it's then quite clear whose bug it is. Works well, I prefer it over auto generated
MariaDB/MYSQL has some oddities which really annoy the crap out of me, the latest one for me being not having a datetime with timezone column (making every query a pain)
I just tried sail mysql (previously I had run sail shell and then mysql from there) and it worked just fine.
Stuff like sail artisan migrate returns the following SQLSTATE[HY000] [2002] Connection timed out (SQL: SHOW FULL TABLES WHERE table_type = 'BASE TABLE')
Yeah that would be correct, it's how the docker network works. That bit is also created by the Sail system. Root user has no password in Sail by default, the MySQL option to allow that is set
Even better: you can ping 1.1, which is shorthand for 1.0.0.1 and also resolves to cloud flares dns (and is one of the only shorthand ip's that still work)
Won't that make my battery life even more terrible? It's a powerful laptop, I ain't expecting much, but I'm already getting about 30 min of pdf reading
You're right, don't mind the guy. LS_COLORS is incredibly powerful and all a colourscheme can do is change the colours you can pick from in LS_COLORS, essentially
Honest question, why does "more modern" matter for you? I get the icons part, but I'd rather rely on ls because that has been thoroughly tested and handles every edge case properly. And there are plenty of edge cases when a filename can consist of any byte sequence it wants.
DomPDF seemed to be the most functional one when I looked at it, but it supported a fairly arbitrary subset of HTML and CSS, and page numbers were very hard to get right, and properly splitting a table across pages ended up needing me to estimate the amount of rows per page in php and manually doing splitting
The most reliable option is spinning up a headless chrome and doing print to pdf from there but that's just depressing to me
Knowledge is at least 2 years old at this point tbh could be things have vastly improved
I wouldn't exactly want to highlight html to pdf much, it's pain only kind of works
I've recently switched to manually writing an openapi doc (really not that hard) and treating it as the source of truth spec that gets collaborated on between backend people and app people. If something doesn't work, it's then quite clear whose bug it is. Works well, I prefer it over auto generated
MariaDB/MYSQL has some oddities which really annoy the crap out of me, the latest one for me being not having a datetime with timezone column (making every query a pain)
I am not and decreasing the amount of ram didn't help. Neither did disabling transparent hugepages
New app works just fine, this is very confusing
EDIT: I take that back, it worked once. How lovely
Tried it multiple times. Right now I'm afraid I'm hitting some weird docker bug
Certainly! I have run that command quite a few times and I just did it again. The output is the exact same of just
sail artisan migrate, a timeout.I just tried
sail mysql(previously I had runsail shelland thenmysqlfrom there) and it worked just fine.Stuff like
sail artisan migratereturns the followingSQLSTATE[HY000] [2002] Connection timed out (SQL: SHOW FULL TABLES WHERE table_type = 'BASE TABLE')Yeah that would be correct, it's how the docker network works. That bit is also created by the Sail system. Root user has no password in Sail by default, the MySQL option to allow that is set
Ping is unfortunately not installed in these containers. Inspecting the network does show both containers up and connected to the network.
I did.
I am, they time out...
No, but when sail is up, I can connect to it using the
mysqlcommand on my host (as the mysql port is also exposed to the host, by default)It is in fact running, I can connect to it from my host.
Docker-compose for reference:
Even better: you can ping 1.1, which is shorthand for 1.0.0.1 and also resolves to cloud flares dns (and is one of the only shorthand ip's that still work)
I just went fuck it and am now on pure NVidia. It's noisy hot and drains power but fuck it, it actually works. Thanks mate
Did you get that from the repos? I can't find a single package that could be a hybrid driver
Tried bumblebee, didn't change anything really
What hybrid driver do you mean? Just both
nvidiaandxf86-video-intel? ormesainstead ofnvidia?Won't that make my battery life even more terrible? It's a powerful laptop, I ain't expecting much, but I'm already getting about 30 min of pdf reading
You're right, don't mind the guy. LS_COLORS is incredibly powerful and all a colourscheme can do is change the colours you can pick from in LS_COLORS, essentially
Honest question, why does "more modern" matter for you? I get the icons part, but I'd rather rely on ls because that has been thoroughly tested and handles every edge case properly. And there are plenty of edge cases when a filename can consist of any byte sequence it wants.
It's an option!
should be
systemctl startnotsystemd startAs separate packages from the unpatched versions seems like it's okay
My pleasure!