All Questions

1
answer

Comparison of hours in Laravel

I'm trying to create a method that will return the amount of minutes since the last insertion in the database. The way I did it was this one, but this one giving error: $now = Carbon::now(); $minutes = LusLeadUpdateStatus::select('created_at')...
asked on 30.08.2018 / 21:38
2
answers

Puts () and Printf (); when and which one to use?

Data entry requests are usually preceded by a text that indicates what you want to receive and usually do not have data to format; my question is this:   If variable data is not being displayed in the request text, why do books and teachers al...
asked on 18.08.2018 / 01:15
3
answers

Reduce jar size in Maven Project

I am generating a jar from a Maven project and the size is absurdly high. What steps can I take to reduce the size of this jar?     
asked on 18.05.2016 / 14:23
1
answer

Meaning of "code acting on data" and "data controlling access to code"

This is a purely theoretical question about programming. I would like to know through a simple example (answer with a complement of figures, drawings, etc.), the meaning of two sentences for two types of programming languages: structure...
asked on 07.11.2018 / 02:15
2
answers

How to add space in boxplot and center the median

I would like to make two changes to the following chart :Leaveasmallspacebetweenthegreen(F)boxplotandorange(s)Placethemedianpointinthecenterofeachboxplot(pointsareappearingattheendoftheboxplotandwhenthetwoplotshavethesamemedianvalue,onlyonep...
asked on 29.05.2018 / 17:39
1
answer

Default ASP NET MVC

I'm learning ASP.NET MVC and would like to learn about design patterns, I have a lot of questions on how to build my Solution. I would like to know the default names for the Solution, folders, layers, projects, know where to get the dbContext...
asked on 18.04.2016 / 21:30
1
answer

How do I add Google Analytics to my Android app?

I want to use Google Analytics to gather more information about using my apps, like adding Google Analytics to my Android app?     
asked on 29.05.2016 / 11:40
3
answers

What is the difference between the "Exception" of PHP?

It has several Exception defined in PHP, such as ErrorException PDOException Error ArithmeticError , etc ... But what's the point of having so many exceptions like this? Is there a difference between using one and...
asked on 24.05.2016 / 17:31
1
answer

Bower - What is it, what is its usefulness and how to use it?

In project files and mainly front-end frameworks I have seen a lot, a lot even the bower.json file and I believe it is a file like composer.json , package.json , Gruntfile.js , README.md , then I would like to know:...
asked on 12.04.2016 / 05:05
2
answers

Why does not the pointer increase the value?

Here was to increment the value of the variable, but it does not work. #include <stdio.h> #include <stdlib.h> int main() { int *p, x = 10; p = &x; *p = (*p)++; printf("%d \n", *p); return 0; } Result:...
asked on 28.07.2016 / 03:46