All Questions

1
answer

What is the default Null Object?

I asked this question in SOEN,
asked on 24.09.2015 / 16:12
1
answer

Does a property take up space on the object?

I was reading a query about properties and saw that it is one or two methods at one time. Is there any additional cost in memory and processing in using it? If you do not use the code can you get more optimized?     
asked on 11.05.2017 / 16:11
1
answer

What is the best way to login to the application via facebook and login to a rest (spring boot) server?

I'm creating an app with react native where I log in to facebook and I also have information from this user, created after login, on a rest server that I developed with spring boot. As the rest server will not have a password because the user...
asked on 27.10.2017 / 20:36
2
answers

Can we create Artificial Intelligence in any language?

On Artificial Intelligence, I would like to know superficially , thinking of starting the knowledge in this area: Can be created in any language ? Basically, what would be the concept that defines a code as IA ? Is there a default ?...
asked on 23.08.2018 / 13:28
1
answer

Reuse / reuse of component with reactivity in Vue

I'm trying to reuse components in VueJS , one of my attempts is to reuse forms, for example: I have in several forms of my site the login and password fields, so I created a component called userform : <template> <se...
asked on 22.01.2017 / 03:42
1
answer

Is it wrong to use the facades in the laravel view to display elements to the master user?

I wonder if it's problematic to do this type of validation in Laravel views. Example: Only one master user can delete a certain record, so I have the delete button only if the user is master (logically validating the deletions in...
asked on 10.01.2017 / 17:15
4
answers

Converting HttpPostedFileBase to byte []: Exception_WasThrown

Follow the code below: Controller (with post action): var file = Request.Files[0]; var bytes = ConvertTo.Bytes(file); ConvertTo Class: public static byte[] Bytes(HttpPostedFileBase result) { var length = result.InputStream.Leng...
asked on 12.10.2017 / 17:50
1
answer

What is connection pooling in Database?

What does connection pool mean for Database? What does this concept imply in practice? What is its usefulness and importance in everyday life? Here is a definition I found in my search:    In software engineering, a connection pool is a conne...
asked on 10.01.2016 / 19:31
1
answer

What is the difference between 'for x in y' and 'Enumerable # each'?

We can iterate an Array / list in ruby in two ways: Using the for x in y syntax: > for x in [1,2,3] do > puts x > end 1 2 3 => [1, 2, 3] Using the method .each > [1,2,3].each do |x| > puts x...
asked on 17.02.2014 / 23:19
3
answers

How to list the results of a regex search in a directory?

I have a directory with some C # files. In these files there are several SQL query codes. I need to list all SELECT statements in these files using PowerShell. Commands start with SELECT and end with ; and can have more than one...
asked on 15.01.2014 / 15:04