❕NEWS – Michaël van de Poppe: Correction can continue | NewProxyLists

The famous analyst warns investors that the Bitcoin correction may continue, advising them to be careful.
—- “Still not over? I don’t think it’s over yet because we’ve continued to see corrective moves recently. Historically, March has not been a good time for cryptocurrencies or the markets. That’s why I don’t believe it’s over. ” —-
What do you think of this analysis?

reference request – How did the story of Kim-Vu type inequalities continue?

I am interested in the concentration of polynomials of random variables. I have been reading Boucheron, Lugosi, and Massart’s “Concentration inequalities” and they give some references. However, it is a 2013 book, so there naturally isn’t anything that came after that.

Specifically, I am interested in the low-expectation regime: I have a constant-degree polynomial of Bernoulli variables which are all heavily biased towards zero. Moreover, there may not be that many terms and I am trying to set the bias of the Bernoulli variables to be as small as possible while getting sufficient concentration. I am interested also in the lower tail, so things like Janson’s deletion method will not help (or will it?).

I have found “On the concentration of multivariate polynomials with small expectation” from the year 2000. Have there been some developments since then? Something tighter or easier to use? I would also be interested in other recent Kim-Vu type inequalities as they may have reference to what I need in the “related work” section.

How can I continue to run Flash for a specific website?

I’m using a somewhat antique embedded audio processing system. It has a web UI that uses Adobe Flash to present some important portions of the UI. Obviously, this is just a bit problematic now.

I can’t use any of the alternate Flash players like Ruffle or NewGrounds, because the Flash applet in the web UI uses Flash’s TCP socket support to communicate with the hardware, and that’s so rare that the alternates don’t implement it. Nor can I update the box’s firmware, because the manufacturer no longer supports it.

I hear rumors that there are browser versions and/or old Flash players somewhere that can still run Flash. Yes, it isn’t secure, but this solution would only be used for my one old box, and nobody’s installing rogue Flash applets on it.

Any ideas on what I could use? (I’m OK with either Windows, MacOS or Linux solutions.)

java – Did I use continue and break statements properly in these loops?

I had to write a TicTacToe game as an assignment for class & the last program I wrote used a few continues here and there. When I asked for a peer code-review I was informed that I should use additional variables rather than continue and break for my use-case. Did I make the same mistake in this code?

import java.util.HashMap;
import java.util.Scanner;

public class TicTacToe {

    public enum Box { 

        BAD_PLACEMENT(-2),
        X(-1), 
        EMPTY(0), 
        O(1),
        SOLVED(2),
        RESET_GAME(3);
        
        public int value;
        
        @Override
        public String toString() {
            return Integer.toString(value);
        }
        
        public String asString() {
            String rtn;
            switch(value) {
            case -1:
                rtn = "X";
                break;
            case 0:
                rtn = "-";
                break;
            case 1:
                rtn = "O";
                break;
            default:
                rtn = "Something has gone terribly wrong";
            }
            return rtn;
        }
        
        Box(int boxType){
            this.value = boxType;
        }
    }
    
    public static boolean isInteger(String s) {
        try { 
            Integer.parseInt(s); 
        } catch(NumberFormatException e) { 
            return false; 
        } catch(NullPointerException e) {
            return false;
        }
        // only got here if we didn't return false
        return true;
    }
    
    public static class Board {
        
        // The referee will handle computing tictactoe solves
        public class Referee {
            
            Board currentBoard;
            
            public Referee(Board b) {
                this.currentBoard = b;
            }
            
            public Board getBoard() {
                return this.currentBoard;
            }
            
            public Box checkSolveColumns() {
                for (int x=0; x <= 2; x++) {
                    
                    int currentSum = 0;
                    
                    for(int y=0; y <= 2; y++)
                        currentSum+=getBoard().getBox(x, y).value;
                        
                    if(currentSum == 3)
                        return Box.X;
                    if(currentSum == -3)
                        return Box.O;
                }
                return Box.EMPTY;
            }
            
            public Box checkSolveRows() {
                for (int y=0; y <= 2; y++) {
                    
                    int currentSum = 0;
                    
                    for(int x=0; x <= 2; x++)
                        currentSum+=getBoard().getBox(x, y).value;
                    if(currentSum == 3)
                        return Box.X;
                    if(currentSum == -3)
                        return Box.O;
                }
                return Box.EMPTY;
            }
            
            public Box checkSolveDiagonals() {
                
                int topLeftToBottomRightSum = 0;
                int topRightToBottomLeftSum = 0;
                                                                         //  0  1  2 
                topLeftToBottomRightSum+=getBoard().getBox(0, 0).value;// 0 (X)( )( )
                topLeftToBottomRightSum+=getBoard().getBox(1, 1).value;// 1 ( )(X)( )
                topLeftToBottomRightSum+=getBoard().getBox(2, 2).value;// 2 ( )( )(X)
                                                                         //  0  1  2 
                topRightToBottomLeftSum+=getBoard().getBox(2, 0).value;// 0 ( )( )(X)
                topRightToBottomLeftSum+=getBoard().getBox(1, 1).value;// 1 ( )(X)( )
                topRightToBottomLeftSum+=getBoard().getBox(0, 2).value;// 2 (X)( )( )

                if(topLeftToBottomRightSum == 3 || topRightToBottomLeftSum == 3)
                    return Box.X;
                if(topLeftToBottomRightSum == -3 || topRightToBottomLeftSum == -3)
                    return Box.O;
                
                return Box.EMPTY;
            }
            
            public Box checkSolve() {
                
                if(isFull())
                    return Box.SOLVED;
                
                // Observe this is "checked" not "check" > NAMING CONVENTIONS ROCK!!!
                Box checkedSolveRows = checkSolveRows();
                Box checkedSolveColumns = checkSolveColumns();
                Box checkedSolveDiagonals = checkSolveDiagonals();
                
                // return whatever guy won
                if(checkedSolveRows != Box.EMPTY) {
                    return checkedSolveRows;}
                if(checkedSolveColumns != Box.EMPTY) {
                    return checkedSolveColumns;}
                if(checkedSolveDiagonals != Box.EMPTY) {
                    return checkedSolveDiagonals;}
                
                // fall back to an empty return
            return Box.EMPTY;
            }
            
        }
        
        Referee referee;
        
        public Box boardInternal()();
        
        public Board() {
            this.referee = new Referee(this);
            this.boardInternal = new Box(3)(3);
            for(int x=0; x<=2; x++) {
                for(int y=0; y<=2; y++) {
                    this.boardInternal(x)(y) = Box.EMPTY; // initialize every slot with an empty box
                }
            }
            /* Ideally, this is our data structure for the boxes
             * 
             * (EMPTY)(EMPTY)(EMTPY)
             * (EMPTY)(EMPTY)(EMTPY)
             * (EMPTY)(EMPTY)(EMTPY)
             */
        }
        
        public Box getBox(int x, int y) {
            if(x > 2 || y > 2 || x < 0 || y < 0)
                return Box.BAD_PLACEMENT;
            
            return this.boardInternal(x)(y);
        }
        
        public boolean isFull() {
            // neat trick i picked up from lua to check a boolean in a return method
            for(int x=0; x<=2; x++) {
                for(int y=0; y<=2; y++) {
                    if(getBox(x, y)==Box.EMPTY)
                        return false;
                }
            }
            return true;
        }
        
        public void resetGame() {
            // Reset the board c:
            this.referee = new Referee(this);
            this.boardInternal = new Box(3)(3);
            for(int x=0; x<=2; x++) {
                for(int y=0; y<=2; y++) {
                    this.boardInternal(x)(y) = Box.EMPTY; // initialize every slot with an empty box
                }
            }
            System.out.println("*** Game reset ***");
            System.out.println("*** Welcome to TicTacToe! ***");
            System.out.println("*** Type RESET to restart! ***");
            System.out.println("*** Type QUIT to exit! ***");
        }
        
        public Box setBox(int x, int y, Box player) {
            
            if(this.referee.checkSolve() == Box.SOLVED || player==Box.RESET_GAME) { resetGame(); return Box.RESET_GAME;} // board is already solved
            
            Box currentBox = getBox(x, y); // get the current value of the box
            
            Box rtn = null;
            
            switch(currentBox) {
                case EMPTY: // if the box is empty, we fill it with the player requesting the area
                    this.boardInternal(x)(y) = player; // set the field
                    rtn = this.referee.checkSolve();
                    break; // break out of our switch
                case BAD_PLACEMENT:
                    System.out.println("That is a invalid placement option!");
                    rtn = Box.BAD_PLACEMENT;
                    break;
                default: // if the box is not EMPTY, we need to throw a invalid placement exception to notify the caller
                    System.out.println("That box is filled option!");
                    rtn = Box.BAD_PLACEMENT;
            }
        System.out.println(this.toString());
        return rtn;
        }
        
        public String toString() {
            StringBuilder boxResult = new StringBuilder(); // save the memories! (bad save the trees pun)
            
            boxResult.append(String.format("n   1  2  3nA (%s)(%s)(%s)nB (%s)(%s)(%s)nC (%s)(%s)(%s)n",
                    this.boardInternal(0)(0).asString(),
                    this.boardInternal(0)(1).asString(),
                    this.boardInternal(0)(2).asString(),
                    this.boardInternal(1)(0).asString(),
                    this.boardInternal(1)(1).asString(),
                    this.boardInternal(1)(2).asString(),
                    this.boardInternal(2)(0).asString(),
                    this.boardInternal(2)(1).asString(),
                    this.boardInternal(2)(2).asString()
                    ));
            
            return boxResult.toString();
        }
    }
    
    public static void main(String() args) {
        Scanner keyboard = new Scanner(System.in);
        Board ourBoard = new Board();
        
        HashMap<String, Box> Players = new HashMap<String, Box>();
        Players.put("Player1", Box.X);
        Players.put("Player2", Box.O);
        
        String currentPlayer = "Player1";
        
        System.out.println("*** Welcome to TicTacToe! ***");
        System.out.println("*** Type RESET to restart! ***");
        System.out.println("*** Type QUIT to exit! ***");
        System.out.println(ourBoard.toString());
        do {
            System.out.printf("Your move, %s: ",currentPlayer);
            String desiredInput = keyboard.next();
            
            Box inputResult = null;
            
            if(desiredInput.toLowerCase().equals("quit")) // quit the program immediately
                break;
            if(desiredInput.toLowerCase().equals("reset")) // reset the game
                inputResult = ourBoard.setBox(0, 0, Box.RESET_GAME);
            else if(desiredInput != null) {
                // we got an input let's see where we're going with this
                if(desiredInput.length() != 2) {
                    // wrong answer buddy
                    System.out.printf("Hey, %s! Please enter your format in the format of "LetterNumber". ex. A2%n%s is in the wrong format!%n",
                            currentPlayer,
                            desiredInput);
                    continue;
                } else {
                    // this is probably the correct format... let's check
                    char columnPicked = desiredInput.toLowerCase().charAt(0);
                    String rowPicked = desiredInput.split("")(1); // get the 2 characters input
                    
                    if(isInteger(rowPicked)) {
                        int decidedRow = Integer.parseInt(rowPicked);
                        decidedRow--;
                        switch(columnPicked) {
                        case 'a':
                            inputResult = ourBoard.setBox(0, decidedRow, Players.get(currentPlayer));
                            break;
                        case 'b':
                            inputResult = ourBoard.setBox(1, decidedRow, Players.get(currentPlayer));
                            break;
                        case 'c':
                            inputResult = ourBoard.setBox(2, decidedRow, Players.get(currentPlayer));
                            break;
                        default:
                            System.out.println("Could not decipher your column (A,B,C allowed.)");
                            continue;
                        }
                    } else {
                        System.out.println("Could not decipher your row (Only numbers allowed)");
                        continue;
                    }
                    
                }
            }
                
            // do a reset check here
            switch(inputResult) {
                case X:
                    System.out.println("Player 2 wins!"); // player2 win
                    currentPlayer = "Player1";
                    ourBoard.resetGame();
                    break;
                case O:
                    System.out.println("Player 1 wins!"); // player1 win
                    currentPlayer = "Player1";
                    ourBoard.resetGame();
                    break;
                case RESET_GAME:
                    System.out.printf("%n%s requested a reset for the previous game. Bad sport!%n", currentPlayer);
                    currentPlayer = "Player1";
                    break;
                case BAD_PLACEMENT:
                    // nothing to really handle here but we should catch every possible outcome
                    break;
                case SOLVED: // this doesn't mean solved, it's a draw
                    System.out.println("Draw game! Better luck next time!");
                    currentPlayer = "Player1";
                    ourBoard.resetGame();
                    break;
                case EMPTY:
                    // give each player a turn
                    if(currentPlayer.equals("Player1"))
                        currentPlayer = "Player2";
                    else
                        currentPlayer = "Player1";
                    break;
                default:
                    System.out.println("Something went wrong!");
                    System.out.println("RESULT: "+inputResult);
            }
            
        } while(true);
        
        keyboard.close();
    }

}
```

Configure advanced installer to ignore missed cab files and continue installation

I want to customize application installation and install some features based on existence of relevant cab file!

I want to use no custom feature selection dialog to show to user to select features!

How I can configure to install every cab file located next installer executable file without interrupting process due missed cab files! I am use Advanced Installer version 16.

website design – One click ‘select’ and ‘continue’

It’s best to make it clear what the user is doing, and to not surprise them with unexpected behavior (a page disappearing upon click is unexpected behavior). A next button lets them change their choice before confirming (without having to traverse back), and provides a cleaner architecture. Reducing clicks doesn’t usually affect a user’s satisfaction level.

However, if you can find another way of presenting the “next step” in a way that the user can still change their original choice, than that might also be an option. Maybe your form continues to expand downwards, or sideways. This gives the user an understanding of where they are in the form process, and provides pretty easy navigation back.

Edit: If this is a process you see your users using often on a daily basis, than maybe it’s worth the time saving trick, but I can’t imagine any purchases like that. On top of that, I feel like a user probably doesn’t want to rush through a purchase, and if they’re doing it often and regularly, you probably want to ensure that they’re not making a mistake before moving them on.

Edit 2: In the comments below Jimmy has also pointed out that having arrows in answers might imply multiple paths through the purchase wizard, which isn’t necessarily the case.

postgresql – Does pg_restore continue after internet connection got lost

I know a query runs until it returns data when connection to the client is lost. However, what if you use pg_restore. Does it upload the restore file and then does the restore on the server? Or does it restore step by step requiring the client to stay connected.

I want to know this because my employee uses a vpn that disconnects automatically after some time. And the restore takes longer that the timeout XD.

When the connection got lost I got the pg_restore: error: error returned by PQputCopyData: server closed the connection unexpectedly This probably means the server terminated abnormally before or while processing the request. error.

However on the server I can see the process is still up and running using SELECT * FROM pg_stat_activity;

How to continue Lego microgame tutorial?

I was passing Lego microgame tutorial. I closed it and quit Unity. Now, how can I continue it from the same place? If I opening it’s project, I am getting just silent Unity project, without any guidance.

usability – eCommerce -> Should I continue to show a digital course already purchased in category page?

I am developing an online course website based on WordPress.

Website has 30 courses in total.

Courses are divided into 5 categories (A, B, C, D, E).

There are 6 courses per category.

Each course also has a fixed price.

So once a user purchase a course,
user can only purchase it once because it`s a digital course.

In addition, course status can be either “not started”, “in progress” or “done”.

Therefore, users can access their “membership area” and
see courses divided into the following 3 sections based on user activity:

  • “Not started” section shows all courses that user did not start yet.
  • “In progress” section shows all courses that are in progress.
  • “Done” section shows all courses that user already completed.

Here is my question:

Once user purchase a course,
should I continue showing this course in categories page OR
should I remove this course from categories page?

For example,
Category A has 6 courses.
User just purchased 5 courses in this category.
Should category A page show all 6 courses with 5 of them tagged as “purchased” OR
should category A page show only 1 course, the course which user did not purchase yet?

macos – Any way to continue using Google Backup & Sync on an older MB Pro (mid-2009)?

I have an older (mid-2009, 13 inch) Macbook Pro (MacBookPro5,5) running Yosemite (10.10.5). Lately whenever I start up or shut down, a dialog pops up letting me know that Google Backup & Sync is no longer supported for older operating systems, and that I need to upgrade my OS to Sierra (10.12) or higher in order to continue using it. Unfortunately Sierra is not supported on this model laptop, so upgrading the OS is not an option.

Am I just out of luck? Is there any way to continue to use Backup & Sync on this computer, or will I have to find an alternative cloud sync solution (e.g. Dropbox)?

(Fine print: I am aware that there is a patch that supposedly makes it possible to install Sierra on this model MBP. I have tried installing Sierra using that patch, without success, so for now I seem to be stuck with Yosemite. If anybody knows another way to get this computer upgraded to 10.12 or higher I would appreciate that.)