What happens if I Blink while my Familiar sits on my shoulder?

My lizard Familiar (from the Find Familiar spell) is often sat on my shoulder. If I use the Blink spell, would it shift with me to the Ethereal Plane, or would it be left behind and splat to the ground back on my original plane?

There’s nothing in the text about things you’re carrying or wearing travelling with you, but presumably they do to some degree. I assume taking another creature would be too much.

Why do OS and DBMS have their own synchronisation mechanisms, when OS can alone do it and it sits at the bottom of DB?

I know that synchronization is important in the OS, but why do we need a separate topic synchronization and concurrency in the DBMS? The OS concentrates on program synchronization while the DBMS concentrates on data synchronization. Why can’t the OS take responsibility for data synchronization?

Where should business logic sits in microservice architecture?

Still trying to wrap my head around microservice architecture since I’m used to monolithic approach

Suppose we try to build a extremely simplified Uber booking system, to simplify things we let’s say we have 3 services and a gateway api for the client: Booking, Drivers, Notification and we have the following workflow

When creating new booking:

  1. Check if existing user already have a booking
  2. Get list of available drivers
  3. Send notification to the drivers to pick up the booking
  4. Driver picks up the booking

Let’s say all messaging is done through http call rather than messaging bus like kafka to keep things simple

So in this case, I thought that Booking service can do the checking for existing booking. But then who should be getting the list of available drivers and notification? I’m thinking of doing it on the gateway level but then now logic is kind of splitted in two places:

  • Gateway – get list of available drivers + send notifications
  • Booking – check for existing booking

And I’m pretty sure gateway is not the right place to do it but I feel like if we are doing it in the Booking service, it’s becoming tightly coupled?

To make it more complicated, what happens if we have another project that wants to reuse the booking system but with its own business logic on top of it? That’s why I thought of doing it in the gateway level so the new project gateway can have its own business logic separate from the existing one..

Another way of doing it I suppose is to have projects own booking service that will talk to the core booking service but not sure what’s the best approach here 🙂

Can I add a permanent filter that sits between the viewfinder and camera2 API? [Rooted Android]

Sorry if this isn’t the right sub or not technical enough – new to android dev!

I am trying to mess around with my rooted device and wondered if it is possible to add a permanent filter to the viewfinder? For example, say I wanted a blue tint added to the camera, therefore, any app I opened would show the camera viewfinder as normal but with a blue tint. This would not be an overlay from accessibility settings, but a fundamental alteration to the viewfinder frames.

In my mind, I think I could develop code that would sit between the viewfinder and the camera2 API to permanently alter the frame before reaching the user screen, which isn’t possible with a non-rooted device. What would this look like from a rooted perspective?

Thank you so much!