Our project uses Git as the version control system and recently I needed to review someone's commits. How can I see a list of commits made by a specific user?
Hi,
If someone asks me the below questions
What an Android Framework is?
What does it do?
How should I answer?
Also what is the role of API's such as Activity Manager, Location Manager etc in the Framework?
Hi,
I've been struggling with this one for quite some time already. It appears a lot less simple than I thought it'd be:
This is included in the "COTISATION" table mapping an uses SynchroDataType, extending Hibernate UserType.
This works really great, and I can't find a way to translate it to proper JPA, while keeping the convenience of it.
Does someone has a solution for that kind of one-to-one mapping?
cheers
I'd like to be able to determine what class will be called given an URL.
For instance,
I have a page /First.aspx that has a hyperlink to /Second.aspx
In the code behind for First.aspx.cs, I'd like to be able to determine what class will execute if someone clicks on the hyperlink that points to /Second.aspx.
I'm learning how to use the ASP.net membership, when a user registers they just create a username and password, however i want to create a page on my website called "profile" where they can fill in extra details such as firstname, lastname, date of birth ect. However i don't see where i can place this in the asp.net membership database. Theres an asp.net_profile table however i'm not sure how this works.
Could someone please explain how i can do this?
When setting up foreign keys in SQL Server, under what circumstances should you have it cascade on delete or update, and what is the reasoning behind it?
This probably applies to other databases as well.
I'm looking most of all for concrete examples of each scenario, preferably from someone who has used them successfully.
I've heard that Telecoms are the big source of Erlang jobs but I'm not sure how much of a market there is. How likely is it that someone could find a job in Erlang/Haskell if they decided to learn it? In my case I have a lot of programming experience in Java but am tired of Java and want to try something different.
From the docs:
If all of a managed object's
relationship delete rules are Nullify,
then for that object at least there is
no additional work to do (you may have
to consider other objects that were at
the destination of the relationship—if
the inverse relationship was either
mandatory or had a lower limit on
cardinality, then the destination
object or objects might be in an
invalid state).
Does someone have an example of this cardinality thing? What's this good for and what's important to know about this? (sounds very important...)
I'm really interested if someone knows a programming language that uses an image like Smalltalk...
I think that is one of the greatest ides in the history of computer science.. I can not find other language besides Smalltalk that is base on an image.
Example array
$myArray[0] = array('23, null, 43, 12');
$myArray[1] = array('null, null, 53, 19');
$myArray[2] = array('12, 13, 14, null');
All nulls should be replaced with 0. I was hoping someone would have an efficient way of doing this, perhaps a built in PHP function that I am unaware of.
I cannot find how to a text field group, similar to what is in the Address Book app:
Can someone tell me what I am doing wrong? I can't find an option to make them look this way.
Also, does anyone know the font, font size and color?
Can someone please give me the details about the Eclipse memory usage in Windows XP and Linux?
I heard Eclipse consumes less memory in Linux compared to Windows?
Is it true? What ever the OS is, IDE will look for some amount memory so how will it vary with OS?
Related Question:
Eclipse memory use
I was looking at Ch from SofIntegration and it looks pretty interesting as a possible teaching tool. It would allow the you to let someone learning to program "play" while preparing them to write full fledged C programs. I was wondering if anybody had "good" experiences using a C interpreter or weather it would be a better to go with a language that is typically interpreter to start with?
Here's a simple script that gives a strange result:
alert(parseInt('01')+' - '+parseInt('02')+' - '+parseInt('03')+' - '+parseInt('04')+' - '+parseInt('05')+' - '+parseInt('06')+' - '+parseInt('07')+' - '+parseInt('08')+' - '+parseInt('09')+' - '+parseInt('10'));
I would expect it to give 1 - 2 - 3 and so on, but it gives me this (in FireFox, Chrome and IE6):
1 - 2 - 3 - 4 - 5 - 6 - 7 - 0 - 0 - 10
Can someone please explain me why?
I have a standard wordpress blog displaying 10 posts on the index page. I'd like to show the last post from a single category in a premium spot above the other 10 posts. Can someone please tell me what i need to add to the code to do this?
did someone else encounter this problem?
I use the methods PopUpManager.createPopUp() and PopUpManager.centerPopUp()
to create and center a pop up window but it looks strange,
like the window is created at (0,0) and then reappears in the middle of the screen.
how do I fix this?
I am writing a GAE application and I would like to have an input box with google auto-suggest. Specifically, when a user types "Shawshank" I would like to see google's suggestions in my drop down.
Can someone tell me what are the different ways of doing this? I understand I may have to use some javascript libraries so any code samples etc will help immensely. (Pure javascript/jquery kinda solutions will be more preferable)
Hi,
I have a url like http://www.example.com/blah/th.html
I need a javascript function to give me the 'th' value from that.
All my urls have the same format (2 letter filenames, with .html extension).
I want it to be a safe function, so if someone passes in an empty url it doesn't break.
I know how to check for length, but I should be checking for null to right?
Hi, right now I'm just trying to figure out how I could do the following :
I have this text right, and it says "report"
I'd like it, so when someone clicks on the report link, it simply executes some PHP code and then changes the text from "report" to "reported" and the font from red to green.
Thanks!
I'm developing an application for iOS in Xcode 4.5 but I have a problem with a UIWebView. I want to set a header(BASE64 code) to skip a login part. When I try this, using the NPWebView project the webview always fails with an error which looks like this:
Error Domain=NSURLErrorDomain Code=-999 "The operation couldn’t be completed. (NSURLErrorDomain error -999.)" UserInfo=0x6ace650 {NSErrorFailingURLKey="MY URL", NSErrorFailingURLStringKey="MY URL"}
I hope someone can help me!
I've been told that using GDI+ from ASP.NET is dangerous and undefined.
Is that because there is no guarantee of a Device Context? Can someone explain?
What are some of the alternatives?
Here is the source:
http://msdn.microsoft.com/en-us/library/system.drawing.aspx
We're using Trac as the task management tool at the project we work in. However, Trac search is maybe not the most intuitive search out there, and we end up having multiple duplicates as the reporters can't effectively find if there already is a reported ticket of the question he or she found.
Stack Overflow's "Related Questions" concept is great and works magnificently! I was wondering if someone has heard of some similar plugin to Trac, or if you have solved this problem some other way.