builds – “app not installed” error on installing rebuild recompiled resigned after editing modifying app manifest through Apk editor?

How to solve “app not installed” error on installing rebuild recompiled resigned after editing modifying app manifest through Apk editor for changing Android storage location?

I was trying to edit manifest installLocation=”preferExternal” I tried with to modify apk manifest of installed app through apk editor app from apk editor apps comman edit option menu it worked successfully with many apps it recompiled rebuild and resigned and then I unistalled installed and moved the app it worked great and made unmovable apps movable

But some of the user apps apk mainfest edited changed builded signed properly but after uninstalling and reinstalling recompiled rebuilds resigned apps again it gave error “app not.installed ” out of 10 apps I edited modified it didn’t worked for 3 apps but 7 it worked installed perfectly.

I saw some video on YouTube they resigned the file recompiled rebuild file by all editor with zip signer app or apksigner app I tried with Both but still same error

Is there any other parameters to be changed in manifest to resolve the problem.Or its not possible to rebuild edit with some other apps.

Is there alternative apps like apk editor which modifies edits apk mainfest and auto decompile compile builds signs automatically .

Any solution suggestion advice for solving the problem

object oriented – Java hangman rebuild OOP

I want to organize this code in OOP java program, what can i do for this please, have you got an advice please.

Class LePendu :

public class LePendu {

public static int NB_ERREURS_MAX=10;
static ArrayList<Character> playerGuess = new ArrayList<Character>();
static ArrayList <String> wrongGuess = new ArrayList<String>();
static ArrayList <String> playerWord = new ArrayList<String>();
static String penduDessin ()() = new String(10)(10);

Le Main :

public static void main(String args()) throws FileNotFoundException {
        Scanner sc = new Scanner (new File("C:/Users/admin/pendu.txt"));
        Scanner charP = new Scanner (;
        while(sc.hasNext()) {

Intitialisation Hangman :

Wordchoice :
Random motAleatoire = new Random(); String word = playerWord.get(motAleatoire.nextInt(playerWord.size()));

Loop for the game :

int chance = 0;
            while(true) {
                if (chance>word.length()) {
                displayWord(word, playerGuess);
                if (!getPlayerChar(charP, word, playerGuess)) {
                    chance ++;
                if(displayWord(word, playerGuess)) {
                System.out.println("Tentez votre chance pour le mot");
                if(charP.nextLine().equals(word)) {
                } else {
                    System.out.println("Mot incorrect, veuillez réessayer");

Méthode getPlayerChar :

private static boolean getPlayerChar(Scanner charP, String word, ArrayList<Character> playerGuess) {
    System.out.println("Entrez une lettre svp");        
    String charPlayer = charP.nextLine();
    return word.contains(charPlayer);

Méthode displayWord :

private static boolean displayWord(String word, ArrayList<Character> playerGuess) {
    int count = 0;
    // TODO Auto-generated method stub
    for (int i = 0;i<word.length();i++) {
        if(playerGuess.contains(word.charAt(i))) {
        else {
    return (word.length() == count);

Draw Hangman Methode :

public static void penduEntier()
        // Loop through the entire 2D array to display Hangman image
        for (int row = 0; row < 10; row++)
            for (int column = 0; column < 10; column++)

Tableau 2D Hangman :

public static void drawPendu(int chance)
    // The hangman will be erected from bottom to top, that is first gallos
    // base will be made and then step by step hangman will be generated.       
        // we do not need add break in the cases because when players misses
        // word after 8 chances then complete image of hangman is created.
        case 8:
            // Create legs of man
            penduDessin(6)(6) = "/";
            penduDessin(7)(5) = "/";
            penduDessin(6)(8) = "\";
            penduDessin(7)(9) = "\";
        case 6:
            // Create hands of man
            penduDessin(4)(6) = "/";
            penduDessin(5)(5) = "/";
            penduDessin(4)(8) = "\";
            penduDessin(5)(9) = "\";
        case 5:
            // Create tummy of man
            for(int i = 3; i <= 5; i++)             
                penduDessin(i)(7) = "|";
        case 4:
            // Create eyes and nose of man
            penduDessin(2)(6) = "*";
            penduDessin(2)(7) = "!";
            penduDessin(2)(8) = "*";
        case 3:             
            // Create face of man
            penduDessin(2)(5) = "(";
            penduDessin(2)(9) = ")";                
        case 2:             
            // Create gallos
            for(int i = 3; i <= 7; i++)             
                penduDessin(0)(i) = "#";
            penduDessin(1)(7) = "#";
        case 1:
            // Create gallos 
            for(int i = 0; i <= 9; i++)             
                penduDessin(i)(3) = "|";            
        case 0:
            // Create base of gallos
            for(int i = 0; i <= 8; i++)             
                penduDessin(8)(i) = "_";            

Initialize the hangman with space :

public static void initialize2dArray()
    // Initialize the 2d array with blank spaces before printing the 
    // actual image of hangman.
    for (int row = 0; row < 10; row++)
        for (int column = 0; column < 10; column++)
            penduDessin(row)(column) = " ";


Thx for your help

index – Rebuild indexes makes switch partitions useless (SQL Server)

I have a big table containing multiple indicators per ticker. The table is partitioned by indicator. Each indicator has nearly 50 million rows and currently there are about 30 indicators and they will become more in the future.

In order to update indicators I use switch partitions. Instead of delete I insert the filtered data in new table. Then I make the necessary calculations and insert them in that same table. I rebuild indexes (the same as in the main partitioned table) and finally I switch partition so that the updated indicator is back in the main table.

Rebuilding the index though takes so much time that the saved time from deleting and calculation into the main table is pointless.

I am not a pro in sql I also do not have permissions to modify the database structure in any way. Basically I am looking for solution linked to either faster index rebuild or some advice (sources to read too) on what could be the best architecture of a table in which I insert values, and sometimes use current values to calculate new ones and insert them back. On top of that we talk about table with size 30 * 40 million rows.

install – Big Sur 11.3 : rebuild the index of all installed Macport packages

Following a lot of error messages when I wanted to install a Macport package on my new MacOS book pro Big Sur 11.3, and having no problem on another MacBook with Big Sur 11.3 also, I decided to do a “raw” copy of the directory /opt/local from the working MacBook to the first one with which I have problems.

Now, I would like to rebuild an index of all Macport packages copied on the new MacBook.

Indeed, if I want to install a Macport package, I get :

sudo port search listofitems
Error: Current platform "darwin 20" does not match expected platform "darwin 19"
Error: If you upgraded your OS, please follow the migration instructions:
OS platform mismatch
    while executing
"mportinit ui_options global_options global_variations"
Error: /opt/local/bin/port: Failed to initialize MacPorts, OS platform mismatch

Have I to copy an index file from the working Macport installation of other MacBook on the new one ? I didn’t find such a file.

As you can see above in the error messages, there seems to be a problem of platform :

Error: Current platform "darwin 20" does not match expected platform "darwin 19"

Please, if someone could help me to rebuild the new packages installed, rather copied in a raw way, but I hope this is possible to get this current index file.

Any help would be fine.

dnd 4e – How to handle when a player wants to frequently rebuild her existing character?

I’m a DM. One of my players like to frequently reimagine/develop her character in D&D 4th edition as follows:

  • Change the ability scores (swap them) between levels to better optimize the character to a specific style of play.
  • Change many feats, powers at once. Some feats are good only, while other feats are also present. Moreover, some feats are more useful to certain skills or powers. Thus, the urge for her to change half a dozen of things is strong all the time. She says: “I realized that I should have taken feat X. I want to change Y to X. But if I do, I have to change V to G, D to R, and so on… That would be perfect!”
  • Transform the character to a hybrid class. In one campaign, she is a level 5 Rogue, but in the next level, she wants to be a level 6 Rouge with many new Wizzard powers at once.

Most of the above modifications may drastically change a character and how other players view them.

The problem only appears to me while I want to match the game mechanics to the fiction. Let me provide the two far-end cases:

Solution A: While the level 5 Rogue has an extended rest in a forest, the next day, she wakes up as level 6 Rouge, having also had 2 new Wizzard spells created out of thin air. Game mechanics may allow this, but the fiction obviously bleeds out. Some Wizards may study years to develop spells. Sorcerers & Mages may bear with spells, but Wizards don’t as far as I know. In case my knowledge in this matter is false, then this case simply can rephrased as: “some abilities may require years to practice and learn”.

Solution Z: While the level 5 Rouge has an extended rest in a forest, she can take a Wizzard multi-class feat. As a DM, I allow that only if she overtakes 20 years of study in a Wizzard school immediately.

In case we are playing a campaign, both A and Z may break the game.

  • Sub-Q1: Where is the golden line?
  • Sub-Q2: How should I handle said player to keep fiction and game mechanics in balance?

Rebuild cache (varnish/redis) after clearing?

I have my shops set up with Varnish and Redis, that all works great. It’s fast, responsive. But after clearing the caches (i.e. after updating repositories and what not), every first load of every page is slow. The second time I open that page, it’s lightning fast again.

Of course, this is because the cache has been updated after visiting that page. Is it possible to rebuild the cache for all pages on my shop, without manually clicking every product or relying on visitors to open all the pages?

I’m thinking maybe something as a crawler that requests every page in the sitemap or something. I can’t seem to find anything about this online. Does anyone have any ideas?

dnd 5e – Is this Human Rebuild balanced?

I gave this a quick check with Detect Balance, which usually gives a good estimation for these things.

Based on what you have, it’d probably be listed as “decently balanced, maybe a little weak”.

You get pretty good ability scores (worth at least 18 points, probably 1 or 2 more for getting to pick all of them) and an extra 5 points for the bonus skills. That puts you at 23 points. Then you can add Jack of All Trades as a 1-point ribbon, and you end up at 24-26 points. 25 is on par with many solid, but not overly powerful, PHB options for races.

So in terms of power I’d say this is fine. However, I do think that this is

A) very bland, because most of your power just comes from ability increases and skills, which aren’t that interesting

B) stepping on the toes of the Half-Elf, by mostly copying what they do

C) has only one unique ability, which is very underwhelming. What makes Jack of all Trades fun on a Bard is that they get to use it all the time. Having 2 uses per day is just… meh.

As such, I’d be very unlikely to play it, just because it doesn’t bring anything interesting to the table over just being a regular Human or regular Variant Human.

while a Feat is easy to abuse, it also gives your average Human something cool that the rest of the party can’t replicate. This one? Not so much.

If I wanted to play a rebuilt Human based on the idea of flexibility, I’d rather have something cool that really showcases it to show for it, and the idea of “picks up special training 3 levels early” does it better imho.

Online rebuild consuming lot of log space

why the online rebuild on a primary key clustered index in taking almost equal to the space of non clustered index size which is untouched.


  • We have a table with primary key clustered index (bigint type) of
    index size 7GB.
  • We have another non-clustered filtered index on same table (varchar(36) type) of index size nearly 1.5TB.
  • Online rebuild on primary key clustered index is consuming almost 1.6TB of transaction log size.
    Options used for rebuild – (DATA_COMPRESSION = PAGE, ONLINE = ON, SORT_IN_TEMPDB = ON)
  • Another observation, the previous index was created without compression, not sure if that is what causing such a huge growth.
  • Could someone please shed some internals about it?

sql server – Schedule suggestion and index rebuild / database integrity progress for Ola Hallengren’s Maintenance Script

I have to configure Ola Hallengren’s Maintenance Scripts for my SQL Server 2017. SQL Database size about total 400GB.Total 10 Dbs. But I have some questions.

1- I will use these schedules like below. What is the best practices for this ? or What do you recommended?

DatabaseBackup – SYSTEM_DATABASES – FULL job – Daily at 12:05AM
DatabaseIntegrityCheck – SYSTEM_DATABASES job – Daily at 12:10AM
IndexOptimize – USER_DATABASES job – Daily at 1:00AM

2- How can I check the progress / status when index optimize and databasSee integrity job ?

Kind Regards,