air travel – Is a visa required for an Indian citizen to leave an Italian airport during layover?

If you would like to leave the transit area and pass the Schengen border (e.g. to visit the city), you will need a regular type C short-term Schengen visit visa.

You do not need an airport transit visa to transfer through an Italian airport as an Indian citizen (in any case, your valid US visa would exempt you from any Schengen airport transit visa requirement), as long as you stay in the international (non-Schengen) transit area of the airport.

An airport transit visa, even if applicable, does not allow you to leave the international transit area of the airport. You will not be permitted to enter the Schengen area without exceptional circumstances (e.g. cancelled flight).

An airport transit visa (ATV) authorises you to pass through the international transit
zone at an airport located on the territory of the Schengen State and to await a
connecting flight to a non-Schengen country. The ATV does not allow you to enter the
Schengen territory (to stay at a hotel or to take an onwards flight to another Schengen
State, for example).

https://ec.europa.eu/home-affairs/sites/default/files/what-we-do/policies/borders-and-visas/visa-policy/docs/frequently_asked_questions_en.pdf

air travel – Visa required to leave airport during layover?

You do not need an airport transit visa to transfer through an Italian airport as an Indian citizen (in any case, your valid US visa would exempt you from any Schengen airport transit visa requirement), as long as you stay in the international (non-Schengen) transit area of the airport.

If you would like to leave the transit area and pass the Schengen border, you will need a regular type C short-term Schengen visit visa.

An airport transit visa, even if applicable, does not allow you to leave the international transit area of the airport. You will not be permitted to enter the Schengen area without exceptional circumstances (e.g. cancelled flight).

An airport transit visa (ATV) authorises you to pass through the international transit
zone at an airport located on the territory of the Schengen State and to await a
connecting flight to a non-Schengen country. The ATV does not allow you to enter the
Schengen territory (to stay at a hotel or to take an onwards flight to another Schengen
State, for example).

https://ec.europa.eu/home-affairs/sites/default/files/what-we-do/policies/borders-and-visas/visa-policy/docs/frequently_asked_questions_en.pdf

configuración – Configurar gxmessage-3.4.3: Package ‘gobject-2.0’, required by ‘pango’, not found

Estoy tratando de configurar gxmessage-3.4.3, y le falta gobject-2.0.

configure: error: Package requirements (gtk+-3.0 >= 3.4.0) were not met:
Package ‘gobject-2.0’, required by ‘pango’, not found
Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix.
Alternatively, you may set the environment variables PACKAGE_CFLAGS and PACKAGE_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

Registro:

checking for a BSD-compatible install... /bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for library containing strerror... none required
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... /usr/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking whether NLS is requested... yes
checking for intltool >= 0.50.0... 0.51.0 found
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... (cached) /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for gmsgfmt... (cached) /usr/bin/msgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.34.0
checking for XML::Parser... ok
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for PACKAGE... no
configure: error: Package requirements (gtk+-3.0 >= 3.4.0) were not met:

Package 'gobject-2.0', required by 'pango', not found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables PACKAGE_CFLAGS
and PACKAGE_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

¿Cómo se soluciona esto?

.net – Is Output Neutralization required when logging C# exception messages to log files?

CWE-117 is the common weakness enumeration for improper output neutralization in logs. My company uses VeraCode to scan for security weaknesses. Veracode indicated that this code had a output neutralization weakness:

catch (Exception e)
{
    _logger.ErrorFormat(_loggerFormat, "An error occurred (while doing something redacted)", e.Message.ToString());
    result = SomeEnum.Exception
}

_logger is an ILogger and uses log4net.

I would argue that an Exception message is NOT untrusted data and therefore I don’t have to neutralize it to remove carriage returns and line feeds. I’m not display a string of user input, I’m showing a message from a caught exception.

What am I missing?

Missing required parameters recaptcha! captcha mageplaza

I’m having problems after configuring recaptcha, it generates the following warning "Recaptcha required parameters are missing!". Has anyone had this problem?

What is the depth of comparator circuit required in Gale Shapely?

Stable matching problem can be solved using comparator circuits (refer https://arxiv.org/abs/1208.2721).

What is the depth of the $CC$ circuit necessary? Is in $CC^1$ or in other words $O(log (n))$ depth comparator circuit?

magento2 – Apply composer patch from a required composer module

I wonder how and if it is possible to apply a patch or if there’s any other solution to modify the magento/framework from a required composer package.

Patch successfully applied.

The following patch is successfully applied when added to the project’s composer.json.

composer.json:

"extra": {
    "patches": {
      "magento/framework": {
        "Custom Patch": "https://urltopatch/patch.patch"
      }
    }
  },

Patch:

diff --git a/View/Layout/etc/elements.xsd b/View/Layout/etc/elements.xsd
index 17857c9ab06..516ba6d00cd 100644
--- a/View/Layout/etc/elements.xsd
+++ b/View/Layout/etc/elements.xsd
@@ -119,7 +119,7 @@
 
     <xs:simpleType name="htmlClassType">
         <xs:restriction base="xs:string">
-            <xs:pattern value="(a-zA-Z)(a-zA-Zd-_)*(s(a-zA-Z)(a-zA-Zd-_)*)*"/>
+            <xs:pattern value="(@a-zA-Z)(@a-zA-Zd-_)*(s(@a-zA-Z)(@a-zA-Zd-_)*)*"/>
         </xs:restriction>
     </xs:simpleType>

Patch doesn’t get applied.

However the patch doesn’t get applied when it’s configured in a required composer package such as below:

Project composer.json:

{
    "name": "maxserv/magento2-community-edition",
    "require": {
        "composer/composer": "@alpha",
        "magento/product-community-edition": "2.3.5-p2",
        "custom/magento-theme-framework"
    },
    "extra": {
        "magento-force": "override"
    }
}

Module’s composer.json:

{
  "name": "custom/magento-theme-framework",
  "require": {
    "magento/framework": "*",
    "cweagans/composer-patches": "^1.7"
  },
  "extra": {
    "patches": {
      "magento/framework": {
        "Custom Patch": "https://urltopatch/patch.patch"
      }
    }
  },
}

Question

Are there any solutions to modify the code of magento/framework from a submodule, so that the code automatically gets modified after installing a submodule?

mysql – database schema design for online program with questions required to answer

Background

There are 4 online programs(A, B, C, D) for users to attend.

Users are only allowed to attend one program at the same time.
They can attend other programs given that they have no ongoing program.

In the program, there are around 50 pages in each program and some pages require user to answer the question. For example, page 3 may have 3 multiple-choice questions, page 11 have 1 fill-in-the blank question

users need to answer some questions which may be multiple choice or fill-in the blank questions, which are opinion-based(no correct answer).
They can navigate to previous/next page for answering questions.

Also, I need to record the last page users visited so that they can come back anytime.

Database Schema Design

I’ve made a initial design for all tables I need.

User 
-userId(primary key)
-username
-password
...
Program
-programId(primary key)
-type (A/B/C/D)
-currentPage
-startDate
-endDate
Question
-questionId(primary key)
-type(multipleChoice/fillInTheBlank)
-questionText
Question-Answer
-Id(primary key)
-questionId(foreign key of Question table)
-answerText

Above Schema is all I can think of, I have no idea how to manage the relationship between above table.

Would Anyone provide some ideas to me?

WordPress/PHP/HTML/CSS — Expert Required

I require WordPress/PHP/HTML/CSS expert for quick tweaks on a WordPress website. My budget is $10 total for the tweaks. Contact in pm with your portfolio.

how to toggle “required/not required” custom customer attribute field?

Whether the field is invisible/optional/required in the forms should be configurable from the admin and enforced both client and server side.