Unity development build not connecting to profiler

Thanks for contributing an answer to Game Development Stack Exchange!

  • Please be sure to answer the question. Provide details and share your research!

But avoid

  • Asking for help, clarification, or responding to other answers.
  • Making statements based on opinion; back them up with references or personal experience.

Use MathJax to format equations. MathJax reference.

To learn more, see our tips on writing great answers.

air travel – What do I need to know to make my connecting flight? First time with a layover

Assuming your flights were booked as a single itinerary, you will not need to go back through security nor pick up any checked luggage in Denver. When your first flight lands:

  1. Get off the plane, taking your carry-on luggage with you (note 1)

  2. Look for a monitor displaying departing flights

  3. Find your second flight and note its gate number

  4. Go to that gate and wait until it is time to board. (note 2)

You should be given boarding passes for both flights when you check in in PDX (or online). If something happens and you lose your second boarding pass, it can be reprinted at the departure gate of your DEN-BNA flight.

If your flights were not booked as a single itinerary, things get more complicated, but I won’t go into that unless you confirm it’s the case.

Note 1: If your PDX-DEN flight was on a smaller regional aircraft, some of your carry-on luggage may have been “valet checked” or “gate checked” at the departure gate in Portland. If so, you need to pick it up in the jetway as you exit the plane in Denver, and take it with you to your next flight.

Note 2: DEN has three gate areas, A, B and C; every gate number includes the area letter (e.g. A31, B17). Most likely your DEN-BNA flight will depart from the same gate area where the PDX-DEN flight arrived, in which case you only need to walk east or west along the concourse in the appropriate direction until you find the gate. If you should need to go to a different gate area, they are connected by an underground train, which can be reached by going to the center of the concourse and taking an escalator or elevator down.

Registration Form connecting to MySQL with JAVA

I’m new to JAVA, and trying to build a login and registration form which connected to MySQL local database. I’ve searched many instructions to connect my JAVA to MySQL, but it ends up with error. I think I have some problem with actionEvent() and actionPerformed(ActionEvent e) methods. Can someone help me to solve my problem? Here is my coding.

package login_register_form;

import java.awt.Color;
import java.awt.EventQueue;
import java.awt.Font;
import java.awt.Image;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.sql.*;

import javax.swing.ImageIcon;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JPasswordField;
import javax.swing.JTextField;
import javax.swing.JOptionPane;
import javax.swing.JButton;
import javax.swing.JComboBox;

public class RegisterPage implements ActionListener{

// frame
JFrame frame;
// Options of position input
String() position = {"Admin", "Manager", "Assistant"};
// inputs
JTextField firstName = new JTextField();
JTextField lastName = new JTextField();
JTextField userName = new JTextField();
JTextField email = new JTextField();
JPasswordField password = new JPasswordField();
JPasswordField confirmPW = new JPasswordField();
JComboBox positionComboBox = new JComboBox(position);
// labels
JLabel firstnameLabel = new JLabel("First Name");
JLabel lastnameLabel = new JLabel("Last Name");
JLabel usernameLabel = new JLabel("User Name");
JLabel passwordLabel = new JLabel("Password");
JLabel confirmPWLabel = new JLabel("Re-Password");
JLabel emailLabel = new JLabel("Email");
JLabel positionLabel = new JLabel("Position");
JLabel returnLoginLabel = new JLabel("Return to Login Page");
// buttons
JButton registerButton = new JButton("Register");
JButton cancelButton  = new JButton("Cancel");

 * Launch the application.
public static void main(String() args) {
    EventQueue.invokeLater(new Runnable() {
        public void run() {
            try {
                RegisterPage window = new RegisterPage();
            } catch (Exception e) {

 * Create the application. Calling methods from constructor
public RegisterPage() {

 * Create a main window
public void createWindow() {
    frame = new JFrame();
    frame.setTitle("Registration Page");
    frame.setBounds(100, 100, 1113, 806);

 * Initialize the contents of the frame.
private void initialize() {
    // panel: orange colored background
    JPanel panel = new JPanel();
    panel.setBackground(new Color(255,165,0,200));
    panel.setBounds(300, 150, 500, 472);
    // label: scaled background 
    JLabel background = new JLabel("");
    background.setBounds(6, 6, 1100, 772);
    ImageIcon icon = new ImageIcon(this.getClass().getResource("/background.jpg"));
    Image img = icon.getImage();
    Image imgScale = img.getScaledInstance(background.getWidth(), background.getHeight(), Image.SCALE_SMOOTH);
    ImageIcon scaledIcon = new ImageIcon(imgScale);
    // title: "Register Page"
    JLabel registerPage = new JLabel("Register Page");
    registerPage.setFont(new Font("Lucida Grande", Font.BOLD, 19));
    registerPage.setBounds(182, 40, 135, 29);
    // input: first name        
    firstName.setBounds(145, 76, 210, 32);
    // input: last name
    lastName.setBounds(145, 120, 210, 32);
    // input: user name
    userName.setBounds(145, 164, 210, 32);
    // input: password
    password.setBounds(145, 208, 210, 32);
    // input: confirm password
    confirmPW.setBounds(145, 252, 210, 32);
    // input: emailLabel
    email.setBounds(145, 296, 210, 32);
    // input: position
    positionComboBox.setBounds(145, 340, 210, 32);
    // label: first name
    firstnameLabel.setBounds(36, 84, 85, 16);
    // label: last name
    lastnameLabel.setBounds(36, 128, 85, 16);
    // label: user name
    usernameLabel.setBounds(36, 172, 85, 16);
    // label: password
    passwordLabel.setBounds(36, 216, 85, 16);
    // label: re-password
    confirmPWLabel.setBounds(36, 260, 85, 16);
    // label: emailLabel
    emailLabel.setBounds(36, 304, 85, 16);
    // label: position
    positionLabel.setBounds(36, 347, 101, 16);
    // Label: create a new account
    returnLoginLabel.setBounds(182, 450, 138, 16);
    returnLoginLabel.addMouseListener(new MouseAdapter() {
            public void mouseClicked(MouseEvent e) {
                new LoginPage();
    // button: cancel
    cancelButton.setBounds(109, 400, 117, 40);
    // button: register
    registerButton.setBounds(275, 400, 117, 40);
public void actionEvent() {
    // Adding action listener to buttons

public void actionPerformed(ActionEvent e) {
    if (e.getSource() == registerButton) {
        try {
            //Creating Connection Object
            Connection connection = DriverManager.getConnection("jdbc:mysql://localhost:3306/myDatabase","root", "root");
            //Prepared Statement
            PreparedStatement Pstatement = connection.prepareStatement("insert into user values(?,?,?,?,?,?,?)");
            // Specifying the values of it's parameter
            Pstatement.setString(1, firstName.getText());
            Pstatement.setString(2, lastName.getText());
            Pstatement.setString(3, userName.getText());
            Pstatement.setString(4, password.getText());
            Pstatement.setString(5, confirmPW.getText());
            Pstatement.setString(6, email.getText());
            Pstatement.setString(7, positionComboBox.getSelectedItem().toString());
            //Checking for the password match
            if (password.getText().equals(confirmPW.getText())) {
                // Executing query
                JOptionPane.showMessageDialog(null, "Data Registered Successfully");
                // go back to login page if registered successfully
                new LoginPage();
            else {
                JOptionPane.showMessageDialog(null, "Password did not match");
                // Clearing confirm password fields
        } catch (Exception ex) {
    if (e.getSource() == cancelButton) {
        // Clearing Fields


drac – Connecting to remote console on Dell iDRAC on R815 fails

iDRAC uses RC4 which is now considered insecure.

It is disabled in:


Remove RC4 from:

jdk.tls.disabledAlgorithms=SSLv3, RC4, DES, MD5withRSA, DH keySize < 1024, 
    EC keySize < 224, 3DES_EDE_CBC, anon, NULL

And then it works.

domains – Connecting Google App Engine App with my subdomain

Our website is hosted with loopia at mydomain.com, but we also have a webapp running on Google App Engine which we would like to run on subdomain.mydomain.com.

We also have a couple of other subdomains running, but those are simply referred to via the IP address.

I have followed the steps at https://cloud.google.com/appengine/docs/standard/python/mapping-custom-domains#dns_update. The Domain Mappings consist of four A, four AAAA and one CNAME records.

When I try to add all of them to mydomain.com (the documentation isn’t clear if this should be the domain or subdomain), I get an error saying there are colliding records. When I try to add them to subdomain.mydomain.com, I’m able to add either the A’s and AAAA’s or the CNAME, but not both, or I’ll get a colliding record error again.

In both cases, subdomain.mydomain.com just displays a Google backed 404 error, while myapp.appspot.com is working without problems.

This is very similar to this question, except that we’re not using Google as our registrar.

How do I properly set up the DNS records so that the subdomain points to my webapp?

PHP not connecting to my database on Linux?

I use mariadb as my database and phpmyadmin to access on databases web on Linux. Although I am able to connect to the database on the commandline as root but cannot check connection to the database with PHP? I am unsure if there’s something I’m missing out?


        $host = 'localhost';
        $user = root';
        $password = '';
        $db = 'testdb';


        if ($dbconnect->connect_error) {
                die("Database connection failed.");



What my web page displays:

“connect_error) { die(“Database connection failed: ” . $dbconnect->connect_error); } ?> “

What I’ve tried:

  • Changing to bind-address
  • Allowing the port 3306 through

Still the same display.

uk – Connecting flight got cancelled after first leg of journey. Am I entitled to a full refund?

I booked via kiwi.com a one-way ticket from Nanning to London. When I bought the ticket, I also bought travel insurance from the agency as well.The flights were:

Nanning -> Shanghai (Spring airlines)

Shanghai -> Hong Kong (Hong Kong Airlines)

Hong Kong -> London (Cathay Pacific)

After flying the first leg, I was told that the flight from Shanghai to HK wasn’t available at the airport. In the end I bought a new ticket at the airport to London. This was around 2 weeks ago and I’ve since contacted the travel agency and insurance company (AXA).

The travel agency has an automated refunds system which says it will contact each carrier separately to obtain refunds and will take up to 3 months. It also mentions I could end up with nothing refunded and I will not be entitled to any further refunds once I apply. I contacted the UK branch of AXA (the travel agency links to the Czech branch of AXA) and filed a claim with them. I’m wondering if I should just issue a chargeback from my credit card company for the booking or should I wait for the my claim to be processed? If the claim fails then what would I be entitled to, if anything?


amazon web services – My AWS VPN setup results in no traffic working when connecting

I crossposted this to stackoverflow here https://stackoverflow.com/questions/62585272/my-aws-vpn-setup-results-in-no-traffic-working-when-connecting in the hope of finding a solution…

I have created a VPN to our VPC but when I connect to it from my machine, nothing works – neither Internet, nor can I reach VPN-internal endpoints.

I added public dns-servers and split-tunnel=enabled to the configuration.

The VPN is set to

`Client IPv4 CIDR`

An association has been added (line from AWS console):

cvpn-assoc-<id>     subnet-<id>    cvpn-endpoint-<id>      Associated     sg-<id>

There are two authorization rules (one allowing everything until I get it working)

The route table looks like this (was automatically added via the assoc):

cvpn-endpoint-<id> subnet-<id>  Nat      associate     Active      Default Route

This RT is the only thing which looks odd. In the VPC, the subnet has a definition of – but the automatic association sets it to But there’s actually no way to set it to in the routing table, doing so results in an error about the range being invalid.

I also tried creating the VPC with a client IP CIDR of but then it errored saying it must at least be /22.

usb connection mode – Android doesn’t ask USB usage when connecting to Windows, works on Linux

Just out of the blue, my phone suddenly stopped asking permission to access storage. It worked yesterday. When I connect the phone with the same cable to Linux PC it works but Windows keeps telling USB device not recognized and I don’t get a popup in Android asking for USB permission. There is also nothing in the notifications on Android.

I tried to disable always ask but it still won’t show up. How can I make my phone always answering as a mass storage?

Connecting Calendar to Another Application

Using SharePoint 2013 and SharePoint 2019 is there a way to connect a calendar to HR application that collects dates of events and important notices. Here is the scenario. I want to pull the dates from the HR application of events and put them in a SharePoint calendar. Is there a way to do this? I was thinking of using a Page Viewer web part. Thank you for any help.