T4g + Amazon Linux 2 + goofys + PHP8

mount S3 by Goofys

install Goofys

# yum-config-manager
# yum-config-manager --enable epel
# yum search goofys
# yum repolist
# exit
# export GOPATH=$HOME/go
# cd go/
# go get -d github.com/kahing/goofys
# cd ..
# cd go/src/github.com/
# cd /root/go/src/github.com/kahing/goofys/
# git submodule init
# git submodule update
# cd /root/go/src/github.com/
# go get github.com/Azure/azure-pipeline-go
# env | grep GO
# export GOOFYS_HOME=/root/go/src/github.com/kahing/goofys/
# go get github.com/Azure/azure-pipeline-go
# ls
# cd google/
# cd /root/go/src/github.com/kahing/goofys/
# go install /root/go/src/github.com/kahing/goofys/
# ll /root/bin
# ll /root/go/bin/
# whereis goofys
# ll /usr/local/bin/goofys
# whereis goofys
# /root/go/bin/goofys --help
(さらに…) 続きを読む >

Plugin: Easy Google Fonts » Fatal error on Settings -> advanced page

aaaWordPress Version 5.7.2 `Current plugin: Easy Google Fonts (version 1.4.4) PHP version 8.0.3

Error Details

An error of type E_ERROR was caused in line 497 of the file /home/secretsauce/public_html/wp-content/plugins/easy-google-fonts/includes/class-egf-font-utilities.php. Error message: Uncaught Error: Call to undefined function get_magic_quotes_gpc() in /home/secretsauce/public_html/wp-content/plugins/easy-google-fonts/includes/class-egf-font-utilities.php:497
Stack trace:
0 /home/secretsauce/public_html/wp-content/plugins/easy-google-fonts/includes/class-egf-font-utilities.php(254): EGF_Font_Utilities::json_decode()
1 /home/secretsauce/public_html/wp-content/plugins/easy-google-fonts/includes/class-egf-font-utilities.php(335): EGF_Font_Utilities::get_google_fonts()
2 /home/secretsauce/public_html/wp-content/plugins/easy-google-fonts/includes/customizer/class-egf-customize-manager.php(178): EGF_Font_Utilities::get_all_fonts()
3 /home/secretsauce/public_html/wp-content/plugins/easy-google-fonts/includes/customizer/class-egf-customize-manager.php(229): EGF_Customize_Manager->customize_load_all_fonts()
4 /home/secretsauce/public_html/wp-includes/class-wp-hook.php(292): EGF_Customize_Manager->customize_controls_enqueue_scripts()
5 /home/secretsauce/public_html/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters()
6 /home/secretsauce/public_html/wp-includes/plugin.php(484): WP_Hook->do_action()
7 /home/secretsauce/public_html/wp-admin/customize.php(123): do_action()
8 {main}


続きを読む >

New calculator can predict risk of being diagnosed with dementia

Canadian researchers developed a calculator that can predict the chances of those 55 and up getting diagnosed with dementia.

You can count on Canadian researchers to build a calculator that can predict your chances of developing dementia.

Researchers at the Ottawa Hospital, the University of Ottawa, the Bruyère Research Institute and ICES developed an online calculator empowering people over 55 to understand how they can reduce the risk of being diagnosed with dementia in the next five years. This is the first tool designed to predict dementia, which refers to loss of memory and other thinking abilities that interferes with daily life, on a population level. Over 6.2 million Americans over age 65 live with dementia and, in Canada, more than 76,000 new cases of dementia are diagnosed yearly. During the COVID-19 pandemic, Alzheimer’s and dementia deaths increased 16% in the US.

The calculator — or the Dementia Population Risk Tool (DemPoRT) — can estimate the number of new cases in the community, identify higher-risk populations and inform dementia prevention strategies.

続きを読む >

Updated wp-includes/class-wp-feed-cache.php for FeedWordPress

$ diff wp-includes/class-wp-feed-cache.php.org wp-includes/class-wp-feed-cache.php
< class WP_Feed_Cache extends SimplePie_Cache {
> class WP_Feed_Cache {  //class WP_Feed_Cache extends SimplePie_Cache {
< 	public function create( $location, $filename, $extension ) {
> 	public static function create( $location, $filename, $extension ) {   //public function create( $location, $filename, $extension ) {


続きを読む >

The $149 Smartphone That Could Bring The Linux Mobile Ecosystem to Life

The low-cost PinePhone isn’t a perfect device, but the nuanced ecosystem it’s going to build for Linux-based smartphones is going to be amazing.

A version of this post originally appeared on Tedium, a twice-weekly newsletter that hunts for the end of the long tail.

If you kept a close eye on the Apple vs. Epic Games trial, you might be wondering: How the hell did we get to this point, where a phone maker that simultaneously supports the daily needs of hundreds of millions of users could have so much literal say over how its ecosystem operates?

続きを読む >