Interesting questions
-
0
votes1
answer1013
viewsHow to search for users in the database without select option
Good staff always found bad a method I use to search users in the database in a select option, when I have many records the page takes to load and only tends to get worse, someone has some idea of…
phpasked 11 years, 7 months ago Rafael Assmann 381 -
1
votes1
answer52
viewsTransferring Data from a Line to a Textbox
I’m using Planning Calendar to see the events that each worker has marked. But what I also need is, for example, to click on the worker Carlos Pinho the information of him (name and role) pass to…
-
1
votes1
answer1245
viewsProblems with ng-required and ng-disable
I have a web application, where a person can enter their skills but if there’s a bug that allows them to enter blank skills, then I’m trying to use the ng-required in the input and the ng-disable on…
javascript angularjs web-application angularjs-scope scopeasked 10 years, 2 months ago Gustavo Moreira 45 -
1
votes3
answers2181
viewsPython functions-Global and local variables
Is there a way to let the variable from within a (local) function go global? If not, what way can we declare a global variable?
pythonasked 7 years, 10 months ago Antônio Gally 39 -
4
votes2
answers499
viewsDiv appears in her after 2 seconds with jQuery
Guys I’m mounting the loading system using Jquery. And they consist of a div that covers the entire tala in the browser and that when all elements of the page are loaded, Jquery hides the div. The…
-
0
votes1
answer213
viewsHow to increase bar thickness in Chart.js?
I am using Chart.js in React and would like the bars on my chart to be thicker without piling up. Next is my component rendering the graph: import React from 'react'; import { HorizontalBar } from…
-
0
votes3
answers379
viewsHow to get the value of the user ID in Cgridview - Yii
In place of {{ VALOR DO ID }} I’d like to put the ID of the respective user. Seeing that this is a Row of a Grid. <?php $this->widget('zii.widgets.grid.CGridView', array(…
-
1
votes1
answer100
views"Skeletonize" figures
I wrote code to "skeletonize" figures, that is, to reduce their thicknesses to just one pixel. I had already written the code in Python that worked correctly. However, the same code rewritten to…
-
2
votes2
answers742
viewsPython draw on the screen
Does anyone know if there’s any method I can draw on a pure canvas? Without the use of a graphical interface window, I will give an example to better understand (Ignore where you’re pointing) the…
-
0
votes0
answers28
viewsFK Ismatch sqlite
Good afternoon I have an error of FK Ismatch on Sqlite that is already bothering me but I can not see the problem, follows the skeleton of the bank: CREATE TABLE CEST_Item ( CIT_ID integer primary…
-
6
votes2
answers11874
viewsHow to create an infinite array?
I’m having a little problem and need to somehow create an infinite array, or rather, undefined, the user can enter as much data as necessary... How could I do it? I’m using the JDK6.
-
0
votes1
answer889
viewsPython - Access a function above outside a class
Hey there, guys! A question regarding Python. I have a structure more or less like this: class Tela(FloatLayout): def exemplo(self): print("teste") class botao(Button): ????? Explaining: It is a…
-
0
votes1
answer90
viewsDisplay new and old posts on wordpress pages
Good morning, I’m needing to display my wordpress news with footer links to old and new posts. I am using bootstrap as a template for my website and am with the following code for the display layout…
wordpressasked 7 years, 7 months ago Dev Newbie 3 -
0
votes1
answer38
viewsRefresh page when making BD changes
Goal My final project involves making a chat room; the user must enter a message, this message is handled in the server.js(Node.js file) and inserted into the database. The page should then be…
-
1
votes1
answer1143
viewsView BD Sqlite on Android Device Monitor
I’m trying to view my BD Sqlite on Android Device Monitor, but in the folder data, I don’t see any files to export and so I can’t see my BD. What could I be doing wrong?…
-
38
votes3
answers10198
viewsWhat are lexical scope and dynamic scope and what are their main differences?
What are lexical scope and dynamic scope and what are their main differences?
asked 12 years, 1 month ago Carlos Cinelli 16,826 -
3
votes2
answers417
viewsVagrant error up windows 10
I am using Homestead and Vagrant to create a Virtual Machine and run my web projects. However, I cannot log into my hosts (ex: meusite.dev), all are already properly configured on Homestead.yaml and…
-
0
votes1
answer463
viewsRedirect via button to website - Flutter
You can redirect the user after clicking a button to a website, directly opening the browser or even a webview. From onPressed. Container( alignment: Alignment.center, child: FlatButton( onPressed:…
-
1
votes1
answer37
viewsAPI request at Angular
Next, I’m not getting a request for an api, a get. Follow the api’s code and answer. User model.: export interface ResponseUsers { data:User; } export interface User { id: number; nome: string;…
-
2
votes1
answer123
viewsCreate a list of ruby on Rails features
I’ve been trying for a few days but I haven’t been able to solve my problem. I need to create a list of features for an item and then list them all. I wish you could help me or give me some tutorial…