Interesting questions
-
11
votes3
answers31819
viewsRandom number range in C
In a certain program, I need to generate a random value greater than 1000 (with a limit set by me to up to 5000 (maybe it’s still too high)). This unique code refers to a type of registration to be…
-
0
votes1
answer166
viewsError ordering Gridview with empty row column
There is an error here that I am not knowing how to get around, as my program reads a site, sometimes the site can escape from the pattern and end up leaving some empty things, so when my Gridview…
-
4
votes2
answers370
viewsHow to select from a night period (18hrs to 6hrs)
Description: Count how many times the action occurred in the night period considering the time from 18:00 to 06:00 in the morning. There is a better way to select this type without having to use or…
-
6
votes2
answers4450
viewsHow to use openssl_encrypt encryption method?
It’s been a week that I search in everything that is site but I can not understand, I’m very curious about the use of this function but I can not find anything that explains in a simple way, someone…
phpasked 10 years, 4 months ago Otavio Fagundes 978 -
1
votes1
answer291
viewsHow to load data into a combobox whenever registering new values
How do I make sure that each course registration is automatically updated the course combobox without having to close and open the application again? Ex: I register a course "Administration" and…
-
0
votes1
answer365
viewsGenerating PDF with MPDF from BLOB
Well I need to generate a PDF from a BLOB field saved in the database, my idea is to upload PDF transforming it into BLOB so as not to occupy disk space and facilitate the transport of the same. I’m…
-
1
votes1
answer17
viewsError: Call to a Member Function prepare() on null in
error trying to send data. public function __construct() { try{ $this->conn = new PDO("mysql:dbname=lic_database;host=localhost;","root","root"); }catch(Exception $e){ echo $e->getMessage(); }…
phpasked 5 years, 10 months ago Vitor Giovanny 59 -
3
votes1
answer488
viewsSlim error Badrouteexception
Checking the logs on the server found the following error: Slim Application Error: Type: FastRoute\BadRouteException Message: Static route "/client/schedules" is shadowed by previously defined…
-
-3
votes1
answer44
viewsHow to move between windows?
I’m creating a simple system just to learn a little bit about the Tkinter library. However, I stopped right here. The idea is to create several pages in the same code (I know that the correct one…
-
1
votes0
answers1099
viewsProduct Stock Control Model?
I am creating a system and in it I will create a stock control of products, where I will have to manage entry and exit of products and check the quantity of products in each entry and exit…
relational-modelasked 10 years, 8 months ago FernandoPaiva 1,562 -
2
votes2
answers3780
viewsHow to get the index value of a list in Python?
I’m trying to find a way to fit in a salary amount, which is my variable sal, at an interval. I have 8 intervals: $200 - $299 $300 - $399 $400 - $499 $500 - $599 $600 - $699 $700 - $799 $800 - $899…
pythonasked 7 years, 1 month ago Ana Carolina Esteves 71 -
0
votes2
answers77
viewsScroll through text and link word - Jquery
It is possible to select words in a long text and link them? Example: I want to select and link the words: donkey and walk. Note: Only 1 time, no repetition of links and each word for a different…
-
2
votes1
answer3406
viewsTNS-03505 - ORACLE tnsping
While trying to drip, using the tnsping. ex: tnsping UMEXEMPLO The following error appears to me TNS-03505: Failed to resolve name Which solution usually applies? EDIT: From other machines we…
-
0
votes0
answers135
viewsSend text together with Formdata Ajax file
I’m doing a test with the script below, for file upload: function uploadFile(){ var file = _("file1").files[0]; // alert(file.name+" | "+file.size+" | "+file.type); var formdata = new FormData();…
-
1
votes2
answers47
viewsHow to include a file that is inside another folder on the same server
I’ve seen several other similar questions here in the O.R., and outside the community, but none were really helpful, some options that in theory should have worked, but somehow didn’t work. I…
-
2
votes1
answer42
viewsI deleted old posts and the database was almost the same size
I have a database with news posted since 2015. I decided to delete the posts, leaving only the last 30 days. With this, I expected the database to reduce in size and this did not happen. Look how I…
-
1
votes1
answer166
viewsHow to increase the number of iterations of a function in R?
My problem is this, when I do the regression >mod<-glm(y~a+b+c,family=gaussian(link="log"), data = matrix) Warning message: glm.fit: algoritmo não convergiu > summary(mod1) ... Number of…
rasked 8 years, 6 months ago Márcio Mocellin 1,443 -
1
votes0
answers85
viewsEvolution of the code-controlled data model
In a scenario where the application is deployed for production through a pipe line run by an CI server, where the server performs the following tasks: Installs front end and back end dependencies.…
database relational-model automation continuous-integrationasked 10 years, 1 month ago Dimi Antoni Vargas 316 -
2
votes3
answers1161
viewsHow to send an object array type variable via AJAX?
I have the following object: var pessoas = []; pessoas = { nome: "julio", sobrenome: "Henrique", idade: 18, amigos : ["Pedro", "João", "Isabella"] } I send the friends array via ajax like this:…
-
1
votes1
answer259
viewsBootstrap form layout
I am trying to make a form with bootstrap in which will have a title field, a state field, a field for po content, field for tags and a boot. I happen to want to put the title field and the state…