Interesting questions
-
4
votes1
answer279
viewsDo not let user have access to script data
I have a script generated in python and calls functions in R. At first it was developed for internal use, but now they are thinking of releasing for customer use. However, they do not want users to…
-
0
votes2
answers364
viewsHow to calculate the number of times a word appears within a sentence
I’m trying to create a code in which I have to count the number of times a word appears within a sentence, but after a lot of searching and searching about, I can only find codes that use the fgets…
-
1
votes2
answers119
viewsSQL connection to Dapper/Asp.net Core
I’m starting in Asp.net Core and I’m having difficulties to connect my Sql database. Below is my Model My class of connection appsetting.json startup.Cs Controller Error shown when trying to execute…
-
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 3 years, 7 months ago Lucas Silva 23 -
0
votes2
answers71
viewsposition elements on a grid
I’m trying to make a calculator and I’m not being able to let the round buttons get a little flat, also I’m not being able to leave the 0 the same way it is in the picture I wanted to know how to…
-
2
votes1
answer64
viewsHow can I "unskew" the background image?
Good morning, I am no expert on this and I am tired of looking for a solution to counter the skew given to the main container. Basically all the solutions that I have been able to understand so far…
-
-2
votes1
answer35
viewsWhat service do I use to receive data in AWS sent by MQTT?
Which service is recommended for me to receive data sent via MQTT protocol? Should I use Amazon MQ ? or the Aws Iot ? The data will be sent frequently 1 minute and can reach 200 messages at a time,…
-
0
votes0
answers19
viewsHow does the self parameter work in the class?
How self works in class? class Cachorro: def comer(self): print('Cachorro está comendo.') dog = Cachorro() dog.comer()
-
0
votes1
answer445
viewsChange the background color of a JTEXTAREA text
I am a beginner in Java and I am trying to create a function that changes the background of words, I took a print of the example as I would like it to be. What is expected is for a table to be…
-
2
votes1
answer105
viewsHow to sync multiple buttons to an event?
Good evening, my teacher of programming language asked us to make a program, that when calling the event Form1_load generate 200 buttons, until then I did, but I wanted to implement a function that…
-
0
votes1
answer387
viewsremove parts of a string and return the removed parts - Swift
How do I remove parts of a string and return those parts removed to another string on Swift? Example: var myString = "10setembro2017" let newString = myString.removeAndReturn(index:1..2)…
-
2
votes1
answer283
viewsres.render does not load . handlerbars within route - Node.JS and Handlerbars
Good night! I’m learning Node.JS and I’m stuck on the routes. I have the following codes. //app.js // carregando modulos const express = require('express') const handlebars =…
-
5
votes2
answers812
viewsGet previous element in foreach
It is possible to take an element from the previous to current position using the repeat loop foreach? For example, whenever I need to take an element previous to the current position of the loop, I…
-
-2
votes2
answers199
viewsChange the input Mask when the select value is changed
Good afternoon, you guys! I have a form and in it I have a select with the options (Phone and Mobile) and I also have an input for the user to fill in the number. I want that when the user selects…
angularasked 4 years, 4 months ago Sena Oliveira 364 -
0
votes1
answer117
viewsProblems with references and MVC
I have a project where it works. I needed to create another project in another place and I took advantage of what I already have. It turns out you’re making a mistake on the basis.Initialize(...)…
asp.net-mvc-5asked 10 years, 8 months ago pnet 14,727 -
0
votes1
answer226
viewsHow to make a single request with ajax and jquery?
I have more than 50 checkbox,when I click on it, it checked the state with jquery step pro ajax bring the data from the page "home.php", but the way it is like this, I have to duplicate the code and…
-
0
votes1
answer34
viewsHow to make a call from a file that contains an ajax form?
How I call a file that has the content of the conditions form? Html <label>SELECIONE UMA OPÇÃO</label> <form> <label><input value="A" name="opcao" type="radio">opcao…
-
0
votes2
answers176
viewsAs foreign key reference alternating tables
I have a City, State and Country Database. But I want to add Cities to my table and it doesn’t always contain a state to be referenced. However, every city is located in a country. My question is:…
-
1
votes1
answer69
viewsHow to declare type in a function in Haskell?
Ghci, version 8.6.5: http://www.haskell.org/ghc/ :? for help I’m studying Haskell on this website. It uses the type declaration example in functions, but when trying to do the same ghci generates an…
haskellasked 5 years, 6 months ago WesleyRodrigues 42 -
0
votes2
answers589
viewsHow to list only the name of existing folders in a given directory
How can I list only the name of a folder that is inside a root folder? Example: Pasta raiz C:/Downloads SubPastas: Teste/ Teste 2 In my DLL I can list the folders but with its full path, I would…