All Questions

1
answer

Space Invaders AI Shooter UNITY3D

I have a question about the Spaces Invaders AI: If you see below in the images of the game, the invaders at the time of shooting, shoot the closest to the player in the form of a grid That is to say: they will always start shooting the f...
asked on 20.01.2016 / 02:11
1
answer

Why does the entity _ah_SESSION weigh so much and space is not released?

I'm working with Google App Engine and Google Datastore and the Objectify library and everything is fine, but I've noticed that the entity _ah_SESSION is increasing too much and occupies more than 90% of the total size of my entitie...
asked on 07.01.2016 / 18:52
2
answers

closure inside a loop

I have the following code, I do not understand the result var funcs = []; for (var i = 0; i < 3; i++) { funcs[i] = function() { console.log("el valor: " + i); }; } for (var j = 0; j < 3; j++) { fun...
asked on 30.12.2016 / 05:19
2
answers

Modal with Bootstrap calls link in PHP from MySQL

Good morning, I wanted to consult the following: When generating a modal with Bootstrap and calling from the database, it generates the modal , but even though there is a lot of data, it always shows me the first one it takes....
asked on 07.01.2016 / 03:07
1
answer

problems with 'cat' in bash

I have a problem what I want is to use a cat to gather hundreds of files that I have in different folders that are for days, which in turn has sub-folders. The next line of code that what you have to do is put all the files that start...
asked on 02.02.2016 / 19:37
1
answer

Amazon EC2 error IOError Input / Output every 6 or 12 Hours

When I put my project in Amazon EC2, I happened to interact with my application in a moment the error of errno 5 input/output error django I found this ticket reported In my console it appeared to me that my server required to re...
asked on 06.01.2016 / 21:48
4
answers

How to know which mouse button was pressed

I want to know when a mouse button is pressed on the button , which was the pressed, if the left, right, or middle. The problem is that for the right click I get the typical menu. Nor does it detect if I press the middle one. How to detect...
asked on 20.07.2017 / 18:12
1
answer

Display a list of elements from a view to a modal in jquery

Suppose I have a list of elements in a view: <% Dim valor As New List(Of Integer) For i As Integer = 0 To 5%> <%valor.Add(i)%> <% Next%> I send them to a modal using data in this way: <a href="#" data-toggle="moda...
asked on 11.01.2016 / 15:52
1
answer

Find complete words in a string that may or may not be surrounded by "_"

I'm passing two lists for a class DictionaryMaker() . This will generate a match between words of the item of one list with the item of the other, in order to declare each item as a key and value. The class and the method work for me, b...
asked on 28.06.2017 / 16:54
2
answers

Slow query PHP MySQL

I have a problem of slowness when making a query to the bd, it is from a friend's website and I do not have much idea of php but the section that makes the query is the following code. function get($id_usuario=false){ global $wpdb;...
asked on 05.06.2017 / 17:14