Inquiry about an Instagram account

When I’m using my Instagram app it tells me that my feed couldn’t refresh then shows me a page with the following: {“message”:”checkpoint_required”, “checkpoint_url”:” privacy_flow=1\u0026next=instagram://checkpoint/dismiss”:”lock”:fals,”flow_render_type”:0,”status”:”fail”}

It does this repeatedly and more frequently the longer I’m using Instagram. Why is it doing this and how do I fix it?




Have the same problem today. Just needed to update the app from Play Store.

fatal: unsafe repository (‘/home/repon’ is owned by someone else)

I found an error log from apache2 that is fatal: unsafe repository (‘/home/repon’ is owned by someone else) It is because I have ‘git rev-parse –symbolic-full-name –abbrev-ref HEAD’ in PHP code and looks like a new git safety change( no longer allows www-data run this git command, git config –global –add /homerepon does not work, anyone has a workaround here to solve this issue? git version: 2.35.3 php version: 7.4 apache2 version: 2.4.41


This started appearing with the release of the git 2.35.2 security update which fixes vulnerabilities described here. credits @Juan-Kabbali

Here are 4 possible solutions:

  • trust git directory (do it if you know the directory contents are safe)
git config --global --add /home/repon

This adds to ~/.gitconfig the safe group as shown in this example

    directory = /home/repon
  • run the command as the correct user, for example:
sudo -u ubuntu -- git status

Note: This requires user www-data to have permission to execute the git command as user ubuntu (assuming ubuntu is the repository owner). For this to work, you will need to add a new file inside /etc/sudoers.d/ with the following contents:

www-data ALL=(ubuntu) NOPASSWD: /usr/bin/git

This may have security implications so refer to your security guy first.

  • change git repository owner to www-data
sudo chown -R www-data:www-data /home/repon
  • downgrade git as a temporary solution. For example in Ubuntu:
apt install git-man=1:2.17.0-1ubuntu1 git=1:2.17.0-1ubuntu1

Note: At least on Windows, it appears that all git repositories on ejectable drives are considered unsafe and changing ownership does not seem to work.

[resolved] Heroku and Github : Items could not be retrieved, Internal server error

I’m beginning with Heroku and I simply want to connect to my GitHub account. When I do it, I get this error message as a small red pop-up on the upper right side of the page: Items could not be retrieved, Internal server error. Could someone help me, please?

This is due to an issue reported at their status portal, here.

For now, the solution is to use another pushing strategy. The best one, for now, is using their remote with Heroku CLI. The steps for it are:

1. Install the Heroku CLI if not yet installed

Further information about installation and setup can get here

2. Perform login with the heroku login command

You will be prompted with your default browser window for completing the login at the Heroku portal.

3. Assuming you already have your app set up at Heroku (if not, please follow this), you just need to add a new remote for your git repo with Heroku CLI.

Run heroku git:remote -a example-app – substitute “example-app” with your app name.

4. git remote -v to check if the remote has been set successfully

You should see something like this appear as a response

heroku (fetch)
heroku (push)

5. Push your branch to the new heroku remote

git push heroku your_branch_name

6. You should see the progress of your deployment being displayed in the terminal

The reference for this answer has been taken from here, which can also be used if further information other than the one provided in this answer is needed.

create-react-app dependency version issues with React 18

npx create-react-app my-project results in the following dependency errors:
npx version: 8.5.0

Installing template dependencies using npm…
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: react-18@0.1.0
npm ERR! Found: react@18.0.0
npm ERR! node_modules/react
npm ERR! react@”^18.0.0″ from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@”<18.0.0″ from @testing-library/react@12.1.5
npm ERR! node_modules/@testing-library/react
npm ERR! @testing-library/react@”^12.0.0″ from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with –force, or –legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.

The command still produces a project directory, but running npm start in the created directory errors with web-vitals missing from node-modules.

Solutions tried

Running the same command with –force or –legacy-peer-deps as suggested by the above error message doesn’t solve the problem.

Deleting node_modules and package-lock.json and running npm i also doesn’t solve the problem.


The problem has been fixed with the latest update of create-react-app. Now it creates a project without any problem.


Until this is fixed for now you can delete the node_modules folder and package-lock.json. Next, open package.json and change
“react”: “^18.0.0” & “react-dom”: “^18.0.0” to an earlier version e.g:
“react”: “^17.0.2” & “react-dom”: “^17.0.2”.
Finally, you can run npm install.

Alternative Solution (Try this first!):
the solution suggested by joooni1998):

delete both node_modules and package-lock.json
run npm i web-vitals –save-dev
run npm install

and then you can use npm run build and npm start again

Cannot add parent directory to on git

After updating git to I’m getting the following error:

fatal: unsafe repository (‘F:/GitHub/my-project’ is owned by someone else)
To add an exception for this directory, call:

git config –global –add F:/GitHub/my-project

I’ve tried adding the parent directory of my projects to .gitconfig but it doesn’t work.

directory = F:/GitHub/
directory = F:/Private/

  1. Is there a workaround for this?
  2. What does it actually mean by “‘x’ is owned by someone else”?

I don’t want to add every single project I’m working on to the .gitconfig file.

As far as .gitconfig is concerned and are the same.



This seems to be related to this announcement of a vulnerability:

I think it has less to do with your email, and more with the owner of the directories on your filesystem. Is the user you’re currently logged in with also the owner of the folder? How about the parent folder? Also, are you invoking git from within the repository directory? The update is only a few hours old, so I guess things are still in flux.

For now, as the message from git suggests, execute

git config --global --add F:/GitHub/my-project

and make sure you are calling git from within F:/GitHub/my-project for now.

EDIT: As we found out in the comments below, the owner of the parent of the directory containing the .git folder (the git repository) is the issue.
Cloning the project anew is a platform-independent way to make sure you are the owner.


I ran into the same problem using flutter on Linux, which on my distro was installed in /opt/flutter. I am not working as root, thus I run into the same problem. Running git config --global --add /opt/flutter did indeed fix the problem for me.

Longer edit: Clarification

Going through the post about the vulnerability again after a good night’s sleep, I think a bit of clarification is in order. I’ll leave the rest of the answer as is.
Let’s look at the following simple directory structure.

├─ tommy/
│  ├─ .git/
│  ├─ rental_space/
│  │  ├─ mary/
│  │  │  ├─ projects/
│  │  │  │  ├─ phone_app/
│  │  │  │  │  ├─ .git/
│  │  ├─ anthony/

In this case, the user tommy owns his own directory under /home, but (for some reason) rents out space to other users, in this case mary and anthony.
If mary, by mistake, were to execute git in her directory, but outside of her phone_app project, then old git would go up the directory tree to search a .git repository. The first it finds is the one from /home/tommy/.git. This is a security risk, because another user, in this case, anyone that can act as tommy, can affect mary‘s execution of git and possibly cause trouble.
From Git v2.35.2 and onward, the traversal will stop as soon as the directory entered belongs to a user other than mary. Say mary executed git in /home/tommy/rental_space/mary/projects, then git will check in projects, but find no .git. It will go up one directory, check-in mary, but again find no .git. Then it will again go up, but rental_space belongs to tommy, not mary. The new git version will stop here and print the message we saw in the question.
Adding the directory /home/tommy/rental_space to the a variable would allow git to proceed but is, as explained, a security risk.

I used a Linux-like directory directory structure here, but the same is true on Windows.

Invalid Provisioning Profile Signature – STATE_ERROR.VALIDATION_ERROR.90165

I am trying to upload an archive to App Store Connect, and suddenly am getting the following error:

Invalid Provisioning Profile Signature. The provisioning profile included in the bundle cannot be used to submit apps to the iOS App Store until it has a valid signature from Apple. For more information, visit the iOS Developer Portal. With error code STATE_ERROR.VALIDATION_ERROR.90165 for id …

I am using “Automatically manage signing” and have uploaded an archive just yesterday for the same app with no issue.


Answer 1

The issue was caused by two expired Apple certificates1.

Solution is to

  1. Go to Certificates, Identifiers & Profiles
  2. Open the provision profile
  3. Press Edit in the top right
  4. Press Save without making any changes This will regenerate the profile with the correct CAs.

Now delete the ~/Library/MobileDevice/Provisioning Profiles folder and let xcode redownload the profiles again.

How fix Azure web app deploy error with VSCode?

I followed quickstart-nodejs guide. Difference is region. guide region is ‘eu’, my region is ‘kor’.

Error came when after zipping.

오후 3:46:22: Error: request to failed, reason: read ECONNRESET

Why and How?

Please help me. (ㅠㅠ)


Answer 1:

Exactly the same issue since yesterday, Brazil South region. Stopped working out of the blue.

EDIT: After rolling back Visual Studio Code update to february, it works again. Looks like the update from VScode broke something

ImportError: cannot import name ‘_unicodefun’ from ‘click’

if running our lint checks with the python black pkg. an error comes up

ImportError: cannot import name '_unicodefun' from 'click' (/Users/robot/.cache/pre-commit/repo3u71ccm2/py_env-python3.9/lib/python3.9/site-packages/click/

related issues:


Answer 1

This has been fixed by Black 22.3.0. Versions before that won’t work with click 8.1.0.

E.g.: black.yml


          python-version: 3.8
      - name: install black
        run: |
-          pip install black==20.8b1
+          pip install black==22.3.0
      - name: run black
        run: |
          black . --check --line-length 100

As a workaround pin click to last version via pip install --upgrade click==8.0.2

MUI installation doesn’t work with React 18

i was trying to install material ui core and icons with my react 18.0 project but i can’t.The project has been created using the latest create-react-app npm install @material-ui/core @material-ui/icons

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: client@0.1.0
npm ERR! Found: react@18.0.0
npm ERR! node_modules/react
npm ERR!   react@"^18.0.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.8.0 || ^17.0.0" from @material-ui/core@4.12.3
npm ERR! node_modules/@material-ui/core
npm ERR!   peer @material-ui/core@"^4.0.0" from @material-ui/icons@4.11.2
npm ERR!   node_modules/@material-ui/icons
npm ERR!     @material-ui/icons@"*" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.

Answer 1:

npm install @mui/material @emotion/react @emotion/styled --legacy-peer-deps
npm install @mui/icons-material --legacy-peer-deps

Github Issue:

How can I convert std::vector to a vector of pairs std::vector> using an STL algorithm?

I have a vector of integers:

std::vector values = {1,2,3,4,5,6,7,8,9,10};

Given that values.size() will always be even.

I simply want to convert the adjacent elements into a pair, like this:

std::vector<std::pair<int,int>> values = { {1,2}, {3,4} , {5,6}, {7,8} ,{9,10} };

I.e., the two adjacent elements are joined into a pair.

What STL algorithm can I use to easily achieve this? Is it possible to achieve this through some standard algorithms?

Of course, I can easily write an old-school indexed for loop to achieve that. But I want to know what the simplest solution could look like using range-based for loops or any other STL algorithm, like std::transform, etc.

Answer 1
Once we have C++23’s extension to , you can get most of the way there with std::ranges::views::chunk, although that produces subranges, not pairs.

#include </code>

int main()
std::vector values = {1,2,3,4,5,6,7,8,9,10};
auto chunk_to_pair = [](auto chunk)
return std::pair(*chunk.begin(), *std::next(chunk.begin()));
for (auto [first, second] : values | std::ranges::views::chunk(2) | std::ranges::views::transform(chunk_to_pair))
std::cout &lt;&lt; first &lt;&lt; second &lt;&lt; std::endl;

Alternatively, you could achieve a similar result by ziping a pair of strided views


int main()
std::vector values = {1,2,3,4,5,6,7,8,9,10};
auto odds = values | std::ranges::views::drop(0) | std::ranges::views::stride(2);
auto evens = values | std::ranges::views::drop(1) | std::ranges::views::stride(2);
for (auto [first, second] : std::ranges::views::zip(odds, evens))
std::cout &lt;&lt; first &lt;&lt; second &lt;&lt; std::endl;