Most voted questions
150,413 questions
Sort by count of
-
7
votes2
answers1406
viewsDifference in font-Weight Bold/Bolder application
I would like to know the difference in the use of CSS properties font-Weight:Bold and font-Weight:Bolder, because applying these properties I can not see difference between one and the other so as…
-
7
votes1
answer1065
viewsIs it possible to use Input Value as the CSS selector?
Look at the examples below. I’m trying to style my CSS through value that he has, but it’s not working. I’ve put together three examples, one for input has the [value="red"] it should stick with a…
-
7
votes1
answer1877
viewsWhat is using namespace?
Since the beginning of my C++ learning I have been told to use the namespace std, not to spend all the time using the std::cout. But after studying more about language, I learned that :: is a target…
-
7
votes1
answer1362
viewsWhen and why to use data dictionaries?
I had already read this answer (below) and today I read it again, and on both occasions the highlighted passage caught my attention: DRY is to avoid redundancies, right? - Stack Overflow That’s why…
software-engineeringasked 5 years, 10 months ago Pedro Gaspar 3,289 -
7
votes1
answer587
viewsHow to simulate LEAD and LAG functions? [Mysql]
I have recently been developing a query in which I came up with the need to compare rows of the same data set successively, I mean, from the same column, from the same table. I became aware of the…
mysqlasked 5 years, 11 months ago Caio de Paula Silva 1,189 -
7
votes1
answer4432
viewsHow to create Javascript interface?
I believe most of you know the concept of Interface, fairly widespread in POO, but in Javascript in all projects I worked until today I have not seen use of this concept. I did some research on, but…
-
7
votes2
answers22159
viewsHow to change time zone (GMT) date and time in JS
I need to update the // data e hora atual a região let data = new Date(); console.log(data); // Está retornando Fri Nov 16 2018 17:04:08 GMT-0200 (Horário brasileiro de verão) var dataBase =…
-
7
votes2
answers602
viewsError splitting image in half using Python
I’m trying to split an image in half using the code below, but I’m having a feedback error. Code: import cv2 import numpy as np # Read the image img = cv2.imread("IMD015.png") width = img.shape #…
-
7
votes1
answer325
viewsHow to read a JSON file to render HTML list
I am having a difficulty in an application that reads a json file and renders in HTML, I am not able to access the object correctly, the variable products is as Undefined. Could someone help me? if…
-
7
votes0
answers509
viewsGenerate dynamic table with TCPDF
Good afternoon, I’m using the TCPDF to generate an evaluation report, and I need this report to be divided into weeks that the user has activity. At the moment the report is thus What I need is to…
-
7
votes1
answer513
viewsHow to remove noises and hairy image lines?
I’m working on hair removal on skin images. Researching the literature, the means to achieve my goal, applying some techniques of segmentation and removal of noise in images. Which I’m applying to.…
-
7
votes2
answers408
viewsBuilder and inheritance in R
It is a theoretical question, but it may help to understand a little the logic of programming in r. What it is and how it works builder in the language r? What is its use? What it is and how it…
-
7
votes1
answer201
viewsMeaning of "code acting on data" and "data controlling access to code"
This is a purely theoretical question about programming. I would like to know from an example simple (response with complement of figures, drawings, etc.), the meaning of two sentences for two types…
oop terminology software-engineering encoding-style structured-programmingasked 5 years, 11 months ago neves 5,644 -
7
votes1
answer891
viewsIs it possible to unstructure an array in PHP equal to or similar to the Python list?
In Python we can unstructure a list like this: lista = [ "Maça", "Pera" ] maca, pera = lista print(maca, pera) the exit will be: Maça Pera I know that in PHP it is possible to get the result using…
-
7
votes2
answers2508
viewsDifference between commands to stop execution
I found that there are several ways to interrupt an execution. Basically what is the difference between using the commands: break; sys.Exit() ( From the module sys); os. _Exit() ( From the module…
-
7
votes2
answers388
viewsDirectory listing appears with dots, how to remove?
I want to list the image files of a folder, but the first two links that are generated appear like this: <img class="mySlides" src="Arifureta-shokugyou/capitulo-2/." style="width:100%" />…
phpasked 6 years ago Lukas Takahashi 408 -
7
votes3
answers3255
viewsWrong daylight saving time
I’m having a problem regarding daylight savings time... actually cell phones, street clocks, my pc also set the clock forward... Daylight saving time usually starts in October. But, not to coincide…
-
7
votes1
answer676
views -
7
votes2
answers212
viewsPointer to struct
I was studying pointers to struct, and I saw that it has two ways to use. can be: (*ponteiro).variavel Or: ponteiro->variavel According to what I read, when we put *ponteiro.variavel, because of…
-
7
votes1
answer207
viewsjquery.iframetracker Does not work on Mozilla Firefox, can you fix it?
i have a script that records a cookie with ajax when you click on a Google ad (iframe), works in Google Chrome good.. but not firefox.. does anyone know why ? Or if you have another solution to do…
-
7
votes1
answer481
viewsIn CSS, how do I align Numbers with Text in Classic Fonts?
I’m wearing a Font-Face that has the old typographical style in the numerals is want to align them with the text. Note that the numbers of this source follow the old pattern, where the digit is…
-
7
votes1
answer2289
viewsHow to remove image noises using opencv - python?
I am working with skin images, in the recognition of skin spots, and due to the presence of noises, mainly by the presence of hair, it is more complicated this work. I have an example image in which…
-
7
votes1
answer1984
viewsHow to have two versions of php on the same Apache server?
I have an Apache/2.4.10 (Ubuntu) server running a site in php 5.5. But I’m creating a new site and it needs php 5.6. It has to have two versions of php installed on my server and use each one in…
-
7
votes1
answer204
viewsExport data from Google Sheets to R
Hey, guys, what’s up? I’m a beginner in R and I have a question: It is possible, and if possible, which is the way to export data from a table of google Sheets (or Drive) to R. There is some library…
-
7
votes2
answers672
viewsHow to make a reflected text with CSS ? (like a mirrored text)
I would like to make a reflected text effect or mirrored text effect with CSS only Like this picture: Does anyone have any hints, or knows if it is possible to make this effect mirrored only with…
-
7
votes1
answer399
viewsHow do you make Scroll center on the elements inside the container?
Imagine that I have an image gallery that is inside a container. But each image in the gallery has a size according to the image: What I’d like to do is a snap, so that at the time of scroll at a…
-
7
votes2
answers310
viewsFloat vs. inline-block. What are the advantages and disadvantages of each?
I would like to know the advantages and disadvantages of using the properties float and display with the value inline-block. I know that both work to align elements, but I try to know the pros and…
-
7
votes2
answers4121
viewsR - Map of Brazilian cities
Good morning, I’m trying to create a Brazilian map that presents the amount of cooperatives present in each city. I have a table with the IBGE code of the municipalities and the amount of Coop. I…
-
7
votes3
answers4852
viewsHow to remove accents with regular expressions in Python?
I am developing a regular expression to try to replace accents and characters with normal characters Example: á = a ç = c é = e But mine regex is just eliminating some hint? import re string_velha =…
-
7
votes1
answer1825
viewsIs there any way to bend a text with CSS or leave the text curved in a row?
Is there any way to put a text in this format without using an image? Or I’d like to do a kind of curved text, but I couldn’t do it. The idea would be to do something close to this image, but only…
-
7
votes1
answer282
viewsHashmap sorting by value and assigning to a dto using java 8
I currently have the following scenario functional: A list of the Studios class with id and name: List<Studios> studios; I count the names repeated on List thus: Map<String, Integer>…
-
7
votes1
answer127
viewsWhat is the use / reason for the existence of new Object();?
While I was studying a little bit more about objects, I came across things like new String , new Number, etc.. I got curious, and I went to learn. I understood the functioning, despite having my…
-
7
votes1
answer377
viewsSize of panels with facet_wrap
I’m making some panel charts on ggplot2. See the example below: library(ggplot2) ggplot(mpg, aes(x=displ, y=hwy)) + geom_point() + geom_smooth(method="lm", se=FALSE, colour="black") + facet_wrap(~…
-
7
votes2
answers595
views"Operator" square brackets [] when creating the arrangement in C
Whenever I look for what the operator clasps [] makes, even in the tables that show all operators in C, appears that it serves to access an element of an arrangement. However, it is not always that…
-
7
votes2
answers1315
viewsPython and Opencv add points and Houghline
I’m doing my TCC in electrical engineering, where I have to automate a quadricoptero to take pictures of plantations, so far so good. The problem is that my teacher asked me to make a code in python…
-
7
votes1
answer773
viewsHow to map two LIST properties using the Automapper
Registernewpessoacommand class public class RegisterNewPessoaCommand { public RegisterNewPessoaCommand(PessoaNatureza pessoaNatureza, PessoaFisica pessoaFisica, PessoaJuridica pessoaJuridica,…
-
7
votes1
answer1102
viewsPrint window, save PDF Selenium Webdriver
After developing a web page, I am developing the automated testing of this one. I am using Selenium Webdriver com for . NET. After clicking the print button, the popup to choose the printer or…
-
7
votes1
answer570
viewsHow to prevent an Input Required from starting with the CSS style :invalid
When I have a input required that has some CSS style when it is :invalid, even before the user interacts with the input it is already stylized as invalid. How can I avoid this? Take the example:…
-
7
votes1
answer132
viewsHow to prevent pseudo-element (:before or ::after) within a <a> tag from being clickable?
Is there any way to prevent pseudo-element ::after or ::before one-link <a> become part of the link itself? My idea was to use one ::after in a link tag <a>, that ::after would be used…
-
7
votes3
answers9654
viewsHow to give permission to other users to upload content to my project on Github
I am doing an academic work and created a project and wanted each member of the group to create a branch and upasse part of the code used at work, but when someone tries to create a branch in the…
-
7
votes2
answers191
viewsHow to force justified size?
Example scenario I have a dynamically generated table (php), and one of the columns are vehicle boards. The problem is you get one a certain difference as the letters and numbers are "larger" and/or…
-
7
votes1
answer2353
viewsAnalyze whether a number is even or odd
The program must do: Digite um Número: 12345 1 e ímpar 2 e par 3 e ímpar 4 e pra 5 e ímpar So far I’ve made the following code: void parImpar (int num) { int resto; while (num > 0) { resto =…
-
7
votes2
answers10525
viewsDifference between "git add --all", "git add ." and "git add -u"
The command git add --all It seems to me like the command git add ., but I’m not sure they’re the same thing. If they’re not, what’s the difference between them? I am also doubtful about git add -u…
gitasked 6 years, 1 month ago João Pedro Schmitz 2,974 -
7
votes2
answers138
viewsCombobox is not being filled in by the Items I want
I have a Combobox filled out from a list created with information obtained from a txt file. But instead of being filled in with the file information it is getting inside it ----->…
-
7
votes1
answer424
viewsWhat is the difference between using normal methods and Action or Func?
public Action<string> Escrever = (texto) => { Console.WriteLine(texto); }; Might call it that Escrever.Invoke("Algum texto aqui dentro"); VS public string Escrever(string texto) {…
-
7
votes2
answers3921
viewsputs() and printf(), when and which to use?
Data input requests are usually preceded by text indicative of what you wish to receive and usually do not have data to be formatted. If variable data are not being presented in the request text,…
-
7
votes1
answer1373
viewsWhat is Feature Driven Development (FDD)?
I was researching about BDD, TDD and DDD and came across FDD (Feature Driven Development), after all: What is FDD? It has some relationship with BDD, TDD and DDD?…
-
7
votes2
answers7494
viewsHandling of malloc() and realloc()
I still don’t feel completely confident about using the malloc() or realloc(), these two ways are equivalent? 1) int main() { int x=0; char *s2,*s1; s1=NULL; s2=malloc(200); while(x++<3) {…
-
7
votes3
answers171
viewsIs APOO useful today?
I went there on Engineering.SE software and asked what has APOO (Object-Oriented Analysis and Project) methodology prominent today (here in Brazil there is not much, but there in the USA, will…
oop software-engineering uml software-project methodologyasked 6 years, 2 months ago Piovezan 15,850 -
7
votes2
answers118
viewsMany "if" in an old game for android
When checking if someone won, I need to use the IF several times. I wonder if there’s a way to simplify the code a little bit and maybe even replace the IFs. //left, top, right, bottom are int…