Interesting questions
-
-1
votes1
answer479
viewsHow to limit a composite query in Firebase/flutter
I made a simple query this way and works correctly, it saves only once in the database, not repeating the same value. final QuerySnapshot result = await Future.value(Firestore.instance…
-
2
votes1
answer48
viewsResult Hierarchy prioritization in a view (Largest Record and Order specifies within the largest record)
I am putting together a structure within a view where I am working with market levels (retail segment). Following this idea I have a product that can contain more than one current registration; it…
sql-serverasked 5 years, 1 month ago Bruno Araujo Santana 21 -
2
votes2
answers422
viewsCapture words using Regular Expressions
I have the following text example: Meusreportspdf001-Capa-Disclaimer-22012017 I want to capture with php regular expressions the texts "Cover", "Disclaimer" and "22012017". I’m trying to use the…
-
-1
votes4
answers687
viewsinclude_once has no access to properties, variables or functions of the included file
I’m creating a generic file where several systems can use the same libraries, thus generating a much smaller package. In this generic file there is a function where I do the necessary file includes.…
phpasked 11 years, 2 months ago Douglas Bernardino 698 -
5
votes2
answers476
viewsHow to pass parameters to an array in javascript?
How could I dynamically pass the information to the array down below? Example: I have a 40 coordinates listing in a text file, for example, or in a database Access, how do I pass these coordinates…
javascriptasked 8 years, 11 months ago Jovani 366 -
2
votes1
answer44
viewsDoubt with "minor" in Visualg
I started a course of algorithms and I like it a lot! But lately I have been quite complicated with the question of "minor" in some situations. Follows the question: Create a program that reads the…
visualgasked 4 years, 5 months ago Lucas Silva 23 -
1
votes0
answers111
viewsDoes the Jlayer Basicplayer API not open mp3 with Inputstream?
Hello everyone would like to know what’s wrong with my code. The Basicplayer library opens mp3 if you use File but do not open mp3 using Inputstream! That’s right? public class BasicPlayerTest…
javaasked 9 years, 6 months ago Marcos Marcos 19 -
-2
votes0
answers25
viewsPython installation hangs when installing "windows build tools" by NPM
I’m trying to run a project, but the same one gives several errors without python, ok, I installed: npm install --global windows-build-tools also tried: npm install --global --production…
-
0
votes0
answers35
viewsDifficulty generating a Bundle.js file
I’m testing the Babel For this I have a file 'matematica.js' which for now exports only one function const soma = function(a,b){ return a - b } export default {soma} This function is imported into…
-
1
votes1
answer7205
viewsValidation of input with "real time" query to the database, to check whether the information is already registered or not
I would like to do a form validation in real time. For example, I have a input name="TituloFilme" type="text", i in my database I have the following columns ID | TituloFilme . When I am registering…
-
0
votes1
answer41
viewsASP NET Core Dynamic value "Route"
Can the route parameter be dynamic? for example I want that when Uf is "sp" I put sao-paulo, and so on with the other states. Because then when I load the aciton it loads the url as I reported it.…
-
4
votes3
answers3072
viewsHow do a div or span occupy only the size of its internal content?
How can I make the div or span occupy only the space of its internal content? When I create a div here, it always takes up 100% of the space. I tried this but it didn’t work: div{ padding: 10px;…
-
3
votes1
answer1247
viewsChange Actionbar button icon
I have this layout with this button of heart , it has as inside of the event of click of this button I change the icon I was hoping to trade my heart for this heart when you click the answer below…
androidasked 10 years, 8 months ago Ilgner de Oliveira 1,098 -
2
votes1
answer718
viewsHow to create button in a Simpleadapter with event click excluding item
I set up a list in an android app that is a simple list using SimpleAdapter. What I need now is to delete the item from the list, but I don’t know how I would do it because I couldn’t get the…
-
-1
votes2
answers62
viewsDatabase Register
My database has this structure. I would like to know how to create the record on PEOPLE and at the same time get the ID and save it on PESSOAS_FISICAS. I created this command for such, but it didn’t…
-
0
votes1
answer23
viewsHow to join a Tablayout in Activity with a Viewpager within a Framelayout
I am working on a project where I need to join a Tablayout that is on Activity with a Viewpager that is inside a Fragment in the Activity Framelayout. I’m trying everything, but my brief doubt is:…
-
0
votes1
answer24
viewsHow to extract information from a video when uploading with Fileupload?
in the systems I am doing need to prevent the upload of a video with more than 1 minute and inform the user. Any way to do that? Thank you.
-
4
votes1
answer616
viewsThread problem
public class ThreadTest implements Runnable { private String word; private long time; public ThreadTest(String word,long time){ this.word = word; this.time = time; } public void run() { try {…
-
0
votes0
answers30
viewsHow to correctly type component props (React) to receive (a and b) or (c and d)
An opinion/tip on the typing of props: Context: An app/site with a list of podcasts in the home, dynamic page for each podcast individually, and in both, play buttons, that plays the relevant…
-
1
votes0
answers170
viewsWeb scraping with R 2
I wish I could create a role in R to capture the information from this site http://www.fns.saude.gov.br/visao/consulta/simplificada/filtro.jsf being that it passes me this consolidated information…
rasked 8 years, 7 months ago Luis Claudio 11