@ramsey - if the timestamps are generated by MySQL, then aren't they set to the start of the transaction, not to the actual time? So overlapping transactions would explain this...?
Software developer, sysadmin and all-round IT guy for the Open University in Milton Keynes.
@ramsey - if the timestamps are generated by MySQL, then aren't they set to the start of the transaction, not to the actual time? So overlapping transactions would explain this...?
@jdecool - I have about 2000 errors in my baseline for about 250,000 lines of code. (Down from about 8000 when I started using phpstan.)
AFAICT, most are caused by two things:
1) I have an error-handler so functions like file_get_contents() will throw exceptions instead of returning false.
2) Every SQL query (Laravel QueryBuilder) gives a return type of mixed, and I don't see a way to tell it what columns/types are returned.
@paulshryock Using `FooInterface` frees up the name `Foo` for your implementation. If the interface is `Foo`, then I need to think of something else to call my implementation. One of the two hardest problems in computer science and all that... 😀
@paulshryock IMHO, interfaces should always have names ending in"Interface". No preference as to implementation names.
#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.
#webtrees 2.1.21 is now available for download. It adds support for PHP 8.4. See https://webtrees.net/blog/ for more details.
I switched from Google to Proton when the former demanded my date-of-birth and threatened to terminate my account if I failed to provide it. They didn't, but I moved anyway. Initially, the offering was a bit incomplete (e.g. sync local filesystem to remote storage), but they update regularly and it now does everything I want/need. I can't fault them. If you do decide to sign up, here's a referal code. https://pr.tn/ref/NFVKJKEJQFG0
#webtrees 2.1.20 is now available for download. Compatibility fixes for PHP 7.4, PHP 8.4 and PostgreSQL
#webtrees 2.1.19 is now available for download
https://webtrees.net
@thomastospace The only thing I can remember from that time was a server crash, not a browser crash. https://bugs.php.net/bug.php?id=53632
@dgoosens - Once - for a F/OSS project that had been MySQL for a decade, and now runs on MySQL/Postgres/SQLite/SQLServer.
`whois littlehart.net ` says 1998-10-07 (but I bet you knew that really!)
I've had subaqua.co.uk since 03-Dec-1997
@osteel - Life isn't always about money. I have all those skills but earn 2/3 that. I work at a university with a great campus and facilities. I get 45 days leave, work-from-home, flexible hours, a great boss and no stress. I wouldn't swap it for double the money!
@theshaunwalker - At least you got to vote. I was turned away. 6 forms of photo-id plus my ballot card. Not good enough.
Yes - I could have applied for a voter-id card last month - but if I was that organised then I would be able to find my driving licence.
@Synchro - I was there too! I'll look up the video.
@skematogafi - did you specify the username in the command line?
sftp username@example.com
The PR seems to assume that anyone using expressions will extend the class.
https://github.com/laravel/framework/pull/44784
The upgrade guide says it "does not affect end user applications".
https://laravel.com/docs/10.x/upgrade#database-expressions
So, I guess I must be missing something, like an undocumented ->pluckRaw() function...
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
@zonuexe Good spot! I think the `D` modifier might be a little more readable than `\z`. Either way, there's lots of code I need to review...