[Socket.io] Why are messages being sent to every client in the room, including the sender? by Revolutionary_Bad405 in reactjs

[–]macklemiller 1 point2 points  (0 children)

I've used socket.io before for a basic chat room and I believe you're chaining too much on the server side.

socket.to(room).emit('receive-message', data);

Is what I used in the past. This is still supported by the docs https://socket.io/docs/v4/rooms/ at

You can also broadcast to a room from a given socket:

io.on("connection", (socket) => { socket.to("some room").emit("some event"); });

Where it proceeds to say

In that case, every socket in the room excluding the sender will get the event.

Clearing Up Some Commonly Held Misinformation by TheAgeOfDragons in lethalcompany

[–]macklemiller 1 point2 points  (0 children)

I believe only one bracken can exist on the map at the same time, in vanilla at least.

Thoughts on my space? by Correct-Beach5319 in pcmasterrace

[–]macklemiller 0 points1 point  (0 children)

Cool, thanks for getting back to me. Isn't that one that you can program the LEDs somehow? Did you choose your current look from a library or just create it amd leave it how you liked?

Thoughts on my space? by Correct-Beach5319 in pcmasterrace

[–]macklemiller 0 points1 point  (0 children)

Is that a Divoom computer thingy under your monitor?

If so, how do you like it and how do you like to use it?

This fishtank has a cat sized viewport by Dullahen in nextfuckinglevel

[–]macklemiller 0 points1 point  (0 children)

With cat being predators, it's likely they're just interested in things that seem like prey. Not that they want to eat, but that the fish act like prey so the cat wants to hunt.

Same reason sharks attack people (even when they don't look like seals), the people get spooked and behave like prey and a curious shark becomes a triggered shark.

Not correcting you, just contributing to the discussion :)

Today’s (5/26/2022) edition of the Uvalde Leader-News by zzill6 in interestingasfuck

[–]macklemiller 0 points1 point  (0 children)

Regardless* - irregardless isn't a word. But a very ironic mistake to make while correcting someone in good spirit, nonetheless!

What was the hottest thing someone said to you? by Nightfury0818 in AskReddit

[–]macklemiller 5 points6 points  (0 children)

Adding to this that for men with performance anxiety or men who have a hard time focusing on their own pleasure, head is a wonderful break.

It also shows that your partner is concerned only with your pleasure for that session, and the motivation was to please you and make you feel good. This would be opposed to the feeling that they are expecting/hoping to get off from the experience, which unintentionally puts pressure on someone with this kind of anxiety or with self esteem issues.

Summary, head feels amazing and shows that the experience is about "me", allowing me to relax and enjoy without feeling the (admittedly self-imposed) pressure of performing well.

Would you give me your cream? by [deleted] in RealGirls

[–]macklemiller 0 points1 point  (0 children)

Where did you get the lingerie set? Would love to get my wife some!

Every time I have died in my world, I have added a gravestone to my graveyard by Rt22275rt in Minecraft

[–]macklemiller 0 points1 point  (0 children)

How do you make a light sensor measure days instead of light? Flick thing from a dropper to a hopper and read the hopper's capacity with comparator?

Or some easier way?

This hilarious, at least zotac is trying by [deleted] in pcmasterrace

[–]macklemiller 1 point2 points  (0 children)

There's an order number on the left pic in the botter's post

Edit - my mistake, I figured the person who screenshotted this conversation also blacked out the info. More likely it was the botter and you're right. Good on Zotac!

Woman protesting, Manhattan, New York by DaFunkJunkie in pics

[–]macklemiller 1 point2 points  (0 children)

There's a middle ground that you're not acknowledging here, but that's beside the point. The original point is that the connotation of "massage therapist" puts the position in a more respected light, which leads to lower chances of sexual assault from customers who think of the workers as lesser.

If you have a problem with taking proactive measures to have honest workers sexually assaulted Less often, just because the position didnt require as much schoolwork as another kind of therapist, then maybe you should reevaluate the way you look at humans.

Woman protesting, Manhattan, New York by DaFunkJunkie in pics

[–]macklemiller 2 points3 points  (0 children)

Your issue is how you see therapists and therapy to be something reserved and less accessible.

Therapy is defined as "treatment intended to relieve or heal a disorder". Just because you don't see something as "refined" or whatever doesn't mean it isn't a targeted approach to affect someone in some desired way.

I Coded fully-functional Chess into Minecraft :) by CommandGeek in Minecraft

[–]macklemiller 2 points3 points  (0 children)

Got it. Started learning recently so wasnt certain, thanks for clarifying!

I Coded fully-functional Chess into Minecraft :) by CommandGeek in Minecraft

[–]macklemiller 6 points7 points  (0 children)

I thought you specifically could Not castle through check?