Live data from Hacker News

Composer – Disable GC when computing deps and refs

github.com

101–110 of 135 posts

Re: Composer – Disable GC when computing deps and refs

#101

Earlier quoted context omitted.

Did you know that Composer is open source? One of the advantages of open source is that you have the freedom to take the code and fix issues that concern you. You can Google "open source" for more information - that might be a more productive use of your time than waiting for people who owe you nothing to make changes that you want.

Yes I'm well aware of what open source is and how it works (if you notice I'm pretty active on github); I've already sent a PR to fix part of the problem before. However, it makes very little sense for them to, for example, merge a PR if it uses my public key for verification and not theirs . The problem I'm running into is that I can't just fix the issue without their cooperation. Regardless, this is all moot becaus…

Surely you could do the work with your public key and have them swap in theirs once it's ready to go?

Re: Composer – Disable GC when computing deps and refs

#102
post #55

For those looking for a technical explanation, the PHP garbage collector in this case is probably wasting a ton of CPU cycles trying to collect thousands of objects (a LOT of objects are created to represent all the inter-package rules when solving dependencies) during the solving process. It keeps trying and trying as objects are allocated and it can not collect anything but still has to check them all every time it…

Out of curiosity what tools do you use for profiling and finding these sorts of things? Plain old xdebug, xhprof, or other things? I'm going to have to jump into debugging a fairly large Symfony application within the next couple months and am on the look out for good tools to help me along.

Re: Composer – Disable GC when computing deps and refs

#103

Earlier quoted context omitted.

I'm hoping this is sarcasm since I don't think I've seen a single intelligent discussion in my life that was helped along by a funny GIF. Not to say there's anything wrong with funny GIF's, but I come to HN exactly because it moderates away that sort of stuff.

There is a reason why i have a extension installed in Firefox just for the ability to say when a gif is to play.

Indeed. I use this: https://addons.mozilla.org/en-US/firefox/addon/toggle-animat...

Re: Composer – Disable GC when computing deps and refs

#105

Earlier quoted context omitted.

I think it's great too, but I shudder to think what it might look like 5 years from now. I can only figure that there will be dead gifs everywhere

Looks like github hosts most/all of them so should be ok.

everything that's hosted from 'camo.githubusercontent.com' is just proxied and will go away as the source goes away.

Re: Composer – Disable GC when computing deps and refs

#106

Earlier quoted context omitted.

Yes I'm well aware of what open source is and how it works (if you notice I'm pretty active on github); I've already sent a PR to fix part of the problem before. However, it makes very little sense for them to, for example, merge a PR if it uses my public key for verification and not theirs . The problem I'm running into is that I can't just fix the issue without their cooperation. Regardless, this is all moot becaus…

Surely you could do the work with your public key and have them swap in theirs once it's ready to go?

That's the precisely avenue I'm pursuing.

Re: Composer – Disable GC when computing deps and refs

#107

Earlier quoted context omitted.

I'm hoping this is sarcasm since I don't think I've seen a single intelligent discussion in my life that was helped along by a funny GIF. Not to say there's anything wrong with funny GIF's, but I come to HN exactly because it moderates away that sort of stuff.

It was sarcasm. Sorry I forgot the tags - I'll be more careful in future.

You forgot them again.

Re: Composer – Disable GC when computing deps and refs

#108

The commit is great. I love that the comments have spiraled completely out of control. At this point, 30 minutes after the link was posted, the comment thread is now a competition to see who can post the best gif. I know we're serious here, but stuff like this reminds me why I love the internet so much. It's fun to cut loose once in a while.

No kidding, when did GitHub turn into Reddit/4Chan/9Gag?

Re: Composer – Disable GC when computing deps and refs

#109

The commit is great. I love that the comments have spiraled completely out of control. At this point, 30 minutes after the link was posted, the comment thread is now a competition to see who can post the best gif. I know we're serious here, but stuff like this reminds me why I love the internet so much. It's fun to cut loose once in a while.

I love it, but github could supress them behind a click to view (maybe all comments on mobile) because I just lost 10% of my data plan...

Re: Composer – Disable GC when computing deps and refs

#110

Earlier quoted context omitted.

I'm hoping this is sarcasm since I don't think I've seen a single intelligent discussion in my life that was helped along by a funny GIF. Not to say there's anything wrong with funny GIF's, but I come to HN exactly because it moderates away that sort of stuff.

It was sarcasm. Sorry I forgot the tags - I'll be more careful in future.

If only you could post animated GIFs, then you could have added one that indicated sarcasm.
Post reply on HN