All Questions

1
answer

Help with SQL to search for planes that have already done all the routes

Imagining that there are 3 planes (A, B, C) and 5 routes and the inserts (A-1; B-2,4,5; C-1,2,3,4,5), I want to select only the planes that have already made flights in all the routes, in this case the C (C-1,2,3,4,5). I have experimented in...
asked on 25.11.2015 / 21:36
1
answer

TempData Doubt C # with MVC

I know that TempData has its "life" held until it is used in View . However, if I do in two different controllers, the same identified TempData , I'm killing and over writing them. If the user is using 2 browser tabs, he ma...
asked on 25.11.2015 / 00:41
1
answer

Show date by terminal

As soon as you can change the date of linux by the terminal in the format {month} {day} {time} {minute} {year}, all together, I wanted to know how to save the current date in a variable (Python) change the date and time with a terminal applicati...
asked on 11.11.2015 / 01:09
2
answers

Conflict between Jinja and Handlebars

How do I resolve a conflict between Handlebars and Jinja, since the syntax of both are similar?     
asked on 26.11.2015 / 20:07
1
answer

Unexpected Error using the parse_args () function of the ArgumentParser object in Python

In a simple code I'm doing in Python, I get the exception below, when I call the function parser_args() on the object of type ArgumentParser : Unexpected error: (<type 'exceptions.SystemExit'>, SystemExit(0,), <traceback...
asked on 17.11.2015 / 22:04
1
answer

TFS Api - Error in query with DateTime

I'm trying to make a query using the TFS API where I need to get all the WorkItems that have been edited from a certain date, however I get the following error:   An unhandled exception of type   'Microsoft.TeamFoundation.WorkItemTracking.Cli...
asked on 09.11.2015 / 17:32
1
answer

Transform class with static methods in interface

I have a custom class called ArrayList , which I created to handle objects in a small project of mine, but I would like to abstract it further by transforming it into an interface. This way, I could create other classes that do the same th...
asked on 25.11.2015 / 14:11
1
answer

How to use realloc () dynamically in struct allocation?

I have a struct TMedidorEletrico *medidor; structure, and it is necessary to reallocate the memory for this structure dynamically until the user closes the loop . Memory must be relocated one step at a time , but when invoking the fun...
asked on 16.09.2015 / 01:52
3
answers

Characters "'" and "f" appear in the textbox, how to correct?

We are using MVC5, I put a field @ Html.TextBoxFor a Jquery function that does not allow the insertion of letters, however whenever the user types the characters "'" and "f", they are inserted and deleted in the act, the other characters are oka...
asked on 26.11.2015 / 20:12
2
answers

How to execute "setInterval" without initial delay?

In this code below, it updates a div every 20 seconds. Only when I enter the page I have to wait 20 seconds for it to appear. I wish he had already appeared at the beginning of the page. <div id="latestData"><img src="img/loading3.gif...
asked on 01.10.2015 / 04:46