I'm implementing 'check' constraints that simply call a CLR function for each constrained column.
Each CLR function is one or two lines of code that attempts to construct an instance of the user-defined C# data class associated with that column. For example, a "Score" class has a constructor which throws a meaningful error message when...
I have an application that creates database tables on the fly.
I'd like to create an interface to CRUD this data.
But because the tables are created as the application runs, I can’t create the Linq to SQL classes by dragging them onto the designer.
However, I do know in my code what the tables I want to edit are.
Can anyone tell me if ...
I've written a little script that collects my external IP address every time I open a new terminal window and appends it, at well as the current time, to a text file. I'm looking for ideas on a way to visualize when/how often my IP address changes. I bounce between home and campus and could separate them using the script, but it would be...
Hi all,
On UNIX, I have to produce numeric results out of previous data by means of various command-line utilities. These utilities read the starting data (in general, but not only, from csv files), perform computations, and write the data (again, in general, but not only, to csv files).
Of course, I don't want to run the risk to have ...
Can you suggest me an algorithm for filtering out data.
I am using javascript and trying to write out a filter function which filters an array of data.I have an array of data and an array of filters, so in order to apply each filter on every data, I have written 2 for loops
foreach(data)
{
foreach(filter)
{
check data with filt...
This is really a VB.NET/C# question. Ok, so I essentially have a database layer that is totally isolated from any business logic. This means that whenever I get ready to commit some business data to a database, I have to pass all of the business properties into the data method's parameter. For example:
Public Function Commit(foo as o...
I haven't been able to fully grasp the differences. Can you describe both concepts and use real world examples?
...
Is there an easy way to store form data in a data() object after submit?
Suppose this is my form:
<form id='myform'>
<input type='text' name='bar' value='lorem'/>
<input type='text name='foo' value='ipsum'/>
</form>
After submit the data should be stored like this:
$("#myform").data('bar','lorem');
$("#myform").data('foo','ipsum');
...
Say I have a file based data structure such as a B+ Tree. My understanding is that the data is expected to be stored on disk, but the index is usually loaded in memory. What if you have such a large file that even its index doesn't fit into memory? How is that typically handled? Secondly, since the index is a tree, not a linear set of...
Is there a way to upload database contents to Google App Engine for Java, like the bulkuploader script in the Python version? If not, how would you get existing data into your GAE/J app?
...
Is it possible to loop through a data() object?
Suppose this is my code:
$('#mydiv').data('bar','lorem');
$('#mydiv').data('foo','ipsum');
$('#mydiv').data('cam','dolores');
How do I loop through this? Can each() be used for this?
...
I cannot see the magnifying glass when I hover my mouse over a DS.I have already tried all the steps in : http://stackoverflow.com/questions/239206/datatable-visualizer-disappeared-from-my-visual-studio/
and it seems I still do not see the visualizer in my VS2005!
ANY help would be appreciated with regards to uninstalling /reinstalling...
Should I use PostgreSql, MySql, Oracle or SqlServer for storing documents / binary files ?
Are there any performance benefits of using one or the other? Are there any advantages/disadvantages?
Documents stored will be mainly excel files, image files, pdf's and images.
...
Hello,
I'm trying to build a search engine that goes through online vehicle classifieds such as Oodle, eBay motors, and craigslist. I also have a large database of standard vehicle names and specifications about them. What I would like to do is for each record that I find through the classified site, be able to determine exactly what ve...
I work for a community college in North Carolina. Our most central repository of data is a software system called Datatel, aka Colleague (why it has two names, I don't know).
In our case the underlying data store is IBM Unidata. I develop with .net technologies.
Does anyone have any idea about consuming data from Datatel/Colleague in a...
I had created a multi choice column called "technology" on our shreapoint portal.
Recently, by mistake I clicked on delete button while making changes to the column value and now I want to restore the system in the orignal form.
I have recreated the column with all the options, the problem is that all the documents had the technology val...
Hello,
What is the maximum amount of data I can load onto a form control?
My application consumes too much memory and hangs when more than 500,000 records are added to any windows forms control in my experience. Any clues?
Thanks
...
So I have a list of options in a data object, and I want to make the equivalent of a radio button list to allow the user to select one and only one of them. Functionality similar to a databound combo box, but in radio button format.
Silly me, I thought this would be built in, but no. How do you do it?
...
I want to set a FourCC value in C++, i.e. an unsigned 4 byte integer.
I suppose the obvious way is a #define, e.g.
#define FOURCC(a,b,c,d) ( (uint32) (((d)<<24) | ((c)<<16) | ((b)<<8) | (a)) )
and then:
uint32 id( FOURCC('b','l','a','h') );
What is the most elegant way you can think to do this?
...
Hi, I am recently working on some long and obscure codes written by some other smart guys.
I'm thinking of generating the Data Flow Diagrams and the Flowcharts to facilitate my work. Is there any kinds of software that can do this job automatically?
P.S. Most of the codes are in C and Fortran.
...