45 Followers
10 Following
40 Posts
Software developer, sysadmin and all-round IT guy for the Open University in Milton Keynes.
githubhttps://github.com/fisharebest
webtreeshttps://webtrees.net
scubahttps://www.mksac.co.uk
rock climbinghttp://www.mkmountaineering.org

I'm moving many of my projects from github to codeberg.

One of them has 20 years of history, 10K users and a git repository approaching 1GB. A lot of this comes from:

* third-party libraries, from the days before composer
* translation files, that could easily live in a separate repository

Should I take this opportunity to purge the git history and reduce storage/network/environmental costs for everyone?

No - historical integrity is too important
Yes - nobody cares about ancient versions of code
Poll ends at .

Several of my sites are now being hit by Microsoft's BingBot (valid, I checked the IPs).

It is abusing my "/search?query=..." URL to search for everything from chinese motorcycle parts to train times.

Is Microsoft really running its searches through every search-form it can find on the internet?

/Sigh

Every website I control is being overwhelmed by robots.

It's all the same pattern: one request per IP address and random user-agent strings.

One site had 1.6 million unique IPs in the last week.

What kind of botnet is this?

Current fix:

If request has no cookies and a chrome/firefox/etc. user-agent, then send 4xx response with a cookie, and a body containing meta-refresh tag.

Browsers see the HTML and reload with a cookie.
Robots see the 4xx.

It works - but the robots keep coming...

#webtrees 2.1.22 (PHP 7.4-8.4) and 2.2.1 (PHP 8.3-8.4) are now available for download. See https://webtrees.net/blog for the changelog.
Blog

webtrees is a web application that allows you to publish your genealogy online, collaborate with family members and take control of your data.

#webtrees 2.1.21 is now available for download. It adds support for PHP 8.4. See https://webtrees.net/blog/ for more details.
Blog

webtrees is a web application that allows you to publish your genealogy online, collaborate with family members and take control of your data.

#webtrees 2.1.20 is now available for download. Compatibility fixes for PHP 7.4, PHP 8.4 and PostgreSQL

https://webtrees.net

webtrees

webtrees is a web application that allows you to publish your genealogy online, collaborate with family members and take control of your data.

#webtrees 2.1.19 is now available for download
https://webtrees.net
webtrees

webtrees is a web application that allows you to publish your genealogy online, collaborate with family members and take control of your data.

In #laravel 10, we can no longer pluck expressions from database queries.

->pluck(DB::raw('sum(foo)'))

The upgrade guide says we must now use:

->pluck(DB::raw('sum(foo)')>getValue(DB::connection()->getQueryGrammar())

This all seems rather "un-eloquent".
Am I missing something?

This is my first time submitting a PR to Laravel and I'm surprised no one among the eyeballs watching the huge framework has noticed this issue. https://github.com/laravel/framework/pull/45790
Fix ValidationValidator not to accept terminating newline by zonuexe · Pull Request #45790 · laravel/framework

I've seen #45769 merged and realize that these methods are probably accept unintended newlines. The manual (PHP: Meta-characters) says that $ matches not only the end of the string, but also the te...

GitHub

#webtrees 2.1.13 has just been released. Details at https://webtrees.net/blog

According to https://dev.webtrees.net/statistics.html there are now over 6000 sites running webtrees.

Blog

webtrees is a web application that allows you to publish your genealogy online, collaborate with family members and take control of your data.