Interesting questions
-
0
votes2
answers221
viewsTurn decimal into Vb minutes
Well I know that if I take for example 4.70 and turn the ".70" in minutes, I have q take the 0.70 ( number after the comma ) and multiplied by 60, that would give 42, in value of hours would be 4:42…
vb.netasked 7 years, 8 months ago Mateus Justino 93 -
1
votes0
answers59
viewsError running AVD - The filesystem is already 140800 (4k) Blocks long - Nothing to do
When I try to run my AVD, it hangs on the part illustrated in the low image and returns the error resize2fs 1.42.13 (17-May-2015) The filesystem is already 140800 (4k) blocks long. Nothing to do! I…
-
2
votes0
answers425
viewsCriteria: Subquery with multiple columns
I have the problem and I can’t solve it. How to turn this query into Nhibernate Criteria. SELECT ordid, prodid, qty FROM item WHERE (prodid, qty) IN (SELECT prodid, qty FROM item WHERE ordid = 365)…
-
0
votes1
answer36
viewsError using . length in AJAX response
I have the following ajax. var ajax = new XMLHttpRequest(); ajax.open("GET", 'http://localhost/erp/api/v1/itens.php'); ajax.responseType = "json"; ajax.send();…
-
4
votes2
answers756
viewsProblems with calculating "TREE OF LIFE"
Good afternoon, I have a problem I need to do the following: Create a program, in C language, that calculates the size of the tree of life, after a certain number of growth cycles, taking into…
-
0
votes0
answers51
viewsAbout variable typing performance in functions and variables in typescript
There is some difference in typescript performance when using variable typing compared to any? Example: minhaString: any; minhaString: string; I would also like to know if there is a difference in…
-
0
votes1
answer76
viewsPopular and select a Select (Dropdowlist) option - jQuery - json
Good afternoon! In an ajax query, I get an object objectAccount, and in this object there is an array, containing a list of banks I’m populating the select account-bank with the data obtained in…
-
1
votes1
answer88
viewsHow to display a listview with only one line with the color changed?
It may seem easy but I’m getting it. I needed in a list of 10 names, to present for example the third name in green color. As I do to get his position, I’m not getting it, I need to present this…
androidasked 10 years, 3 months ago daniel12345smith 2,120 -
0
votes0
answers39
viewsScroll Ionic 3 Ios
I’m having trouble with this scroll, creating a black image at the bottom of the page. When I drag it up, it appears, when it drags down the black image.…
-
2
votes1
answer147
viewsHow to know which part of the code an exception happened by looking at Visual Studio Output
I realized that in some requisitions the output of mine Visual Studio displays some messages such as this: Exception generated: 'System.Collections.Generic.Keynotfoundexception' in mscorlib.dll…
-
-2
votes1
answer54
viewsHow to check if a variable is string or number?
I made a "mini site" to ask the name of the person and send a alert but somehow I want to send a alert error if the person places numbers instead of the characters in the name. <h2…
-
2
votes1
answer157
viewsHow to treat variable in bash?
I’m having a problem, I’m making a bash script to run using crontab, which synchronizes my SSD files, with the hard drive and Dropbox. Script: #!/bin/bash - PC_DIR="~/Programming"…
-
1
votes1
answer116
viewsUser permissions calling all rules at each access
I have a MyRoleProvider implemented and access works normal, if the logged-in user does not have the rule registered he does not allow access. The problem is that at each access to an action with…
-
6
votes2
answers245
viewsHow to fire multiple exceptions?
foreach (Foo el in arr) { // ... Validate(el); // ... } In the example code, when the foreach is executed, an exception can be triggered from the function Validate which will be treated on who…
-
4
votes2
answers2343
viewsHow to change the value of the key in a Python dictionary?
Are there any methods in Python that change the dictionary key name? I just know how to change the value. Exemplo: RE2 = { "Nome": "Leon Scott Kennedy", "Ocupação": "Oficial de Polícia (R.P.D)",…
pythonasked 6 years, 7 months ago user141036 -
-3
votes2
answers228
viewsCreate shortcut with python
I’d like to know how to create a shortcut for my own script . py using Python. I mean, my code creates a shortcut of its own.…
-
-1
votes1
answer214
viewsEclipse adds tag to code when trying to resolve conflicts
Guys, the following situation serves only to exemplify what happens when I try to resolve a conflict over the Eclipse. I know how to resolve a conflict, the problem is that after solving it these…
-
0
votes1
answer966
views -
1
votes1
answer284
viewsLoad database information into a textbox using the layers template with C#
Good morning, everyone! I’m new enrolled in the forum, but I’ve been following them for some time, I’m finishing a college TCC in C# (Visual Studio 2017), and I’m having a hard time in the project…
-
2
votes1
answer169
viewsUpdater of a web application Asp.net mvc
I was here thinking of a framework for automatic updating of my web systems in clients, so I thought of using the ClickOnce with some gambetas(technical adaptations). It did not work, it works only…