All Questions

2
answers

When is a default argument evaluated in Python?

Consider the following class: class Foo: def __init__(self, values = []): self.values = values Note that we are using an instance attribute and not a class attribute, however, see the following code: a = Foo() b = Foo() Two...
asked on 26.09.2017 / 16:49
6
answers

Convert DATA dd / mm / yyyy hh: mm: ss to yyyy / mm / dd

I have a date in the following format 14/12/2015 00:00:00 and need to convert to 2015-12-14 how can I do this in SQL ?     
asked on 15.12.2015 / 14:04
3
answers

Error compiling Angular project 5 "is missing from the TypeScript compilation."

When I try to run the angular server to test the project it fails to compile with the following error: ERROR in ./src/app/shared/objeto/Venda.ts Module build failed: Error: F:\Xampp\htdocs\www\Angular\fidaliza\src\app\shared\objeto\Venda.ts i...
asked on 28.02.2018 / 01:56
1
answer

How to implement the "evaluate ()" and "successor ()" method of the Hill Rise algorithm?

I'm trying to implement the Hill Climbing algorithm and this algorithm should return the sequence of cities considered good (with the smallest distance between cities) from the traveling salesman problem based on an adjacency array, however, I...
asked on 17.04.2018 / 01:16
1
answer

VBA - SQL - Filter with SELECT

I would like help with extracting information from another worksheet through SQL. The link on the worksheet where you will establish the connection and extract the information is this: Google Drive The link to the spreadsheet where the D...
asked on 17.11.2018 / 23:00
1
answer

What is the best type in SQL to use with CryptoCurrency?

I am developing a system where I will store transactions of CryptoCurrencies, type Bitcoin, I can not in any way have problems of conversion and rounding, in C # I checked and the best is decimal , right? The values will be in this forma...
asked on 08.12.2017 / 19:31
3
answers

window.showModalDialog does not work in Google Chrome, is there something equivalent?

Hello, I'm trying to open a modal in google Chrome ... The current application already uses window.showModalDialog for years, it works in IE ... I can not make changes using the html 5 dialog tag, there is some other method or a jquey / javascri...
asked on 13.11.2017 / 14:40
1
answer

What is the difference between Class and Code File in ASP.NET Core?

What is the difference between Class and Code File in ASP.NET Core? There are two types of files in asp.net core, are there any differences between them? And when should we use each?     
asked on 27.03.2018 / 15:48
1
answer

How to draw an arrow using Java2D?

I'm trying to draw an arrow inside a circle (similar to a clock hand), but I can not align the tip of the arrow with the rest of the line. I made the this "arrow" based on this SOEn response, but I can not get it to be properly positioned wi...
asked on 09.10.2017 / 16:30
1
answer

What is Reason?

Recently I've heard of Reason , but I do not know what it's about, some call it a programming language, some of a syntax fed by OCaml, I know that it is led by Facebook and that it is very good for graphical applications / simple games, besides...
asked on 16.11.2017 / 12:48