Is there a tool that will let you visualize a SQL Server 2008 cascade tree? I'm having troubles with items not being able to be deleted and I would like to see the path that SQL takes.
I have a JSF page that displays a RichFaces Treeview, from a TreeNodeImpl model generated in the backing bean.
Now I want the page to display initially with a specific node expanded / selected.
Preferrably this expansion should be controlled from the backing bean (no javascript wizardry)
The whole tree has been generated at the time of initialization of the backing bean
Is this possible? I have seen mentioning of TreeState, is that the way to go?
I have a list of data indicating attendance to conferences like this:
Event Participant
ConferenceA John
ConferenceA Joe
ConferenceA Mary
ConferenceB John
ConferenceB Ted
ConferenceC Jessica
I would like to create a binary indicator attendance matrix of the following format:
Event John Joe Mary Ted Jessica
ConferenceA 1 1 1 0 0
ConferenceB 1 0 0 1 0
ConferenceC 0 0 0 0 1
Is there a way to do this in R? Sorry for the poor formatting.
I'm looking for an easy way to find the process tree (as shown by tools like Process Explorer), in C# or other .Net language. It would also be useful to find the command-line arguments of another process (the StartInfo on System.Diagnostics.Process seems invalid for process other than the current process).
I think these things can only be done by invoking the win32 api, but I'd be happy to be proved wrong.
Thanks!
Robert
I would like to find some help building a tree interface in Rails. I've tried using jsTree but am having trouble integrating it properly into Rails.
Thanks.
I’ll render an object graph on a page looking like this:
Category 1
Module 1
Product 1
Product 2
Product 3
Module 2
Product 4
Category 2
...
The Category has an IList<Module and the Module contains an IList<Product
Now I need to implement paging on this structure but the problem is that I can’t do Category.Skip(page * pageSize).Take(pageSize) because this will only work on the Category object not the whole object tree. In other words I like to render out when the sum of Categories, Modules and Products is equal to the PageSize
/erik
I had a feature branch of my trunk and was merging changes from my trunk into my branch periodically and everything was working fine. Today I went to merge the branch back down into the trunk and any of the files that were added to my trunk after the creation of my branch were flagged as a "tree conflict". Is there any way to avoid this in the future? I don't think these are being properly flagged.
Thanks.
Hi
I have to write an object in to binary file.My struct looks like this.
Struct Company
{
int numberofemployees
list of Struct Employee.
}
Struct Employee
{
string EmployeeName;
string Designation;
}
What is the best way to do the above operation?
Regards
Raju
Hello All - I have a task to import/transform and extract zipped binary files that contain both text data as well as embeded binary data. Within the data is data that is relational in nature and needs to be processed into a defined database structure. Currently I have a C# single threaded app that essentially grabs all the files from the directory (currently there is 13K files of varying sizes) and extracts the data on a single thread line by line inserts to the database. As you could imagine this is a very slow process and unacceptable. There are several different parsing routines used depending on the header record in the file. There are potentially upto a million rows per file when all the data is extracted to the row level of detail. Follow on task is to parse those rows into their appropriate tables based on is content. i.e. the textual content has to be parsed further into "buckets" of like data in the database. That about sums up the big picture. Now for the problem task list.
How do i iterate through a packet of data using SSIS? In the app the file is decompressed and then is parsed using streams data type and byte arrays and is routed to the required parsing routine based on the header data of each packet. There is bit swapping involved as well. Should i wrap up the app code into a script task(s) and let it do the custom processing? The data is seperated by year and the sql server tables is partitioned by year as well. I need to be able to "catch" bad file data as well and process by hand most likely.
Should i simply load the zipped file to sql as a blob and parse the file with T-SQL? Would that be multi threaded if done that way? Not sure how to do the parsing in tsql that is involved here. Which do you think would be faster?
Potentially the data that is currently processed via files could come to us via a socket. Can SSIS collect that data in real time? How would i go about setting that up?
Processing these new files from the directorys will become a daily task.
I can manage the data once i get it to sql server. Getting it there in a timely fashion seems to be the long pole in the tent for me. I would appreciate any comments or suggestions from the group.
Rick
Hello i am currently written a summary of all different kinds of sorting algorithems and their description/function/advantages & disadvantages.
Although i have found everything i seek exept for tree sort.
I can barely find anything at all about this subject.
Some small description & algoritme / short&small program would be very much appreciated.
Cheers.
I'm implementing a binary representation of an equal-side bi-partitioning algorithm and I'm wondering what the best way to iterate through all combinations of N bits that have equal (N/2) 1's and 0's. I'm trying to find the quickest way, not the easiest to code. Thanks.
Hi,
I want to get tree representation answer from my t-sql stored procedure. How can I do it ?
Does .NET have a predefined types for working with xml-answers from stored procedures ?
Hi,
How can i convert a IQueryable Expression Tree to a Expression<Func<T,bool>> Expression.
IQueryable<Book> Books;
var query = Books.Where(p => p.Author.AuthorId == 5);
Expression<Func<Book, bool>> expression = ?????
I don't know if this is possible but, I have a class and I'v made an instance of it. I also put things in it. It has vectors and other things. I was wondering if I could save its contents (the instance) to a binary file, then reload it and cast it in from the file. Thanks
I want to read the binary contents of a .lnk file.
As long as the target of the shortcut (lnk file) exists this works fine with IO.File.ReadAllBytes(string file).
BUT
If the target of the shortcut does not exist (believe me I want this) the method only returns zero's. I guess this is because the OS follows the link and if it does not exist it returns zero's
Is there some way to bypass the fact that the framework follows the target of the .lnk before displaying the contents of the .lnk file?
How to convert a decimal no into binary in c #
Now i'm using like:
String str="8";
String Ans= Convert.ToInt32(str,2).ToString();
But its throwing some Exceptions.
Please help me to do this
Thanks in advance
Does a binary encrypted string could contain a 'space' or 'carriage return'? What's the best way to put a separator between two encrypted byte[] arrays?
I have a Python app that contains an object structure that the user can manipulate. What I want to do is allow the user to create a file declaring how the object structure should be created.
For example, I would like the user to be able to create the following file:
foo.bar.baz = true
x.y.z = 12
and for my app to then create that object tree automatically. What's the best way to do something like this?
when I am using the wave_read.readframes() I am getting the result in binary data such as /x00/x00/x00:/x16#/x05" etc a very long string
when asked for single frame it gives @/x00 or \xe3\xff or so
I want this individual frame data in integer how can I convert them into integer to store them into array.
Have a binary field and want to insert into this from a hex string:
insert into binaryTable(binaryField)
values(convert(varbinary(max), 0x0))
however when I run select the value is return with an extra 0 as 0x00
This extra 0 is causing a problem in another application, I dont want it.
Interesting, is if I do a select on an existing value and it returns say 0x55 then inserting this same value using the above query will return a select of 0x055.
How to stop the extra 0 being added?