unity – How is Handles.DrawSelectionFrame supposed to be used?

The Handles class has a function Handles.DrawSelectionFrame(). Here’s the useless official documentation for this function:

Draw a camera facing selection frame.

When I call this function, nothing is displayed. Other handles seem to work fine.

    void OnDrawGizmos() { //results are same in OnSceneGUI in an Editor
        Handles.color = Color.red;
        Handles.DrawLine(transform.position, transform.position + Vector3.up * 100)); //shows up
        Handles.Label(transform.position, "Hello World"); //shows up
        int i = -1;
        //is the size in world units? pixels? the documentation doesn't say
        for (float size = .5f; size  < 1000; size  *= 2) {
            //nothing shows up
            Handles.DrawSelectionFrame(i, transform.position, Quaternion.identity, size, EventType.MouseMove);

How is this function supposed to be used?

Is modal content killing my SEO? [closed]

I recently published an app on Outpan. Users seem to love my app as they have rated it highly and spend an average of 9 minutes on it. However, I’m not ranking on Google at all for any keywords that relate to my app. Could it be that this is caused by Outpan hiding my app description in a modal?

my app:


united kingdom – Applying for UK Tier 4 (passport expiration)

I am applying for a UK Tier 4 visa that ends September 2021 but my passport expires in May 2021. Can I apply and renew my passport while I am in the UK?

I read that to enter the UK, my passport has to be valid throughout the stay. But the gov.uk website also says:

You can use the valid visa in your expired passport when you’re
travelling to and from the UK. You’ll need to travel with your expired
and your new passport.

Does this mean they will grant me the visa beyond my passport’s expiry date?


c# – ¿Cómo evitar el mensaje Bad Request Too Long en una aplicación web?

Estoy desarrollando una aplicación web en asp.net c# ,con ayuda de Entity Framework para registrar y actualizar datos,me he topado con el siguiente problema:

Al utilizar el método de actualización por más de 10 veces consecutivas,es decir actualizar los datos de diversos registros me aparece el siguiente mensaje:

introducir la descripción de la imagen aquí

el código que utilizo para actualizar es el siguiente,me ha funcionado sin problemas:

protected void Actualizar(int id){
     tblpersonas actualizar = ctx.tblpersonas.Where(x => x.id== id).FirstOrDefault();
      actualizar.nombre= txtnombre.text,
      actualizar.domicilio= txtdomicilio.text,

En el Web Config

<httpRuntime targetFramework="4.5.2" maxRequestLength="2097151" />

El problema solo aparece al actualizar datos.
Lo soluciono temporalmente borrando el historial del navegador Google Chrome, pero más tarde vuelve a generarse.
¿Alguna sugerencia para solucionarlo?

installing – Cant install Drupal 9.0.2 with php 7.3

i wanna install Drupal 9.0.2 . I use Apache2 and PHP 7.3.2.
Im getting this Error on my website:

Your PHP installation is too old. Drupal requires at least PHP 7.3.0. See the system requirements page for more information.

php -v
PHP 7.3.20-1+ubuntu18.04.1+deb.sury.org+1 (cli) (built: Jul 9 2020 16:34:09) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.20, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.3.20-1+ubuntu18.04.1+deb.sury.org+1, Copyright (c) 1999-2018, by Zend Technologies

Thanks in advance.

ag.algebraic geometry – Open covers by ind-affine ind-schemes

Many apologies if this is totally standard! I couldn’t find it in the literature.

Background definitions:

  • A presheaf $X: textbf{Aff}^text{op} to textbf{Set}$ is an ind-scheme if it is a filtered colimit of schemes, where we regard a scheme as a presheaf via the Yoneda embedding (and then restrict to affine schemes), and the colimit is taken in the category $text{Psh}(textbf{Aff})$ of presheaves (i.e. the colimit is taken “pointwise”). One can impose the condition that all of the transition maps are closed immersions, and then call the result a strict ind-scheme.

  • Let’s say that $X$ is an ind-affine ind-scheme if it is a filtered colimit of affine schemes. (Side question: Is this the right terminology? It seems there are several distinct notions with this name in the literature.)


  • It is well known that a presheaf $X in text{Psh}(textbf{Aff})$ is represented by a scheme if and only if it satisfies the following two conditions: 1) $X$ is a Zariski sheaf and, 2) There is a covering of $X$ by open affine subfunctors.

  • Every ind-scheme is a Zariski sheaf (in fact satisfies the sheaf condition for the fpqc topology).

  • The affine Grassmannian (which is an ind-scheme) admits an open cover by ind-affine ind-schemes. See, e.g. the extremely helpful paper by Timo Richarz “Basics on Affine Grassmannians”.


Is there a similar characterization for (strict or otherwise) ind-schemes? I.e. is something like the following true: a presheaf $X$ is an ind-scheme if and only if 1) $X$ is a Zariski sheaf and, 2) $X$ admits a covering by open subfunctors which are ind-affine ind-schemes? Is it at least sufficient? If not, is there a name for the presheaves that satisfy this property?

Not able to install perticular software in windows

I want to install TableauPublic on my Laptop, but store pop up show to get on store or update the store.

I have updated the store.
And the same time not getting Get Button to come out of S MODE.

I have reset store by wsreset command prompt, Signed out and signed in again and again but nothing worked.

In the Window Activation page not getting the option to switch the window version also.

pc and window specifications are in the attached images
enter image description here

enter image description here

enter image description here

enter image description here

enter image description here

python – Simple image editor using PyGame

I have recently build a simple image editor in python. There is nothing specific that I am dissatisfied about regarding this code. I am just asking for general criticism to help me improve

import pygame
import random
import time

x = input("Do you want to edit an image?")

if  x == "yes":
    image_url = input("please enter image url")
    image = pygame.image.load(image_url) 
    i_edit = True

    i_edit = False


red = (255,0,0)
orange = (255,165,0)
yellow = (255,255,0)
green = (0,255,0)
blue = (0,0,215)
indigo = (75,0,130)
violet = (128,0,128)
black = (0, 0, 0)
white = (255,255,255)

gameDisplay = pygame.display.set_mode((900, 900))
clock = pygame.time.Clock()

color = white

crashed = False
buttpressed = 0
rightkeypressed = False
radius = 10

background_colour = (0,0,0)

if i_edit:
    gameDisplay.blit(image, (0, 0))

while not crashed:

    if radius < 5:
        radius = 5
    for event in pygame.event.get():
        if event.type == pygame.QUIT:
            crashed = True

        pygame.display.set_caption("Your Pen Size is {0}".format(radius))

        if event.type == pygame.KEYDOWN and rightkeypressed is True:
            if event.unicode == 'n':
                background_colour = black
            if event.unicode == 'w':
                background_colour = white
            if event.unicode == 'r':
                background_colour = red
            if event.unicode == 'o':
                background_colour = orange
            if event.unicode == 'y':
                background_colour = yellow
            if event.unicode == 'g':
                background_colour = green
            if event.unicode == 'b':
                background_colour = blue
            if event.unicode == 'i':
                background_colour = indigo
            if event.unicode == 'p':
                background_colour = violet
            if event.unicode == 'e':
                color = background_colour
            if event.unicode == 'q':
                gameDisplay.blit(image, (0, 0))

        if event.type == pygame.MOUSEBUTTONDOWN:
            if event.button == 3:
                rightkeypressed = True

        if event.type == pygame.MOUSEBUTTONUP:
            if event.button == 3:
                rightkeypressed = False
        if event.type == pygame.KEYDOWN:
            if event.unicode == 'n':
                color = black
            if event.unicode == 'w':
                color = white
            if event.unicode == 'r':
                color = red
            if event.unicode == 'o':
                color = orange
            if event.unicode == 'y':
                color = yellow
            if event.unicode == 'g':
                color = green
            if event.unicode == 'b':
                color = blue
            if event.unicode == 'i':
                color = indigo
            if event.unicode == 'p':
                color = violet
            if event.unicode == 'e':
                color = background_colour
            if event.unicode == '=':
                radius += 5
            if event.unicode == '-':
                radius -= 5

        if event.type == pygame.MOUSEBUTTONDOWN:
            buttpressed += 1

        if event.type == pygame.MOUSEMOTION and (buttpressed%2) != 0:
            pygame.draw.circle(gameDisplay, color, pygame.mouse.get_pos(), radius)


Can I make the Shopping Cart step “mandatory” before going to Checkout (Magento 1.9)?

We have created a Coupon Code for free shipping, and our cart widget displays two buttons (links):

  • one goes to the Shopping Cart screen (where people can enter the Cupon Code)
  • the other goes to the One Page Checkout (where people cannot do it)

We’d like to make the Shopping Cart step mandatory, we thought about removing the Checkout links, but we want to make sure we have some setting / way to make it a mandatory step anyways.

Thanks for your help,

Rails [parametros] não funciona no terminal

Instalada a versão 2.3.8 do ruby onde já haviam outras versões regidas pelo RVM, o rails parou de funcionar.
Já pesquisei e achei algo que fala de exclusão de scripts/rails mas mesmo subistituindo não funciona.
Alguma luz?