Email or username:

Password:

Forgot your password?
39 posts total
Ben Ramsey

I just typed “git status” in my browser’s address bar, if you’re wondering how I’m doing.

Show previous comments
🍱 Sean ☕

@ramsey

If you click enter, the search results display how all the gits in your area are doing. This close to Christmas, mine aren't great.

dilawar

@ramsey I have been leaving :wq in Google docs at work.

Claudio Zizza 🦜

@ramsey And how many times did "git status" appear in php files? I can't count it. Stupid window focus. 🙈

Ben Ramsey

What are a good set of external speakers for a PC (used for gaming)? I haven’t bought computer speakers in other two decades, so I have no idea.

Show previous comments
Marcel Bootsman

@ramsey I got the Klipsch The Fives. Amazing quality, good bass, good sound. Plenty of reviews available :)

klipsch.com/uk/products/the-fi

Sindarina, Edge Case Detective

@ramsey Ohh, I was thinking about this last week ... the last pair I bought was JBL, but they don't make those any longer.

Interested to see what people respond with!

Ben Ramsey

As a #PHP library author, I don't see the value in erased types or erased generic type declarations, especially since we already have PHPStan, Psalm, and Phan, the type systems of which are effectively erased at runtime. If you want erased types, use those tools.

When I use those tools to build a library, and others use my library without using those tools or an IDE that uses them, then all type guarantees are off the table. I don't see how erased types will improve this situation.

Chris Abbey

@ramsey this is the first I’ve heard of “erased types”. If the name is accurate, I already don’t like the concept. Will have to look into it to confirm.

Ben Ramsey

Someone please build a Fediverse-enabled Meetup.com-style application for groups to post events that others can RSVP to.

Show previous comments
Gregory

@ramsey Smithereen can do this but it's my own ActivityPub extension incompatible with anything else

Sean Tilley

@ramsey This exists in several different projects, but they need to collaborate on one standard way of doing things.

https://joinmobilizon.org https://gancio.org/ https://gath.io/

Friendica and Hubzilla also support this.

Ben Ramsey

Representing the Fediverse on the Death Star, maybe? #DragonCon

A man (me) stands on a set prop made to look like a hallway in the detention center on the Death Star. I have my hands on my hips, and I’m wearing a t-shirt that reads “Mastodon & Pixelfed & Peertube & Lemmy & Bookwyrm.”
Ben Ramsey

Wow, how I love #JetBrains IDEs!

I wanted to make a change to an open source #Rust project that I’m using, but I don’t know a lot about Rust. I opened the project in JetBrains’s #RustRover IDE and was able to navigate it easily and figure out how things work enough to make the changes I needed.

DELETED

@ramsey I hate that Rust Rovwr didn’t exist when I was first learning.

Mo :ferris: :tux:

@ramsey Same impression with Rust-Analyzer in any editor. A language server is a must these days :D

⚛️Revertron

@ramsey I use JetBrains' IDEs for 18 years, and I concur.

Ben Ramsey

What's the performance impact of logging in #PHP? Is there an I/O difference between writing to `STDERR` or `STDOUT` vs. a local file on disk?

I've heard folks like @rasmus speak in the past about ensuring you don't have errors because, even if you have error logging set to `error_reporting(0);` (i.e., "off"), the error handler is still invoked, so there's still a tiny a perf. hit, but I'm curious about the I/O impact between the various log streams.

will talk for elePHPants!

@ramsey From an academic point that seems an interesting question indeed!

From a performance point of view I'd say "when that is your problem, you got other problems"

/cc @rasmus

Jim Winstead

@ramsey I’m not sure what the real-world performance impact would be, but isn’t `STDOUT` line-buffered and `STDERR` isn’t (and a file would depend on how you opened it)? @rasmus

Buathier

@ramsey @rasmus I worked a few years with logging on legacy systems. My approach was writing into rotating files (some were minutely with max 10 files because of the stream size). Filebeat streaming to logstash parsing to elastic (all in private network on VMs). The only problems I had to face was managing the free space. I used the rotating logs on FS as a broker. I don’t really know the impact of file logging as I did, but this was negligible in comparison with all the legacy bad designs.

Ben Ramsey

If someone blocks you, they don’t owe you a reason. They don’t owe you anything. Pursuing them in other places to find out why they blocked you or to ask them to remove the block could be considered harassment. Don’t do that. Just accept it and move on.

I’ve been blocked by people I respect, and it does feel bad, but you aren’t entitled to a reason. Respect their freedom of association.

Show previous comments
🇺🇦 Anna Filina

@ramsey I probably blocked thousands of people by now. People have the right to feel offended by it. I don't care. My mental health is more important. I have been harassed by people I blocked before. One time, it escalated to my fearing for my physical safety and getting a lawyer involved. Don't be that person. If you get blocked, just move on. Don't dwell on it. Maybe the person was wrong in blocking you, maybe they weren't, but it's not up to you. You can survive without them in your feed.

Alex Rock

@ramsey I've been blocked by many Symfony Core contributors, this lead to me being totally expelled from the SymfonyConnect website, so it all depends on the blocking contexts, I guess.

Blocks on social networks or email is no big deal, we all do it, I do it very often too.

On websites and applications that are used for work, however, I don't agree at all, and I think it should be forbidden somehow, unless court trial says so.

Dave Snowden

@ramsey if they continue to talk about after they have blocked, that’s wrong

Ben Ramsey

It boils my blood to hear folks insinuate that #PHP 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.)

Ben Ramsey

It’s official, now!

RFC 9562: Universally Unique IDentifiers (UUIDs) rfc-editor.org/rfc/rfc9562.htm

#UUID

Ben Ramsey

And, if you look very closely at acknowledgements, my name is listed. 🥰

WerySkok :verified_think:

@ramsey ~~I will still double check if UUID is actually unique in my DB~~

Mattie Schraeder

@ramsey This is amazing! It's one of the features I'd been wishing PHP had since I started learning C# 15 years ago. 😂

Ben Ramsey

I’d like to replace my Ubiquiti EdgeRouter X. It’s performed well for the past 7+ years, but over the last year, I’ve noticed a significant drop in my network performance.

I thought it was my ISP, but I’m getting consistent 1 Gbps down/up at their router, so it’s either the EdgeRouter X, a DLink switch, or the 3 Ubiquiti AP AC Pro units I have (if it’s any of them, it must be all 3, since I’ve connected to each for testing). My hunch is it’s the EdgeRouter X.

Any recommendations?

Chris Hartjes

@ramsey Do you want to stay with Ubiquiti stuff?

Mike Harrison

@ramsey Consider the TP-Link Omada gear. Like Ubiquiti, you can do integrated management of all the gear. (WiFi AP's, Switches, etc..) but I like how it also has a good option for an onsite controller and it works well without an upstream/cloud management account. All local. - Currently have Ubiquiti at home, have Omada and Ubiquiti at locations I manage, and home may go Omada soon.

Alexey Skobkin

@ramsey
If you're not scared of advanced network configuration, then @mikrotik.

Their devices are very good and they have a good OS which is continuously updated over years, so you won't find yourself with a router which OS is 5 years old.
But they mostly don't have "magic" features like "click this blue button to set up your entire network". Only simple "Quick Setup" and then mostly advanced configuration.

Ben Ramsey

Recruiter: “I’m contacting you because I think you’d be a great fit. Are you available for a chat?”

Me: “I have availability between these times tomorrow.”

Recruiter: “Great! Here’s a link to my Calendly. I’ve opened up a time slot for you to reserve for tomorrow.”

Me: visits link and finds no slots available because others have already booked them in the time it took me to respond to the email.

Why did she do that and not book the meeting herself, if she wanted to talk to me?

Show previous comments
Paul Ramsey

@ramsey Running her calendar like an airline, strategically overbooking to insure 100% utilization. Classy, like JetBlue.

nyx

@ramsey she wants the money that goes with finding a candidate that gets hired, not you.

Stephen Yeargin

@ramsey I doubt she ever checked. There are great recruiters out there, but many are fresh-out-of-college and it was either this or sell insurance.

Ben Ramsey

Today, I was cut in layoffs. I’m so gutted because I loved this company, & my team was the best; I’ll miss my team most.

Now, as I look ahead, I’m searching for a staff/principal role where I can help other developers level-up through mentoring, tooling/infra, architecture, & improving DX. I’d love to work with a company contributing to open source & even to the #PHP programming language itself.

If you’d like to work with me, you can find my contact info on my website: ben.ramsey.dev

Ben Ramsey

How do folks take 20-30 minute naps? It takes me at least 20-30 minutes to fall asleep, no matter what’s going on. I would like to learn how to take short naps.

Show previous comments
🍄🌈🎮💻🚲🥓🎃💀🏴🛻🇺🇸

@ramsey I watch science videos about quantum physics and I'm out in no time.

Alexey Skobkin

@ramsey
It takes hours for me to fall asleep. So short naps for are just rest for my eyes 🤷‍♂️

Ale xyū̀ thī̀ Krungtheph!

@ramsey I take those every night after spending 6 hours to fall asleep :^)

Ben Ramsey

I was a little disappointed that not a single person mentioned Mastodon or the Fediverse from stage at #LaraconUS, despite most of the speakers having Fediverse profiles.

There were a couple mentions of Threads, but only as jokes (e.g., “Does anyone still use that?”).

Andy Millington

@ramsey Nuno is pretty active on here which I appreciate. I wish the platform was embraced more. For me, it is a no brainer to use

Ben Ramsey

So far, the first three speakers at #LaraconUS have presence on the Fediverse!

Ben Ramsey

More talks in the community like @zuzana_kunckova’s “Curse of Knowledge,” please! We need to learn better and more empathetic ways to respond when helping others with programming questions.

#LaraconUS #Laracon #PHP

phpc.social/@phpc/110741419696

Ben Ramsey

@zuzana_kunckova Tips for helping answer programming questions:

* Short answers
* Avoid acronyms, technical jargon, complicated words
* Use code snippets sparingly
* Be specific
* Give the benefit of the doubt and be kind

#LaraconUS #Laracon #PHP

A slice from Zuzana’s talk. The content of the slide is in the post.
Ben Ramsey

What is a #CID?

It’s some kind of identifier that AT Protocol appears to use, but I can’t find a definitive resource on what it is or how it’s defined, and it appears to be related somehow to cryptocurrency (maybe?).

To make matters worse, there doesn’t appear to be any #PHP libraries that will parse or create CIDs.

There’s this one, but it doesn’t appear to support all CID codecs (not sure I understand that correctly)? github.com/danny50610/php-cid

John Godsland

@ramsey The only reference I can find to it in the documentation is here: atproto.com/guides/application. Looks like it's a sha256 of content used to track whether something has been edited.

Go Up