All Questions

1
answer

Sort the result of a search with filter

I have a search on the site and I can opt for several filters and this already works by returning and paging correctly. Example:    /empresas?estado=2&tipo=3&page=2 The problem is when I click to sort by a select fo...
asked on 29.01.2016 / 14:25
1
answer

Multi Tenancy with Hibernate update schema

Hello, I'm using an application that uses multiple (multi-tenancy) databases using hibernate. I would like to know if anyone knows any way Hibernate can do the update in the schema of the banks. I have already set the hibernate.hbm2dll.auto: upd...
asked on 05.07.2016 / 22:38
2
answers

Merge project when using the "create-project composer" command

I have a project (a blog) based on laravel / laravel (note that this is the application and not the framework only) , but I want to send to my repository only the contents of the folders app/ and resources/ (folder native to Lara...
asked on 27.05.2016 / 08:02
1
answer

Java - Send Email Securely via the Gmail API

I'm using a API mail%% of this tutorial for sending email via Mail.jar , however I realized that I have to, enable permission for less secure applications. Is there another way to send email Java , without having to enable this les...
asked on 03.11.2016 / 22:22
1
answer

Difference between GCC CLang

Unix-based systems (a large majority) usually use GCC , to compile the files in C , but also have the CLang for the same purpose.    Is there a difference in compiling a project using GCC and CLang ?     
asked on 26.07.2016 / 03:23
1
answer

How to restrict so that a larger date and then a shorter date are not used using Calendar Restrict?

Good evening! Here is my problem: I'm making a screen that has two calendars: Theprogramwillreturnmealistcomprisingtheintervalbetweentwodates.Onedateisfromthefirstcalendar,andtheotherfromthesecondcalendar.However,mycodebelowisnotworking.&...
asked on 28.05.2016 / 00:00
1
answer

OpenGL reflection in C?

Hello, I have a Computer Graphics project from college and I need help. I'm trying to create a rectangle that works like a mirror, for the objects of my OpenGL scene in C. I found some tutorials that draw the scene twice to fit the reflection...
asked on 23.11.2015 / 01:17
1
answer

Hamiltonian cycle taking too long

I have to find out if there is a Hamiltonian cycle in a giant graph (1000 vertices in the lowest instance and 5000 vertices in the largest). My initial idea was to do backtracking, and in small instances, it worked fine. But for instance of 1...
asked on 29.07.2016 / 20:53
1
answer

How do I uninstall an app automatically before installing again?

I'm using Android Studio to test and debug my application with% s of% s, but the application does not overlap properly, so I need to remove it before installing it. I tested it with library and :app:uninstallDebug as described...
asked on 26.08.2016 / 22:37
1
answer

Fill char array with random words [closed]

I'm trying to develop an algorithm able to get a vector of strings, sort by word size in descending order and place them inside an array of char embedding if possible all words. The idea of everything would be how to create a grid and make the w...
asked on 20.09.2016 / 12:52