Posts

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

ramsey, to random
@ramsey@phpc.social avatar

Just watched “Face the Strange,” and it’s my favorite episode of the season, so far. #StarTrekDiscovery

ramsey, to random
@ramsey@phpc.social avatar

I don’t know why, but I love every scene of #StarTrekDiscovery with Tig Notaro.

Crell, (edited )
@Crell@phpc.social avatar

@ramsey It's because she's awesome and the writers knew how to use her. At least for the far too little they did use her...

jmichaelward,
@jmichaelward@phpc.social avatar

@ramsey I saw Tig Notaro at the Turf Club in St. Paul in probably 2010 or 2011 and it was the greatest stand-up performance I’ve ever seen. Hard not to love anything she’s a part of.

ramsey, to php
@ramsey@phpc.social avatar

What’s the difference between memory usage and peak memory usage?

(As in 's memory_get_usage() and memory_get_peak_usage() functions.)

Crell,
@Crell@phpc.social avatar

@ramsey @sean That is my understanding. Though as usual, when the current memory goes down is rather unpredictable.

alfredbez,

@ramsey keep in mind that there is also memory_reset_peak_usage(). Take a look at how these functions behave here: https://3v4l.org/60tlE#v8.3.8

ramsey, to php
@ramsey@phpc.social avatar

It boils my blood to hear folks insinuate that is the source of their performance problems and they should switch to microservices in another language to fix the performance issues. Maybe spend a little bit of time figuring out where your bottlenecks are and fix those, first!

(This may or may not be a sub-toot.)

itsjoshbruce,
@itsjoshbruce@phpc.social avatar

@ramsey: This pool cue is warped.

I totally meant for it to go in that pocket after banking off five rails (I mean API calls).

It’s gotta be the shoes.

ramsey,
@ramsey@phpc.social avatar

@preinheimer This is usually the case for developers who rewrite things in a different programming language, too, so it’s rarely the programming language itself that made things more performant.

ramsey, to Starwars
@ramsey@phpc.social avatar

First two episodes of #TheAcolyte are a good start. I’m interested in seeing where they take it. #StarWars

ramsey,
@ramsey@phpc.social avatar

@alessandrolai @brammm Yeah. This has a very different tone. The universe is perhaps more naïve, as compared to the time under the empire.

brammm,
@brammm@phpc.social avatar

@ramsey @alessandrolai didn't mind being treated like an adult for once in the Star Wars universe. I loved Andor.

ramsey, to random
@ramsey@phpc.social avatar
ramsey, to random
@ramsey@phpc.social avatar

When running tests “with Coverage” in any IDE, where does it store the coverage files?

My project is running in containers with docker compose, and this is all set up properly. In fact, the tests run, and presumably, the coverage report is generated, but the IDE doesn’t show the coverage, and I think it’s because it must be storing the coverage report on the container somewhere, and the IDE can’t access it when trying to display the lines covered.

julesbl,
@julesbl@mastodon.me.uk avatar

@ramsey talk to php Storm support, they are very good

ramsey,
@ramsey@phpc.social avatar

@julesbl I think it’s not a PhpStorm issue, now. I think there’s some issue inside the container. I tried running PHPUnit directly in the container with --coverage-html and again with --coverage-text. Both times, the tests run and pass, but then there’s just the word “Killed” that appears where the code coverage messages are supposed to appear.

ramsey, (edited ) to php
@ramsey@phpc.social avatar

I haven’t said it in a while, but I want to make sure everyone knows that I really appreciate what @eric and @john are doing at @phparch. I think the work they’re doing is awesome!

You should check out @phparch.

(No one is paying me for this promotion, nor have I been asked to do this.)

ramsey,
@ramsey@phpc.social avatar

@lewiscowles1986 @eric @john @phparch I’m not sure what this means.

lewiscowles1986,
@lewiscowles1986@phpc.social avatar

@ramsey @eric @john @phparch
It was positive. I Always see you promoting PHP Ugly, PHP Arch is a view onto a way to develop with PHP.

I'll take compliments off my LinkedIn 😂😢

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

Since 11 no longer has any of the CodeCoverageIgnore attributes, and the docs say “Do not use annotations in comments in new tests that you write. Use attributes instead,” does this mean PHPUnit will no longer allow you to exclude classes, functions, or blocks of code from coverage reports?

phphil,
@phphil@phpc.social avatar
ramsey,
@ramsey@phpc.social avatar

@phphil You apply that to a test class to tell PHPUnit that the test does not cover any code.

ramsey, to random
@ramsey@phpc.social avatar

Is it appropriate for lawyers to appear on national news talk shows and spread unfounded conspiracy theories that would cause massive distrust in our legal system? That seems like something you should be disbarred for doing, right?

nick,
@nick@sloan.host avatar

@ramsey @cam Trump aside, what would you want the lawyers representing a hypothetical candidate that really had been prosecuted by a corrupt justice apartment to be able to say on television?

ramsey,
@ramsey@phpc.social avatar

@nick @cam That’s a good question, though I’d hope they’d be able to back up their claims with some kind of evidence, even if circumstantial.

ramsey, to random
@ramsey@phpc.social avatar

@a1ba Random question, but someone boosted a post of yours, and I noticed the UUID as your name. I’m curious about the story behind it (if there is one), since it doesn’t follow the standard. 🙂

(I’m not here to point out that it’s wrong, or anything like that. I’m just curious.)

ramsey,
@ramsey@phpc.social avatar

@a1ba Actually, that’s a pretty cool story. 😁

bobmagicii,
@bobmagicii@phpc.social avatar

@ramsey @a1ba the first time i saw the uuid cross my screen i was like "lol bot account script went wonk" 🤣

ramsey, to random
@ramsey@phpc.social avatar

I’ve been at a loss for words over seeing Nikki Haley sign bombs. There is no moral or ethical argument to justify that behavior. It is despicable, and if you think in any way that it’s humorous, you are part of the problem.

ramsey, to random
@ramsey@phpc.social avatar

This is a view of the server closet at the Overlook Hotel. https://transfem.social/notes/9ttyobarnlfw02vc

shadowhand,
@shadowhand@phpc.social avatar

@ramsey there is some kind of method to this madness. I know this to be true because the more I looked the more I started having visions of the Upside Down. Whoever did this may be already corrupted...

manchuck,
@manchuck@phpc.social avatar

@ramsey ping r/cablegore

ramsey, to random
@ramsey@phpc.social avatar

The New York/Dublin portal would be more impressive if I weren’t posting this from a handheld device that can connect to anywhere in the world via video chat.

ramsey, to ai
@ramsey@phpc.social avatar

So, no surprise to anyone, but #DigitalOcean’s #Sammy #AI assistant gives incorrect information about their services.

It told me that it’s possible to move a volume to a different region by first creating a snapshot of the volume and then creating it as a new volume in the other region. This is apparently incorrect. No big loss for me, but I can’t imagine trusting that service with any other data/storage-related questions.

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