hard drive – APFS Volume Access Unmountable on a Disk Image

I had problems with APFS. I have an external hard drive (hubs) with two partitions. Some time ago, one of these partitions stopped being mounted. Neither Disk Utility nor fsck can fix it. Disk utility in recovery mode could not fix it. The partition is not encrypted. All this happens on macOS 10.14.6.

I've created an image from the entire external drive in the hope of being able to access partition data from there. This image, once mounted, correctly shows the uncorrupted partition, but the other partition is not mounted and dimmed in Disk Utility.

My investigation showed that the problem was the map of objects, which was raised a few times in my search on Google, but without solution.

sudo fsck_apfs -l -n -S /dev/disk4s3

** Checking the container superblock.
warning: checkpoint<->superblock disagree for xp 88
** Checking the EFI jumpstart record.
** Checking the space manager.
warning: spaceman chunk 916 free count 4294943744 > block count 32768
warning: spaceman main free count 351394375 does not match sum of free counts 351417927
** Checking the space manager free queue trees.
** Checking the object map.
** Checking volume.
** Checking the APFS volume superblock.
** The volume Extras was formatted by newfs_apfs (748.57.19) and last modified by apfs_kext (945.220.38).
** Checking the object map.
error: (oid 0x231dea) om: btn: invalid o_type (0x40000002)
   Object map is invalid.
** The volume /dev/disk4s3 could not be verified completely.

I believe that the data on the drive is correct, but the few blocks of corrupt APFS make the entire drive unusable.

I know the boysoft data recovery software, but I am not interested in individual files, images, etc. of this player. I want the entire partition (but I wonder how this software can access files on a non-mountable drive). I know that if this had been the HFS system, DiskWarrior could probably rebuild the entire partition, but due to the not fully documented nature of APFS (WTF Apple?), DiskWarrior users can not help …

I would like to know if there is a way to access the data on non-mountable APFS volume? Or maybe fix the map of objects so that the drive can be mounted and traveled?

Any advice would be greatly appreciated …

visual studio – How to hide the first line that displays the path python access and path to the file in VS Code?

I use the built-in terminal in VS Code for Python and I want to hide the first line indicating the Python installation path and the location of the .py file whenever I run my code . I've tried the folder hiding trick that uses a $ profile method but the line always displays a "& C: / User ….". Ideas? Thank you! I am on the 10th win, from elsewhere.

azure – Best way to prevent direct access to my server

I have a web server configuration in Microsoft Azure and he has an associated domain name like www.example.com. This web server is very critical and I do not want anyone other than one or two people to know the exact URL or its IP address. I believe that direct access to this web server will pose a significant threat to security and I want to prevent workers from accessing this server directly.

Why a restriction is necessary?

  • Prevent direct access
  • I do not want my employees to access my web server outside my office.

Even with these restrictions applied, I wish that one or two people can always access this web server directly (in case of emergency).

My minds

Install a reverse proxy at my desktop. Allow workers to access my web server as if the web server were located on our local network.

So when users type <---> Reverse Proxy <---> www.example.com

I am sure that what I plan to do is possible or not. If you have any other ideas, please let me know.

Visual representation

Root Access – How can I run chroot on Android?

I have configuration of my chroot environment (Alpine Linux) in / sdcard / alpine. I'm trying to run my chroot with the following commands:

chroot alpine /bin/busybox 

(busybox is Alpine's cli)

I receive the following error:

chroot: exec /bin/busybox: Permission denied.

How can I fix this?

Specifications of my device:

Google Pixel XL (marlin)

Android 9.0

Rooted (obviously) with Magisk

memory access – Miss Penalty cache search in Memoery with Banks

Following the same argument, we calculate the failure rate as 1 / 2Consider a memory
system with 4 GB of main memory and cache mapped directly from 256 KB with 128
lines of bytes. The main memory system is organized into 4 memory banks intertwined with
an access time of 50 cycles, where each bank can simultaneously deliver a word. the
the rate of absence of instruction is 3% and the rate of absence of data is 4%. We find that 40% of all
the instructions generate a data memory reference.
a. What is the miss penalty in cycles?

Shot from here

I could not understand how an absence penalty of 440 cycles is calculated here. The given solution simply says

Address Cycles + Access Cycles + Transfer Times
8 + 8 x 50 + 32 = 440 cycles

My understanding is Miss Penalty (MP) = the time for successful access to the next level + (MR_next_level x MP_next_level)

Since, here, the next level is the RAM itself, if we assume 100 HR (success rate), then MR_next_level = 0. So MP (cache) = access time RAM = 50 cycles. In addition, about the four banks, if they had not been there, I suppose the access time would have been about 50×4 cycles.

Pls help me understand, what I miss.

Web Access – Write to ElasticSearch

Could someone point me to an appropriate documentation, Wolfram or otherwise, to connect Mathematica to an ElasticSearch instance? I do not need anything complicated just enough to write a two-number record and a string separated by spaces that will require marking. An improvement would be that I could write a list of this type, of a size of about 100 MB, in a single call to ElasticSearch.


How to resolve any access in Azure Data Factory 2 to the Azure DevOps repository

I'm having a problem with Azure Data Factory when trying to access the Git Azure DevOps repository I've set up. The error message is: "Invalid GIT configuration." You must access the repository before you can publish the changes Details: Authentication Error – You do not have access to the provided Azure DevOps account. "

I use the same account on DevOps and Data Factory. My access to the Azure portal is "Contributor" at the subscription level and my DevOps role as a project administrator on the project.


I've tried different combinations to create the repository as new from Data Factory, as well as to use an existing repository created (by myself) in Azure DevOps.

From https://docs.microsoft.com/en-us/azure/role-based-access-control/built-in-roles in Open Feedback elements, a user indicates that "the embedded role of Data Factory Contributor is not in the Allow portion:
Action: Microsoft.DataFactory / locations / configureFactoryRepo / action "
I have investigated the role of the contributor and the action seems to have been allowed as "Reading"?

json – how to create an aws iam role with console access and saml

I've viewed the aws document here https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_create_for-idp_saml.html

I am able to create a role with console access from the aws console. How can I get the same thing using aws cloudformation.

What I want to reflect in CFT

I've created the cft file below, but the role does not work, it does not seem to have access to the console.

  "Parameters": {
    "SAMLID": {
      "Type": "String",
      "Description": "SAML IDENTITY PROVIDER ARN"
    "Resources": {
      "FullAdminXME": {
        "Type": "AWS::IAM::Role",
        "Properties": {
            "Description" : "SAML Role for Azure AD SSO",
            "AssumeRolePolicyDocument": {
            "Version": "2012-10-17",
                "Effect": "Allow",
                "Principal": {
                  "Federated": { "Ref" : "SAMLID" }
                "Action": "sts:AssumeRoleWithSAML",
                "Condition": {
                  "StringEquals": {
                    "SAML:aud": "https://signin.aws.amazon.com/saml"

          "ManagedPolicyArns": [