How do I set up full disk encryption on multiple computers?

I want to set up my company's laptops so that all files created on these laptops can only be read by these laptops. If it is a copy to a USB, this file is only readable if you connect this USB stick to a company laptop. If you connect or copy another unauthorized notebook, it will not be readable.

Earn and Young uses this technique to protect their data, but I don't know what their name is and how they should be set up. Please help :] thanks guy

How do I set up full encryption of hard drive files?

What you are looking for is "Endpoint DLP". All files are encrypted individually on the device.

Note that this can be very expensive and may have unexpected consequences depending on the environment. In many companies, such controls are too much. It's better control if the company is already heavily regulated, like a bank or government office.

Imagine someone is making a shopping list in Word during their lunch break. You cannot send this file home or email it to anyone because the DLP system has protected it. This can lead to considerable friction losses for your employees.

It's a great solution, but it can be "too good" for many contexts.

Debugging – How do I set up WordPress error logs in WP-Config?

You can find the wp-config.php file in the root directory of your WordPress website. Open the file in any text editor and look for the line that says.

define (& # 39; WP_DEBUG & # 39 ;, true);

This code may already be in your wp-config.php file and is set to false. In this case, you just need to change it to true. If you want errors to be logged, you also need to add the following code to your wp-config.php file just below the WP_DEBUG line.

define (& # 39; WP_DEBUG_LOG & # 39 ;, true);

After saving this first, you need to visit your WordPress site and access the pages that have resulted in errors or warnings. Then you need to connect to your website using an FTP client or a file manager app in your cPanel.
Once connected, go to / wp-content / folder and you'll find a file called debug.log.
You can download, view, or edit this file. It contains all logged WordPress errors, warnings and notices.
Thanks greetings,

Spell – Can "x" area effects be set to smaller sizes?

No general rule says that a caster can deliberately reduce the area of ​​a spell. Casting a spell at a lower spell level can change the area of ​​a spell, however, if the spell's area depends on the spell's spell level. That said, at caster level says

You can cast a spell at a lower caster level than normal, but the caster level you choose must be high enough for you to cast the spell in question, and all level-dependent features must be based on the same caster level. (Player's Handbook 171)

For example, a Wiz13 could cast the 6th level Sor / Wiz spell Check water (trans) (PH 214) at each caster level from 11 to 13, but not less than 11, and the area of ​​the spell would be proportional to the selected caster level.

macos – How to set up JDBC on a Mac with Eclipse and Oracle

I have already used Eclipse to work on Java projects in Windows. My supervisor has already set up Oracle and Eclipse. I want to use it on a personal MacBook Pro mid2014 running on Catalina.
I tried to set up VMWare Fusion on Windows, but the Oracle installation always ends with a TNS protocol error. Please guide me from installation to creating a project to set up and connect on my Mac / in a virtual machine.

Ps .: At the moment I have successfully installed Eclipse in macOS.

c ++ – Collision of the SFML separating axis set detected out of shape

Attempt to implement the SAT in SFML using ConvexShape from SFML. Some shapes, such as rectangles, seem to work, others trigger the collision outside of the shape. I tried to draw the normals or the axes tested in SAT on the shapes and they seem to be correct. I wonder if I missed something when I found the overlap of the projections or maybe with the rotation and transformation of SFML. The rectangle shown in the picture is controlled with sf :: Transformable :: move and rotate.

Enter the image description here


#ifndef VECTOR_HPP
#define VECTOR_HPP


namespace sf { namespace Vector {

inline float dot_product(const sf::Vector2f &v1, const sf::Vector2f &v2) {
    return v1.x * v2.x + v1.y * v2.y;

inline float magnitude(const sf::Vector2f &v) {
    return sqrtf(dot_product(v, v));

inline float magnitude_sqr(const sf::Vector2f &v) {
    return dot_product(v, v);

inline sf::Vector2f unit(const sf::Vector2f &v) {
    return v * (1.f / magnitude(v));





#include "Vector.hpp"

namespace Collision {

inline std::vector SAT_get_vertices(const sf::ConvexShape &shape) {
    std::vector vertices;
    for (size_t i {0}; i < shape.getPointCount(); i++) {
    return vertices;

inline std::vector SAT_get_normals(const sf::ConvexShape &shape) {
    std::vector normals;
    for (size_t i {0}, j {1}; i < shape.getPointCount(); i++, j = (i + 1) % shape.getPointCount()) {
        sf::Vector2f normal = sf::Vector::unit(shape.getTransform().transformPoint(shape.getPoint(j)) - shape.getTransform().transformPoint(shape.getPoint(i)));
        normal = {normal.y, -normal.x};
    return normals;

inline bool SAT_has_separating_axis(const std::vector &normals, const std::vector &vertices1, const std::vector &vertices2) {
    for (const auto &normal : normals) {

        float min1 = std::numeric_limits::max();
        float min2 = std::numeric_limits::max();
        float max1 = std::numeric_limits::min();
        float max2 = std::numeric_limits::min();

        for (const auto &vertex : vertices1) {
            float dot = sf::Vector::dot_product(vertex, normal);
            min1 = std::min(min1, dot);
            max1 = std::max(max1, dot);

        for (const auto &vertex : vertices2) {
            float dot = sf::Vector::dot_product(vertex, normal);
            min2 = std::min(min2, dot);
            max2 = std::max(max2, dot);

        if (max1 < min2 || max2 < min1) {
            return true;

    return false;

inline bool SAT(const sf::ConvexShape &poly1, const sf::ConvexShape &poly2) {

    std::vector poly1_vertices = SAT_get_vertices(poly1);
    std::vector poly2_vertices = SAT_get_vertices(poly2);

    std::vector poly1_normals = SAT_get_normals(poly1);
    std::vector poly2_normals = SAT_get_normals(poly2);

    if (SAT_has_separating_axis(poly1_normals, poly1_vertices, poly2_vertices)) return false;
    if (SAT_has_separating_axis(poly2_normals, poly1_vertices, poly2_vertices)) return false;

    return true;



sf :: ConvexShape

shape1.setPoint(0, sf::Vector2f {0.f, 0.f});
shape1.setPoint(1, sf::Vector2f {100.f, 0.f});
shape1.setPoint(2, sf::Vector2f {100.f, 100.f});
shape1.setPoint(3, sf::Vector2f {0.f, 100.f});

shape2.setPoint(0, sf::Vector2f {25.f, 0.f});
shape2.setPoint(1, sf::Vector2f {75.f, 0.f});
shape2.setPoint(2, sf::Vector2f {100.f, 50.f});
shape2.setPoint(3, sf::Vector2f {75.f, 100.f});
shape2.setPoint(4, sf::Vector2f {25.f, 100.f});

shape2.setPosition({200.f, 200.f});

Compiler design: How are the initialization conditions for data flow problems set?

Imagine a typical data flow problem, e.g. B. Achieving definitions or available expressions.

I have trouble understanding how $ IN $ and $ OUT $ of the basic blocks are initialized. For example, we initialize for available expressions $ OUT [B] = U $ for all $ B $, that is, we assign everyone $ OUT [B] $ all expressions as we assign $ OUT [B] = Emptyset $ for the initialization of the reaching definitions. Why do we assign? $ OUT [B] = U $ for available expressions? This appears to be counterintuitive, since no expression is available for a basic block without code.

Standard deviation – calculation of the SD (and then the Z-scores) with a VERY large data set (n = 140,000)

I have a clustered frequency table that I got from a website that is a very large record (n = 140,000). I was able to determine the mean from this, but I wonder if it is possible to calculate the standard deviation. I think once I have the SD I can calculate the Z scores and then the percentiles I am trying to get to. I have access to SPSS and Excel. I am assuming that there is a process in one of these programs that does not require me to manually enter 140,000 cases. Any thoughts?

Module – Magento 2 new field set / field in the shopping cart price rule shows unwanted tab Currently active

This is in my custom module XML sales_rule_form.xml::

Test Fieldset true 100 false Test Field true text input 30

AND that it shows in the backend:
Enter the image description here

See the highlighted blue text "Currently Active" to see if it comes from Native Magento xml:


and the xml is:


How what? has anyone experienced this?