Update my Models

Today I've discovered a particular behaviour of Laravel models' events handling: the updating event is not fired if the object's attribute have not been really modified. More specifically, if isDirty() returns FALSE. So, your Model::updating() callback is not really executed for each save() on an existing model, but only…

Monthly Report: February 2018

What I've done this month... My Software Projects GASdotto: management application for ethical purchasing groups many fixes on the repository closed #21, #30, #31 given a lightning talk to FOSDEM 2018 Spunta: a simple checklists manager initial release on the repository Burnia: honeypot-based captcha initial release on the repository public…

Monthly Report: January 2018

What I've done this month... My Software Projects GASdotto: management application for ethical purchasing groups many fixes on the repository added support for international localization My Contents 95 CC-BY photos loaded on my Flickr profile.…

Monthly Report: December 2017

What I've done this month... My Software Projects GASdotto: management application for ethical purchasing groups many fixes on the repository postegg: endpoint to POST data from web forms some fix on the repository tiret: a simple S3 frontend some fix on the repository…

Mails into the Web

Requirement: "Given this Mailchimp newsletter, embed the latest issue in that Jekyll static website". Mailchimp offers many APIs, but this approach requires too many complications. Instead my solution relies on RSS: given the RSS feed of your newsletter (you can obtain it with the "RSS" link…

Falling in a Dot

After many hours debugging a Laravel application, I've found the issue. The Request object handles input arrays using a so called "dot notation", to permit you to directly access structured informations in the form of $name = $request->input('products.0.name'); That's really cool. Until you don't…

Monthly Report: November 2017

What I've done this month... My Software Projects GASdotto: management application for ethical purchasing groups many fixes on the repository fixed 16, 22, 23 postegg: endpoint to POST data from web forms initial release on the repository public instance, freely accessible apress: a simple Twitter scheduler fixed 2, 3, 4…

Get Informed by Troubles

Today I opened the logs of a Laravel application of mine, publicly available. And found lots of exceptions. Quickly, I realized those were generated by a new user trying to do stuffs no one ever tried (and no one ever noticed as failing). Once the issues were fixed, I decided…

More Work Surface

I usually work on a laptop with an external monitor, but given the abundance of monitors at home I've looked around for some way to use a RaspberryPI as "wireless video interface" and further extend my display real estate. I've not been able to find any method, but…

Multilaravel

I have a Laravel application with a few dependencies, but it is enough to require almost 200MB on disk. I suppose this is the price for convenient dependencies installation and upgrade... This application has to be hosted in multiple instances, but it seems not a viable solution to duplicate everything…