Posts

This profile is from a federated server and may be incomplete. Browse more on the original instance.

thgs, to php
@thgs@phpc.social avatar

For anyone interested and iff you want to know..

#PHP supported lexical closures and first class anonymous functions since 2009 with the release of 5.3.

https://3v4l.org/kCgaI#v5.3.0

Facts.. facts..

thgs, to random
@thgs@phpc.social avatar

Anyone else is micro-annoyed by the current of people using the term #livecoding in a very loose sense and instead of meaning "on-the-fly programming" it suddenly means "i code while i am on a live stream".

To be fair, I am not really annoyed, it is more that live coding is a different idea in nature. At least in my head, it's a registered definition..

thgs, to emacs
@thgs@phpc.social avatar

Ok so NOW, I will learn

icedquinn,
@icedquinn@blob.cat avatar

@scathach @thgs in my last days of c++ i had started replacing the self-insert keys to completely eliminate holding shift (because it was a source of RSI.) so things like typing ;; would become :: and - would become an underscore if next to an identifier character kind of stuff

thgs,
@thgs@phpc.social avatar

@icedquinn @scathach

so much to explore and learn..

thgs, to random
@thgs@phpc.social avatar

Reading dry, technical standards documents as wake-up reading with my morning coffee is my new favourite Sunday morning activity.

thgs, to php
@thgs@phpc.social avatar

Writing without a framework can be fun.

Of course I am going to pick something for this pet project but while I am exploring, writing like that is fairly quick and malleable.

bobmagicii,
@bobmagicii@phpc.social avatar

@thgs yeah. the reason i say that all the time is because psr is ultra stuck in the past, ergo anything based on it too.

thgs,
@thgs@phpc.social avatar

@bobmagicii I gave up on psr18 and whatnot for the http clients I am using. I did some small interfaces for what I needed exactly.

I see what you mean though. If X is based on Y, then X is bounded in some ways to Y. But that is only true when Y is opinionated. The closer it gets to being as objective as possible then it becomes less of a boundary. It’s pretty hard to make something as objective as possible though

thgs, to random
@thgs@phpc.social avatar

Contemplating the irreversible nature of time, in software projects.

thgs, to random
@thgs@phpc.social avatar

This looks so interesting to get notes done

https://kbd.news/Micro-Journal-2332.html

thgs, (edited ) to random
@thgs@phpc.social avatar

Which browser are you using at home?

lorimolson,
@lorimolson@mstdn.ca avatar

@thgs Arc.net

thgs,
@thgs@phpc.social avatar

@lorimolson Did not know about this one, the UI looks quite interesting.

Unfortunately cannot run it myself in my old Mac OS version.

thgs, to random
@thgs@phpc.social avatar

pop up tents are fascinating, especially if you know how to fold them.

thgs, to emacs
@thgs@phpc.social avatar
thgs, to php
@thgs@phpc.social avatar

Does anyone know of a tool that writes PHP classes out of diagrams?

Crell,
@Crell@phpc.social avatar

@thgs Our of which diagrams? The diagram would need to be in a parsable format, like Mermaid or something like that. If you have that, it could certainly be done though I don't know of a tool that does so.

thgs,
@thgs@phpc.social avatar

@Crell Yes, I'm wondering if there is a tool already. I've tried with phpstorm in the past for the reverse operation of generating a diagram from code but it was not that nice.

The only thing remotely close I've found is https://www.visual-paradigm.com/support/documents/vpuserguide/276/330/7341_instantgener.html but I haven't tried it.

thgs, to random
@thgs@phpc.social avatar

@Girgias thanks so much for uploading the talk. I wanted to join but had to follow with the others that I was with.

Went through the video and the slides and as kept having an issue with my properties being not initialized, took a couple of hours to figure out the arginfo was not correct as I was missing the constructor definition from the stub. Had a laugh when I figured it out.

Thanks so much for the talk though, that was great!

Girgias,
@Girgias@phpc.social avatar

@thgs Glad you enjoyed it!

thgs, (edited ) to random
@thgs@phpc.social avatar

Do you use the advanced interface for mastodon ?

thgs,
@thgs@phpc.social avatar

to those select few that said "yes", I want you to know, I have started doing that with browser windows too!

thgs, to random
@thgs@phpc.social avatar

Anyone else puts the project files sidebar on the right or is it just me ?

thgs, to random
@thgs@phpc.social avatar

Lovebyte 2024 - Its on like DONKEY~1.COM 😀

  • All
  • Subscribed
  • Moderated
  • Favorites
  • Leos
  • rosin
  • InstantRegret
  • ethstaker
  • DreamBathrooms
  • mdbf
  • magazineikmin
  • thenastyranch
  • Youngstown
  • tacticalgear
  • slotface
  • Durango
  • khanakhh
  • kavyap
  • megavids
  • everett
  • vwfavf
  • normalnudes
  • osvaldo12
  • cubers
  • GTA5RPClips
  • cisconetworking
  • ngwrru68w68
  • anitta
  • provamag3
  • tester
  • modclub
  • JUstTest
  • All magazines