@thgs@phpc.social avatar

thgs

@thgs@phpc.social

Passionate (oddly?) and stuck with #PHP for quite a few years, although I have fallen for #Haskell and #assembly in the past.

Currently exploring and learning about #DDD, although I will always like a quick and aggressive "hack".

Always learning. Finding myself, mostly, at the tip of a contradiction!

Also a father, nowadays.

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

natty, to random
@natty@astolfo.social avatar

This isn't fair, my code actually works now and I can work on it instead of making excuses ​:blobcatmeltcry:​

thgs,
@thgs@phpc.social avatar

@natty can always keep coding until it doesnt work anymore

grmpyprogrammer, to php
@grmpyprogrammer@phpc.social avatar

To the #php folks lurking out here — hit me up with your questions and struggles with getting some kind of automated testing working

thgs,
@thgs@phpc.social avatar

@grmpyprogrammer Struggling to find people that want to write them.

Also, struggling to convince people we need them.

(I feel doomed)

bobmagicii, to random
@bobmagicii@phpc.social avatar

"omgggg why is this filter not workingggggggggggg ggg ggggg"

...

"oh"

??=

thgs,
@thgs@phpc.social avatar

@bobmagicii Psalm would have picked that up

thgs,
@thgs@phpc.social avatar

@bobmagicii just keep that if in one line :)

thgs,
@thgs@phpc.social avatar

@bobmagicii do you like how formatting is in assembly? I'm curious.

I once tried to do it in PHP, with mixed success

thgs,
@thgs@phpc.social avatar

@bobmagicii right alight the comments? I like that..

thgs,
@thgs@phpc.social avatar
thgs,
@thgs@phpc.social avatar

@bobmagicii no need to put comments on every line, it was a demonstration.

On another note, I can't see my post now with the gist.

thgs,
@thgs@phpc.social avatar

@andrewfeeney @bobmagicii little spice is always welcome.

oddly my phone does not show the gist post. i find mastodon confusing that it hides the "indentation level" that shows in other platforms.

like now if you click the main thread you cant see my gist, but you can see it if you click Bob's message that says "yeah like this?" because it was a reply there..

thgs,
@thgs@phpc.social avatar

@andrewfeeney @bobmagicii and now its even more odd for me, because it actually appears when you click the main thread. i give up

thgs,
@thgs@phpc.social avatar

@andrewfeeney @bobmagicii

Andrew, I think I am going to use your name in the descriptions from now on.

Andrew Feeney said..

Specially on my wip commits!

syntaxseed, to fediverse
@syntaxseed@phpc.social avatar

I just got my first real taste of the power of #Mastodon. I wanted to reply to a post on the new #StarTrek #Lemmy instance & was lamenting the need for another social account. Then realized I can copy the url of the post into the search box here & view it like a Mastodon post. I can reply & my reply shows up on the original Lemmy thread.

Wow! 🤩

All we need now is a button that opens it in your currently logged in fediverse instance. 🤔

Maybe a browser plugin?

thgs,
@thgs@phpc.social avatar

@syntaxseed I think this is pretty close?

https://thesimplecorner.org/post/4320

thgs,
@thgs@phpc.social avatar
andrewfeeney, to reddit
@andrewfeeney@phpc.social avatar

I've had an idea for a social media approach for years that I've never done anything with because I don't really want to be running a social media app, but which the drama in combination with the rise of the has got me thinking about again. My idea is basically a platform that allows you to subscribe to topics, and subtopics or intersectional topics. For instance, if I'm interested in urban planning, and Sydney, I could follow both topics or I could follow their intersection.

thgs,
@thgs@phpc.social avatar

@andrewfeeney I think the hard bit is to find their intersection, in such a way as to achieve your result (showing relative interesting tagged items)

thgs,
@thgs@phpc.social avatar

@andrewfeeney my take on that, was to show related tags, tags that have association with the tags you're interested. But it's naive because that association can be very random (depending on input) or it can be that the set of related tags is very big. So a deciding factor is needed there. More or less that was my idea which seems pretty similar to what you say but I think (as I said) it's very naively approached.

My graph theory is not that elaborate either.

thgs,
@thgs@phpc.social avatar

@andrewfeeney here you can see how it shows in my draft code (using a d3.js from the data - central node is the one "interested" the rest come as relations)

See descriptions on the images

diagram of symfony tag and its relations where you can see some completely unrelated due to input
diagram of php tag where you can see too many relations

thgs,
@thgs@phpc.social avatar

@andrewfeeney to add here thought, that under the prism of your idea, my interest on looking at it has been renewed.

Also I think maybe your posts have brought up a solution to my problem, with the gravity falling on the common relations but those that match predefined number of tags, as opposed to an open number (as I had it). Those predefined ones if can be changed they could form a "preference set" if that makes sense.

Let me know your thoughts. I will stop having this monologue :)

bobmagicii, to random
@bobmagicii@phpc.social avatar

fact: i had very specific reasons for both of these methods as well as a reason for the naming convention.

also fact: those reasons are lost to time.

thgs,
@thgs@phpc.social avatar

@bobmagicii seems like $this->Input should already had been checked to be an array :p

thgs,
@thgs@phpc.social avatar

@bobmagicii to be fair i might not be wrong but i might not be right either!

ian, to random
@ian@phpc.social avatar

Pro tip: unless you're explicitly told to refactor all the things, and have very good reason to do so (e.g. you're taking ownership of the thing), a codebase is not a fire hydrant and you are not a dog.

thgs,
@thgs@phpc.social avatar

@ian I'm an elephant though

thgs,
@thgs@phpc.social avatar

@ian @bobmagicii I was just being silly. Totally agree with what you said.

Crell, to random
@Crell@phpc.social avatar

How NASA writes space-proof code.

Oddly these all assume you're using C, which... Means you've already lost, frankly.

https://youtu.be/GWYhtksrmhE

thgs,
@thgs@phpc.social avatar

@Crell there is no lambda in space!

cambridgeport90, to random

Is there a better way of finding feeds than by typing <site in question> RSS Feed into Bing?

thgs,
@thgs@phpc.social avatar

@cambridgeport90 you can look at the source of a webpage, either in head link tags or as a link in the page itself. Not consistent though, just one way

valorin, to php

I'm going to do a series on https://securinglaravel.com debunking the various "PHP and/or Laravel is Insecure" claims. Because they are getting pretty ridiculous... 😒

What claims would you like me to debug? 🕵️

(Pls boost for reach)

thgs,
@thgs@phpc.social avatar

@syntaxseed @bobmagicii @valorin I always enjoyed this personal feel that PHP creates, rather than having everything pedantically consistent.

thgs, to php
@thgs@phpc.social avatar

I wish we had a returnull keyword in #PHP.

thgs,
@thgs@phpc.social avatar

@ramsey return null so i dont have to correct it everytime i miss type it. :D

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