Posts

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

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 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

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

paulshryock,
@paulshryock@phpc.social avatar

@thgs me too!

thgs, to php
@thgs@phpc.social avatar

Writing #php 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, (edited ) to random
@thgs@phpc.social avatar

Which browser are you using at home?

lorimolson,

@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 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, (edited ) to php
@thgs@phpc.social avatar

What error level are you running psalm ?

thgs,
@thgs@phpc.social avatar

@wolffzone It is what you want it to be.. :D

cabbey,
@cabbey@phpc.social avatar

@thgs depends on the package/repo. I think we have a bunch at 1, a couple are 2-3, there’s an 8 (or maybe 7 now?) and one where I don’t think we bother because even at the highest you can go there’s just too much output to be useful.

thgs, to random
@thgs@phpc.social avatar

@rubenrubiob could you enable rss on dev.to ? :)

thgs,
@thgs@phpc.social avatar

@rubenrubiob nevermind! i found your link.

Thanks for sharing those weekly reads btw

rubenrubiob,
@rubenrubiob@phpc.social avatar

@thgs Great! I am glad you like them! 😊

Thank you for letting me know!

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

Do you know Ivar Jacobson?

#php #softwaredesign #softwareengineering #ddd

Dave_von_S,

@thgs was too late for the poll, but know and really like ‘the essence model’

thgs,
@thgs@phpc.social avatar

@Dave_von_S still reading the first one myself (oop software engineering), the essence model (i saw it you mentioned somewhere in another post) is probably coming next.

thgs, to random
@thgs@phpc.social avatar

Good morning to everyone after @andrewfeeney monopolised the local feed last night.

Was an interesting journey to follow through

andrewfeeney,
@andrewfeeney@phpc.social avatar

@thgs Apologies! I may have gotten a bit carried away ...

thgs,
@thgs@phpc.social avatar

@andrewfeeney no need to apologise, I was just kidding about it really

thgs, to random
@thgs@phpc.social avatar

I recently came across the prioritization model that product managers can use to set goals and prioritize whats important.

I felt that this could be interesting to map over on how the teams set goals and prioritize what is important as we build software, but within that context.
1/*

orchun,
@orchun@hachyderm.io avatar

@thgs
Two concepts I pay attention to are 1) What is the "low hanging fruit", so we can see results early? 2) What is actually making life harder than it should be, so we don't have GIGO?

Start with visiting these questions regularly and recording progress, but: #1 can fail because of poor decision making, analysis-paralysis and unwillingness to experiment; #2 can fail because of lack of self-monitoring, self-analysis and thinking independently of what the management is feeding you.

thgs,
@thgs@phpc.social avatar

@orchun yes, thank you. That helps.

The revisiting part is actually a part of RICE I believe so yes, that is included in the model anyway.

Also mentioning GIGO, makes a lot of sense. Kind of clicked in my mind after your comment.

thgs, to php
@thgs@phpc.social avatar

How come we don't have any ?

thgs,
@thgs@phpc.social avatar

@alessandrolai Also I am going to quote some Londonesque common wisdom found today in the Euston station. Paraphrased a bit.

While you consider the cost of starting something, also consider the cost of not doing anything at all.

alessandrolai,
@alessandrolai@phpc.social avatar

@thgs if your worry is about doing it at scale, you're thinking about platform engineering: you need to invest in internal tooling for your team, and improve the developer experience.

In small, at my daily job, we solved this by centralizing the fixer config: https://github.com/facile-it/facile-coding-standard/

thgs, to golang
@thgs@phpc.social avatar

Is the simplicity of somehow a product of the simplicity in #c ?

Its a sort of random thought.

cobratbq,

@thgs nah, I don't think so. There are a few things Go did differently, therefore deviating from C. E.g. stacks grow and consequently are copied to a new area in memory. That makes some things work fundamentally different.

thgs,
@thgs@phpc.social avatar

@cobratbq

ok, my bad. I was not very specific. I meant it in terms of language features.

So around here in there's a tendency for new language features. It might be natural as php is meant for different kinds of software.

However, in golang and c, my view so far is that there is a tendency for the opposite. The atmosphere is conservative regarding new language features.

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