Most voted questions
150,413 questions
Sort by count of
-
4
votes2
answers624
viewsWhen using optional parameters above overloading and vice versa?
An optional parameter in C# is declared as follows (see parameter y): public void DoFoo(String x, String y = "") { ... } In many cases, this Feature can be replaced by Overload signature of the…
-
4
votes1
answer69
viewsDoes the size of the URL influence the rankings of search Engines?
If I have a link very long, this can be penalized by Google or other search systems? For example:…
-
4
votes1
answer321
viewsHow to cut part of a bitmap?
I want to create a Bitmap that its content is a part of another Bitmap For example: I have a Bitmap (400x900) width = 400 height = 900 I want to cut it in the dimensions (400x400) in order to leave…
-
4
votes3
answers1355
viewsSimple sum returning Nan
I’m trying to make a simple sum in a routine: var sum1 = $('input[name=hdValor01]').val(); // 40 var sum2 = $('input[name=hdValor02]').val(); // var sum3 = $('input[name=hdValor03]').val(); // 30…
javascriptasked 7 years, 1 month ago Maykel Esser 598 -
4
votes5
answers38033
viewsHow to outline text via CSS
Personal someone can help me to make this outline in text by css…
-
4
votes1
answer277
viewsFormatting chart values using Syncfusion for Xamarin Forms
I’m using the Syncfusion to create graphics in Xamarin Forms. Studying the documentation, I could not find a way to format the values of my chart, example: I want these values formatted for…
-
4
votes1
answer1227
viewsHow to filter by state cities in Laravel?
I made a filter in the Laravel and it works perfectly but nevertheless brings all the cities. It does not bring the specific cities of that state. I do not know if it is this filter that has to pass…
-
4
votes1
answer334
viewsHow to disable XHR messages finished loading in production
I have a system developed in the Angular language in version 4. The system that generates build of the application in production is the webpack. This being used as the basis the following tarter:…
-
4
votes1
answer127
viewsProblem for deletion of data from a spreadsheet
I have the following piece of code that connects to excel, where it will delete the data from a tab of a spreadsheet. private void AtualizarPerformanceEntrega() { try { string sFileXLSX =…
-
4
votes1
answer7197
viewsShortcut Find and Replace Visual Studio Code
In Visual Studio Code, when I press the keys Ctrl + F i can locate a certain string. Is there a shortcut to "find and replace" using this same program? Ex: In Atom when locating a string if I press…
-
4
votes2
answers502
viewsAdd previous line in mysql
I have a launch line, in which this line would need to receive the value of the previous line +1, some example of how to do this? Table structure: CREATE TABLE `lancamento` ( `data` VARCHAR(10) NOT…
-
4
votes3
answers1253
viewsJS variable returning Nan
I’m assigning the sum of a column in an HTML table to a JS (sum) variable, but when I print it on the screen I get an Nan, someone knows why? <tr> <td style="background:#c4ffd6;"…
-
4
votes1
answer141
viewsCSS + Java Script : Treating image larger than a circular div
Good morning !! Here’s what I’m trying to do: I created a Function that when clicking on the photo, sends the photo to the circular div conteudo, the problem is that if the image is larger than the…
-
4
votes2
answers872
viewsWhat are anonymous methods and what is their main purpose?
I know they’re used to working together with delegates, but the sources I found were a little confused in my opinion.
-
4
votes1
answer436
viewsHow to shuffle string list in c#?
I have a console application, in which there is a list: List <string> ListaFrases = new List<string>(); This list is built through user inputs in the console. How to display your…
-
4
votes2
answers3068
viewsConvert image to Base64 using Vuejs?
I have a <input type="file /> in Vuejs and when I select an image I want it to be converted into base64, because I will save the images in the database only in base64. What would be the method…
-
4
votes1
answer1477
viewsWhat exactly does the Application.Doevents() method do?
According to the help of Microsoft, the method Application.Doevents(): Processes all Windows messages that are currently in the message queue. But what does that mean? Why does he say messages? What…
-
4
votes1
answer10576
viewsSplit text in excel
I have to divide the "Full Name" cells of my table into two. Therefore, I used two functions: "Left" to take the person’s Name and "Right" to take the last name. In which, everything up to the first…
-
4
votes1
answer1020
viewsInput field with floating label design and mask
In the app I am building I intend to use in a form fields Input styled design Floating label I tested some libraries that have this type of field and considered better the Nativebase.io, however in…
react-nativeasked 7 years, 1 month ago Mateus 977 -
4
votes3
answers229
viewsFunction within Jquery what is the execution order?
I have a function in jquery that has a while that writes data to the database, and after this while it prints on console that the data was saved, the function is like this: function gravaDados(){…
-
4
votes2
answers471
viewsWhat advantages does angular typing offer?
I’d like to enjoy as much as Angular can offer. And one of the things I want to understand well is all what the tipagem of Angular helps me at the time of development. I saw that one of the…
-
4
votes1
answer590
viewsHow to create a mask for Jformattedtextfield?
I am making a program that simulates the Turing machine, and the user fills in a form with the states in this way {q0,q1,q2}. But I want to create mask that the user type only q0q1q2 and the value…
-
4
votes1
answer310
viewsCreate array with string in php?
I have a variable text and wanted to create an array with it, is it possible? follows the variable: $texto = "forma=3&banco=100&agencia=200&conta=300&cheque=404"; the way out that…
-
4
votes1
answer1005
viewsBest Way to Use AES Encryption
Guys, let’s say I’m working on a system where the encryption key is derived from the user’s password (something like what Keepass does), in which case I have three questions: What algorithm to use…
-
4
votes2
answers2715
viewsCalculating interest with javascript
I’m having trouble putting together a script, I’m not knowing how to calculate date interaction with javascript, I was thinking of making a screen that calculates interest, but returns the values in…
-
4
votes1
answer3070
viewsVBA+Excel. Code error (incompatible Byref argument type) in Function
The following code: Sub segundograu() Dim a, b, c, delta, raiz1, raiz2 As Double a = Range("B3").Value b = Range("E3").Value c = Range("H3").Value delta = b ^ 2 - 4 * a * c Range("E5").Value = delta…
-
4
votes2
answers399
viewsCustomize the eclipse "Generate toString()..." to print the path of a class
How do I customize the function Generate toString() eclipse (source > Generate toString()) to print the path of a class? For example I have the following entity that prints: package…
-
4
votes0
answers56
viewsNo ideas for Load logic
I recently asked for help on this topic> Separate all items from a string The problem is, my game is an offline Card-Game that has an "inventory" of cards, only I have no idea how I actually "put…
vb.netasked 7 years, 1 month ago Luan Devecchi 151 -
4
votes1
answer1031
viewsHow to maintain the screen ratio after being resized by the user?
I need to restrict a certain proportion of a Jframe so that the layout of what I want to display on it isn’t distorted, but I wouldn’t want to have to block resizing with setRezisable(). The minimum…
-
4
votes3
answers259
viewsFilter a select, without duplicate SQL queries being returned
The problem is to return a SELECT with only those schedules that are no longer accepted by the user. I’m trying to use the schedule table that has already been accepted, which has both the user ID…
-
4
votes0
answers368
viewsERROR: null value in column "id_municipio_id_municipio" violates the non-null restriction
This error is occurring when I try to persist the screen data to the database. I checked, by debugging the screen, that the data is being captured. When the method exits line 33 of the image it goes…
-
4
votes1
answer377
viewsIs it possible to select all Edittext text when in focus?
I have a EditText and when I use: editText.requestFocus(); I’d like you to select the whole text, it’s possible?
-
4
votes0
answers1111
viewsHow to consume a Graphql API (https://api.loggi.com)
I would like to understand know and know opinions to apply in a project urgently... I currently have a shopping website and I need to use the loggi company API which is a distribution company the…
-
4
votes0
answers73
viewsError opening git hub
Hello, when starting github, it shows me a screen with this error: error: inflate: data stream error (Unknown Compression method) error: Unable to unpack 54012a5c5cbe332cb2e1f18539085b14bc0d8542…
-
4
votes2
answers454
viewsHow to sum up all the elements of an ng-repeat?
Example: I have any ng-repeat, which repeats each one a number. How do I store a variable that is equal to the sum of this number of each repeat? Code Angularjs: ngular.module('meumodulo', [])…
-
4
votes1
answer842
viewsWhat is and what is the sockaddr_in structure for?
Lately I’ve been wanting to program a network sockets in C++ but as the matters on the internet about it are a little limited coming to show only how to program the sockets without explaining in…
-
4
votes2
answers1020
viewsFormat ZIP in Query - Mysql
In my column of the bank I have the field CEP varchar(20), and a record: "92820142" there is some way to format in the pattern: 92,820-142 during the consultation? I tried using the format, but it…
mysqlasked 7 years, 1 month ago M. Bertolazo 653 -
4
votes1
answer1498
viewsCount how many times a word of a file appears in another file
I would like to count how many times a word list (archive1) appears in another word list (archive2) with open("corpus.txt", "r") as f1, open("lexico.txt", "r") as f2: file1 = f1.read() file2 =…
-
4
votes1
answer564
viewsIs there any way to delete the auto space that appears after the python comma?
A brief example: zero = 0 print('exemplo',zero) The program shows: example 0 I wish without the space: exemplo0…
python-3.xasked 7 years, 1 month ago Lucas Souza 567 -
4
votes1
answer399
viewsWhat is the difference between Reverse Proxy and Forward Proxy?
I’m looking for the answer to this question, but most of the sources I consulted, including Stack Overflow itself, have not solved my question.
proxyasked 7 years, 1 month ago Lucas Dirani 197 -
4
votes1
answer4692
viewsLaravel no servidor Locaweb: Unexpected Character in input: ' (ASCII=92) state=1
I’m staying at the Locaweb and is making this mistake. Warning: Unexpected Character in input: ' (ASCII=92) state=1 in /home/Storage/a/B7/B3/reciclaoleovegetal/public_html/public/index.php on line…
-
4
votes1
answer229
viewsDoubts about Stored Function
What is a Stored Function, what is its basic syntax ? How and where to use a Stored Function
-
4
votes1
answer398
viewsLooking for Keywords in Elasticsearch
I’m registering some objects of the kind: [{ nome: "bom_atendimento", chaves: ["bem atendido", "atendimento bom"] }, { nome: "ruim_atendimento", chaves: ["pessimo atendimento", "atendimento ruim"]…
-
4
votes1
answer443
viewsHow does each value that can be used in the CSS "Transition" (Transition-timing-Function) attribute work?
Usually when I want to make one transition to animate a CSS element, I usually use the value linear right after I set the time I want in an animation. Example: .boing-boing{ height: 100px; width:…
-
4
votes1
answer510
viewsProblem with deploying to Heroku
I’m using Maven, Java, JSF, Primefaces, Hibernate, Mysql, CDI and Tomcat 8 on the local machine to create the app. Now I’m trying to climb up and I’m having great difficulty getting the project up…
-
4
votes1
answer395
viewsHow to vector code in C++?
Would you like to know how to vector code in C++ ? because the material I found on the internet is a bit excasso. I understand as vectorization the use, not only of vectors, but of doing in a single…
-
4
votes1
answer797
viewsPHP function in input text action
It is possible to call a php function inside the action parameter of my form? <!--FILTRO FLUTUANTE --> <div id="mws-themer"> <div id="mws-themer-hide"></div> <div…
-
4
votes3
answers539
viewsIncrement input values in +1 containing letters and numbers using Jquery?
I have a table with data of the cheque sheets as: bank, account, agency and sheet number, everything was fine so far, but today a customer came with a ticket of the Italian and in it has 3 letters…
-
4
votes2
answers1153
viewsHypothesis tests with C# - Merge (sum) of values to find result
Hello, everybody. I need to solve the following problem using C# (ASP . NET MVC): I have a table in the database that contains ID and Value (decimal) as below: id: 1 | value: 100,00 id: 2 | value:…
-
4
votes1
answer23147
views'Pip' is not recognized as an internal or external command, a operable program or a batch file
Know how to solve this problem have python and Pip installed when I type Pip and I hit enter appears this: 'Pip' is not recognized as an internal command or external, a operable program or a batch…