history

Android - clear history when navigating between Activities

I have 3 Activities that my user continuously is looping through. When user is back to the main screen I need to terminate previous history so user cannot hit back button and end up on screen #2, what would be a good way to do something like that? BTW - I'm using 1.6 (API level 4) To reiterate - say I don't know or predict the path whi...

Jquery history - Ajax navigation - How to make url request and search request?

I'm using the Jquery history exemple: mikage.to/jquery/jquery_history.html I don't really know how to make a search query using a search box form and how to create a search link like: mysearch.php?search=search+term&submit=1 Normal link are usually as follow: load 3 It's probably adding code to the function in the main page but i'...

Compiling historical information (esp. SLOCs) about a project

I am looking for a tool that will help me to compile a history of certain code metrics for a given project. The project is stored inside a mercurial repository and has about a hundred revisions. I am looking for something that: checks out each revision computes the metrics and stores them somewhere with an identifier of the revision d...

how to view file history in GIT?

With subversion I could use tortieseSVN to view the history/log of a file. How can I do this with git? Just looking for history record for a particular file, and then the ability to compare the different versions. ...

jQuery + Ajax Hash / History and more

Hi there, I am trying to get a handle on using URL hashes in jQuery to control history in Ajax and make links / pages book-markable. I have tried almost every plug-in out there, and I cant seem to get any to work properly, so I dont have any code examples really. But I am open to any suggestions, information, tutorials, etc. The differ...

Programming Languages - Who Inspired Whom?

Working on PHP frameworks lately, i notice that many of them are inspired by java or ruby frameworks. For instance, the Doctrine ORM is based on RoR's Activerecord (with maybe some elements of Java's Hibernate). The language Groovy is inspired from Java, Ruby and Python. This made me wonder about the history of the many programming langu...

When was MS Message Queue first released?

When was MS Message Queue first released? ...

Origin of "map" in Computer Science

In computer science, there are two definitions of the word map. The first is as an associative array, a type of container that maps values of one type to values of another type. An example of this is the STL map. The second definition is from functional programming, in which map applies is a function that takes a list and a function, app...

GUI paradigm history

hi there I know that Apple and Microsoft were inspired by Xerox PARC in building the GUI, but my question is: from the hardware point of view, which was the switch to GUI become available? I remember that I've read somewhere about OS running on 80KB at that time. Can you explain me(give some links) about what was necessary from the hard...

Intercepting call to the back button in my AJAX application: I don't want it to do anything!

I have an AJAX app. A user clicks a button, and the page's display changes. They click the back button, expecting to go to the original state, but instead, they go to the previous page in their browser. How can I intercept and re-assign the back button event? I've looked into libraries like RSH (which I couldn't get to work...), and I'...

"Duck typing" etymology?

Is there a story behind the name ''duck typing'', I've heard ''if it looks like a duck, and sounds like a duck, let's call it a duck'' (or something like that), but why a duck? Why not ``if it looks like a _ and sounds like a _, let's call it a _''. It sounds like a Flying Circus sketch, but I don't remember it. Is there a story behind ...

how to change remove+add to move in git history

i have a git repository that is a mix of some old svn repos. when i mixed everything i didn't realized to do git mv instead of just moving the files so now the svn history for most of the files is lost. is there a way of fixing this? the old structure was something like: svn1 |_apps/ |_tests/ |_... svn2 |_src |_libs svn3 |_src |_libs...

Best way to track changes on a website for visitors' information

So I've been saddled with furthering a website, in which it is crucial that the visitors are able to see exact changes that were made in content since the last time they visited (i.e., some form of tracking system that keep pervious versions that can also be accessed). In my mind, I'm thinking of something like the history tabe in wiki...

asp button and history back onclientclick

hi I have an asp button like this <asp:Button ID="btnBack" OnClientClick='javascript:history.back()' runat="server" Text="back"> </asp:Button> now the javascript doesn't work to go a history back. but if I make an alert() it works...why how to solve this? thank you ...

Hibernate, save the previous state of an object

Is there any generally accepted, proven-to-work way using hibernate, that keeps a history of an entitys changes in the database? We need to keep track of quite some objects and we want to be able to undo changes to objects. I tried using the interceptors of hibernate, but the old state of the object is only available when doing merge()...

How do you store business activities in a SQL database?

The goal is to store activities such as inserting, updating, and deleting business records. One solution I'm considering is to use one table per record to be tracked. Here is a simplified example: CREATE TABLE ActivityTypes ( TypeId int IDENTITY(1,1) NOT NULL, TypeName nvarchar(50) NOT ...

Anecdote: who learned OOP from Simula?

I've been trying to remember the details of the following anecdote: [Some guy] divined the principles of object-oriented programming by examining 80 lines of Simula source, which he mistook to be a degenerate form of Algol. Who was the programming god that performed this epic feat? Kay, Stroustrup, Torvalds, someone else? Was it 80...

Flex: Stop TabNavigator from adding #HASH to URL

Ok I have a TabNavigator component that keeps added a hash (#) to the URL. I need to prevent this. I have it set to historyManagementEnabled="false" but it is still adding the # to the URL when it initializes. The reason why adding this hash is such a problem is because, I am using .htaccess to give my URL a pretty URL like domain.com/d...

Document.domain and <iframe>s breaks the "Back" button in Internet Explorer

This is a very urgent problem and I'd be forever indebted to anyone who can lend some insight. I'm going to be deploying a widget (called the "ISM") to a third-party site. That site uses the document.domain JavaScript property to relax cross-domain restrictions (e.g., setting document.domain in "a.example.com" and "b.example.com" to bot...

How to backup tcsh history periodically to a single file in chronological manner ?

I use tcsh at work - one of the features I use extensively is command-line history completion at the shell prompt. Currently, I've limited the size of my history file to 2000 (as I don't want to slow down the shell too much). However at times I need a command I know I've used a month or two back , but by now has been erased. So I want a ...