Interesting questions
-
1
votes1
answer88
viewsRequest performance using Html.Beginform versus jQuery AJAX
There is some performance gain when using jQuery to perform ajax requests relative to the post using Html.Beginform? @using (Html.BeginForm("Create", "Teste") { @Html.AntiForgeryToken()…
-
0
votes2
answers1254
viewsValidate Laravel Single Field
Speak guys, I’m trying to learn Laravel and I’m currently caught in a seemingly simple thing, is the following. I created a very simple system with login and other things, and I’m trying to…
-
0
votes1
answer950
viewsDelphi Berlin JEDI Component Installation Error (10.1)
I am trying to install the JEDI components in Delphi Berlin 10.1 in my environment, however, I am getting a compilation error in bpl "Jvcore240". The installation of JCL usually happens, without any…
-
1
votes1
answer106
viewsTypeerror: can’t pickle _thread. _local Objects when I try to use scikit-Learn RFE in a template created in tensorflow
I’m trying to use the scikit-Learn library RFE on models I created using tensorflow, but when I try to train I get TypeError: can't pickle _thread._local objects. Follow the code and error below:…
-
4
votes1
answer159
viewsSmall doubt with numerical operations
I was doing a python function that gives me the results (x' and x") of bhaskara formula, just to train the logic a little bit. And playing a little bit in the shell, I ended up discovering something…
-
0
votes0
answers63
viewsVisual Basic 2010 with connection to Access with images
Good morning, I am conducting a school project in Visual Basic 2010 with the link to an Access database on Football. But I want to do something more complex and include images in the players,…
-
0
votes0
answers44
viewsturn Procedure into Function
I’m trying to turn this procedure in function, to use inside another procedure, but I can’t evolve: CREATE PROCEDURE bancodados.sp_calculo(param_id_cnpj varchar(14)) BEGIN SELECT id_cnpj,…
-
0
votes3
answers171
viewsDoubt - Update SQL Server 2012
When the update below is run for the first time, the field comes out correctly in the way I want it to be below, but if I run it again, it comes out that way. What I want is that regardless of how…
-
0
votes2
answers96
viewsAssign jQuery function to variable in ternary operator
I am creating a simple forward/back function in a form with "Steps" and would like to implement a more effective solution to the situation below: $('.botao').click(function(){…
-
0
votes1
answer130
viewsExplode lines from a textarea and separate them by commas
Opa, I need to capture the text of the textarea, separate it by lines and then explode and separate it by commas. $lines = explode("\n", $respostas); $i = 0; if ( !empty($lines) ) { foreach ($lines…
-
1
votes1
answer468
viewsChange the color of a Webgrid mvc <td> tag
That’s the WebGrid and I need to change the background color of Celula filled in "IN PROCESSING": for Red: CSS <style type="text/css"> .grid { margin: 4px; border-collapse: collapse; width:…
-
4
votes1
answer1385
viewsHow to change the value of a string in XML?
There is a way to change a string value in XML. I know how to get the value through getResource().getString(R.string.value); but I don’t know how to change the value directly in XML. Is this…
-
0
votes1
answer43
viewsSelect only returns result in terminal
I’m having trouble understanding why the code below only returns result when executed in the terminal. I intend to return hash of the last id entered in the database connection =…
-
1
votes1
answer722
viewsDns.Resolve() vs Dns.Gethostentry()
The method Resolve is as obsolete and Microsoft guides to use the GetHostEntry. However when using GetHostEntry the exception occurs: This host is not known When I use Resolve there is no exception…
-
-2
votes1
answer146
viewsAdvanced android course
Guys, anyone knows any institution that offers an advanced android course? What do I mean by advanced android? I want someone who has already created their own version of android, who has changed…
androidasked 10 years, 8 months ago Paulo Gustavo 1,319 -
0
votes1
answer63
viewsMongodb - Error running find geospatial $near
I have a collection with the following documents. { "_id" : ObjectId("5c6bb6b492647b15f80038a1"), "loc" : { "type" : "Point", "coordenadas" : [ -41.104658, -20.963387 ] } } I’m running the find:…
mongodbasked 7 years, 8 months ago Elton Barcelos 1 -
1
votes0
answers69
viewsLaravel Form Validation Reload F5
I have the following doubt: Once I make the Submit of a form it makes the validation right, but if I give F5 in the browser it disappears with the error messages and also add the values of the…
-
1
votes2
answers15896
viewsHow to stop an execution in Python?
I’m starting programming in Python and would like to know how to stop the program execution? In the language C for example, there is the equivalent command system("pause"). If I open IDLE, more…
-
0
votes1
answer40
viewsImport XML into Wordpress cuts the permalink address
I don’t know why you’re like this. I have the latest version of XAMPP, and use wordpress 4.5.2. I’ve assembled an xml file with all the posts I need to import, but when I import it cuts the middle…
-
3
votes1
answer95
viewsWhat is the difference between Observables and common Javascript events?
I have seen a lot of people talking about Observables and about Pattern Observer in general, mainly from the Rx JS library. What is the difference between Observers and the events we usually treat,…