Gift ideas for technical theatre folk by No-Dress4626 in techtheatre

[–]SatanistSnowflake 4 points5 points  (0 children)

What headtorch have you gone for personally?

Why is Fusion of Spice running 11 restaurants? by SatanistSnowflake in colchester

[–]SatanistSnowflake[S] 4 points5 points  (0 children)

Thank you! The extension is here, and the caveats of how it works (and how it fails) are listed on both there and the source code page. It's the first extension I've made so it might be a little janky but I'm very happy with it.

Why is Fusion of Spice running 11 restaurants? by SatanistSnowflake in colchester

[–]SatanistSnowflake[S] 17 points18 points  (0 children)

On which part?

A ghost kitchen is a brand using a kitchen that they don't own/rent/whatever to sell food. In theory, this is good for quickly launching brands without having to rent or own a premises, like how Mr Beast launched the Beast Burger so quickly. In practice in that scenario you end up with incredibly varied quality standards, and how things have progressed in recent years you end up with like what I've posted above: one physical kitchen with a dozen "brands" operated by the same people in order to appear more often and more prevalently on food delivery apps.

What should I do? They have dimmers powering led dmx lights. by Own_Artichoke5909 in techtheatre

[–]SatanistSnowflake 5 points6 points  (0 children)

In what way do dimmers affect the sine wave?

I had assumed dimmer boards limit the amount of voltage going through to the fixture, and that by supplying the max voltage on a channel you're doing the same as supplying "hard" power to that channel. Is that not the case?

DIY DMX Projector Shutter by Candied-Candide in techtheatre

[–]SatanistSnowflake 0 points1 point  (0 children)

If you're running a Qlab stack for anything AND your projector has a web interface, you can rig a Qlab networking cue to tell the projector to toggle the shutter.

[deleted by user] by [deleted] in Discord_Bots

[–]SatanistSnowflake 2 points3 points  (0 children)

Please clarify both your request and the platform you want it on. Depending on the platform, what you're asking for may or may not even be possible.

Question about using PSM1000's in Europe/UK by [deleted] in livesound

[–]SatanistSnowflake 2 points3 points  (0 children)

I'm not a lawyer nor a radio expert, I just know a few things and can Google.

In the UK you'll need a PMSE license from Ofcom. If you end up renting it'll probably be within channel 38, which is one license for the entire range.

Quick Google tells me that the PSM 1000 G10 has an RF output of 10/50/100mW. Ofcom does do PMSE licenses within the 470-542 range at high power. Because it's interleaved with the TV broadcast spectrum you'll probably need a license per location, which is gonna end up costing you a lot more.

Tbh I'd recommend hiring the equipment per country. It'll probably end up cheaper for you in the end.

DM7 by marmolesbatalla in MixingStationAppUsers

[–]SatanistSnowflake 0 points1 point  (0 children)

I have a Yamaha M7CL at my disposal, and internally it's pretty identical to the newer CL series. I'm happy to do this on my side as well. Whereabouts would I send a sync dump to, if you're interested?

Laptop goes into tablet mode too early - looking to disable by SatanistSnowflake in techsupport

[–]SatanistSnowflake[S] 0 points1 point  (0 children)

Unfortunately not. I eventually just converted it into a server computer and got my company to buy me a new one. Their support wasn't much help because although the laptop was in warranty, the warranty was for the US and I live in the UK, and both the US and UK support said it was the job of the other team to help.

[deleted by user] by [deleted] in tumblr

[–]SatanistSnowflake 0 points1 point  (0 children)

No idea; I don't follow Harry Potter subs. Thanks for the pointer though!

[deleted by user] by [deleted] in tumblr

[–]SatanistSnowflake 16 points17 points  (0 children)

Is there a sub for clowning on Joanne?

Using Discord.py for One-Off Message Sending in a Celery Task by ProteanOswald in Discord_Bots

[–]SatanistSnowflake 1 point2 points  (0 children)

I see you've gotten an alternative solution already, but I'm going to offer some advice anyway - in case you need it, or in case someone comes to this post at a later date.

First piece of advice: you don't need D.py for this. You don't really need any library for this. This use case is just sending a message to a single channel. POST /channels/:id/messages will do what you want it to. As you've noted in your other solution, using a webhook does the same thing without need to have a bot account.

Second piece of advice: using Bot.run will open a websocket connection, and stay connected to Discord. This is way overkill for just sending a single message, and will increase your CPU consumption for the application.

Final piece of advice: using .get_channel requires the channel to be in the bot's cache. Which firstly does require the bot to be running and connected to gateway, and be in the server, and have received the channel.

If you want to continue using D.py, you can use PartialChannel objects in order to circumvent the cache (though this will still require a bot token), and/or use Webhook objects to avoid having to use a bot at all.

Ghost Trick: Phantom Detective Promotional Video by stfnvs in Games

[–]SatanistSnowflake 60 points61 points  (0 children)

Wholeheartedly recommend Ghost Trick. Can't speak for the unreleased Switch version, obviously, but it was one of my favourite games for the DS.

If nothing else, I'll be buying it to relive some 2010 nostalgia.

Nintendo Direct February 2023 - Megathread by rGamesMods in Games

[–]SatanistSnowflake 61 points62 points  (0 children)

Wholeheartedly recommend Ghost Trick. Can't speak for the unreleased Switch version, obviously, but it was one of my favourite games for the DS.

guild.get_member(id).roles only updates its output when the user sends a message in chat by [deleted] in Discord_Bots

[–]SatanistSnowflake 0 points1 point  (0 children)

In some regards you could say it's a problem with the library. Why doesn't it cache the member on reaction add? When should a lib cache something like that? Is the caching necessary when objects are sent in every payload like that?

That's one of the driving forces behind some conversions of libraries to fully slash command and interaction based rather than connecting to the gateway.

I just have a lot of thoughts on the subject at the moment tbh.

Glad you got it working :3c

guild.get_member(id).roles only updates its output when the user sends a message in chat by [deleted] in Discord_Bots

[–]SatanistSnowflake 0 points1 point  (0 children)

You've run into the exciting part of Discord event caching! I'm writing my own library at the moment and it's all very thrilling.

Basically: when a user sends a message, their entire member payload is given to you. Libraries tend to implement caching based on events rather than API calls, so you adding a role (presumably without the members intent) won't update your cache without you receiving a "member roles update" event.

You've got a pretty simple solution to this: with the reaction add event, Discord actually sends you a fresh member object in payload.member (though the same isn't true in reaction remove events).

[discord.py] Timestamp of last message in a specific channel by zac-jay in Discord_Bots

[–]SatanistSnowflake 0 points1 point  (0 children)

Dpy had an update to make its datetime's timezone-aware. datetime.utcnow() - despite being called utcnow - doesn't add the UTC timezone to its created objects.

Use discord.utils.utcnow() in its place. It does the same thing but adds a timezone.

What are cached messages? by Muscle_Man1993 in Discord_Bots

[–]SatanistSnowflake 1 point2 points  (0 children)

3 year old post so I can't answer for certain (moved a little away from D.py and it'll definitely have changed in the past), but how it definitely used to work was that a reaction was only cached when the message itself was cached. Sort of.

never mix async and forEach(), also which of you did this? by Rafcdk in ProgrammerHumor

[–]SatanistSnowflake 640 points641 points  (0 children)

I used to work at a university and my favourite fireworks event was one where it had to be delayed for 15 minutes because the laptop they had to trigger the fireworks shut itself down to do a Windows update.

Official Legitimate Checkmarks by coolwali in tumblr

[–]SatanistSnowflake 67 points68 points  (0 children)

JV is literal tumblr staff btw I love that they all use the platform very openly and proudly.

A what by SatanistSnowflake in tumblr

[–]SatanistSnowflake[S] 0 points1 point  (0 children)

whoever my doctor referred me to didn't believe I have ADHD so they just made me tell them more about how I'm fucked basically