Interesting questions
-
2
votes0
answers54
viewsWPF and MVVM Standard, doubts
I’m studying C# and I’m having to develop a WPF application with the MVVM standard. One question I have about this pattern is in relation to events, I have read in some places that it is not…
-
1
votes2
answers1306
viewsHow to use exponent in Pascal?
I have a problem to solve, where the PG formula uses exponent other than two (squared), and cannot use sqrt(). How can I resolve this in Pascal in an intuitive way? I know you can’t use it ** also.…
-
-1
votes1
answer100
viewsI’m getting this error while trying to connect mysql: Fatal error: Uncaught Error: Call to a Member Function prepare() on null
php connection. try{ $conn = new PDO("mysql:host=$servidor;dbname=$banco;charset=utf8", $usuario, $senha); return $conn; }catch(PDOException $e){ throw new PDOException($e); } base php. require…
-
5
votes2
answers333
viewsLabels for Plot box in ggplot2
I have this graph created by the function geom_boxplot. Would you like to label each boxplot correctly. What am I doing wrong? I am using the wrong factor?…
-
0
votes1
answer112
viewsGit Manage Branches
I’m looking to manage the new features branches. Currently I can see from Gitlab how many commits the branch is in front of or behind the project’s default branch. However I would like to know if…
-
0
votes1
answer104
viewsLogin React Native + Firebase error using "Switchnavigator"
Error (Undefined is not a Function (near '...(0, _reactNavigation.Switchnavigator)...')) when compiling application. I need that when logging in is directed to the screen "Main". import React from…
-
1
votes2
answers86
viewsWhat is wrong with this method?
I’m doing a method of adding Users, and just one thing isn’t working, the function that: "Adding friends with the same mobile number will not be allowed." Ai need to check the users already added,…
-
1
votes1
answer97
viewsProblem saving
Only a form that is returning me this mistake, the question that I do not know what can be or how to fix, some ask to cascade the relationship that is already. Nhibernate.Transientobjectexception:…
-
6
votes1
answer165
viewsHow does the "+" operator work in Javascript?
Recently I had seen on the website of MDN Web Docs that it was possible to convert a String in a Number even in the example below: let n1 = "10"; console.log(typeof n1); //=> string ("10") The…
-
1
votes2
answers648
viewsReload main script when completing ajax request
I am developing an application in which I have some "views" that are loaded in my <section id="view"> through ajax. The view loads normally, but functions that have been programmed with jQuery…
-
13
votes1
answer338
viewsWhat is Leaky abstraction (abstraction leak)?
I was listening to a podcast and the term arose Leaky abstraction. The example given is something like this: A system uses a relational database and has a generic class for data access, at a given…
-
0
votes1
answer88
viewsDoes the shuffling function have traps not easily perceived?
The function shuffle receives as input a array and the shuffle. // function shuffle(a) { // atribui a variável n a quantidades de elementos da array a. n = a.length; // Percorre a array a da posição…
-
3
votes1
answer1696
viewsHow to configure Tomcat in windows 7?
How to set up Tomcat 7 in windows 7? You need to configure java environment variables?
-
-1
votes1
answer66
viewsMargin does not push content to the center
I recently asked a question because my margin top did not push my div down, following the example in the previous question I was able to solve, but now, using the same explanation of the previous…
cssasked 6 years, 10 months ago Fernando Munhoz 163 -
4
votes1
answer859
viewsHow to convert String that contains String quotes even using replaceAll?
I have a String as in the example below String a = "Meu pai é um Grande "baio" de fada"; I want to make it a string like this String a = "Meu pai é um Grande \"baio\" de fada"; how do I do this…
javaasked 10 years, 8 months ago Tiago Ferezin 1,567 -
0
votes1
answer33
viewsProgram that receives a series of notes needs to disregard an invalid entry
Make a program that receives a series of student grades and then print them out. However, the program cannot accept notes greater than 100 or less than 0. If the user types a wrong note, they should…
-
-1
votes1
answer66
viewsMargin does not push content to the center
I recently asked a question because my margin top did not push my div down, following the example in the previous question I was able to solve, but now, using the same explanation of the previous…
cssasked 6 years, 10 months ago Fernando Munhoz 163 -
-1
votes1
answer48
viewsscanf reading the variable twice!
#include <stdio.h> #include <stdlib.h> /*Faça um programa onde o usuário digita um valor, e imprima na tela todos os valores entre 0 e o valor digitado. */ int…
-
1
votes0
answers117
viewsError using getSeries function to pull data from BACEN
Could you help me? I need to download data from the central bank using this routine here: library(SSOAP) library(XML) library(RCurl) wsdl <-…
-
1
votes2
answers3852
viewsWhy does Bootstrap 4 datepicker API not work?
I’m creating a calendar, somewhere in the view, I needed an input for the user to enter a date. Since I’m wearing bootstrap 4 and bootstrap has several Addons for datepickers, I used one of them. On…