Interesting questions
-
2
votes2
answers238
viewsHow to compare only the date with Date objects?
I want to create a function group that compares dates in Typescript. So far I have the following: function amanhaOuDepois(date: Date): boolean{ if(date > (new Date())) return true; return false;…
-
0
votes1
answer152
viewsIntermittent Error (could not obtain Ole control window Handle) Delphi
Good morning, I have an application that runs on 8,000 machines, however, I’m having an error in a small portion (average of 100) every day. I get msg (could not obtain Ole control window Handle)…
delphiasked 8 years, 11 months ago Rodrigo Dias 1 -
3
votes1
answer50
viewsCode doesn’t do multiplication. What am I doing wrong?
I’m trying to do the multiplication, but it just doesn’t show up the result of the calculation, which is wrong? #include <stdio.h> #include <stdlib.h> #include <string.h> void…
casked 8 years, 7 months ago Clarissa Galvao 43 -
3
votes1
answer106
viewsHow to make a MVC 6 application available (Aspnet 5)
I worked with Asp.net for a while and I don’t have much knowledge on the infrastructure part, I always published my apps by visual studio and then on the server, I added a new application by IIS,…
asp.net-mvcasked 11 years ago Kevin 470 -
-1
votes1
answer99
viewsChatbot Telegram: Multiple conversations and messaging confusion
I’m making a chatbot in java on Telegram, everything flows normally, but when more than one person starts interacting with the bot, it stops working for other users, and it only works for one. I…
-
0
votes1
answer652
viewsData update in the angular refresh database
I wanted to know how I do so that every time I update the data in the database it updates the Component on the angular or refresh page, or better that the service is in real time. I’ve seen several…
angular typescript asp.net-core angular-materialasked 6 years, 4 months ago Luiz C. de Souza Javorski Jr 24 -
0
votes2
answers1981
viewsProblem to redirect with javascript (window.location.href)
Hello, I wish users can only access a certain area of the site if they have an access password. my code is this: function redirect() { var pass; pass = prompt("Qual a palavra mágica?"); if (pass ==…
javascriptasked 8 years, 9 months ago Felipe Augusto 3 -
0
votes0
answers219
viewsDjango is not reading the Static statistic files
Well, it was all right until a certain moment. Then I don’t know what happened, or if I put something wrong and nothing else is working. Django stopped reading the static files. When I try to enter…
-
0
votes1
answer166
viewsPass ID to modal via ng-repeat Angularjs
How to take the line ID (Prod.productId) on ng-repeat and switch to modal to update the record. It must be something with ng-click on the button but I’m not finding any example. Someone could give a…
-
0
votes1
answer74
views -
2
votes3
answers5297
viewsJDBC connection to Mysql
I’m learning how to develop java and I’m trying to advance my studies to understand how to make a database connection, but there’s some problem that I’m not able to identify. Below the error written…
-
-3
votes3
answers224
viewsVariable becomes string without reason
I made a program where one should guess a number, and in the end it works normally, but I ended up encountering a somewhat strange event. In the code I transform a string with a number inside, in a…
-
0
votes1
answer30
viewsAzure backend with C#. Create a new field in a table
I have a backend built in C#, with Microsoft Azure and SQL Server database. In order for me to add a new field to a table, what should I do? It would just go in the designer of this table, via…
-
1
votes2
answers283
viewsx-axis for time series in ggplot
I have a graph with the following syntax in ggplot n <-data.frame(x = c(NEP$NEPeleitoral), y = c(NEP$`NEP parlamentar`), z = c(NEP$anoeleicao)) ggplot(n, aes(x = n$z, y = n$x)) +…
-
-3
votes1
answer216
viewsLoop in javascript with ranges
I need to make a loop where at each iteration it wait 2 seconds until the next. I tried with setInterval, but saw that it does not work as I want... For it is asynchronous, so the loop runs normal,…
-
3
votes1
answer223
viewsOverride Property() in Child Class
A few days ago I asked a similar question to this, however, the method employed in creating the property was via decorators (@property and @name.setter). Here I am creating the property via function…
-
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 9 years, 10 months ago Otavio Fagundes 978 -
-1
votes1
answer250
viewsReplacing the csproj is a problem?
For the second time, man .csproj.user was detonated. I don’t know why this has happened or what can influence this file. Well, this is a new project I did, using the .Net Standard. When I open the…
-
1
votes0
answers89
viewsNetworkerror: 500 Internal Server Error
I have a code that forms the user’s profile screen. Next to the user’s name he has the edit option, that when clicking opens an inline Edit (form-x-Editable.html). Even in this part is working…
-
2
votes1
answer1285
viewsAlignment of vertical text
hello, I’m trying to align a text vertically, but the code is not working. It is divided into 2 columns and the column with the image is larger the text is at the top html: <div class="col-md-12"…