PETICIONES AJAX BLOQUEAN EL ARCHIVO DE CONTROL

Tengo una duda sobre unas peticiones AJAX que estoy haciendo, tengo una web de votos, resulta que debes dar clic en el botón 1 o botón 2, al dar clic aparecen otros dos botones con información diferente para seguir votando de la misma manera. Cuando ya he votado unas 13 o 14 veces, por consola me muestra el error de la imagen que pondré más abajo, como si ya no existiese el archivo de control. Mi duda es, ¿Qué puedo hacer para solventar este problema o existe algún método para controlar estas peticiones? Enserio les agradezco mucho la ayuda. =)

[!] ERROR SCREENSHOT

error img


[!] REQUEST CODE

function SendVote(idNum1, idNum2, idNum3){         idNum1 = encodeURIComponent(idNum1.trim());         idNum2 = encodeURIComponent(idNum2.trim());         idNum3 = encodeURIComponent(idNum3.trim());         // Comprobar existen         if (idNum1 != '' && idNum2 != '' && idNum3 != '' && idNum1 != idNum2 && idNum1 == idNum3 || idNum2 == idNum3) {              $  .ajax({                 url: 'controlar/control.php', //IMG URL IN BLUE.                 type: 'POST',                 data: 'idNum1='+idNum1+'&idNum2='+idNum2+'&idNum3='+idNum3+'&accion=Votar',                 beforeSend: function(){                     DisbleVotes();                 }             }).done(function(resp){                 var quiteb = JSON.parse(resp);                 var status = quiteb.status;                 if (status == 'error') {                     var mensaje = quiteb.mensaje;                     console.log(mensaje);                 } else {                     LoadVotes();                     EnableVotes();                 }             });         } } 

Recalibrate volume control

I’m using an external USB soundcard in Kubuntu and the volume control is almost non-existent.

Running alsamixer, anything up to 34 is just dead-silence, 35 is too soft and 36 is loud, 37 and up is simply too loud that it would probably damage my headphones and ears.

Is there a way to re-calibrate the volume control so that 0-100 covers the 34-36 range?

I’m on Kubuntu 19.04

enter image description here

How to get Active Window Control to show settings/menu bar?

I am having trouble finding the setting on how to allow the file menu to show up within Active Window Control when a window is set to full screen.

I already have BorderlessMaximizedWindows=true in my KDE config file now I am trying to get the file menu to show up in the top panel instead of the current open window. Thank you!

enter image description here

How to solve the ambiguity of selected state in a segmented control with just two segments?

I’m working on a web application that has two similar data grids in a page. User should be able to switch between these two data grids within the same page.

I have used segmented buttons to navigate between these two grids. But I feel this component visually becomes a toggle, and the current state of the toggle becomes ambiguous.

As of now I’m solely relying on the color / hue to show the selected state but I feel it’s kinda unclear which state is selected.

Is there a better approach to solve this problem?

Segmented buttons circled in red enter image description here

Do steeds summoned with Find Greater Steed have other options than the usual control rules during mounted combat?

During mounted combat, I understand there are two possible options:

  1. You can control your mount, in which case your mount cannot make an attack, or
  2. You can opt to leave it independent (and controlled by the DM) in which case it can attack, but may do things you don’t expect.

The text of find greater steed contains this excerpt:

Your steed serves you as a mount, both in combat and out, and you have an instinctive bond with it that allows you to fight as a seamless unit.

Does this phrase imply that there is some special way to control the steed beyond the above two normal options for mounts? Are steeds summoned in this way special in regards to the control rules, or is that just flavor text? It seems to me that an independent mount which can take actions that I cannot predict is not fighting as a seamless unit with me. Am I misunderstanding something?

The question here certainly provides an answer, but it’s not satisfying since it assumes that the mount has to use one of the two above options and does not consider that there may be alternatives.

How to build a terrain control build

General Overview:

So I’m looking to make a build designed to prevent enemies for moving freely on the battlefield, making difficult terrain, creating walls, denying line of sight, that kind off stuff. Do you have any suggestions.

A few extra notes:

  • no mind control
  • our gm does not allow immunities
  • alignment restrictions apply so no classes that require evil alignments
  • no race locked classes
  • our team is currently at level 7 so consider that if it would make a difference
  • I’m specifically looking for battlefield control through movement denial so no debuff centric builds

Unable to edit subpages with Full Control permissions

I am the owner of a site in which I have created sub-pages. I receive an error message with my correct user ID when I try to Edit the pages. I verified, multiple times, I have Full Control permission. I tried using the Designer and Style Resource Readers groups without success. Why is this happening and how can if be fixed?

Problema de registro y control de acceso a una página de formulario

Hola: Haber si me podéis ayudar. Tengo una web de un Club en donde los socios deben de entrar a consultar o editar un formulario, y quiero que todo aquel que habiendo hecho logging previamente y entre en dicho formulario, (aunque solo lo habrá) se quede grabada en una tabla de la base de datos quien ha entrado, la fecha y hora correspondiente. Hasta aquí es fácil, pues me hace un insert en la base de datos de quien ha sido y cuando. El problema es que me registra el mismo usuario varias veces (3 o 4 veces), en intervalos entre 0,6 a 1 microsegundos. ¿A que puede ser debido y que podría hacer para evitarlo?. Gracias de antemano. Utilizo wordpress última versión. En el host me dicen que no puede hacer nada.

¿Que puede estar mal ?(Programación de estructuras de control)

La forma más fácil es con do-while sin embargo quise intentarlo de otra forma aunque fuera más difícil. (Es un simple juego que pide al usuario que adivine los números). Nota: Probablemente tenga que estudiar estructuras de control para entender el flujo del programa ya que en su momento quería llegar rápido a POO. Código: (Perdón por mi forma desorganizada de escribir código)¿Puede que las sentencias anidadas tengan algo que ver?

package Main.java; import java.util.Scanner; import javax.swing.JOptionPane;  public class Main {      public static void main(String args[]) {          Scanner scanner = new Scanner(System.in);          int aleatorio =(int)(Math.random()*100);/*Ya usé int aleatorio = (1*100) para comprobar y solo funciona el     primer has ganado*/          System.out.println("Digite un numero del 1 al 100");         int D = scanner.nextInt();          if(aleatorio==D) {              System.out.println("Has Ganado");         }             while(aleatorio<D) {              System.out.println("Más alto:");             int c = scanner.nextInt();//Falta llenar esta parte               if(aleatorio==c) {                  System.out.println("Has Ganado");             }              while(aleatorio>D) {                  System.out.println("Más Bajo:");                 int B = scanner.nextInt();                  if(aleatorio==B) {                      System.out.println("Has Ganado");                 }             }         }     } }