Most voted questions
150,413 questions
Sort by count of
-
4
votes2
answers96
viewsSearch performance involving multiple disks
Supposing that a query using JOIN between two or more tables, such as: SELECT * FROM foo INNER JOIN bar ON foo.id = bar.id There is performance gain if the table data is in different HD’s (due to…
-
4
votes1
answer1118
viewsDaylight saving time error (Summer time) in bootstrap-datepicker
The plugin stopped working with the start of summer time in Brazil. When I disable the option on my machine (Automatically adjust to daylight saving time) the plugin comes back to work. Code:…
-
4
votes1
answer589
viewsHow to capture a Mysql query from a given table in real time?
I am wanting to capture the queries that are sent to Mysql of a particular application, it is possible?
-
4
votes2
answers268
viewsQuery by Linq and Lambda getting options range by sub-query. How to get a result closer to simple?
Given the following classes: Menuraiz: public class MenuRaiz { public MenuRaiz() { Menus = new List<Menu>(); } [Key] [DatabaseGenerated(DatabaseGeneratedOption.None)] public int Id { get; set;…
-
4
votes1
answer357
viewsHow to force login after running the application?
My scenario is this:: After authentication with Active Directory, the user who logged in is saved to a Session [HttpPost] public ActionResult Login(LoginModel model, string returnUrl) { if…
-
4
votes1
answer87
viewsHow to get ID by clicking on a dynamically added Element
I’m getting inside a div new elements via PHP using Xmlhttprequest. So far so good, I get the elements and displays everything right, but I’m not getting the ID of these new elements using the event…
-
4
votes3
answers460
viewsPop-up opening before being clicked by button
I wanted to use a popup on a div but it turns out the div popup appears on the page, without being clicked by the button. When it was opened wanted to make dark back and blocked. I tried that:…
javascriptasked 10 years ago akm 3,387 -
4
votes1
answer2681
viewsHow to run a back bean method from a Javascript function?
I am developing a web page with canvas in HTML 5, it will be presented dashboards in real time, for this use Managedbean to return the respective values, I have a component developed in JavaScript…
-
4
votes4
answers5215
viewsError in v7 appcompat in v21 themes
Recently, I went to make a clean project in my project, and I don’t know why it didn’t generate the R.java, and my project was working normally. So I had the brilliant idea to reinstall the SDK and…
-
4
votes1
answer409
viewsCopy (clone) an SVG element
I want to "clone" an SVG rect in Javascript when I click a button. I tried this code, but it didn’t work. <svg id="svg"> <rect id="rect" x="5" y="25" width="50" height="50" stroke="#0E0E0E"…
-
4
votes2
answers888
viewsAre there BI/OLAP tools for the MEAN.JS platform?
Someone can indicate me a BI/ OLAP framework or at least a Chart Engine, preferably open-source, that integrates properly the platform MEAN.JS or MEAN IO architecturally SPA - Single Page…
-
4
votes1
answer309
viewsLock or release a controller according to some condition
I have a controller that should only be accessed if an attribute in my table is "true". Is there any way at the time the user clicks on such a link, check if the attribute is true, and only then…
-
4
votes1
answer101
viewsIsmouseover does not work
I have a boot in WPF and changed the style when passing the mouse on top (Ismouseover), but the problem is that not every time I move the mouse on top it changes style. When step the mouse very fast…
-
4
votes1
answer179
viewsRead Ini from a website
I want to read the ini file of a site, but I’m not getting. I tried so: inicheck := 'http://pokestage.ddns.net/patch/CHECK.INI'; conf2 := TIniFile.Create(IdHTTP3.Get(inicheck)); version2 :=…
delphiasked 10 years ago Gabriel Sales 1,257 -
4
votes1
answer10937
viewsUse sheet name extracted from a cell
I am creating a workbook in excel that will serve as a template for many others that will be generated through it. This template workbook has 5 worksheets, and one of it can be replicated several…
excelasked 10 years ago Juarez Turrini 191 -
4
votes1
answer487
viewsHow to use escape characters in a string in C#?
I am unable to scan a file that contains the EICAR (Standard Test File for Antivirus Scanning Methods) characters, as it contains escape characters such as " ", "()", "[]". I need a help to identify…
-
4
votes2
answers90
viewsHow to identify when someone is uploading to the page?
I need to refresh the page every 5 minutes, but I have a form for sending files on the page and are usually large files. Is there any way to identify when someone is uploading a file with…
javascriptasked 10 years ago Carlos Pereira 1,190 -
4
votes1
answer97
viewsIn which part of the application is it more appropriate to reorder an array (database, server application, client code)?
Suppose, in a query to the MYSQL database, I need to take the last 1000 dice released, however, within these displayed results, his order must be growing (and not decreasing, as would happen in the…
-
4
votes3
answers1585
viewsBackground image 100%
I always had this curiosity, how to leave the background image 100% according to the monitor ( We all know that there are several measures). So I was told that it would be a script in JS or jQuery,…
-
4
votes1
answer169
viewsDifferent layout on another device
My layout looks different on small devices, already tried to add a ScrollView to solve this problem and I got no results. Follows the prints application running on different devices: Resolution 720…
-
4
votes2
answers3135
viewsHow to add with jQuery data in a table?
How to obtain with jQuery the sum of all the fields of class="subtotal1" returned from the database? <?php while($M_P = mysql_fetch_array($Dados_Produtos)) { ?> <tr class="somatoria">…
-
4
votes1
answer110
viewsHow this expression 'a' <= c <= 'z' is evaluated in Python
I would like to know the evaluation order of this expression in Python: if 'a' <= c <= 'z': # c é uma variável de tipo `chr` print("Ronal... D'oh!")
-
4
votes2
answers1687
viewsPHP mail() function
I am trying to send an email via PHP with HTML attributes, an email formatted with images and style="" or classes. I tried to use Phpmailer, but without success, so I resorted to the mail() function…
-
4
votes1
answer641
views -
4
votes1
answer876
viewsEncapsulate Tclientsocket connections in Multithreads
I have a variable number X of electronic equipment (Weather stations) in my local network, each equipment provides a Serversocket connection with an IP and a specific Port, I have an application…
-
4
votes1
answer4024
viewsSet the selected value in a Selectlist (Dropdownlist)
I have a list of vehicle models: private List<ModeloRastreador> modelo = new List<ModeloRastreador>(); add the result that came from the bank foreach (var m in modelo) {…
-
4
votes1
answer723
viewsjson_encode - Invalid JSON
I created a PHP code to fetch information from a database (Mysql) and "transform" into JSON. I used the json_encode for such. The output JSON seemed to be correct, but when I use some JSON…
-
4
votes1
answer975
viewsjQuery click does not work on results coming from $.post
I’m developing a delete button on the product form I have, it works like this Category 1 (Radio Button) Category 2 (Radio Button) After selecting a category, it sends a command jQuery for the…
-
4
votes1
answer77
viewsSense/NET: Installation and programmatic configuration
I am currently working on solutions that require the storage of files uploaded by users, associated with these files and making them available to other users and common maintenance tasks (clean-up,…
-
4
votes1
answer159
viewsMenu with side banners
I have been working on a project that requires the implementation of a request that takes advantage of the white spaces to be placed advertising banners. I deal with a structure already determined…
-
4
votes1
answer241
viewsInner Join between two tables
I tried it this way but it’s wrong SELECT * FROM produto INNER JOIN familiaproduto ON familiaproduto.idfamiliaproduto = produto.idNomeProduto INNER JOIN qualitygate ON (qualitygate.idQualityGate =…
-
4
votes1
answer5739
viewsIs it possible to generate a table script from an SQL command?
I would like to generate a table creation script, from an SQL command so I could build a program that was able to clone tables. I am using SQL Server 2008 R2 and need to implement a table cloning…
-
4
votes2
answers1532
viewsSend request get and receive data
According to Pagseguro, I need to do a GET and then receive the data that comes in XML format Documentation. I’m caught up in that part: To consult a transaction notification, you must make a…
-
4
votes1
answer248
viewsChoosing encryption in SSL
How can I define exactly which encryption I will use in the routine below? I want to define for example that the encryption to be used is the AES, or DES, or 3DES... // Setup truststore KeyStore…
-
4
votes1
answer255
viewsDifferences between Rcurl, httr (R) and requests (python) when making a POST
I was wanting to access a page that gets you by clicking "Displays all the above documents" at that link. The company I took is just an example, I have no interest in it. I tried to resolve this…
-
4
votes2
answers1234
viewsHow to generate a file in the same exe directory
I am generating an XML file and I want it to generate with exe. XmlTextWriter writer = new XmlTextWriter(@"c:\dados\filmes.xml", null); instead of putting the directory to save with exe.…
c#asked 10 years ago Bruno Rodrigues 394 -
4
votes2
answers6760
viewsError " An error occurred while Processing your request. "
I developed a MVC C# application for JSON reporting in my localhost it works normally, to query because it takes 2 to 3 databases depending on the report, but when I host the application in Azure,…
-
4
votes1
answer201
viewsCloud IDE for C# ASP.NET development
Does anyone know any IDE in cloud for ASP.NET C# development? I read something about a CODERUN, but I think it’s no longer active, someone has some suggestion?
-
4
votes1
answer404
viewsAn image on two Ivs
I am currently dealing with a project and using Bootstrap v3.2.0 as the main tool. My layout follows the single page line, and each topic is approached as a window to the user, with all available…
-
4
votes2
answers823
viewsDplyr and gsub: how to replace parts of one column with another
I have the following data-frame: xis <- data.frame(x1=c("**alo.123", "**alo.132", "**alo.199"), x2=c("sp", "mg", "rj"), x3=c(NA)) I would like to create a new column, using gsub as follows: x3[1]…
-
4
votes3
answers517
viewsHow is the life cycle of an application until a release with Subversion is released?
I was about to ask a question like that: What "branch", "tag" and "trunk" really mean? I read and still have doubts about the practical operation of branches and tags. About the standard/recommended…
-
4
votes2
answers1711
viewsCorrect way to perform a dynamic UPDATE with PHP in Mysql
What is the right way to accomplish update dynamic? the big problem is being dynamic, if I pass only the first parameter and others are not changed. What is the best way to leave this update only…
-
4
votes2
answers1762
viewsHow to return the position of an element in the Hashset?
I have the following structure: HashSet<Contato> contatos = new HashSet<Contato>(); How to return the position of a particular Contact element that is contained in the Hashset? I was…
-
4
votes3
answers9179
viewsIntegration with SIGEP Post
I need to integrate with the SIGEP Post API just to generate the tags. I am using the ready-made Github module (https://github.com/stavarengo/php-sigep). It makes the connection normally, but the…
-
4
votes2
answers299
viewsGet XML tag data
I have an XML with the following format: <dados-cad> <nome>Wender</nome> <data>2805094</data> <code>311</code> </dados-cad> How do I in PHP to get…
-
4
votes2
answers2934
viewsSearch for nearby strains
I am implementing a system as an online delivery, the customer will enter the tool and put his ZIP code, with this the system should inform all restaurants/ companies, next to it. I was wondering if…
databaseasked 10 years, 1 month ago Gabriel Duarte 565 -
4
votes3
answers3768
viewsUsing Redis in practice
I’m having trouble understanding in practice where to use Redis in an Ecommerce, for example. I’m reading a book but I can not understand what I have to take into account when deciding whether to…
-
4
votes1
answer925
viewsTime access restriction with php
I want to develop a security system, which serves both for contact form and login, the intention is that it is an additional to the use of CAPTCHA, or in some cases a substitute. The logic is as…
-
4
votes8
answers12405
viewsHow to switch between true and false checked input?
I have this code and would like to switch between true and false the attribute checked input. Strangely is catching the id of label because the web designer superimposed the label at the input.…
-
4
votes1
answer1713
viewsForeign key on Mongodb
I have the collection users and the collection shopping The ratio is 1 user to N purchases where each purchase is a document. What I intended was, when making a findOne in the users table, would…
mongodbasked 10 years, 1 month ago Filipe Moraes 8,737