c # – Unexpected symbol & # 39; & # 39;

I am doing a C # script in Unity for a class, and I've tried to create an input function that prints something when I press the spacebar, but it keeps saying that the & # 39; {& # 39; in line 13 is an unexpected symbol.

Code:

with UnityEngine;
using System.Collections;

public class RocketScript: MonoBehaviour
{
void update () {
ProcessInputs ();
}
private void ProcessInputs ();
{
If (Input.GetKey (KeyCode.Space))
(13) {
Pressure ("testing");
}
}

}

In a "material-ui" stepper, the symbol is the best symbol to indicate that action is required

In our application we have an assistant to fill out a "form". It consists of several steps that can not be filled linearly.

Now, each step builds on the data from the previous step, so changing an earlier step (usually not, but some edge cases) will require later steps that were again "incomplete."
There is also the case that a step may simply contain invalid data. Or where the step is not yet stored on the server.

So that I can take a step with 6 different "states":

  • Not yet visited: greyed out symbol with step number
  • Currently visited: blue icon with step number
  • Completed and saved in the database: blue "checked" symbol
  • Bad data / server failed: exclamation point warning icon (red).
  • Incomplete data: gray icon with step number (??)
  • not yet saved data (waiting for feedback from the server or the user has not yet pressed the "Save" button): ????

Especially the last two that I'm wondering about are important because they require user interaction before exiting the wizard. However, if you use the same visual elements as a step that is simply "in the future", it is not conspicuous and ignorable. In particular, the last status (unsaved data) can be problematic.

I try to save data automatically, but there are steps if saving can only be done when the entire form is filled in and is not changed anymore. (Remember to make a list of names, with each name in the end having to be unique, but obviously not, saving is only possible if we're pretty sure the user will not type anymore.)

The example "Stepper" that I follow is perfectly visible on this website:

https://material-ui.com/demos/steppers/#horizontal-non-linear-error-step

However, I can completely change the icons (and colors will later be changed by someone else).

dnd 5e – How can I design a homebrew god and a sacred symbol?

One of my players plays a Blood Hunter from D & D beyond. He wants his character to be the Ghost Hunter-based subclass, and his background story is that he grew up in a family / group of ghost hunts, all of whom worshiped or watched one or two gods. I only draw a space if I want to design such a god and an associated sacred symbol.
How could a sacred symbol look like this?

php5 – "undefined symbol: mysqlnd_connect" error

I am building a VM to develop an existing PHP 5.6 application with Vagrant 2.1.2. My VM operating system is Ubuntu / Bionic64. This app requires, among other packages, the mysqli extension with mysqlnd, as described in the attached Vagrant file.

The problem I have is PHP reports in the error log when Apache2 is started, and I keep reporting this with every script I run.

[14-Jan-2019 21:48:24 UTC] PHP Warning: PHP Startup: Unable to load
dynamic library & # 39; /usr/lib/php/20131226/mysql.so' –
/usr/lib/php/20131226/mysql.so: undefined icon: mysqlnd_connect in
Unknown in line 0

[14-Jan-2019 21:48:24 UTC] PHP warning: PHP
Startup: Dynamic library can not be loaded
& # 39; /usr/lib/php/20131226/mysqli.so' – /usr/lib/php/20131226/mysqli.so:
undefined icon: mysqlnd_connect in Unknown on line 0

I have tried:

  • Check the INI files in the /etc/php/5.6/cli directory to make sure that mysqlnd has a lower priority (and is therefore loaded before mysql and mysqli)
  • Rename the mysqli.so file in the / usr / lib / php / 20131226 directory to ensure that mysqli is loaded last
  • Restart the Apache service between all the above

VAGRANTFILE

# - * - Mode: Ruby - * -
# vi: set ft = ruby:

VAGRANTFILE_API_VERSION = & # 39; 2 & # 39;
APP_NAME = & app;

@script = <<-SCRIPT

apt-get update && apt-get upgrade
apt-get install -y software-properties-common
add-apt-repository ppa:ondrej/php
apt-get update

#################### PHP 5.6 ####################
apt-get install -y apt-utils php5.6
a2dismod php7.0
a2dismod php7.2
a2enmod php5.6

#################### APACHE2 ####################
apt-get install -y apache2 libapache2-mod-php

# Add ServerName to httpd.conf
echo "ServerName localhost" > /etc/apache2/httpd.conf

# Host file setup
VHOST = $ (cat << EOF

    ServerAdmin webmaster @ localhost
DocumentRoot / home / # {APP_NAME} / public_html
ServerName localhost
ErrorLog $ {APACHE_LOG_DIR} /error.log
CustomLog $ {APACHE_LOG_DIR} /access.log combined
    
        Option Indices FollowSymLinks MultiViews Contains ExecCGI
AllowOverride All
Requires all warranty
    




EOF
)
echo "$ {VHOST}"> /etc/apache2/sites-enabled/000-default.conf

# Enable mod_rewrite
rewrite a2enmod

# Put PHP in the development configuration
mv /etc/php/5.6/apache2/php.ini/etc/php/5.6/apache2/php.ini.back
cp /usr/lib/php/5.6/php.ini-entwicklung/etc/php/5.6/apache2/php.ini

# Customize the php.ini file
sed -i's / upload_max_filesize = 2M / upload_max_filesize = 100M / & # 39; /etc/php/5.6/apache2/php.ini

# Enable PHP extensions in php.ini
### sed -i & # 39; s /; extension = php_curl.dll / extension = curl.so / & # 39; /etc/php/5.6/apache2/php.ini
sed -i's /; extension = php_mysql.dll / extension = mysql.so / & # 39; /etc/php/5.6/apache2/php.ini
sed -i's /; extension = php_mysqli.dll / extension = mysqli.so / & # 39; /etc/php/5.6/apache2/php.ini

# PHP logs errors here
sed -i's:; error_log = php_errors.log: error_log = / home / # {APP_NAME} / public_html / log / error_log: & # 39; /etc/php/5.6/apache2/php.ini

PHP extensions #########################################
apt-get install -y php5.6-mysql php5.6-mysql php5.6-bz2 php5.6-cli php5.6-curl php5.6-intl php5.6-json php5.6-mbstring php5.6 opcache php5.6-soap php5.6-sqlite3 php5.6-xml php5.6-zip extract php5.6-gd

# Restart Apache
Restart apache2.service

#################### MYSQL #####################
apt-get install -y mysql-server mysql-client-core-5.7

systemctl start mysql.service

# Reset root password
# / usr / bin / mysqladmin -u root password & # 39; root & # 39;
mysqladmin -u root password & # 39; root & # 39;

# Set up the database from the root user and set up the application user
mysql -uroot -proot -e "CREATED DATABASE IF NOT EXISTS APP"
mysql -uroot -proot-app </ home / # {APP_NAME} /public_html/db/schema.sql
mysql -uroot -proot app </ home / # {APP_NAME} /public_html/db/seed.sql
mysql -uroot -proot -e "SELECT ALL PRIVILEGES ON *. * for 'vagrant' # localhost 'IDENTIFIED BY' ***** # 39;
mysql -uroot -proot -e "SELECT ALL PRIVILEGES ON *. * for & # 39; vagrant & # 39; @ & # 39; IDENTIFIED BY & # 39; ***** & # 39;
mysql -uroot -proot -e "FLUSH PRIVILEGES"

# Allow remote connections to MySQL (do not do that in production)
MYSQLCONF = $ (cat <> /etc/mysql/my.cnf

# Restart Mysql
Restart /etc/init.d/mysql

SCRIPT

Vagrant.configure (VAGRANTFILE_API_VERSION) do | config |
config.vm.box = & # 39; ubuntu / bionic64 & # 39;
config.ssh.insert_key = false
config.vm.network "forwarded_port", guest: 80, host: 8080
config.vm.network "forwarded_port", guest: 443, host: 8081
config.vm.network "forwarded_port", guest: 3306, host: 3307

# We do not want Vagrant to pick the root directory
config.vm.synced_folder ".", "/ vagrant", disabled: true
config.vm.synced_folder ".", "/ home / # {APP_NAME} / public_html"

# Commission only runs on the first command "Vagrant up"
config.vm.provision & # 39; shell & # 39 ;, privileged: true, inline: @script

config.vm.provider "virtualbox" do | vb |
vb.anpassen ["modifyvm", :id, "--memory", "2048"]
        vb.anpassen ['modifyvm', :id, "--natdnshostresolver1", "on"]
        #vb.adjust ["modifyvm", :id, "--name", "domain.com"]
    The End
The End

Category Theory – Meaning of the index of a multiplication symbol in a Cartesian product

I just started reading about category theory.

More precisely, nLab, opposite category. I try to understand the expression:
$$
circ_ {C ^ {op}}
:
C _ { mathrm {mor}} ^ {op} {} _ {s ^ {op}} times_ {t ^ {op}} C _ { mathrm {mor}} ^ {op}
=
C _ { mathrm {mor}} {} _ {t} times_ {s} C _ { mathrm {mor}}
stackrel { simeq} { to}
C _ { mathrm {mor}} {} _ {s} times_ {t} C _ { mathrm {mor}}
stackrel { circ} { to}
C _ { mathrm {mor}}
,,
$$

Are the indices of $ times $ something that can be explained within the theoretical Cartesian product, or something that is closely linked to category theory (it seems close to the word) withdrawIn the first case, I would be grateful for a brief explanation, in the second case, I wait for it.

Info visualization – How can the negation be represented in a symbol (NOT)?

How to display a negation on an icon? Let me explain …

For example, suppose you have a ToDo list application with a filter bar (to search and filter the tasks to be displayed in the list), and the filter bar has a status selector.

Enter the image description here

The status filter can have one of these values

"SHOW ALL THE TASKS THAT ARE":

  1. All status tasks (regardless of status)
  2. Unstarted tasks
  3. NOT unfinished tasks (everything except unfinished tasks)
  4. Tasks in progress
  5. Tasks not in progress (everything except tasks in progress)
  6. Complete tasks
  7. Incomplete Tasks (Everything but Completed Tasks)

For the negations, I used a red color for the symbol. The icons I used for this are the following:

Enter the image description here – All status
Enter the image description here – Not started tasks
Enter the image description here – NOT unfinished tasks
Enter the image description here – Tasks in progress
Enter the image description here – No running tasks
Enter the image description here – Complete tasks
Enter the image description here – DO NOT complete tasks

You see, the red negation color makes it hard to recognize and, in my opinion, does NOT REALLY indicate intuitively a negation. One would have to say that it means negation.

Is there a clearer and more intuitive way to represent a negation in a filter symbol?

Plotting – Tracing the existing curve with star symbol

b1 = {1.8743,1.8784,1.88248,1.89049,1.89828,1.90587,1.91327,1.96335,2.03035,2.12536,2.23701,2.30098,2.34255,2.37175,2.3934,2.42334,2.44307,2.48725,2.51208,2.5173,2.52799,2.53164,2.53348,2.53533 2,53625,2,53745,2,53793,2,53894,2,53909,2,53543};
ks1 = {0.01, 1, 2, 4, 6, 8, 10, 25, 50, 100, 200, 300, 400, 500, 600, 800, 1000, 2000, 4000, 5000, 10000, 15000, 20000, 30,000, 40,000, 70,000, 100,000, 1 * 10 ^ 6,1. * 10 ^ 8,1. * 10 ^ 12};
data1 = Transpose[{ks1, b1}];
s1 = ListLogLinearPlot[data1, Joined -> True, 
  PlotStyle -> {Black, Thickness[0.01]}, AxesStyle -> Black,
PlotRange -> All]

How do you put a star symbol on the same drawing that follows the curve? I know we can do this with the plot marker, but I want the track to be tracked equally from start to finish. With my data points, I do not get the tracking right. How do you achieve this?