Interesting questions
-
0
votes1
answer36
viewsAdapting column posts using Flexbox
You guys all right? Next I have a site I need to call the latest posts from a category id=3 within 2 rows with 3 columns in the home, something that would be very easy using bootstrap repeating 6…
-
4
votes1
answer1324
viewsConvert numeric date to R
I imported a JSON table for R and the dates are in Unix format. Example: data <- c(1436904192, 1490717463, 1491924165) How can I convert this entire column at once to the date format 14/7/15…
-
0
votes1
answer67
viewsDagger 2 does not generate components
Every time I try to give build in my project the following error occurs: Error:Execution failed for task ':app:compileDebugJavaWithJavac'. java.lang.NoSuchMethodError:…
-
1
votes1
answer420
viewsCan you tell the size of an array in Visualg?
para i de 1 ate array.length faca escreval("Falta ", i, "?") leia(falta[i]) i <- (i + 1) fimpara For example, in Java it is array.length.…
-
1
votes3
answers227
viewsWhat is the pattern represented by this class called?
I wonder what kind of class this is DaoDeAutenticacao, whose skeleton I wrote down. Despite the name I don’t think it’s a DAO (Data Access Object), however it is defined, and yes something else (a…
-
1
votes1
answer148
viewsselect like that returns a Sting without line break
I am using the following query: select distinct con_destinatario from tab_conhecimento where con_destinatario like '%CALLE%' order by con_destinatario; and get several results of this type: A.S.…
-
1
votes1
answer73
viewsRe-write url with htaccess
For lack of experience, I’m having difficulty rewriting my blog url, I tried as below: http://www.meusite.com/blog/article.php?a=3&v=5&at=teste-do-primeiro-post In the end I would like the…
-
1
votes0
answers17
viewsError picking Phase name - IONIC
Good evening, I am developing an app in Ionic, I created the function to check the correct answer, but in the line that would appear the area being displayed…
-
5
votes1
answer687
viewsCould not create a System.Object type constant value. Only primitive types or enumeration types are supported in this context
I am trying to make a query in LINQ, and is returning the following error message: Could not create a System.Object type constant value. Only primitive types or enumeration types are supported in…
-
0
votes1
answer169
viewsreplace symbol by space
I need to replace the signal + for %20 Example : São+Paulo for Are%20Paulo the search is on Laravel with knockout…
-
0
votes1
answer71
viewsFormatting textbox
Hello, I’m having a formatting problem in the text box which is as follows I am using the following code to format the text box according to the phone number If Len(numtel) = 11 Then CaixaTxt.Text =…
-
0
votes1
answer45
viewsObject Orientation Is my idea of connection correct?
I want to register something in the database using object-oriented PHP (I’m actually learning) and came across a code duplication problem (every function I would have to create a new mysqli, and see…
-
0
votes3
answers262
viewsBrowse array to find a particular index
I have the following code JS: var botao = document.querySelector('input[type="submit"]'); botao.addEventListener('click', function(e) { let form = document.querySelector('form'); let ipt = { nome:…
-
0
votes0
answers110
viewsPersist child objects with parent id 1:N
Guys I’m having difficulty in relationships with Hibernate, I have a 1:N relationship between Provider and Address (1 provider may have N addresses). My problem is this, when I try to persist a…
-
3
votes2
answers145
viewsdataGridView1_CellDoubleClick does not work!
I have the simplest function in the world and I can’t make it work. By giving 2 clicks on any cell of my datagridview I want to display the message "1" but it’s not working! What’s wrong? Look at my…
-
0
votes0
answers39
viewsR link between tables by date.frame
Hello! I have two tables in the database and they are linked by a FK, as I create a third data.frame with the data of both tables linked by FK. I mean, I have: dataframe1 <- tbl(con,…
-
1
votes1
answer114
viewsData insertion with PHP OO (Similar to Entitymanager.persist (Object) java manager)
I would like a tip on how to loop to insert an object into the mysql/ postgres database ... Example class User { // PRIMARY KEY public $id; public $login; // PRIMARY FOIREIGN KEY public $people;…
-
7
votes1
answer339
viewsHow to declare constants in R
when I went to reproduce the example of the question "How to turn a string into Date format in R?" the command tab<-readHTMLTable(u,header=T,skip.rows=1) failed. The error happened because in my…
-
15
votes4
answers31096
viewsWriting and reading file via Javascript
It is possible (if, how) to do the following method with Javascript? The person type in a form some arguments, by clicking submit it will run a Javascript code, in this code the function will take…
-
2
votes2
answers134
viewsProgram completion condition in C!
I have a program in C where the output should be the average of the numbers typed and how many of these values were typed are larger than the average. the program receives up to 100 F values, where…