lazylion_ca

joined 1 year ago
[–] lazylion_ca@lemmy.ca 2 points 1 day ago* (last edited 14 hours ago) (1 children)

I have neither option option. All bananas are delivered to my landlocked town via the same truck.

Bananas are probably a bad example because they are so perishable. They have to be transported in a very controlled environment. Theres no way youre getting bananas from Guatamala to Canada via sailboat and still having them be saleable.

[–] lazylion_ca@lemmy.ca 4 points 1 day ago (5 children)

But it doesnt work. Grocery stores raise their prices to cover the carbon tax on deliveries, and the consumers pay more. Its not like we can choose to buy only bananas that were delivered by an electric truck.

[–] lazylion_ca@lemmy.ca 9 points 1 day ago (9 children)

The biggest polluters just pass the cost onto their customers by raising prices.

[–] lazylion_ca@lemmy.ca 1 points 1 day ago

This is a great way to motivate the developement of hovercars and boards.

[–] lazylion_ca@lemmy.ca 3 points 2 weeks ago

I was a dj for about 20 years.

[–] lazylion_ca@lemmy.ca 4 points 2 weeks ago (3 children)

I can palm a tennis ball, roll it down my arm, bump launch it with my bicep, and catch it. Freaks people out who are standing close as the balls launches right at them, but I've always caught it. Discovered later I could do it with anything that rolls like a microphone.

[–] lazylion_ca@lemmy.ca 1 points 2 weeks ago (3 children)

What are some things youve done that have not caught on? What are you into currently?

[–] lazylion_ca@lemmy.ca 6 points 2 weeks ago

We've been brainwashed by advertising to think that the paste and mouthwash are what matter. They help, yes, but brushing is what matters most. The toothbrush is not just an applicator.

That said, I personally find Sensodyne to work better than other brand's product for sensitive teeth.

[–] lazylion_ca@lemmy.ca 2 points 2 weeks ago (1 children)

It can, yes, but even a cheap toothbrush used properly will do the job. No need to buy brand name when the store brand will do.

 

Fortunately the gentleman at the front desk allowed me to switch rooms. For $200 a night, I'd like to not hit my head on the wall when standing up.

[–] lazylion_ca@lemmy.ca 9 points 2 weeks ago (11 children)

Toothbrush. Anything you'll use comfortably will do the job.

[–] lazylion_ca@lemmy.ca 50 points 2 weeks ago (3 children)

I have never broken a 10 mm wrench, but I have lost a few. So I bought a ten pack on Amazon.

 

Raining like crazy here in Grande Prairie. I'm waiting for the flood pictures to hit facebook.

 

Hi all

I have an Alpine container on Proxmox that we use as a Zabbix Proxy. On it there is a PHP script (no web server). When I ssh in with my normal user account and run the PHP from cli, it works great. When I su to user root (for testing) it works fine. But when I su to user zabbix, I get:
Class "PhpOffice\PhpSpreadsheet\Spreadsheet" not found

This a problem because it will be Zabbix that triggers the script once a day. I get the same error whether zabbix triggers the script, or I trigger it from cli.

I have other ash, php, and python scripts on the proxy that run just fine when Zabbix triggers them.

The require statements at the top of the script don't throw an error:
require $folder . "/phpSpreadsheet/vendor/autoload.php"; use PhpOffice\PhpSpreadsheet\Spreadsheet; use PhpOffice\PhpSpreadsheet\Writer\Xlsx;

The error happens farther down when it creates a new spreadsheet in memory: $spreadsheet = new Spreadsheet();

I had to use Composer to install the phpSpreadsheet library. I was getting a bunch of file & folder permissions errors but I'm certain I've covered that as this is not a file permissions error. I even reran composer as the zabbix user to check for permissions.

From googling I've found that the zabbix user is a "service account" as opposed to a user account. I used "su zabbix -s /bin/ash" get a cli going so I could test running the script directly. Running env shows that the Zabbix user's HOME directory is "/dev/null" Beyond that I'm not sure what differences there are between the accounts, or what would prevent a php class from loading.

Any help is welcome. Thanks.

view more: next ›