Is there any effect if I canceled a site move in Google search console and reconfigured it again?

I have used the move tool in google console to move from site A to site B
But I didn’t get any effect for 6 months!

Also, this notification does not appear at the top of the property!although it appears in the search console settings.

enter image description here

  • Do you think If I decided to remove the property then add it again Will it affect the previous move process?
  • Is the move tool is mandatory or it’s enough to use 301 direction!
  • What’s your advice for a site had moved for 6 months and there’s not affect in search although the redirect is configured properly!

The old URL: https://blog.devoworxnet
The new URL: https://spgeeks.devoworx.com

website – How to manually update coverage stats on google search console

enter image description here

Google search console analytics for the coverage hasn’t been updated for 4 days now, and I was wondering if it was possible to manually update the coverage every day. Or set it to update every day.

enter image description here

Today is 7/10/20 so 4 days later and it still isn’t updating. It used to update every day or every other day, but now it is taking a much longer time.

Is there a way to make the coverage statistics to update every day?

SSMS / SQL-Server delays console output (RAISEERROR WITH NOWAIT)

It is well known, that SSMS (or maybe the SQL Server, but I’d guess more the SSMS) delays PRINT messages until several lines (40) are gathered in the buffer, before they are really printed to the message window in SSMS (exception: something else is printed out, e.g. the number of rows affected by an UPDATE or the batch is done).

So I usually use RAISEERROR(<text>, 0, 0) WITH NOWAIT to print it out immeadiately. This works well for the first 500 rows, after this SSMS seems to start to buffer them again (50 lines, starting at 1000 lines the buffer seems to increase to 1000).

Does anybody knows, how I can prevent this “buffer feature” (e.g. if I manually run the statistic updates by using Ola Hallengreens maintenance solution, I’d prefer to know, what it really does at the moment without having to use sp_whoisactive etc.).

PS: You can simulate this behavior by using the following “script”

DECLARE @i INT = 0

WHILE @i < 10000
BEGIN
    SET @i += 1
    RAISERROR('Step %i', 0, 0, @i) WITH NOWAIT
    --PRINT @i
    WAITFOR DELAY '00:00:01.0' -- wait 1 second, feel free to decrease
END

Simple Console Chat in Java

I have rewritten my little chat application and tried to pay attention to former hints and tips. The viewer and the writer have to run as seperate applications. the Writer.class basically stores messages as property files. The directory, where the files get stored, is watched by the Viewer.class and gets scanned every 0.5 seconds. What do you think about my program? Is there something that I can improve?

Viewer.java

import java.util.Arrays;
import java.util.List;
import java.util.ArrayList;
import java.util.Date;
import java.util.Properties;
import java.io.File;
import java.io.BufferedInputStream;
import java.io.FileInputStream;
import java.io.IOException;

public class Viewer {
    public static void main(String() args) {
        Viewer viewer = new Viewer();
        viewer.view();
    }
    
    // contains all messages within two sub-dirs
    private File saveDir;
    // contains messages that have to be displayed
    private File currentDir;
    // contains messages that don't have to be displayed
    private File archiveDir;
    // determines the maximal amount of messages in the current directory
    private int currentMessagesCount;
    // last message read into program
    private File lastMessage;
    
    public Viewer() {
        // initialize members from file named config
        try (BufferedInputStream stream = new BufferedInputStream(new FileInputStream("config"))) {
            Properties config = new Properties();
            config.load(stream);
            currentMessagesCount = Integer.parseInt(config.getProperty("current_messages_count"));
            saveDir = new File(config.getProperty("save_dir"));
        } catch (IOException e) {
            e.printStackTrace();
        }
        
        currentDir = new File(saveDir, "current");
        archiveDir = new File(saveDir, "archive");
        lastMessage = new File("no last message");
        
        // create save directories if don't exist
        if (!saveDir.exists()) {
            saveDir.mkdir();
        }
        if (!currentDir.exists()) {
            currentDir.mkdir();
        }
        if (!archiveDir.exists()) {
            archiveDir.mkdir();
        }
        
        File() messages = currentDir.listFiles();
        Arrays.sort(messages);
    }
    
    public void view() {
        printAllMessages();
        while (true) {
            try {
                Thread.sleep(500);
            } catch (InterruptedException e) {
                e.printStackTrace();
            }
            printNewMessage();
            checkLimit();
        }
    }
    
    // prints all messages immediately
    private void printAllMessages() {
        File() messages = currentDir.listFiles();
        
        if (messages.length == 0) {
            return;
        }
        
        Arrays.sort(messages);
        for (int i = 0; i < messages.length; i++) {
            printMessage(messages(i));
        }
        
        lastMessage = messages(messages.length - 1);
    }
    
    // prints newest if there is a more recent than last read message
    private void printNewMessage() {
        File() messages = currentDir.listFiles();
        Arrays.sort(messages);
        
        if (messages.length == 0) {
            return;
        }
        
        // add all new messages to a list and print it out reversively
        List<File> newMessages = new ArrayList<>();
        for (int i = messages.length - 1; i >= 0 ; i--) {
            if (!messages(i).toString().equals(lastMessage.toString())) {
                newMessages.add(messages(i));
            } else {
                break;
            }
        }
        
        while (newMessages.size() > 0) {
            File currentMessage = newMessages.get(newMessages.size() - 1);
            
            printMessage(currentMessage);
            newMessages.remove(currentMessage);
            lastMessage = currentMessage;
        }
        
    }
    
    private void printMessage(File file) {
        try (BufferedInputStream stream = new BufferedInputStream(new FileInputStream(file))) {
            Properties currentMessage = new Properties();
            currentMessage.load(stream);
            System.out.println(currentMessage.getProperty("date") + " (" + currentMessage.getProperty("nickname") + ")");
            System.out.println(currentMessage.getProperty("content") + "n");
        } catch (IOException e) {
            e.printStackTrace();
        }       
    }
    
    // checks if there are too much messages in currentDir
    private void checkLimit() {
        File() messages = currentDir.listFiles();
        Arrays.sort(messages);
        int numOfSuperfluousMessages = messages.length - currentMessagesCount;
        if (numOfSuperfluousMessages > 0) {
            for (int i = 0; i < numOfSuperfluousMessages; i++) {
                messages(i).renameTo(new File(archiveDir, messages(i).getName()));
            }
        }
    }
}

Writer.java

import java.util.Scanner;
import java.io.BufferedInputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileWriter;
import java.io.BufferedWriter;
import java.io.IOException;
import java.util.Calendar;
import java.util.Date;
import java.util.Properties;

public class Writer {
    public static void main(String() args) {
        System.out.print("Your nickname: ");
        String nickname = scanner.nextLine();
        
        Writer writer = new Writer(nickname);
        writer.chat();
    }
    
    private static Scanner scanner = new Scanner(System.in);
    private String nickname;
    // directory in which messages get stored
    // initialized by file named config
    private File currentDir;
    
    public Writer(String nickname) {
        this.nickname = nickname;
        try (BufferedInputStream stream = new BufferedInputStream(new FileInputStream("config"))) {
            Properties config = new Properties();
            config.load(stream);
            currentDir = new File(config.getProperty("save_dir"), "current");
        } catch (IOException e) {
            e.printStackTrace();
        }
        
        // create current dir if not exists
        if (!currentDir.exists()) {
            currentDir.mkdirs();
        }
    }
    
    public void chat() {
        while (true) {
            System.out.print(nickname + " > ");
            String newContent = scanner.nextLine();
            long millis_bygone = new Date().getTime();
            
            File newMessage = new File(currentDir, new Long(millis_bygone).toString());
            
            // create file
            try {
                newMessage.createNewFile();
            } catch (IOException e) {
                e.printStackTrace();
            }
            
            // store message to file in currentDir
            try (BufferedWriter br = new BufferedWriter(new FileWriter(newMessage))) {
                br.write("nickname: " + nickname + "n");
                
                // create date string
                Calendar cal = Calendar.getInstance();
                StringBuilder dateString = new StringBuilder();
                dateString.append(cal.get(Calendar.DAY_OF_MONTH) + "." + (cal.get(Calendar.MONTH) + 1) + "." + cal.get(Calendar.YEAR) + " ");
                dateString.append(cal.get(Calendar.HOUR_OF_DAY) + ":" + cal.get(Calendar.MINUTE));
                br.write("date: " + dateString + "n");
                
                br.write("content: " + newContent + "n");
            } catch (IOException e) {
                e.printStackTrace();
            }
        }
    }
}

security – Get the source of an output in the console

When I plug my phone into my computer, I can see the console output in Android Studio.
I recently noticed that whenever I start entering a password in a field designated for passwords (the ones that display ‘*’ for any character) the phone prints a very concerning message to the console:

D/HwAutofillHelper: inputType is password, now record

Since it is a Honor Phone, I suppose Hw is short for Huawei?

Nevertheless I’d like to know if there is a way to find out what process produced this output and what app it belongs to?

game – I made basketball program using Java that runs on console

I made a simple console basketball game using Java.

/*
 * Java Basketball
 * by Clint
 * 2020.07.08 | 3:59AM
 * This Java program let's the player play basketball in console.
 */
 
import java.util.Random;
import java.util.Scanner;

public class Basketball {

    static String() shoot = {"1 POINT!", "2 POINTS!", "3 POINTS!", "MISSED!"};
    static String player;
    
    public static void main(String() args) {
        System.out.println("WELCOME TO JAVA CONSOLE BASKETBALLn" +
                "how to play:n" +
                "press "s" or type "shoot" to shoot the basketball.n");
                
        while (true) {
            shootBall();
        }
    }

    public static void shootBall() {
        Random random = new Random();
        Scanner scanner = new Scanner(System.in);
        
        int shot = random.nextInt(shoot.length);
        System.out.print("SHOOT: ");
        player = scanner.nextLine();
        
        switch (player) {
            case "s", "S", "shoot", "Shoot", "SHOOT" -> System.out.println(shoot(shot) + "n");
            default -> System.out.println("SHOOT THE BALL PROPERLY.n");
        }
    }
}

ps: ik that there’s while (true) in my code, but it’s the thing that I know so far that keeps the programme running. I’m open for suggestions on how to improve my coding.

Stage Tec presents — AVATUS — a new mixing console concept!

With the new AVATUS software release 1.12 Stage Tec introduces an innovative two user operation function:
– Simultaneous operation of AVATUS with two sound engineers
– Possibility of linking two control rooms to each other

.

googlebot – Google search console consider 404 urls as crawl anomaly category and not 404 not found category

I’ve got a site which we have mention as 404 not found for a few particular pages so that google can consider and push it to Excluded Not found (404) category, but still, google is considering those pages as crawl anomaly category. Please find the screenshot below.

enter image description here

enter image description here

command line – Invoke Bash console from windows subsytem for linux (Windos

I’m working on a 2D airfoil optimization throught Openfoam (which is installed on ubuntu 18.04 LTS by windows subsystem for linux), I already generated all the required folders and files and I just want to invoke throught a script (which will be called from cmd/shell) the bash console (located on the wsl$) and give it multiple commands . It is necessary to use the script to invoke the bash console as the with the multiple commands too, because I’m programming on matlab and just it is capable to invoke cmd/shell and give several commands throught such script. does anyone have any idea?

best regards.

c# – Chamar function pelo console do navegador

Boa noite , utilizo um site que estou no momento automatizando com o selenium c# e em determinadas horas preciso que uma função seja chamada mas não sei como chamar uma função que existe nos arquivos do site terceiro. Tem possibilidade de chamar via console uma function ?