history

Replace Subversion Folder and Retain History

I have two development trees v3.3, and v3.4 in one SVN repository. They both contain a project called test-harness. However, the v3.4 developers have wrecked the test-harness so we need the test-harness from project in v3.3 to overwrite what we have in v3.4. I want to retain the history of change made to 3.4 test-harness as it has some i...

What _did_ the C operators /\ and \/ do?

Anyone can "declare" ones own operators in C.... that is if one is a C compiler guru and has the source code to the C compiler! ;-) Further questions to puzzle: How are these operations done in C99? gcc? ... And why were /\ & \/ dropped? Which types were the /\ and \/ operators valid for? Googling for "/\ \/" naturally returns nothi...

Subversion for revision history and logging on Source codes

I have tried to find some resource for Subversion how to make revision history and logging message on source code; This question might be a simple We changed our CVS to Subversion. I am having a problem that how to make Revision history and log message to show on source codes. In CVS , we had used /** * Revision: * $Log$ * * * ...

Cygwin Bash, loading a history file

I use Cygwin's bash shell (bash -i) daily for common tasks. In my .bashrc file, I have the following: history -rc bashcommands.history history Above the first prompt line, I see the list of history commands from bashcommands.history, so it looks like the history has been changed. However, if I now enter "history" at the prompt, it s...

Are design patterns really language weaknesses?

Should today's patterns be seen as defects or missing features in Java and C++? Subroutine was a design pattern for machine language in the 50s and 60s. Object-Oriented Class was a design pattern for C in the 70s. Visitors, Abstract Factories, Decorators, and Façades are design patterns for Java and C++ today. What will tomorrow's l...

Can you combine revisions with Subversion

Can I take multiple revisions in Subversion and combine them into one? I'd like to be able to take a few commits that include some interim blind alleys that I no longer care about and produce a single revision. For no reason other than to tidy up the svn history of a bug fix a litle bit. ...

Why don't the mainstream DBMSs have graph functionality?

Relational databases are frequently used to store graphs in all their many flavors (trees, directed graphs, undirected graphs, ...). Why then do none of the major DBMSs (Microsoft, MySql, Oracle, PostgreSQL, SqlLite, just to name a few in alphabetical order) include library support for treating relations as graphs? Some desirable featu...

Sources for Bill Atkinson's works at Apple?

In Peter Seibel's "Coders at Work", Donald Knuth says: Bill Atkinson’s programs are now publicly available thanks to Apple and it won’t be too long before we’ll be able to read that. That’s well-documented code with lots of pioneering graphics algorithms in it. Does anyone know any more about this? I'm having trouble finding...

How do you do inheritance in a non-OO language?

I read that early C++ "compilers" actually translated the C++ code to C and used a C compiler on the backend, and that made me wonder. I've got enough technical knowledge to wrap my head around most of how that would work, but I can't figure out how to do class inheritance without having language support for it. Specifically, how do yo...

Search git history for a change in a merge commit

To search for a string that has been added/removed in git history I can do git log -S'some text' This works great except that it doesn't search through merge commits. How do I get the command to include merge commits in the search? ...

Export subtree in Git with history

I have a folder in my Git repository that I'd like to move out in to its own repository. Is it possible to move the history of that folder along with the folder? I've previously been doing just a git rm -r --cached subfolder/ and then git init on the subfolder. However, the history is not imported in to the new repository. ...

Copy on delete of browser history

I'd like to know if there is a programming hook or some other feature in windows vista and IE 7 or 8 that would let a computer administrator let the user think they were deleting their web browser history but actually just copy it off to another folder. The new folder would use the date and time deletion was attempted as its naming conve...

GWT History and IE6 / 7

I've asked this question on the GWT group with no luck, so now I'm trying Stack Overflow :) There seems to be some problem with GWT's history and IE6 / 7, and I'm trying to confirm this is an actual problem with GWT and not just something stupid I've done. The problem I run into is the following: Imagine you have some GWT app that plu...

Why does COBOL have both `SECTION` and `PARAGRAPH`?

Why does COBOL have both SECTION and PARAGRAPH? Can anybody explain why the designers of COBOL created both SECTIONs and PARAGRAPHs? These have been around since the initial release of COBOL so I suspect the real reason for their existence has long since gone away (similar to things like NEXT SENTENCE which are still in the language spe...

Where did string escape codes (\n, \t...) originate?

Purely wondering... since they're still around and in use in C# today... Where did the pattern of using string escape codes come from? What language did it first appear in? What languages, if any, have solved the problem in a different way? ...

What role (e.g. work) did the "programmer personality type" have throughout history

This has always concerned me to an unnatural degree. I have no idea what sort of "role" I would have had in society if there were no computers or advanced technology to play with (for work and/or pleasure). One typical "programmer personality type" is an overly analytical problem solving mind with minimal regard for social interactions o...

add every update, delete, insert query to a new record in mysql

Is there a way that if there's a change in records, that a query that changed the data (update, delete, insert) can be added to a "history" table transparently? For example, if mySQL detects a change in a record or set of records, is there a way for mySQL to add that query statement into a separate table so that way, we can track the ch...

History of XML parsing and WS APIs in Java?

Someone recently asked on IRC about the history of XML parsing and WS APIs in Java, and I started wondering. Is there any written history? What are the latest and coolest toys? Why are there so many? Usually knowing the history of why things were developed and how they are supposed to improve over their predecessors helps learning the n...

Anyone got a WPF features history

We're in the process of moving into WPF (going very nicely thankyou) and the last work I did with it was a couple of years ago so most of the books I've got from that time frame are little dated. Has anyone got a list of "new" features for WPF that have been added since the v1 release? In many ways its the little stuff like stringformat...

Other forms of "kluge"?

http://dictionary.reference.com/browse/kluge Who knew that the word "kluge" had its roots in computer software/hardware? Ok, so... what are the other forms of this word, and how do you spell them? Specifically, how do I spell this usage: "My solution is klugier than yours." Or is that, simply, poor form? Is it better to say "more k...