All Questions

1
answer

Themes, styles and support Library android

Hello since I started working with Android development, I've always had a hard time understanding how Android's Themes, Styles, and libs part of Android support works, I always have for example, to stylize a EditText or a RatingBar...
asked on 07.01.2016 / 01:20
2
answers

How to debug C programs from the Command Prompt?

I need to debug an algorithm in C but the machine I'm using does not have Code :: Blocks. What is the path for me to debug in the Windows Command Prompt?     
asked on 16.02.2016 / 04:00
1
answer

Serialization of exceptions

According to the msdn documentation, an exception must be serialized if it needs to be propagated out of the assembler. In visual studio, I have a solution with some projects, among them a class library project (dll), in which I create severa...
asked on 09.02.2016 / 17:59
1
answer

Why does the PSR2 standard require us to use 4 (four) spaces instead of tab?

According to one of the items specified by the standard PSR2 (to which most of the PHP libraries), we have: Codes MUST use 4 indentation spaces, not tabs. I know the pattern exists, but I wonder if there is any special reason. What i...
asked on 01.02.2016 / 18:41
1
answer

Entity with multiple members of the same type in the Entity Framework

When we have two many-to-many related entities and create the navigation properties correctly, the entity creates an extra table to set up this relationship. In the case where I'm working I have a structure that in the best of worlds would lo...
asked on 18.12.2015 / 08:25
1
answer

Error while uploading an AngularJS + Vraptor file

I have a system where I can upload files through an Angular library ( ng-file-upload ), but if the file is larger than 3MB when I try to upload, I have the following errors:    GRAVE: Servlet.service () for servlet [default] in context...
asked on 14.12.2015 / 12:02
1
answer

Android Protection Reverse Engineering Client-Server

I see that it is very common for applications Android (games for example) to be modified through engenharia reversa . Even using obfuscação and other anti-reverse engineering techniques, it's hard to keep an Android applic...
asked on 13.12.2015 / 14:38
1
answer

Merge Excel cells via Delphi code

I'm updating an old Delphi system that uses a class to create an Excel file without the need to use OLE objects or have Excel installed. The Class works normally using the code that is just below. Now there is a need to add information in...
asked on 03.11.2015 / 22:43
2
answers

How to join lists in C #?

I have two classes: public class Produto { public int ProCodigo { get; set; } public string ProNome { get; set; } public int DepCodigo { get; set; } public virtual Departamento Departamento { get; set; } } public class Depa...
asked on 11.11.2015 / 18:54
1
answer

Write video file after capture on site

I have a page that captures a video + user's audio using HTML5 and JavaScript. The code follows: <video width="600" height="400"></video> <input type="button" id="stopbt" value="stop"/> <script type="text/javascript">...
asked on 20.11.2015 / 12:15