changes

Reading changes in a file in real-time using .NET

I have a .csv file that is frequently updated (about 20 to 30 times per minute). I want to insert the newly added lines to a database as soon as they are written to the file. The FileSystemWatcher class listens to the file system change notifications and can raise an event whenever there is a change in a specified file. The problem is t...

Designing for change

I'm pretty sure most of us are familiar with the concept of a project's requirements changing after it starts, this becomes more and more of an issue the less the client knows about how things work and the closer you work with them. How then can I design a system (specifically a website but general advice will probably be best here) so ...

how to watch FS for change

I'm doing a project in a course at my university on distributed systems. I'm planning on creating something similar to Dropbox ( getdropbox.com ), but with some sort of non-centralized peer-to-peer twist to it. For this i need some method of detecting change in a directory structure. How do you think Dropbox do this? Their implementation...

Is it possible to open a PDF inside a c# application with Acrobat.dll?

I know that I can display a PDF file in my c# executable (not web app) with: private AxAcroPDFLib.AxAcroPDF axAcroPDF1; axAcroPDF1.LoadFile(@"somefile.pdf"); axAcroPDF1.Show(); But that is the regular pdf viewer like in the browser. I don't want that. I want full Adobe Standard or Professional functionality in my C# application usin...

Is there a tool to DB Diff on 'data' for an ORACLE database?

We have an ORACLE 10g database with 100+ tables. The software used against this database is an order entry system. We are looking for some software (preferably free) or script which when ran will tell us which tables had a new row INSERTED or any data UPDATED....after we have generated a new 'order' from within ... Also which sequences...

Emacs - Highlight buffer modifications

It often occurs that a file buffer is modified (duh!). Before exiting, emacs asks whether to save the changes. Now it would be interesting to know what actually changed. Is there a way to find out? ...

Tracking changes to a (functional) design document

Hi, I am looking for a good way to keep a design document up to date with the latest decisions. We are a small team (two developers, game designer, graphic designer, project manager, sales guy). Most of our projects last a couple of months. At the start of the project a design is made but we generally find ourselves making changes or ...

How do I stop the linq designer overwriting my manual changes?

I like Linq but find that once the designer has created my classes I have to modify them. Then when I change my database and recreate my classes in the designer my changes get wiped. For instance, let's say I have a class called Person. I create this class, add some non database related methods to it (outside of Linq) and then create a ...

How can i track changes in content on a html page after page has loaded

Hi, I'm wracking my brain on this one. After a html document loads in a browser,I want to be able to monitor the page incase any content on it changes for any reason. Is there a Javascript function with which I can track 'what has changed' on the webpage . This should be irrespective of the type of content on the html page I hav...

Implementing a history feature à la Wikipedia

I am writing a Web application that has a user interface for editing documents. What is the best way to implement a history feature like Wikipedia's where edits to a document can be viewed? ...

Keeping track of changes I make by copying project folders.

Hello, I'm a beginner so if there is a terminology for what I'm doing I don't know how to search for it. So forgive me if this has been asked before. So here is what I do. Before I make any major code changes, I make a copy of the projects folder and call it "project v6" for example. Then if I really mess things up and cant find a way to...

What Design Patterns do you implement in common Delphi programming?

Hello fellow programmers, As I'm a learner and user of design patterns and Delphi I would like you to ask a question which you may find subjective (Ooo just another "what's the best?"). What Design Patterns do you implement in common Delphi programming? What patterns are easier to adapt in Delphi programming? (Every language is excelle...

How to determine if an Entity with relationship properties has changes

Dim myEmployee as Employee = myObjectContext.Employee.Where("it.EmployeeID = 1").First() The following line will cause e.EntityState to equal EntityState.Modified : myEmployee.Name = "John" However, changing a property that is a relationship will leave e.EntityState = EntityState.Unchanged. For example: myEmployee.Department =...

What's the best way to implement tracking changes on your entities?

The requirement is to track all changes made to an entity, track it to know who did it, when he did, etc. For example, I have a Person entity, and a user has change the name of the person, I'd like to keep that information somewhere. What's the best approach for this? Or is there an existing framework to achieve this. I know that SQL ...

How to check if pdf was modified

I have a pdf generated by 3rd party system. Using pdf editor or els software I have modified it. Is it possible to detect if pdf file was modified, without original file? 0 vote down check I will add some more details. There is no encryption and no signature features. Document is created by IT system. User receives document and mo...

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...

DataTable.GetChanges() keeps returning NULL!

I am trying to get all the rows that exist in allData but not in removeData public static DataTable RemoveDuplicateRows(DataTable allData, DataTable removeData) { removeData.Merge(allData); DataTable newData = removeData.GetChanges(); removeData.RejectChanges(); return newData; } removeData is empty prior to the...

Which configuration properties are new in Firefox 3.6?

Hello! Now in beta-stadium, I suppose, Firefox 3.6 will not change much. I wonder, is there somewhere a list of new configuration properties (from version 3.5 to 3.6)? I mean those in about:config. ...

How to configure hudson to ignore changes under specified SVN folders?

Hi all. I'm looking for a way to ignore changes under specified SVN folders in Hudson. It's the same thing as exclude folders in TeamCity and filters in CC.Net. I haven't found any configuration option under SVN GUI configuration. Thanks in advance! ...

Git Branching Question

Hi, I've been using git for a while for my one-man developments, but I haven't run into any tricky branching issues until now and I seem to have forgotten something fundamental that I no doubt "knew" just after reading the Pragmatic Version Control Using Git Book.. I'm often several releases ahead of what is actually published on my we...