Posts by Lucas Palomo • 518 points
22 posts
-
-2
votes1
answer38
viewsA: Dynamically add all Formbuilder fields. Angular Front-end
Beauty is until very simple, I will try to pass an explanation more or less to arrive at the final result... You can start by making a map reduce in Formbuilder values, let’s improve this…
-
0
votes2
answers142
viewsA: Docker: Problem using container IP
Come on, I don’t think I’m gonna get the right answer... but I do have some suggestions. Before long I learned to use the Docker and I decided to practice the mysql and adminer usage, with the…
-
0
votes2
answers51
viewsA: I am trying to solve an exercise with arrays in java my difficulty is to print the average of odd and odd Indian array
Scanner s = new Scanner(System.in); int nrIndividuos = 6; ArrayList<Integer> alturas = new ArrayList<>(); while (nrIndividuos != alturas.size()) { System.out.printf("Introduza a altura…
javaanswered Lucas Palomo 518 -
2
votes1
answer60
viewsQ: Parser Generator and Transpilator what’s the difference?
While studying about compiler types I came across the term: Source-to-Source concerning the procedure for transpilation. It turns out that some sections further down the term Parser-Generator and…
-
1
votes1
answer224
viewsA: Nodejs: How to make a 'system("pause")' or 'Readkey()'?
well I don’t know if I’ve interpreted your question correctly but I’ll try to help you. In pure Javascript it was not thought to receive input from the terminal (alias did not even think to run…
-
8
votes1
answer132
viewsQ: In Rust how does ampersand and asterisk work?
I came from Java recently and I’m studying Rust. Language has a totally different paradigm than I was used to, but it caught my attention. For never having messed with C or C++, sometimes I find…
-
3
votes0
answers98
viewsQ: Nowadays.. How far does the front end go?
before marking as duplicate of the following question Difference between client-side and server-side. Let’s look at some facts. The previous question is from 2013 or 4 years ago, long before the…
-
1
votes2
answers739
viewsA: How to ensure that a ngOnInit-dependent function is executed after it?
You can guarantee execution using Promise but it won’t stay anymore Asynchronous. const promiseChampion = new Promise(resolve => { resolve(this.championService.getChampions().toPromise()) });…
-
0
votes2
answers549
viewsA: What is the difference between Fuzzy logic and boolean logic?
Just to complement @maria-Gabi’s response to logica Fuzzy can support values that are not necessarily true or false. For example for some condition or method. True = 1 Partially True = 0.75…
logicanswered Lucas Palomo 518 -
2
votes4
answers729
viewsA: How to get the month formatted with zero left in Typescript
That’s how it works too mes = new Date().toISOString().split('T')[0].split('-')[1]; Basically in a step-by-step explanation: new date(); => returns a Date object that contains current date along…
-
0
votes2
answers823
viewsA: Extracting Data with Beautiful Python Soup
Your web Crawler is in the right direction. It turns out that you are wrong in the way to search for the elements, I believe you are wrong by lack of theoretical knowledge. So let’s go for a little…
-
9
votes1
answer95
viewsQ: What do the terms Memory Poisoning and HWPOISON mean?
I’m studying some things in the kernel GNU/Linux and found the above terms in the Memory Management/ Memory Allocation, would like to know the meaning of both and what they are ?…
-
0
votes1
answer1312
viewsA: Simple Implementation in Dijkstra algorithm
Dijkstra’s algorithm has two important aspects: Greedy Algorithm, this way you need to get the most appetizing vertex (with the shortest path). Deep Search, this seems to be the problem of your…
-
2
votes1
answer111
viewsQ: Rust difference between Std::ops for normal operators
Hello I am seeking to optimize mathematical operations in my program, exploring the modules of the Rust found the Std:. My question is this:. use std::ops::{Add}; fn main() { let x = 10;…
-
1
votes1
answer356
viewsA: What would be a good hash calculation algorithm to use in a scattering table?
Well you need to know what values you are working with first, my hash will get a word or a number?. Let’s say your hash gets a word. You need to turn this word into a number. To do this you need to…
-
0
votes2
answers124
viewsA: Form data disappears when requested a second time
<ion-card *ngIf="openCard == true"> The problem appears to be this if, check if at any time the openCard variable has its value exchanged. To be sure what the value arrives in this variable of…
-
0
votes1
answer97
viewsA: Add header in http request Ionic 3
It is normal for developers to fall into this problem, it happens because your application tries to access something external a "the api url" and to protect you from an external access it blocks…
ionic3answered Lucas Palomo 518 -
2
votes3
answers419
viewsA: What are evolutionary algorithms?
Well I won’t go into extra technical details because that would even harm you right now and would only create more confusion in your mind... But come on! Have you seen Charles Darwin’s theory of…
-
0
votes1
answer159
viewsA: What is the format of this hour?
Well the question was confused, if you wanted to format this date use the question already answered: Formatting Date, Time and Time in PHP. But if you would like to know the format of this date, you…
-
2
votes4
answers2051
viewsA: Dropping indexes or Foreign Keys in a table can slow the query?
Various factors can slow research: Select * from usarios is slower than Select id,usario,senha from usarios why ? in the first example I forced the database to search and sort all columns of the…
-
2
votes4
answers3861
viewsA: What are the risks of using permission 777?
As stated above, using 777 permission is not a good choice as you allow everyone to read, write and execute. Permissions using chmod with numbers is very complicated to use the letter table with the…
-
0
votes1
answer1321
viewsQ: Angular 5 , Mapping an array of Objects within another array of Objects
Well I’m trying to encapsulate my objects. The first Object it maps the first JSON array. export interface PraticarObject { id_assunto: number; nome_assunto: string; qt_exercicios_concluidos:…