All Questions

1
answer

Laravel Results of a Query Builder for eloquent model

I'm doing a query using Query Builder $users = DB::select( DB::raw(" SELECT users.* from users, permissions_customers WHERE permissions_customers.customer_id in ( SELECT permissions_customers.customer_id from permissions_customers WHER...
asked on 05.09.2014 / 14:50
1
answer

Composition with fluent interfaces

I'm trying to make a class using composition, fluent methods and I'm having some problems. I would like to access a property of a composite method through fluent interfaces but I can not implement the abstract method. The case is as follow...
asked on 08.10.2014 / 20:23
1
answer

Java using .DLL library

I'm having trouble creating the interface in java, because I can not figure out the header of the function in C. Example Header C function: CMOEP_API char * CALLCONV CMP_GetLastError( ); Now in java I have this but I do not know how to i...
asked on 22.09.2014 / 17:07
1
answer

Structure of a database for 'Secret Friend'

I am creating a secret friend system for the family, where it will be possible to have: User registration with your given data (ex: Tennis size, shirt, etc ...) ; Registered user groups; Generate a draw with users entered into that part...
asked on 03.11.2014 / 12:32
1
answer

Inclined carousel (diagonal) in jQuery and CSS

I need to make a carousel tilted (diagonally according to the image) but with transition between the movements. I've prototyped something in this JSFiddle , but the movement is only working on the "back" button, yet with an abrupt transi...
asked on 21.10.2014 / 12:58
2
answers

Join a number of people without repeating the combination with the maximum stipulated

I have N pessoas to form as many meetings as possible. These N pessoas can not speak to anyone who has already spoken at other meetings. Each meeting has at most N pessoas . Based on this information I can set up an exampl...
asked on 03.11.2014 / 19:46
1
answer

Knowing the highest repetition code in a data structure (list)

I'm doing a Java Data Structures project and I have a list that is simply chained that receives the code, name, sex, and course of each person. I need only validate which code (integer type) that repeats more often and show the last value of the...
asked on 18.04.2014 / 05:43
1
answer

Creating an array with variables with different correlations in R?

I need to generate data series that have correlations defined using R. I used a method that I found here in the OS (#) and managed to create the variables with the desired correlation, however, when trying to automate this process for the creati...
asked on 31.03.2014 / 23:03
4
answers

How do I reset the time and decrease one day of a DATETIME?

I have a field DATETIME that I get from SQL, format YYYY-mm-dd H-m-s and I need to zero the time and decrease one day. I'm getting a day off by using date_modify($date, '-1 day'); , but how do I reset the time?     
asked on 21.03.2014 / 14:45
1
answer

How to List Users with Asp.Net MVC 5

I'm using Visual Studio 2013, I'm creating a new Asp.NET Web Application project using MVC and "Individual User Account" authentication. I would like to know how to list all registered users. Models: IdentityModel using Microsoft....
asked on 25.03.2014 / 15:01