Pinned toot

Hi! I have been paying my bills programming in PHP for over a decade with WP being what got me into the language originally.

I have a number of personal projects that I work on with the PHP Plates based static site generator Tapestry github.com/tapestry-cloud/tape being the one that consumes the most spare time.

I thoroughly enjoy working with, and helping others and would very much like to be more involved in the PHP community at large.

The fun side of dealing with legacy PHP codebases is finding ini_set thrown around like a condiment.

This example is made more entertaining by the fact it now actually reduces the resource available as the server is set up to provide 3GB RAM and max execution of five minutes for report generation. :elephpant: ๐Ÿš€

This one is actually an outlier at nearly 7,000 LOC it's one of the biggest files in the project but could easily be split into 100 or so class's as it contains all the logic for report generation and is not very DRY.

:elephpant: ๐Ÿš€

Rather than a Follow Friday I thought I would do a Nasty PHP Friday instead.

This is the median length of files in a legacy Yii1 project I am working on. One of over three hundred such files. That in itself wouldn't be a big problem if it weren't for the fact this was written in the time of PHP 5.1 with zero namespaces. The way Yii1 loads files (it does its own autoloading) means there are a number of classes with conflicting names all in the base namespace. Hurrah! :elephpant: ๐Ÿš€

Mx Autumn :elephpant: boosted
Mx Autumn :elephpant: boosted
Mx Autumn :elephpant: boosted
Mx Autumn :elephpant: boosted
...
Mx Autumn :elephpant: boosted

@swistak Someone has used Emscripten to port PHP 7.3 to WebAssembly that runs in the browser oraoto.github.io/pib/

It opens up the language to many possibilities.

Mx Autumn :elephpant: boosted
Iโ€™m curious. For those of you who were using the internet before social media as we know it (pre 2008?) what platforms did you use?
Mx Autumn :elephpant: boosted
Picked up an old #gamedev project of mine. Itโ€™s interface will be reminiscent of the ASCII pipe interfaces of the 80s. Not sure if its going to be an entirely client side โ€œidleโ€ game or if I want to make it into the interface for a MMO.
Its a screenshot showing a CRT โ€ฆ
Mx Autumn :elephpant: boosted
We should be looking at academia, less as a means to social status, and more to look at learning as a form of leisure.
Mx Autumn :elephpant: boosted

@lynnesbian ๐Ÿ˜‹sorry, couldn't help myself - I had spent half of last night building something with the linux dialog tool and got excited when I saw your toot.

Mx Autumn :elephpant: boosted

roses are red
violets are blue
Status: :gh_closed_1:โ€‹:gh_closed_2:โ€‹:gh_closed_3:โ€‹
can't reproduce

Mx Autumn :elephpant: boosted

"allowing the demon to devour you is a dangerous proposition, but it's worth the risk".
i'm literally dying. someone has used GPT-2 to build a neural net generated text-based dungeon game.
aidungeon.io

Mx Autumn :elephpant: boosted
Mx Autumn :elephpant: boosted
Mx Autumn :elephpant: boosted
Mx Autumn :elephpant: boosted

"Free world building idea: Wizards have the same trust in magic that software designers have in software, which is to say, almost none at all."

Show more
PHP Community on Mastodon

Open source. Open community. We are dedicated to building and enriching the PHP community.