All Questions

1
answer

What is Service Container?

I was reading about Service Container in Laravel, but I was not able to fully understand the purpose of this feature. I know that to create new services we have to use some Laravel methods: App::bind() or App::instance() there are...
asked on 26.03.2017 / 01:24
1
answer

How to allocate an immense amount of memory?

I created an OnFly encryption algorithm that encrypts bytes without having to copy them to a new copy of these same bytes. This is both for encrypting and decrypting these byte lists. As in the scheme below, the same string that enters will be t...
asked on 07.07.2017 / 20:53
1
answer

What is WRAP and UNWRAP?

Studying a bit of tuples I could not understand WRAP and UNWRAP because the explanation was not very concise. So what is WRAP and UNWRAP?     
asked on 09.11.2016 / 17:27
1
answer

Is there a difference between a compiler and an interpreter?

What's the big difference between a compiler and an interpreter? In languages like C, Java is used as a compiler. In JavaScript, for example, an interpreter is used, but I was confronted with the JIT (just in time compiler) term. How can I...
asked on 15.03.2017 / 12:46
2
answers

How Parallel hint works

One of the first things I see a galley suggesting to increase the performance of a query in Oracle is the use of hint Parallel . What are the benefits / risks that the use of this hint can bring, can I have problems with compe...
asked on 11.07.2017 / 15:46
1
answer

Pass parameter from one route to another

I need to get a url variable and redirect with the parameter to another function Route::get('doacao/{id}', function(Request $request){ return Redirect::route('escolha/doacao')->with('id',$request->id); }); Redirecting to this other...
asked on 02.02.2017 / 13:21
3
answers

How to merge multiple lists into one array

As a way to merge two lists into an array, where each column in the array represents one of those lists. Example: a = ["Laranja", "Maçã", "Uva"] b = [40, 50, 2, 45, 56] Expected result: x = (["Laranja", 40], ["Maça", 50], ["Uva", 2], [...
asked on 09.11.2016 / 23:27
1
answer

What is the correct order of the ICP-Brazil certificate chain so that the certificate of an e-CPF and e-CNPJ is requested via TLS Handshake? [closed]

To authenticate a user using the digital certificate, and to obtain this certificate in the backend it is necessary to enable the "SSL / TSL Handshake" option on the web server with the option to export the certificate as environment variable -...
asked on 04.04.2017 / 21:30
1
answer

Do I need to close the connection on each query?

Currently I have a web application that queries multiple databases in the same controller. For each bank I make a connection at server startup and keep them in a static class where their DAOs have used it and close it in the context destroy of...
asked on 13.07.2017 / 14:50
2
answers

Centralized Menu

I'm having a hard time aligning the text from my menu to the center, so I'm starting to learn how to develop websites. Website Image: Thecodelookslikethis:<center><h1>MeuSite</h1><divid="menu"> <ul>...
asked on 11.05.2016 / 15:16