Interesting questions
-
-1
votes1
answer28
viewsModifications made to my style tab are not updating on the page
I’m making a calculator that I saw on youtube and I’m having a problem that what I did in my style isn’t changing what I should change. I’ve tried some videos that teach you how to handle…
-
0
votes1
answer73
viewsInstallation phalcon-devtools
Good staff, I’m trying to install phalcon-devtools in xampp and I’m doing what the official documentation says to do Here. I already set up the xampp with the phalcon dll and I already did a mini…
-
1
votes1
answer63
viewsTidyr spread does not return to original data
Consider the data.frame: df_1 <- data.frame( a = replicate(6, runif(30, 20, 100)), b = rep(c(LETTERS[1:5]), times = 1, each = 6) ) Use of gather: library(tidyverse) library(magrittr) df_1…
-
0
votes1
answer26
viewsError while passing index of an array
Good night. I believe my problem is simple, but I found nothing to cure it. I’m doing a CRUD in PHP, using MVC, to learn how the language works. It turns out that the Mysql database works with date…
-
1
votes1
answer997
viewsAccentuation problem in postgresql with npgsql
I have a database postgresql raised with encoding SQL_ASCII and template0. When I try to select lines with accents like NAY gives error, but if the records have no accent works normally. Mistakes:…
-
1
votes1
answer46
viewsHow not to display levels without values using scale_fill_manual?
This is the data.frame for behavior playback: structure(list(CAATINGA = structure(c(2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L,…
-
1
votes1
answer192
viewsError while running python script
I made this program in python : //////////color.py #!/usr/bin/env python # -*- coding: utf-8 -*- class Color(object): string = { "RED": "\x1b[31m", "GREEN": "\x1b[32m", "BLUE": "\x1b[34m", "YELLOW":…
-
0
votes1
answer47
viewsWhy, when I compare 1000 and 500, is 500 always higher in this function in JS?
I wrote this function in Javascript that compares two numbers and tells me which one is the largest: function verificarMaiorNumero(x,y){ if (primeiroNumero > segundoNumero){ return primeiroNumero…
javascriptasked 8 years, 5 months ago Vinicius Batis 35 -
0
votes0
answers14
viewsTDD with Jest and sequelize - POSTGRES Migration error for SQLITE
I am implementing TDD with Jest in a Node with express application, my database is POSTGRES and I have several sequelize Migrations already configured, and for my test scenarios I am running these…
-
3
votes1
answer309
viewsR Delete data frame lines by condition
I have the following data set: Nome <- c("Laetia","Vouacapoua","Lecythis","Pourouma","Poraqueiba","Pseudopiptadenia", "Abarema"); I1 <- c(1,3,3,2,3,3,3); I2 <- c(1,3,1,3,3,3,3); I3 <-…
-
1
votes1
answer264
viewsHow to select more than one txt file with C#
I’m writing a C# application that needs to receive more than 1 text file and display the Filename of them in a MessageBox individual for each. My question is in this import of the files, I was using…
-
1
votes1
answer129
viewsHow to write data in firebase with Ionic?
i have an application that displays on the screen the latitude and longitude wanted to know how to record this data in firebase my home code is like this import { Component } from '@angular/core';…
-
2
votes2
answers2299
viewsMake all LI to the height of the largest using CSS
I have some elements <li> that I guide to stay inline-block. However, as the content of each <li> it’s different, they end up getting DIFFERENT HEIGHT. Kind of like this: However, the…
-
1
votes1
answer215
viewsStretch an element div over the entire length of the table
I have a table with many columns that leave the screen of the screen. Above this table I have a div with a h2. I’m not getting that div expands beyond the screen to cover the entire width of the…
-
-1
votes1
answer16
viewsHow to take a date through a form and insert it into the database
I have the following problem: I am not able to take the current time and insert it in the bank. <div class="container"> <h2>Registrando ponto</h2> <form class="form"…
-
0
votes1
answer52
viewsMagnetic effect
I’d like to use this effect on one of my projects. const ui = { btn: document.querySelector('.c-magnetic-btn') } const state = { bounds: ui.btn.getBoundingClientRect(), threshold:…
-
0
votes1
answer674
viewsListview occupy the entire screen
I have this listview main.xml <ListView android:layout_width="fill_parent" android:layout_height="fill_parent" android:id="@+id/praias" android:layout_above="@+id/adView" /> I was Wanting the…
-
0
votes1
answer71
viewsHow to change color in html
I am trying to change a snippet of HTML code to red, but the code below is not right. I thought that color="red" would work. Note: this is html embedded in javascript. When I remove the color…
-
3
votes2
answers515
viewsJava 8 stream - performance improvement
I am implemented a method that receives an integer value k (representing the amount of "vacancies") and two lists (p and q) of Integer and perform some operations. Using stream, check which elements…
-
2
votes1
answer39
viewsTexblock - Make a text change event
I’ve seen the property of TextBlock does not have an event when changing text. Is there any way to do an event when the text is changed? * Remembering that it is for WPF and not Windows Forms. This…