c# – Encrypting Data with interception of SQL instructions generated by Entity Framework

WPF Application, C#, MS SQL Server, Entity Framework 6. I need to encrypt all data from user input, and do it apart from business logic. I’ve come to interception of SQL Queries generated by transferring LINQ expressions to SQL, and changing data from them to encrypted, in order to store only encrypted data. I’d like to know if it even possible, and how… And how to decrypt them back and show user only plaintext. I can’t change this method – i.e. i MUST intercept queries. Yet another thing – i must use methods from System.Security.Cryptography.
I have read https://docs.microsoft.com/en-us/ef/ef6/fundamentals/logging-and-interception this article – we use EF version of 4.1, this will not work. I had even checked through source code of EF6 on Github to check if i can override SaveChanges() method

There has been a critical error on your website. Please check your site admin email inbox for instructions

The above error message comes up when I try to log into a website called nail the mix. It only does it when I try to go to the site and log in. Also worth noting, I do not have WordPress nor have I ever heard of it until this error, and I can assure you it is something I already hate from the depths of my soul. How do I fix this?

forms – Ways and instructions to tell a user to intentionally miss a multiple choice question?

I’m currently brainstorming possible solutions to this UX question. In a multiple choice activity (not a quiz/form), if a user correctly answers a question, before they move on to the next question, I want to encourage the user to still click on the wrong answers and see the feedback from the wrong answers, so they understand why the wrong answer is wrong.

My first question is placement of these instructions:
I was thinking about putting optional instructions either before the question, or after the last multiple choice answer. The reason I suggest the latter is that these set of instructions are rather unique, and could possibly disrupt the natural user flow of reading a question and answering the questiion.

My second question is about the actual contents of the instructions are a question mark to me. I was thinking:

  1. Direct Approach: If you get the answer right, please also take a look at the other answers to see why they’re wrong!
  2. Subtle approach: Choose the best answer, but be sure to go through all the answers later!

I was also wondering in terms of user experience if it would make more sense to put these “instructions” after the user has successfully answered thee question, rather than before?

Homebrew’s instructions to update Xcode CLT fail to address warning

Since Catalina, brew doctor has produced the message

Warning: A newer Command Line Tools release is available.

Following the subsequent instructions to

sudo rm -rf /Library/Developer/CommandLineTools
sudo xcode-select --install

has no effect.

How do I make sure that Homebrew recognizes that no newer version of the CLT are available?

HOMEBREW_VERSION: 2.2.17-72-ge4719cb
ORIGIN: https://github.com/Homebrew/brew.git
HEAD: e4719cb6f3207a7aed932dbb9d6f363d6c478cd0
Last commit: 5 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 221abc864bb25f3c0bfa0b0f0237f426f0a056a3
Core tap last commit: 39 minutes ago
HOMEBREW_DISPLAY: /private/tmp/com.apple.launchd.R94NebSNsk/org.macosforge.xquartz:0
HOMEBREW_EDITOR: /usr/local/bin/bbedit
CPU: quad-core 64-bit haswell
Homebrew Ruby: 2.6.3 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
Clang: 11.0 build 1103
Git: 2.26.2 => /usr/local/bin/git
Curl: 7.64.1 => /usr/bin/curl
Java: 1.8.0_172
macOS: 10.15.4-x86_64
Xcode: 11.5
XQuartz: 2.7.11 => /opt/X11

usability – Technical terms linking vertical lists to Instructions

I once read a study where it described that displaying information vertically hints/implies to the user that it is instructions. I tried searching for proof of this concept again and couldn’t find it this time.

Does anyone know any key terms/concepts relating to information being displayed vertically rather than horizontally means its implying that the information is instructions/guidelines to follow.

Heres an example of what I mean.

enter image description here

Services – Instructions / Books to Start a Bitcoin Accepting Online Business?

(…) how to found a company and deal with tax issues and other related personnel issues such as payroll.

I don't think such sources are currently available for one simple reason: So far, Bitcoin storage space is largely unregulated (including the payroll issue).

The debate about Bitcoin in the legal system is just beginning. It's not even that clear (worldwide) whether Bitcoin is legally considered money or not. In 2014, Andreas Antonopoulos spoke to the Canadian Senate Banking, Trade and Commerce Committee on such regulatory issues. I strongly recommend that you watch the full 2 ​​hour video.

Instructions / books for starting a Bitcoin-accepting online business?

Assuming you are already familiar with the basics of Bitcoin, then the next step would probably be to decide how to accept Bitcoin payments. There are several ways to accept Bitcoin for small businesses. Probably the most popular are Coinbase and BitPay.

If you're still looking for ideas for Bitcoin businesses, James D & # 39; Angelo's Million Killer Apps range (Part 1 and Part 2) is an interesting place to start. It may also be useful to subscribe to your channel.

At what stage of the design process we use the instructions "How could we" and "As a user"

This may seem pretty obvious to some. I am a self-trained designer. I always try to find out and fill in my knowledge gaps.

In which phase of the design process we use.

  1. "How could we" statement
  2. Instructions as a user

To my understanding, HMWs are used to encourage creative thinking for brainstorming sessions, and user stories are used as user statements to be designed and developed.

Am I correct and where else can these be used? Of course, no design process is the same, but I'm excited to see how and where you use it.

Performance – What to consider when buying the best earplugs: Complete buying instructions

Earplugs are a must for swimmers. They protect their ears from infections. If you want to find the best earplugs and make the best purchase decision, it is important to understand the different types of earplugs for swimmers and their benefits.

People with sensitive ears or narrow ear canals can often be exposed to ear infections, especially when swimming. Swimmers always take extra protection to protect their ear. The best way to prevent water from getting into your ears is by earplugs for swimming. Earplugs are basically the same for children and adults. However, children need a little extra support when inserting their earplugs. Below is a complete guide to choosing the best swim earplugs.

1. Earplug styles:

If you are looking for Swimming earplugs To do this, choose the one that is specifically designed for use in water. Remember that the noise-blocking earplugs are not intended for swimming. They don't even offer a sufficient waterproof seal. The best earplugs suitable for swimming are described below:


These types of earplugs have a universal, conical shape with multiple flanges to protect the ears as a barrier against water. If you're looking for an affordable swim earplug option, this is the perfect choice for you.


These types of plugs are specially designed to fit snugly in the ear and lie flat against the outer ear. The plugs are shaped differently for the right and left ear.


They are applied to the outer ear canal to achieve a customized, waterproof seal.

  1. Choice of earplug materials:

 If you are allergic to latex, you should opt for a latex-free earplug. Although most earplugs are latex-free, some brands still use latex.
 If you swim regularly, buy earplugs made from reusable materials.

3. Earplug tips:

Consider buying silicone or latex swimming earplugs that you can wear over your ear as another layer of water protection.

Earplugs are available in different shapes and sizes with their unique advantages. You can try several styles to find the one that works best for you. Since they are quite cheap, it doesn't cost much. You can also contact the online earplug seller to find out which is the best option for you.

amazon web services – AWS ECS: Looking for instructions for the architecture approach and container networks

I'm trying to figure out how best to deploy a Docker-based application in ECS.
I tried to outline the general topography below.

Simplified high-level network

And below is my Docker Compose file:

version: '3'

      context: .
      dockerfile: ./docker/Dockerfile
    restart: always
    container_name: "python-app"
    shm_size: 2G
    tty: true
      - ./src:/app/src
      - ./.env:/app/.env
      - ./store:/app/store
      - "3000:3000"
      - bb-network

      context: .
      dockerfile: docker/Dockerfile.PROXY.REST
    restart: always
    container_name: "proxy-rest"
      - "5000:5000"
      - app-network

    container_name: "mongo"
    image: mongo:latest
    restart: always
      - "27017:27017"
      - app-network
      - ./docker/mongodata:/data/db

      context: .
      dockerfile: docker/Dockerfile.CLIENT
    container_name: "bb-client"
      - "8080:8080"
      - ENV=staging
      - app-network

      driver: bridge

I have successfully deployed other applications in ECS using EC2 with ALBs. However, they were still coarser. That is, a pair of containers with a publicly accessible port and a backend service. All tasks are performed using the AWS GUI. They are one task per service per load balancer per target group.

In this case, I started the same way and created the following:

  • a task definition
  • an appropriate service
  • All 4 containers defined in the individual task
  • in bridge mode
  • 1 target group
  • 1 ALB (load balancer)
  • EC2 start type

However, I quickly found out that you cannot expose multiple ports to different containers within the same task.
I have since found:

Which means that this is possible, but not through the AWS Administrator GUI, so I switched to esc-cli / aws-cli in the future.
If this is not evident from the diagram, different containers have to communicate with each other and also make different ports available for the Internet.

My question is: what is a general (and simple!) Approach / breakdown of how to arrange this?

  • Does each container go into its own task definition?
  • Does each task definition need its own service?
  • Do I need a separate target group for each container?
  • Is the bridge mode working or do I need awsvpc and service discovery? (With Docker-Compose, the containers are easily accessible via the namespace & # 39; networks & # 39 ;.)

Some other details:

  • I would like to stay with the EC2 start type via FARGATE (it seems to be easier to access the cluster node for the generic container access of the Docker Exec type, I could clearly be wrong).
  • Little / no traffic. (i.e., more of a learning experience without expecting to scale or go into production under load).
  • For now, prefer simplicity to security.

Instructions for a basic responsive website

Hello, this is my first post on this forum.
I need to create a new website, a fairly simple one with a few pages.
It is a company website (my company) and for the sale of a product.
The product is software for Windows (I mention this so that you know more or less what the website is about).

I've read how to build a responsive website, but I have some questions and I need a place to put them, so I'm here. I hope I've come to the right place, and if not, please show me where to go.

The first page I'm working on is the homepage for the domain. For the time being it will only be a landing page, very simple and with a link to the main product page. The product pages are located at www .domain.com / ProductName /

I am trying to markup or distribute sections on the page with floats. I read https://www.w3schools.com/html/html_layout.asp and base the HTML text on this example.

The problem is that in the header area I want to divide the header area as follows: in the 30% of the left side I want to display an image that is a company logo and in the other 70% (the right side)) to include a text like " Welcome to this company page ".

The question is how.