Facebook invites – Web Applications Stack Exchange

Stack Exchange Network

Stack Exchange network consists of 176 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

security – Detect which type of SSL Pinning is being used on Android Applications

Is there a way to detect what the Android Application is using as SSL Pinning. Whether it is certificate Pinning , Public Key Pinning or Hash Pinning ?

I am doing a study on local Android Applications and would like to collect data on what type of Pinning these applications are using.


web applications – Can git be made scalable as a content management system backend?

I’m currently in the planning stage of a new project which is a content management system.

The basic requirements are somewhat straight forward:

  1. Rich text capability ✅
  2. Real-time collaboration ✅
  3. Subject-based search and indexing ✅
  4. Scalable (possible multi-server deployment in future)
  5. Online/offline sync
  6. Roll-back capability

The last few is where I’m a bit hung up on the plan. The way the requirement is, git or something extremely similar would be the ideal. Lossless, lightweight, and storage space efficient.

So I started doing some research looking to see whether anything “git-like” was available as a back-end plugin. I was looking specifically at mongoDB capabilities at first and pretty much found that building my own methodology from scratch was what I’d have to do to get everything I want.

Then I found this article from 2016 describing a way to create a no-SQL database with git itself. https://www.kenneth-truyers.net/2016/10/13/git-nosql-database/

Thinking this through it seems very doable and interesting, and I’d get to use git directly which comes with familiarity on my part, a huge amount of documentation and utilities, and a buttload of features. That being said, I am wondering about the scalability of this method.

If I went with this route, then I was asked to deploy to a multi-server cluster with active-active capabilities would there be any way to do that? I could simply setup a master repository and sync all nodes with git pull before accessing the on-demand content rollback features; or setup a hook based sync between server nodes (something like what’s outlined here https://blog.tinned-software.net/git-repository-cluster-setup/).

However, I’m not sure if I’m trying to make something work in a way that it really shouldn’t be and I should just sigh, make peace with my lot, and start building the roll-back system from scratch.

Any advice or thoughts would be appreciated.

Facebook Ads gets rejected – Web Applications Stack Exchange

I have a web shop, for sports wear. I have fb page as well. But, whenever I try to advertise, for example, grid photo of few shoes, and recently just a link to a web site (web shop in shopify), I get following error:

Error message from Facebook: This ad isn’t running because it promotes content that is against Advertising Policies.Our policies are in place to keep users safe and foster a positive global community. (https://www.facebook.com/policies/ads)

Does anyone have a clue what can be a problem?

I read those policies, and found nothing wrong.

xorg – Incorrect behavior in X11 applications when using factional scaling

Fractional scaling is really a good solution for my 29 inches 4K monitor. The sweet point is 1.5. The icons, text ratio is correct and everything runs fine, only PDF previews on my desktops are broken, and I can live that way. This solution is far better than text font change and other setup that did not work on multiple monitors (because fractional scaling can be set-up per screen) and I use this monitor also with my laptop.
The problem is that some applications seems to scale reversely, including some games, Citrix, xman, Unigine Benchmarks…

If I look at Nvidia X server settings, this is what I see:

NVidia X Server screen shot

My display appears as a virtual huge screen of 5120×2880. I should be 2K resolution for X applications to appear at correct size.
If I try to change panning and viewportin I only obtain strange behaviours, like huge desktop scrolling around or so.

Did someone already experienced, and found a solution. I’ve got the same issue on my laptop using AMD graphic card.

Can someone correct this bug ?


web applications – Email Confirmation links must be GET, but not safe

I’m going to restate the question, because I read your question differently than do the other current answers. Through what process can we, using GET requests only as safe operations, confirm that a behavior is desirable to the user? I base this reading of the question primarily on

Or is there a correct way to implement this so that we don’t violate HTTP standards.

I’m going to skip the question of whether it is appropriate to confirm via a GET operation and simply accept uncritically your analysis that it isn’t.

As you note, you can’t POST or PATCH from an email. An obvious answer would be to change email clients so that they incorporated the confirmation processing. But let’s assume that that is out of scope. You are not responsible for the user’s email client. Then the problem is that you want to make the state change with a POST or PATCH. How?

In the email, you put a GET link. The user clicks it. It opens a web page in a browser. That web page contains a form. Submitting that form POSTs to the server. The POST is not a safe operation but is not required to be. You have complied with a literal reading of the standard by breaking the process into two steps. Step one is possible from an email. Step two can change user state.

Note: it is quite possible that the advantages of a single step outweigh the advantages of following the literal standards. I.e. that an unsafe GET is better than a GET followed by a POST through a second click. I’m not trying to evaluate that. I’m just saying that it is in fact possible to adhere to the standard without compromise.

applications – How to fix my micro SD card that became a read-only memory card?

Since the Android external memory card has turned to read only (also known as SD card write-protected) all of a sudden, I can no longer add, write, or delete things from it.

How to fix the SD card that mounted as read only?

Is there an application to solve this problem?

In Windows 10, how can we find out which applications reserved TCP port ranges as shown by netsh?

Recently in my development machine some TCP ports started being unavailable for applications, giving the error 10013.

Searching the internet I think that this explanation here is the most likely: the ports were administratively excluded by some application(s), most likely being reserved for their own use.

Indeed I can see the ranges of excluded ports with the command

netsh int ipv4 show excludedportrange protocol=tcp

I can also try to delete some excluded ranges, but mostly netsh refuses to do so, showing errors “access denied” (even inside an administrative shell) or “element not found”.

So, now I would like to try another approach: find out which applications are excluding those TCP port ranges.

Although this is a corporate machine, it does not belong to a Windows domain (and indeed is in my house right now, as I’m working from home because of the pandemic).

So, that’s the question: how can I find which applications are reserving those TCP port ranges ?


Output from netsh just now:

$ netsh int ipv4 show excludedportrange tcp
Protocol tcp Port Exclusion Ranges      
Start Port    End Port                  
----------    --------                  
     20092       20191                  
     20192       20291                  
     20292       20391                  
     20392       20491                  
     20492       20591                  
     20592       20691                  
     20792       20891                  
     20892       20991                  
     20992       21091                  
     21092       21191                  
     21192       21291                  
     21292       21391                  
     21393       21492                  
     21493       21592                  
     21593       21692                  
     21693       21792                  
     21793       21892                  
     21893       21992                  
     22033       22132                  
     22133       22232                  
     22233       22332                  
     22637       22736                  
     22737       22836                  
     22837       22936                  
     22937       23036                  
     23037       23136                  
     23137       23236                  
     23237       23336                  
     23360       23459                  
     23460       23559                  
     23560       23659                  
     23660       23759                  

* - Administered port exclusions.       

applications – How can I enforce Google SafeSearch on Firefox/Chrome?

I’d like to enforce Google SafeSearch on Firefox/Chrome on Android.

Is there any way to do it? For example, if I enable it and then switch to Incognito/Private mode the setting will disappear.

For desktop, there are extensions which enforce safesearch for google. I’d like to have the same behavior on Android.