Most voted questions
150,413 questions
Sort by count of
-
6
votes1
answer80
viewsDoubt about $.post and $.ajax behavior
I’ve always been used to using $.ajax() for all my requests of the type, and this works perfectly. An example that is even occurring now is the following: $.ajax({ type: "POST", url:…
-
6
votes2
answers155
viewsIncompatible data types when calling Procedure
I’m having trouble calling the next trial in my form: procedure TDM_Maquinas.IBDSMaquinasCOD_LINHASetText(Sender: TField; const Text: string); begin if Text <> '' then begin if Text = 'Linha…
-
6
votes1
answer489
viewsPrediction with Tensorflow Neural Networks
Hello, I’m having trouble implementing a neural network. My problem is that I can only implement it with an attribute 'X' I need help with this code for example, how do I put two input attributes?…
-
6
votes1
answer5904
viewsCRUD with Javascript
Well, I need to make one CRUD and then a search of what is submitted on my form. I already created the page and can already submit my form and show in a table. Doubt: I am in doubt of how to remove…
-
6
votes2
answers3042
viewsIncreasing/decreasing number effect
I searched the Sopt and I couldn’t find what I wanted Suppose I have one button and, when carrying out a click, he alter the value of some div or input. The initial value is 1, and to the click on,…
-
6
votes1
answer325
viewsThe Node in the World . NET would be CLR or . NET?
Since Node is a development platform server-side in JS... and . NET we have CLR (Common Language Runtime) the Node would be the CLR that compiles? Or a framework like . NET, as two import modules I…
-
6
votes2
answers991
viewsIdeal attribute not to be 'clickable'
Good afternoon. I am making a button that has the function of increasing the quantity of products in the cart. However, when you click it many times, the element is 'colored' as if it were a word or…
-
6
votes2
answers555
viewsDifference between fetch and setFetchDP methods
I understood the difference between fetch and fetchAll, but now, what is the difference between those and setFetchMode? Looks like it’s the same thing... (at least when it comes to riding). I can do…
-
6
votes3
answers171
viewsIs it possible to have properties other than those generated automatically in a data class?
Kotlin allows you to simplify the creation of what in Java we call POJO: data class Person(val firstName: String, val lastName: String) With this we get a class with the getter for all variables…
-
6
votes1
answer1794
viewsWhat is the purpose of "data class"?
In Kotlin it is possible to create a class as follows: data class Dragon(private val name: String, val glass: Int) What is the main objective of the data class in Kotlin? When should we use?…
-
6
votes2
answers296
viewsWhat is the Anko?
Already converting my Android projects to Kotlin, in some researches I’ve been doing, several times quoted a Anko Kotlin. What is this Anko? What is this about? What is your goal?
-
6
votes2
answers199
viewsHow to popular a model from a Datareader in C#?
I’m sorry I was so ignorant about that question. In PHP there was the possibility of using the "Fetchclass" of PDO that took all the results of a table and threw them in an object of a certain…
-
6
votes2
answers574
viewsFaster way to save multiple entities with Entityframework
I have a performance problem in one method, in addition to causing the full use of the CPU server that method takes a long time to run. internal async void NotificacaoIosTodos(string titulo, int…
-
6
votes1
answer313
viewsWhat is Data Mining?
Well, the title says it all: What is Data Mining?
terminologyasked 7 years, 2 months ago igventurelli 4,441 -
6
votes3
answers497
viewsSeparation of string text into an array
I need a way to separate a string like the following: "0.1253729 09863637 02937382 029828020" I want to remove each of the information and store in one array. Obs: I’m reading from file .txt.…
-
6
votes2
answers938
viewsHow to take the Hosmer-Lemeshow test on R?
I have a data set to make the logistic regression of the dependent variable childbirth which is binary qualitative. With the following command I obtain the multivariate logistic model in the program…
-
6
votes2
answers590
viewsHow to disable Chrome Pop-UP to save passwords?
What would be a method to disable the Pop-Up: Want Google Chrome to update your password to this site? Feel free to choose language, but answer with JavaScript will be the answer accepted. Nota:…
-
6
votes5
answers964
viewsHow to progress steps using thread chart?
I am developing a screen using the student’s progress, for example, he has 10 activities to complete, and is in activity 2, so this represents 20% of the total activity. I’d like to represent that…
-
6
votes1
answer213
viewsWhat is the architecture of Cleopatra?
There are several basic modern computer architectures. Here at Sopt has some questions, about von Neumann architecture and harvard. Recently, in a small reading, they cited another architecture,…
-
6
votes1
answer231
viewsWhat are they for and when to use the Preprocessor directives?
Some time ago I had seen the use of #define in C#. Today I searched about it and found its documentation here, but did not answer all my doubts. Code example with Preprocessor directives: #define…
-
6
votes1
answer570
viewsWhat is the difference between revalidate() and repaint()?
When working with swing, we usually call one of these methods after some change in screen components. But after all, what’s the difference between using repaint() or revalidate()? In what situation…
-
6
votes4
answers2929
viewsHow do I capitalize the first letter?
I have the function, and it works perfectly: $.fn.capitalize = function() { function isTRChar(key) { var trchar = [231, 246, 252, 287, 305, 351]; for (var i = 0; i < trchar.length; i++) { if…
-
6
votes2
answers8273
viewsWhat is Encryption ($) for before a Function in Javascript?
Options of variables and functions, for example: $(function() {})
javascriptasked 7 years, 3 months ago Jota 509 -
6
votes1
answer88
viewsApp version updates and changes
I have some questions about updates and changes to an app version. I posted an app to the Play Store and didn’t change anything on my Androidmanifest. It was as follows: package="com.app"…
-
6
votes0
answers335
viewsAngularjs x Angular 2 x Angular 4
I have observed a slight controversy with these terms in the title of the question. Many people have referred to Angular 2 onwards as "Angularjs" which in my view is wrong, the correct one would be…
-
6
votes2
answers209
viewsIs there a function that fills a string to a certain length?
I’d like to fill out a string until it reaches a certain length. There is some function capable of doing this? It would be something like the PadLeft(Int32,Char) and PadRight(Int32,Char) of the C#.…
-
6
votes1
answer2702
viewsHow to extract and compress files with System.IO.Compression.Ziparchive in c#?
I’m starting in C#. I saw that there’s class System.IO.Compression.ZipArchive to work with zip files. I have some doubts: How do I unzip an existing zip via Ziparchive? How do I compress to an…
-
6
votes1
answer1399
viewsWhat is the difference between Alt, poweroff and reboot?
I have heard several times that if I want to shut down/restart the computer from the terminal just run one of these options : Halt poweroff reboot poweroff and reboot are very intuitive "shut down"…
linuxasked 7 years, 3 months ago Guilherme Lautert 15,097 -
6
votes5
answers21141
viewsWhat is the functionality of n?
I’m learning to program in Python and some basic things still confuse me, for example this question I asked. What is the use of n?
-
6
votes2
answers271
viewsWhat defines a neural network as perceptron?
I think it’s important to talk about artificial intelligenceoverflow and I couldn’t find anything relevant about it. Could someone with experience explain well the definition of a Perceptron-type…
-
6
votes1
answer363
viewsDemora ao Enviar Email com Anexo
I am trying to send an email with attachment, without attachment, the email sends quickly, without any kind of problem, but when I place the attachment, it takes a lot, matter of minutes, and hangs,…
-
6
votes1
answer113
viewsWhy do constants in the File class not follow the constant convention?
The convention for Java constants says that a constant should be declared with uppercase letters only and words should be separated by underscore (_). The declaration of a constant is made by the…
-
6
votes6
answers21461
viewsFormat numerical sequence in CPF format with tabs using javascript
The function below tests the input of a Cpf, (typing or gluing) whose format should be ###.###.###-## If the input consists only of numbers without separators, or some separator is missing, for…
javascriptasked 7 years, 3 months ago user60252 -
6
votes1
answer1654
viewsText position on pie chart in ggplot2
I have the following table Var1 Freq Percentual Até 50 anos 4657 2.98% De 51 a 60 anos 32009 20.47% De 61 a 70 anos 57368 36.68% De 71 a 80 anos 46075 29.46% Mais de 80 anos 16299 10.42% And I need…
-
6
votes3
answers106
viewsIs there any way to interpret (parser) from a string Connection to an object?
There is a certain library that I am using where I need to pass separately as parameter, separately, the connection values with the database: Username, Password, Host and Database. I took this…
-
6
votes4
answers19332
viewsCompare current date with javascript
I’m comparing today’s date to today’s date this way: if (new Date() > new Date('07/04/2017')) { alert('Hoje é maior que hoje?') } How can today be bigger than today?…
-
6
votes2
answers140
viewsIs Array a C pointer?
I am reading a book about C pointers, but as I am new to such a language, still for me the concept of pointers is a bit complex, and when reading the following definition, I came to the question…
-
6
votes3
answers2223
viewsHow to delete files from a recursively expression-based folder?
I’m using a project where there are several temporary files that, for some reason, have not been deleted over time and that are taking up a lot of space. I need to delete all images from this…
-
6
votes3
answers230
viewsBi-directional asynchronous communication in layers
I have system in Asp.Net MVC (.Net 4.5) divided in layers: That said, let’s get to the problem... I’m trying to create a screen to send emails asynchronously (3 emails at the same time, for…
-
6
votes1
answer347
viewsSplit base with "for" in R
As it is my first for in the R I found it difficult to apply this function. I have a base with a base date of different years and would like to divide the base by base dates. The variable "date" has…
-
6
votes1
answer117
viewsRegular expression to swap the variable pair in mysql in PHP file
Which expression can I use to exchange MYSQL function parameters, example: mysql_query($query,$db); mysql_query($db,$query); Why I look for mysql_query and change to mysqli_query after I can make…
regexasked 7 years, 4 months ago Rodrigo Luan 385 -
6
votes3
answers1515
viewsIs there any nomenclature for variables defined by underline/underscore?
I know that there are some rules and conventions for the nomenclature of variables in programming, such as Camelcase, Pascalcase, etc.... What is the term used for a compound name variable (words…
-
6
votes1
answer343
viewsDifference between using Sqliteconnection and Java Drivermanager
I am connecting to the Sqlite database with the following code: import org.sqlite.SQLiteConnection; public SQLiteConnection conn() throws SQLException{ String path = System.getProperty("user.dir");…
-
6
votes1
answer98
viewsWinform - Tabcontrol bug with Metroframework
So I’m having a little problem when I use Tabcontrol customized by Modern UI Metroframework. It turns out that a bar appears on the upper left (scroll bar) and only disappears if I click on it. Ex:…
-
6
votes1
answer387
viewsSpring MVC and turnstile integration
I’m developing a system for my university’s college restaurant with Spring MVC. I need to connect the system to a Topdata brand turnstile, which controls customer access to the restaurant. Since I…
-
6
votes3
answers247
viewsConcatenation or data sequencing: which performs best?
A few days ago I was writing some articles about PHP, in which I was asked about a possible performance improvement in large Scale when developing PHP applications. The assumption was as follows::…
-
6
votes1
answer1880
viewsMVC versus MVVM
I cannot differentiate between both MVC or MVVM. What really differentiates the MVC from the MVVM? In job interviews, sometimes they ask you exactly that, how do you differentiate one from the…
-
6
votes3
answers1691
viewsWhy does Javascript return Infinity instead of error when dividing by 0?
When I divide any value by zero, Javascript, returns me Infinity. My question is why Infinity? Infinity is set in Javascript, but I could not find a use for it in any case. Can anyone tell me also,…
-
6
votes4
answers1595
viewsLeaving div height equal to width using css only
Let’s say I have 4 div, with the property width:25%. In a space of 1000px, this 25% would represent 250px. <div style="width:1000px"></div> <div style="width:25%;"></div>…
cssasked 7 years, 4 months ago ivan veloso 2,900 -
6
votes1
answer127
viewsPUT and DELETE methods with Httpstream?
Can anyone tell me if it’s possible to use the HttpStream with the methods PUT and/or DELETE? HttpStream.Options options = new HttpStream.Options();…