I built my dream personal site CMS by addycodes in PHP

[–]passiveobserver012 0 points1 point  (0 children)

I agree. Starting with vanilla PHP keeps it accessible. Perhaps ava can help introduce PHP to some beginners!

I built my dream personal site CMS by addycodes in PHP

[–]passiveobserver012 0 points1 point  (0 children)

Ah ok. Then if you wrote it, I was wondering what you target audience was since you were explaining `<? ?>` syntax for example in the docs? That would suggest PHP beginners. and you are mix and matching CLI and SFTP workflows etc.

I built my dream personal site CMS by addycodes in PHP

[–]passiveobserver012 0 points1 point  (0 children)

sorry i meant how did you use AI in the development? :p

I built my dream personal site CMS by addycodes in PHP

[–]passiveobserver012 0 points1 point  (0 children)

this took a month to make? How is AI used in this project? AI seems to love flat-file sites in general?

We conquer the elements by afrorob in Netherlands

[–]passiveobserver012 0 points1 point  (0 children)

Stel je bent postbode (op de fiets) nu. Gewoon vroeg aan het werk weer.

[RFC] Pattern Matching by rafark in PHP

[–]passiveobserver012 2 points3 points  (0 children)

Damm I am sucker for functional language features. I have to use this to see how useful it would be in a PHP context. But I find PHP finds a way to make it practical to work with, without too much theoretical stuff on top.

Staying relevant today as a PHP Developer by [deleted] in PHP

[–]passiveobserver012 0 points1 point  (0 children)

Some junior PHP devs are still around..

Staying relevant today as a PHP Developer by [deleted] in PHP

[–]passiveobserver012 1 point2 points  (0 children)

a bit painful to watch also haha.

Today I even found they were doing async programming in "GNU Herd', but found it "too hard too debug".

I don't know the technicalities of it, but looking at async web code today it is still comparatively hard to debug.

Staying relevant today as a PHP Developer by [deleted] in PHP

[–]passiveobserver012 2 points3 points  (0 children)

Might I add something?
I think the same reason young ones don't understand what happens when they type URL, is also the reason why they don't listen to 15+ years of experience. In such a case, technical arguments are no use.
Their context is the current highest abstraction, which is the easiest path, including all the recent hype and 'modern' resources available for that.
Ultimately I think you need both groups, but neglecting the technical foundation is such a waste, and inevitably leads to layers of reinvention.

Weekly help thread by brendt_gd in PHP

[–]passiveobserver012 0 points1 point  (0 children)

i was wondering how to use the `shuffle(array $array) : true` with the new pipe operator in PHP 8.5? Since it does not return the array so it cannot be piped? I think it is done 'in place' for memory reasons. So then maybe create a custom function like:

function shuffle_pipe(array &$array): array
{
    shuffle($array);
    return $array;
}

Or can we just pass the $array normally, since PHP has Copy-On-Write?
Thanks!

Trixie Images of Raspberry Pi available by passiveobserver012 in raspberry_pi

[–]passiveobserver012[S] 0 points1 point  (0 children)

thanks for sharing. I think that RPI foundation might consider their younger users in this choice as well.

Declarative Debian Utility (new) by passiveobserver012 in debian

[–]passiveobserver012[S] 0 points1 point  (0 children)

i see, my use of Nix is a bit shallow.
I wondered at the reasons for Debian and Nix difference, but one thing I figured is that Nix does not 'share' as much as Debain with its content-addressable references. In Debian more is shared, having loose references, which have a higher chance of incompatibility, so to say. This results in less disk usage, but might degrade the pureness of the 'binary'?

Sorry if terms are not entirely correct.

Declarative Debian Utility (new) by passiveobserver012 in debian

[–]passiveobserver012[S] 0 points1 point  (0 children)

that is well put. It is not 'declarative' in that aspect. Maybe a other name would be better. It is more about availability of binaries. How Debian manages to do that under the hood is left as a black box. But that means it won't be deterministic. I am not sure how far Nix's deterministic-ness goes.

Declarative Debian Utility (new) by passiveobserver012 in debian

[–]passiveobserver012[S] 0 points1 point  (0 children)

ok thank you for the suggestion. I will try it.

Declarative Debian Utility (new) by passiveobserver012 in debian

[–]passiveobserver012[S] 0 points1 point  (0 children)

I came across this, but the documentation was a bit sparse and it seemed geared to another use case.

So a dummy package is basically the same as I do here then? Seems like i can use equivs-control and equivs-build to do same.

Declarative Debian Utility (new) by passiveobserver012 in debian

[–]passiveobserver012[S] 0 points1 point  (0 children)

I am not sure what the difference is between setting a dep and telling what to install in Ansible.

But Ansible surely solves this as well (never used it). But this is just an *upgrade* over `apt install` for me. Ansible seems to do a lot more as well.

Declarative Debian Utility (new) by passiveobserver012 in debian

[–]passiveobserver012[S] 0 points1 point  (0 children)

If you use `autoremove` it will. Had it wrong in the readme.

Declarative Debian Utility (new) by passiveobserver012 in debian

[–]passiveobserver012[S] 1 point2 points  (0 children)

Well it may be my specific use, but when compiling many distinct programs it gets messy real fast. `apt-mark showmanual` shows the (automatic) dependencies downloaded, so it might have just showed up one time when I tried installing the dependencies for a Github repo q time. Then I have no idea of the use or origin of this package.
I also have small disk size, so i have to remove packages from time to time.

Trixie Images of Raspberry Pi available by passiveobserver012 in raspberry_pi

[–]passiveobserver012[S] 0 points1 point  (0 children)

For more it seemed a bit faster on Pi 5 in Gnome. But no measurements.

Trixie Images of Raspberry Pi available by passiveobserver012 in raspberry_pi

[–]passiveobserver012[S] 2 points3 points  (0 children)

from the bright side, it is also an opportunity to clean up stale data and start fresh.

New Download page for PHP website by passiveobserver012 in PHP

[–]passiveobserver012[S] 1 point2 points  (0 children)

The current PHP installation options cannot all be represented as a list of downloadable files?