Bitlocker/Filevault and VeraCrypt together?

I’m researching ways to make the best encryption setup? What are thoughts on using TPM/Bitlocker or T2/Bitlocker native encryptions to fully encrypt a secondary drive, and then utilize Veracrypt to encrypt the disk and mount it? The boot drive would be TPM/T2 system encrypted with a PIN & password, with the secondary drives “automatically unlocked”.

Or is this all pointless beyond a single pass? It just seems the secondary drives don’t benefit from TPM/T2, so that negates the PIN and leaves just the OS defined password. In this method, they would have to decrypt the drive, and then still be left with another encrypted drive. Or should it perhaps be a container within the encrypted drive?

Assumptions: The passwords are all lengthy and secure, and both different.

Do these bonuses to disguise really stack together to +51 (or even more, eventually)?

Inspired by answer to another question. My character is Kitsune with 22 Charisma* and 8 ranks in Disguise. He has Realistic Likeness feat. So, using logic from answer by william porter (sic!) linked above, we have:

  • 8 ranks + 3 for a class skill + 6 Cha bonus +2 Deceitful = 19
  • Change Shape +10 racial bonus = 29
  • Magic Rules for Polymorph Subschool +10 untyped = 39
  • Realistic Likeness +10 Circumstance = 49
  • Disguise kit +2 Competence = 51

Don’t get me wrong, I’d love to have +51 bonus to d20 roll and yes, lies and disguise are essential parts of this character, but I feel kinda… awkward. On one side, I don’t want to abuse the rules, on the other hand, I don’t want to cut my own wings. Thus my question:

Is this really possible, within the rules?

* in our campaign everyone started with one 18 and one 8 simply handed out. So 18 + 2 racial + 2 from 8 levels = 22.

Compile similar files together

I have a directory contains data files which are named related to the date (doy) in which every three, four or five files have the same date, I want to create new files in which to put every similar date files together Ex for files name (2019_100_001.bin ; 2019_100_002.bin ; 2019_100_003.bin ; 2019_101_001.bin ; 2019_101_002.bin ; 2019_102_001.bin ; 2019_102_002.bin ; 2019_102.003.bin ; 2019_102_004.bin ; 2019_103_001.bin)

Can the value model for variables only be used together with static typing, not with dynamic typing?

There are two models of variables: the value model (e.g. variables in C) and the reference model (e.g. variables in Python).

There is also a distinction between static typing and dynamic typing.

Can the value model only be used together with static typing, not with dynamic typing? Or how can the value model and dynamic typing work together, and maybe some example languages?

Can the reference model for variables work with either static typing or dynamic typing?

Mapping two apis together

I have two services which I can not modify, and I want to push data from service A to service B

Both have rest API, but are not using the same object models and JSon structure, so what I have done this far is writting a service that will call API A every X hours and Push datas to API B:

I designed the service C this way :

  • a wrapper class for querying API A
  • a wrapper class for querying API B
  • a Logger class

(I’m using python but I do not think this is revelant here)

Now I feel that what i’ve got to do is just create a “Mapping” class with methods calling API A, getting entity A.a, A.b, A.g of API A, generate my JSon to create object B.h of API B and Post it to API B, and repeating this until I’ve pushed all the different entities and datas I want to push to Service B.

It feels quite unefficient and rather boring to write, is there a pattern or a smart way to push data from one Endpoint to another ?


Is having a database to track the status of job together with a queue system a good design?

I am designing a system to send large number of email. In this system, a queueing system is used (RabbitMQ is used in testing, but may consider other queuing system in live version) to manage multiple worker to consume the workload.

Originally, one packet in queue contains one sending job only. Queuing systems has the function to detect if the packet is consumed by the worker and will resend the packet to one of the workers in case of error. This works, but if one packet only contains one job, the connection overhead is too large, result in producer not pushing job into queue fast enough. This bars the number of workers.

My currently solution is to make one packet having 100 jobs, and then add a database (I am using Redis for this) to check if each job has been finished, in case of error in the 50th job of a packet.

However, with queue system used, this sounds stupid to add a database just to monitor the status of job. Is this kind of design normal or what I should do to handle the overhead of connection?

Does a Flametongue and Booming Blade work together?

I’m planning a magic initiate Rogue with the Booming Blade Cantrip. He will have a Flametongue as it is a higher level character. I already know that Booming Blade and Sneak Attack work together but what I’m unsure of is if the extra damage from the Flametongue would work as well. Example is at 5th level Booming Blade adds 1d8 Thunder damage to the normal attack and the Flametongue adds 2d6 Fire damage, so if I use a Rapier I would get 1d8 Piercing + 1d8 Thunder + 2d6 Fire + 3d6 Sneak attack (assuming I qualify for sneak attack) + Mod. I’m not concerned with the secondary damage from the target moving. This attack would average (with everything factored) 30.5 damage with a modifier of 4, Double with a crit. Would this work?

How to NetworkManager, resolvconf, and dsnmasq work together?

Running Kubuntu 16.04

Sometimes the name resolution gets slow. In previous Ubuntu versions, the problem was usually in resolv.conf and was easy to fix. In 16.04 all the DNS resolution is hidden in a NetworkManager+resolvconf+dsnmasq maze, and I don’t know how I can figure out the actual DNS (dig says it’s

Could a kind soul explain:

  1. how NetworkManager, resolvconf, and dsnmasq work together (because this is something that is not explained in the documentation of each)
  2. how can I debug DNS performance problems

Does is break SRP to keep incompatible physical units and quantities together in the same class, where quantities describe an object?

I want to design a Crate object. A crate is a wooden box that stores things. I need to be able to keep track of of the following things in regards to this crate:

  • length in inches
  • width in inches
  • height in inches
  • weight in pounds
  • price of crate in dollars

My question

can I store all of the above in the same class? Does it break SRP if I store the quantities in the same class?

An alternative, for example will be to break up the class into 3:

  • CrateDimensions (length, width, height)
  • CrateWeight (weight)
  • CratePrice (price)

My specific use case is as follows: I have various many products that can be put into the crate. Based on those products I have code that creates the crate – sets up initial dimensions and weight of the product inside the crate, and if more product is added, the crate dimensions are adjusted, as well as the weight. Price is something that is not currently added, but will be added later.