lazylion_ca

joined 1 year ago
[–] [email protected] 1 points 1 day ago

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

[–] [email protected] 3 points 1 week ago

I was a dj for about 20 years.

[–] [email protected] 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.

[–] [email protected] 1 points 2 weeks ago (3 children)

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

[–] [email protected] 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.

[–] [email protected] 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.

[–] [email protected] 9 points 2 weeks ago (11 children)

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

[–] [email protected] 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.

[–] [email protected] 0 points 2 weeks ago

Inefficient how? Battery life, storage space, ram, processor cycles?

[–] [email protected] 4 points 2 weeks ago (1 children)

Back in the 80s & 90s you had to configure settings like IRQ and bad sectors.

[–] [email protected] 1 points 2 weeks ago

I agree, but it was free.

158
My new m.2 ssd (lemmy.ca)
submitted 2 weeks ago* (last edited 2 weeks ago) by [email protected] to c/[email protected]
 

Got a used HP Probook laptop. Just needs a new drive. HP specs say it has an m.2 2280 slot. So that's what I ordered. Guess I needed to look closer.

edit: Thanks for all the info, guys. Different types of keys are explained here. Gonna have to look for a sketchy no-name brand.

 

I have imposter syndrome, both at work and in my relationship.

 

I changed out the burner tubes in the propane grill. The first set of burners I got did not have adjustable air inlets. Ordered some different ones and the difference is surprising.

 

Or any pet food I guess.

 

Are there other types of fruits that could go well with tomatoes in a salad?

 

A Taco Bell finally opened up where I live, and we are going to go try it tonight. What should I try and what should I avoid?

Of course I know I should try another restaurant and avoid Taco Bell, that's too obvious, but what is life without a little Adventure.

 
 
 

Not necessarily your favorite, but something you recently discovered or rediscovered.

 

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 ›