Most voted questions
150,413 questions
Sort by count of
-
7
votes2
answers2817
viewsMerge two tables with PHP
I have two tables in the database, one listing the posts and the other of registered users. Columns I have in the table of posts: ID || TEXTO || ID_USER || Columns I have in the user table: ID ||…
-
7
votes2
answers57495
viewsFormatting a double in java
I would like to know how to keep the variable double with 2 houses after the comma. Below I have an example, when transforming a String in double if it has values after the point is kept the 2…
-
7
votes3
answers2508
viewsHow to work with OCR to recognize photographs
I am currently working on my Course Completion Work and the theme involves OCR. I did some research and found the Tesseract, I also found libraries in Nuget for him (I’m using C#). The problem is…
-
7
votes1
answer625
viewsDoes using Timer class features (System.Timers) cost a Windows service?
I need to do a database check once a day. I’m thinking of using the class Timer (System.Timers). The time contactor feature will burden/lock the other system services? This solution is advisable…
-
7
votes3
answers8188
viewsValidity of a QR Code
I have a QR Code that leads to a link. This link, I suppose, will be on the air until 2015. Of course, when the link doesn’t exist, this QR Code will get you nowhere. My question is: Does this code…
qrcodeasked 10 years, 2 months ago Felipe Viero Goulart 3,693 -
7
votes1
answer642
viewsRelative sidebar in responsive layout
Solved, look at my answer * I asked this question in the gringas, but I don’t think I could express myself well there. Ask there: https://stackoverflow.com/questions/25481613/side-menu-align I have…
-
7
votes2
answers4616
viewsLogin with network user(AD)
I need to log the user into my system, with the user who is logged in to the company network. I’ve never done this and I’m having doubts about how to get users on AD. I’m doing research on the net…
-
7
votes2
answers1104
viewsDoubt how to configure Spring Data with Hibernate
How to set up Spring Data + Hibernate Hello everyone, I’m new here in stackoverflow and also in java web development. I am etudando some things of Spring Frameork and I am with a doubt of how I can…
-
7
votes3
answers151
viewsDoubt in select de sql
So ... I have a table that has a sequenc, one num, one dt_inicial and a dt_final. My question is: how to make one Select that takes the data between the dt_inicial and dt_final showing the num among…
-
7
votes1
answer12118
viewsBreak lines in CSS without using extra elements
I have 2 elements inline and I need to get the line broken without me having to add display: block; or if possible add but not occupy 100% of the line: <div class="box-error-page cb"> <h1…
-
7
votes1
answer1542
viewsUpload image data via ajax
<script type="text/javascript"> $(function(){ $("#oformulario").submit(function(e){ e.preventDefault(); var nome = $("#nome").val(); var email = $("#email").val(); var obs = $("#obs").val();…
-
7
votes3
answers941
viewsWhat is the purpose of the daily meeting in the SCRUM methodology?
To my superficial glance towards ageic methodologies and based on management books, a recurring or fixed meeting followed by short breaks are useless. The question is: What differentiates the daily…
asked 10 years, 2 months ago Rogers Corrêa 2,596 -
7
votes1
answer266
viewsFinding Unknown Heroes in Stack Overflow using Data Explorer
I know there’s no Unknown Hero here at SOPT, but I know there are several at SOEN. My intention is to sort the percentage of responses accepted without votes of the people who hold this medal. And…
-
7
votes2
answers5650
viewsHow to Direct Commands to the Linux Python Terminal
I need to create a script in Phyton that when executed is via mouse click or keyboard 'enter', it opens the linux terminal itself and execute any command inside it. I have already managed to get him…
-
7
votes2
answers822
viewsWeb application running in background
I am working on a Java web application, and I am creating and planning some specifications. In some specific modules I need some runs running in the background on the server. For example, the user…
javaasked 10 years, 2 months ago Erico Souza 2,188 -
7
votes3
answers6508
viewsDifference in postgresql date months
I need to catch the difference of two months dates, for example 16/03/2013 until the date 16/07/2014. If I do select extract('Month' from age(data1, data2)) What will return is a result 4, as it…
postgresqlasked 10 years, 2 months ago lionbtt 1,211 -
7
votes2
answers1242
viewsHow to organize the codes in Angularjs?
I have several modules with Angularjs angular.module('modulo1', ['ngTable']); angular.module('modulo2', ['ngTable']); angular.module('modulo3', ['ngTable']); window.app = angular.module("app",…
-
7
votes3
answers9603
viewsCreate custom page for user registration
I need to create a custom page for registering users in wordpress. In addition to the traditional form, by the URL /wp-login.php?action=register there is some way to create a custom page and call…
wordpressasked 10 years, 2 months ago Mateus Carvalho 1,494 -
7
votes3
answers2562
viewsSort SQL by 1,2,3 instead of 1,10,2,3
I have a name field in a table that has the following data: 1-Course 2-Course 10-Course When ordering by name it returns 1,10,2. How to make order to bring: 1,2,10 ? Ps: The field is NVARCHAR.…
-
7
votes2
answers917
viewsCheck if parenthesis has been closed
I need a Regex to check inside the string, the parenthesis has been closed. This is my example: /regex/.test("fdfdfdf(ddsd"); //retorna false, porque o parentese nao foi fechado;.…
-
7
votes3
answers367
viewsjQuery - Typical duplicate use situation of the same code. How to proceed?
Being here doing my sites on php/mysql/html/css and learning more and more about jQuery I found myself in the situation where I should use the same code for two ids distinct. How to proceed when you…
-
7
votes5
answers9265
viewsSearch judicial process data on the TJSP website
I am developing an ASP.NET application with C# that will need to consult the proceedings of online lawsuits. So far the only way I could find to get this information was to do the direct…
-
7
votes3
answers1242
viewsTransforming jQuery code into Javascript
I have a problem similar to that : Insert text - Stack But in my case I need the code in pure Javascript and I have no idea (novice in Prog. web) how to change from jQuery that they gave as a…
-
7
votes2
answers36959
viewsHow to generate an executable program . jar in Netbeans?
I made an application in Java and liked, now I need to get executable to show my colleagues. How do I get the executable?
-
7
votes2
answers1318
viewsCalling C++ from Javascript?
I have a simulation in C++. I passed this simulation to Javascript so that the user could play with it in the browser, but it became much slower. If possible, therefore, I would like to call the…
-
7
votes1
answer226
viewsServer Side rendering need for javascript content - Angularjs
Knowing that from this year google Crawler performs javascript, considering the indexing of a content that is displayed using Angularjs, there is still the need for a version of the same content…
-
7
votes2
answers1416
viewsWhat is the behavior of static variables in . NET?
What is the behavior of static variables in . NET? These are stored in heap or in the stack?
-
7
votes1
answer4635
viewsHow to recover query result variables via Ajax in PHP?
I made an appointment via Ajax that returned me the variables within the PHP: // Variaveis $nome = $Fetchi['nome']; $email = $Fetchi['email']; $tipo = $Fetchi['tipo']; $senha = "Digite uma nova…
-
7
votes1
answer169
viewsHow to fix rigid "bodies" using Physx
How can I fix two rigid or dynamic "bodies" in a way that where one goes the other goes together as fixed as possible with Physx. I’m using the class PxFixedJoint but I didn’t like it. As you can…
-
7
votes2
answers3404
viewsTag hgroup is unusable?
I was watching some video-lessons on HTML5 and came across the tag hgroup which serves to group h1,h2..., reading that this morning I saw that she was removed from HTML5. Does that check? it is no…
html5asked 10 years, 2 months ago Felipe Viero Goulart 3,693 -
7
votes1
answer575
viewsDisplay Facebook images with a certain hashtag via API
I am developing a web application, and my client asked me about appearing in his application, in some area of the site, images of Facebook, with the desired hashtag. Example, it will cover a certain…
-
7
votes1
answer358
views"Geographic" location of devices in indoor environments
In external environments, the geographical location, made by GPS or triangularization with cell antennas, is already practically a "problem solved", counting on resources and facilities available in…
mobileasked 10 years, 3 months ago Luiz Vieira 34,160 -
7
votes2
answers2443
viewsHow to print a web page using the backend Rails?
It would be possible to do this? For example: I point a page to my application, and she keeps a image of the page indicated. A print.
-
7
votes2
answers653
viewsHow to generate PDF with little memory on the server?
I’m passing a table from my comic to PDF and I’m using the TCPDF. Only that first I have to pass my table to HTML and only then I can pass to PDF, which entails use of a lot memory and I have few…
-
7
votes3
answers23785
viewsHow to make PHP and Mysql paging?
I want to make a pagination on my blog. I’m not going to have 50 posts on the first page, so I want to limit the page to the last 15 posts added and then by clicking on the "Older posts" button will…
-
7
votes1
answer523
viewsWhy is it risky to run Java applets in browsers?
In my company, we have two websites that need a Java applet (to authenticate using digital certificates). And these two sites give a lot of headache, mainly, whenever Oracle releases an update from…
-
7
votes4
answers30006
viewsLimit text display in PHP
I want to limit the size of characters that appear, but I’m not getting it. I use the: <? echo $row["catname"] ?> It takes a text from phpMyAdmin and shows, only I want to limit the display of…
phpasked 10 years, 3 months ago feliphe felix 629 -
7
votes4
answers20874
viewsHow to extract only numbers from a string?
I want to extract only the numbers of a CPF that is in a string in this format; 111.222.333-44 You have to return only: 11122233344…
-
7
votes1
answer204
viewsWhat does the "OR" operator do in an Enum?
What the logical operator | (or) does so in that Enum? public enum Status { Running = 1, Inactive = 2, Error = Inactive | Running }
-
7
votes1
answer3720
viewsThe.Leep() team with if/Else statements
Hi. I’m at an impasse. My goal is that if the user presses enter or waits 2 seconds it starts "Powerbit", but in an if/Else statement and I don’t know how to do it. Example: #(...) elif machine ==…
-
7
votes3
answers11791
viewsOverwrite a <button> to a <img>
The idea is to make a "tumbnail" where the play button is (centered) on the image... <div> <img src='imagems/imagem1.png'> <button>Play</button> </div> Thank you for…
-
7
votes3
answers2143
viewsHow to let Divs self-adjusting vertically?
I’m having trouble trying to leave some divs self adjustable vertically. There is the space needed for the div stay exactly below the one above it, but it does not rise, there is an empty space…
-
7
votes1
answer2260
viewsHow to include visual progress information in a Powerpoint presentation via VBA
I have a Powerpoint presentation and would like to build a program in VBA to count the slides and include in each of them a kind of "progress bar", in order to indicate to the public the progress of…
-
7
votes1
answer1359
viewsCreate AD user with C#
Does anyone have a code for creating user in the C# net ad? I’m new to C# development and I tried through the codes I saw here and I couldn’t
-
7
votes3
answers3288
viewsWorking with delay’s on Android. Best approach?
Doubt I recently needed the use of a delay in my application to run certain code, after some time. Searching "over the internet", I found some "Gambi’s", and I found a somewhat new approach for me,…
-
7
votes2
answers7019
viewsTkinter focus a window ignoring the back?
In my code there is a frame with a button and it is called "Open", when clicking "Open" another window will appear. The problem is that if I click on the window that this "Open" button again, it…
-
7
votes4
answers868
viewsHow to make Empty() accept the value 0?
I have a registry where I check if the fields form filled in, in some of the fields you can only put the digits from 0 to 9. But if the person puts 0’s as if she had not filled anything. This is…
phpasked 10 years, 4 months ago ivan veloso 2,900 -
7
votes2
answers2661
viewsWhat are the advantages and disadvantages of using transaction explicitly
Beyond security what is the advantage of using explicit transaction? In which situations is recommended?
-
7
votes2
answers577
viewsIs it good practice to keep foreign key columns redundant?
Consider that we have the models A, B, C and D, each one referencing to the above, ie, A has many Bs, B has many Cs and C has many Ds: Redundancy-free A | id | ... | ------------ | ... | ... | B |…
-
7
votes1
answer915
viewsValidation of business object avoiding/reducing use of if’s and Else’s
I have a problem where I have three types of employee (Funcioa, Funcionariob, Funcionarioc), all will be recorded in a table called Funcio and their respective relationships, however, these types…