All Questions

2
answers

R: to which objects does the names () attribute apply?

I'm a little confused by the role of the names() attribute on different objects. In addition to the normal use in data.frames, I see examples of help(names) that can also be used for vectors (both numeric and string) and lists....
asked on 25.09.2014 / 21:00
1
answer

Many-to-many relationship with Asp.net MVC and Entity Framework

I'm creating a project to study Asp.net MVC 5 along with Entity Framework 6 , and I came across a big question in a many-to-many relationship . I used model generated from the database, and I created the controllers and views a...
asked on 13.09.2014 / 01:32
2
answers

Is it possible to limit the amount of rows of a class attribute that is a list via JPQL?

I have the following query in JPQL FROM User u INNER JOIN FETCH u.enderecos e WHERE u.id =:id ORDER BY e.id DESC A user can have more than ten addresses, so we want to bring only ten addresses and if the user wants, he loads ten times. I...
asked on 25.08.2014 / 19:58
1
answer

Exceptions.py file

I've been programming in python for about a year, and I've always seen in some projects that I find on the web, a file called exceptions.py. I know treat exceptions within my codes, this is not my doubt. I would just like to understand the im...
asked on 13.09.2014 / 21:35
1
answer

ASP.NET vNext is interpreted as neither PHP?

ASP.NET vNext is introducing a lot of new things to previous versions, among them is the idea of not compiling the codes, just modify and already see what happens on the page. Does this mean that ASP.NET will be interpreted in the same way that...
asked on 22.08.2014 / 16:09
2
answers

DelphiXE5 X Permission Administrator

I need to run a program in Delphi as Administrator, I've already put the manifest file, and it still does not work, it follows my manifest file. <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <assembly xmlns="urn:schemas-micr...
asked on 18.09.2014 / 16:49
1
answer

Controller message for the view

I did this: [HttpPost] public void CadastraUsusario(string _nome, string _usuario, string _email, string _nivel_acesso, bool _ativo) { using (RupturaEntities db = new RupturaEntities()) {...
asked on 02.09.2014 / 20:28
1
answer

Save table value

I'd like to save the value assigned to a table in real time, I'll explain. I have 2 files: Main.lua dofile("tester.lua") io.write("blabla") table.insert(oi, io.read()) print(oi[1]) io.read() tester.lua oi = {} If I exe...
asked on 17.08.2014 / 22:51
1
answer

How do I enable my app to be moved to the memory card?

All the apps I'm testing are not allowing me to move them to the memory card. Can you do that? Do you have to ask for some permission on Manifest.xml ? I put the property that android:installLocation in Manifest.xml and even work...
asked on 20.09.2014 / 23:50
1
answer

Size of a Java String + Hibernate

Is there any way to persist a string with no size limit for the bank using hibernate? If I map my class and not limit the field, hibernate automatically creates a 255-character limit. I could give a larger limit, but ideally the field would h...
asked on 19.09.2014 / 22:24