All Questions

2
answers

What is Riot.js?

I was reading about some frameworks and libraries for front-end UI development and I came across Riot.js . By giving a quick read on the page of the library, I superficially concluded that they promise to make UI componentization easier th...
asked on 11.10.2017 / 15:03
1
answer

How to validate a script in PEP8?

I noticed some questions that asked about PEP8, something like "this way is correct?" , recent example: Problems with PEP8 Indentation Rules So the question has arisen, is there any way to know if the code is appropriate and which line...
asked on 03.12.2017 / 23:05
2
answers

UPDATE PHP with JavaScript

I'm trying to perform UPDATE, but it gives the following error:    Notice: Undefined index: id in C: \ wamp \ www \ SitePHP \ base \ updateFuncionario.php on line 4. Follow my code function function atualizar(id){ if(confirm("Deseja...
asked on 23.11.2017 / 20:21
5
answers

How to make each input stand on a line separately?

I have this HTML and I would like every input to be on separate lines, in this case below that I had 3 rows, one for each input . *{ margin: 0px; padding: 0px; background-color: #ccc; font-family: 'Arial';...
asked on 27.10.2017 / 18:57
1
answer

What is Chainability?

What exactly is Chainability? Is it applicable in languages other than Javascript? I researched a little, but the term washes me for disconnected articles, I believe it does not come out exactly what to look for to understand such a concep...
asked on 05.11.2017 / 02:40
1
answer

Is it a bad practice to use an "optional" variable within an object?

When I download a photo on my system, the download process passes through a security method that returns an object called DownloadResponse . public class DownloadResponse{ public bool IsValid{get; set; } public int DownloadTypeID...
asked on 16.10.2017 / 15:41
2
answers

Align HTML + CSS component

I need to align two buttons this way They should be exactly next to each other, but each at one end     
asked on 14.10.2017 / 04:12
1
answer

Difference between select a. or b [closed]

What is the difference of doing the search by select a. or b.? Example: select --a.num_duplicata,a.data_prorrogacao,a.seq_duplicatas, a.cli_dup_cgc_cli9 as cgc9,a.cli_dup_cgc_cli4 as cgc4,a.cli_dup_cgc_cli2 as cgc2,b.nome_cliente as...
asked on 18.10.2017 / 17:08
1
answer

Mobile First: Appear image only on the desktop

What is the best way to make an image appear only on the desktop ? Usually I add media query to put display: none when opening in mobile . But this image is processed by the cell phone, it just is not displayed. What is the be...
asked on 24.11.2017 / 14:35
1
answer

How to convert an object vector to another object?

I wanted to know if there is any simple way to convert a vector of objects A to a vector of objects of type B, which follow the second structure: Object A { aId: number; aNome: string; aDesc: string; } Object B { bId: n...
asked on 01.11.2017 / 18:07