linux – localise settings for custom log files with custom configs

I’m trying to change the permissions of the log file I create. The configuration is in rsyslog.d/ directory, but whenever I change the file permissions with

$Umask 0000
$FileCreateMode 0644

It’s effecting other log files like /var/log/messages, its permissions are also changing. I want to know if there’s a way to localise my changes, i.e., only the log file I created needs change in file permissions.

iphone XR: audio no longer working after changing eSIM settings

Here is my story.

I bought a used iphone XR to use it with a SIM (Three UK) and an eSIM (A1 Bulgaria). I’ve never tested the phone before setting up the eSIM. Once I set up the eSIM I tried using it but the iphone by default was selecting my primary line (the Three SIM). So I switched off that mobile plan to force the iphone to make calls via the eSIM. Call it did. However, the audio was not working. When I was calling I was heard but I could not hear the other person. When someone else called me than it was the opposite – I could hear the caller but they could not hear me.

I played a lot with various settings (including switching off one of the mobile plans) but nothing seemed to help. Than I reset the iphone to factory settings. Again, nothing – even if I did not set up the eSIM again after wiping out the iphone the audio did not seem to work.

So I decided to return that mobile as I thought it may have some defect.

I ordered a different iphone XR (again used one). This time I checked the audio settings BEFORE setting up the eSIM. They were all fine. Then I tried to set up the eSIM.

Again, the same thing happened – the audio started to work only one-way. Switching off the eSIM mobile plan did not help either.

So it seems that this is not a problem of a particular device. It is a general iphone XR problem.

Is there anything I can do about it or I should simply give up trying to use iphone XR with an eSIM?

configuration – Best practices for backing up Drupal 8 settings files

I have a Drupal 8 multisite with a few different hosts for production, staging, and local dev. Certain important files like settings.php and .htaccess are excluded from git, making it complicated to push to staging and production from my local. How are people getting around this? Is putting them in .git such a big security risk? For some time, I’ve been excluding .htaccess from .git and creating a .htaccess-loca, .htaccess-prod, etc., putting them in .git and copying them to the .htaccess files on the difference hosts – but these also contain the same info. Not sure why these are a security issue. The .env files I can understand. The problem with settings.php is the contain database passwords; can I move them to .env and consider settings files safe for git? Can drupal console be used for synchronizing these files? I’d rather not use sftp, and like git so I can roll back to known stable versions.

I used composer to build the site, can composer be used to manage settings, env, and other config files?

How about Docsall, would that make things easier?

forms – Are there any significant implications to re-design a settings page?

We’re doing a migration for some of our settings pages for our website at my current job and we’re also trying to hit an external deadline. The way the current settings pages are laid out is a tabbed format. You press a tab and it opens up the account info settings like username and password. you hit another tab and it opens up the subscriptions settings (it’s literally only 1 setting). You hit another tab and open up 1 setting.

I was thinking of minimizing work and putting all the settings on 1 page for the initial phase of the migration (it’s about 1 full page and 1/4 page scroll down (however, more in mobile devices) and then iterating on the design and UX later. Now, let’s keep in mind this is a settings page on our website and not our main product. (the simplified new settings page looks like the screenshot below.

enter image description here

Will this new layout of 1 page for settings have a significant impact on our users in terms of them unsubscribing from our service or deciding not to use our service if they newly signed up?

For more context, here’s a close example of what the current settings looks like below –I can’t post the actual design we have.

enter image description here

Toggling mobile data with tasker doesn’t work, even with “write secure settings” enabled (Android 10)

I’m on a UleFone Armor X7 (cheap waterproof/rugged thing) running Android 10. I’m trying to use Tasker to conserve power for multi-day bike rides with no charging*, and one thin I’d like to do is turn off as much communication as possible for several minutes, then on briefly to pick up messages, then off again in a loop

I know aeroplane mode requires root, and I don’t want to lose Google Pay, but I should be able to toggle mobile data without it according to the following screenshot:

enter image description here

This says either root, or ADB WiFi, or Write Secure Settings should be enough. ADB WiFi isn’t an option, because it needs a PC at every boot, which is incompatible with turning the phone off overnight – to save power. So I’ve installed ADB, granted the permission, and it still doesn’t work. I can test that the permission is set: adb shell dumpsys package net.dinglisch.android.taskerm |grep SECURE_SETTINGS returns android.permission.WRITE_SECURE_SETTINGS: granted=true but when I try to test the task I get

Error: 1
Couldn't toggle mobile data on this device

I’m thinking of trying something with AutoInput, but I’m not keen, as it (i) requires the screen to be unlocked, and (ii) can on toggle, not set a state. I also don’t want to pay even a little (on principle) to test something with these issues.

I’ve seen a few similar questions for very old Android versions, but nothing recent.

* I will have an external battery, and a dynamo, but just assume they’re not enough to keep everything charged, especially as I navigate on my phone.

forms – Are there any significant implications to re-designing a settings page?

We’re doing a migration for some of our settings pages for our website at my current job and we’re also trying to hit an external deadline. The way the current settings pages are laid out is a tabbed format. You press a tab and it opens up the account info settings like username and password. you hit another tab and it opens up the subscriptions settings (it’s literally only 1 setting). You hit another tab and open up 1 setting.

I was thinking of minimizing work and putting all the settings on 1 page for the initial phase of the migration (it’s about 1 full page and 1/4 page scroll down (however, more in mobile devices) and then iterating on the design and UX later. Now, let’s keep in mind this is a settings page on our website and not our main product. (the simplified new settings page looks like this: https://jsfiddle.net/ahmadabdul3/atg15ckj/5/show)

Will this new layout of 1 page for settings have a significant impact on our users in terms of them unsubscribing from our service or deciding not to use our service if they newly signed up?

For more context, here’s a close example of what the current settings looks like – I can’t post the actual design we have: https://d2d3qesrx8xj6s.cloudfront.net/img/screenshots/e014cd256903f95bddeba5a8e6c7217211215d4c.jpeg

nikon – Same manual camera settings under continuous light but some pictures are yellow and some are blue

I recently did a product photoshoot.
After a few pictures, I noticed that some of the photos are warm coloured, some of them are cold. I have not touched the object, my camera was on a tripod, and I used the same settings (in manual mode) for every picture.
It is really annoying because I need to create a GIF from about 15 photos and some of them are yellow, some are blue. Even some photos turned out half yellow / half blue on the same picture.

Here is an example showing the different colour temperature. They are shot with the same settings, same light, same camera, same tripod, etc…:

enter image description here

For the shoot, I used two softboxes (continuous light) and they remained at the same place for the whole time. These are my settings (identical for all pictures):

  • Focal length: 50 mm
  • Aperture: f/5.6
  • Shutter speed: 1/320
  • White abalnce: 5260 K
  • Spot metering

I was wondering if the problem was that I had my camera set to spot metering mode, but I am not sure.

Any suggestions or ideas why is this happening?

I shoot in RAW, so I know that I can fix this in Photoshop, but it’s a lot of work with 15-20 images. Especially that it says that the yellow and the blue images have the exact same level of temperature and tint. So I probably have to reduce the temperature of the yellow one to match with the blue images but that’s very complicated, because not all the images are the same.

Restricted apertures using manual settings on Canon 5d3

I have full aperture range on my Canon 5D3 in Av and tested with different lenses, but in Manual, the camera controls only vary between 3 f stops and not always the same stops.
Option, it seems to me are:

  1. an incorrect setting buried in a submenu.
  2. Firmware error.
  3. Hardware or other.

If 2. above, is that fixable with a firmware update/reinstall?

Any suggestions gratefully received.

flash – Black Dots when shooting video on Nikon D5300 manual settings

after i shoot videos for a few minutes these black dots appear on my video. I am aware that my Nikon is mainly a photography camera but i am not sure why this keeps happening when i shoot video

https://youtu.be/rfrv39zwn7Y?t=6 in this youtube video that i shot , the lines appear on the white paper on which the drawing in drawn(just click to open it at the time stamp)

they look like flashing black dotted lines