Interesting questions
-
13
votes1
answer87
viewsHow does the compiler know the difference between the type I’m using in downcasting?
The classes Felino and Ave inherit from Criatura, the values are hypothetical only to inform the difference between specialized attributes. Criatura c1 = new Felino("Preto", true); Criatura c2 = new…
-
1
votes1
answer903
viewsGet PHP DOM attribute value
I’m trying to make an application to take certain values from a page and insert them into a page of mine. I don’t know how to program, but I’m still taking a risk, because it’s to improve my…
-
5
votes1
answer58
viewsProblem in Jquery code
Hi, guys. I’m doing this: A system where the user can shuffle the order of the images. Click the button and randomly they change places. So far so good, the problem is that when I get back and play…
javascriptasked 9 years, 10 months ago Alex 55 -
-2
votes2
answers165
viewsProblems with page transition
I’m trying to create a simple event to change page by clicking the button, but whenever I run the application it crashes when it opens. Mainactivity: package com.app.agrandesacada; import…
-
1
votes1
answer326
viewsHow to change the values of a Hash?
I need a loop to change the values of this object { [ "Begin", "Dom" ] => 0, [ "Begin", "Seg" ] => 8, [ "Begin", "Ter" ] => 10, [ "Begin", "Qua" ] => 30, [ "Begin", "Qui" ] => 20, […
-
2
votes1
answer532
viewsProblem with background-image accessing from google browser Chrome on mobile
I’m having problem with my background image on my page but only accessing from mobile by Chrome or mobile default browser, Mozilla Firefox phone works perfectly. body{ background-image:…
-
0
votes0
answers201
viewsUSB connection with Microcontroller in Visual Studio C#
I have a microcontroller programmed to send data on Visual Studio c# through the class USB Hid Net Class. I have the license to use the class already and the application ran normally on multiple…
-
1
votes0
answers159
views"java.sql.Sqlexception: Incorrect string value: xE7 xF5 for column" error
Good afternoon, I’m having the error below whenever I try to run an indexing method. ERROR: javax.servlet.ServletException: net.alforria.util.InfraException:…
-
-2
votes2
answers3211
viewsConversion of values into flutter
I need to take a figure that comes from a field like text. However, this field only receives numbers. Text field: Container( child: CupertinoTextField( textCapitalization: TextCapitalization.none,…
-
4
votes2
answers86
viewsProblem when changing field focus
I’m having a problem changing the input focus between the TextBox of my application. The problem is actually this: tb_Estados has a AutoCompleteMode = AutoCompleteMode.Append and a…
-
1
votes1
answer501
viewsUse in select percentage in Firebird
I have the following instruction in Excel: (100%-2%)*2135,68 I want to make an sql: Select (100%-2%)*T.valor as TOTAL from tb_teste T In Firebird I can’t work with %. How can I get around this?…
-
1
votes2
answers1368
viewsResponsive form in HTML?
I am using the following code below, where the span controls the description text, the <p> controls a line of form, and the id of input specifies its size, this defined in CSS: #cmpG {width:…
-
1
votes0
answers85
viewsKs and Chi Square test for reliability data in R
I’m using parametric models to calculate some reliability items. The question is how to perform the adhesion tests (Test Kolmogorov-Smirnov- KS and the Square chi - χ2) . I tried using the "Ks.test"…
-
1
votes2
answers132
viewsProblem with second degree equation program
I have an interesting problem in my code, the program reads three numbers and says whether it’s a rectangle triangle or not, but the problem is that depending on the sequence I type in the numbers,…
casked 11 years, 2 months ago Gabriel Vinicius 339 -
2
votes1
answer140
viewsSet a group in regex
I’m testing the following regex: (?i)(\s|\W|)(fire|fire-type)(\s|\W) I have 2 problems: 1º Case (SOLVED) has only one word without spaces at the beginning or at the end my regex does not take. Ex:…
-
-1
votes2
answers2791
viewsHow to pass Array values in Postman
I am developing an API, and one of the modules is the ACL(access control list) in the Laravel Framework. I came to a problem that I haven’t found plausible solutions yet, which is like testing…
-
5
votes2
answers62
viewsError sorting list?
ViewBag.ListaEspecialidades = Especialidade.ListarEspecialidades().Sort(); Of a mistake "cannot implicitly Convert type void to Dynamic".…
-
1
votes1
answer1345
viewsPrimeface uploadFile + graphicImage: Upload image and display without refresh
I’m starting to program on jsf + primefaces. A long time ago I worked with JSP(java 1.4) and I’m kind of lost. I’m looking to upload an image and have it displayed below. xhtml images. <?xml…
-
0
votes3
answers236
viewschar print returns random character
I compile the code below without errors. When I insert the word (or phrase desired) the printf returns a random character like 0 � a etc. The program should read a word (or phrase) and the printf…
-
2
votes1
answer113
viewsHow to change Cartesian file coordinates in an automated way
I have a certain folder with several files, and these in turn contain inside description of coordinates points cartesian X and Y. However, I want to replace these points automatically and…