All Questions

3
answers

How to convert a string to const char *?

I'm trying to make an audio player (an mp3 player) using the SDL_mixer library. The problem is that I have a function that returns a string (a directory of a song) that I need to pass this string as an argument to the function *Mix_...
asked on 19.02.2014 / 04:30
1
answer

Error reading 'getContext' when inheriting class 'createjs.Sprite'

I started developing an HTML5 game using the EaselJS library. When creating a class called Bot , which will contain the code of the robot used in the game, I get the following error: Uncaught TypeError: Cannot read property 'getContext...
asked on 11.01.2014 / 17:29
2
answers

Is it possible to have dynamic rules with jquery validation?

I have three fields, two inputs text and between them a select . If one of the first two is filled in the other becomes mandatory. The problem is that when a single value, in the case the last option, of the select is filled all thr...
asked on 24.02.2014 / 18:16
1
answer

Efficient data structure for competing problem of high scores

As part of a test I was asked to develop an application to manage high-score data in highly competitive environments. This application should not persist on disk or use libraries and external frameworks . Basically the requirements say: Opt...
asked on 23.12.2013 / 14:35
4
answers

Database structure for multi-language system

I already have a developed system, using several tables in the database. I have to start migrating the same to English and Spanish . The development part I have an idea already (not total), but I do not know how to leave it in the database...
asked on 11.02.2014 / 04:49
1
answer

Implement message exchange between applications [closed]

I have an app which has two versions, user version and service provider version, where there is an exchange of messages in it, I would like to know what options I have to implement this exchange of messages, today I am always doing Queries askin...
asked on 05.05.2015 / 22:28
1
answer

How to implement 'check in' in tfs 2012 only approved by the reviewer?

I would like to know if it is possible and how do I stop Check In so that only the reviewer can upload the code, or that it is not possible without his permission. To ensure that cases where you return with With Comments or Needs Work ,...
asked on 11.02.2014 / 14:21
1
answer

How to take the refresh of the whole page when using the FileUpload component of the firstfaces

I'm using the FileUpload component of primefaces in mode="simple" and it works fine. But when I click the save button on a particular folder, it refreshes the entire page. Can you take it? Below is my XHTML code: <h:form e...
asked on 15.04.2015 / 18:54
2
answers

Panel open closed JS

I have the following panel: $(document).on('click', '.panel-heading', function(e){ var $this = $(this); if(!$this.hasClass('panel-collapsed')) { $this.parents('.panel').find('.panel-body').slideUp(); $this.addClass('pan...
asked on 30.04.2015 / 08:28
1
answer

Pass variable value into nested SELECT

Assuming the following query where we are selecting values, grouping them and then re-grouping the result: SELECT CONCAT (b.label, '|', b.slug) FROM ( SELECT group_concat(name SEPARATOR '$') AS label, group_concat(slug...
asked on 09.04.2015 / 18:31