Computer Networks – Why $ x ^ {15} + x ^ {14} + 1 $ can not split side by side or up to 32768 bits

Thank you for sending a reply to Computer Science Stack Exchange!

  • Please be sure too answer the question, Provide details and share your research!

But avoid

  • Ask for help, clarification or answering other questions.
  • Make statements based on opinions; Cover them with references or personal experience.

Use MathJax to format equations. Mathjax reference.

For more information, see our tips for writing great answers.

Desktop Computer – Which of these two PCs should I choose?

My father-in-law's office has just updated his desktops and offered me one of the Lenovo devices they used before. I can choose from 2 different options and hoped someone could tell me which one to choose. It is used as a general-purpose PC that may be running a Plex server.

He brought one of each into my house, which gave me the opportunity to run Speccy with them to get the hardware specifications.

OPTION 1
MAKE & MODEL: Lenovo ThinkCentre M91p (4480B3U)
MFG DATE: November 2011
CENTRAL PROCESSOR: Intel Core i7-2600 at 3.40 GHz, 4 cores / 8 threads, 100 MHz bus
L1 cache 4×32 KB, L2 cache 4×256 KB, L3 cache 8192 KB
MOTHERBOARD: Sandy Bridge 32nm technology
R.A.M: 6.00 GB dual-channel DDR3 at 665 MHz (9-9-9-24)
Slot 1: Samsung 4096 MB, PC3-10700 (667 MHz)
Slot 2: Nanya Technology 2048 MB, PC3-10700 (667 MHz)
WAREHOUSE: 465 GB Seagate ST3500413AS (SATA-III 6 Gbps at 7200 rpm)
Duty cycle = 144 times, duty cycle = 2652.2 days
OPTICAL DRIVE: PLDS DVD-RW DH16ABSH
GRAPHIC: SME2320 (1920 x 1080 @ 60 Hz) with Intel HD graphics family (Lenovo)
AUDIO: Realtek High Definition Audio

OPTION 2
MAKE & MODEL: Lenovo ThinkCentre M83 (10AM0007US)
MFG DATE: March 2014
CENTRAL PROCESSOR: Intel Core i5-4570 at 3.20 GHz, 4 cores / 4 threads, 100 MHz bus
L1 cache 4×32 KB, L2 cache 4×256 KB, L3 cache 6144 KB
MOTHERBOARD: Lenovo SharkBay (socket 0) Intel Haswell chipset
R.A.M: 8.00 GB dual-channel DDR3 at 799 MHz (11-11-11-28)
Slot 1: Ramaxel Technology 4096 MB, PC3-12800 (800 MHz)
Slot 2: Hyundai Electronics 4096 MB, PC3-12800 (800 MHz)
WAREHOUSE: 465 GB WD WD5000AAKX-08U6A (SATA III 6 Gbps at 7200 rpm)
Duty cycle = 82 times, duty cycle = 1770.5 days
OPTICAL DRIVE: PLDS DVD-RW DH16AESH
GRAPHIC: SME2320 (1920×1080 @ 60Hz) on Intel HD Graphics 4600 (Lenovo)
AUDIO: Realtek High Definition Audio

According to my research, the CPU of option 1 (i7-2600) outperformed the CPU of option 2 (i5-4570) and achieved an average CPU benchmark of 8185 compared to 7151. There was also a larger L3 cache than I did helpful.

I could not find a definitive answer to the difference between the Intel HD Graphics and the Intel HD Graphics 4600, but I think the 4600 is better?

Option 2 has more RAM, but he has already told me that I could swap the RAM for option 1 to have more RAM (if I finally chose it). Are they interchangeable?

I think the other important factor would be the age of the units, although I'm confused why Option 1 has a better CPU for a unit 3 years older.

Any help or input is much appreciated 🙂

gnupg – What should I do next on my GPG key after my computer has been confiscated by the agency?

Unfortunately, my keys are protected by a password, but unfortunately not strong enough. I assume that I have now lost control of all my private keys. I still have a backup of my private keys. For privacy reasons, I would like to know if I should generate a new subkey from my old passkey and revoke the other old subkeys, or if I should generate a completely new key and sign my new key with the old key and then revoke the old key? Also, my old key is in the "strong group" of WoT. If I generate a new key, do I have to start the trust network again?

Operating System Core – How can the initial "boot" state of a computer be different at different times?

In my experience, sometimes a computer boots normally, and in a few days the computer will not boot. Then he boots normally again. I'm not a computer science expert and therefore assume that a computer that normally starts up does not. It must be due to changes made between these times on the computer.

My motivation is to understand how to start a computer at a basic level to know how to fix it.

As a concrete example, I got a new computer with Ubuntu 18.10, which presented this behavior constantly without access to the Internet, so that no updates / upgrades were possible.

Can anything change on a computer without the user changing anything, even if there is no internet connection?

Computer Networks – How do web browsers discover the MAC address?

As I read my textbook, I noticed that your web browser is discovering the IP address of the web server hosting the webpage and trying to connect to it if you want to access a particular webpage. Then a copy of the web page will be transferred to your computer so that you can view it.

However, I have noticed that the IP address allows sending data to the device's local area network. However, in order for the data to be sent to the device itself, the MAC address required for data transfer is the local network to the device.

BUT in my textbook is nowhere, as the web browser of the computer determines the MAC address of the web server. The computer determines the IP address of the Web server by using the Domain Name System (DNS).

How does the computer determine the MAC address of the server?

Answers would be very grateful.

Computer Architecture – Software Management of TLB Errors?

I read a textbook for operating systems and it was about TLB errors that are handled by software. Incidentally, I am very new to all this. So there is a context switch to a kernel procedure. But surely in this case the TLB is not deleted, and the kernel code does not use the TLB itself, as this would nullify the purpose? But how exactly does it work? I do not know why the text does not deal with such an obvious question.

Also, you still use virtual memory, right? So you would do two context switches, a set of page table lookups in memory in addition to the actual kernel statements per missing TLB entry. It just does not seem intuitive to do all this work to use something that will save you work. I'm sorry if I'm doing something completely wrong here. Thank you in advance.

You can not navigate to an application hosted in the Docker container on the local computer

My ASP.Net Core application can connect to a postGres database using Docker and Docker Compose. However, I can not navigate to the ASP.Net Core application or the administrator (Postgres client) on my Docker containers from my PC.

What do I miss?

Command to retrieve the IP address of the container:

docker inspect -f "{{ .NetworkSettings.IPAddress }}" 

Docker-Compose up issue:

db_1        | 2019-08-21 01:52:03.905 UTC (1) LOG:  listening on IPv4 address "0.0.0.0", port 5432
db_1        | 2019-08-21 01:52:03.905 UTC (1) LOG:  listening on IPv6 address "::", port 5432
db_1        | 2019-08-21 01:52:03.925 UTC (1) LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
db_1        | 2019-08-21 01:52:03.964 UTC (22) LOG:  database system was shut down at 2019-08-21 01:30:03 UTC
db_1        | 2019-08-21 01:52:03.999 UTC (1) LOG:  database system is ready to accept connections
adminer_1   | PHP 7.3.7 Development Server started at Wed Aug 21 01:22:13 2019
adminer_1   | Listening on http://(::):8080
adminer_1   | Document root is /var/www/html
adminer_1   | Press Ctrl-C to quit.
adminer_1   | PHP 7.3.7 Development Server started at Wed Aug 21 01:23:47 2019
adminer_1   | Listening on http://(::):8080
adminer_1   | Document root is /var/www/html
adminer_1   | Press Ctrl-C to quit.
adminer_1   | PHP 7.3.7 Development Server started at Wed Aug 21 01:27:23 2019
adminer_1   | Listening on http://(::):8080
adminer_1   | Document root is /var/www/html
adminer_1   | Press Ctrl-C to quit.
adminer_1   | PHP 7.3.7 Development Server started at Wed Aug 21 01:52:03 2019
scrubber_1  | Hosting environment: Development
scrubber_1  | Content root path: /app
scrubber_1  | Now listening on: https://(::):443
scrubber_1  | Now listening on: http://(::):80
scrubber_1  | Application started. Press Ctrl+C to shut down.

Docker-Compose.yml:

    version: '3.4'

docker
    networks:
      frontend:
      backend:

    services:
      db:
        image: postgres
        restart: always
        environment:
          POSTGRES_PASSWORD: 
          POSTGRES_DB: scrubber
          POSTGRES_USER: ajitgoel      
        networks:
          backend:

      adminer:
        image: adminer
        restart: always
        ports:
          - 8080:8080
        networks:
          backend:

      scrubber:
        image: ${DOCKER_REGISTRY-}scrubber
        environment:
          - ASPNETCORE_ENVIRONMENT=PRODUCTION  
        build:
          context: . 
          dockerfile: Dockerfile
        networks:
          frontend:
          backend:
        depends_on:
          - db

Application dockerFile.yml:

FROM mcr.microsoft.com/dotnet/core/aspnet:2.2-stretch-slim AS base
RUN apt-get update && apt-get -y install iputils-ping && apt-get -y install xvfb && apt-get -y install fontconfig && apt-get -y install libssl1.0-dev && apt-get -y install libx11-dev libx11-xcb-dev libxcb-icccm4-dev libxcb-image0-dev libxcb-keysyms1-dev libxcb-randr0-dev libxcb-render-util0-dev libxcb-render0-dev libxcb-shm0-dev libxcb-util0-dev libxcb-xfixes0-dev libxcb-xkb-dev libxcb1-dev libxfixes-dev libxrandr-dev libxrender-dev
#RUN chmod a+rwx -R /usr/bin/xvfb-run
WORKDIR /app
#EXPOSE 2222
EXPOSE 80
EXPOSE 443

FROM mcr.microsoft.com/dotnet/core/sdk:2.2-stretch AS build
WORKDIR /src
COPY ("Scrubber/Scrubber.csproj", "Scrubber/")
RUN dotnet restore "Scrubber/Scrubber.csproj"
COPY . .
WORKDIR "/src/Scrubber"
RUN dotnet build "Scrubber.csproj" -c Release -o /app

FROM build AS publish
RUN dotnet publish "Scrubber.csproj" -c Release -o /app

FROM base AS final
WORKDIR /app
COPY --from=publish /app .
#RUN chmod a+rwx -R /app/QtBinariesLinux
ENTRYPOINT ("dotnet", "Scrubber.dll")

Matching – I have bought a new computer and I want to transfer data. Windows 10 to Windows 10. Can I use an old 2.0 transmission cable or do I need a 3.0 cable?

Thank you for sending a reply to Computer Science Stack Exchange!

  • Please be sure too answer the question, Provide details and share your research!

But avoid

  • Ask for help, clarification or answering other questions.
  • Make statements based on opinions; Cover them with references or personal experience.

Use MathJax to format equations. Mathjax reference.

For more information, see our tips for writing great answers.